@keystrokehq/moneybird 0.1.4 → 0.1.5
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 +1 -0
- package/dist/actions/add-note-to-contact.cjs.map +1 -1
- package/dist/actions/add-note-to-contact.d.cts +3 -21
- package/dist/actions/add-note-to-contact.d.cts.map +1 -1
- package/dist/actions/add-note-to-contact.d.mts +3 -21
- package/dist/actions/add-note-to-contact.d.mts.map +1 -1
- package/dist/actions/add-note-to-contact.mjs +1 -0
- package/dist/actions/add-note-to-contact.mjs.map +1 -1
- package/dist/actions/archive-contact.cjs +1 -0
- package/dist/actions/archive-contact.cjs.map +1 -1
- package/dist/actions/archive-contact.d.cts +3 -16
- package/dist/actions/archive-contact.d.cts.map +1 -1
- package/dist/actions/archive-contact.d.mts +3 -16
- package/dist/actions/archive-contact.d.mts.map +1 -1
- package/dist/actions/archive-contact.mjs +1 -0
- package/dist/actions/archive-contact.mjs.map +1 -1
- package/dist/actions/create-contact-person.cjs +1 -0
- package/dist/actions/create-contact-person.cjs.map +1 -1
- package/dist/actions/create-contact-person.d.cts +3 -23
- package/dist/actions/create-contact-person.d.cts.map +1 -1
- package/dist/actions/create-contact-person.d.mts +3 -23
- package/dist/actions/create-contact-person.d.mts.map +1 -1
- package/dist/actions/create-contact-person.mjs +1 -0
- package/dist/actions/create-contact-person.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -43
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -43
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-sales-invoice.cjs +1 -0
- package/dist/actions/create-sales-invoice.cjs.map +1 -1
- package/dist/actions/create-sales-invoice.d.cts +3 -49
- package/dist/actions/create-sales-invoice.d.cts.map +1 -1
- package/dist/actions/create-sales-invoice.d.mts +3 -49
- package/dist/actions/create-sales-invoice.d.mts.map +1 -1
- package/dist/actions/create-sales-invoice.mjs +1 -0
- package/dist/actions/create-sales-invoice.mjs.map +1 -1
- package/dist/actions/delete-contact-note.cjs +1 -0
- package/dist/actions/delete-contact-note.cjs.map +1 -1
- package/dist/actions/delete-contact-note.d.cts +3 -17
- package/dist/actions/delete-contact-note.d.cts.map +1 -1
- package/dist/actions/delete-contact-note.d.mts +3 -17
- package/dist/actions/delete-contact-note.d.mts.map +1 -1
- package/dist/actions/delete-contact-note.mjs +1 -0
- package/dist/actions/delete-contact-note.mjs.map +1 -1
- package/dist/actions/delete-contact-person.cjs +1 -0
- package/dist/actions/delete-contact-person.cjs.map +1 -1
- package/dist/actions/delete-contact-person.d.cts +3 -17
- package/dist/actions/delete-contact-person.d.cts.map +1 -1
- package/dist/actions/delete-contact-person.d.mts +3 -17
- package/dist/actions/delete-contact-person.d.mts.map +1 -1
- package/dist/actions/delete-contact-person.mjs +1 -0
- package/dist/actions/delete-contact-person.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -16
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -16
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/filter-contacts.cjs +1 -0
- package/dist/actions/filter-contacts.cjs.map +1 -1
- package/dist/actions/filter-contacts.d.cts +3 -21
- package/dist/actions/filter-contacts.d.cts.map +1 -1
- package/dist/actions/filter-contacts.d.mts +3 -21
- package/dist/actions/filter-contacts.d.mts.map +1 -1
- package/dist/actions/filter-contacts.mjs +1 -0
- package/dist/actions/filter-contacts.mjs.map +1 -1
- package/dist/actions/get-additional-charges.cjs +1 -0
- package/dist/actions/get-additional-charges.cjs.map +1 -1
- package/dist/actions/get-additional-charges.d.cts +3 -17
- package/dist/actions/get-additional-charges.d.cts.map +1 -1
- package/dist/actions/get-additional-charges.d.mts +3 -17
- package/dist/actions/get-additional-charges.d.mts.map +1 -1
- package/dist/actions/get-additional-charges.mjs +1 -0
- package/dist/actions/get-additional-charges.mjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.cjs +1 -0
- package/dist/actions/get-contact-by-customer-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.cts +3 -16
- package/dist/actions/get-contact-by-customer-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.mts +3 -16
- package/dist/actions/get-contact-by-customer-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.mjs +1 -0
- package/dist/actions/get-contact-by-customer-id.mjs.map +1 -1
- package/dist/actions/get-contact-person.cjs +1 -0
- package/dist/actions/get-contact-person.cjs.map +1 -1
- package/dist/actions/get-contact-person.d.cts +3 -17
- package/dist/actions/get-contact-person.d.cts.map +1 -1
- package/dist/actions/get-contact-person.d.mts +3 -17
- package/dist/actions/get-contact-person.d.mts.map +1 -1
- package/dist/actions/get-contact-person.mjs +1 -0
- package/dist/actions/get-contact-person.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -17
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -17
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-sales-invoice.cjs +1 -0
- package/dist/actions/get-sales-invoice.cjs.map +1 -1
- package/dist/actions/get-sales-invoice.d.cts +3 -16
- package/dist/actions/get-sales-invoice.d.cts.map +1 -1
- package/dist/actions/get-sales-invoice.d.mts +3 -16
- package/dist/actions/get-sales-invoice.d.mts.map +1 -1
- package/dist/actions/get-sales-invoice.mjs +1 -0
- package/dist/actions/get-sales-invoice.mjs.map +1 -1
- package/dist/actions/list-administrations.cjs +1 -0
- package/dist/actions/list-administrations.cjs.map +1 -1
- package/dist/actions/list-administrations.d.cts +3 -13
- package/dist/actions/list-administrations.d.cts.map +1 -1
- package/dist/actions/list-administrations.d.mts +3 -13
- package/dist/actions/list-administrations.d.mts.map +1 -1
- package/dist/actions/list-administrations.mjs +1 -0
- package/dist/actions/list-administrations.mjs.map +1 -1
- package/dist/actions/list-contacts-synchronization.cjs +1 -0
- package/dist/actions/list-contacts-synchronization.cjs.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.cts +3 -17
- package/dist/actions/list-contacts-synchronization.d.cts.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.mts +3 -17
- package/dist/actions/list-contacts-synchronization.d.mts.map +1 -1
- package/dist/actions/list-contacts-synchronization.mjs +1 -0
- package/dist/actions/list-contacts-synchronization.mjs.map +1 -1
- package/dist/actions/list-sales-invoices.cjs +1 -0
- package/dist/actions/list-sales-invoices.cjs.map +1 -1
- package/dist/actions/list-sales-invoices.d.cts +3 -18
- package/dist/actions/list-sales-invoices.d.cts.map +1 -1
- package/dist/actions/list-sales-invoices.d.mts +3 -18
- package/dist/actions/list-sales-invoices.d.mts.map +1 -1
- package/dist/actions/list-sales-invoices.mjs +1 -0
- package/dist/actions/list-sales-invoices.mjs.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.cjs +1 -0
- package/dist/actions/request-contact-payments-mandate-url.cjs.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.cts +3 -17
- package/dist/actions/request-contact-payments-mandate-url.d.cts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.mts +3 -17
- package/dist/actions/request-contact-payments-mandate-url.d.mts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.mjs +1 -0
- package/dist/actions/request-contact-payments-mandate-url.mjs.map +1 -1
- package/dist/actions/update-contact-person.cjs +1 -0
- package/dist/actions/update-contact-person.cjs.map +1 -1
- package/dist/actions/update-contact-person.d.cts +3 -22
- package/dist/actions/update-contact-person.d.cts.map +1 -1
- package/dist/actions/update-contact-person.d.mts +3 -22
- package/dist/actions/update-contact-person.d.mts.map +1 -1
- package/dist/actions/update-contact-person.mjs +1 -0
- package/dist/actions/update-contact-person.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -17
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -17
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-sales-invoice.cjs +1 -0
- package/dist/actions/update-sales-invoice.cjs.map +1 -1
- package/dist/actions/update-sales-invoice.d.cts +3 -56
- package/dist/actions/update-sales-invoice.d.cts.map +1 -1
- package/dist/actions/update-sales-invoice.d.mts +3 -56
- package/dist/actions/update-sales-invoice.d.mts.map +1 -1
- package/dist/actions/update-sales-invoice.mjs +1 -0
- package/dist/actions/update-sales-invoice.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdCreateContactInput = z.object({\n city: z.string().describe(\"City name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code, e.g., NL\").optional(),\n zipcode: z.string().describe(\"Postal code\").optional(),\n address1: z.string().describe(\"Street and number\").optional(),\n address2: z.string().describe(\"Additional address line\").optional(),\n lastname: z.string().describe(\"Last name; required if company_name is blank\").optional(),\n sepa_bic: z.string().describe(\"Valid BIC; required if sepa_active\").optional(),\n firstname: z.string().describe(\"First name; required if company_name is blank\").optional(),\n sepa_iban: z.string().describe(\"Valid IBAN; required if sepa_active\").optional(),\n tax_number: z.string().describe(\"Tax/VAT number\").optional(),\n customer_id: z.string().describe(\"Unique customer identifier; autogenerated if empty\").optional(),\n sepa_active: z.boolean().describe(\"Enable SEPA direct debit; when true, other SEPA fields are required\").optional(),\n bank_account: z.string().describe(\"Bank account number\").optional(),\n company_name: z.string().describe(\"Company name; required if firstname and lastname are blank\").optional(),\n si_identifier: z.string().describe(\"SEPA identifier\").optional(),\n delivery_method: z.enum([\"Email\", \"Simplerinvoicing\", \"Peppol\", \"Manual\", \"Post\"]).describe(\"Delivery method\").optional(),\n sepa_mandate_id: z.string().describe(\"Mandate ID; required if sepa_active\").optional(),\n administration_id: z.number().int().describe(\"ID of the administration\"),\n sepa_mandate_date: z.string().describe(\"Mandate date (YYYY-MM-DD); required if sepa_active\").optional(),\n sepa_sequence_type: z.enum([\"RCUR\", \"FRST\", \"OOFF\", \"FNAL\"]).describe(\"SEPA sequence type; required if sepa_active\").optional(),\n si_identifier_type: z.string().describe(\"SEPA identifier type\").optional(),\n chamber_of_commerce: z.string().describe(\"Chamber of Commerce number\").optional(),\n invoice_workflow_id: z.number().int().describe(\"Invoice workflow ID\").optional(),\n estimate_workflow_id: z.number().int().describe(\"Estimate workflow ID\").optional(),\n send_invoices_to_email: z.string().describe(\"Comma-separated emails to send invoices to\").optional(),\n sepa_iban_account_name: z.string().describe(\"Account holder name for SEPA\").optional(),\n send_estimates_to_email: z.string().describe(\"Comma-separated emails to send estimates to\").optional(),\n custom_fields_attributes: z.record(z.string(), z.unknown()).describe(\"Custom fields as dict of {index:{id, value}}\").optional(),\n});\nexport const MoneybirdCreateContactOutput = z.object({\n id: z.string().describe(\"ID of the created contact\").nullable(),\n lastname: z.string().describe(\"Last name\").nullable().optional(),\n firstname: z.string().describe(\"First name\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n administration_id: z.number().int().describe(\"ID of the administration\").nullable(),\n}).passthrough();\n\nexport const moneybirdCreateContact = action(\"MONEYBIRD_CREATE_CONTACT\", {\n slug: \"moneybird-create-contact\",\n name: \"Create Moneybird Contact\",\n description: \"Tool to create a new contact in Moneybird. Use after you have an administration ID and need to onboard a new company/person. Provide either company_name or both firstname and lastname.\",\n input: MoneybirdCreateContactInput,\n output: MoneybirdCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\n\nexport const MoneybirdCreateContactInput = z.object({\n city: z.string().describe(\"City name\").optional(),\n phone: z.string().describe(\"Phone number\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code, e.g., NL\").optional(),\n zipcode: z.string().describe(\"Postal code\").optional(),\n address1: z.string().describe(\"Street and number\").optional(),\n address2: z.string().describe(\"Additional address line\").optional(),\n lastname: z.string().describe(\"Last name; required if company_name is blank\").optional(),\n sepa_bic: z.string().describe(\"Valid BIC; required if sepa_active\").optional(),\n firstname: z.string().describe(\"First name; required if company_name is blank\").optional(),\n sepa_iban: z.string().describe(\"Valid IBAN; required if sepa_active\").optional(),\n tax_number: z.string().describe(\"Tax/VAT number\").optional(),\n customer_id: z.string().describe(\"Unique customer identifier; autogenerated if empty\").optional(),\n sepa_active: z.boolean().describe(\"Enable SEPA direct debit; when true, other SEPA fields are required\").optional(),\n bank_account: z.string().describe(\"Bank account number\").optional(),\n company_name: z.string().describe(\"Company name; required if firstname and lastname are blank\").optional(),\n si_identifier: z.string().describe(\"SEPA identifier\").optional(),\n delivery_method: z.enum([\"Email\", \"Simplerinvoicing\", \"Peppol\", \"Manual\", \"Post\"]).describe(\"Delivery method\").optional(),\n sepa_mandate_id: z.string().describe(\"Mandate ID; required if sepa_active\").optional(),\n administration_id: z.number().int().describe(\"ID of the administration\"),\n sepa_mandate_date: z.string().describe(\"Mandate date (YYYY-MM-DD); required if sepa_active\").optional(),\n sepa_sequence_type: z.enum([\"RCUR\", \"FRST\", \"OOFF\", \"FNAL\"]).describe(\"SEPA sequence type; required if sepa_active\").optional(),\n si_identifier_type: z.string().describe(\"SEPA identifier type\").optional(),\n chamber_of_commerce: z.string().describe(\"Chamber of Commerce number\").optional(),\n invoice_workflow_id: z.number().int().describe(\"Invoice workflow ID\").optional(),\n estimate_workflow_id: z.number().int().describe(\"Estimate workflow ID\").optional(),\n send_invoices_to_email: z.string().describe(\"Comma-separated emails to send invoices to\").optional(),\n sepa_iban_account_name: z.string().describe(\"Account holder name for SEPA\").optional(),\n send_estimates_to_email: z.string().describe(\"Comma-separated emails to send estimates to\").optional(),\n custom_fields_attributes: z.record(z.string(), z.unknown()).describe(\"Custom fields as dict of {index:{id, value}}\").optional(),\n});\nexport const MoneybirdCreateContactOutput = z.object({\n id: z.string().describe(\"ID of the created contact\").nullable(),\n lastname: z.string().describe(\"Last name\").nullable().optional(),\n firstname: z.string().describe(\"First name\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n administration_id: z.number().int().describe(\"ID of the administration\").nullable(),\n}).passthrough();\n\nexport const moneybirdCreateContact: AppAction<\n typeof MoneybirdCreateContactInput,\n typeof MoneybirdCreateContactOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_CREATE_CONTACT\", {\n slug: \"moneybird-create-contact\",\n name: \"Create Moneybird Contact\",\n description: \"Tool to create a new contact in Moneybird. Use after you have an administration ID and need to onboard a new company/person. Provide either company_name or both firstname and lastname.\",\n input: MoneybirdCreateContactInput,\n output: MoneybirdCreateContactOutput,\n});\n"],"mappings":";;;AA+CA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjDyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAClH,cAAc,EAAE,OAAO,CAAC,CAA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A8C,CAAC,CAAC,SAAS;CAChI,CAmBS;CACP,QAnB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-invoice.cjs","names":["z","action"],"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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,eAAeA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EACrD,WAAWA,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ent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdCreateSalesInvoiceInput,\n typeof MoneybirdCreateSalesInvoiceOutput,\n typeof moneybird.credential\n> = 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":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,eAAeA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAA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;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAEhH,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-sales-invoice.d.ts
|
|
@@ -61,55 +63,7 @@ declare const MoneybirdCreateSalesInvoiceOutput: z.ZodObject<{
|
|
|
61
63
|
total_price_excl_tax: z.ZodNullable<z.ZodString>;
|
|
62
64
|
total_price_incl_tax: z.ZodNullable<z.ZodString>;
|
|
63
65
|
}, z.core.$loose>;
|
|
64
|
-
declare const moneybirdCreateSalesInvoice:
|
|
65
|
-
sales_invoice: {
|
|
66
|
-
contact_id: number;
|
|
67
|
-
details_attributes: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
price: string | number;
|
|
70
|
-
description: string;
|
|
71
|
-
amount?: string | undefined;
|
|
72
|
-
period?: string | undefined;
|
|
73
|
-
row_order?: number | undefined;
|
|
74
|
-
product_id?: number | undefined;
|
|
75
|
-
project_id?: number | undefined;
|
|
76
|
-
tax_rate_id?: number | undefined;
|
|
77
|
-
ledger_account_id?: number | undefined;
|
|
78
|
-
}[];
|
|
79
|
-
currency?: string | undefined;
|
|
80
|
-
discount?: string | number | undefined;
|
|
81
|
-
reference?: string | undefined;
|
|
82
|
-
workflow_id?: number | undefined;
|
|
83
|
-
invoice_date?: string | undefined;
|
|
84
|
-
time_entry_ids?: number[] | undefined;
|
|
85
|
-
contact_person_id?: number | undefined;
|
|
86
|
-
document_style_id?: number | undefined;
|
|
87
|
-
first_due_interval?: number | undefined;
|
|
88
|
-
payment_conditions?: string | undefined;
|
|
89
|
-
invoice_sequence_id?: string | undefined;
|
|
90
|
-
prices_are_incl_tax?: boolean | undefined;
|
|
91
|
-
from_payment_request?: boolean | undefined;
|
|
92
|
-
original_estimate_id?: number | undefined;
|
|
93
|
-
custom_fields_attributes?: {
|
|
94
|
-
[x: string]: unknown;
|
|
95
|
-
id: number;
|
|
96
|
-
value: string;
|
|
97
|
-
}[] | undefined;
|
|
98
|
-
};
|
|
99
|
-
administration_id: number;
|
|
100
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
101
|
-
connectionId: z.ZodString;
|
|
102
|
-
entityId: z.ZodString;
|
|
103
|
-
instanceId: z.ZodString;
|
|
104
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
-
accessToken: z.ZodString;
|
|
106
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
107
|
-
connectionId: z.ZodString;
|
|
108
|
-
entityId: z.ZodString;
|
|
109
|
-
instanceId: z.ZodString;
|
|
110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
-
accessToken: z.ZodString;
|
|
112
|
-
}, z.core.$strip>>]>;
|
|
66
|
+
declare const moneybirdCreateSalesInvoice: AppAction<typeof MoneybirdCreateSalesInvoiceInput, typeof MoneybirdCreateSalesInvoiceOutput, typeof moneybird.credential>;
|
|
113
67
|
//#endregion
|
|
114
68
|
export { moneybirdCreateSalesInvoice };
|
|
115
69
|
//# sourceMappingURL=create-sales-invoice.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-invoice.d.cts","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sales-invoice.d.cts","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-sales-invoice.d.ts
|
|
@@ -61,55 +63,7 @@ declare const MoneybirdCreateSalesInvoiceOutput: z.ZodObject<{
|
|
|
61
63
|
total_price_excl_tax: z.ZodNullable<z.ZodString>;
|
|
62
64
|
total_price_incl_tax: z.ZodNullable<z.ZodString>;
|
|
63
65
|
}, z.core.$loose>;
|
|
64
|
-
declare const moneybirdCreateSalesInvoice:
|
|
65
|
-
sales_invoice: {
|
|
66
|
-
contact_id: number;
|
|
67
|
-
details_attributes: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
price: string | number;
|
|
70
|
-
description: string;
|
|
71
|
-
amount?: string | undefined;
|
|
72
|
-
period?: string | undefined;
|
|
73
|
-
row_order?: number | undefined;
|
|
74
|
-
product_id?: number | undefined;
|
|
75
|
-
project_id?: number | undefined;
|
|
76
|
-
tax_rate_id?: number | undefined;
|
|
77
|
-
ledger_account_id?: number | undefined;
|
|
78
|
-
}[];
|
|
79
|
-
currency?: string | undefined;
|
|
80
|
-
discount?: string | number | undefined;
|
|
81
|
-
reference?: string | undefined;
|
|
82
|
-
workflow_id?: number | undefined;
|
|
83
|
-
invoice_date?: string | undefined;
|
|
84
|
-
time_entry_ids?: number[] | undefined;
|
|
85
|
-
contact_person_id?: number | undefined;
|
|
86
|
-
document_style_id?: number | undefined;
|
|
87
|
-
first_due_interval?: number | undefined;
|
|
88
|
-
payment_conditions?: string | undefined;
|
|
89
|
-
invoice_sequence_id?: string | undefined;
|
|
90
|
-
prices_are_incl_tax?: boolean | undefined;
|
|
91
|
-
from_payment_request?: boolean | undefined;
|
|
92
|
-
original_estimate_id?: number | undefined;
|
|
93
|
-
custom_fields_attributes?: {
|
|
94
|
-
[x: string]: unknown;
|
|
95
|
-
id: number;
|
|
96
|
-
value: string;
|
|
97
|
-
}[] | undefined;
|
|
98
|
-
};
|
|
99
|
-
administration_id: number;
|
|
100
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
101
|
-
connectionId: z.ZodString;
|
|
102
|
-
entityId: z.ZodString;
|
|
103
|
-
instanceId: z.ZodString;
|
|
104
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
-
accessToken: z.ZodString;
|
|
106
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
107
|
-
connectionId: z.ZodString;
|
|
108
|
-
entityId: z.ZodString;
|
|
109
|
-
instanceId: z.ZodString;
|
|
110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
-
accessToken: z.ZodString;
|
|
112
|
-
}, z.core.$strip>>]>;
|
|
66
|
+
declare const moneybirdCreateSalesInvoice: AppAction<typeof MoneybirdCreateSalesInvoiceInput, typeof MoneybirdCreateSalesInvoiceOutput, typeof moneybird.credential>;
|
|
113
67
|
//#endregion
|
|
114
68
|
export { moneybirdCreateSalesInvoice };
|
|
115
69
|
//# sourceMappingURL=create-sales-invoice.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sales-invoice.d.mts","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-sales-invoice.d.mts","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-sales-invoice.mjs","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdCreateSalesInvoiceInput,\n typeof MoneybirdCreateSalesInvoiceOutput,\n typeof moneybird.credential\n> = 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":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,eAAe,EAAE,OAAO;EACxB,UAAU,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,oBAAoB,CAAC,CAAC,SAAS;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdDeleteContactNoteInput,\n typeof MoneybirdDeleteContactNoteOutput,\n typeof moneybird.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact-note.d.ts
|
|
@@ -7,23 +9,7 @@ declare const MoneybirdDeleteContactNoteInput: z.ZodObject<{
|
|
|
7
9
|
administration_id: z.ZodNumber;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const MoneybirdDeleteContactNoteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
declare const moneybirdDeleteContactNote:
|
|
11
|
-
note_id: number;
|
|
12
|
-
contact_id: number;
|
|
13
|
-
administration_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
accessToken: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const moneybirdDeleteContactNote: AppAction<typeof MoneybirdDeleteContactNoteInput, typeof MoneybirdDeleteContactNoteOutput, typeof moneybird.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { moneybirdDeleteContactNote };
|
|
29
15
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-note.d.cts","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact-note.d.ts
|
|
@@ -7,23 +9,7 @@ declare const MoneybirdDeleteContactNoteInput: z.ZodObject<{
|
|
|
7
9
|
administration_id: z.ZodNumber;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const MoneybirdDeleteContactNoteOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
declare const moneybirdDeleteContactNote:
|
|
11
|
-
note_id: number;
|
|
12
|
-
contact_id: number;
|
|
13
|
-
administration_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
accessToken: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const moneybirdDeleteContactNote: AppAction<typeof MoneybirdDeleteContactNoteInput, typeof MoneybirdDeleteContactNoteOutput, typeof moneybird.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { moneybirdDeleteContactNote };
|
|
29
15
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-note.d.mts","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAK/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-note.mjs","names":[],"sources":["../../src/actions/delete-contact-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdDeleteContactNoteInput,\n typeof MoneybirdDeleteContactNoteOutput,\n typeof moneybird.credential\n> = 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":";;;AAaA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,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,wDAWH;CACP,QAX8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAWjF;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-person.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdDeleteContactPersonInput,\n typeof MoneybirdDeleteContactPersonOutput,\n typeof moneybird.credential\n> = 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":";;;;AAMA,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,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact-person.d.ts
|
|
@@ -7,23 +9,7 @@ declare const MoneybirdDeleteContactPersonInput: z.ZodObject<{
|
|
|
7
9
|
contact_person_id: z.ZodNumber;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const MoneybirdDeleteContactPersonOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
declare const moneybirdDeleteContactPerson:
|
|
11
|
-
contact_id: number;
|
|
12
|
-
administration_id: number;
|
|
13
|
-
contact_person_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
accessToken: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const moneybirdDeleteContactPerson: AppAction<typeof MoneybirdDeleteContactPersonInput, typeof MoneybirdDeleteContactPersonOutput, typeof moneybird.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { moneybirdDeleteContactPerson };
|
|
29
15
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-person.d.cts","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAElC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact-person.d.ts
|
|
@@ -7,23 +9,7 @@ declare const MoneybirdDeleteContactPersonInput: z.ZodObject<{
|
|
|
7
9
|
contact_person_id: z.ZodNumber;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const MoneybirdDeleteContactPersonOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
-
declare const moneybirdDeleteContactPerson:
|
|
11
|
-
contact_id: number;
|
|
12
|
-
administration_id: number;
|
|
13
|
-
contact_person_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
accessToken: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const moneybirdDeleteContactPerson: AppAction<typeof MoneybirdDeleteContactPersonInput, typeof MoneybirdDeleteContactPersonOutput, typeof moneybird.credential>;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { moneybirdDeleteContactPerson };
|
|
29
15
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-person.d.mts","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAElC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"delete-contact-person.mjs","names":[],"sources":["../../src/actions/delete-contact-person.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdDeleteContactPersonInput,\n typeof MoneybirdDeleteContactPersonOutput,\n typeof moneybird.credential\n> = 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":";;;AAaA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+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,0DAWH;CACP,QAXgD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0EAWnF;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moneybird } from \"../app\";\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: AppAction<\n typeof MoneybirdDeleteContactInput,\n typeof MoneybirdDeleteContactOutput,\n typeof moneybird.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact.d.ts
|
|
@@ -6,22 +8,7 @@ declare const MoneybirdDeleteContactInput: z.ZodObject<{
|
|
|
6
8
|
administration_id: z.ZodNumber;
|
|
7
9
|
}, z.core.$strip>;
|
|
8
10
|
declare const MoneybirdDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
declare const moneybirdDeleteContact:
|
|
10
|
-
contact_id: number;
|
|
11
|
-
administration_id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
accessToken: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
11
|
+
declare const moneybirdDeleteContact: AppAction<typeof MoneybirdDeleteContactInput, typeof MoneybirdDeleteContactOutput, typeof moneybird.credential>;
|
|
25
12
|
//#endregion
|
|
26
13
|
export { moneybirdDeleteContact };
|
|
27
14
|
//# sourceMappingURL=delete-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moneybird } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact.d.ts
|
|
@@ -6,22 +8,7 @@ declare const MoneybirdDeleteContactInput: z.ZodObject<{
|
|
|
6
8
|
administration_id: z.ZodNumber;
|
|
7
9
|
}, z.core.$strip>;
|
|
8
10
|
declare const MoneybirdDeleteContactOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
declare const moneybirdDeleteContact:
|
|
10
|
-
contact_id: number;
|
|
11
|
-
administration_id: number;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
accessToken: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moneybird", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
11
|
+
declare const moneybirdDeleteContact: AppAction<typeof MoneybirdDeleteContactInput, typeof MoneybirdDeleteContactOutput, typeof moneybird.credential>;
|
|
25
12
|
//#endregion
|
|
26
13
|
export { moneybirdDeleteContact };
|
|
27
14
|
//# sourceMappingURL=delete-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|