@keystrokehq/moneybird 0.1.3 → 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 -9
- package/dist/actions/add-note-to-contact.d.cts.map +1 -1
- package/dist/actions/add-note-to-contact.d.mts +3 -9
- 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 -4
- package/dist/actions/archive-contact.d.cts.map +1 -1
- package/dist/actions/archive-contact.d.mts +3 -4
- 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 -11
- package/dist/actions/create-contact-person.d.cts.map +1 -1
- package/dist/actions/create-contact-person.d.mts +3 -11
- 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 -31
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -31
- 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 -37
- package/dist/actions/create-sales-invoice.d.cts.map +1 -1
- package/dist/actions/create-sales-invoice.d.mts +3 -37
- 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 -5
- package/dist/actions/delete-contact-note.d.cts.map +1 -1
- package/dist/actions/delete-contact-note.d.mts +3 -5
- 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 -5
- package/dist/actions/delete-contact-person.d.cts.map +1 -1
- package/dist/actions/delete-contact-person.d.mts +3 -5
- 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 -4
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -4
- 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 -9
- package/dist/actions/filter-contacts.d.cts.map +1 -1
- package/dist/actions/filter-contacts.d.mts +3 -9
- 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 -5
- package/dist/actions/get-additional-charges.d.cts.map +1 -1
- package/dist/actions/get-additional-charges.d.mts +3 -5
- 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 -4
- package/dist/actions/get-contact-by-customer-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.mts +3 -4
- 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 -5
- package/dist/actions/get-contact-person.d.cts.map +1 -1
- package/dist/actions/get-contact-person.d.mts +3 -5
- 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 -5
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -5
- 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 -4
- package/dist/actions/get-sales-invoice.d.cts.map +1 -1
- package/dist/actions/get-sales-invoice.d.mts +3 -4
- 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 -1
- package/dist/actions/list-administrations.d.cts.map +1 -1
- package/dist/actions/list-administrations.d.mts +3 -1
- 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 -5
- package/dist/actions/list-contacts-synchronization.d.cts.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.mts +3 -5
- 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 -6
- package/dist/actions/list-sales-invoices.d.cts.map +1 -1
- package/dist/actions/list-sales-invoices.d.mts +3 -6
- 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 -5
- package/dist/actions/request-contact-payments-mandate-url.d.cts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.mts +3 -5
- 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 -10
- package/dist/actions/update-contact-person.d.cts.map +1 -1
- package/dist/actions/update-contact-person.d.mts +3 -10
- 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 -5
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -5
- 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 -44
- package/dist/actions/update-sales-invoice.d.cts.map +1 -1
- package/dist/actions/update-sales-invoice.d.mts +3 -44
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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":"list-administrations.mjs","names":[],"sources":["../../src/actions/list-administrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdListAdministrationsInput = z.object({}).describe(\"Request model for listing administrations. No parameters required.\");\nexport const MoneybirdListAdministrationsOutput = z.unknown();\n\nexport const moneybirdListAdministrations = action(\"MONEYBIRD_LIST_ADMINISTRATIONS\", {\n slug: \"moneybird-list-administrations\",\n name: \"List Administrations\",\n description: \"Tool to list all administrations accessible by the authenticated user. Use when you need to obtain administration_id for subsequent operations like create_contact.\",\n input: MoneybirdListAdministrationsInput,\n output: MoneybirdListAdministrationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-administrations.mjs","names":[],"sources":["../../src/actions/list-administrations.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 MoneybirdListAdministrationsInput = z.object({}).describe(\"Request model for listing administrations. No parameters required.\");\nexport const MoneybirdListAdministrationsOutput = z.unknown();\n\nexport const moneybirdListAdministrations: AppAction<\n typeof MoneybirdListAdministrationsInput,\n typeof MoneybirdListAdministrationsOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_LIST_ADMINISTRATIONS\", {\n slug: \"moneybird-list-administrations\",\n name: \"List Administrations\",\n description: \"Tool to list all administrations accessible by the authenticated user. Use when you need to obtain administration_id for subsequent operations like create_contact.\",\n input: MoneybirdListAdministrationsInput,\n output: MoneybirdListAdministrationsOutput,\n});\n"],"mappings":";;;AASA,MAAa,+BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAW9D;CACP,QAXgD,EAAE,QAW1C;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts-synchronization.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts-synchronization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdListContactsSynchronizationInput = z.object({\n filter: z.string().describe(\"Optional filter expression to narrow results, e.g., 'first_name:henk'\").optional(),\n include_archived: z.boolean().describe(\"If true, include archived contacts in the synchronization list\").optional(),\n administration_id: z.number().int().describe(\"The unique identifier of the administration\"),\n});\nexport const MoneybirdListContactsSynchronizationOutput = z.unknown();\n\nexport const moneybirdListContactsSynchronization = action(\"MONEYBIRD_LIST_CONTACTS_SYNCHRONIZATION\", {\n slug: \"moneybird-list-contacts-synchronization\",\n name: \"List Contacts Synchronization\",\n description: \"Tool to list all contact IDs and versions for synchronization. Use when you need to detect which contacts have changed and update local data accordingly.\",\n input: MoneybirdListContactsSynchronizationInput,\n output: MoneybirdListContactsSynchronizationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts-synchronization.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts-synchronization.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 MoneybirdListContactsSynchronizationInput = z.object({\n filter: z.string().describe(\"Optional filter expression to narrow results, e.g., 'first_name:henk'\").optional(),\n include_archived: z.boolean().describe(\"If true, include archived contacts in the synchronization list\").optional(),\n administration_id: z.number().int().describe(\"The unique identifier of the administration\"),\n});\nexport const MoneybirdListContactsSynchronizationOutput = z.unknown();\n\nexport const moneybirdListContactsSynchronization: AppAction<\n typeof MoneybirdListContactsSynchronizationInput,\n typeof MoneybirdListContactsSynchronizationOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_LIST_CONTACTS_SYNCHRONIZATION\", {\n slug: \"moneybird-list-contacts-synchronization\",\n name: \"List Contacts Synchronization\",\n description: \"Tool to list all contact IDs and versions for synchronization. Use when you need to detect which contacts have changed and update local data accordingly.\",\n input: MoneybirdListContactsSynchronizationInput,\n output: MoneybirdListContactsSynchronizationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAC5F,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,QAAQ;AAEpE,MAAa,uCAITC,eAAAA,OAAO,2CAA2C;CACpD,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/list-contacts-synchronization.d.ts
|
|
@@ -7,11 +9,7 @@ declare const MoneybirdListContactsSynchronizationInput: z.ZodObject<{
|
|
|
7
9
|
administration_id: z.ZodNumber;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const MoneybirdListContactsSynchronizationOutput: z.ZodUnknown;
|
|
10
|
-
declare const moneybirdListContactsSynchronization:
|
|
11
|
-
administration_id: number;
|
|
12
|
-
filter?: string | undefined;
|
|
13
|
-
include_archived?: boolean | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const moneybirdListContactsSynchronization: AppAction<typeof MoneybirdListContactsSynchronizationInput, typeof MoneybirdListContactsSynchronizationOutput, typeof moneybird.credential>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { moneybirdListContactsSynchronization };
|
|
17
15
|
//# sourceMappingURL=list-contacts-synchronization.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts-synchronization.d.cts","names":[],"sources":["../../src/actions/list-contacts-synchronization.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts-synchronization.d.cts","names":[],"sources":["../../src/actions/list-contacts-synchronization.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAKzC,0CAAA,EAA0C,CAAA,CAAA,UAAc;AAAA,cAExD,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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/list-contacts-synchronization.d.ts
|
|
@@ -7,11 +9,7 @@ declare const MoneybirdListContactsSynchronizationInput: z.ZodObject<{
|
|
|
7
9
|
administration_id: z.ZodNumber;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
declare const MoneybirdListContactsSynchronizationOutput: z.ZodUnknown;
|
|
10
|
-
declare const moneybirdListContactsSynchronization:
|
|
11
|
-
administration_id: number;
|
|
12
|
-
filter?: string | undefined;
|
|
13
|
-
include_archived?: boolean | undefined;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const moneybirdListContactsSynchronization: AppAction<typeof MoneybirdListContactsSynchronizationInput, typeof MoneybirdListContactsSynchronizationOutput, typeof moneybird.credential>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { moneybirdListContactsSynchronization };
|
|
17
15
|
//# sourceMappingURL=list-contacts-synchronization.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts-synchronization.d.mts","names":[],"sources":["../../src/actions/list-contacts-synchronization.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts-synchronization.d.mts","names":[],"sources":["../../src/actions/list-contacts-synchronization.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAKzC,0CAAA,EAA0C,CAAA,CAAA,UAAc;AAAA,cAExD,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts-synchronization.mjs","names":[],"sources":["../../src/actions/list-contacts-synchronization.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdListContactsSynchronizationInput = z.object({\n filter: z.string().describe(\"Optional filter expression to narrow results, e.g., 'first_name:henk'\").optional(),\n include_archived: z.boolean().describe(\"If true, include archived contacts in the synchronization list\").optional(),\n administration_id: z.number().int().describe(\"The unique identifier of the administration\"),\n});\nexport const MoneybirdListContactsSynchronizationOutput = z.unknown();\n\nexport const moneybirdListContactsSynchronization = action(\"MONEYBIRD_LIST_CONTACTS_SYNCHRONIZATION\", {\n slug: \"moneybird-list-contacts-synchronization\",\n name: \"List Contacts Synchronization\",\n description: \"Tool to list all contact IDs and versions for synchronization. Use when you need to detect which contacts have changed and update local data accordingly.\",\n input: MoneybirdListContactsSynchronizationInput,\n output: MoneybirdListContactsSynchronizationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-contacts-synchronization.mjs","names":[],"sources":["../../src/actions/list-contacts-synchronization.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 MoneybirdListContactsSynchronizationInput = z.object({\n filter: z.string().describe(\"Optional filter expression to narrow results, e.g., 'first_name:henk'\").optional(),\n include_archived: z.boolean().describe(\"If true, include archived contacts in the synchronization list\").optional(),\n administration_id: z.number().int().describe(\"The unique identifier of the administration\"),\n});\nexport const MoneybirdListContactsSynchronizationOutput = z.unknown();\n\nexport const moneybirdListContactsSynchronization: AppAction<\n typeof MoneybirdListContactsSynchronizationInput,\n typeof MoneybirdListContactsSynchronizationOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_LIST_CONTACTS_SYNCHRONIZATION\", {\n slug: \"moneybird-list-contacts-synchronization\",\n name: \"List Contacts Synchronization\",\n description: \"Tool to list all contact IDs and versions for synchronization. Use when you need to detect which contacts have changed and update local data accordingly.\",\n input: MoneybirdListContactsSynchronizationInput,\n output: MoneybirdListContactsSynchronizationOutput,\n});\n"],"mappings":";;;AAaA,MAAa,uCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuD,EAAE,OAAO;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC9G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAClH,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC5F,CAWS;CACP,QAXwD,EAAE,QAWlD;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sales-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-sales-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdListSalesInvoicesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be >= 1).\").optional(),\n filter: z.string().describe(\"Filter expression to limit invoices. See Moneybird docs for supported filters, e.g., 'state=sent' or 'period=current_year'.\").optional(),\n per_page: z.number().int().describe(\"Number of invoices per page (max 100).\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request model for listing sales invoices within an administration.\");\nexport const MoneybirdListSalesInvoicesOutput = z.unknown();\n\nexport const moneybirdListSalesInvoices = action(\"MONEYBIRD_LIST_SALES_INVOICES\", {\n slug: \"moneybird-list-sales-invoices\",\n name: \"List Sales Invoices\",\n description: \"Tool to list all sales invoices in an administration. Use when you need an overview of invoices for a given administration.\",\n input: MoneybirdListSalesInvoicesInput,\n output: MoneybirdListSalesInvoicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sales-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-sales-invoices.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 MoneybirdListSalesInvoicesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be >= 1).\").optional(),\n filter: z.string().describe(\"Filter expression to limit invoices. See Moneybird docs for supported filters, e.g., 'state=sent' or 'period=current_year'.\").optional(),\n per_page: z.number().int().describe(\"Number of invoices per page (max 100).\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request model for listing sales invoices within an administration.\");\nexport const MoneybirdListSalesInvoicesOutput = z.unknown();\n\nexport const moneybirdListSalesInvoices: AppAction<\n typeof MoneybirdListSalesInvoicesInput,\n typeof MoneybirdListSalesInvoicesOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_LIST_SALES_INVOICES\", {\n slug: \"moneybird-list-sales-invoices\",\n name: \"List Sales Invoices\",\n description: \"Tool to list all sales invoices in an administration. Use when you need an overview of invoices for a given administration.\",\n input: MoneybirdListSalesInvoicesInput,\n output: MoneybirdListSalesInvoicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACpK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAC1G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,mCAAmCA,IAAAA,EAAE,QAAQ;AAE1D,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/list-sales-invoices.d.ts
|
|
@@ -8,12 +10,7 @@ declare const MoneybirdListSalesInvoicesInput: z.ZodObject<{
|
|
|
8
10
|
administration_id: z.ZodNumber;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const MoneybirdListSalesInvoicesOutput: z.ZodUnknown;
|
|
11
|
-
declare const moneybirdListSalesInvoices:
|
|
12
|
-
administration_id: number;
|
|
13
|
-
page?: number | undefined;
|
|
14
|
-
filter?: string | undefined;
|
|
15
|
-
per_page?: number | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const moneybirdListSalesInvoices: AppAction<typeof MoneybirdListSalesInvoicesInput, typeof MoneybirdListSalesInvoicesOutput, typeof moneybird.credential>;
|
|
17
14
|
//#endregion
|
|
18
15
|
export { moneybirdListSalesInvoices };
|
|
19
16
|
//# sourceMappingURL=list-sales-invoices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sales-invoices.d.cts","names":[],"sources":["../../src/actions/list-sales-invoices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sales-invoices.d.cts","names":[],"sources":["../../src/actions/list-sales-invoices.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,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/list-sales-invoices.d.ts
|
|
@@ -8,12 +10,7 @@ declare const MoneybirdListSalesInvoicesInput: z.ZodObject<{
|
|
|
8
10
|
administration_id: z.ZodNumber;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const MoneybirdListSalesInvoicesOutput: z.ZodUnknown;
|
|
11
|
-
declare const moneybirdListSalesInvoices:
|
|
12
|
-
administration_id: number;
|
|
13
|
-
page?: number | undefined;
|
|
14
|
-
filter?: string | undefined;
|
|
15
|
-
per_page?: number | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const moneybirdListSalesInvoices: AppAction<typeof MoneybirdListSalesInvoicesInput, typeof MoneybirdListSalesInvoicesOutput, typeof moneybird.credential>;
|
|
17
14
|
//#endregion
|
|
18
15
|
export { moneybirdListSalesInvoices };
|
|
19
16
|
//# sourceMappingURL=list-sales-invoices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sales-invoices.d.mts","names":[],"sources":["../../src/actions/list-sales-invoices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sales-invoices.d.mts","names":[],"sources":["../../src/actions/list-sales-invoices.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sales-invoices.mjs","names":[],"sources":["../../src/actions/list-sales-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdListSalesInvoicesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be >= 1).\").optional(),\n filter: z.string().describe(\"Filter expression to limit invoices. See Moneybird docs for supported filters, e.g., 'state=sent' or 'period=current_year'.\").optional(),\n per_page: z.number().int().describe(\"Number of invoices per page (max 100).\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request model for listing sales invoices within an administration.\");\nexport const MoneybirdListSalesInvoicesOutput = z.unknown();\n\nexport const moneybirdListSalesInvoices = action(\"MONEYBIRD_LIST_SALES_INVOICES\", {\n slug: \"moneybird-list-sales-invoices\",\n name: \"List Sales Invoices\",\n description: \"Tool to list all sales invoices in an administration. Use when you need an overview of invoices for a given administration.\",\n input: MoneybirdListSalesInvoicesInput,\n output: MoneybirdListSalesInvoicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sales-invoices.mjs","names":[],"sources":["../../src/actions/list-sales-invoices.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 MoneybirdListSalesInvoicesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be >= 1).\").optional(),\n filter: z.string().describe(\"Filter expression to limit invoices. See Moneybird docs for supported filters, e.g., 'state=sent' or 'period=current_year'.\").optional(),\n per_page: z.number().int().describe(\"Number of invoices per page (max 100).\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request model for listing sales invoices within an administration.\");\nexport const MoneybirdListSalesInvoicesOutput = z.unknown();\n\nexport const moneybirdListSalesInvoices: AppAction<\n typeof MoneybirdListSalesInvoicesInput,\n typeof MoneybirdListSalesInvoicesOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_LIST_SALES_INVOICES\", {\n slug: \"moneybird-list-sales-invoices\",\n name: \"List Sales Invoices\",\n description: \"Tool to list all sales invoices in an administration. Use when you need an overview of invoices for a given administration.\",\n input: MoneybirdListSalesInvoicesInput,\n output: MoneybirdListSalesInvoicesOutput,\n});\n"],"mappings":";;;AAcA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACpK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC1G,CAAC,CAAC,CAAC,SAAS,oEAWH;CACP,QAX8C,EAAE,QAWxC;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-contact-payments-mandate-url.cjs","names":["z","action"],"sources":["../../src/actions/request-contact-payments-mandate-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdRequestContactPaymentsMandateUrlInput = z.object({\n contact_id: z.number().int().describe(\"ID of the contact for which to generate a payments mandate URL\"),\n identity_id: z.number().int().describe(\"Optional identity ID when multiple identities exist; must be a valid identity.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, as part of the Moneybird URL path.\"),\n});\nexport const MoneybirdRequestContactPaymentsMandateUrlOutput = z.object({\n url: z.string().describe(\"One-time URL to set up a Moneybird Payments mandate. Valid for 14 days.\").nullable(),\n}).passthrough();\n\nexport const moneybirdRequestContactPaymentsMandateUrl = action(\"MONEYBIRD_REQUEST_CONTACT_PAYMENTS_MANDATE_URL\", {\n slug: \"moneybird-request-contact-payments-mandate-url\",\n name: \"Request Payments Mandate URL\",\n description: \"Tool to request a URL for setting up a Payments mandate. Use when you need to generate a direct-debit authorization link for a contact (valid for 14 days).\",\n input: MoneybirdRequestContactPaymentsMandateUrlInput,\n output: MoneybirdRequestContactPaymentsMandateUrlOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"request-contact-payments-mandate-url.cjs","names":["z","action"],"sources":["../../src/actions/request-contact-payments-mandate-url.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 MoneybirdRequestContactPaymentsMandateUrlInput = z.object({\n contact_id: z.number().int().describe(\"ID of the contact for which to generate a payments mandate URL\"),\n identity_id: z.number().int().describe(\"Optional identity ID when multiple identities exist; must be a valid identity.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, as part of the Moneybird URL path.\"),\n});\nexport const MoneybirdRequestContactPaymentsMandateUrlOutput = z.object({\n url: z.string().describe(\"One-time URL to set up a Moneybird Payments mandate. Valid for 14 days.\").nullable(),\n}).passthrough();\n\nexport const moneybirdRequestContactPaymentsMandateUrl: AppAction<\n typeof MoneybirdRequestContactPaymentsMandateUrlInput,\n typeof MoneybirdRequestContactPaymentsMandateUrlOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_REQUEST_CONTACT_PAYMENTS_MANDATE_URL\", {\n slug: \"moneybird-request-contact-payments-mandate-url\",\n name: \"Request Payments Mandate URL\",\n description: \"Tool to request a URL for setting up a Payments mandate. Use when you need to generate a direct-debit authorization link for a contact (valid for 14 days).\",\n input: MoneybirdRequestContactPaymentsMandateUrlInput,\n output: MoneybirdRequestContactPaymentsMandateUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAClI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AAC9G,CAAC;AACD,MAAa,kDAAkDA,IAAAA,EAAE,OAAO,EACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4CAITC,eAAAA,OAAO,kDAAkD;CAC3D,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/request-contact-payments-mandate-url.d.ts
|
|
@@ -9,11 +11,7 @@ declare const MoneybirdRequestContactPaymentsMandateUrlInput: z.ZodObject<{
|
|
|
9
11
|
declare const MoneybirdRequestContactPaymentsMandateUrlOutput: z.ZodObject<{
|
|
10
12
|
url: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moneybirdRequestContactPaymentsMandateUrl:
|
|
13
|
-
contact_id: number;
|
|
14
|
-
administration_id: number;
|
|
15
|
-
identity_id?: number | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moneybirdRequestContactPaymentsMandateUrl: AppAction<typeof MoneybirdRequestContactPaymentsMandateUrlInput, typeof MoneybirdRequestContactPaymentsMandateUrlOutput, typeof moneybird.credential>;
|
|
17
15
|
//#endregion
|
|
18
16
|
export { moneybirdRequestContactPaymentsMandateUrl };
|
|
19
17
|
//# sourceMappingURL=request-contact-payments-mandate-url.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-contact-payments-mandate-url.d.cts","names":[],"sources":["../../src/actions/request-contact-payments-mandate-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"request-contact-payments-mandate-url.d.cts","names":[],"sources":["../../src/actions/request-contact-payments-mandate-url.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;cAK9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;cAI/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,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/request-contact-payments-mandate-url.d.ts
|
|
@@ -9,11 +11,7 @@ declare const MoneybirdRequestContactPaymentsMandateUrlInput: z.ZodObject<{
|
|
|
9
11
|
declare const MoneybirdRequestContactPaymentsMandateUrlOutput: z.ZodObject<{
|
|
10
12
|
url: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moneybirdRequestContactPaymentsMandateUrl:
|
|
13
|
-
contact_id: number;
|
|
14
|
-
administration_id: number;
|
|
15
|
-
identity_id?: number | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moneybirdRequestContactPaymentsMandateUrl: AppAction<typeof MoneybirdRequestContactPaymentsMandateUrlInput, typeof MoneybirdRequestContactPaymentsMandateUrlOutput, typeof moneybird.credential>;
|
|
17
15
|
//#endregion
|
|
18
16
|
export { moneybirdRequestContactPaymentsMandateUrl };
|
|
19
17
|
//# sourceMappingURL=request-contact-payments-mandate-url.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-contact-payments-mandate-url.d.mts","names":[],"sources":["../../src/actions/request-contact-payments-mandate-url.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"request-contact-payments-mandate-url.d.mts","names":[],"sources":["../../src/actions/request-contact-payments-mandate-url.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;cAK9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;cAI/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-contact-payments-mandate-url.mjs","names":[],"sources":["../../src/actions/request-contact-payments-mandate-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdRequestContactPaymentsMandateUrlInput = z.object({\n contact_id: z.number().int().describe(\"ID of the contact for which to generate a payments mandate URL\"),\n identity_id: z.number().int().describe(\"Optional identity ID when multiple identities exist; must be a valid identity.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, as part of the Moneybird URL path.\"),\n});\nexport const MoneybirdRequestContactPaymentsMandateUrlOutput = z.object({\n url: z.string().describe(\"One-time URL to set up a Moneybird Payments mandate. Valid for 14 days.\").nullable(),\n}).passthrough();\n\nexport const moneybirdRequestContactPaymentsMandateUrl = action(\"MONEYBIRD_REQUEST_CONTACT_PAYMENTS_MANDATE_URL\", {\n slug: \"moneybird-request-contact-payments-mandate-url\",\n name: \"Request Payments Mandate URL\",\n description: \"Tool to request a URL for setting up a Payments mandate. Use when you need to generate a direct-debit authorization link for a contact (valid for 14 days).\",\n input: MoneybirdRequestContactPaymentsMandateUrlInput,\n output: MoneybirdRequestContactPaymentsMandateUrlOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"request-contact-payments-mandate-url.mjs","names":[],"sources":["../../src/actions/request-contact-payments-mandate-url.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 MoneybirdRequestContactPaymentsMandateUrlInput = z.object({\n contact_id: z.number().int().describe(\"ID of the contact for which to generate a payments mandate URL\"),\n identity_id: z.number().int().describe(\"Optional identity ID when multiple identities exist; must be a valid identity.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, as part of the Moneybird URL path.\"),\n});\nexport const MoneybirdRequestContactPaymentsMandateUrlOutput = z.object({\n url: z.string().describe(\"One-time URL to set up a Moneybird Payments mandate. Valid for 14 days.\").nullable(),\n}).passthrough();\n\nexport const moneybirdRequestContactPaymentsMandateUrl: AppAction<\n typeof MoneybirdRequestContactPaymentsMandateUrlInput,\n typeof MoneybirdRequestContactPaymentsMandateUrlOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_REQUEST_CONTACT_PAYMENTS_MANDATE_URL\", {\n slug: \"moneybird-request-contact-payments-mandate-url\",\n name: \"Request Payments Mandate URL\",\n description: \"Tool to request a URL for setting up a Payments mandate. Use when you need to generate a direct-debit authorization link for a contact (valid for 14 days).\",\n input: MoneybirdRequestContactPaymentsMandateUrlInput,\n output: MoneybirdRequestContactPaymentsMandateUrlOutput,\n});\n"],"mappings":";;;AAeA,MAAa,4CAIT,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4D,EAAE,OAAO;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAClI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC9G,CAaS;CACP,QAb6D,EAAE,OAAO,EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-person.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdUpdateContactPersonInput = z.object({\n email: z.string().describe(\"Email address of the contact person.\").optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").optional(),\n lastname: z.string().describe(\"Last name of the contact person.\").optional(),\n firstname: z.string().describe(\"First name of the contact person.\").optional(),\n contact_id: z.string().describe(\"ID of the contact containing the person to update.\"),\n department: z.string().describe(\"Department of the contact person.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path.\"),\n contact_person_id: z.string().describe(\"ID of the contact person to update.\"),\n}).describe(\"Request model for updating a contact person.\");\nexport const MoneybirdUpdateContactPersonOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact person.\").nullable(),\n email: z.string().describe(\"Email address of the contact person.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the contact person.\").nullable(),\n lastname: z.string().describe(\"Last name of the contact person.\").nullable(),\n firstname: z.string().describe(\"First name of the contact person.\").nullable(),\n contact_id: z.string().describe(\"ID of the associated contact.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact person was created.\").nullable(),\n department: z.string().describe(\"Department of the contact person.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact person was last updated.\").nullable(),\n administration_id: z.number().int().describe(\"Administration ID the contact person belongs to.\").nullable(),\n}).passthrough().describe(\"Response model for updated contact person details.\");\n\nexport const moneybirdUpdateContactPerson = action(\"MONEYBIRD_UPDATE_CONTACT_PERSON\", {\n slug: \"moneybird-update-contact-person\",\n name: \"Update Contact Person\",\n description: \"Tool to update a contact person. Use after selecting a specific contact person when you need to change their details.\",\n input: MoneybirdUpdateContactPersonInput,\n output: MoneybirdUpdateContactPersonOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-person.cjs","names":["z","action"],"sources":["../../src/actions/update-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 MoneybirdUpdateContactPersonInput = z.object({\n email: z.string().describe(\"Email address of the contact person.\").optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").optional(),\n lastname: z.string().describe(\"Last name of the contact person.\").optional(),\n firstname: z.string().describe(\"First name of the contact person.\").optional(),\n contact_id: z.string().describe(\"ID of the contact containing the person to update.\"),\n department: z.string().describe(\"Department of the contact person.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path.\"),\n contact_person_id: z.string().describe(\"ID of the contact person to update.\"),\n}).describe(\"Request model for updating a contact person.\");\nexport const MoneybirdUpdateContactPersonOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact person.\").nullable(),\n email: z.string().describe(\"Email address of the contact person.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the contact person.\").nullable(),\n lastname: z.string().describe(\"Last name of the contact person.\").nullable(),\n firstname: z.string().describe(\"First name of the contact person.\").nullable(),\n contact_id: z.string().describe(\"ID of the associated contact.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact person was created.\").nullable(),\n department: z.string().describe(\"Department of the contact person.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact person was last updated.\").nullable(),\n administration_id: z.number().int().describe(\"Administration ID the contact person belongs to.\").nullable(),\n}).passthrough().describe(\"Response model for updated contact person details.\");\n\nexport const moneybirdUpdateContactPerson: AppAction<\n typeof MoneybirdUpdateContactPersonInput,\n typeof MoneybirdUpdateContactPersonOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_UPDATE_CONTACT_PERSON\", {\n slug: \"moneybird-update-contact-person\",\n name: \"Update Contact Person\",\n description: \"Tool to update a contact person. Use after selecting a specific contact person when you need to change their details.\",\n input: MoneybirdUpdateContactPersonInput,\n output: MoneybirdUpdateContactPersonOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CACzG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC9E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,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/update-contact-person.d.ts
|
|
@@ -24,16 +26,7 @@ declare const MoneybirdUpdateContactPersonOutput: z.ZodObject<{
|
|
|
24
26
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
25
27
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const moneybirdUpdateContactPerson:
|
|
28
|
-
contact_id: string;
|
|
29
|
-
administration_id: number;
|
|
30
|
-
contact_person_id: string;
|
|
31
|
-
email?: string | undefined;
|
|
32
|
-
phone?: string | undefined;
|
|
33
|
-
lastname?: string | undefined;
|
|
34
|
-
firstname?: string | undefined;
|
|
35
|
-
department?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const moneybirdUpdateContactPerson: AppAction<typeof MoneybirdUpdateContactPersonInput, typeof MoneybirdUpdateContactPersonOutput, typeof moneybird.credential>;
|
|
37
30
|
//#endregion
|
|
38
31
|
export { moneybirdUpdateContactPerson };
|
|
39
32
|
//# sourceMappingURL=update-contact-person.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-person.d.cts","names":[],"sources":["../../src/actions/update-contact-person.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-person.d.cts","names":[],"sources":["../../src/actions/update-contact-person.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAUjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAclC,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/update-contact-person.d.ts
|
|
@@ -24,16 +26,7 @@ declare const MoneybirdUpdateContactPersonOutput: z.ZodObject<{
|
|
|
24
26
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
25
27
|
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const moneybirdUpdateContactPerson:
|
|
28
|
-
contact_id: string;
|
|
29
|
-
administration_id: number;
|
|
30
|
-
contact_person_id: string;
|
|
31
|
-
email?: string | undefined;
|
|
32
|
-
phone?: string | undefined;
|
|
33
|
-
lastname?: string | undefined;
|
|
34
|
-
firstname?: string | undefined;
|
|
35
|
-
department?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
29
|
+
declare const moneybirdUpdateContactPerson: AppAction<typeof MoneybirdUpdateContactPersonInput, typeof MoneybirdUpdateContactPersonOutput, typeof moneybird.credential>;
|
|
37
30
|
//#endregion
|
|
38
31
|
export { moneybirdUpdateContactPerson };
|
|
39
32
|
//# sourceMappingURL=update-contact-person.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-person.d.mts","names":[],"sources":["../../src/actions/update-contact-person.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-person.d.mts","names":[],"sources":["../../src/actions/update-contact-person.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAUjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAclC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-person.mjs","names":[],"sources":["../../src/actions/update-contact-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdUpdateContactPersonInput = z.object({\n email: z.string().describe(\"Email address of the contact person.\").optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").optional(),\n lastname: z.string().describe(\"Last name of the contact person.\").optional(),\n firstname: z.string().describe(\"First name of the contact person.\").optional(),\n contact_id: z.string().describe(\"ID of the contact containing the person to update.\"),\n department: z.string().describe(\"Department of the contact person.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path.\"),\n contact_person_id: z.string().describe(\"ID of the contact person to update.\"),\n}).describe(\"Request model for updating a contact person.\");\nexport const MoneybirdUpdateContactPersonOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact person.\").nullable(),\n email: z.string().describe(\"Email address of the contact person.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the contact person.\").nullable(),\n lastname: z.string().describe(\"Last name of the contact person.\").nullable(),\n firstname: z.string().describe(\"First name of the contact person.\").nullable(),\n contact_id: z.string().describe(\"ID of the associated contact.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact person was created.\").nullable(),\n department: z.string().describe(\"Department of the contact person.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact person was last updated.\").nullable(),\n administration_id: z.number().int().describe(\"Administration ID the contact person belongs to.\").nullable(),\n}).passthrough().describe(\"Response model for updated contact person details.\");\n\nexport const moneybirdUpdateContactPerson = action(\"MONEYBIRD_UPDATE_CONTACT_PERSON\", {\n slug: \"moneybird-update-contact-person\",\n name: \"Update Contact Person\",\n description: \"Tool to update a contact person. Use after selecting a specific contact person when you need to change their details.\",\n input: MoneybirdUpdateContactPersonInput,\n output: MoneybirdUpdateContactPersonOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-person.mjs","names":[],"sources":["../../src/actions/update-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 MoneybirdUpdateContactPersonInput = z.object({\n email: z.string().describe(\"Email address of the contact person.\").optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").optional(),\n lastname: z.string().describe(\"Last name of the contact person.\").optional(),\n firstname: z.string().describe(\"First name of the contact person.\").optional(),\n contact_id: z.string().describe(\"ID of the contact containing the person to update.\"),\n department: z.string().describe(\"Department of the contact person.\").optional(),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path.\"),\n contact_person_id: z.string().describe(\"ID of the contact person to update.\"),\n}).describe(\"Request model for updating a contact person.\");\nexport const MoneybirdUpdateContactPersonOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact person.\").nullable(),\n email: z.string().describe(\"Email address of the contact person.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact person.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the contact person.\").nullable(),\n lastname: z.string().describe(\"Last name of the contact person.\").nullable(),\n firstname: z.string().describe(\"First name of the contact person.\").nullable(),\n contact_id: z.string().describe(\"ID of the associated contact.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the contact person was created.\").nullable(),\n department: z.string().describe(\"Department of the contact person.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact person was last updated.\").nullable(),\n administration_id: z.number().int().describe(\"Administration ID the contact person belongs to.\").nullable(),\n}).passthrough().describe(\"Response model for updated contact person details.\");\n\nexport const moneybirdUpdateContactPerson: AppAction<\n typeof MoneybirdUpdateContactPersonInput,\n typeof MoneybirdUpdateContactPersonOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_UPDATE_CONTACT_PERSON\", {\n slug: \"moneybird-update-contact-person\",\n name: \"Update Contact Person\",\n description: \"Tool to update a contact person. Use after selecting a specific contact person when you need to change their details.\",\n input: MoneybirdUpdateContactPersonInput,\n output: MoneybirdUpdateContactPersonOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhC+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC9E,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC9E,CAAC,CAAC,CAAC,SAAS,8CAuBH;CACP,QAvBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdUpdateContactInput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Key-value map of contact fields to update\"),\n contact_id: z.string().describe(\"ID of the contact to update\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request parameters for updating a contact.\");\nexport const MoneybirdUpdateContactOutput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Updated contact object returned by Moneybird\"),\n}).passthrough();\n\nexport const moneybirdUpdateContact = action(\"MONEYBIRD_UPDATE_CONTACT\", {\n slug: \"moneybird-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update a contact. Use when you need to modify existing contact details by ID. Only provided fields will be changed.\",\n input: MoneybirdUpdateContactInput,\n output: MoneybirdUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-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 MoneybirdUpdateContactInput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Key-value map of contact fields to update\"),\n contact_id: z.string().describe(\"ID of the contact to update\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request parameters for updating a contact.\");\nexport const MoneybirdUpdateContactOutput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Updated contact object returned by Moneybird\"),\n}).passthrough();\n\nexport const moneybirdUpdateContact: AppAction<\n typeof MoneybirdUpdateContactInput,\n typeof MoneybirdUpdateContactOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_UPDATE_CONTACT\", {\n slug: \"moneybird-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update a contact. Use when you need to modify existing contact details by ID. Only provided fields will be changed.\",\n input: MoneybirdUpdateContactInput,\n output: MoneybirdUpdateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC7D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,EACpG,CAAC,CAAC,CAAC,YAAY;AAEf,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/update-contact.d.ts
|
|
@@ -9,11 +11,7 @@ declare const MoneybirdUpdateContactInput: z.ZodObject<{
|
|
|
9
11
|
declare const MoneybirdUpdateContactOutput: z.ZodObject<{
|
|
10
12
|
contact: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moneybirdUpdateContact:
|
|
13
|
-
contact: Record<string, unknown>;
|
|
14
|
-
contact_id: string;
|
|
15
|
-
administration_id: number;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moneybirdUpdateContact: AppAction<typeof MoneybirdUpdateContactInput, typeof MoneybirdUpdateContactOutput, typeof moneybird.credential>;
|
|
17
15
|
//#endregion
|
|
18
16
|
export { moneybirdUpdateContact };
|
|
19
17
|
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,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/update-contact.d.ts
|
|
@@ -9,11 +11,7 @@ declare const MoneybirdUpdateContactInput: z.ZodObject<{
|
|
|
9
11
|
declare const MoneybirdUpdateContactOutput: z.ZodObject<{
|
|
10
12
|
contact: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moneybirdUpdateContact:
|
|
13
|
-
contact: Record<string, unknown>;
|
|
14
|
-
contact_id: string;
|
|
15
|
-
administration_id: number;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moneybirdUpdateContact: AppAction<typeof MoneybirdUpdateContactInput, typeof MoneybirdUpdateContactOutput, typeof moneybird.credential>;
|
|
17
15
|
//#endregion
|
|
18
16
|
export { moneybirdUpdateContact };
|
|
19
17
|
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdUpdateContactInput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Key-value map of contact fields to update\"),\n contact_id: z.string().describe(\"ID of the contact to update\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request parameters for updating a contact.\");\nexport const MoneybirdUpdateContactOutput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Updated contact object returned by Moneybird\"),\n}).passthrough();\n\nexport const moneybirdUpdateContact = action(\"MONEYBIRD_UPDATE_CONTACT\", {\n slug: \"moneybird-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update a contact. Use when you need to modify existing contact details by ID. Only provided fields will be changed.\",\n input: MoneybirdUpdateContactInput,\n output: MoneybirdUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-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 MoneybirdUpdateContactInput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Key-value map of contact fields to update\"),\n contact_id: z.string().describe(\"ID of the contact to update\"),\n administration_id: z.number().int().describe(\"Numeric administration ID, part of the Moneybird URL path\"),\n}).describe(\"Request parameters for updating a contact.\");\nexport const MoneybirdUpdateContactOutput = z.object({\n contact: z.record(z.string(), z.unknown()).describe(\"Updated contact object returned by Moneybird\"),\n}).passthrough();\n\nexport const moneybirdUpdateContact: AppAction<\n typeof MoneybirdUpdateContactInput,\n typeof MoneybirdUpdateContactOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_UPDATE_CONTACT\", {\n slug: \"moneybird-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update a contact. Use when you need to modify existing contact details by ID. Only provided fields will be changed.\",\n input: MoneybirdUpdateContactInput,\n output: MoneybirdUpdateContactOutput,\n});\n"],"mappings":";;;AAeA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC7D,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC1G,CAAC,CAAC,CAAC,SAAS,4CAaH;CACP,QAb0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,EACpG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sales-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-sales-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoneybirdUpdateSalesInvoiceInput = z.object({\n sales_invoice: z.object({\n currency: z.string().describe(\"ISO currency code, e.g., 'EUR'\").optional(),\n discount: z.number().describe(\"Discount percent (>= 0)\").optional(),\n reference: z.string().describe(\"Invoice reference string\").optional(),\n contact_id: z.number().int().describe(\"Valid contact ID to set\").optional(),\n workflow_id: z.number().int().describe(\"Workflow ID to apply\").optional(),\n invoice_date: z.string().describe(\"Invoice date (YYYY-MM-DD)\").optional(),\n time_entry_ids: z.array(z.number().int()).describe(\"List of time entry IDs to attach\").optional(),\n update_contact: z.boolean().describe(\"If true, sync contact fields from invoice\").optional(),\n contact_person_id: z.number().int().describe(\"Valid contact person ID to set\").optional(),\n document_style_id: z.number().int().describe(\"Document style ID to apply\").optional(),\n details_attributes: z.array(z.object({\n id: z.number().int().describe(\"Existing detail record ID\").optional(),\n price: z.number().describe(\"Unit price (decimal)\").optional(),\n amount: z.string().describe(\"Quantity string, e.g., '1 x'\").optional(),\n period: z.string().describe(\"Date range for the line, e.g., '20250101..20250131' or presets.\").optional(),\n _destroy: z.boolean().describe(\"Set true to delete this line item\").optional(),\n trip_ids: z.array(z.number().int()).describe(\"List of trip IDs\").optional(),\n row_order: z.number().int().describe(\"Order index of this line item\").optional(),\n product_id: z.number().int().describe(\"Valid product ID\").optional(),\n project_id: z.number().int().describe(\"Valid project ID\").optional(),\n description: z.string().describe(\"Line item description\").optional(),\n tax_rate_id: z.number().int().describe(\"Valid tax rate ID\").optional(),\n time_entry_ids: z.array(z.number().int()).describe(\"List of time entry IDs\").optional(),\n ledger_account_id: z.number().int().describe(\"Valid ledger account ID\").optional(),\n automated_tax_enabled: z.boolean().describe(\"Enable automated tax calculation for this line\").optional(),\n}).passthrough().describe(\"Attributes to partially update a single line item on the invoice.\\nProvide only fields to change. Use `destroy`=true to remove this line.\")).describe(\"List of line items to update\").optional(),\n first_due_interval: z.number().int().describe(\"Days until due date\").optional(),\n payment_conditions: z.string().describe(\"Custom payment conditions text\").optional(),\n invoice_sequence_id: z.string().describe(\"Invoice sequence ID to set\").optional(),\n prices_are_incl_tax: z.boolean().describe(\"True if prices include tax\").optional(),\n original_estimate_id: z.number().int().describe(\"Link to an existing estimate ID\").optional(),\n custom_fields_attributes: z.array(z.object({\n id: z.number().int().describe(\"Custom field ID\"),\n value: z.string().describe(\"Value for the custom field\"),\n}).passthrough().describe(\"Pair of custom field ID and its new value.\")).describe(\"List of custom fields to update\").optional(),\n remove_invoice_sequence_id: z.boolean().describe(\"Unset the sequence ID when true\").optional(),\n}).describe(\"Fields to update on the invoice\"),\n sales_invoice_id: z.string().describe(\"ID of the sales invoice to update\"),\n administration_id: z.number().int().describe(\"Administration ID in Moneybird URL path\"),\n});\nexport const MoneybirdUpdateSalesInvoiceOutput = z.object({\n sales_invoice: z.record(z.string(), z.unknown()).describe(\"The updated invoice object returned by Moneybird\"),\n}).passthrough();\n\nexport const moneybirdUpdateSalesInvoice = action(\"MONEYBIRD_UPDATE_SALES_INVOICE\", {\n slug: \"moneybird-update-sales-invoice\",\n name: \"Update Sales Invoice\",\n description: \"Tool to update an existing sales invoice by ID. Use when modifying invoice header or line items.\",\n input: MoneybirdUpdateSalesInvoiceInput,\n output: MoneybirdUpdateSalesInvoiceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-sales-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-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 MoneybirdUpdateSalesInvoiceInput = z.object({\n sales_invoice: z.object({\n currency: z.string().describe(\"ISO currency code, e.g., 'EUR'\").optional(),\n discount: z.number().describe(\"Discount percent (>= 0)\").optional(),\n reference: z.string().describe(\"Invoice reference string\").optional(),\n contact_id: z.number().int().describe(\"Valid contact ID to set\").optional(),\n workflow_id: z.number().int().describe(\"Workflow ID to apply\").optional(),\n invoice_date: z.string().describe(\"Invoice date (YYYY-MM-DD)\").optional(),\n time_entry_ids: z.array(z.number().int()).describe(\"List of time entry IDs to attach\").optional(),\n update_contact: z.boolean().describe(\"If true, sync contact fields from invoice\").optional(),\n contact_person_id: z.number().int().describe(\"Valid contact person ID to set\").optional(),\n document_style_id: z.number().int().describe(\"Document style ID to apply\").optional(),\n details_attributes: z.array(z.object({\n id: z.number().int().describe(\"Existing detail record ID\").optional(),\n price: z.number().describe(\"Unit price (decimal)\").optional(),\n amount: z.string().describe(\"Quantity string, e.g., '1 x'\").optional(),\n period: z.string().describe(\"Date range for the line, e.g., '20250101..20250131' or presets.\").optional(),\n _destroy: z.boolean().describe(\"Set true to delete this line item\").optional(),\n trip_ids: z.array(z.number().int()).describe(\"List of trip IDs\").optional(),\n row_order: z.number().int().describe(\"Order index of this line item\").optional(),\n product_id: z.number().int().describe(\"Valid product ID\").optional(),\n project_id: z.number().int().describe(\"Valid project ID\").optional(),\n description: z.string().describe(\"Line item description\").optional(),\n tax_rate_id: z.number().int().describe(\"Valid tax rate ID\").optional(),\n time_entry_ids: z.array(z.number().int()).describe(\"List of time entry IDs\").optional(),\n ledger_account_id: z.number().int().describe(\"Valid ledger account ID\").optional(),\n automated_tax_enabled: z.boolean().describe(\"Enable automated tax calculation for this line\").optional(),\n}).passthrough().describe(\"Attributes to partially update a single line item on the invoice.\\nProvide only fields to change. Use `destroy`=true to remove this line.\")).describe(\"List of line items to update\").optional(),\n first_due_interval: z.number().int().describe(\"Days until due date\").optional(),\n payment_conditions: z.string().describe(\"Custom payment conditions text\").optional(),\n invoice_sequence_id: z.string().describe(\"Invoice sequence ID to set\").optional(),\n prices_are_incl_tax: z.boolean().describe(\"True if prices include tax\").optional(),\n original_estimate_id: z.number().int().describe(\"Link to an existing estimate ID\").optional(),\n custom_fields_attributes: z.array(z.object({\n id: z.number().int().describe(\"Custom field ID\"),\n value: z.string().describe(\"Value for the custom field\"),\n}).passthrough().describe(\"Pair of custom field ID and its new value.\")).describe(\"List of custom fields to update\").optional(),\n remove_invoice_sequence_id: z.boolean().describe(\"Unset the sequence ID when true\").optional(),\n}).describe(\"Fields to update on the invoice\"),\n sales_invoice_id: z.string().describe(\"ID of the sales invoice to update\"),\n administration_id: z.number().int().describe(\"Administration ID in Moneybird URL path\"),\n});\nexport const MoneybirdUpdateSalesInvoiceOutput = z.object({\n sales_invoice: z.record(z.string(), z.unknown()).describe(\"The updated invoice object returned by Moneybird\"),\n}).passthrough();\n\nexport const moneybirdUpdateSalesInvoice: AppAction<\n typeof MoneybirdUpdateSalesInvoiceInput,\n typeof MoneybirdUpdateSalesInvoiceOutput,\n typeof moneybird.credential\n> = action(\"MONEYBIRD_UPDATE_SALES_INVOICE\", {\n slug: \"moneybird-update-sales-invoice\",\n name: \"Update Sales Invoice\",\n description: \"Tool to update an existing sales invoice by ID. Use when modifying invoice header or line items.\",\n input: MoneybirdUpdateSalesInvoiceInput,\n output: MoneybirdUpdateSalesInvoiceOutput,\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,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACxE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACxF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACpF,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACrC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;GACxG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;GAC7E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;GAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;GACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;GACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;GACrE,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;GACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACjF,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxN,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC9E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAChF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5F,0BAA0BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;GAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5H,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACzE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACxF,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,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/update-sales-invoice.d.ts
|
|
@@ -46,50 +48,7 @@ declare const MoneybirdUpdateSalesInvoiceInput: z.ZodObject<{
|
|
|
46
48
|
declare const MoneybirdUpdateSalesInvoiceOutput: z.ZodObject<{
|
|
47
49
|
sales_invoice: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const moneybirdUpdateSalesInvoice:
|
|
50
|
-
sales_invoice: {
|
|
51
|
-
currency?: string | undefined;
|
|
52
|
-
discount?: number | undefined;
|
|
53
|
-
reference?: string | undefined;
|
|
54
|
-
contact_id?: number | undefined;
|
|
55
|
-
workflow_id?: number | undefined;
|
|
56
|
-
invoice_date?: string | undefined;
|
|
57
|
-
time_entry_ids?: number[] | undefined;
|
|
58
|
-
update_contact?: boolean | undefined;
|
|
59
|
-
contact_person_id?: number | undefined;
|
|
60
|
-
document_style_id?: number | undefined;
|
|
61
|
-
details_attributes?: {
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
id?: number | undefined;
|
|
64
|
-
price?: number | undefined;
|
|
65
|
-
amount?: string | undefined;
|
|
66
|
-
period?: string | undefined;
|
|
67
|
-
_destroy?: boolean | undefined;
|
|
68
|
-
trip_ids?: number[] | undefined;
|
|
69
|
-
row_order?: number | undefined;
|
|
70
|
-
product_id?: number | undefined;
|
|
71
|
-
project_id?: number | undefined;
|
|
72
|
-
description?: string | undefined;
|
|
73
|
-
tax_rate_id?: number | undefined;
|
|
74
|
-
time_entry_ids?: number[] | undefined;
|
|
75
|
-
ledger_account_id?: number | undefined;
|
|
76
|
-
automated_tax_enabled?: boolean | undefined;
|
|
77
|
-
}[] | undefined;
|
|
78
|
-
first_due_interval?: number | undefined;
|
|
79
|
-
payment_conditions?: string | undefined;
|
|
80
|
-
invoice_sequence_id?: string | undefined;
|
|
81
|
-
prices_are_incl_tax?: boolean | undefined;
|
|
82
|
-
original_estimate_id?: number | undefined;
|
|
83
|
-
custom_fields_attributes?: {
|
|
84
|
-
[x: string]: unknown;
|
|
85
|
-
id: number;
|
|
86
|
-
value: string;
|
|
87
|
-
}[] | undefined;
|
|
88
|
-
remove_invoice_sequence_id?: boolean | undefined;
|
|
89
|
-
};
|
|
90
|
-
sales_invoice_id: string;
|
|
91
|
-
administration_id: number;
|
|
92
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const moneybirdUpdateSalesInvoice: AppAction<typeof MoneybirdUpdateSalesInvoiceInput, typeof MoneybirdUpdateSalesInvoiceOutput, typeof moneybird.credential>;
|
|
93
52
|
//#endregion
|
|
94
53
|
export { moneybirdUpdateSalesInvoice };
|
|
95
54
|
//# sourceMappingURL=update-sales-invoice.d.cts.map
|