@spaceinvoices/js-sdk 17.1.0 → 17.3.0
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/generated/accounting/accounting.d.cts +4 -4
- package/dist/generated/accounting/accounting.d.ts +4 -4
- package/dist/generated/expenses/expenses.d.cts +2 -0
- package/dist/generated/expenses/expenses.d.ts +2 -0
- package/dist/generated/files/files.d.cts +1 -0
- package/dist/generated/files/files.d.ts +1 -0
- package/dist/generated/model/entityInvitation.d.cts +1 -1
- package/dist/generated/model/entityInvitation.d.ts +1 -1
- package/dist/generated/model/entityInvitationPreview.d.cts +1 -1
- package/dist/generated/model/entityInvitationPreview.d.ts +1 -1
- package/dist/generated/model/entityInvitationPreviewRole.d.cts +1 -1
- package/dist/generated/model/entityInvitationPreviewRole.d.ts +1 -1
- package/dist/generated/model/entityInvitationRole.d.cts +1 -1
- package/dist/generated/model/entityInvitationRole.d.ts +1 -1
- package/dist/generated/model/entityUser.d.cts +1 -1
- package/dist/generated/model/entityUser.d.ts +1 -1
- package/dist/generated/model/entityUserRole.d.cts +1 -1
- package/dist/generated/model/entityUserRole.d.ts +1 -1
- package/dist/generated/model/entityUsersAccess.d.cts +1 -1
- package/dist/generated/model/entityUsersAccess.d.ts +1 -1
- package/dist/generated-zod/accounting/accounting.d.cts +4 -4
- package/dist/generated-zod/accounting/accounting.d.ts +4 -4
- package/dist/generated-zod/expenses/expenses.d.cts +2 -0
- package/dist/generated-zod/expenses/expenses.d.ts +2 -0
- package/dist/generated-zod/files/files.d.cts +1 -0
- package/dist/generated-zod/files/files.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -375,7 +375,7 @@ export type getPayrollParameterHistoryResponse = (getPayrollParameterHistoryResp
|
|
|
375
375
|
export declare const getGetPayrollParameterHistoryUrl: (params: GetPayrollParameterHistoryParams) => string;
|
|
376
376
|
export declare const getPayrollParameterHistory: (params: GetPayrollParameterHistoryParams, options?: RequestInit) => Promise<getPayrollParameterHistoryResponse>;
|
|
377
377
|
/**
|
|
378
|
-
*
|
|
378
|
+
* Requires accounting access (accountant or admin role, or account owner/admin). Creates an effective-dated override row for the current entity.
|
|
379
379
|
* @summary Set an entity-specific override for a payroll parameter
|
|
380
380
|
*/
|
|
381
381
|
export type setPayrollParameterOverrideResponse200 = {
|
|
@@ -625,7 +625,7 @@ export type recomputeVatReturnResponse = (recomputeVatReturnResponseSuccess | re
|
|
|
625
625
|
export declare const getRecomputeVatReturnUrl: (id: string) => string;
|
|
626
626
|
export declare const recomputeVatReturn: (id: string, options?: RequestInit) => Promise<recomputeVatReturnResponse>;
|
|
627
627
|
/**
|
|
628
|
-
* @summary Approve a draft VAT return (
|
|
628
|
+
* @summary Approve a draft VAT return (accounting access)
|
|
629
629
|
*/
|
|
630
630
|
export type approveVatReturnResponse200 = {
|
|
631
631
|
data: VatReturn;
|
|
@@ -669,7 +669,7 @@ export type approveVatReturnResponse = (approveVatReturnResponseSuccess | approv
|
|
|
669
669
|
export declare const getApproveVatReturnUrl: (id: string) => string;
|
|
670
670
|
export declare const approveVatReturn: (id: string, options?: RequestInit) => Promise<approveVatReturnResponse>;
|
|
671
671
|
/**
|
|
672
|
-
* @summary Record a VAT return as submitted to eDavki (
|
|
672
|
+
* @summary Record a VAT return as submitted to eDavki (accounting access)
|
|
673
673
|
*/
|
|
674
674
|
export type submitVatReturnResponse200 = {
|
|
675
675
|
data: VatReturn;
|
|
@@ -713,7 +713,7 @@ export type submitVatReturnResponse = (submitVatReturnResponseSuccess | submitVa
|
|
|
713
713
|
export declare const getSubmitVatReturnUrl: (id: string) => string;
|
|
714
714
|
export declare const submitVatReturn: (id: string, submitVatReturnRequest?: SubmitVatReturnRequest, options?: RequestInit) => Promise<submitVatReturnResponse>;
|
|
715
715
|
/**
|
|
716
|
-
* @summary Reopen an approved VAT return back to draft (
|
|
716
|
+
* @summary Reopen an approved VAT return back to draft (accounting access)
|
|
717
717
|
*/
|
|
718
718
|
export type reopenVatReturnResponse200 = {
|
|
719
719
|
data: VatReturn;
|
|
@@ -375,7 +375,7 @@ export type getPayrollParameterHistoryResponse = (getPayrollParameterHistoryResp
|
|
|
375
375
|
export declare const getGetPayrollParameterHistoryUrl: (params: GetPayrollParameterHistoryParams) => string;
|
|
376
376
|
export declare const getPayrollParameterHistory: (params: GetPayrollParameterHistoryParams, options?: RequestInit) => Promise<getPayrollParameterHistoryResponse>;
|
|
377
377
|
/**
|
|
378
|
-
*
|
|
378
|
+
* Requires accounting access (accountant or admin role, or account owner/admin). Creates an effective-dated override row for the current entity.
|
|
379
379
|
* @summary Set an entity-specific override for a payroll parameter
|
|
380
380
|
*/
|
|
381
381
|
export type setPayrollParameterOverrideResponse200 = {
|
|
@@ -625,7 +625,7 @@ export type recomputeVatReturnResponse = (recomputeVatReturnResponseSuccess | re
|
|
|
625
625
|
export declare const getRecomputeVatReturnUrl: (id: string) => string;
|
|
626
626
|
export declare const recomputeVatReturn: (id: string, options?: RequestInit) => Promise<recomputeVatReturnResponse>;
|
|
627
627
|
/**
|
|
628
|
-
* @summary Approve a draft VAT return (
|
|
628
|
+
* @summary Approve a draft VAT return (accounting access)
|
|
629
629
|
*/
|
|
630
630
|
export type approveVatReturnResponse200 = {
|
|
631
631
|
data: VatReturn;
|
|
@@ -669,7 +669,7 @@ export type approveVatReturnResponse = (approveVatReturnResponseSuccess | approv
|
|
|
669
669
|
export declare const getApproveVatReturnUrl: (id: string) => string;
|
|
670
670
|
export declare const approveVatReturn: (id: string, options?: RequestInit) => Promise<approveVatReturnResponse>;
|
|
671
671
|
/**
|
|
672
|
-
* @summary Record a VAT return as submitted to eDavki (
|
|
672
|
+
* @summary Record a VAT return as submitted to eDavki (accounting access)
|
|
673
673
|
*/
|
|
674
674
|
export type submitVatReturnResponse200 = {
|
|
675
675
|
data: VatReturn;
|
|
@@ -713,7 +713,7 @@ export type submitVatReturnResponse = (submitVatReturnResponseSuccess | submitVa
|
|
|
713
713
|
export declare const getSubmitVatReturnUrl: (id: string) => string;
|
|
714
714
|
export declare const submitVatReturn: (id: string, submitVatReturnRequest?: SubmitVatReturnRequest, options?: RequestInit) => Promise<submitVatReturnResponse>;
|
|
715
715
|
/**
|
|
716
|
-
* @summary Reopen an approved VAT return back to draft (
|
|
716
|
+
* @summary Reopen an approved VAT return back to draft (accounting access)
|
|
717
717
|
*/
|
|
718
718
|
export type reopenVatReturnResponse200 = {
|
|
719
719
|
data: VatReturn;
|
|
@@ -1026,6 +1026,8 @@ export type restoreExpenseResponse = (restoreExpenseResponseSuccess | restoreExp
|
|
|
1026
1026
|
export declare const getRestoreExpenseUrl: (id: string) => string;
|
|
1027
1027
|
export declare const restoreExpense: (id: string, options?: RequestInit) => Promise<restoreExpenseResponse>;
|
|
1028
1028
|
/**
|
|
1029
|
+
* Attach a file to an expense.
|
|
1030
|
+
Accepted file types: PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
1029
1031
|
* @summary Upload expense attachment
|
|
1030
1032
|
*/
|
|
1031
1033
|
export type uploadExpenseAttachmentResponse201 = {
|
|
@@ -1026,6 +1026,8 @@ export type restoreExpenseResponse = (restoreExpenseResponseSuccess | restoreExp
|
|
|
1026
1026
|
export declare const getRestoreExpenseUrl: (id: string) => string;
|
|
1027
1027
|
export declare const restoreExpense: (id: string, options?: RequestInit) => Promise<restoreExpenseResponse>;
|
|
1028
1028
|
/**
|
|
1029
|
+
* Attach a file to an expense.
|
|
1030
|
+
Accepted file types: PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
1029
1031
|
* @summary Upload expense attachment
|
|
1030
1032
|
*/
|
|
1031
1033
|
export type uploadExpenseAttachmentResponse201 = {
|
|
@@ -9,6 +9,7 @@ import type { Error, FileMetadata, GetFiles200, GetFilesParams, UploadFileBody,
|
|
|
9
9
|
/**
|
|
10
10
|
* Upload a logo, signature, or attachment with explicit file metadata. Set category to logo for logo uploads. The x-entity-id header selects the entity, and business_unit_id can assign a logo to a business unit.
|
|
11
11
|
Files are automatically optimized and stored in entity-specific folders. Entity-level logos and signatures replace the existing file in the same category, while attachments can be associated with specific documents.
|
|
12
|
+
Accepted file types: logos and signatures accept PNG, JPEG, WebP or GIF; attachments accept PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
12
13
|
* @summary Upload a file
|
|
13
14
|
*/
|
|
14
15
|
export type uploadFileResponse201 = {
|
|
@@ -9,6 +9,7 @@ import type { Error, FileMetadata, GetFiles200, GetFilesParams, UploadFileBody,
|
|
|
9
9
|
/**
|
|
10
10
|
* Upload a logo, signature, or attachment with explicit file metadata. Set category to logo for logo uploads. The x-entity-id header selects the entity, and business_unit_id can assign a logo to a business unit.
|
|
11
11
|
Files are automatically optimized and stored in entity-specific folders. Entity-level logos and signatures replace the existing file in the same category, while attachments can be associated with specific documents.
|
|
12
|
+
Accepted file types: logos and signatures accept PNG, JPEG, WebP or GIF; attachments accept PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
12
13
|
* @summary Upload a file
|
|
13
14
|
*/
|
|
14
15
|
export type uploadFileResponse201 = {
|
|
@@ -14,7 +14,7 @@ export interface EntityInvitation {
|
|
|
14
14
|
entity_id: string;
|
|
15
15
|
/** Invitee email */
|
|
16
16
|
email: string;
|
|
17
|
-
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
17
|
+
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
18
18
|
role: EntityInvitationRole;
|
|
19
19
|
/** ID of user who sent the invitation */
|
|
20
20
|
invited_by_user_id: string;
|
|
@@ -14,7 +14,7 @@ export interface EntityInvitation {
|
|
|
14
14
|
entity_id: string;
|
|
15
15
|
/** Invitee email */
|
|
16
16
|
email: string;
|
|
17
|
-
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
17
|
+
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
18
18
|
role: EntityInvitationRole;
|
|
19
19
|
/** ID of user who sent the invitation */
|
|
20
20
|
invited_by_user_id: string;
|
|
@@ -11,7 +11,7 @@ export interface EntityInvitationPreview {
|
|
|
11
11
|
email: string;
|
|
12
12
|
entity_name: string;
|
|
13
13
|
existing_user: boolean;
|
|
14
|
-
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
14
|
+
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
15
15
|
role: EntityInvitationPreviewRole;
|
|
16
16
|
status: EntityInvitationPreviewStatus;
|
|
17
17
|
expires_at: string;
|
|
@@ -11,7 +11,7 @@ export interface EntityInvitationPreview {
|
|
|
11
11
|
email: string;
|
|
12
12
|
entity_name: string;
|
|
13
13
|
existing_user: boolean;
|
|
14
|
-
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
14
|
+
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
15
15
|
role: EntityInvitationPreviewRole;
|
|
16
16
|
status: EntityInvitationPreviewStatus;
|
|
17
17
|
expires_at: string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
9
|
+
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
10
10
|
*/
|
|
11
11
|
export type EntityInvitationPreviewRole = typeof EntityInvitationPreviewRole[keyof typeof EntityInvitationPreviewRole];
|
|
12
12
|
export declare const EntityInvitationPreviewRole: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
9
|
+
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
10
10
|
*/
|
|
11
11
|
export type EntityInvitationPreviewRole = typeof EntityInvitationPreviewRole[keyof typeof EntityInvitationPreviewRole];
|
|
12
12
|
export declare const EntityInvitationPreviewRole: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
9
|
+
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
10
10
|
*/
|
|
11
11
|
export type EntityInvitationRole = typeof EntityInvitationRole[keyof typeof EntityInvitationRole];
|
|
12
12
|
export declare const EntityInvitationRole: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
9
|
+
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
10
10
|
*/
|
|
11
11
|
export type EntityInvitationRole = typeof EntityInvitationRole[keyof typeof EntityInvitationRole];
|
|
12
12
|
export declare const EntityInvitationRole: {
|
|
@@ -12,7 +12,7 @@ export interface EntityUser {
|
|
|
12
12
|
user_id: string;
|
|
13
13
|
/** Entity ID */
|
|
14
14
|
entity_id: string;
|
|
15
|
-
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
15
|
+
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
16
16
|
role: EntityUserRole;
|
|
17
17
|
/** User email */
|
|
18
18
|
email: string;
|
|
@@ -12,7 +12,7 @@ export interface EntityUser {
|
|
|
12
12
|
user_id: string;
|
|
13
13
|
/** Entity ID */
|
|
14
14
|
entity_id: string;
|
|
15
|
-
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
15
|
+
/** User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module. */
|
|
16
16
|
role: EntityUserRole;
|
|
17
17
|
/** User email */
|
|
18
18
|
email: string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
9
|
+
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
10
10
|
*/
|
|
11
11
|
export type EntityUserRole = typeof EntityUserRole[keyof typeof EntityUserRole];
|
|
12
12
|
export declare const EntityUserRole: {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
9
|
+
* User role on the entity. `viewer` reads, `editor` also writes, `admin` also manages users and settings and uses the accounting module, `staff` issues invoices and works only with the invoices they created, and `accountant` works like `editor` and also uses the accounting module.
|
|
10
10
|
*/
|
|
11
11
|
export type EntityUserRole = typeof EntityUserRole[keyof typeof EntityUserRole];
|
|
12
12
|
export declare const EntityUserRole: {
|
|
@@ -35,7 +35,7 @@ export interface EntityUsersAccess {
|
|
|
35
35
|
can_manage_entity_settings?: boolean;
|
|
36
36
|
/** Whether the actor can issue invoices and work with the ones they created. When `can_read_entity` is false, the actor sees only those invoices. */
|
|
37
37
|
can_use_own_documents?: boolean;
|
|
38
|
-
/** Whether the actor can use the accounting module for this entity.
|
|
38
|
+
/** Whether the actor can use the accounting module for this entity. The `accountant` and `admin` roles can (and account owners and admins). Clients must treat an absent value as false. */
|
|
39
39
|
can_use_accounting?: boolean;
|
|
40
40
|
/** Whether final entity admin demotion/removal must be blocked for this actor */
|
|
41
41
|
enforce_entity_admin_preservation: boolean;
|
|
@@ -35,7 +35,7 @@ export interface EntityUsersAccess {
|
|
|
35
35
|
can_manage_entity_settings?: boolean;
|
|
36
36
|
/** Whether the actor can issue invoices and work with the ones they created. When `can_read_entity` is false, the actor sees only those invoices. */
|
|
37
37
|
can_use_own_documents?: boolean;
|
|
38
|
-
/** Whether the actor can use the accounting module for this entity.
|
|
38
|
+
/** Whether the actor can use the accounting module for this entity. The `accountant` and `admin` roles can (and account owners and admins). Clients must treat an absent value as false. */
|
|
39
39
|
can_use_accounting?: boolean;
|
|
40
40
|
/** Whether final entity admin demotion/removal must be blocked for this actor */
|
|
41
41
|
enforce_entity_admin_preservation: boolean;
|
|
@@ -540,7 +540,7 @@ export declare const GetPayrollParameterHistoryResponse: zod.ZodObject<{
|
|
|
540
540
|
}, zod.z.core.$strip>>;
|
|
541
541
|
}, zod.z.core.$strip>;
|
|
542
542
|
/**
|
|
543
|
-
*
|
|
543
|
+
* Requires accounting access (accountant or admin role, or account owner/admin). Creates an effective-dated override row for the current entity.
|
|
544
544
|
* @summary Set an entity-specific override for a payroll parameter
|
|
545
545
|
*/
|
|
546
546
|
export declare const SetPayrollParameterOverrideParams: zod.ZodObject<{
|
|
@@ -939,7 +939,7 @@ export declare const RecomputeVatReturnResponse: zod.ZodObject<{
|
|
|
939
939
|
updated_at: zod.z.ZodISODateTime;
|
|
940
940
|
}, zod.z.core.$strip>;
|
|
941
941
|
/**
|
|
942
|
-
* @summary Approve a draft VAT return (
|
|
942
|
+
* @summary Approve a draft VAT return (accounting access)
|
|
943
943
|
*/
|
|
944
944
|
export declare const approveVatReturnPathIdRegExp: RegExp;
|
|
945
945
|
export declare const ApproveVatReturnParams: zod.ZodObject<{
|
|
@@ -1019,7 +1019,7 @@ export declare const ApproveVatReturnResponse: zod.ZodObject<{
|
|
|
1019
1019
|
updated_at: zod.z.ZodISODateTime;
|
|
1020
1020
|
}, zod.z.core.$strip>;
|
|
1021
1021
|
/**
|
|
1022
|
-
* @summary Record a VAT return as submitted to eDavki (
|
|
1022
|
+
* @summary Record a VAT return as submitted to eDavki (accounting access)
|
|
1023
1023
|
*/
|
|
1024
1024
|
export declare const submitVatReturnPathIdRegExp: RegExp;
|
|
1025
1025
|
export declare const SubmitVatReturnParams: zod.ZodObject<{
|
|
@@ -1104,7 +1104,7 @@ export declare const SubmitVatReturnResponse: zod.ZodObject<{
|
|
|
1104
1104
|
updated_at: zod.z.ZodISODateTime;
|
|
1105
1105
|
}, zod.z.core.$strip>;
|
|
1106
1106
|
/**
|
|
1107
|
-
* @summary Reopen an approved VAT return back to draft (
|
|
1107
|
+
* @summary Reopen an approved VAT return back to draft (accounting access)
|
|
1108
1108
|
*/
|
|
1109
1109
|
export declare const reopenVatReturnPathIdRegExp: RegExp;
|
|
1110
1110
|
export declare const ReopenVatReturnParams: zod.ZodObject<{
|
|
@@ -540,7 +540,7 @@ export declare const GetPayrollParameterHistoryResponse: zod.ZodObject<{
|
|
|
540
540
|
}, zod.z.core.$strip>>;
|
|
541
541
|
}, zod.z.core.$strip>;
|
|
542
542
|
/**
|
|
543
|
-
*
|
|
543
|
+
* Requires accounting access (accountant or admin role, or account owner/admin). Creates an effective-dated override row for the current entity.
|
|
544
544
|
* @summary Set an entity-specific override for a payroll parameter
|
|
545
545
|
*/
|
|
546
546
|
export declare const SetPayrollParameterOverrideParams: zod.ZodObject<{
|
|
@@ -939,7 +939,7 @@ export declare const RecomputeVatReturnResponse: zod.ZodObject<{
|
|
|
939
939
|
updated_at: zod.z.ZodISODateTime;
|
|
940
940
|
}, zod.z.core.$strip>;
|
|
941
941
|
/**
|
|
942
|
-
* @summary Approve a draft VAT return (
|
|
942
|
+
* @summary Approve a draft VAT return (accounting access)
|
|
943
943
|
*/
|
|
944
944
|
export declare const approveVatReturnPathIdRegExp: RegExp;
|
|
945
945
|
export declare const ApproveVatReturnParams: zod.ZodObject<{
|
|
@@ -1019,7 +1019,7 @@ export declare const ApproveVatReturnResponse: zod.ZodObject<{
|
|
|
1019
1019
|
updated_at: zod.z.ZodISODateTime;
|
|
1020
1020
|
}, zod.z.core.$strip>;
|
|
1021
1021
|
/**
|
|
1022
|
-
* @summary Record a VAT return as submitted to eDavki (
|
|
1022
|
+
* @summary Record a VAT return as submitted to eDavki (accounting access)
|
|
1023
1023
|
*/
|
|
1024
1024
|
export declare const submitVatReturnPathIdRegExp: RegExp;
|
|
1025
1025
|
export declare const SubmitVatReturnParams: zod.ZodObject<{
|
|
@@ -1104,7 +1104,7 @@ export declare const SubmitVatReturnResponse: zod.ZodObject<{
|
|
|
1104
1104
|
updated_at: zod.z.ZodISODateTime;
|
|
1105
1105
|
}, zod.z.core.$strip>;
|
|
1106
1106
|
/**
|
|
1107
|
-
* @summary Reopen an approved VAT return back to draft (
|
|
1107
|
+
* @summary Reopen an approved VAT return back to draft (accounting access)
|
|
1108
1108
|
*/
|
|
1109
1109
|
export declare const reopenVatReturnPathIdRegExp: RegExp;
|
|
1110
1110
|
export declare const ReopenVatReturnParams: zod.ZodObject<{
|
|
@@ -3351,6 +3351,8 @@ export declare const RestoreExpenseResponse: zod.ZodObject<{
|
|
|
3351
3351
|
has_attachment: zod.ZodBoolean;
|
|
3352
3352
|
}, zod.z.core.$strip>;
|
|
3353
3353
|
/**
|
|
3354
|
+
* Attach a file to an expense.
|
|
3355
|
+
Accepted file types: PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
3354
3356
|
* @summary Upload expense attachment
|
|
3355
3357
|
*/
|
|
3356
3358
|
export declare const UploadExpenseAttachmentParams: zod.ZodObject<{
|
|
@@ -3351,6 +3351,8 @@ export declare const RestoreExpenseResponse: zod.ZodObject<{
|
|
|
3351
3351
|
has_attachment: zod.ZodBoolean;
|
|
3352
3352
|
}, zod.z.core.$strip>;
|
|
3353
3353
|
/**
|
|
3354
|
+
* Attach a file to an expense.
|
|
3355
|
+
Accepted file types: PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
3354
3356
|
* @summary Upload expense attachment
|
|
3355
3357
|
*/
|
|
3356
3358
|
export declare const UploadExpenseAttachmentParams: zod.ZodObject<{
|
|
@@ -9,6 +9,7 @@ import * as zod from "zod";
|
|
|
9
9
|
/**
|
|
10
10
|
* Upload a logo, signature, or attachment with explicit file metadata. Set category to logo for logo uploads. The x-entity-id header selects the entity, and business_unit_id can assign a logo to a business unit.
|
|
11
11
|
Files are automatically optimized and stored in entity-specific folders. Entity-level logos and signatures replace the existing file in the same category, while attachments can be associated with specific documents.
|
|
12
|
+
Accepted file types: logos and signatures accept PNG, JPEG, WebP or GIF; attachments accept PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
12
13
|
* @summary Upload a file
|
|
13
14
|
*/
|
|
14
15
|
export declare const UploadFileHeader: zod.ZodObject<{
|
|
@@ -9,6 +9,7 @@ import * as zod from "zod";
|
|
|
9
9
|
/**
|
|
10
10
|
* Upload a logo, signature, or attachment with explicit file metadata. Set category to logo for logo uploads. The x-entity-id header selects the entity, and business_unit_id can assign a logo to a business unit.
|
|
11
11
|
Files are automatically optimized and stored in entity-specific folders. Entity-level logos and signatures replace the existing file in the same category, while attachments can be associated with specific documents.
|
|
12
|
+
Accepted file types: logos and signatures accept PNG, JPEG, WebP or GIF; attachments accept PDF, PNG, JPEG, WebP, GIF, Word (.doc, .docx), plain text, CSV, Excel (.xlsx, .xls), OpenDocument (.ods, .odt) or XML.
|
|
12
13
|
* @summary Upload a file
|
|
13
14
|
*/
|
|
14
15
|
export declare const UploadFileHeader: zod.ZodObject<{
|