@keystrokehq/moneybird 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-note-to-contact.cjs +4 -4
- package/dist/actions/add-note-to-contact.cjs.map +1 -1
- package/dist/actions/add-note-to-contact.d.cts +34 -3
- package/dist/actions/add-note-to-contact.d.cts.map +1 -1
- package/dist/actions/add-note-to-contact.d.mts +34 -3
- package/dist/actions/add-note-to-contact.d.mts.map +1 -1
- package/dist/actions/add-note-to-contact.mjs +4 -4
- package/dist/actions/add-note-to-contact.mjs.map +1 -1
- package/dist/actions/archive-contact.cjs +1 -1
- package/dist/actions/archive-contact.cjs.map +1 -1
- package/dist/actions/archive-contact.d.cts +9 -3
- package/dist/actions/archive-contact.d.cts.map +1 -1
- package/dist/actions/archive-contact.d.mts +9 -3
- package/dist/actions/archive-contact.d.mts.map +1 -1
- package/dist/actions/archive-contact.mjs +1 -1
- package/dist/actions/archive-contact.mjs.map +1 -1
- package/dist/actions/create-contact-person.cjs +8 -8
- package/dist/actions/create-contact-person.cjs.map +1 -1
- package/dist/actions/create-contact-person.d.cts +34 -3
- package/dist/actions/create-contact-person.d.cts.map +1 -1
- package/dist/actions/create-contact-person.d.mts +34 -3
- package/dist/actions/create-contact-person.d.mts.map +1 -1
- package/dist/actions/create-contact-person.mjs +8 -8
- package/dist/actions/create-contact-person.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +6 -6
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +82 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +82 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +6 -6
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-sales-invoice.cjs +14 -14
- package/dist/actions/create-sales-invoice.cjs.map +1 -1
- package/dist/actions/create-sales-invoice.d.cts +97 -3
- package/dist/actions/create-sales-invoice.d.cts.map +1 -1
- package/dist/actions/create-sales-invoice.d.mts +97 -3
- package/dist/actions/create-sales-invoice.d.mts.map +1 -1
- package/dist/actions/create-sales-invoice.mjs +14 -14
- package/dist/actions/create-sales-invoice.mjs.map +1 -1
- package/dist/actions/delete-contact-note.cjs +1 -1
- package/dist/actions/delete-contact-note.cjs.map +1 -1
- package/dist/actions/delete-contact-note.d.cts +11 -3
- package/dist/actions/delete-contact-note.d.cts.map +1 -1
- package/dist/actions/delete-contact-note.d.mts +11 -3
- package/dist/actions/delete-contact-note.d.mts.map +1 -1
- package/dist/actions/delete-contact-note.mjs +1 -1
- package/dist/actions/delete-contact-note.mjs.map +1 -1
- package/dist/actions/delete-contact-person.cjs +1 -1
- package/dist/actions/delete-contact-person.cjs.map +1 -1
- package/dist/actions/delete-contact-person.d.cts +11 -3
- package/dist/actions/delete-contact-person.d.cts.map +1 -1
- package/dist/actions/delete-contact-person.d.mts +11 -3
- package/dist/actions/delete-contact-person.d.mts.map +1 -1
- package/dist/actions/delete-contact-person.mjs +1 -1
- package/dist/actions/delete-contact-person.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +9 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +9 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/filter-contacts.cjs.map +1 -1
- package/dist/actions/filter-contacts.d.cts +19 -3
- package/dist/actions/filter-contacts.d.cts.map +1 -1
- package/dist/actions/filter-contacts.d.mts +19 -3
- package/dist/actions/filter-contacts.d.mts.map +1 -1
- package/dist/actions/filter-contacts.mjs.map +1 -1
- package/dist/actions/get-additional-charges.cjs.map +1 -1
- package/dist/actions/get-additional-charges.d.cts +11 -3
- package/dist/actions/get-additional-charges.d.cts.map +1 -1
- package/dist/actions/get-additional-charges.d.mts +11 -3
- package/dist/actions/get-additional-charges.d.mts.map +1 -1
- package/dist/actions/get-additional-charges.mjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.cjs +38 -38
- package/dist/actions/get-contact-by-customer-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.cts +101 -3
- package/dist/actions/get-contact-by-customer-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.d.mts +101 -3
- package/dist/actions/get-contact-by-customer-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-customer-id.mjs +38 -38
- package/dist/actions/get-contact-by-customer-id.mjs.map +1 -1
- package/dist/actions/get-contact-person.cjs +8 -8
- package/dist/actions/get-contact-person.cjs.map +1 -1
- package/dist/actions/get-contact-person.d.cts +21 -3
- package/dist/actions/get-contact-person.d.cts.map +1 -1
- package/dist/actions/get-contact-person.d.mts +21 -3
- package/dist/actions/get-contact-person.d.mts.map +1 -1
- package/dist/actions/get-contact-person.mjs +8 -8
- package/dist/actions/get-contact-person.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -1
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +13 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +13 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -1
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-sales-invoice.cjs +1 -1
- package/dist/actions/get-sales-invoice.cjs.map +1 -1
- package/dist/actions/get-sales-invoice.d.cts +11 -3
- package/dist/actions/get-sales-invoice.d.cts.map +1 -1
- package/dist/actions/get-sales-invoice.d.mts +11 -3
- package/dist/actions/get-sales-invoice.d.mts.map +1 -1
- package/dist/actions/get-sales-invoice.mjs +1 -1
- package/dist/actions/get-sales-invoice.mjs.map +1 -1
- package/dist/actions/list-administrations.cjs.map +1 -1
- package/dist/actions/list-administrations.d.cts +3 -3
- package/dist/actions/list-administrations.d.cts.map +1 -1
- package/dist/actions/list-administrations.d.mts +3 -3
- package/dist/actions/list-administrations.d.mts.map +1 -1
- package/dist/actions/list-administrations.mjs.map +1 -1
- package/dist/actions/list-contacts-synchronization.cjs.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.cts +11 -3
- package/dist/actions/list-contacts-synchronization.d.cts.map +1 -1
- package/dist/actions/list-contacts-synchronization.d.mts +11 -3
- package/dist/actions/list-contacts-synchronization.d.mts.map +1 -1
- package/dist/actions/list-contacts-synchronization.mjs.map +1 -1
- package/dist/actions/list-sales-invoices.cjs.map +1 -1
- package/dist/actions/list-sales-invoices.d.cts +13 -3
- package/dist/actions/list-sales-invoices.d.cts.map +1 -1
- package/dist/actions/list-sales-invoices.d.mts +13 -3
- package/dist/actions/list-sales-invoices.d.mts.map +1 -1
- package/dist/actions/list-sales-invoices.mjs.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.cjs +1 -1
- package/dist/actions/request-contact-payments-mandate-url.cjs.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.cts +13 -3
- package/dist/actions/request-contact-payments-mandate-url.d.cts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.d.mts +13 -3
- package/dist/actions/request-contact-payments-mandate-url.d.mts.map +1 -1
- package/dist/actions/request-contact-payments-mandate-url.mjs +1 -1
- package/dist/actions/request-contact-payments-mandate-url.mjs.map +1 -1
- package/dist/actions/update-contact-person.cjs +9 -9
- package/dist/actions/update-contact-person.cjs.map +1 -1
- package/dist/actions/update-contact-person.d.cts +33 -3
- package/dist/actions/update-contact-person.d.cts.map +1 -1
- package/dist/actions/update-contact-person.d.mts +33 -3
- package/dist/actions/update-contact-person.d.mts.map +1 -1
- package/dist/actions/update-contact-person.mjs +9 -9
- package/dist/actions/update-contact-person.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +13 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +13 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-sales-invoice.cjs +3 -3
- package/dist/actions/update-sales-invoice.cjs.map +1 -1
- package/dist/actions/update-sales-invoice.d.cts +89 -3
- package/dist/actions/update-sales-invoice.d.cts.map +1 -1
- package/dist/actions/update-sales-invoice.d.mts +89 -3
- package/dist/actions/update-sales-invoice.d.mts.map +1 -1
- package/dist/actions/update-sales-invoice.mjs +3 -3
- package/dist/actions/update-sales-invoice.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,88 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-contact.d.ts
|
|
4
|
-
declare const MoneybirdCreateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdCreateContactInput: z.ZodObject<{
|
|
5
|
+
city: z.ZodOptional<z.ZodString>;
|
|
6
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
7
|
+
country: z.ZodOptional<z.ZodString>;
|
|
8
|
+
zipcode: z.ZodOptional<z.ZodString>;
|
|
9
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
10
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
11
|
+
lastname: z.ZodOptional<z.ZodString>;
|
|
12
|
+
sepa_bic: z.ZodOptional<z.ZodString>;
|
|
13
|
+
firstname: z.ZodOptional<z.ZodString>;
|
|
14
|
+
sepa_iban: z.ZodOptional<z.ZodString>;
|
|
15
|
+
tax_number: z.ZodOptional<z.ZodString>;
|
|
16
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
sepa_active: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
bank_account: z.ZodOptional<z.ZodString>;
|
|
19
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
si_identifier: z.ZodOptional<z.ZodString>;
|
|
21
|
+
delivery_method: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
Email: "Email";
|
|
23
|
+
Simplerinvoicing: "Simplerinvoicing";
|
|
24
|
+
Peppol: "Peppol";
|
|
25
|
+
Manual: "Manual";
|
|
26
|
+
Post: "Post";
|
|
27
|
+
}>>;
|
|
28
|
+
sepa_mandate_id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
administration_id: z.ZodNumber;
|
|
30
|
+
sepa_mandate_date: z.ZodOptional<z.ZodString>;
|
|
31
|
+
sepa_sequence_type: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
RCUR: "RCUR";
|
|
33
|
+
FRST: "FRST";
|
|
34
|
+
OOFF: "OOFF";
|
|
35
|
+
FNAL: "FNAL";
|
|
36
|
+
}>>;
|
|
37
|
+
si_identifier_type: z.ZodOptional<z.ZodString>;
|
|
38
|
+
chamber_of_commerce: z.ZodOptional<z.ZodString>;
|
|
39
|
+
invoice_workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
estimate_workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
send_invoices_to_email: z.ZodOptional<z.ZodString>;
|
|
42
|
+
sepa_iban_account_name: z.ZodOptional<z.ZodString>;
|
|
43
|
+
send_estimates_to_email: z.ZodOptional<z.ZodString>;
|
|
44
|
+
custom_fields_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const MoneybirdCreateContactOutput: z.ZodObject<{
|
|
47
|
+
id: z.ZodNullable<z.ZodString>;
|
|
48
|
+
lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
51
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
52
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
}, z.core.$loose>;
|
|
55
|
+
declare const moneybirdCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
|
+
administration_id: number;
|
|
57
|
+
city?: string | undefined;
|
|
58
|
+
phone?: string | undefined;
|
|
59
|
+
country?: string | undefined;
|
|
60
|
+
zipcode?: string | undefined;
|
|
61
|
+
address1?: string | undefined;
|
|
62
|
+
address2?: string | undefined;
|
|
63
|
+
lastname?: string | undefined;
|
|
64
|
+
sepa_bic?: string | undefined;
|
|
65
|
+
firstname?: string | undefined;
|
|
66
|
+
sepa_iban?: string | undefined;
|
|
67
|
+
tax_number?: string | undefined;
|
|
68
|
+
customer_id?: string | undefined;
|
|
69
|
+
sepa_active?: boolean | undefined;
|
|
70
|
+
bank_account?: string | undefined;
|
|
71
|
+
company_name?: string | undefined;
|
|
72
|
+
si_identifier?: string | undefined;
|
|
73
|
+
delivery_method?: "Email" | "Simplerinvoicing" | "Peppol" | "Manual" | "Post" | undefined;
|
|
74
|
+
sepa_mandate_id?: string | undefined;
|
|
75
|
+
sepa_mandate_date?: string | undefined;
|
|
76
|
+
sepa_sequence_type?: "RCUR" | "FRST" | "OOFF" | "FNAL" | undefined;
|
|
77
|
+
si_identifier_type?: string | undefined;
|
|
78
|
+
chamber_of_commerce?: string | undefined;
|
|
79
|
+
invoice_workflow_id?: number | undefined;
|
|
80
|
+
estimate_workflow_id?: number | undefined;
|
|
81
|
+
send_invoices_to_email?: string | undefined;
|
|
82
|
+
sepa_iban_account_name?: string | undefined;
|
|
83
|
+
send_estimates_to_email?: string | undefined;
|
|
84
|
+
custom_fields_attributes?: Record<string, unknown> | undefined;
|
|
85
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
86
|
//#endregion
|
|
8
87
|
export { moneybirdCreateContact };
|
|
9
88
|
//# sourceMappingURL=create-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAMjC,MAAA;AAAA"}
|
|
@@ -1,9 +1,88 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-contact.d.ts
|
|
4
|
-
declare const MoneybirdCreateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdCreateContactInput: z.ZodObject<{
|
|
5
|
+
city: z.ZodOptional<z.ZodString>;
|
|
6
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
7
|
+
country: z.ZodOptional<z.ZodString>;
|
|
8
|
+
zipcode: z.ZodOptional<z.ZodString>;
|
|
9
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
10
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
11
|
+
lastname: z.ZodOptional<z.ZodString>;
|
|
12
|
+
sepa_bic: z.ZodOptional<z.ZodString>;
|
|
13
|
+
firstname: z.ZodOptional<z.ZodString>;
|
|
14
|
+
sepa_iban: z.ZodOptional<z.ZodString>;
|
|
15
|
+
tax_number: z.ZodOptional<z.ZodString>;
|
|
16
|
+
customer_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
sepa_active: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
bank_account: z.ZodOptional<z.ZodString>;
|
|
19
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
si_identifier: z.ZodOptional<z.ZodString>;
|
|
21
|
+
delivery_method: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
Email: "Email";
|
|
23
|
+
Simplerinvoicing: "Simplerinvoicing";
|
|
24
|
+
Peppol: "Peppol";
|
|
25
|
+
Manual: "Manual";
|
|
26
|
+
Post: "Post";
|
|
27
|
+
}>>;
|
|
28
|
+
sepa_mandate_id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
administration_id: z.ZodNumber;
|
|
30
|
+
sepa_mandate_date: z.ZodOptional<z.ZodString>;
|
|
31
|
+
sepa_sequence_type: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
RCUR: "RCUR";
|
|
33
|
+
FRST: "FRST";
|
|
34
|
+
OOFF: "OOFF";
|
|
35
|
+
FNAL: "FNAL";
|
|
36
|
+
}>>;
|
|
37
|
+
si_identifier_type: z.ZodOptional<z.ZodString>;
|
|
38
|
+
chamber_of_commerce: z.ZodOptional<z.ZodString>;
|
|
39
|
+
invoice_workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
estimate_workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
send_invoices_to_email: z.ZodOptional<z.ZodString>;
|
|
42
|
+
sepa_iban_account_name: z.ZodOptional<z.ZodString>;
|
|
43
|
+
send_estimates_to_email: z.ZodOptional<z.ZodString>;
|
|
44
|
+
custom_fields_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const MoneybirdCreateContactOutput: z.ZodObject<{
|
|
47
|
+
id: z.ZodNullable<z.ZodString>;
|
|
48
|
+
lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
51
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
52
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
54
|
+
}, z.core.$loose>;
|
|
55
|
+
declare const moneybirdCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
|
+
administration_id: number;
|
|
57
|
+
city?: string | undefined;
|
|
58
|
+
phone?: string | undefined;
|
|
59
|
+
country?: string | undefined;
|
|
60
|
+
zipcode?: string | undefined;
|
|
61
|
+
address1?: string | undefined;
|
|
62
|
+
address2?: string | undefined;
|
|
63
|
+
lastname?: string | undefined;
|
|
64
|
+
sepa_bic?: string | undefined;
|
|
65
|
+
firstname?: string | undefined;
|
|
66
|
+
sepa_iban?: string | undefined;
|
|
67
|
+
tax_number?: string | undefined;
|
|
68
|
+
customer_id?: string | undefined;
|
|
69
|
+
sepa_active?: boolean | undefined;
|
|
70
|
+
bank_account?: string | undefined;
|
|
71
|
+
company_name?: string | undefined;
|
|
72
|
+
si_identifier?: string | undefined;
|
|
73
|
+
delivery_method?: "Email" | "Simplerinvoicing" | "Peppol" | "Manual" | "Post" | undefined;
|
|
74
|
+
sepa_mandate_id?: string | undefined;
|
|
75
|
+
sepa_mandate_date?: string | undefined;
|
|
76
|
+
sepa_sequence_type?: "RCUR" | "FRST" | "OOFF" | "FNAL" | undefined;
|
|
77
|
+
si_identifier_type?: string | undefined;
|
|
78
|
+
chamber_of_commerce?: string | undefined;
|
|
79
|
+
invoice_workflow_id?: number | undefined;
|
|
80
|
+
estimate_workflow_id?: number | undefined;
|
|
81
|
+
send_invoices_to_email?: string | undefined;
|
|
82
|
+
sepa_iban_account_name?: string | undefined;
|
|
83
|
+
send_estimates_to_email?: string | undefined;
|
|
84
|
+
custom_fields_attributes?: Record<string, unknown> | undefined;
|
|
85
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
86
|
//#endregion
|
|
8
87
|
export { moneybirdCreateContact };
|
|
9
88
|
//# sourceMappingURL=create-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAMjC,MAAA;AAAA"}
|
|
@@ -44,17 +44,17 @@ const moneybirdCreateContact = action("MONEYBIRD_CREATE_CONTACT", {
|
|
|
44
44
|
send_invoices_to_email: z.string().describe("Comma-separated emails to send invoices to").optional(),
|
|
45
45
|
sepa_iban_account_name: z.string().describe("Account holder name for SEPA").optional(),
|
|
46
46
|
send_estimates_to_email: z.string().describe("Comma-separated emails to send estimates to").optional(),
|
|
47
|
-
custom_fields_attributes: z.
|
|
47
|
+
custom_fields_attributes: z.record(z.string(), z.unknown()).describe("Custom fields as dict of {index:{id, value}}").optional()
|
|
48
48
|
}),
|
|
49
49
|
output: z.object({
|
|
50
|
-
id: z.string().describe("ID of the created contact"),
|
|
50
|
+
id: z.string().describe("ID of the created contact").nullable(),
|
|
51
51
|
lastname: z.string().describe("Last name").nullable().optional(),
|
|
52
52
|
firstname: z.string().describe("First name").nullable().optional(),
|
|
53
|
-
created_at: z.string().describe("Creation timestamp"),
|
|
54
|
-
updated_at: z.string().describe("Last update timestamp"),
|
|
53
|
+
created_at: z.string().describe("Creation timestamp").nullable(),
|
|
54
|
+
updated_at: z.string().describe("Last update timestamp").nullable(),
|
|
55
55
|
company_name: z.string().describe("Company name").nullable().optional(),
|
|
56
|
-
administration_id: z.number().int().describe("ID of the administration")
|
|
57
|
-
})
|
|
56
|
+
administration_id: z.number().int().describe("ID of the administration").nullable()
|
|
57
|
+
}).passthrough()
|
|
58
58
|
});
|
|
59
59
|
//#endregion
|
|
60
60
|
export { moneybirdCreateContact };
|
|
@@ -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
|
|
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":";;AA6CA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7CyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,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AoB,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,YAOO;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const MoneybirdCreateSalesInvoiceInput = zod.z.object({
|
|
|
22
22
|
description: zod.z.string().describe("Description of the item"),
|
|
23
23
|
tax_rate_id: zod.z.number().int().describe("ID of a valid tax rate").optional(),
|
|
24
24
|
ledger_account_id: zod.z.number().int().describe("ID of a valid ledger account").optional()
|
|
25
|
-
}).describe("Sales invoice line item.")).describe("List of line items, at least one item is required"),
|
|
25
|
+
}).passthrough().describe("Sales invoice line item.")).describe("List of line items, at least one item is required"),
|
|
26
26
|
first_due_interval: zod.z.number().int().describe("Days until due date if not specified").optional(),
|
|
27
27
|
payment_conditions: zod.z.string().describe("Payment conditions text").optional(),
|
|
28
28
|
invoice_sequence_id: zod.z.string().describe("Sequence ID for the invoice").optional(),
|
|
@@ -32,7 +32,7 @@ const MoneybirdCreateSalesInvoiceInput = zod.z.object({
|
|
|
32
32
|
custom_fields_attributes: zod.z.array(zod.z.object({
|
|
33
33
|
id: zod.z.number().int().describe("ID of the custom field"),
|
|
34
34
|
value: zod.z.string().describe("Value for the custom field")
|
|
35
|
-
})).describe("List of custom field values").optional()
|
|
35
|
+
}).passthrough()).describe("List of custom field values").optional()
|
|
36
36
|
}).describe("Sales invoice data to create"),
|
|
37
37
|
administration_id: zod.z.number().int().describe("Numeric administration ID, part of the Moneybird URL path")
|
|
38
38
|
}).describe("Request model for creating a sales invoice.");
|
|
@@ -43,25 +43,25 @@ const MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema = zod.z.object({
|
|
|
43
43
|
row_order: zod.z.number().int().describe("Order of this line in the invoice").nullable().optional(),
|
|
44
44
|
product_id: zod.z.number().int().describe("ID of a product").nullable().optional(),
|
|
45
45
|
project_id: zod.z.number().int().describe("ID of a project").nullable().optional(),
|
|
46
|
-
description: zod.z.string().describe("Description of the item"),
|
|
46
|
+
description: zod.z.string().describe("Description of the item").nullable(),
|
|
47
47
|
tax_rate_id: zod.z.number().int().describe("ID of a valid tax rate").nullable().optional(),
|
|
48
48
|
ledger_account_id: zod.z.number().int().describe("ID of a valid ledger account").nullable().optional()
|
|
49
|
-
}).describe("Sales invoice line item.");
|
|
49
|
+
}).passthrough().describe("Sales invoice line item.");
|
|
50
50
|
const MoneybirdCreateSalesInvoiceOutput = zod.z.object({
|
|
51
|
-
id: zod.z.string().describe("Unique ID of the created sales invoice"),
|
|
52
|
-
state: zod.z.string().describe("State of the invoice, e.g., 'draft' or 'open'"),
|
|
51
|
+
id: zod.z.string().describe("Unique ID of the created sales invoice").nullable(),
|
|
52
|
+
state: zod.z.string().describe("State of the invoice, e.g., 'draft' or 'open'").nullable(),
|
|
53
53
|
details: zod.z.array(MoneybirdCreateSalesInvoice_SalesInvoiceDetailSchema).describe("List of line items created"),
|
|
54
|
-
currency: zod.z.string().describe("Currency code used"),
|
|
54
|
+
currency: zod.z.string().describe("Currency code used").nullable(),
|
|
55
55
|
due_date: zod.z.string().describe("Due date of the invoice").nullable().optional(),
|
|
56
|
-
contact_id: zod.z.string().describe("Contact ID associated with the invoice"),
|
|
57
|
-
created_at: zod.z.string().describe("Timestamp when the invoice was created"),
|
|
56
|
+
contact_id: zod.z.string().describe("Contact ID associated with the invoice").nullable(),
|
|
57
|
+
created_at: zod.z.string().describe("Timestamp when the invoice was created").nullable(),
|
|
58
58
|
invoice_id: zod.z.string().describe("Invoice number if assigned").nullable().optional(),
|
|
59
|
-
updated_at: zod.z.string().describe("Timestamp when the invoice was last updated"),
|
|
59
|
+
updated_at: zod.z.string().describe("Timestamp when the invoice was last updated").nullable(),
|
|
60
60
|
invoice_date: zod.z.string().describe("Date of the invoice").nullable().optional(),
|
|
61
|
-
administration_id: zod.z.number().int().describe("Administration ID of the invoice"),
|
|
62
|
-
total_price_excl_tax: zod.z.string().describe("Total price excluding tax"),
|
|
63
|
-
total_price_incl_tax: zod.z.string().describe("Total price including tax")
|
|
64
|
-
}).describe("Response model for a created sales invoice. Contains key fields returned by the API.");
|
|
61
|
+
administration_id: zod.z.number().int().describe("Administration ID of the invoice").nullable(),
|
|
62
|
+
total_price_excl_tax: zod.z.string().describe("Total price excluding tax").nullable(),
|
|
63
|
+
total_price_incl_tax: zod.z.string().describe("Total price including tax").nullable()
|
|
64
|
+
}).passthrough().describe("Response model for a created sales invoice. Contains key fields returned by the API.");
|
|
65
65
|
const moneybirdCreateSalesInvoice = require_action.action("MONEYBIRD_CREATE_SALES_INVOICE", {
|
|
66
66
|
slug: "moneybird-create-sales-invoice",
|
|
67
67
|
name: "Create Sales Invoice",
|
|
@@ -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
|
|
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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,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,103 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-sales-invoice.d.ts
|
|
4
|
-
declare const MoneybirdCreateSalesInvoiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdCreateSalesInvoiceInput: z.ZodObject<{
|
|
5
|
+
sales_invoice: z.ZodObject<{
|
|
6
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
7
|
+
discount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
8
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
9
|
+
contact_id: z.ZodNumber;
|
|
10
|
+
workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
invoice_date: z.ZodOptional<z.ZodString>;
|
|
12
|
+
time_entry_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
13
|
+
contact_person_id: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
document_style_id: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
details_attributes: z.ZodArray<z.ZodObject<{
|
|
16
|
+
price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
17
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
18
|
+
period: z.ZodOptional<z.ZodString>;
|
|
19
|
+
row_order: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
product_id: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
project_id: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
description: z.ZodString;
|
|
23
|
+
tax_rate_id: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
ledger_account_id: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
first_due_interval: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
payment_conditions: z.ZodOptional<z.ZodString>;
|
|
28
|
+
invoice_sequence_id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
prices_are_incl_tax: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
from_payment_request: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
original_estimate_id: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
custom_fields_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodNumber;
|
|
34
|
+
value: z.ZodString;
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
administration_id: z.ZodNumber;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const MoneybirdCreateSalesInvoiceOutput: z.ZodObject<{
|
|
40
|
+
id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
state: z.ZodNullable<z.ZodString>;
|
|
42
|
+
details: z.ZodArray<z.ZodObject<{
|
|
43
|
+
price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
44
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
row_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
+
description: z.ZodNullable<z.ZodString>;
|
|
50
|
+
tax_rate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
ledger_account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
+
}, z.core.$loose>>;
|
|
53
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
54
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
contact_id: z.ZodNullable<z.ZodString>;
|
|
56
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
57
|
+
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
59
|
+
invoice_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
61
|
+
total_price_excl_tax: z.ZodNullable<z.ZodString>;
|
|
62
|
+
total_price_incl_tax: z.ZodNullable<z.ZodString>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
|
+
declare const moneybirdCreateSalesInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
101
|
//#endregion
|
|
8
102
|
export { moneybirdCreateSalesInvoice };
|
|
9
103
|
//# 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":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"create-sales-invoice.d.cts","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,103 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-sales-invoice.d.ts
|
|
4
|
-
declare const MoneybirdCreateSalesInvoiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoneybirdCreateSalesInvoiceInput: z.ZodObject<{
|
|
5
|
+
sales_invoice: z.ZodObject<{
|
|
6
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
7
|
+
discount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
8
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
9
|
+
contact_id: z.ZodNumber;
|
|
10
|
+
workflow_id: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
invoice_date: z.ZodOptional<z.ZodString>;
|
|
12
|
+
time_entry_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
13
|
+
contact_person_id: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
document_style_id: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
details_attributes: z.ZodArray<z.ZodObject<{
|
|
16
|
+
price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
17
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
18
|
+
period: z.ZodOptional<z.ZodString>;
|
|
19
|
+
row_order: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
product_id: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
project_id: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
description: z.ZodString;
|
|
23
|
+
tax_rate_id: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
ledger_account_id: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
first_due_interval: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
payment_conditions: z.ZodOptional<z.ZodString>;
|
|
28
|
+
invoice_sequence_id: z.ZodOptional<z.ZodString>;
|
|
29
|
+
prices_are_incl_tax: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
from_payment_request: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
original_estimate_id: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
custom_fields_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodNumber;
|
|
34
|
+
value: z.ZodString;
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
administration_id: z.ZodNumber;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const MoneybirdCreateSalesInvoiceOutput: z.ZodObject<{
|
|
40
|
+
id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
state: z.ZodNullable<z.ZodString>;
|
|
42
|
+
details: z.ZodArray<z.ZodObject<{
|
|
43
|
+
price: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
44
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
row_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
+
description: z.ZodNullable<z.ZodString>;
|
|
50
|
+
tax_rate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
ledger_account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
+
}, z.core.$loose>>;
|
|
53
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
54
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
contact_id: z.ZodNullable<z.ZodString>;
|
|
56
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
57
|
+
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
59
|
+
invoice_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
administration_id: z.ZodNullable<z.ZodNumber>;
|
|
61
|
+
total_price_excl_tax: z.ZodNullable<z.ZodString>;
|
|
62
|
+
total_price_incl_tax: z.ZodNullable<z.ZodString>;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
|
+
declare const moneybirdCreateSalesInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
101
|
//#endregion
|
|
8
102
|
export { moneybirdCreateSalesInvoice };
|
|
9
103
|
//# 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":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"create-sales-invoice.d.mts","names":[],"sources":["../../src/actions/create-sales-invoice.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8ChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
|