@klardaten/n8n-nodes-datevconnect 1.0.3 → 1.0.4
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/README.md +9 -8
- package/dist/credentials/DatevConnectApi.credentials.d.ts +10 -0
- package/dist/credentials/DatevConnectApi.credentials.d.ts.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/nodes/Accounting/Accounting.config.d.ts +6 -0
- package/dist/nodes/Accounting/Accounting.config.d.ts.map +1 -0
- package/dist/nodes/Accounting/Accounting.node.d.ts +31 -0
- package/dist/nodes/Accounting/Accounting.node.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountPostingResourceHandler.d.ts +9 -0
- package/dist/nodes/Accounting/handlers/AccountPostingResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountingSequenceResourceHandler.d.ts +15 -0
- package/dist/nodes/Accounting/handlers/AccountingSequenceResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountingStatisticsResourceHandler.d.ts +15 -0
- package/dist/nodes/Accounting/handlers/AccountingStatisticsResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountingSumsAndBalancesResourceHandler.d.ts +16 -0
- package/dist/nodes/Accounting/handlers/AccountingSumsAndBalancesResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountingTransactionKeysResourceHandler.d.ts +16 -0
- package/dist/nodes/Accounting/handlers/AccountingTransactionKeysResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountsPayableResourceHandler.d.ts +17 -0
- package/dist/nodes/Accounting/handlers/AccountsPayableResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/AccountsReceivableResourceHandler.d.ts +10 -0
- package/dist/nodes/Accounting/handlers/AccountsReceivableResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/BaseResourceHandler.d.ts +57 -0
- package/dist/nodes/Accounting/handlers/BaseResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/BusinessPartnersResourceHandler.d.ts +25 -0
- package/dist/nodes/Accounting/handlers/BusinessPartnersResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/ClientResourceHandler.d.ts +12 -0
- package/dist/nodes/Accounting/handlers/ClientResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/CostCenterPropertiesResourceHandler.d.ts +16 -0
- package/dist/nodes/Accounting/handlers/CostCenterPropertiesResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/CostCentersUnitsResourceHandler.d.ts +16 -0
- package/dist/nodes/Accounting/handlers/CostCentersUnitsResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/CostSequencesResourceHandler.d.ts +18 -0
- package/dist/nodes/Accounting/handlers/CostSequencesResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/CostSystemsResourceHandler.d.ts +17 -0
- package/dist/nodes/Accounting/handlers/CostSystemsResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/FiscalYearResourceHandler.d.ts +9 -0
- package/dist/nodes/Accounting/handlers/FiscalYearResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/GeneralLedgerAccountsResourceHandler.d.ts +17 -0
- package/dist/nodes/Accounting/handlers/GeneralLedgerAccountsResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/InternalCostServicesResourceHandler.d.ts +15 -0
- package/dist/nodes/Accounting/handlers/InternalCostServicesResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/PostingProposalsResourceHandler.d.ts +20 -0
- package/dist/nodes/Accounting/handlers/PostingProposalsResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/StocktakingDataResourceHandler.d.ts +14 -0
- package/dist/nodes/Accounting/handlers/StocktakingDataResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/TermsOfPaymentResourceHandler.d.ts +15 -0
- package/dist/nodes/Accounting/handlers/TermsOfPaymentResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/VariousAddressesResourceHandler.d.ts +14 -0
- package/dist/nodes/Accounting/handlers/VariousAddressesResourceHandler.d.ts.map +1 -0
- package/dist/nodes/Accounting/handlers/index.d.ts +22 -0
- package/dist/nodes/Accounting/handlers/index.d.ts.map +1 -0
- package/dist/nodes/Accounting/types.d.ts +123 -0
- package/dist/nodes/Accounting/types.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/DocumentManagement.config.d.ts +6 -0
- package/dist/nodes/DocumentManagement/DocumentManagement.config.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/DocumentManagement.node.d.ts +6 -0
- package/dist/nodes/DocumentManagement/DocumentManagement.node.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/BaseResourceHandler.d.ts +57 -0
- package/dist/nodes/DocumentManagement/handlers/BaseResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentFileResourceHandler.d.ts +26 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentFileResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentResourceHandler.d.ts +20 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentStateResourceHandler.d.ts +12 -0
- package/dist/nodes/DocumentManagement/handlers/DocumentStateResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/DomainResourceHandler.d.ts +10 -0
- package/dist/nodes/DocumentManagement/handlers/DomainResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualPropertyResourceHandler.d.ts +10 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualPropertyResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualReference1ResourceHandler.d.ts +11 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualReference1ResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualReference2ResourceHandler.d.ts +11 -0
- package/dist/nodes/DocumentManagement/handlers/IndividualReference2ResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/InfoResourceHandler.d.ts +10 -0
- package/dist/nodes/DocumentManagement/handlers/InfoResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/PropertyTemplateResourceHandler.d.ts +10 -0
- package/dist/nodes/DocumentManagement/handlers/PropertyTemplateResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/handlers/SecureAreaResourceHandler.d.ts +10 -0
- package/dist/nodes/DocumentManagement/handlers/SecureAreaResourceHandler.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/types.d.ts +155 -0
- package/dist/nodes/DocumentManagement/types.d.ts.map +1 -0
- package/dist/nodes/DocumentManagement/utils.d.ts +41 -0
- package/dist/nodes/DocumentManagement/utils.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.config.d.ts +3 -0
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.config.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.node.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/IdentityAndAccessManagement.node.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/BaseResourceHandler.d.ts +20 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/BaseResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/CurrentUserResourceHandler.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/CurrentUserResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/GroupResourceHandler.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/GroupResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/ResourceTypeResourceHandler.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/ResourceTypeResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/SchemaResourceHandler.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/SchemaResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/ServiceProviderConfigResourceHandler.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/ServiceProviderConfigResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/UserResourceHandler.d.ts +6 -0
- package/dist/nodes/IdentityAndAccessManagement/handlers/UserResourceHandler.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/types.d.ts +26 -0
- package/dist/nodes/IdentityAndAccessManagement/types.d.ts.map +1 -0
- package/dist/nodes/IdentityAndAccessManagement/utils.d.ts +14 -0
- package/dist/nodes/IdentityAndAccessManagement/utils.d.ts.map +1 -0
- package/dist/nodes/MasterData/MasterData.config.d.ts +6 -0
- package/dist/nodes/MasterData/MasterData.config.d.ts.map +1 -0
- package/dist/nodes/MasterData/MasterData.node.d.ts +6 -0
- package/dist/nodes/MasterData/MasterData.node.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/AddresseeResourceHandler.d.ts +15 -0
- package/dist/nodes/MasterData/handlers/AddresseeResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/AreaOfResponsibilityResourceHandler.d.ts +11 -0
- package/dist/nodes/MasterData/handlers/AreaOfResponsibilityResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/BankResourceHandler.d.ts +11 -0
- package/dist/nodes/MasterData/handlers/BankResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/BaseResourceHandler.d.ts +49 -0
- package/dist/nodes/MasterData/handlers/BaseResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/ClientCategoryTypeResourceHandler.d.ts +14 -0
- package/dist/nodes/MasterData/handlers/ClientCategoryTypeResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/ClientGroupTypeResourceHandler.d.ts +14 -0
- package/dist/nodes/MasterData/handlers/ClientGroupTypeResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/ClientResourceHandler.d.ts +22 -0
- package/dist/nodes/MasterData/handlers/ClientResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/CorporateStructureResourceHandler.d.ts +13 -0
- package/dist/nodes/MasterData/handlers/CorporateStructureResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/CountryCodeResourceHandler.d.ts +11 -0
- package/dist/nodes/MasterData/handlers/CountryCodeResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/EmployeeResourceHandler.d.ts +14 -0
- package/dist/nodes/MasterData/handlers/EmployeeResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/LegalFormResourceHandler.d.ts +11 -0
- package/dist/nodes/MasterData/handlers/LegalFormResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/RelationshipResourceHandler.d.ts +12 -0
- package/dist/nodes/MasterData/handlers/RelationshipResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/handlers/TaxAuthorityResourceHandler.d.ts +11 -0
- package/dist/nodes/MasterData/handlers/TaxAuthorityResourceHandler.d.ts.map +1 -0
- package/dist/nodes/MasterData/types.d.ts +241 -0
- package/dist/nodes/MasterData/types.d.ts.map +1 -0
- package/dist/nodes/MasterData/utils.d.ts +32 -0
- package/dist/nodes/MasterData/utils.d.ts.map +1 -0
- package/dist/src/services/accountingClient.d.ts +73 -0
- package/dist/src/services/accountingClient.d.ts.map +1 -0
- package/dist/src/services/datevConnectClient.d.ts +755 -0
- package/dist/src/services/datevConnectClient.d.ts.map +1 -0
- package/dist/src/services/documentManagementClient.d.ts +206 -0
- package/dist/src/services/documentManagementClient.d.ts.map +1 -0
- package/dist/src/services/identityAndAccessManagementClient.d.ts +70 -0
- package/dist/src/services/identityAndAccessManagementClient.d.ts.map +1 -0
- package/package.json +10 -7
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import type { IDataObject } from "n8n-workflow";
|
|
2
|
+
import type { JsonValue } from "../../src/services/datevConnectClient";
|
|
3
|
+
/**
|
|
4
|
+
* Credentials interface for DATEVconnect API
|
|
5
|
+
*/
|
|
6
|
+
export interface MasterDataCredentials {
|
|
7
|
+
host: string;
|
|
8
|
+
email: string;
|
|
9
|
+
password: string;
|
|
10
|
+
clientInstanceId: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Common authentication context
|
|
14
|
+
*/
|
|
15
|
+
export interface AuthContext {
|
|
16
|
+
host: string;
|
|
17
|
+
token: string;
|
|
18
|
+
clientInstanceId: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Base operation parameters that all operations might use
|
|
22
|
+
*/
|
|
23
|
+
export interface BaseOperationParams {
|
|
24
|
+
select?: string;
|
|
25
|
+
filter?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Parameters for list operations (getAll)
|
|
29
|
+
*/
|
|
30
|
+
export interface ListOperationParams extends BaseOperationParams {
|
|
31
|
+
top?: number;
|
|
32
|
+
skip?: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Parameters for client-specific operations
|
|
36
|
+
*/
|
|
37
|
+
export interface ClientOperationParams extends BaseOperationParams {
|
|
38
|
+
clientId: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Parameters for client creation
|
|
42
|
+
*/
|
|
43
|
+
export interface CreateClientParams {
|
|
44
|
+
clientData: JsonValue;
|
|
45
|
+
maxNumber?: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Parameters for client updates
|
|
49
|
+
*/
|
|
50
|
+
export interface UpdateClientParams extends ClientOperationParams {
|
|
51
|
+
clientData: JsonValue;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Parameters for responsibilities operations
|
|
55
|
+
*/
|
|
56
|
+
export interface ResponsibilitiesParams extends ClientOperationParams {
|
|
57
|
+
responsibilitiesData?: JsonValue;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Parameters for categories operations
|
|
61
|
+
*/
|
|
62
|
+
export interface CategoriesParams extends ClientOperationParams {
|
|
63
|
+
categoriesData?: JsonValue;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Parameters for groups operations
|
|
67
|
+
*/
|
|
68
|
+
export interface GroupsParams extends ClientOperationParams {
|
|
69
|
+
groupsData?: JsonValue;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Parameters for next free number operations
|
|
73
|
+
*/
|
|
74
|
+
export interface NextFreeNumberParams {
|
|
75
|
+
start: number;
|
|
76
|
+
range?: number;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Parameters for corporate structure operations
|
|
80
|
+
*/
|
|
81
|
+
export interface CorporateStructureOperationParams extends BaseOperationParams {
|
|
82
|
+
organizationId: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Parameters for establishment operations
|
|
86
|
+
*/
|
|
87
|
+
export interface EstablishmentOperationParams extends CorporateStructureOperationParams {
|
|
88
|
+
establishmentId: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Parameters for employee-specific operations
|
|
92
|
+
*/
|
|
93
|
+
export interface EmployeeOperationParams extends BaseOperationParams {
|
|
94
|
+
employeeId: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Parameters for employee creation
|
|
98
|
+
*/
|
|
99
|
+
export interface CreateEmployeeParams {
|
|
100
|
+
employeeData: JsonValue;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Parameters for employee updates
|
|
104
|
+
*/
|
|
105
|
+
export interface UpdateEmployeeParams extends EmployeeOperationParams {
|
|
106
|
+
employeeData: JsonValue;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Parameters for client group type-specific operations
|
|
110
|
+
*/
|
|
111
|
+
export interface ClientGroupTypeOperationParams extends BaseOperationParams {
|
|
112
|
+
clientGroupTypeId: string;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Parameters for client group type creation
|
|
116
|
+
*/
|
|
117
|
+
export interface CreateClientGroupTypeParams {
|
|
118
|
+
clientGroupTypeData: JsonValue;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Parameters for client group type updates
|
|
122
|
+
*/
|
|
123
|
+
export interface UpdateClientGroupTypeParams extends ClientGroupTypeOperationParams {
|
|
124
|
+
clientGroupTypeData: JsonValue;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Parameters for client category type-specific operations
|
|
128
|
+
*/
|
|
129
|
+
export interface ClientCategoryTypeOperationParams extends BaseOperationParams {
|
|
130
|
+
clientCategoryTypeId: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Parameters for client category type creation
|
|
134
|
+
*/
|
|
135
|
+
export interface CreateClientCategoryTypeParams {
|
|
136
|
+
clientCategoryTypeData: JsonValue;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Parameters for client category type updates
|
|
140
|
+
*/
|
|
141
|
+
export interface UpdateClientCategoryTypeParams extends ClientCategoryTypeOperationParams {
|
|
142
|
+
clientCategoryTypeData: JsonValue;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Parameters for addressee-specific operations
|
|
146
|
+
*/
|
|
147
|
+
export interface AddresseeOperationParams extends BaseOperationParams {
|
|
148
|
+
addresseeId: string;
|
|
149
|
+
expand?: string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Parameters for addressee creation
|
|
153
|
+
*/
|
|
154
|
+
export interface CreateAddresseeParams {
|
|
155
|
+
addresseeData: JsonValue;
|
|
156
|
+
nationalRight?: string;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Parameters for addressee updates
|
|
160
|
+
*/
|
|
161
|
+
export interface UpdateAddresseeParams extends AddresseeOperationParams {
|
|
162
|
+
addresseeData: JsonValue;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Supported resources
|
|
166
|
+
*/
|
|
167
|
+
export type Resource = "client" | "taxAuthority" | "relationship" | "legalForm" | "corporateStructure" | "employee" | "countryCode" | "clientGroupType" | "clientCategoryType" | "bank" | "areaOfResponsibility" | "addressee";
|
|
168
|
+
/**
|
|
169
|
+
* Supported client operations
|
|
170
|
+
*/
|
|
171
|
+
export type ClientOperation = "getAll" | "get" | "create" | "update" | "getResponsibilities" | "updateResponsibilities" | "getClientCategories" | "updateClientCategories" | "getClientGroups" | "updateClientGroups" | "getDeletionLog" | "getNextFreeNumber";
|
|
172
|
+
/**
|
|
173
|
+
* Supported tax authority operations
|
|
174
|
+
*/
|
|
175
|
+
export type TaxAuthorityOperation = "getAll";
|
|
176
|
+
/**
|
|
177
|
+
* Supported relationship operations
|
|
178
|
+
*/
|
|
179
|
+
export type RelationshipOperation = "getAll" | "getTypes";
|
|
180
|
+
/**
|
|
181
|
+
* Supported legal form operations
|
|
182
|
+
*/
|
|
183
|
+
export type LegalFormOperation = "getAll";
|
|
184
|
+
/**
|
|
185
|
+
* Supported corporate structure operations
|
|
186
|
+
*/
|
|
187
|
+
export type CorporateStructureOperation = "getAll" | "get" | "getEstablishment";
|
|
188
|
+
/**
|
|
189
|
+
* Supported employee operations
|
|
190
|
+
*/
|
|
191
|
+
export type EmployeeOperation = "getAll" | "get" | "create" | "update";
|
|
192
|
+
/**
|
|
193
|
+
* Supported country code operations
|
|
194
|
+
*/
|
|
195
|
+
export type CountryCodeOperation = "getAll";
|
|
196
|
+
/**
|
|
197
|
+
* Supported client group type operations
|
|
198
|
+
*/
|
|
199
|
+
export type ClientGroupTypeOperation = "getAll" | "get" | "create" | "update";
|
|
200
|
+
/**
|
|
201
|
+
* Supported client category type operations
|
|
202
|
+
*/
|
|
203
|
+
export type ClientCategoryTypeOperation = "getAll" | "get" | "create" | "update";
|
|
204
|
+
/**
|
|
205
|
+
* Supported bank operations
|
|
206
|
+
*/
|
|
207
|
+
export type BankOperation = "getAll";
|
|
208
|
+
/**
|
|
209
|
+
* Supported area of responsibility operations
|
|
210
|
+
*/
|
|
211
|
+
export type AreaOfResponsibilityOperation = "getAll";
|
|
212
|
+
/**
|
|
213
|
+
* Supported addressee operations
|
|
214
|
+
*/
|
|
215
|
+
export type AddresseeOperation = "getAll" | "get" | "create" | "update" | "getDeletionLog";
|
|
216
|
+
/**
|
|
217
|
+
* All supported operations
|
|
218
|
+
*/
|
|
219
|
+
export type Operation = ClientOperation | TaxAuthorityOperation | RelationshipOperation | LegalFormOperation | CorporateStructureOperation | EmployeeOperation | CountryCodeOperation | ClientGroupTypeOperation | ClientCategoryTypeOperation | BankOperation | AreaOfResponsibilityOperation | AddresseeOperation;
|
|
220
|
+
/**
|
|
221
|
+
* Success response format
|
|
222
|
+
*/
|
|
223
|
+
export interface SuccessResponse {
|
|
224
|
+
success: boolean;
|
|
225
|
+
data?: JsonValue;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Error response format
|
|
229
|
+
*/
|
|
230
|
+
export interface ErrorResponse {
|
|
231
|
+
error: string;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Result of normalizing data to objects
|
|
235
|
+
*/
|
|
236
|
+
export type NormalizedData = IDataObject[];
|
|
237
|
+
/**
|
|
238
|
+
* Function type for sending successful responses
|
|
239
|
+
*/
|
|
240
|
+
export type SendSuccessFunction = (payload?: JsonValue) => void;
|
|
241
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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AAG,QAAQ,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAC;AAE3F;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,qBAAqB,GAAG,qBAAqB,GAAG,kBAAkB,GAAG,2BAA2B,GAAG,iBAAiB,GAAG,oBAAoB,GAAG,wBAAwB,GAAG,2BAA2B,GAAG,aAAa,GAAG,6BAA6B,GAAG,kBAAkB,CAAC;AAEpT;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,EAAE,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type IExecuteFunctions, type JsonObject } from "n8n-workflow";
|
|
2
|
+
import type { JsonValue } from "../../src/services/datevConnectClient";
|
|
3
|
+
import type { NormalizedData } from "./types";
|
|
4
|
+
/**
|
|
5
|
+
* Converts an unknown error to a JsonObject for n8n error handling
|
|
6
|
+
*/
|
|
7
|
+
export declare function toErrorObject(error: unknown): JsonObject;
|
|
8
|
+
/**
|
|
9
|
+
* Extracts a readable error message from an unknown error
|
|
10
|
+
*/
|
|
11
|
+
export declare function toErrorMessage(error: unknown): string;
|
|
12
|
+
/**
|
|
13
|
+
* Normalizes various data types to an array of IDataObject for n8n
|
|
14
|
+
*/
|
|
15
|
+
export declare function normaliseToObjects(data: JsonValue): NormalizedData;
|
|
16
|
+
/**
|
|
17
|
+
* Safely parses a JSON parameter from node input
|
|
18
|
+
*/
|
|
19
|
+
export declare function parseJsonParameter(rawValue: unknown, parameterLabel: string, context: IExecuteFunctions, itemIndex: number): JsonValue;
|
|
20
|
+
/**
|
|
21
|
+
* Gets an optional string parameter, returning undefined if empty
|
|
22
|
+
*/
|
|
23
|
+
export declare function getOptionalString(context: IExecuteFunctions, name: string, itemIndex: number): string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Gets a required string parameter
|
|
26
|
+
*/
|
|
27
|
+
export declare function getRequiredString(context: IExecuteFunctions, name: string, itemIndex: number): string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets a number parameter with optional default
|
|
30
|
+
*/
|
|
31
|
+
export declare function getNumberParameter(context: IExecuteFunctions, name: string, itemIndex: number, defaultValue: number): number;
|
|
32
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../nodes/MasterData/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,CAOxD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAUrD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,SAAS,GAAG,cAAc,CAelE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,OAAO,EACjB,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,iBAAiB,EAC1B,SAAS,EAAE,MAAM,GAChB,SAAS,CAsBX;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAChB,MAAM,GAAG,SAAS,CAMpB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAChB,MAAM,CAUR;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACnB,MAAM,CAER"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { IExecuteFunctions, IDataObject } from "n8n-workflow";
|
|
2
|
+
import * as client from "./datevConnectClient";
|
|
3
|
+
import type { JsonValue } from "./datevConnectClient";
|
|
4
|
+
export declare const datevConnectClient: {
|
|
5
|
+
accounting: {
|
|
6
|
+
getClients(executeFunctions: IExecuteFunctions, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
7
|
+
getClient(executeFunctions: IExecuteFunctions, clientId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
8
|
+
getFiscalYears(executeFunctions: IExecuteFunctions, clientId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
9
|
+
getFiscalYear(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
10
|
+
getAccountsReceivable(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
11
|
+
getAccountsReceivableCondensed(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
12
|
+
getAccountReceivable(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountsReceivableId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
13
|
+
getAccountsPayable(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
14
|
+
getAccountsPayableCondensed(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
15
|
+
getAccountPayable(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountsPayableId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
16
|
+
getAccountPostings(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
17
|
+
getAccountPosting(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountPostingId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
18
|
+
getAccountingSequences(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
19
|
+
getAccountingSequence(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountingSequenceId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
20
|
+
createAccountingSequence(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountingSequence: JsonValue): Promise<client.JsonValue | undefined>;
|
|
21
|
+
getAccountingRecords(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountingSequenceId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
22
|
+
getAccountingRecord(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountingSequenceId: string, accountingRecordId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
23
|
+
getPostingProposalRulesIncoming(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
24
|
+
getPostingProposalRulesOutgoing(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
25
|
+
getPostingProposalRulesCashRegister(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
26
|
+
getPostingProposalRuleIncoming(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, ruleId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
27
|
+
getPostingProposalRuleOutgoing(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, ruleId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
28
|
+
getPostingProposalRuleCashRegister(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, ruleId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
29
|
+
batchPostingProposalsIncoming(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, postingProposals: JsonValue): Promise<client.JsonValue | undefined>;
|
|
30
|
+
batchPostingProposalsOutgoing(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, postingProposals: JsonValue): Promise<client.JsonValue | undefined>;
|
|
31
|
+
batchPostingProposalsCashRegister(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, postingProposals: JsonValue): Promise<client.JsonValue | undefined>;
|
|
32
|
+
getAccountingSumsAndBalances(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
33
|
+
getAccountingSumsAndBalance(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountingSumsAndBalancesId: string): Promise<client.JsonValue>;
|
|
34
|
+
getDebitors(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
35
|
+
getDebitor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, debitorId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
36
|
+
createDebitor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, debitor: JsonValue): Promise<client.JsonValue | undefined>;
|
|
37
|
+
updateDebitor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, debitorId: string, debitor: JsonValue): Promise<client.JsonValue | undefined>;
|
|
38
|
+
getNextAvailableDebitor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
39
|
+
getCreditors(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
40
|
+
getCreditor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, creditorId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
41
|
+
createCreditor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, creditor: JsonValue): Promise<client.JsonValue | undefined>;
|
|
42
|
+
updateCreditor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, creditorId: string, creditor: JsonValue): Promise<client.JsonValue | undefined>;
|
|
43
|
+
getNextAvailableCreditor(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
44
|
+
getGeneralLedgerAccounts(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
45
|
+
getGeneralLedgerAccount(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, generalLedgerAccountId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
46
|
+
getUtilizedGeneralLedgerAccounts(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
47
|
+
getTermsOfPayment(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
48
|
+
getTermOfPayment(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, termOfPaymentId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
49
|
+
createTermOfPayment(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, termOfPaymentData: JsonValue): Promise<client.JsonValue | undefined>;
|
|
50
|
+
updateTermOfPayment(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, termOfPaymentId: string, termOfPaymentData: JsonValue): Promise<client.JsonValue | undefined>;
|
|
51
|
+
getStocktakingData(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
52
|
+
getStocktakingDataByAsset(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, assetId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
53
|
+
updateStocktakingData(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, assetId: string, stocktakingData: JsonValue): Promise<client.JsonValue | undefined>;
|
|
54
|
+
getCostSystems(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
55
|
+
getCostSystem(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
56
|
+
getCostCenters(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
57
|
+
getCostCenter(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, costCenterId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
58
|
+
getCostCenterProperties(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
59
|
+
getCostCenterProperty(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, costCenterPropertyId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
60
|
+
createInternalCostService(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, internalCostServiceData: JsonValue): Promise<client.JsonValue | undefined>;
|
|
61
|
+
getCostSequences(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
62
|
+
getCostSequence(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, costSequenceId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
63
|
+
createCostSequence(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, costSequenceId: string, costSequenceData: JsonValue): Promise<client.JsonValue | undefined>;
|
|
64
|
+
getCostAccountingRecords(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, costSystemId: string, costSequenceId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
65
|
+
getAccountingStatistics(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
66
|
+
getAccountingTransactionKeys(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
67
|
+
getAccountingTransactionKey(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, accountingTransactionKeyId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
68
|
+
getVariousAddresses(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
69
|
+
getVariousAddress(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, variousAddressId: string, queryParams?: IDataObject): Promise<client.JsonValue>;
|
|
70
|
+
createVariousAddress(executeFunctions: IExecuteFunctions, clientId: string, fiscalYearId: string, variousAddressData: JsonValue): Promise<client.JsonValue | undefined>;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=accountingClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountingClient.d.ts","sourceRo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