@billionaire-sh/node-sdk 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +254 -2
- package/dist/client.cjs +315 -0
- package/dist/client.d.cts +1190 -0
- package/dist/client.d.mts +1190 -0
- package/dist/client.mjs +313 -0
- package/dist/schemas.cjs +3800 -0
- package/dist/schemas.d.cts +3977 -0
- package/dist/schemas.d.mts +3977 -0
- package/dist/schemas.mjs +3798 -0
- package/package.json +62 -3
package/dist/schemas.mjs
ADDED
|
@@ -0,0 +1,3798 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
|
|
3
|
+
const accessGrantInitiatorSchema = z.enum(["grantor", "grantee"]);
|
|
4
|
+
|
|
5
|
+
const accessGrantResourceTypeSchema = z.enum([
|
|
6
|
+
"business-card",
|
|
7
|
+
"contract",
|
|
8
|
+
"property",
|
|
9
|
+
"party"
|
|
10
|
+
]);
|
|
11
|
+
|
|
12
|
+
const accessGrantStatusSchema = z.enum([
|
|
13
|
+
"pending",
|
|
14
|
+
"accepted",
|
|
15
|
+
"declined",
|
|
16
|
+
"expired",
|
|
17
|
+
"withdrawn",
|
|
18
|
+
"revoked"
|
|
19
|
+
]);
|
|
20
|
+
|
|
21
|
+
const accountMappingTypeSchema = z.enum([
|
|
22
|
+
"accounts_receivable",
|
|
23
|
+
"accounts_payable",
|
|
24
|
+
"bank_default",
|
|
25
|
+
"cash_default",
|
|
26
|
+
"vat_input",
|
|
27
|
+
"vat_output",
|
|
28
|
+
"vat_input_reduced",
|
|
29
|
+
"vat_output_reduced",
|
|
30
|
+
"vat_prepayment",
|
|
31
|
+
"revenue_default",
|
|
32
|
+
"revenue_reduced",
|
|
33
|
+
"expense_default",
|
|
34
|
+
"depreciation_expense",
|
|
35
|
+
"accumulated_depreciation",
|
|
36
|
+
"asset_disposal_gain",
|
|
37
|
+
"asset_disposal_loss",
|
|
38
|
+
"loan_receivable",
|
|
39
|
+
"loan_payable",
|
|
40
|
+
"loan_receivable_shareholder",
|
|
41
|
+
"loan_receivable_affiliated",
|
|
42
|
+
"loan_receivable_third_party",
|
|
43
|
+
"loan_payable_shareholder",
|
|
44
|
+
"loan_payable_affiliated",
|
|
45
|
+
"loan_payable_third_party",
|
|
46
|
+
"loan_payable_shareholder_short",
|
|
47
|
+
"loan_payable_shareholder_medium",
|
|
48
|
+
"loan_payable_shareholder_long",
|
|
49
|
+
"loan_payable_affiliated_short",
|
|
50
|
+
"loan_payable_affiliated_medium",
|
|
51
|
+
"loan_payable_affiliated_long",
|
|
52
|
+
"loan_payable_third_party_short",
|
|
53
|
+
"loan_payable_third_party_medium",
|
|
54
|
+
"loan_payable_third_party_long",
|
|
55
|
+
"loan_receivable_shareholder_short",
|
|
56
|
+
"loan_receivable_shareholder_medium",
|
|
57
|
+
"loan_receivable_shareholder_long",
|
|
58
|
+
"loan_receivable_affiliated_short",
|
|
59
|
+
"loan_receivable_affiliated_medium",
|
|
60
|
+
"loan_receivable_affiliated_long",
|
|
61
|
+
"loan_receivable_third_party_short",
|
|
62
|
+
"loan_receivable_third_party_medium",
|
|
63
|
+
"loan_receivable_third_party_long",
|
|
64
|
+
"loan_payable_general_partner",
|
|
65
|
+
"loan_payable_limited_partner",
|
|
66
|
+
"loan_receivable_general_partner",
|
|
67
|
+
"loan_receivable_limited_partner",
|
|
68
|
+
"loan_payable_general_partner_short",
|
|
69
|
+
"loan_payable_general_partner_medium",
|
|
70
|
+
"loan_payable_general_partner_long",
|
|
71
|
+
"loan_payable_limited_partner_short",
|
|
72
|
+
"loan_payable_limited_partner_medium",
|
|
73
|
+
"loan_payable_limited_partner_long",
|
|
74
|
+
"loan_receivable_general_partner_short",
|
|
75
|
+
"loan_receivable_general_partner_medium",
|
|
76
|
+
"loan_receivable_general_partner_long",
|
|
77
|
+
"loan_receivable_limited_partner_short",
|
|
78
|
+
"loan_receivable_limited_partner_medium",
|
|
79
|
+
"loan_receivable_limited_partner_long",
|
|
80
|
+
"silent_contribution_typical",
|
|
81
|
+
"silent_contribution_typical_short",
|
|
82
|
+
"silent_contribution_typical_medium",
|
|
83
|
+
"silent_contribution_typical_long",
|
|
84
|
+
"silent_contribution_atypical",
|
|
85
|
+
"silent_contribution_atypical_short",
|
|
86
|
+
"silent_contribution_atypical_medium",
|
|
87
|
+
"silent_contribution_atypical_long",
|
|
88
|
+
"loan_payable_silent_partner",
|
|
89
|
+
"loan_payable_silent_partner_short",
|
|
90
|
+
"loan_payable_silent_partner_medium",
|
|
91
|
+
"loan_payable_silent_partner_long",
|
|
92
|
+
"loan_receivable_typical_silent_partner",
|
|
93
|
+
"loan_receivable_typical_silent_partner_short",
|
|
94
|
+
"loan_receivable_typical_silent_partner_long",
|
|
95
|
+
"silent_profit_share_typical",
|
|
96
|
+
"silent_profit_share_atypical",
|
|
97
|
+
"silent_profit_share_payable",
|
|
98
|
+
"loan_receivable_director",
|
|
99
|
+
"loan_receivable_director_short",
|
|
100
|
+
"loan_receivable_director_long",
|
|
101
|
+
"loan_payable_bank",
|
|
102
|
+
"loan_payable_bank_short",
|
|
103
|
+
"loan_payable_bank_medium",
|
|
104
|
+
"loan_payable_bank_long",
|
|
105
|
+
"interest_income",
|
|
106
|
+
"interest_expense",
|
|
107
|
+
"retained_earnings",
|
|
108
|
+
"private_withdrawals",
|
|
109
|
+
"private_contributions",
|
|
110
|
+
"own_consumption_goods_full_rate",
|
|
111
|
+
"own_consumption_goods_reduced_rate",
|
|
112
|
+
"capital_in_business",
|
|
113
|
+
"private_health_insurance_statutory",
|
|
114
|
+
"private_health_insurance_private",
|
|
115
|
+
"private_care_insurance_statutory",
|
|
116
|
+
"private_care_insurance_private",
|
|
117
|
+
"private_pension_insurance_basic",
|
|
118
|
+
"private_unemployment_insurance",
|
|
119
|
+
"private_liability_and_accident_insurance",
|
|
120
|
+
"private_church_tax",
|
|
121
|
+
"private_donations_charitable",
|
|
122
|
+
"private_donations_political_party",
|
|
123
|
+
"loss_carried_forward",
|
|
124
|
+
"suspense",
|
|
125
|
+
"subscribed_capital",
|
|
126
|
+
"outstanding_contributions_uncalled",
|
|
127
|
+
"called_up_capital_receivable",
|
|
128
|
+
"capital_reserve",
|
|
129
|
+
"legal_reserve",
|
|
130
|
+
"voluntary_reserve",
|
|
131
|
+
"fixed_asset_land",
|
|
132
|
+
"fixed_asset_building_residential",
|
|
133
|
+
"fixed_asset_building_commercial",
|
|
134
|
+
"building_savings_balance",
|
|
135
|
+
"bank_fee_expense",
|
|
136
|
+
"other_operating_expense",
|
|
137
|
+
"legal_consulting_expense",
|
|
138
|
+
"software_expense",
|
|
139
|
+
"utility_expense_energy",
|
|
140
|
+
"utility_expense_heating",
|
|
141
|
+
"utility_expense_cleaning",
|
|
142
|
+
"utility_expense_maintenance",
|
|
143
|
+
"utility_expense_insurance",
|
|
144
|
+
"utility_expense_property_tax",
|
|
145
|
+
"gwg_expense_immediate",
|
|
146
|
+
"loan_receivable_participation",
|
|
147
|
+
"loan_receivable_participation_short",
|
|
148
|
+
"loan_receivable_participation_medium",
|
|
149
|
+
"loan_receivable_participation_long",
|
|
150
|
+
"loan_payable_participation",
|
|
151
|
+
"loan_payable_participation_short",
|
|
152
|
+
"loan_payable_participation_medium",
|
|
153
|
+
"loan_payable_participation_long",
|
|
154
|
+
"interest_income_affiliated",
|
|
155
|
+
"interest_income_long_term_loans",
|
|
156
|
+
"interest_income_long_term_loans_affiliated",
|
|
157
|
+
"interest_expense_affiliated",
|
|
158
|
+
"interest_expense_shareholder",
|
|
159
|
+
"loan_fee_expense",
|
|
160
|
+
"loan_fee_income",
|
|
161
|
+
"accrued_interest_receivable",
|
|
162
|
+
"accrued_interest_payable",
|
|
163
|
+
"rental_deposit_receivable",
|
|
164
|
+
"rental_deposit_payable",
|
|
165
|
+
"other_operating_income",
|
|
166
|
+
"cash_discount_granted",
|
|
167
|
+
"bad_debt_expense",
|
|
168
|
+
"inventory",
|
|
169
|
+
"prepaid_expenses",
|
|
170
|
+
"deferred_income",
|
|
171
|
+
"owner_capital"
|
|
172
|
+
]);
|
|
173
|
+
|
|
174
|
+
const accountSnapshotStatusSchema = z.enum([
|
|
175
|
+
"pending",
|
|
176
|
+
"ready",
|
|
177
|
+
"closed",
|
|
178
|
+
"archived"
|
|
179
|
+
]);
|
|
180
|
+
|
|
181
|
+
const accountSnapshotTypeSchema = z.enum([
|
|
182
|
+
"opening_balance",
|
|
183
|
+
"annual_closing",
|
|
184
|
+
"quarterly_vat",
|
|
185
|
+
"monthly_vat",
|
|
186
|
+
"annual_vat",
|
|
187
|
+
"semi_annual_vat"
|
|
188
|
+
]);
|
|
189
|
+
|
|
190
|
+
const accountTypeSchema = z.enum([
|
|
191
|
+
"asset",
|
|
192
|
+
"liability",
|
|
193
|
+
"equity",
|
|
194
|
+
"revenue",
|
|
195
|
+
"expense",
|
|
196
|
+
"tax"
|
|
197
|
+
]);
|
|
198
|
+
|
|
199
|
+
const actorTypeSchema = z.enum(["human", "robot"]);
|
|
200
|
+
|
|
201
|
+
const addressTypeSchema = z.enum([
|
|
202
|
+
"physical",
|
|
203
|
+
"billing",
|
|
204
|
+
"registered",
|
|
205
|
+
"tax_office"
|
|
206
|
+
]);
|
|
207
|
+
|
|
208
|
+
const amortizationTypeSchema = z.enum([
|
|
209
|
+
"bullet",
|
|
210
|
+
"annuity",
|
|
211
|
+
"installment",
|
|
212
|
+
"flexible"
|
|
213
|
+
]);
|
|
214
|
+
|
|
215
|
+
const amountSourceSchema = z.enum([
|
|
216
|
+
"gross_amount",
|
|
217
|
+
"net_amount",
|
|
218
|
+
"tax_amount",
|
|
219
|
+
"payment_amount",
|
|
220
|
+
"depreciation_amount",
|
|
221
|
+
"principal_amount",
|
|
222
|
+
"interest_amount",
|
|
223
|
+
"accrued_interest_amount",
|
|
224
|
+
"current_interest_amount",
|
|
225
|
+
"deposit_amount"
|
|
226
|
+
]);
|
|
227
|
+
|
|
228
|
+
const anlageGProblemTypeSchema = z.enum([
|
|
229
|
+
"year_not_closed",
|
|
230
|
+
"gewst_not_declared"
|
|
231
|
+
]);
|
|
232
|
+
|
|
233
|
+
const anlageKapReasonSchema = z.enum([
|
|
234
|
+
"favourable_assessment",
|
|
235
|
+
"withholding_review",
|
|
236
|
+
"church_tax_not_withheld"
|
|
237
|
+
]);
|
|
238
|
+
|
|
239
|
+
const anlageKindChildRelationshipSchema = z.enum([
|
|
240
|
+
"biological_or_adopted",
|
|
241
|
+
"foster",
|
|
242
|
+
"grandchild_or_stepchild"
|
|
243
|
+
]);
|
|
244
|
+
|
|
245
|
+
const anlageKindOtherParentStatusSchema = z.enum([
|
|
246
|
+
"named",
|
|
247
|
+
"deceased",
|
|
248
|
+
"not_determinable"
|
|
249
|
+
]);
|
|
250
|
+
|
|
251
|
+
const anlageVFieldSchema = z.enum([
|
|
252
|
+
"street",
|
|
253
|
+
"location",
|
|
254
|
+
"totalLivingArea",
|
|
255
|
+
"livingAreaNotLet",
|
|
256
|
+
"rentIncomeResidential",
|
|
257
|
+
"incomeTotal",
|
|
258
|
+
"expensesCarried",
|
|
259
|
+
"surplus",
|
|
260
|
+
"depreciationLinear",
|
|
261
|
+
"expensesTotal"
|
|
262
|
+
]);
|
|
263
|
+
|
|
264
|
+
const annotatableFieldPathSchema = z.enum([
|
|
265
|
+
"sender.name",
|
|
266
|
+
"documentDate",
|
|
267
|
+
"amounts.total",
|
|
268
|
+
"invoiceNumber",
|
|
269
|
+
"documentType"
|
|
270
|
+
]);
|
|
271
|
+
|
|
272
|
+
const appointmentStatusSchema = z.enum([
|
|
273
|
+
"booked",
|
|
274
|
+
"cancelled",
|
|
275
|
+
"completed",
|
|
276
|
+
"no_show"
|
|
277
|
+
]);
|
|
278
|
+
|
|
279
|
+
const articleStatusSchema = z.enum(["draft", "published"]);
|
|
280
|
+
|
|
281
|
+
const artifactTypeSchema = z.enum([
|
|
282
|
+
"loan",
|
|
283
|
+
"rental",
|
|
284
|
+
"interest",
|
|
285
|
+
"principal",
|
|
286
|
+
"fee",
|
|
287
|
+
"rent",
|
|
288
|
+
"deposit",
|
|
289
|
+
"disbursement",
|
|
290
|
+
"invoice",
|
|
291
|
+
"charge"
|
|
292
|
+
]);
|
|
293
|
+
|
|
294
|
+
const assetDepreciationMethodSchema = z.enum([
|
|
295
|
+
"linear",
|
|
296
|
+
"degressive",
|
|
297
|
+
"immediate_gwg",
|
|
298
|
+
"pool_sammelposten",
|
|
299
|
+
"none"
|
|
300
|
+
]);
|
|
301
|
+
|
|
302
|
+
const assetDepreciationTypeSchema = z.enum([
|
|
303
|
+
"regular",
|
|
304
|
+
"special",
|
|
305
|
+
"disposal_book_value"
|
|
306
|
+
]);
|
|
307
|
+
|
|
308
|
+
const auditActorTypeSchema = z.enum(["user", "system"]);
|
|
309
|
+
|
|
310
|
+
const auditCategorySchema = z.enum([
|
|
311
|
+
"documents",
|
|
312
|
+
"inbox",
|
|
313
|
+
"team",
|
|
314
|
+
"entity"
|
|
315
|
+
]);
|
|
316
|
+
|
|
317
|
+
const balanceSheetCategorySchema = z.enum([
|
|
318
|
+
"assets",
|
|
319
|
+
"liabilities",
|
|
320
|
+
"equity",
|
|
321
|
+
"provisions",
|
|
322
|
+
"revenue",
|
|
323
|
+
"expenses"
|
|
324
|
+
]);
|
|
325
|
+
|
|
326
|
+
const balanceSheetStandardSchema = z.enum([
|
|
327
|
+
"commercial_with_reconciliation",
|
|
328
|
+
"tax",
|
|
329
|
+
"unified"
|
|
330
|
+
]);
|
|
331
|
+
|
|
332
|
+
const bandMeasureSchema = z.enum(["revenue", "balance_sheet_total"]);
|
|
333
|
+
|
|
334
|
+
const bankAccountStatusSchema = z.enum(["active", "closed"]);
|
|
335
|
+
|
|
336
|
+
const bankStatementDecimalSeparatorSchema = z.enum(["comma", "period"]);
|
|
337
|
+
|
|
338
|
+
const bankStatementSourceSchema = z.enum(["csv"]);
|
|
339
|
+
|
|
340
|
+
const bescheidEinwilligungStatusSchema = z.enum([
|
|
341
|
+
"none",
|
|
342
|
+
"requested",
|
|
343
|
+
"active",
|
|
344
|
+
"revoked"
|
|
345
|
+
]);
|
|
346
|
+
|
|
347
|
+
const billingIntervalSchema = z.enum(["month", "year"]);
|
|
348
|
+
|
|
349
|
+
const bookingChannelSchema = z.enum(["reservation", "order"]);
|
|
350
|
+
|
|
351
|
+
const bookingPurposeSchema = z.enum([
|
|
352
|
+
"accounts_receivable",
|
|
353
|
+
"accounts_payable",
|
|
354
|
+
"bank",
|
|
355
|
+
"cash",
|
|
356
|
+
"input_vat",
|
|
357
|
+
"output_vat",
|
|
358
|
+
"vat_prepayment",
|
|
359
|
+
"revenue",
|
|
360
|
+
"expense",
|
|
361
|
+
"depreciation_expense",
|
|
362
|
+
"accumulated_depreciation",
|
|
363
|
+
"asset_disposal_gain",
|
|
364
|
+
"asset_disposal_loss",
|
|
365
|
+
"loan_receivable",
|
|
366
|
+
"loan_payable",
|
|
367
|
+
"silent_contribution",
|
|
368
|
+
"silent_profit_share_expense",
|
|
369
|
+
"silent_profit_share_payable",
|
|
370
|
+
"interest_income",
|
|
371
|
+
"interest_expense",
|
|
372
|
+
"retained_earnings",
|
|
373
|
+
"private_withdrawals",
|
|
374
|
+
"private_contributions",
|
|
375
|
+
"own_consumption_goods",
|
|
376
|
+
"capital_in_business",
|
|
377
|
+
"private_health_insurance_statutory",
|
|
378
|
+
"private_health_insurance_private",
|
|
379
|
+
"private_care_insurance_statutory",
|
|
380
|
+
"private_care_insurance_private",
|
|
381
|
+
"private_pension_insurance_basic",
|
|
382
|
+
"private_unemployment_insurance",
|
|
383
|
+
"private_liability_and_accident_insurance",
|
|
384
|
+
"private_church_tax",
|
|
385
|
+
"private_donations_charitable",
|
|
386
|
+
"private_donations_political_party",
|
|
387
|
+
"loss_carried_forward",
|
|
388
|
+
"suspense",
|
|
389
|
+
"subscribed_capital",
|
|
390
|
+
"outstanding_contributions_uncalled",
|
|
391
|
+
"called_up_capital_receivable",
|
|
392
|
+
"capital_reserve",
|
|
393
|
+
"legal_reserve",
|
|
394
|
+
"voluntary_reserve",
|
|
395
|
+
"land",
|
|
396
|
+
"residential_building",
|
|
397
|
+
"commercial_building",
|
|
398
|
+
"building_savings_balance",
|
|
399
|
+
"bank_fee_expense",
|
|
400
|
+
"other_operating_expense",
|
|
401
|
+
"legal_consulting_expense",
|
|
402
|
+
"software_expense",
|
|
403
|
+
"energy_expense",
|
|
404
|
+
"heating_expense",
|
|
405
|
+
"cleaning_expense",
|
|
406
|
+
"maintenance_expense",
|
|
407
|
+
"insurance_expense",
|
|
408
|
+
"property_tax_expense",
|
|
409
|
+
"low_value_asset_expense",
|
|
410
|
+
"loan_fee_expense",
|
|
411
|
+
"loan_fee_income",
|
|
412
|
+
"accrued_interest_receivable",
|
|
413
|
+
"accrued_interest_payable",
|
|
414
|
+
"rental_deposit_receivable",
|
|
415
|
+
"rental_deposit_payable",
|
|
416
|
+
"other_operating_income",
|
|
417
|
+
"cash_discount_granted",
|
|
418
|
+
"bad_debt_expense",
|
|
419
|
+
"inventory",
|
|
420
|
+
"prepaid_expenses",
|
|
421
|
+
"deferred_income",
|
|
422
|
+
"owner_capital",
|
|
423
|
+
"cash_discount_received",
|
|
424
|
+
"supplier_credit_receivable"
|
|
425
|
+
]);
|
|
426
|
+
|
|
427
|
+
const bookingSideSchema = z.enum(["debit", "credit"]);
|
|
428
|
+
|
|
429
|
+
const brandPaletteSchema = z.enum(["primary", "secondary"]);
|
|
430
|
+
|
|
431
|
+
const businessEntityTypeSchema = z.enum([
|
|
432
|
+
"sole_prop",
|
|
433
|
+
"gmbh",
|
|
434
|
+
"ug",
|
|
435
|
+
"ag",
|
|
436
|
+
"kg",
|
|
437
|
+
"ohg",
|
|
438
|
+
"gbr",
|
|
439
|
+
"eg",
|
|
440
|
+
"kgaa",
|
|
441
|
+
"gmbh_co_kg",
|
|
442
|
+
"sole_prop_ek"
|
|
443
|
+
]);
|
|
444
|
+
|
|
445
|
+
const businessFoundingTypeSchema = z.enum([
|
|
446
|
+
"new",
|
|
447
|
+
"relocation",
|
|
448
|
+
"takeover",
|
|
449
|
+
"other"
|
|
450
|
+
]);
|
|
451
|
+
|
|
452
|
+
const businessStageSchema = z.enum(["startup", "existing", "founding"]);
|
|
453
|
+
|
|
454
|
+
const cancelPlatformInvoiceOutcomeSchema = z.enum([
|
|
455
|
+
"cancelled",
|
|
456
|
+
"already_cancelled",
|
|
457
|
+
"no_invoice",
|
|
458
|
+
"paid",
|
|
459
|
+
"partial_credit"
|
|
460
|
+
]);
|
|
461
|
+
|
|
462
|
+
const cashBasisAssetGroupSchema = z.enum([
|
|
463
|
+
"land",
|
|
464
|
+
"buildings",
|
|
465
|
+
"other_real_estate",
|
|
466
|
+
"intangibles",
|
|
467
|
+
"vehicles",
|
|
468
|
+
"office_equipment",
|
|
469
|
+
"other_movables",
|
|
470
|
+
"pooled_items",
|
|
471
|
+
"financial_assets_partial_income",
|
|
472
|
+
"financial_assets_other"
|
|
473
|
+
]);
|
|
474
|
+
|
|
475
|
+
const cashBasisReconciliationKeySchema = z.enum([
|
|
476
|
+
"receivable",
|
|
477
|
+
"inventory",
|
|
478
|
+
"prepaid",
|
|
479
|
+
"payable",
|
|
480
|
+
"provision",
|
|
481
|
+
"deferred_income",
|
|
482
|
+
"tax_and_vat",
|
|
483
|
+
"other",
|
|
484
|
+
"residual"
|
|
485
|
+
]);
|
|
486
|
+
|
|
487
|
+
const catchUpUstvaStatusSchema = z.enum([
|
|
488
|
+
"filed",
|
|
489
|
+
"open",
|
|
490
|
+
"overdue",
|
|
491
|
+
"none"
|
|
492
|
+
]);
|
|
493
|
+
|
|
494
|
+
const chartFamilySchema = z.enum(["datev", "kmu", "de_gaap_ci"]);
|
|
495
|
+
|
|
496
|
+
const chartInterchangeTierSchema = z.enum([
|
|
497
|
+
"origin",
|
|
498
|
+
"correspondence",
|
|
499
|
+
"role",
|
|
500
|
+
"position",
|
|
501
|
+
"resolved"
|
|
502
|
+
]);
|
|
503
|
+
|
|
504
|
+
const chartNumberBlockTypeSchema = z.enum([
|
|
505
|
+
"reserved",
|
|
506
|
+
"account_block",
|
|
507
|
+
"personal_debtors",
|
|
508
|
+
"personal_creditors"
|
|
509
|
+
]);
|
|
510
|
+
|
|
511
|
+
const chartProviderSchema = z.enum(["datev", "veb", "esteuer"]);
|
|
512
|
+
|
|
513
|
+
const chatChannelTypeSchema = z.enum([
|
|
514
|
+
"team",
|
|
515
|
+
"direct",
|
|
516
|
+
"subject",
|
|
517
|
+
"external"
|
|
518
|
+
]);
|
|
519
|
+
|
|
520
|
+
const chatMemberRoleSchema = z.enum(["owner", "member"]);
|
|
521
|
+
|
|
522
|
+
const collateralTypeSchema = z.enum([
|
|
523
|
+
"receivables_assignment",
|
|
524
|
+
"ownership_transfer",
|
|
525
|
+
"pledge",
|
|
526
|
+
"land_charge",
|
|
527
|
+
"guarantee",
|
|
528
|
+
"other"
|
|
529
|
+
]);
|
|
530
|
+
|
|
531
|
+
const commercialRegisterSectionSchema = z.enum([
|
|
532
|
+
"HRA",
|
|
533
|
+
"HRB",
|
|
534
|
+
"PR",
|
|
535
|
+
"GnR",
|
|
536
|
+
"VR"
|
|
537
|
+
]);
|
|
538
|
+
|
|
539
|
+
const composePlatformInvoiceOutcomeSchema = z.enum([
|
|
540
|
+
"composed",
|
|
541
|
+
"no_owner",
|
|
542
|
+
"other_currency",
|
|
543
|
+
"owner_not_ready",
|
|
544
|
+
"credit",
|
|
545
|
+
"tax_not_stated",
|
|
546
|
+
"tax_without_registration",
|
|
547
|
+
"tax_code_missing",
|
|
548
|
+
"totals_differ"
|
|
549
|
+
]);
|
|
550
|
+
|
|
551
|
+
const confirmContactEmailChangeOutcomeSchema = z.enum([
|
|
552
|
+
"completed",
|
|
553
|
+
"certificate_required"
|
|
554
|
+
]);
|
|
555
|
+
|
|
556
|
+
const consolidationEliminationSourceSchema = z.enum([
|
|
557
|
+
"owner_capital",
|
|
558
|
+
"inter_entity_loan"
|
|
559
|
+
]);
|
|
560
|
+
|
|
561
|
+
const consolidationResidueReasonSchema = z.enum([
|
|
562
|
+
"owner_capital_drift",
|
|
563
|
+
"loan_without_link",
|
|
564
|
+
"loan_balances_differ"
|
|
565
|
+
]);
|
|
566
|
+
|
|
567
|
+
const contactEmailAudienceSchema = z.enum(["company", "person"]);
|
|
568
|
+
|
|
569
|
+
const contactEmailTypeSchema = z.enum(["primary", "billing"]);
|
|
570
|
+
|
|
571
|
+
const contactEmailVerificationStatusSchema = z.enum([
|
|
572
|
+
"pending",
|
|
573
|
+
"verified",
|
|
574
|
+
"completed",
|
|
575
|
+
"superseded"
|
|
576
|
+
]);
|
|
577
|
+
|
|
578
|
+
const contractAssuranceLevelSchema = z.enum(["ses", "aes"]);
|
|
579
|
+
|
|
580
|
+
const contractClauseKeySchema = z.enum([
|
|
581
|
+
"loan_grant",
|
|
582
|
+
"interest",
|
|
583
|
+
"loan_term",
|
|
584
|
+
"early_repayment",
|
|
585
|
+
"collateral",
|
|
586
|
+
"payment_default",
|
|
587
|
+
"termination",
|
|
588
|
+
"economic_effect",
|
|
589
|
+
"final_provisions",
|
|
590
|
+
"leased_property",
|
|
591
|
+
"lease_term",
|
|
592
|
+
"rent",
|
|
593
|
+
"deposit",
|
|
594
|
+
"handover",
|
|
595
|
+
"keys",
|
|
596
|
+
"use_and_subletting",
|
|
597
|
+
"house_rules",
|
|
598
|
+
"maintenance",
|
|
599
|
+
"end_of_lease",
|
|
600
|
+
"supersession"
|
|
601
|
+
]);
|
|
602
|
+
|
|
603
|
+
const contractIdentifierPositionSchema = z.enum([
|
|
604
|
+
"footer_left",
|
|
605
|
+
"footer_split",
|
|
606
|
+
"side_right",
|
|
607
|
+
"badge_top_right"
|
|
608
|
+
]);
|
|
609
|
+
|
|
610
|
+
const contractPageNumberNumeralSchema = z.enum(["arabic", "roman"]);
|
|
611
|
+
|
|
612
|
+
const contractPageNumberPositionSchema = z.enum([
|
|
613
|
+
"bottom_left",
|
|
614
|
+
"bottom_center",
|
|
615
|
+
"bottom_right"
|
|
616
|
+
]);
|
|
617
|
+
|
|
618
|
+
const contractPartyRoleSchema = z.enum([
|
|
619
|
+
"lender",
|
|
620
|
+
"borrower",
|
|
621
|
+
"landlord",
|
|
622
|
+
"renter",
|
|
623
|
+
"head_landlord"
|
|
624
|
+
]);
|
|
625
|
+
|
|
626
|
+
const contractScanContentTypeSchema = z.enum([
|
|
627
|
+
"application/pdf",
|
|
628
|
+
"image/jpeg",
|
|
629
|
+
"image/png"
|
|
630
|
+
]);
|
|
631
|
+
|
|
632
|
+
const contractSignatoryChannelPolicySchema = z.enum([
|
|
633
|
+
"electronic",
|
|
634
|
+
"paper_upload",
|
|
635
|
+
"open"
|
|
636
|
+
]);
|
|
637
|
+
|
|
638
|
+
const contractSignatoryChannelSchema = z.enum([
|
|
639
|
+
"electronic",
|
|
640
|
+
"paper_upload"
|
|
641
|
+
]);
|
|
642
|
+
|
|
643
|
+
const contractSignatoryStatusSchema = z.enum([
|
|
644
|
+
"pending",
|
|
645
|
+
"sent",
|
|
646
|
+
"viewed",
|
|
647
|
+
"paper_uploaded",
|
|
648
|
+
"signed",
|
|
649
|
+
"declined",
|
|
650
|
+
"revoked",
|
|
651
|
+
"expired"
|
|
652
|
+
]);
|
|
653
|
+
|
|
654
|
+
const contractStatusSchema = z.enum([
|
|
655
|
+
"draft",
|
|
656
|
+
"sent",
|
|
657
|
+
"formed",
|
|
658
|
+
"active",
|
|
659
|
+
"completed",
|
|
660
|
+
"terminated",
|
|
661
|
+
"cancelled",
|
|
662
|
+
"superseded",
|
|
663
|
+
"archived"
|
|
664
|
+
]);
|
|
665
|
+
|
|
666
|
+
const contractTypeSchema = z.enum([
|
|
667
|
+
"craft",
|
|
668
|
+
"service",
|
|
669
|
+
"purchase",
|
|
670
|
+
"rental",
|
|
671
|
+
"loan"
|
|
672
|
+
]);
|
|
673
|
+
|
|
674
|
+
const contractTypographySchema = z.enum([
|
|
675
|
+
"serif",
|
|
676
|
+
"sans",
|
|
677
|
+
"brand_system",
|
|
678
|
+
"brand_accent"
|
|
679
|
+
]);
|
|
680
|
+
|
|
681
|
+
const corporateTaxRateTypeSchema = z.enum(["income_tax", "surcharge"]);
|
|
682
|
+
|
|
683
|
+
const corporationEntityTypeSchema = z.enum(["gmbh", "ug", "ag", "kgaa"]);
|
|
684
|
+
|
|
685
|
+
const correspondenceCardinalitySchema = z.enum([
|
|
686
|
+
"one_to_one",
|
|
687
|
+
"many_to_one",
|
|
688
|
+
"split"
|
|
689
|
+
]);
|
|
690
|
+
|
|
691
|
+
const correspondenceSourceSchema = z.enum([
|
|
692
|
+
"datev_2026_charts",
|
|
693
|
+
"manual"
|
|
694
|
+
]);
|
|
695
|
+
|
|
696
|
+
const countrySchema = z.enum([
|
|
697
|
+
"DE",
|
|
698
|
+
"AT",
|
|
699
|
+
"CH",
|
|
700
|
+
"LI",
|
|
701
|
+
"FR",
|
|
702
|
+
"NL",
|
|
703
|
+
"BE",
|
|
704
|
+
"LU",
|
|
705
|
+
"PL",
|
|
706
|
+
"CZ",
|
|
707
|
+
"DK",
|
|
708
|
+
"IT",
|
|
709
|
+
"ES",
|
|
710
|
+
"PT",
|
|
711
|
+
"IE",
|
|
712
|
+
"GB",
|
|
713
|
+
"SE",
|
|
714
|
+
"FI",
|
|
715
|
+
"NO",
|
|
716
|
+
"GR",
|
|
717
|
+
"HU",
|
|
718
|
+
"SK",
|
|
719
|
+
"SI",
|
|
720
|
+
"HR",
|
|
721
|
+
"RO",
|
|
722
|
+
"BG",
|
|
723
|
+
"EE",
|
|
724
|
+
"LV",
|
|
725
|
+
"LT",
|
|
726
|
+
"MT",
|
|
727
|
+
"CY",
|
|
728
|
+
"US",
|
|
729
|
+
"CA",
|
|
730
|
+
"JP",
|
|
731
|
+
"CN",
|
|
732
|
+
"IN",
|
|
733
|
+
"AU",
|
|
734
|
+
"NZ",
|
|
735
|
+
"SG",
|
|
736
|
+
"HK",
|
|
737
|
+
"AE",
|
|
738
|
+
"BR",
|
|
739
|
+
"MX",
|
|
740
|
+
"ZA",
|
|
741
|
+
"EG",
|
|
742
|
+
"MA",
|
|
743
|
+
"RU",
|
|
744
|
+
"TR",
|
|
745
|
+
"IL",
|
|
746
|
+
"KR",
|
|
747
|
+
"AD",
|
|
748
|
+
"AF",
|
|
749
|
+
"AG",
|
|
750
|
+
"AI",
|
|
751
|
+
"AL",
|
|
752
|
+
"AM",
|
|
753
|
+
"AO",
|
|
754
|
+
"AQ",
|
|
755
|
+
"AR",
|
|
756
|
+
"AS",
|
|
757
|
+
"AW",
|
|
758
|
+
"AX",
|
|
759
|
+
"AZ",
|
|
760
|
+
"BA",
|
|
761
|
+
"BB",
|
|
762
|
+
"BD",
|
|
763
|
+
"BF",
|
|
764
|
+
"BH",
|
|
765
|
+
"BI",
|
|
766
|
+
"BJ",
|
|
767
|
+
"BL",
|
|
768
|
+
"BM",
|
|
769
|
+
"BN",
|
|
770
|
+
"BO",
|
|
771
|
+
"BQ",
|
|
772
|
+
"BS",
|
|
773
|
+
"BT",
|
|
774
|
+
"BV",
|
|
775
|
+
"BW",
|
|
776
|
+
"BY",
|
|
777
|
+
"BZ",
|
|
778
|
+
"CC",
|
|
779
|
+
"CD",
|
|
780
|
+
"CF",
|
|
781
|
+
"CG",
|
|
782
|
+
"CI",
|
|
783
|
+
"CK",
|
|
784
|
+
"CL",
|
|
785
|
+
"CM",
|
|
786
|
+
"CO",
|
|
787
|
+
"CR",
|
|
788
|
+
"CU",
|
|
789
|
+
"CV",
|
|
790
|
+
"CW",
|
|
791
|
+
"CX",
|
|
792
|
+
"DJ",
|
|
793
|
+
"DM",
|
|
794
|
+
"DO",
|
|
795
|
+
"DZ",
|
|
796
|
+
"EC",
|
|
797
|
+
"EH",
|
|
798
|
+
"ER",
|
|
799
|
+
"ET",
|
|
800
|
+
"FJ",
|
|
801
|
+
"FK",
|
|
802
|
+
"FM",
|
|
803
|
+
"FO",
|
|
804
|
+
"GA",
|
|
805
|
+
"GD",
|
|
806
|
+
"GE",
|
|
807
|
+
"GF",
|
|
808
|
+
"GG",
|
|
809
|
+
"GH",
|
|
810
|
+
"GI",
|
|
811
|
+
"GL",
|
|
812
|
+
"GM",
|
|
813
|
+
"GN",
|
|
814
|
+
"GP",
|
|
815
|
+
"GQ",
|
|
816
|
+
"GS",
|
|
817
|
+
"GT",
|
|
818
|
+
"GU",
|
|
819
|
+
"GW",
|
|
820
|
+
"GY",
|
|
821
|
+
"HM",
|
|
822
|
+
"HN",
|
|
823
|
+
"HT",
|
|
824
|
+
"ID",
|
|
825
|
+
"IM",
|
|
826
|
+
"IO",
|
|
827
|
+
"IQ",
|
|
828
|
+
"IR",
|
|
829
|
+
"IS",
|
|
830
|
+
"JE",
|
|
831
|
+
"JM",
|
|
832
|
+
"JO",
|
|
833
|
+
"KE",
|
|
834
|
+
"KG",
|
|
835
|
+
"KH",
|
|
836
|
+
"KI",
|
|
837
|
+
"KM",
|
|
838
|
+
"KN",
|
|
839
|
+
"KP",
|
|
840
|
+
"KW",
|
|
841
|
+
"KY",
|
|
842
|
+
"KZ",
|
|
843
|
+
"LA",
|
|
844
|
+
"LB",
|
|
845
|
+
"LC",
|
|
846
|
+
"LK",
|
|
847
|
+
"LR",
|
|
848
|
+
"LS",
|
|
849
|
+
"LY",
|
|
850
|
+
"MC",
|
|
851
|
+
"MD",
|
|
852
|
+
"ME",
|
|
853
|
+
"MF",
|
|
854
|
+
"MG",
|
|
855
|
+
"MH",
|
|
856
|
+
"MK",
|
|
857
|
+
"ML",
|
|
858
|
+
"MM",
|
|
859
|
+
"MN",
|
|
860
|
+
"MO",
|
|
861
|
+
"MP",
|
|
862
|
+
"MQ",
|
|
863
|
+
"MR",
|
|
864
|
+
"MS",
|
|
865
|
+
"MU",
|
|
866
|
+
"MV",
|
|
867
|
+
"MW",
|
|
868
|
+
"MY",
|
|
869
|
+
"MZ",
|
|
870
|
+
"NA",
|
|
871
|
+
"NC",
|
|
872
|
+
"NE",
|
|
873
|
+
"NF",
|
|
874
|
+
"NG",
|
|
875
|
+
"NI",
|
|
876
|
+
"NP",
|
|
877
|
+
"NR",
|
|
878
|
+
"NU",
|
|
879
|
+
"OM",
|
|
880
|
+
"PA",
|
|
881
|
+
"PE",
|
|
882
|
+
"PF",
|
|
883
|
+
"PG",
|
|
884
|
+
"PH",
|
|
885
|
+
"PK",
|
|
886
|
+
"PM",
|
|
887
|
+
"PN",
|
|
888
|
+
"PR",
|
|
889
|
+
"PS",
|
|
890
|
+
"PW",
|
|
891
|
+
"PY",
|
|
892
|
+
"QA",
|
|
893
|
+
"RE",
|
|
894
|
+
"RS",
|
|
895
|
+
"RW",
|
|
896
|
+
"SA",
|
|
897
|
+
"SB",
|
|
898
|
+
"SC",
|
|
899
|
+
"SD",
|
|
900
|
+
"SH",
|
|
901
|
+
"SJ",
|
|
902
|
+
"SL",
|
|
903
|
+
"SM",
|
|
904
|
+
"SN",
|
|
905
|
+
"SO",
|
|
906
|
+
"SR",
|
|
907
|
+
"SS",
|
|
908
|
+
"ST",
|
|
909
|
+
"SV",
|
|
910
|
+
"SX",
|
|
911
|
+
"SY",
|
|
912
|
+
"SZ",
|
|
913
|
+
"TC",
|
|
914
|
+
"TD",
|
|
915
|
+
"TF",
|
|
916
|
+
"TG",
|
|
917
|
+
"TH",
|
|
918
|
+
"TJ",
|
|
919
|
+
"TK",
|
|
920
|
+
"TL",
|
|
921
|
+
"TM",
|
|
922
|
+
"TN",
|
|
923
|
+
"TO",
|
|
924
|
+
"TT",
|
|
925
|
+
"TV",
|
|
926
|
+
"TW",
|
|
927
|
+
"TZ",
|
|
928
|
+
"UA",
|
|
929
|
+
"UG",
|
|
930
|
+
"UM",
|
|
931
|
+
"UY",
|
|
932
|
+
"UZ",
|
|
933
|
+
"VA",
|
|
934
|
+
"VC",
|
|
935
|
+
"VE",
|
|
936
|
+
"VG",
|
|
937
|
+
"VI",
|
|
938
|
+
"VN",
|
|
939
|
+
"VU",
|
|
940
|
+
"WF",
|
|
941
|
+
"WS",
|
|
942
|
+
"YE",
|
|
943
|
+
"YT",
|
|
944
|
+
"ZM",
|
|
945
|
+
"ZW"
|
|
946
|
+
]);
|
|
947
|
+
|
|
948
|
+
const creditBalanceUseSchema = z.enum(["offset", "refund"]);
|
|
949
|
+
|
|
950
|
+
const currencySchema = z.enum(["EUR", "CHF"]);
|
|
951
|
+
|
|
952
|
+
const datevBusinessPartnerTypeSchema = z.enum([
|
|
953
|
+
"company",
|
|
954
|
+
"person",
|
|
955
|
+
"unspecified"
|
|
956
|
+
]);
|
|
957
|
+
|
|
958
|
+
const datevExportRefusalReasonSchema = z.enum([
|
|
959
|
+
"not_a_datev_file",
|
|
960
|
+
"unsupported_category",
|
|
961
|
+
"empty",
|
|
962
|
+
"currency",
|
|
963
|
+
"too_large"
|
|
964
|
+
]);
|
|
965
|
+
|
|
966
|
+
const datevFormatCategorySchema = z.enum([
|
|
967
|
+
"bookings",
|
|
968
|
+
"account_labels",
|
|
969
|
+
"business_partners"
|
|
970
|
+
]);
|
|
971
|
+
|
|
972
|
+
const datevLegalFormFamilySchema = z.enum([
|
|
973
|
+
"sole_proprietor",
|
|
974
|
+
"partnership",
|
|
975
|
+
"corporation"
|
|
976
|
+
]);
|
|
977
|
+
|
|
978
|
+
const datevStackTypeSchema = z.enum(["EXTF", "DTVF"]);
|
|
979
|
+
|
|
980
|
+
const dayCountConventionSchema = z.enum([
|
|
981
|
+
"act_360",
|
|
982
|
+
"act_365",
|
|
983
|
+
"e30_360"
|
|
984
|
+
]);
|
|
985
|
+
|
|
986
|
+
const dayOfWeekSchema = z.enum([
|
|
987
|
+
"monday",
|
|
988
|
+
"tuesday",
|
|
989
|
+
"wednesday",
|
|
990
|
+
"thursday",
|
|
991
|
+
"friday",
|
|
992
|
+
"saturday",
|
|
993
|
+
"sunday"
|
|
994
|
+
]);
|
|
995
|
+
|
|
996
|
+
const dealStageSchema = z.enum([
|
|
997
|
+
"identified",
|
|
998
|
+
"contacted",
|
|
999
|
+
"engaged",
|
|
1000
|
+
"demo",
|
|
1001
|
+
"offer",
|
|
1002
|
+
"won",
|
|
1003
|
+
"lost"
|
|
1004
|
+
]);
|
|
1005
|
+
|
|
1006
|
+
const dealValueSourceSchema = z.enum(["pricing", "manual"]);
|
|
1007
|
+
|
|
1008
|
+
const defectResponsibilitySchema = z.enum([
|
|
1009
|
+
"renter",
|
|
1010
|
+
"landlord",
|
|
1011
|
+
"wear_and_tear",
|
|
1012
|
+
"unknown"
|
|
1013
|
+
]);
|
|
1014
|
+
|
|
1015
|
+
const depositCustodyModelSchema = z.enum(["held", "separate_account"]);
|
|
1016
|
+
|
|
1017
|
+
const depreciationRefusalTypeSchema = z.enum([
|
|
1018
|
+
"no_expense_account",
|
|
1019
|
+
"no_position"
|
|
1020
|
+
]);
|
|
1021
|
+
|
|
1022
|
+
const directionSchema = z.enum(["left", "right", "up", "down"]);
|
|
1023
|
+
|
|
1024
|
+
const directionXSchema = z.enum(["left", "right"]);
|
|
1025
|
+
|
|
1026
|
+
const directionYSchema = z.enum(["up", "down"]);
|
|
1027
|
+
|
|
1028
|
+
const documentAccessTypeSchema = z.enum(["view", "download", "sent"]);
|
|
1029
|
+
|
|
1030
|
+
const documentClassificationStateSchema = z.enum([
|
|
1031
|
+
"unclassified",
|
|
1032
|
+
"proposed",
|
|
1033
|
+
"confirmed"
|
|
1034
|
+
]);
|
|
1035
|
+
|
|
1036
|
+
const documentLinkProvenanceSchema = z.enum(["rule", "model", "user"]);
|
|
1037
|
+
|
|
1038
|
+
const documentLinkRelationTypeSchema = z.enum([
|
|
1039
|
+
"reminder_for",
|
|
1040
|
+
"delivery_note_for",
|
|
1041
|
+
"credit_note_for",
|
|
1042
|
+
"confirmation_for",
|
|
1043
|
+
"invoice_for",
|
|
1044
|
+
"correction_of",
|
|
1045
|
+
"related_to"
|
|
1046
|
+
]);
|
|
1047
|
+
|
|
1048
|
+
const documentLinkStatusSchema = z.enum([
|
|
1049
|
+
"suggested",
|
|
1050
|
+
"confirmed",
|
|
1051
|
+
"rejected"
|
|
1052
|
+
]);
|
|
1053
|
+
|
|
1054
|
+
const documentOwnerTypeSchema = z.enum([
|
|
1055
|
+
"invoice",
|
|
1056
|
+
"loan",
|
|
1057
|
+
"bank_statement_import",
|
|
1058
|
+
"dunning_notice",
|
|
1059
|
+
"payment",
|
|
1060
|
+
"asset",
|
|
1061
|
+
"party",
|
|
1062
|
+
"entity",
|
|
1063
|
+
"contract",
|
|
1064
|
+
"order",
|
|
1065
|
+
"report",
|
|
1066
|
+
"snapshot",
|
|
1067
|
+
"filing",
|
|
1068
|
+
"handover_item",
|
|
1069
|
+
"journal_import",
|
|
1070
|
+
"datev_export_file",
|
|
1071
|
+
"rental",
|
|
1072
|
+
"message",
|
|
1073
|
+
"formation_step",
|
|
1074
|
+
"entity_decision"
|
|
1075
|
+
]);
|
|
1076
|
+
|
|
1077
|
+
const documentSourceSchema = z.enum([
|
|
1078
|
+
"upload",
|
|
1079
|
+
"scan",
|
|
1080
|
+
"email",
|
|
1081
|
+
"elster",
|
|
1082
|
+
"generated"
|
|
1083
|
+
]);
|
|
1084
|
+
|
|
1085
|
+
const documentStatusSchema = z.enum(["active", "frozen", "deleted"]);
|
|
1086
|
+
|
|
1087
|
+
const documentTypeSchema = z.enum([
|
|
1088
|
+
"invoice",
|
|
1089
|
+
"reminder",
|
|
1090
|
+
"delivery_note",
|
|
1091
|
+
"offer",
|
|
1092
|
+
"order_confirmation",
|
|
1093
|
+
"credit_note",
|
|
1094
|
+
"contract",
|
|
1095
|
+
"official_letter",
|
|
1096
|
+
"payslip",
|
|
1097
|
+
"bank_statement",
|
|
1098
|
+
"enrolment_certificate",
|
|
1099
|
+
"identity_document",
|
|
1100
|
+
"trial_balance",
|
|
1101
|
+
"account_proof",
|
|
1102
|
+
"profit_statement",
|
|
1103
|
+
"fixed_asset_register",
|
|
1104
|
+
"management_report",
|
|
1105
|
+
"advance_vat_return",
|
|
1106
|
+
"tax_return",
|
|
1107
|
+
"tax_assessment",
|
|
1108
|
+
"datev_export",
|
|
1109
|
+
"other"
|
|
1110
|
+
]);
|
|
1111
|
+
|
|
1112
|
+
const dueFilingUrgencySchema = z.enum(["overdue", "due_soon", "next_up"]);
|
|
1113
|
+
|
|
1114
|
+
const dunningDefaultEntryRuleSchema = z.enum([
|
|
1115
|
+
"reminder",
|
|
1116
|
+
"thirty_day_clause",
|
|
1117
|
+
"fixed_due_date"
|
|
1118
|
+
]);
|
|
1119
|
+
|
|
1120
|
+
const dunningHoldReasonSchema = z.enum(["creditor_collects"]);
|
|
1121
|
+
|
|
1122
|
+
const dunningLevelSchema = z.enum([
|
|
1123
|
+
"friendly_reminder",
|
|
1124
|
+
"first_notice",
|
|
1125
|
+
"second_notice",
|
|
1126
|
+
"final_notice"
|
|
1127
|
+
]);
|
|
1128
|
+
|
|
1129
|
+
const dunningLumpSumChoiceSchema = z.enum(["charge", "waive"]);
|
|
1130
|
+
|
|
1131
|
+
const dunningLumpSumRungSchema = z.enum([
|
|
1132
|
+
"first_notice",
|
|
1133
|
+
"second_notice",
|
|
1134
|
+
"final_notice",
|
|
1135
|
+
"never"
|
|
1136
|
+
]);
|
|
1137
|
+
|
|
1138
|
+
const dunningNoticeItemTypeSchema = z.enum(["principal", "side_claim"]);
|
|
1139
|
+
|
|
1140
|
+
const dunningNoticeStatusSchema = z.enum([
|
|
1141
|
+
"proposed",
|
|
1142
|
+
"sent",
|
|
1143
|
+
"settled",
|
|
1144
|
+
"escalated",
|
|
1145
|
+
"handed_over"
|
|
1146
|
+
]);
|
|
1147
|
+
|
|
1148
|
+
const dunningNoticeTypeSchema = z.enum(["ladder", "side_claims_only"]);
|
|
1149
|
+
|
|
1150
|
+
const duplicateCandidateStatusSchema = z.enum([
|
|
1151
|
+
"suggested",
|
|
1152
|
+
"confirmed",
|
|
1153
|
+
"dismissed"
|
|
1154
|
+
]);
|
|
1155
|
+
|
|
1156
|
+
const ebilanzOutputFormatSchema = z.enum(["xml", "json"]);
|
|
1157
|
+
|
|
1158
|
+
const elsterCertificatePurposeSchema = z.enum([
|
|
1159
|
+
"person_consent",
|
|
1160
|
+
"company_consent",
|
|
1161
|
+
"filing"
|
|
1162
|
+
]);
|
|
1163
|
+
|
|
1164
|
+
const elsterProblemKeySchema = z.enum([
|
|
1165
|
+
"certificate_password_wrong",
|
|
1166
|
+
"certificate_password_locked",
|
|
1167
|
+
"certificate_unreadable",
|
|
1168
|
+
"certificate_expired",
|
|
1169
|
+
"certificate_is_test_certificate",
|
|
1170
|
+
"certificate_registered_with_tax_number",
|
|
1171
|
+
"certificate_not_permitted_for_procedure",
|
|
1172
|
+
"certificate_of_another_person",
|
|
1173
|
+
"consent_not_yours",
|
|
1174
|
+
"platform_configuration",
|
|
1175
|
+
"unknown"
|
|
1176
|
+
]);
|
|
1177
|
+
|
|
1178
|
+
const employmentTypeSchema = z.enum([
|
|
1179
|
+
"full_time",
|
|
1180
|
+
"part_time",
|
|
1181
|
+
"mini_job"
|
|
1182
|
+
]);
|
|
1183
|
+
|
|
1184
|
+
const entityAssetTypeSchema = z.enum([
|
|
1185
|
+
"logomark",
|
|
1186
|
+
"wordmark",
|
|
1187
|
+
"combinationmark_horizontal",
|
|
1188
|
+
"combinationmark_vertical",
|
|
1189
|
+
"icon"
|
|
1190
|
+
]);
|
|
1191
|
+
|
|
1192
|
+
const entityDecisionReasonSchema = z.enum([
|
|
1193
|
+
"initial",
|
|
1194
|
+
"elective",
|
|
1195
|
+
"good_business_reason",
|
|
1196
|
+
"bookkeeping_duty_notice",
|
|
1197
|
+
"small_merchant_thresholds_exceeded",
|
|
1198
|
+
"small_business_opt_out",
|
|
1199
|
+
"small_business_opt_in",
|
|
1200
|
+
"founding_period_end",
|
|
1201
|
+
"threshold_cross",
|
|
1202
|
+
"threshold_drop",
|
|
1203
|
+
"permanent_extension",
|
|
1204
|
+
"became_merchant"
|
|
1205
|
+
]);
|
|
1206
|
+
|
|
1207
|
+
const entityDecisionSourceSchema = z.enum(["entity", "authority", "law"]);
|
|
1208
|
+
|
|
1209
|
+
const entityDecisionStatusSchema = z.enum([
|
|
1210
|
+
"recorded",
|
|
1211
|
+
"overturned",
|
|
1212
|
+
"rejected"
|
|
1213
|
+
]);
|
|
1214
|
+
|
|
1215
|
+
const entityDecisionTypeSchema = z.enum([
|
|
1216
|
+
"profit_determination_method",
|
|
1217
|
+
"small_merchant_exemption",
|
|
1218
|
+
"bookkeeping_duty_notice",
|
|
1219
|
+
"balance_sheet_standard",
|
|
1220
|
+
"chart_of_accounts",
|
|
1221
|
+
"vat_filing_cadence",
|
|
1222
|
+
"vat_liability",
|
|
1223
|
+
"vat_taxation_method",
|
|
1224
|
+
"vat_permanent_extension",
|
|
1225
|
+
"entity_type",
|
|
1226
|
+
"declared_size"
|
|
1227
|
+
]);
|
|
1228
|
+
|
|
1229
|
+
const entityDocumentTypeSchema = z.enum([
|
|
1230
|
+
"ebilanz_confirmation",
|
|
1231
|
+
"kst_confirmation",
|
|
1232
|
+
"gewst_confirmation",
|
|
1233
|
+
"unternehmensregister_confirmation"
|
|
1234
|
+
]);
|
|
1235
|
+
|
|
1236
|
+
const entityDomainAddressPurposeSchema = z.enum(["contact"]);
|
|
1237
|
+
|
|
1238
|
+
const entityDomainStatusSchema = z.enum([
|
|
1239
|
+
"pending",
|
|
1240
|
+
"verified",
|
|
1241
|
+
"failed",
|
|
1242
|
+
"temporary_failure"
|
|
1243
|
+
]);
|
|
1244
|
+
|
|
1245
|
+
const entityRelationshipTypeSchema = z.enum([
|
|
1246
|
+
"controlled_by",
|
|
1247
|
+
"controls",
|
|
1248
|
+
"sibling",
|
|
1249
|
+
"taxpayer_unit"
|
|
1250
|
+
]);
|
|
1251
|
+
|
|
1252
|
+
const entityTypeSchema = z.enum([
|
|
1253
|
+
"person",
|
|
1254
|
+
"sole_prop",
|
|
1255
|
+
"gmbh",
|
|
1256
|
+
"ug",
|
|
1257
|
+
"ag",
|
|
1258
|
+
"kg",
|
|
1259
|
+
"ohg",
|
|
1260
|
+
"gbr",
|
|
1261
|
+
"eg",
|
|
1262
|
+
"kgaa",
|
|
1263
|
+
"gmbh_co_kg",
|
|
1264
|
+
"sole_prop_ek"
|
|
1265
|
+
]);
|
|
1266
|
+
|
|
1267
|
+
const entityUserStatusSchema = z.enum([
|
|
1268
|
+
"pending",
|
|
1269
|
+
"confirmed",
|
|
1270
|
+
"revoked"
|
|
1271
|
+
]);
|
|
1272
|
+
|
|
1273
|
+
const estScheduleSchema = z.enum([
|
|
1274
|
+
"anlage_n",
|
|
1275
|
+
"anlage_kap",
|
|
1276
|
+
"anlage_kind"
|
|
1277
|
+
]);
|
|
1278
|
+
|
|
1279
|
+
const euerLineNatureSchema = z.enum([
|
|
1280
|
+
"income",
|
|
1281
|
+
"expense",
|
|
1282
|
+
"expense_reduction",
|
|
1283
|
+
"memo",
|
|
1284
|
+
"withdrawal",
|
|
1285
|
+
"deposit"
|
|
1286
|
+
]);
|
|
1287
|
+
|
|
1288
|
+
const externalFilingDeclaredBySchema = z.enum([
|
|
1289
|
+
"former_advisor",
|
|
1290
|
+
"owner"
|
|
1291
|
+
]);
|
|
1292
|
+
|
|
1293
|
+
const extractionStatusSchema = z.enum([
|
|
1294
|
+
"pending",
|
|
1295
|
+
"processing",
|
|
1296
|
+
"completed",
|
|
1297
|
+
"failed"
|
|
1298
|
+
]);
|
|
1299
|
+
|
|
1300
|
+
const featureCategorySchema = z.enum([
|
|
1301
|
+
"audit",
|
|
1302
|
+
"auth",
|
|
1303
|
+
"billing",
|
|
1304
|
+
"collaboration",
|
|
1305
|
+
"core",
|
|
1306
|
+
"documents",
|
|
1307
|
+
"entities",
|
|
1308
|
+
"integrations",
|
|
1309
|
+
"invoices",
|
|
1310
|
+
"journal",
|
|
1311
|
+
"marketing",
|
|
1312
|
+
"metrics",
|
|
1313
|
+
"payroll",
|
|
1314
|
+
"platform",
|
|
1315
|
+
"properties",
|
|
1316
|
+
"reporting",
|
|
1317
|
+
"settings",
|
|
1318
|
+
"transactions",
|
|
1319
|
+
"wealth"
|
|
1320
|
+
]);
|
|
1321
|
+
|
|
1322
|
+
const featureGateSchema = z.enum([
|
|
1323
|
+
"loan-contracts",
|
|
1324
|
+
"invoicing",
|
|
1325
|
+
"renter-hub",
|
|
1326
|
+
"vanity-domain",
|
|
1327
|
+
"vanity-email",
|
|
1328
|
+
"vanity-mailbox",
|
|
1329
|
+
"vanity-url",
|
|
1330
|
+
"renter-chat",
|
|
1331
|
+
"cleaning-schedule",
|
|
1332
|
+
"renter-documents",
|
|
1333
|
+
"whitelabel-branding",
|
|
1334
|
+
"payment-reminders",
|
|
1335
|
+
"property-management"
|
|
1336
|
+
]);
|
|
1337
|
+
|
|
1338
|
+
const featureStatusSchema = z.enum([
|
|
1339
|
+
"backlog",
|
|
1340
|
+
"in_development",
|
|
1341
|
+
"released"
|
|
1342
|
+
]);
|
|
1343
|
+
|
|
1344
|
+
const fetchOpenPlatformInvoicesBodySchema = z.object({
|
|
1345
|
+
filters: z.object({
|
|
1346
|
+
platform: z.string().min(1).describe(
|
|
1347
|
+
"The platform whose invoices are asked for, as it names itself (order3000)"
|
|
1348
|
+
)
|
|
1349
|
+
}),
|
|
1350
|
+
pagination: z.optional(
|
|
1351
|
+
z.object({
|
|
1352
|
+
page: z.int().max(9007199254740991).gt(0).default(1),
|
|
1353
|
+
pageSize: z.int().max(100).gt(0).default(10)
|
|
1354
|
+
})
|
|
1355
|
+
)
|
|
1356
|
+
});
|
|
1357
|
+
|
|
1358
|
+
const invoiceStatusSchema = z.enum([
|
|
1359
|
+
"draft",
|
|
1360
|
+
"booked",
|
|
1361
|
+
"paid",
|
|
1362
|
+
"cancelled",
|
|
1363
|
+
"overdue",
|
|
1364
|
+
"issued"
|
|
1365
|
+
]);
|
|
1366
|
+
|
|
1367
|
+
const fetchOpenPlatformInvoicesResponseSchema = z.array(
|
|
1368
|
+
z.object({
|
|
1369
|
+
id: z.string(),
|
|
1370
|
+
invoiceNumber: z.nullable(z.string()),
|
|
1371
|
+
get status() {
|
|
1372
|
+
return invoiceStatusSchema;
|
|
1373
|
+
},
|
|
1374
|
+
issueDate: z.string(),
|
|
1375
|
+
dueDate: z.nullable(z.string()),
|
|
1376
|
+
currency: z.string(),
|
|
1377
|
+
netAmount: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
1378
|
+
taxAmount: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
1379
|
+
amount: z.int().min(-2147483648).max(2147483647),
|
|
1380
|
+
paymentStatementDescriptor: z.nullable(z.string()),
|
|
1381
|
+
stripeInvoiceId: z.string().describe("The payment provider's id of the platform's invoice")
|
|
1382
|
+
})
|
|
1383
|
+
);
|
|
1384
|
+
|
|
1385
|
+
const platformChargeCustomerSchema = z.object({
|
|
1386
|
+
key: z.string().min(1).describe(
|
|
1387
|
+
"The platform\u2019s own id of the customer; the answer is keyed by it"
|
|
1388
|
+
),
|
|
1389
|
+
country: z.string().min(2).max(2).describe(
|
|
1390
|
+
"The customer\u2019s country, ISO 3166-1 alpha-2 \u2014 for a visitor before any customer exists, the country the page is shown for"
|
|
1391
|
+
),
|
|
1392
|
+
isConsumer: z.boolean().describe(
|
|
1393
|
+
"A consumer pays the listed price, tax contained; a business is shown it net and pays the tax on top"
|
|
1394
|
+
)
|
|
1395
|
+
});
|
|
1396
|
+
|
|
1397
|
+
const fetchPlatformChargeTaxesBodySchema = z.object({
|
|
1398
|
+
get customers() {
|
|
1399
|
+
return z.array(platformChargeCustomerSchema).min(1).max(500);
|
|
1400
|
+
}
|
|
1401
|
+
});
|
|
1402
|
+
|
|
1403
|
+
const platformChargeTaxSchema = z.object({
|
|
1404
|
+
percent: z.string().describe('The rate in per cent, as a decimal string: "19", "8.1"'),
|
|
1405
|
+
isInclusive: z.boolean().describe(
|
|
1406
|
+
"True when the price contains the tax (a consumer\u2019s), false when it is added on top (a business\u2019s)"
|
|
1407
|
+
),
|
|
1408
|
+
isReverseCharge: z.boolean().describe(
|
|
1409
|
+
"True when the customer owes the tax \u2014 a business in another country than the owner: nothing is charged (percent 0) and the invoice says the customer owes it"
|
|
1410
|
+
),
|
|
1411
|
+
country: z.string().describe(
|
|
1412
|
+
"The country whose tax it is, ISO code \u2014 for a reverse charge, the customer\u2019s"
|
|
1413
|
+
),
|
|
1414
|
+
displayName: z.string().describe("What an invoice calls the tax")
|
|
1415
|
+
}).describe("null where the entity charges this customer no tax");
|
|
1416
|
+
|
|
1417
|
+
const fetchPlatformChargeTaxesResponseSchema = z.object({
|
|
1418
|
+
taxes: z.array(
|
|
1419
|
+
z.object({
|
|
1420
|
+
key: z.string(),
|
|
1421
|
+
get tax() {
|
|
1422
|
+
return platformChargeTaxSchema.nullable();
|
|
1423
|
+
}
|
|
1424
|
+
})
|
|
1425
|
+
)
|
|
1426
|
+
});
|
|
1427
|
+
|
|
1428
|
+
const platformInvoiceLineTypeSchema = z.enum([
|
|
1429
|
+
"plan",
|
|
1430
|
+
"tenant",
|
|
1431
|
+
"module",
|
|
1432
|
+
"module_unit",
|
|
1433
|
+
"other"
|
|
1434
|
+
]);
|
|
1435
|
+
|
|
1436
|
+
const platformInvoiceLineSchema = z.object({
|
|
1437
|
+
get type() {
|
|
1438
|
+
return platformInvoiceLineTypeSchema;
|
|
1439
|
+
},
|
|
1440
|
+
catalogueId: z.nullable(
|
|
1441
|
+
z.string().describe(
|
|
1442
|
+
"The plan, band or module the line bills; null for a line that is none of them"
|
|
1443
|
+
)
|
|
1444
|
+
),
|
|
1445
|
+
description: z.nullable(z.string()),
|
|
1446
|
+
quantity: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1447
|
+
netAmount: z.int().min(-9007199254740991).max(9007199254740991).describe(
|
|
1448
|
+
"Net of tax, in the smallest unit of the currency; negative for a credit of an unused part"
|
|
1449
|
+
),
|
|
1450
|
+
taxAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1451
|
+
taxRatePercent: z.nullable(
|
|
1452
|
+
z.number().describe("The tax rate in per cent; null for a line without tax")
|
|
1453
|
+
),
|
|
1454
|
+
isReverseCharge: z.boolean().default(false).describe(
|
|
1455
|
+
"The customer owes the line\u2019s tax (reverse charge, KLVR-2230): the line is charged at 0 % and the invoice says who owes it"
|
|
1456
|
+
),
|
|
1457
|
+
taxCountry: z.nullable(
|
|
1458
|
+
z.string().min(2).max(2).describe(
|
|
1459
|
+
"The country whose tax the line carries, ISO 3166-1 alpha-2 \u2014 for a reverse charge, where the customer owes it; null where it carries none"
|
|
1460
|
+
)
|
|
1461
|
+
),
|
|
1462
|
+
periodStart: z.iso.datetime(),
|
|
1463
|
+
periodEnd: z.iso.datetime(),
|
|
1464
|
+
isProration: z.boolean()
|
|
1465
|
+
});
|
|
1466
|
+
|
|
1467
|
+
const fetchPlatformInvoicePreviewBodySchema = z.object({
|
|
1468
|
+
currency: z.string().min(3).max(3).describe("ISO 4217, upper case"),
|
|
1469
|
+
issuedAt: z.iso.datetime().describe(
|
|
1470
|
+
"When the invoice would be issued: its VAT rates are those of that day"
|
|
1471
|
+
),
|
|
1472
|
+
grossAmount: z.int().min(-9007199254740991).max(9007199254740991).describe(
|
|
1473
|
+
"What the payment provider will charge, in the smallest unit of the currency"
|
|
1474
|
+
),
|
|
1475
|
+
get lines() {
|
|
1476
|
+
return z.array(platformInvoiceLineSchema);
|
|
1477
|
+
}
|
|
1478
|
+
});
|
|
1479
|
+
|
|
1480
|
+
const platformInvoicePreviewSchema = z.object({
|
|
1481
|
+
currency: z.string(),
|
|
1482
|
+
netAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1483
|
+
taxAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1484
|
+
grossAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1485
|
+
byRate: z.array(
|
|
1486
|
+
z.object({
|
|
1487
|
+
taxRatePercent: z.number(),
|
|
1488
|
+
netAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1489
|
+
taxAmount: z.int().min(-9007199254740991).max(9007199254740991)
|
|
1490
|
+
})
|
|
1491
|
+
).describe("Each rate taxed once, as the invoice prints it"),
|
|
1492
|
+
lines: z.array(
|
|
1493
|
+
z.object({
|
|
1494
|
+
description: z.nullable(z.string()),
|
|
1495
|
+
netAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
1496
|
+
taxRatePercent: z.nullable(
|
|
1497
|
+
z.number().describe("null where the entity charges no VAT")
|
|
1498
|
+
),
|
|
1499
|
+
taxAmount: z.int().min(-9007199254740991).max(9007199254740991)
|
|
1500
|
+
})
|
|
1501
|
+
)
|
|
1502
|
+
}).describe(
|
|
1503
|
+
"The invoice; null when none would be issued (the outcome says why)"
|
|
1504
|
+
);
|
|
1505
|
+
|
|
1506
|
+
const fetchPlatformInvoicePreviewResponseSchema = z.object({
|
|
1507
|
+
get outcome() {
|
|
1508
|
+
return composePlatformInvoiceOutcomeSchema;
|
|
1509
|
+
},
|
|
1510
|
+
get invoice() {
|
|
1511
|
+
return platformInvoicePreviewSchema.nullable();
|
|
1512
|
+
}
|
|
1513
|
+
});
|
|
1514
|
+
|
|
1515
|
+
const fetchPlatformInvoiceResponseSchema = z.object({
|
|
1516
|
+
id: z.string(),
|
|
1517
|
+
invoiceNumber: z.nullable(z.string()),
|
|
1518
|
+
get status() {
|
|
1519
|
+
return invoiceStatusSchema;
|
|
1520
|
+
},
|
|
1521
|
+
issueDate: z.string(),
|
|
1522
|
+
dueDate: z.nullable(z.string()),
|
|
1523
|
+
currency: z.string(),
|
|
1524
|
+
netAmount: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
1525
|
+
taxAmount: z.nullable(z.int().min(-2147483648).max(2147483647)),
|
|
1526
|
+
amount: z.int().min(-2147483648).max(2147483647),
|
|
1527
|
+
paymentStatementDescriptor: z.nullable(z.string())
|
|
1528
|
+
});
|
|
1529
|
+
|
|
1530
|
+
const filingCadenceSchema = z.enum([
|
|
1531
|
+
"monthly",
|
|
1532
|
+
"quarterly",
|
|
1533
|
+
"semi_annual",
|
|
1534
|
+
"annual"
|
|
1535
|
+
]);
|
|
1536
|
+
|
|
1537
|
+
const filingDocumentTypeSchema = z.enum([
|
|
1538
|
+
"xml",
|
|
1539
|
+
"confirmation",
|
|
1540
|
+
"bescheid"
|
|
1541
|
+
]);
|
|
1542
|
+
|
|
1543
|
+
const filingLineSourceSchema = z.enum(["curated", "manual"]);
|
|
1544
|
+
|
|
1545
|
+
const filingStatusSchema = z.enum([
|
|
1546
|
+
"not_started",
|
|
1547
|
+
"submitted",
|
|
1548
|
+
"assessed",
|
|
1549
|
+
"rejected",
|
|
1550
|
+
"superseded",
|
|
1551
|
+
"filed_externally"
|
|
1552
|
+
]);
|
|
1553
|
+
|
|
1554
|
+
const filingTypeSchema = z.enum([
|
|
1555
|
+
"ebilanz",
|
|
1556
|
+
"euer",
|
|
1557
|
+
"kst",
|
|
1558
|
+
"gewst",
|
|
1559
|
+
"ustva",
|
|
1560
|
+
"ust",
|
|
1561
|
+
"est",
|
|
1562
|
+
"separate_determination",
|
|
1563
|
+
"unternehmensregister",
|
|
1564
|
+
"opening_balance",
|
|
1565
|
+
"mwst",
|
|
1566
|
+
"jahresrechnung"
|
|
1567
|
+
]);
|
|
1568
|
+
|
|
1569
|
+
const fixedAssetScheduleProblemTypeSchema = z.enum([
|
|
1570
|
+
"position_balance_mismatch",
|
|
1571
|
+
"opening_values_inconsistent",
|
|
1572
|
+
"asset_without_position",
|
|
1573
|
+
"euer_transfer_mismatch"
|
|
1574
|
+
]);
|
|
1575
|
+
|
|
1576
|
+
const fixedTermFactsTypeSchema = z.enum([
|
|
1577
|
+
"none",
|
|
1578
|
+
"free_text",
|
|
1579
|
+
"occupant",
|
|
1580
|
+
"works",
|
|
1581
|
+
"service_relationship",
|
|
1582
|
+
"temporary_occasion",
|
|
1583
|
+
"public_body_purpose",
|
|
1584
|
+
"allocation_scheme",
|
|
1585
|
+
"semester",
|
|
1586
|
+
"sale"
|
|
1587
|
+
]);
|
|
1588
|
+
|
|
1589
|
+
const fixedTermLegalBasisSchema = z.enum([
|
|
1590
|
+
"own_use",
|
|
1591
|
+
"alteration_or_removal",
|
|
1592
|
+
"service_lease",
|
|
1593
|
+
"temporary_use",
|
|
1594
|
+
"furnished_room_in_landlord_home",
|
|
1595
|
+
"urgent_housing_by_public_body",
|
|
1596
|
+
"student_or_youth_dormitory",
|
|
1597
|
+
"none"
|
|
1598
|
+
]);
|
|
1599
|
+
|
|
1600
|
+
const fixedTermReasonTypeSchema = z.enum(["curated", "authored"]);
|
|
1601
|
+
|
|
1602
|
+
const fontRoleSchema = z.enum(["system", "accent"]);
|
|
1603
|
+
|
|
1604
|
+
const fontStyleSchema = z.enum(["normal", "italic"]);
|
|
1605
|
+
|
|
1606
|
+
const formOfAddressSchema = z.enum(["formal", "informal"]);
|
|
1607
|
+
|
|
1608
|
+
const formationDutyStatusSchema = z.enum([
|
|
1609
|
+
"done",
|
|
1610
|
+
"open",
|
|
1611
|
+
"not_applicable"
|
|
1612
|
+
]);
|
|
1613
|
+
|
|
1614
|
+
const formationNextActionSchema = z.enum([
|
|
1615
|
+
"record_deed",
|
|
1616
|
+
"add_bank_account",
|
|
1617
|
+
"set_share_capital",
|
|
1618
|
+
"book_contribution",
|
|
1619
|
+
"apply_for_register_entry",
|
|
1620
|
+
"record_register_entry",
|
|
1621
|
+
"set_tax_number",
|
|
1622
|
+
"set_vat_id",
|
|
1623
|
+
"set_vat_cadence",
|
|
1624
|
+
"complete",
|
|
1625
|
+
"freeze_opening_balance",
|
|
1626
|
+
"file_opening_balance",
|
|
1627
|
+
"file_tax_registration_questionnaire"
|
|
1628
|
+
]);
|
|
1629
|
+
|
|
1630
|
+
const formationStageSchema = z.enum(["in_formation", "registered"]);
|
|
1631
|
+
|
|
1632
|
+
const formationStepGroupSchema = z.enum([
|
|
1633
|
+
"before_entry",
|
|
1634
|
+
"tax_office",
|
|
1635
|
+
"other_registrations",
|
|
1636
|
+
"books"
|
|
1637
|
+
]);
|
|
1638
|
+
|
|
1639
|
+
const formationStepStatusSchema = z.enum(["done", "not_applicable"]);
|
|
1640
|
+
|
|
1641
|
+
const formationStepTypeSchema = z.enum([
|
|
1642
|
+
"notarial_deed",
|
|
1643
|
+
"bank_account",
|
|
1644
|
+
"share_capital_subscribed",
|
|
1645
|
+
"share_capital_paid_in",
|
|
1646
|
+
"register_application",
|
|
1647
|
+
"register_entry",
|
|
1648
|
+
"tax_registration_questionnaire",
|
|
1649
|
+
"tax_number",
|
|
1650
|
+
"vat_id",
|
|
1651
|
+
"vat_filing_cadence",
|
|
1652
|
+
"trade_registration",
|
|
1653
|
+
"transparency_register",
|
|
1654
|
+
"chamber_membership",
|
|
1655
|
+
"accident_insurance",
|
|
1656
|
+
"opening_balance_frozen",
|
|
1657
|
+
"opening_balance_filed"
|
|
1658
|
+
]);
|
|
1659
|
+
|
|
1660
|
+
const glassCollectionSchema = z.enum([
|
|
1661
|
+
"container_by_colour",
|
|
1662
|
+
"container_mixed",
|
|
1663
|
+
"curbside"
|
|
1664
|
+
]);
|
|
1665
|
+
|
|
1666
|
+
const handoverDeclarationSchema = z.enum([
|
|
1667
|
+
"not_existing",
|
|
1668
|
+
"unobtainable"
|
|
1669
|
+
]);
|
|
1670
|
+
|
|
1671
|
+
const handoverFallbackSchema = z.enum([
|
|
1672
|
+
"recompute_from_books",
|
|
1673
|
+
"request_finanzamt_copy",
|
|
1674
|
+
"retrieve_via_elster",
|
|
1675
|
+
"capture_manually",
|
|
1676
|
+
"not_needed"
|
|
1677
|
+
]);
|
|
1678
|
+
|
|
1679
|
+
const handoverItemStatusSchema = z.enum([
|
|
1680
|
+
"uploaded",
|
|
1681
|
+
"processed",
|
|
1682
|
+
"not_existing",
|
|
1683
|
+
"unobtainable",
|
|
1684
|
+
"captured"
|
|
1685
|
+
]);
|
|
1686
|
+
|
|
1687
|
+
const handoverItemTypeSchema = z.enum([
|
|
1688
|
+
"profit_statement",
|
|
1689
|
+
"fixed_asset_register",
|
|
1690
|
+
"trial_balance",
|
|
1691
|
+
"account_statements",
|
|
1692
|
+
"management_report",
|
|
1693
|
+
"vat_return",
|
|
1694
|
+
"tax_assessments",
|
|
1695
|
+
"tax_identifiers",
|
|
1696
|
+
"datev_export",
|
|
1697
|
+
"unsorted",
|
|
1698
|
+
"account_proof",
|
|
1699
|
+
"advance_vat_returns",
|
|
1700
|
+
"trade_tax_return",
|
|
1701
|
+
"income_tax_return",
|
|
1702
|
+
"corporate_tax_return",
|
|
1703
|
+
"separate_assessment_return",
|
|
1704
|
+
"loss_carryforward_assessment"
|
|
1705
|
+
]);
|
|
1706
|
+
|
|
1707
|
+
const handoverNeedKeySchema = z.enum([
|
|
1708
|
+
"profit_statement",
|
|
1709
|
+
"fixed_asset_register",
|
|
1710
|
+
"trial_balance",
|
|
1711
|
+
"account_proof",
|
|
1712
|
+
"bank_statements_year_end",
|
|
1713
|
+
"management_report",
|
|
1714
|
+
"annual_vat_return",
|
|
1715
|
+
"advance_vat_return",
|
|
1716
|
+
"tax_assessments",
|
|
1717
|
+
"loss_carryforward_assessment",
|
|
1718
|
+
"income_tax_return",
|
|
1719
|
+
"separate_assessment_return",
|
|
1720
|
+
"corporate_tax_return",
|
|
1721
|
+
"trade_tax_return",
|
|
1722
|
+
"tax_identifiers",
|
|
1723
|
+
"datev_export"
|
|
1724
|
+
]);
|
|
1725
|
+
|
|
1726
|
+
const handoverNeedStatusSchema = z.enum([
|
|
1727
|
+
"satisfied",
|
|
1728
|
+
"partial",
|
|
1729
|
+
"open",
|
|
1730
|
+
"unobtainable",
|
|
1731
|
+
"not_applicable"
|
|
1732
|
+
]);
|
|
1733
|
+
|
|
1734
|
+
const handoverNextActionSchema = z.enum([
|
|
1735
|
+
"upload",
|
|
1736
|
+
"assign",
|
|
1737
|
+
"capture",
|
|
1738
|
+
"import",
|
|
1739
|
+
"enter"
|
|
1740
|
+
]);
|
|
1741
|
+
|
|
1742
|
+
const handoverSatisfiedSourceSchema = z.enum([
|
|
1743
|
+
"document",
|
|
1744
|
+
"import",
|
|
1745
|
+
"capture",
|
|
1746
|
+
"derivation",
|
|
1747
|
+
"entity_fact",
|
|
1748
|
+
"elster"
|
|
1749
|
+
]);
|
|
1750
|
+
|
|
1751
|
+
const houseRuleChangeClassificationSchema = z.enum([
|
|
1752
|
+
"clarification",
|
|
1753
|
+
"new_burden"
|
|
1754
|
+
]);
|
|
1755
|
+
|
|
1756
|
+
const houseRuleChangeTypeSchema = z.enum(["added", "revised", "removed"]);
|
|
1757
|
+
|
|
1758
|
+
const houseRuleEditionRequestStatusSchema = z.enum([
|
|
1759
|
+
"open",
|
|
1760
|
+
"acknowledged",
|
|
1761
|
+
"agreed",
|
|
1762
|
+
"declined",
|
|
1763
|
+
"superseded"
|
|
1764
|
+
]);
|
|
1765
|
+
|
|
1766
|
+
const houseRuleEditionRequestTypeSchema = z.enum(["notice", "consent"]);
|
|
1767
|
+
|
|
1768
|
+
const houseRuleScopeSchema = z.enum(["property", "rental"]);
|
|
1769
|
+
|
|
1770
|
+
const householdNamePurposeSchema = z.enum(["mailbox", "renterHub"]);
|
|
1771
|
+
|
|
1772
|
+
const housingProviderSchema = z.enum(["sub_landlord", "head_landlord"]);
|
|
1773
|
+
|
|
1774
|
+
const identityCheckStatusSchema = z.enum([
|
|
1775
|
+
"pending",
|
|
1776
|
+
"uploaded",
|
|
1777
|
+
"confirmed",
|
|
1778
|
+
"rejected"
|
|
1779
|
+
]);
|
|
1780
|
+
|
|
1781
|
+
const incomeTaxAssessmentTypeSchema = z.enum(["single", "joint"]);
|
|
1782
|
+
|
|
1783
|
+
const industrySchema = z.enum([
|
|
1784
|
+
"construction",
|
|
1785
|
+
"consulting",
|
|
1786
|
+
"education",
|
|
1787
|
+
"healthcare",
|
|
1788
|
+
"hospitality",
|
|
1789
|
+
"it_services",
|
|
1790
|
+
"logistics",
|
|
1791
|
+
"manufacturing",
|
|
1792
|
+
"marketing",
|
|
1793
|
+
"media",
|
|
1794
|
+
"other",
|
|
1795
|
+
"professional_services",
|
|
1796
|
+
"real_estate",
|
|
1797
|
+
"retail",
|
|
1798
|
+
"trades"
|
|
1799
|
+
]);
|
|
1800
|
+
|
|
1801
|
+
const invitationScenarioSchema = z.enum([
|
|
1802
|
+
"new_user",
|
|
1803
|
+
"already_member",
|
|
1804
|
+
"former_employee"
|
|
1805
|
+
]);
|
|
1806
|
+
|
|
1807
|
+
const invoiceArithmeticCheckSchema = z.enum([
|
|
1808
|
+
"lines_sum_to_net",
|
|
1809
|
+
"breakdown_sums_to_net",
|
|
1810
|
+
"breakdown_sums_to_tax",
|
|
1811
|
+
"rate_times_net_is_tax",
|
|
1812
|
+
"net_plus_tax_is_gross"
|
|
1813
|
+
]);
|
|
1814
|
+
|
|
1815
|
+
const invoiceDeliveryFormatSchema = z.enum([
|
|
1816
|
+
"pdf",
|
|
1817
|
+
"zugferd",
|
|
1818
|
+
"xrechnung_ubl",
|
|
1819
|
+
"xrechnung_cii"
|
|
1820
|
+
]);
|
|
1821
|
+
|
|
1822
|
+
const invoiceDirectionSchema = z.enum(["outgoing", "incoming"]);
|
|
1823
|
+
|
|
1824
|
+
const invoiceDispatchChannelSchema = z.enum(["email"]);
|
|
1825
|
+
|
|
1826
|
+
const invoiceLineTableDensitySchema = z.enum(["comfortable", "compact"]);
|
|
1827
|
+
|
|
1828
|
+
const invoicePaymentMethodSchema = z.enum([
|
|
1829
|
+
"bank_transfer",
|
|
1830
|
+
"direct_debit",
|
|
1831
|
+
"card",
|
|
1832
|
+
"cash",
|
|
1833
|
+
"online",
|
|
1834
|
+
"other"
|
|
1835
|
+
]);
|
|
1836
|
+
|
|
1837
|
+
const invoiceTypeSchema = z.enum([
|
|
1838
|
+
"standard",
|
|
1839
|
+
"partial",
|
|
1840
|
+
"final",
|
|
1841
|
+
"correction"
|
|
1842
|
+
]);
|
|
1843
|
+
|
|
1844
|
+
const issuePlatformInvoiceOutcomeSchema = z.enum([
|
|
1845
|
+
"issued",
|
|
1846
|
+
"already_issued",
|
|
1847
|
+
"own_customer",
|
|
1848
|
+
"no_owner",
|
|
1849
|
+
"other_currency",
|
|
1850
|
+
"owner_not_ready",
|
|
1851
|
+
"credit",
|
|
1852
|
+
"tax_not_stated",
|
|
1853
|
+
"tax_without_registration",
|
|
1854
|
+
"tax_code_missing",
|
|
1855
|
+
"totals_differ"
|
|
1856
|
+
]);
|
|
1857
|
+
|
|
1858
|
+
const journalEntrySourceSchema = z.enum([
|
|
1859
|
+
"manual",
|
|
1860
|
+
"invoice",
|
|
1861
|
+
"payment",
|
|
1862
|
+
"depreciation",
|
|
1863
|
+
"loan",
|
|
1864
|
+
"reversal",
|
|
1865
|
+
"year_end_closing",
|
|
1866
|
+
"owner_transfer",
|
|
1867
|
+
"rental_deposit",
|
|
1868
|
+
"dunning",
|
|
1869
|
+
"write_off",
|
|
1870
|
+
"import",
|
|
1871
|
+
"opening_position",
|
|
1872
|
+
"chart_switch",
|
|
1873
|
+
"silent_partnership"
|
|
1874
|
+
]);
|
|
1875
|
+
|
|
1876
|
+
const journalEntryStatusSchema = z.enum(["draft", "booked", "reversed"]);
|
|
1877
|
+
|
|
1878
|
+
const jurisdictionSchema = z.enum(["DE", "CH"]);
|
|
1879
|
+
|
|
1880
|
+
const jurisdictionTypeSchema = z.enum([
|
|
1881
|
+
"country",
|
|
1882
|
+
"region",
|
|
1883
|
+
"municipality"
|
|
1884
|
+
]);
|
|
1885
|
+
|
|
1886
|
+
const knownFactSourceTypeSchema = z.enum([
|
|
1887
|
+
"tax_assessment",
|
|
1888
|
+
"tax_account",
|
|
1889
|
+
"document",
|
|
1890
|
+
"bank_import",
|
|
1891
|
+
"asset_register"
|
|
1892
|
+
]);
|
|
1893
|
+
|
|
1894
|
+
const knownFactStatusSchema = z.enum([
|
|
1895
|
+
"proposed",
|
|
1896
|
+
"confirmed",
|
|
1897
|
+
"conflict"
|
|
1898
|
+
]);
|
|
1899
|
+
|
|
1900
|
+
const knownFactSubjectSchema = z.enum([
|
|
1901
|
+
"income_from_business",
|
|
1902
|
+
"taxable_income",
|
|
1903
|
+
"assessed_tax",
|
|
1904
|
+
"trade_tax_base_amount",
|
|
1905
|
+
"loss_carryforward",
|
|
1906
|
+
"vat_payable",
|
|
1907
|
+
"prepayments_set",
|
|
1908
|
+
"trade_profit",
|
|
1909
|
+
"taxable_profit",
|
|
1910
|
+
"missing_return",
|
|
1911
|
+
"open_amount",
|
|
1912
|
+
"bank_statement_coverage",
|
|
1913
|
+
"assets_taken_over"
|
|
1914
|
+
]);
|
|
1915
|
+
|
|
1916
|
+
const letterheadLogoPositionSchema = z.enum([
|
|
1917
|
+
"top_left",
|
|
1918
|
+
"top_center",
|
|
1919
|
+
"top_right"
|
|
1920
|
+
]);
|
|
1921
|
+
|
|
1922
|
+
const letterheadWindowFormSchema = z.enum([
|
|
1923
|
+
"din_5008_form_a",
|
|
1924
|
+
"din_5008_form_b",
|
|
1925
|
+
"sn_010130"
|
|
1926
|
+
]);
|
|
1927
|
+
|
|
1928
|
+
const lettingArrangementSchema = z.enum([
|
|
1929
|
+
"whole_unit",
|
|
1930
|
+
"room_in_shared_flat"
|
|
1931
|
+
]);
|
|
1932
|
+
|
|
1933
|
+
const loanChannelAttestationSchema = z.enum([
|
|
1934
|
+
"borrower_trade",
|
|
1935
|
+
"lender_commercial_credit"
|
|
1936
|
+
]);
|
|
1937
|
+
|
|
1938
|
+
const loanCounterpartyCategorySchema = z.enum([
|
|
1939
|
+
"shareholder",
|
|
1940
|
+
"affiliated",
|
|
1941
|
+
"participation",
|
|
1942
|
+
"director",
|
|
1943
|
+
"silent_partner",
|
|
1944
|
+
"bank",
|
|
1945
|
+
"third_party"
|
|
1946
|
+
]);
|
|
1947
|
+
|
|
1948
|
+
const loanDirectionSchema = z.enum(["lent", "borrowed"]);
|
|
1949
|
+
|
|
1950
|
+
const loanInterestStatementTypeSchema = z.enum(["period", "annual"]);
|
|
1951
|
+
|
|
1952
|
+
const loanMaturitySchema = z.enum(["short", "medium", "long"]);
|
|
1953
|
+
|
|
1954
|
+
const loanRelatedPartyTypeSchema = z.enum([
|
|
1955
|
+
"controlling_shareholder",
|
|
1956
|
+
"controlled_by",
|
|
1957
|
+
"controls",
|
|
1958
|
+
"sibling",
|
|
1959
|
+
"taxpayer_unit"
|
|
1960
|
+
]);
|
|
1961
|
+
|
|
1962
|
+
const loanStatusSchema = z.enum([
|
|
1963
|
+
"draft",
|
|
1964
|
+
"active",
|
|
1965
|
+
"repaid",
|
|
1966
|
+
"terminated",
|
|
1967
|
+
"cancelled"
|
|
1968
|
+
]);
|
|
1969
|
+
|
|
1970
|
+
const loanTypeSchema = z.enum(["classic", "credit_line"]);
|
|
1971
|
+
|
|
1972
|
+
const localeSchema = z.enum([
|
|
1973
|
+
"aa",
|
|
1974
|
+
"ab",
|
|
1975
|
+
"ae",
|
|
1976
|
+
"af",
|
|
1977
|
+
"ak",
|
|
1978
|
+
"am",
|
|
1979
|
+
"an",
|
|
1980
|
+
"ar",
|
|
1981
|
+
"as",
|
|
1982
|
+
"av",
|
|
1983
|
+
"ay",
|
|
1984
|
+
"az",
|
|
1985
|
+
"ba",
|
|
1986
|
+
"be",
|
|
1987
|
+
"bg",
|
|
1988
|
+
"bh",
|
|
1989
|
+
"bi",
|
|
1990
|
+
"bm",
|
|
1991
|
+
"bn",
|
|
1992
|
+
"bo",
|
|
1993
|
+
"br",
|
|
1994
|
+
"bs",
|
|
1995
|
+
"ca",
|
|
1996
|
+
"ce",
|
|
1997
|
+
"ch",
|
|
1998
|
+
"co",
|
|
1999
|
+
"cr",
|
|
2000
|
+
"cs",
|
|
2001
|
+
"cu",
|
|
2002
|
+
"cv",
|
|
2003
|
+
"cy",
|
|
2004
|
+
"da",
|
|
2005
|
+
"de",
|
|
2006
|
+
"dv",
|
|
2007
|
+
"dz",
|
|
2008
|
+
"ee",
|
|
2009
|
+
"el",
|
|
2010
|
+
"en",
|
|
2011
|
+
"eo",
|
|
2012
|
+
"es",
|
|
2013
|
+
"et",
|
|
2014
|
+
"eu",
|
|
2015
|
+
"fa",
|
|
2016
|
+
"ff",
|
|
2017
|
+
"fi",
|
|
2018
|
+
"fj",
|
|
2019
|
+
"fo",
|
|
2020
|
+
"fr",
|
|
2021
|
+
"fy",
|
|
2022
|
+
"ga",
|
|
2023
|
+
"gd",
|
|
2024
|
+
"gl",
|
|
2025
|
+
"gn",
|
|
2026
|
+
"gu",
|
|
2027
|
+
"gv",
|
|
2028
|
+
"ha",
|
|
2029
|
+
"he",
|
|
2030
|
+
"hi",
|
|
2031
|
+
"ho",
|
|
2032
|
+
"hr",
|
|
2033
|
+
"ht",
|
|
2034
|
+
"hu",
|
|
2035
|
+
"hy",
|
|
2036
|
+
"hz",
|
|
2037
|
+
"ia",
|
|
2038
|
+
"id",
|
|
2039
|
+
"ie",
|
|
2040
|
+
"ig",
|
|
2041
|
+
"ii",
|
|
2042
|
+
"ik",
|
|
2043
|
+
"io",
|
|
2044
|
+
"is",
|
|
2045
|
+
"it",
|
|
2046
|
+
"iu",
|
|
2047
|
+
"ja",
|
|
2048
|
+
"jv",
|
|
2049
|
+
"ka",
|
|
2050
|
+
"kg",
|
|
2051
|
+
"ki",
|
|
2052
|
+
"kj",
|
|
2053
|
+
"kk",
|
|
2054
|
+
"kl",
|
|
2055
|
+
"km",
|
|
2056
|
+
"kn",
|
|
2057
|
+
"ko",
|
|
2058
|
+
"kr",
|
|
2059
|
+
"ks",
|
|
2060
|
+
"ku",
|
|
2061
|
+
"kv",
|
|
2062
|
+
"kw",
|
|
2063
|
+
"ky",
|
|
2064
|
+
"la",
|
|
2065
|
+
"lb",
|
|
2066
|
+
"lg",
|
|
2067
|
+
"li",
|
|
2068
|
+
"ln",
|
|
2069
|
+
"lo",
|
|
2070
|
+
"lt",
|
|
2071
|
+
"lu",
|
|
2072
|
+
"lv",
|
|
2073
|
+
"mg",
|
|
2074
|
+
"mh",
|
|
2075
|
+
"mi",
|
|
2076
|
+
"mk",
|
|
2077
|
+
"ml",
|
|
2078
|
+
"mn",
|
|
2079
|
+
"mr",
|
|
2080
|
+
"ms",
|
|
2081
|
+
"mt",
|
|
2082
|
+
"my",
|
|
2083
|
+
"na",
|
|
2084
|
+
"nb",
|
|
2085
|
+
"nd",
|
|
2086
|
+
"ne",
|
|
2087
|
+
"ng",
|
|
2088
|
+
"nl",
|
|
2089
|
+
"nn",
|
|
2090
|
+
"no",
|
|
2091
|
+
"nr",
|
|
2092
|
+
"nv",
|
|
2093
|
+
"ny",
|
|
2094
|
+
"oc",
|
|
2095
|
+
"oj",
|
|
2096
|
+
"om",
|
|
2097
|
+
"or",
|
|
2098
|
+
"os",
|
|
2099
|
+
"pa",
|
|
2100
|
+
"pi",
|
|
2101
|
+
"pl",
|
|
2102
|
+
"ps",
|
|
2103
|
+
"pt",
|
|
2104
|
+
"qu",
|
|
2105
|
+
"rm",
|
|
2106
|
+
"rn",
|
|
2107
|
+
"ro",
|
|
2108
|
+
"ru",
|
|
2109
|
+
"rw",
|
|
2110
|
+
"sa",
|
|
2111
|
+
"sc",
|
|
2112
|
+
"sd",
|
|
2113
|
+
"se",
|
|
2114
|
+
"sg",
|
|
2115
|
+
"si",
|
|
2116
|
+
"sk",
|
|
2117
|
+
"sl",
|
|
2118
|
+
"sm",
|
|
2119
|
+
"sn",
|
|
2120
|
+
"so",
|
|
2121
|
+
"sq",
|
|
2122
|
+
"sr",
|
|
2123
|
+
"ss",
|
|
2124
|
+
"st",
|
|
2125
|
+
"su",
|
|
2126
|
+
"sv",
|
|
2127
|
+
"sw",
|
|
2128
|
+
"ta",
|
|
2129
|
+
"te",
|
|
2130
|
+
"tg",
|
|
2131
|
+
"th",
|
|
2132
|
+
"ti",
|
|
2133
|
+
"tk",
|
|
2134
|
+
"tl",
|
|
2135
|
+
"tn",
|
|
2136
|
+
"to",
|
|
2137
|
+
"tr",
|
|
2138
|
+
"ts",
|
|
2139
|
+
"tt",
|
|
2140
|
+
"tw",
|
|
2141
|
+
"ty",
|
|
2142
|
+
"ug",
|
|
2143
|
+
"uk",
|
|
2144
|
+
"ur",
|
|
2145
|
+
"uz",
|
|
2146
|
+
"ve",
|
|
2147
|
+
"vi",
|
|
2148
|
+
"vo",
|
|
2149
|
+
"wa",
|
|
2150
|
+
"wo",
|
|
2151
|
+
"xh",
|
|
2152
|
+
"yi",
|
|
2153
|
+
"yo",
|
|
2154
|
+
"za",
|
|
2155
|
+
"zh",
|
|
2156
|
+
"zu"
|
|
2157
|
+
]);
|
|
2158
|
+
|
|
2159
|
+
const lostKeySettlementSchema = z.enum([
|
|
2160
|
+
"deposit_deduction",
|
|
2161
|
+
"invoice",
|
|
2162
|
+
"open"
|
|
2163
|
+
]);
|
|
2164
|
+
|
|
2165
|
+
const managementReportSectionTypeSchema = z.enum([
|
|
2166
|
+
"business_development",
|
|
2167
|
+
"company_situation",
|
|
2168
|
+
"significant_events",
|
|
2169
|
+
"expected_development",
|
|
2170
|
+
"opportunities_and_risks",
|
|
2171
|
+
"research_and_development",
|
|
2172
|
+
"custom"
|
|
2173
|
+
]);
|
|
2174
|
+
|
|
2175
|
+
const managementReportStatusSchema = z.enum(["draft", "finalized"]);
|
|
2176
|
+
|
|
2177
|
+
const mantelbogenFieldSchema = z.enum([
|
|
2178
|
+
"taxNumber",
|
|
2179
|
+
"taxIdentificationNumber",
|
|
2180
|
+
"dateOfBirth",
|
|
2181
|
+
"name",
|
|
2182
|
+
"academicTitle",
|
|
2183
|
+
"religion",
|
|
2184
|
+
"religionChange",
|
|
2185
|
+
"street",
|
|
2186
|
+
"postcode",
|
|
2187
|
+
"city",
|
|
2188
|
+
"country",
|
|
2189
|
+
"assessmentType",
|
|
2190
|
+
"iban",
|
|
2191
|
+
"bic",
|
|
2192
|
+
"accountHolder"
|
|
2193
|
+
]);
|
|
2194
|
+
|
|
2195
|
+
const mappingCoverageSourceSchema = z.enum([
|
|
2196
|
+
"override",
|
|
2197
|
+
"template",
|
|
2198
|
+
"unmapped"
|
|
2199
|
+
]);
|
|
2200
|
+
|
|
2201
|
+
const maritalStatusSchema = z.enum([
|
|
2202
|
+
"single",
|
|
2203
|
+
"married",
|
|
2204
|
+
"divorced",
|
|
2205
|
+
"widowed",
|
|
2206
|
+
"registered_partnership"
|
|
2207
|
+
]);
|
|
2208
|
+
|
|
2209
|
+
const matchedViaSchema = z.enum(["semantic", "keyword", "both"]);
|
|
2210
|
+
|
|
2211
|
+
const mediaAssetTypeSchema = z.enum(["image", "video", "document"]);
|
|
2212
|
+
|
|
2213
|
+
const memberInvitationStatusSchema = z.enum([
|
|
2214
|
+
"pending",
|
|
2215
|
+
"accepted",
|
|
2216
|
+
"revoked",
|
|
2217
|
+
"declined"
|
|
2218
|
+
]);
|
|
2219
|
+
|
|
2220
|
+
const mentionEntityTypeSchema = z.enum(["plan"]);
|
|
2221
|
+
|
|
2222
|
+
const mentionTypeSchema = z.enum(["link", "value"]);
|
|
2223
|
+
|
|
2224
|
+
const messageParticipantRoleSchema = z.enum(["from", "to", "cc"]);
|
|
2225
|
+
|
|
2226
|
+
const messageSourceSchema = z.enum([
|
|
2227
|
+
"tax_authority",
|
|
2228
|
+
"platform",
|
|
2229
|
+
"collaborator",
|
|
2230
|
+
"scan",
|
|
2231
|
+
"email"
|
|
2232
|
+
]);
|
|
2233
|
+
|
|
2234
|
+
const messageStatusSchema = z.enum([
|
|
2235
|
+
"draft",
|
|
2236
|
+
"submitting",
|
|
2237
|
+
"submitted",
|
|
2238
|
+
"rejected",
|
|
2239
|
+
"failed",
|
|
2240
|
+
"received"
|
|
2241
|
+
]);
|
|
2242
|
+
|
|
2243
|
+
const messageThreadStatusSchema = z.enum([
|
|
2244
|
+
"open",
|
|
2245
|
+
"awaiting_them",
|
|
2246
|
+
"awaiting_us",
|
|
2247
|
+
"closed"
|
|
2248
|
+
]);
|
|
2249
|
+
|
|
2250
|
+
const messageThreadSubjectTypeSchema = z.enum([
|
|
2251
|
+
"filing",
|
|
2252
|
+
"party",
|
|
2253
|
+
"entity",
|
|
2254
|
+
"invoice",
|
|
2255
|
+
"dunning_notice",
|
|
2256
|
+
"rental",
|
|
2257
|
+
"contract",
|
|
2258
|
+
"loan",
|
|
2259
|
+
"document"
|
|
2260
|
+
]);
|
|
2261
|
+
|
|
2262
|
+
const moduleScopeSchema = z.enum(["account", "tenant"]);
|
|
2263
|
+
|
|
2264
|
+
const obligationAmountBasisSchema = z.enum([
|
|
2265
|
+
"fixed",
|
|
2266
|
+
"computed_at_period_end",
|
|
2267
|
+
"on_cash_only"
|
|
2268
|
+
]);
|
|
2269
|
+
|
|
2270
|
+
const obligationLinkTypeSchema = z.enum([
|
|
2271
|
+
"booking",
|
|
2272
|
+
"adoption",
|
|
2273
|
+
"accrual",
|
|
2274
|
+
"accrual_release",
|
|
2275
|
+
"reclassification",
|
|
2276
|
+
"reversal"
|
|
2277
|
+
]);
|
|
2278
|
+
|
|
2279
|
+
const obligationPlanLineStatusSchema = z.enum([
|
|
2280
|
+
"open",
|
|
2281
|
+
"partially_fulfilled",
|
|
2282
|
+
"fulfilled",
|
|
2283
|
+
"cancelled"
|
|
2284
|
+
]);
|
|
2285
|
+
|
|
2286
|
+
const obligationPlanRevisionReasonSchema = z.enum([
|
|
2287
|
+
"payout_anchor",
|
|
2288
|
+
"payment_deviation",
|
|
2289
|
+
"amendment",
|
|
2290
|
+
"horizon_extension"
|
|
2291
|
+
]);
|
|
2292
|
+
|
|
2293
|
+
const obligationPlanStatusSchema = z.enum([
|
|
2294
|
+
"blocked",
|
|
2295
|
+
"live",
|
|
2296
|
+
"completed"
|
|
2297
|
+
]);
|
|
2298
|
+
|
|
2299
|
+
const obligationPlanSubjectTypeSchema = z.enum(["loan"]);
|
|
2300
|
+
|
|
2301
|
+
const obligationRoleSchema = z.enum(["creditor", "debtor"]);
|
|
2302
|
+
|
|
2303
|
+
const obligationTermsSourceSchema = z.enum([
|
|
2304
|
+
"owned",
|
|
2305
|
+
"granted",
|
|
2306
|
+
"snapshot"
|
|
2307
|
+
]);
|
|
2308
|
+
|
|
2309
|
+
const obligationTypeSchema = z.enum([
|
|
2310
|
+
"disbursement",
|
|
2311
|
+
"principal",
|
|
2312
|
+
"interest",
|
|
2313
|
+
"fee"
|
|
2314
|
+
]);
|
|
2315
|
+
|
|
2316
|
+
const occupantRelationshipSchema = z.enum([
|
|
2317
|
+
"self",
|
|
2318
|
+
"spouse_or_partner",
|
|
2319
|
+
"child",
|
|
2320
|
+
"parent",
|
|
2321
|
+
"sibling",
|
|
2322
|
+
"other_family_member",
|
|
2323
|
+
"household_member"
|
|
2324
|
+
]);
|
|
2325
|
+
|
|
2326
|
+
const onboardingCardSchema = z.enum(["mail_account", "own_domain"]);
|
|
2327
|
+
|
|
2328
|
+
const organicCollectionSchema = z.enum(["bin", "optional_bin", "none"]);
|
|
2329
|
+
|
|
2330
|
+
const orientationSchema = z.enum(["vertical", "horizontal"]);
|
|
2331
|
+
|
|
2332
|
+
const ownConsumptionTradeClassSchema = z.enum([
|
|
2333
|
+
"bakery",
|
|
2334
|
+
"butcher",
|
|
2335
|
+
"restaurant_cold_food",
|
|
2336
|
+
"restaurant_cold_and_warm_food",
|
|
2337
|
+
"beverage_retail",
|
|
2338
|
+
"cafe_and_confectionery",
|
|
2339
|
+
"dairy_retail",
|
|
2340
|
+
"grocery_retail",
|
|
2341
|
+
"produce_retail"
|
|
2342
|
+
]);
|
|
2343
|
+
|
|
2344
|
+
const ownerTransferTypeSchema = z.enum([
|
|
2345
|
+
"withdrawal",
|
|
2346
|
+
"deposit",
|
|
2347
|
+
"goods_private_use",
|
|
2348
|
+
"private_share_of_expense"
|
|
2349
|
+
]);
|
|
2350
|
+
|
|
2351
|
+
const ownershipCapacitySchema = z.enum([
|
|
2352
|
+
"shareholder",
|
|
2353
|
+
"general_partner",
|
|
2354
|
+
"limited_partner"
|
|
2355
|
+
]);
|
|
2356
|
+
|
|
2357
|
+
const packagingCollectionSchema = z.enum([
|
|
2358
|
+
"yellow_bag",
|
|
2359
|
+
"yellow_bin",
|
|
2360
|
+
"recycling_bin"
|
|
2361
|
+
]);
|
|
2362
|
+
|
|
2363
|
+
const paperCollectionSchema = z.enum(["bin", "bundle", "container"]);
|
|
2364
|
+
|
|
2365
|
+
const parkingSpaceTypeSchema = z.enum(["garage", "parking_space"]);
|
|
2366
|
+
|
|
2367
|
+
const partyGenderSchema = z.enum(["male", "female", "neutral"]);
|
|
2368
|
+
|
|
2369
|
+
const partyTypeSchema = z.enum([
|
|
2370
|
+
"natural_person",
|
|
2371
|
+
"legal_entity",
|
|
2372
|
+
"sole_prop"
|
|
2373
|
+
]);
|
|
2374
|
+
|
|
2375
|
+
const paymentClaimSettlementTypeSchema = z.enum([
|
|
2376
|
+
"payment",
|
|
2377
|
+
"cash_discount",
|
|
2378
|
+
"write_off",
|
|
2379
|
+
"correction"
|
|
2380
|
+
]);
|
|
2381
|
+
|
|
2382
|
+
const paymentClaimSideSchema = z.enum(["receivable", "payable"]);
|
|
2383
|
+
|
|
2384
|
+
const paymentClaimStatusSchema = z.enum([
|
|
2385
|
+
"open",
|
|
2386
|
+
"partially_settled",
|
|
2387
|
+
"settled",
|
|
2388
|
+
"written_off",
|
|
2389
|
+
"cancelled"
|
|
2390
|
+
]);
|
|
2391
|
+
|
|
2392
|
+
const paymentClaimTypeSchema = z.enum([
|
|
2393
|
+
"invoice",
|
|
2394
|
+
"interest_statement",
|
|
2395
|
+
"rent",
|
|
2396
|
+
"renter_charge",
|
|
2397
|
+
"default_interest",
|
|
2398
|
+
"dunning_fee",
|
|
2399
|
+
"credit_balance",
|
|
2400
|
+
"deposit"
|
|
2401
|
+
]);
|
|
2402
|
+
|
|
2403
|
+
const paymentFrequencySchema = z.enum([
|
|
2404
|
+
"monthly",
|
|
2405
|
+
"quarterly",
|
|
2406
|
+
"annually",
|
|
2407
|
+
"at_maturity"
|
|
2408
|
+
]);
|
|
2409
|
+
|
|
2410
|
+
const paymentMethodSchema = z.enum(["bank_transfer", "cash"]);
|
|
2411
|
+
|
|
2412
|
+
const pendingSuperadminTransferStatusSchema = z.enum([
|
|
2413
|
+
"pending_invite",
|
|
2414
|
+
"accepted_awaiting_payment",
|
|
2415
|
+
"completed",
|
|
2416
|
+
"cancelled",
|
|
2417
|
+
"expired"
|
|
2418
|
+
]);
|
|
2419
|
+
|
|
2420
|
+
const permanentExtensionDecisionSchema = z.enum(["granted", "revoked"]);
|
|
2421
|
+
|
|
2422
|
+
const permissionSchema = z.enum([
|
|
2423
|
+
"iam:human",
|
|
2424
|
+
"iam:robot",
|
|
2425
|
+
"m2m:ping",
|
|
2426
|
+
"team:view",
|
|
2427
|
+
"team:invite",
|
|
2428
|
+
"team:remove",
|
|
2429
|
+
"team:update",
|
|
2430
|
+
"team:revoke",
|
|
2431
|
+
"roles:view",
|
|
2432
|
+
"roles:create",
|
|
2433
|
+
"roles:update",
|
|
2434
|
+
"roles:delete",
|
|
2435
|
+
"roles:assign",
|
|
2436
|
+
"groups:view",
|
|
2437
|
+
"groups:create",
|
|
2438
|
+
"groups:update",
|
|
2439
|
+
"groups:delete",
|
|
2440
|
+
"entity:view",
|
|
2441
|
+
"entity:update",
|
|
2442
|
+
"entity:transfer",
|
|
2443
|
+
"platform:view",
|
|
2444
|
+
"plans:view",
|
|
2445
|
+
"plans:create",
|
|
2446
|
+
"plans:update",
|
|
2447
|
+
"plans:delete",
|
|
2448
|
+
"features:view",
|
|
2449
|
+
"features:create",
|
|
2450
|
+
"features:update",
|
|
2451
|
+
"features:delete",
|
|
2452
|
+
"users:delete",
|
|
2453
|
+
"reporting:view",
|
|
2454
|
+
"reporting:close-snapshot",
|
|
2455
|
+
"reporting:manage",
|
|
2456
|
+
"inbox:view",
|
|
2457
|
+
"inbox:manage",
|
|
2458
|
+
"inbox:send",
|
|
2459
|
+
"invoice:view",
|
|
2460
|
+
"invoice:manage",
|
|
2461
|
+
"document:view",
|
|
2462
|
+
"document:manage",
|
|
2463
|
+
"chat:use",
|
|
2464
|
+
"audit:view",
|
|
2465
|
+
"rolodex:view",
|
|
2466
|
+
"rolodex:manage",
|
|
2467
|
+
"loan:view",
|
|
2468
|
+
"loan:manage",
|
|
2469
|
+
"loan:conclude",
|
|
2470
|
+
"loan:update-plate",
|
|
2471
|
+
"rental:view",
|
|
2472
|
+
"rental:manage",
|
|
2473
|
+
"rental:conclude",
|
|
2474
|
+
"rental:update-plate",
|
|
2475
|
+
"property:read",
|
|
2476
|
+
"property:let",
|
|
2477
|
+
"property:manage",
|
|
2478
|
+
"property:manage-keys",
|
|
2479
|
+
"property:manage-defects",
|
|
2480
|
+
"journal:view",
|
|
2481
|
+
"journal:book",
|
|
2482
|
+
"fixed-asset:view",
|
|
2483
|
+
"fixed-asset:manage",
|
|
2484
|
+
"transaction:view",
|
|
2485
|
+
"transaction:manage",
|
|
2486
|
+
"bank-account:view",
|
|
2487
|
+
"bank-account:manage",
|
|
2488
|
+
"access-grant:view",
|
|
2489
|
+
"access-grant:offer",
|
|
2490
|
+
"access-grant:respond",
|
|
2491
|
+
"access-grant:revoke",
|
|
2492
|
+
"access-grant:revise",
|
|
2493
|
+
"business-card:read",
|
|
2494
|
+
"contract:read",
|
|
2495
|
+
"contract:read-history",
|
|
2496
|
+
"party:read",
|
|
2497
|
+
"party:read-address",
|
|
2498
|
+
"party:read-designation",
|
|
2499
|
+
"party:read-register",
|
|
2500
|
+
"party:read-tax",
|
|
2501
|
+
"party:read-channels",
|
|
2502
|
+
"party:read-people",
|
|
2503
|
+
"party:manage",
|
|
2504
|
+
"ml:view-training-data",
|
|
2505
|
+
"ml:export-training-data",
|
|
2506
|
+
"ml:train-model",
|
|
2507
|
+
"ml:deploy-model",
|
|
2508
|
+
"ml:view-model-metrics",
|
|
2509
|
+
"ml:manage-models",
|
|
2510
|
+
"sales:view",
|
|
2511
|
+
"sales:manage",
|
|
2512
|
+
"sales:view-all"
|
|
2513
|
+
]);
|
|
2514
|
+
|
|
2515
|
+
const personalAnnualReviewStatusSchema = z.enum([
|
|
2516
|
+
"upcoming",
|
|
2517
|
+
"open",
|
|
2518
|
+
"frozen"
|
|
2519
|
+
]);
|
|
2520
|
+
|
|
2521
|
+
const platformInvoiceCustomerSchema = z.object({
|
|
2522
|
+
reference: z.string().min(1).describe("The platform's own reference of its customer (a tenant's id)"),
|
|
2523
|
+
get partyType() {
|
|
2524
|
+
return partyTypeSchema;
|
|
2525
|
+
},
|
|
2526
|
+
name: z.string().min(1).describe(
|
|
2527
|
+
"The name the invoice is addressed to, as the platform names its customer \u2014 a business's legal name"
|
|
2528
|
+
),
|
|
2529
|
+
email: z.nullable(z.email()),
|
|
2530
|
+
vatId: z.nullable(z.string().min(1)),
|
|
2531
|
+
taxNumber: z.nullable(
|
|
2532
|
+
z.string().min(1).describe(
|
|
2533
|
+
"The customer's tax number \u2014 with its VAT ID, what shows a business abroad is one (KLVR-2234)"
|
|
2534
|
+
)
|
|
2535
|
+
),
|
|
2536
|
+
address: z.object({
|
|
2537
|
+
street: z.string().min(1),
|
|
2538
|
+
building: z.nullable(z.string().min(1)),
|
|
2539
|
+
postcode: z.string().min(1),
|
|
2540
|
+
city: z.string().min(1),
|
|
2541
|
+
get country() {
|
|
2542
|
+
return countrySchema;
|
|
2543
|
+
}
|
|
2544
|
+
})
|
|
2545
|
+
});
|
|
2546
|
+
|
|
2547
|
+
const platformRoleSchema = z.enum([
|
|
2548
|
+
"platform_maintainer",
|
|
2549
|
+
"data_scientist"
|
|
2550
|
+
]);
|
|
2551
|
+
|
|
2552
|
+
const positionCenterSchema = z.enum(["center"]);
|
|
2553
|
+
|
|
2554
|
+
const positionCornerSchema = z.enum([
|
|
2555
|
+
"top-left",
|
|
2556
|
+
"top-right",
|
|
2557
|
+
"bottom-left",
|
|
2558
|
+
"bottom-right"
|
|
2559
|
+
]);
|
|
2560
|
+
|
|
2561
|
+
const positionEdgeSchema = z.enum(["start", "end"]);
|
|
2562
|
+
|
|
2563
|
+
const positionSchema = z.enum([
|
|
2564
|
+
"left",
|
|
2565
|
+
"right",
|
|
2566
|
+
"top",
|
|
2567
|
+
"bottom",
|
|
2568
|
+
"top-left",
|
|
2569
|
+
"top-right",
|
|
2570
|
+
"bottom-left",
|
|
2571
|
+
"bottom-right",
|
|
2572
|
+
"center"
|
|
2573
|
+
]);
|
|
2574
|
+
|
|
2575
|
+
const positionYSchema = z.enum(["top", "bottom"]);
|
|
2576
|
+
|
|
2577
|
+
const priorYearFigureTypeSchema = z.enum([
|
|
2578
|
+
"account_balance",
|
|
2579
|
+
"euer_line",
|
|
2580
|
+
"taxonomy_position",
|
|
2581
|
+
"bwa_line"
|
|
2582
|
+
]);
|
|
2583
|
+
|
|
2584
|
+
const processPlatformInvoiceBodySchema = z.object({
|
|
2585
|
+
platform: z.string().min(1).describe("The platform that invoiced, as it names itself (order3000)"),
|
|
2586
|
+
stripeInvoiceId: z.string().min(1).describe(
|
|
2587
|
+
"The payment provider's id of the invoice \u2014 the key every call is deduplicated on"
|
|
2588
|
+
),
|
|
2589
|
+
stripeInvoiceNumber: z.nullable(z.string()),
|
|
2590
|
+
platformSubscriptionId: z.string(),
|
|
2591
|
+
currency: z.string().min(3).max(3).describe("ISO 4217, upper case"),
|
|
2592
|
+
issuedAt: z.iso.datetime(),
|
|
2593
|
+
billingReason: z.nullable(z.string()),
|
|
2594
|
+
cardLastFour: z.nullable(z.string().regex(/^\d{4}$/)),
|
|
2595
|
+
netAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
2596
|
+
taxAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
2597
|
+
grossAmount: z.int().min(-9007199254740991).max(9007199254740991),
|
|
2598
|
+
get lines() {
|
|
2599
|
+
return z.array(platformInvoiceLineSchema);
|
|
2600
|
+
},
|
|
2601
|
+
get customer() {
|
|
2602
|
+
return platformInvoiceCustomerSchema;
|
|
2603
|
+
}
|
|
2604
|
+
});
|
|
2605
|
+
|
|
2606
|
+
const processPlatformInvoiceCreditBodySchema = z.object({
|
|
2607
|
+
stripeCreditNoteId: z.string().min(1).describe("The payment provider's id of the credit note"),
|
|
2608
|
+
creditedAt: z.iso.datetime(),
|
|
2609
|
+
grossAmount: z.int().max(9007199254740991).gt(0).describe(
|
|
2610
|
+
"What the credit note takes back, tax included, in the smallest unit of the invoice currency"
|
|
2611
|
+
)
|
|
2612
|
+
});
|
|
2613
|
+
|
|
2614
|
+
const processPlatformInvoiceCreditResponseSchema = z.object({
|
|
2615
|
+
get outcome() {
|
|
2616
|
+
return cancelPlatformInvoiceOutcomeSchema;
|
|
2617
|
+
},
|
|
2618
|
+
invoiceId: z.nullable(
|
|
2619
|
+
z.string().describe("The entity's own invoice for it, once known")
|
|
2620
|
+
)
|
|
2621
|
+
});
|
|
2622
|
+
|
|
2623
|
+
const processPlatformInvoicePaymentBodySchema = z.object({
|
|
2624
|
+
stripeInvoiceNumber: z.nullable(z.string()),
|
|
2625
|
+
platformSubscriptionId: z.string(),
|
|
2626
|
+
currency: z.string().min(3).max(3).describe("ISO 4217, upper case"),
|
|
2627
|
+
paidAt: z.iso.datetime(),
|
|
2628
|
+
amountPaid: z.int().min(-9007199254740991).max(9007199254740991).describe("In the smallest unit of the currency"),
|
|
2629
|
+
statementDescriptor: z.string().min(1).describe(
|
|
2630
|
+
"What the cardholder's statement shows for the charge, as the payment provider names it (at Stripe the charge's calculated_statement_descriptor). The entity's invoice and the copy its customer received state it, so the customer's statement line settles the invoice by itself."
|
|
2631
|
+
).nullish(),
|
|
2632
|
+
paymentProviderAccount: z.string().min(1).describe(
|
|
2633
|
+
"The payment provider account the customer paid through \u2014 at Stripe the platform's account id (acct_\u2026). The payment is recorded on the entity's money account that keeps this account's balance."
|
|
2634
|
+
)
|
|
2635
|
+
});
|
|
2636
|
+
|
|
2637
|
+
const recordPlatformInvoicePaymentOutcomeSchema = z.enum([
|
|
2638
|
+
"recorded",
|
|
2639
|
+
"already_recorded",
|
|
2640
|
+
"other_currency"
|
|
2641
|
+
]);
|
|
2642
|
+
|
|
2643
|
+
const settlePlatformInvoicePaymentOutcomeSchema = z.enum([
|
|
2644
|
+
"settled",
|
|
2645
|
+
"already_settled",
|
|
2646
|
+
"no_payment",
|
|
2647
|
+
"no_invoice",
|
|
2648
|
+
"nothing_open"
|
|
2649
|
+
]);
|
|
2650
|
+
|
|
2651
|
+
const processPlatformInvoicePaymentResponseSchema = z.object({
|
|
2652
|
+
get payment() {
|
|
2653
|
+
return recordPlatformInvoicePaymentOutcomeSchema;
|
|
2654
|
+
},
|
|
2655
|
+
get settlement() {
|
|
2656
|
+
return settlePlatformInvoicePaymentOutcomeSchema;
|
|
2657
|
+
}
|
|
2658
|
+
});
|
|
2659
|
+
|
|
2660
|
+
const processPlatformInvoiceResponseSchema = z.object({
|
|
2661
|
+
get outcome() {
|
|
2662
|
+
return issuePlatformInvoiceOutcomeSchema;
|
|
2663
|
+
},
|
|
2664
|
+
invoiceId: z.nullable(
|
|
2665
|
+
z.string().describe("The entity's own invoice for it, once issued")
|
|
2666
|
+
)
|
|
2667
|
+
});
|
|
2668
|
+
|
|
2669
|
+
const processPlatformInvoiceVoidBodySchema = z.object({
|
|
2670
|
+
voidedAt: z.iso.datetime()
|
|
2671
|
+
});
|
|
2672
|
+
|
|
2673
|
+
const processPlatformInvoiceVoidResponseSchema = z.object({
|
|
2674
|
+
get outcome() {
|
|
2675
|
+
return cancelPlatformInvoiceOutcomeSchema;
|
|
2676
|
+
},
|
|
2677
|
+
invoiceId: z.nullable(
|
|
2678
|
+
z.string().describe("The entity's own invoice for it, once known")
|
|
2679
|
+
)
|
|
2680
|
+
});
|
|
2681
|
+
|
|
2682
|
+
const profitDeterminationMethodSchema = z.enum([
|
|
2683
|
+
"balance_sheet_comparison",
|
|
2684
|
+
"cash_basis"
|
|
2685
|
+
]);
|
|
2686
|
+
|
|
2687
|
+
const propertyDefectStatusSchema = z.enum(["open", "remedied"]);
|
|
2688
|
+
|
|
2689
|
+
const propertyKeyCopyStatusSchema = z.enum(["in_circulation", "lost"]);
|
|
2690
|
+
|
|
2691
|
+
const propertyKeyRingColorSchema = z.enum([
|
|
2692
|
+
"black",
|
|
2693
|
+
"red",
|
|
2694
|
+
"yellow",
|
|
2695
|
+
"white",
|
|
2696
|
+
"green",
|
|
2697
|
+
"blue",
|
|
2698
|
+
"orange",
|
|
2699
|
+
"grey"
|
|
2700
|
+
]);
|
|
2701
|
+
|
|
2702
|
+
const propertyKeyRingRemovalReasonSchema = z.enum([
|
|
2703
|
+
"no_longer_fits",
|
|
2704
|
+
"held"
|
|
2705
|
+
]);
|
|
2706
|
+
|
|
2707
|
+
const propertyKeyTypeSchema = z.enum([
|
|
2708
|
+
"front_door",
|
|
2709
|
+
"apartment_door",
|
|
2710
|
+
"room_door",
|
|
2711
|
+
"master",
|
|
2712
|
+
"mailbox",
|
|
2713
|
+
"cellar",
|
|
2714
|
+
"attic",
|
|
2715
|
+
"garage",
|
|
2716
|
+
"bicycle_storage",
|
|
2717
|
+
"laundry_room",
|
|
2718
|
+
"gate",
|
|
2719
|
+
"other"
|
|
2720
|
+
]);
|
|
2721
|
+
|
|
2722
|
+
const propertyShareScopeSchema = z.enum(["wholeBuilding", "rentalUnits"]);
|
|
2723
|
+
|
|
2724
|
+
const propertyTypeSchema = z.enum([
|
|
2725
|
+
"apartment",
|
|
2726
|
+
"room",
|
|
2727
|
+
"single_family_house",
|
|
2728
|
+
"multi_family_house",
|
|
2729
|
+
"commercial_unit",
|
|
2730
|
+
"parking_space",
|
|
2731
|
+
"storage"
|
|
2732
|
+
]);
|
|
2733
|
+
|
|
2734
|
+
const propertyVanityDomainModeSchema = z.enum(["label", "apex"]);
|
|
2735
|
+
|
|
2736
|
+
const propertyVanityHostStatusSchema = z.enum([
|
|
2737
|
+
"awaiting_dns",
|
|
2738
|
+
"certifying",
|
|
2739
|
+
"live",
|
|
2740
|
+
"failed"
|
|
2741
|
+
]);
|
|
2742
|
+
|
|
2743
|
+
const questionnairePersonFieldSchema = z.enum([
|
|
2744
|
+
"first_name",
|
|
2745
|
+
"date_of_birth",
|
|
2746
|
+
"address",
|
|
2747
|
+
"capacity",
|
|
2748
|
+
"profit_share",
|
|
2749
|
+
"legal_form",
|
|
2750
|
+
"partners"
|
|
2751
|
+
]);
|
|
2752
|
+
|
|
2753
|
+
const questionnairePersonRoleSchema = z.enum([
|
|
2754
|
+
"owner",
|
|
2755
|
+
"representative",
|
|
2756
|
+
"shareholder",
|
|
2757
|
+
"partner"
|
|
2758
|
+
]);
|
|
2759
|
+
|
|
2760
|
+
const reconciliationItemStatusSchema = z.enum([
|
|
2761
|
+
"open",
|
|
2762
|
+
"resolved",
|
|
2763
|
+
"dismissed"
|
|
2764
|
+
]);
|
|
2765
|
+
|
|
2766
|
+
const reconciliationItemTypeSchema = z.enum([
|
|
2767
|
+
"direction_mismatch",
|
|
2768
|
+
"period_closed",
|
|
2769
|
+
"manual_entry_found",
|
|
2770
|
+
"ambiguous_match",
|
|
2771
|
+
"amount_exceeds_obligation",
|
|
2772
|
+
"missing_exchange_rate",
|
|
2773
|
+
"counterparty_recorded_payment",
|
|
2774
|
+
"facility_limit_exceeded",
|
|
2775
|
+
"ambiguous_payment_claim",
|
|
2776
|
+
"payment_claim_settled"
|
|
2777
|
+
]);
|
|
2778
|
+
|
|
2779
|
+
const reconciliationResolutionSchema = z.enum([
|
|
2780
|
+
"adopt",
|
|
2781
|
+
"reverse_and_replace",
|
|
2782
|
+
"keep_both",
|
|
2783
|
+
"retry",
|
|
2784
|
+
"acknowledge",
|
|
2785
|
+
"record_payment",
|
|
2786
|
+
"book_at_rate"
|
|
2787
|
+
]);
|
|
2788
|
+
|
|
2789
|
+
const recyclingCentreScheduleReadingSchema = z.enum([
|
|
2790
|
+
"confirmed",
|
|
2791
|
+
"changed",
|
|
2792
|
+
"not_found",
|
|
2793
|
+
"unreachable",
|
|
2794
|
+
"no_source"
|
|
2795
|
+
]);
|
|
2796
|
+
|
|
2797
|
+
const recyclingCentreTypeSchema = z.enum([
|
|
2798
|
+
"container_site",
|
|
2799
|
+
"recycling_centre"
|
|
2800
|
+
]);
|
|
2801
|
+
|
|
2802
|
+
const relationshipTypeSchema = z.enum([
|
|
2803
|
+
"spouse",
|
|
2804
|
+
"fiance",
|
|
2805
|
+
"parent",
|
|
2806
|
+
"child",
|
|
2807
|
+
"sibling",
|
|
2808
|
+
"in_law_direct",
|
|
2809
|
+
"sibling_child",
|
|
2810
|
+
"sibling_spouse",
|
|
2811
|
+
"spouse_sibling",
|
|
2812
|
+
"parent_sibling",
|
|
2813
|
+
"foster_parent",
|
|
2814
|
+
"foster_child",
|
|
2815
|
+
"business_partner",
|
|
2816
|
+
"affiliated_entity"
|
|
2817
|
+
]);
|
|
2818
|
+
|
|
2819
|
+
const religionSchema = z.enum([
|
|
2820
|
+
"catholic",
|
|
2821
|
+
"protestant",
|
|
2822
|
+
"jewish",
|
|
2823
|
+
"muslim",
|
|
2824
|
+
"hindu",
|
|
2825
|
+
"none",
|
|
2826
|
+
"other"
|
|
2827
|
+
]);
|
|
2828
|
+
|
|
2829
|
+
const religionTaxAffiliationSchema = z.enum([
|
|
2830
|
+
"vd",
|
|
2831
|
+
"ev",
|
|
2832
|
+
"rk",
|
|
2833
|
+
"ak",
|
|
2834
|
+
"fa",
|
|
2835
|
+
"fb",
|
|
2836
|
+
"fg",
|
|
2837
|
+
"fm",
|
|
2838
|
+
"fr",
|
|
2839
|
+
"fs",
|
|
2840
|
+
"ib",
|
|
2841
|
+
"il",
|
|
2842
|
+
"is",
|
|
2843
|
+
"iw",
|
|
2844
|
+
"jd",
|
|
2845
|
+
"jh",
|
|
2846
|
+
"lt",
|
|
2847
|
+
"ob",
|
|
2848
|
+
"rf",
|
|
2849
|
+
"un"
|
|
2850
|
+
]);
|
|
2851
|
+
|
|
2852
|
+
const rentalDepositEntryTypeSchema = z.enum([
|
|
2853
|
+
"payment",
|
|
2854
|
+
"interest",
|
|
2855
|
+
"deduction",
|
|
2856
|
+
"return",
|
|
2857
|
+
"correction"
|
|
2858
|
+
]);
|
|
2859
|
+
|
|
2860
|
+
const rentalDepositStatementTypeSchema = z.enum(["interim", "final"]);
|
|
2861
|
+
|
|
2862
|
+
const rentalDepositStatusSchema = z.enum([
|
|
2863
|
+
"collecting",
|
|
2864
|
+
"held",
|
|
2865
|
+
"settling",
|
|
2866
|
+
"settled"
|
|
2867
|
+
]);
|
|
2868
|
+
|
|
2869
|
+
const rentalDirectionSchema = z.enum(["landlord", "renter"]);
|
|
2870
|
+
|
|
2871
|
+
const rentalDocumentReminderOccasionSchema = z.enum([
|
|
2872
|
+
"armed",
|
|
2873
|
+
"reminder"
|
|
2874
|
+
]);
|
|
2875
|
+
|
|
2876
|
+
const rentalDocumentRequestStatusSchema = z.enum([
|
|
2877
|
+
"requested",
|
|
2878
|
+
"uploaded",
|
|
2879
|
+
"confirmed",
|
|
2880
|
+
"rejected"
|
|
2881
|
+
]);
|
|
2882
|
+
|
|
2883
|
+
const rentalDocumentTypeSchema = z.enum([
|
|
2884
|
+
"enrolment_certificate",
|
|
2885
|
+
"registration_certificate",
|
|
2886
|
+
"income_proof",
|
|
2887
|
+
"other"
|
|
2888
|
+
]);
|
|
2889
|
+
|
|
2890
|
+
const rentalPremisesUseSchema = z.enum(["residential", "commercial"]);
|
|
2891
|
+
|
|
2892
|
+
const rentalRentDueDateRuleSchema = z.enum([
|
|
2893
|
+
"third_working_day_in_advance",
|
|
2894
|
+
"first_day_in_advance",
|
|
2895
|
+
"three_days_before_month_end",
|
|
2896
|
+
"end_of_month_in_arrears"
|
|
2897
|
+
]);
|
|
2898
|
+
|
|
2899
|
+
const rentalStatusSchema = z.enum([
|
|
2900
|
+
"draft",
|
|
2901
|
+
"active",
|
|
2902
|
+
"terminated",
|
|
2903
|
+
"expired",
|
|
2904
|
+
"cancelled"
|
|
2905
|
+
]);
|
|
2906
|
+
|
|
2907
|
+
const rentalTermModelSchema = z.enum(["open_ended", "fixed", "semester"]);
|
|
2908
|
+
|
|
2909
|
+
const rentalTypeSchema = z.enum(["main", "sublease"]);
|
|
2910
|
+
|
|
2911
|
+
const rentalUnitConstituentTypeSchema = z.enum([
|
|
2912
|
+
"floor",
|
|
2913
|
+
"apartment",
|
|
2914
|
+
"room",
|
|
2915
|
+
"bed",
|
|
2916
|
+
"parkingSpace"
|
|
2917
|
+
]);
|
|
2918
|
+
|
|
2919
|
+
const rentalUnitObjectNounSchema = z.enum([
|
|
2920
|
+
"flat",
|
|
2921
|
+
"room",
|
|
2922
|
+
"bed",
|
|
2923
|
+
"floor",
|
|
2924
|
+
"parkingSpace",
|
|
2925
|
+
"premises"
|
|
2926
|
+
]);
|
|
2927
|
+
|
|
2928
|
+
const renterChargeSettlementMethodSchema = z.enum([
|
|
2929
|
+
"deposit_deduction",
|
|
2930
|
+
"invoice",
|
|
2931
|
+
"payment"
|
|
2932
|
+
]);
|
|
2933
|
+
|
|
2934
|
+
const renterChargeStatusSchema = z.enum(["open", "settled", "waived"]);
|
|
2935
|
+
|
|
2936
|
+
const renterChargeTypeSchema = z.enum([
|
|
2937
|
+
"lost_key",
|
|
2938
|
+
"defect",
|
|
2939
|
+
"cleaning",
|
|
2940
|
+
"other"
|
|
2941
|
+
]);
|
|
2942
|
+
|
|
2943
|
+
const renterHubAnnouncementTypeSchema = z.enum([
|
|
2944
|
+
"maintenance",
|
|
2945
|
+
"viewing",
|
|
2946
|
+
"general",
|
|
2947
|
+
"reminder",
|
|
2948
|
+
"house_rules_update",
|
|
2949
|
+
"formal_warning"
|
|
2950
|
+
]);
|
|
2951
|
+
|
|
2952
|
+
const renterHubChannelTypeSchema = z.enum([
|
|
2953
|
+
"house",
|
|
2954
|
+
"household",
|
|
2955
|
+
"direct"
|
|
2956
|
+
]);
|
|
2957
|
+
|
|
2958
|
+
const reportViewSchema = z.enum(["isolated", "consolidated"]);
|
|
2959
|
+
|
|
2960
|
+
const representationAuthoritySchema = z.enum(["sole", "joint", "none"]);
|
|
2961
|
+
|
|
2962
|
+
const representativeCapacitySchema = z.enum([
|
|
2963
|
+
"managing_director",
|
|
2964
|
+
"board_member",
|
|
2965
|
+
"authorized_signatory",
|
|
2966
|
+
"partner",
|
|
2967
|
+
"liquidator"
|
|
2968
|
+
]);
|
|
2969
|
+
|
|
2970
|
+
const requestContactEmailChangeOutcomeSchema = z.enum([
|
|
2971
|
+
"requested",
|
|
2972
|
+
"unchanged"
|
|
2973
|
+
]);
|
|
2974
|
+
|
|
2975
|
+
const residualCollectionSchema = z.enum(["bin", "fee_bag"]);
|
|
2976
|
+
|
|
2977
|
+
const roleSchema = z.enum(["superadmin", "admin"]);
|
|
2978
|
+
|
|
2979
|
+
const salesAccountSegmentSchema = z.enum([
|
|
2980
|
+
"solo",
|
|
2981
|
+
"small",
|
|
2982
|
+
"mid_market",
|
|
2983
|
+
"enterprise"
|
|
2984
|
+
]);
|
|
2985
|
+
|
|
2986
|
+
const salesAccountSourceSchema = z.enum([
|
|
2987
|
+
"outbound",
|
|
2988
|
+
"inbound",
|
|
2989
|
+
"referral",
|
|
2990
|
+
"event",
|
|
2991
|
+
"partner"
|
|
2992
|
+
]);
|
|
2993
|
+
|
|
2994
|
+
const salesActivityTypeSchema = z.enum([
|
|
2995
|
+
"note",
|
|
2996
|
+
"call",
|
|
2997
|
+
"email",
|
|
2998
|
+
"meeting",
|
|
2999
|
+
"stage_change",
|
|
3000
|
+
"value_change",
|
|
3001
|
+
"owner_change"
|
|
3002
|
+
]);
|
|
3003
|
+
|
|
3004
|
+
const scanPageContentTypeSchema = z.enum(["image/jpeg", "image/png"]);
|
|
3005
|
+
|
|
3006
|
+
const semesterContinuationSchema = z.enum([
|
|
3007
|
+
"ends",
|
|
3008
|
+
"renter_may_leave",
|
|
3009
|
+
"rolling"
|
|
3010
|
+
]);
|
|
3011
|
+
|
|
3012
|
+
const semesterStartSchema = z.enum(["october", "september", "august"]);
|
|
3013
|
+
|
|
3014
|
+
const senderNameSourceSchema = z.enum([
|
|
3015
|
+
"official",
|
|
3016
|
+
"legal",
|
|
3017
|
+
"brand",
|
|
3018
|
+
"short"
|
|
3019
|
+
]);
|
|
3020
|
+
|
|
3021
|
+
const shareCapitalContributionSchema = z.enum(["cash", "in_kind"]);
|
|
3022
|
+
|
|
3023
|
+
const sidebarKeySchema = z.enum([
|
|
3024
|
+
"rental-editor:contract-terms",
|
|
3025
|
+
"loan-editor:contract-terms"
|
|
3026
|
+
]);
|
|
3027
|
+
|
|
3028
|
+
const signatureStyleSchema = z.enum(["name", "team", "team_of"]);
|
|
3029
|
+
|
|
3030
|
+
const silentPartnershipTypeSchema = z.enum(["typical", "atypical"]);
|
|
3031
|
+
|
|
3032
|
+
const slotModeSchema = z.enum(["interval", "duration"]);
|
|
3033
|
+
|
|
3034
|
+
const snapshotPeriodSchema = z.enum([
|
|
3035
|
+
"opening",
|
|
3036
|
+
"annual",
|
|
3037
|
+
"01",
|
|
3038
|
+
"02",
|
|
3039
|
+
"03",
|
|
3040
|
+
"04",
|
|
3041
|
+
"05",
|
|
3042
|
+
"06",
|
|
3043
|
+
"07",
|
|
3044
|
+
"08",
|
|
3045
|
+
"09",
|
|
3046
|
+
"10",
|
|
3047
|
+
"11",
|
|
3048
|
+
"12",
|
|
3049
|
+
"41",
|
|
3050
|
+
"42",
|
|
3051
|
+
"43",
|
|
3052
|
+
"44",
|
|
3053
|
+
"21",
|
|
3054
|
+
"22"
|
|
3055
|
+
]);
|
|
3056
|
+
|
|
3057
|
+
const sortOrderSchema = z.enum(["asc", "desc"]);
|
|
3058
|
+
|
|
3059
|
+
const statementNatureSchema = z.enum(["income", "expense"]);
|
|
3060
|
+
|
|
3061
|
+
const subleaseDepositMethodSchema = z.enum([
|
|
3062
|
+
"sub_landlord_deposit_liable",
|
|
3063
|
+
"own_deposit",
|
|
3064
|
+
"layered_deposits"
|
|
3065
|
+
]);
|
|
3066
|
+
|
|
3067
|
+
const subleaseRentRoutingSchema = z.enum([
|
|
3068
|
+
"direct_to_head_landlord",
|
|
3069
|
+
"via_sub_landlord_capped",
|
|
3070
|
+
"via_sub_landlord_uncapped"
|
|
3071
|
+
]);
|
|
3072
|
+
|
|
3073
|
+
const subleaseRoleSchema = z.enum(["headLandlord", "subLandlord"]);
|
|
3074
|
+
|
|
3075
|
+
const taxAccountAuthorizationStatusSchema = z.enum([
|
|
3076
|
+
"requested",
|
|
3077
|
+
"active",
|
|
3078
|
+
"refused",
|
|
3079
|
+
"revoked"
|
|
3080
|
+
]);
|
|
3081
|
+
|
|
3082
|
+
const taxAccountEntryTypeSchema = z.enum([
|
|
3083
|
+
"assessment",
|
|
3084
|
+
"prepayment",
|
|
3085
|
+
"payment",
|
|
3086
|
+
"refund",
|
|
3087
|
+
"late_fee",
|
|
3088
|
+
"interest",
|
|
3089
|
+
"missing_return",
|
|
3090
|
+
"open",
|
|
3091
|
+
"other"
|
|
3092
|
+
]);
|
|
3093
|
+
|
|
3094
|
+
const taxAccountQueryTypeSchema = z.enum(["O", "I", "ZS"]);
|
|
3095
|
+
|
|
3096
|
+
const taxAccountStatementSourceSchema = z.enum(["eric", "mein_elster"]);
|
|
3097
|
+
|
|
3098
|
+
const taxAccountTaxTypeSchema = z.enum([
|
|
3099
|
+
"income_tax",
|
|
3100
|
+
"corporate_tax",
|
|
3101
|
+
"trade_tax",
|
|
3102
|
+
"vat",
|
|
3103
|
+
"solidarity_surcharge",
|
|
3104
|
+
"church_tax",
|
|
3105
|
+
"wage_tax",
|
|
3106
|
+
"other"
|
|
3107
|
+
]);
|
|
3108
|
+
|
|
3109
|
+
const taxAdjustmentCategorySchema = z.enum([
|
|
3110
|
+
"kst_vga",
|
|
3111
|
+
"kst_statutory_purposes",
|
|
3112
|
+
"kst_corp_tax_foreign",
|
|
3113
|
+
"kst_supervisory_board_50pct",
|
|
3114
|
+
"kst_gifts_over_50",
|
|
3115
|
+
"kst_entertainment_30pct",
|
|
3116
|
+
"kst_guest_houses",
|
|
3117
|
+
"kst_hunting_fishing_sailing",
|
|
3118
|
+
"kst_excessive_representation",
|
|
3119
|
+
"kst_fines_penalties",
|
|
3120
|
+
"kst_bribes",
|
|
3121
|
+
"kst_8b_abs3",
|
|
3122
|
+
"kst_8b_abs5",
|
|
3123
|
+
"kst_interest_barrier",
|
|
3124
|
+
"kst_tax_free_dividends",
|
|
3125
|
+
"kst_tax_free_capital_gains",
|
|
3126
|
+
"kst_hidden_contributions",
|
|
3127
|
+
"kst_deductible_donations",
|
|
3128
|
+
"kst_loss_carryforward",
|
|
3129
|
+
"gewst_interest_25pct",
|
|
3130
|
+
"gewst_rent_movables",
|
|
3131
|
+
"gewst_rent_immovables",
|
|
3132
|
+
"gewst_licensing_fees",
|
|
3133
|
+
"gewst_silent_partner",
|
|
3134
|
+
"gewst_real_property",
|
|
3135
|
+
"gewst_partnership_profit",
|
|
3136
|
+
"gewst_dividends",
|
|
3137
|
+
"est_entertainment_30pct",
|
|
3138
|
+
"est_gifts_over_50",
|
|
3139
|
+
"est_commute_excess",
|
|
3140
|
+
"est_fines_penalties",
|
|
3141
|
+
"est_other_non_deductible",
|
|
3142
|
+
"est_trade_tax",
|
|
3143
|
+
"est_transition_result",
|
|
3144
|
+
"est_7g_add_back",
|
|
3145
|
+
"est_transition_loss",
|
|
3146
|
+
"est_7g_investment_deduction"
|
|
3147
|
+
]);
|
|
3148
|
+
|
|
3149
|
+
const taxAdjustmentTypeSchema = z.enum(["hinzurechnung", "kuerzung"]);
|
|
3150
|
+
|
|
3151
|
+
const taxAssessmentSourceSchema = z.enum([
|
|
3152
|
+
"manual",
|
|
3153
|
+
"extraction",
|
|
3154
|
+
"tax_account",
|
|
3155
|
+
"bescheid_data",
|
|
3156
|
+
"diva"
|
|
3157
|
+
]);
|
|
3158
|
+
|
|
3159
|
+
const taxAssessmentTypeSchema = z.enum([
|
|
3160
|
+
"income_tax",
|
|
3161
|
+
"trade_tax_base_amount",
|
|
3162
|
+
"trade_tax_loss_carryforward",
|
|
3163
|
+
"separate_determination",
|
|
3164
|
+
"vat",
|
|
3165
|
+
"corporate_tax"
|
|
3166
|
+
]);
|
|
3167
|
+
|
|
3168
|
+
const taxAssessmentValueKeySchema = z.enum([
|
|
3169
|
+
"income_from_business",
|
|
3170
|
+
"taxable_income",
|
|
3171
|
+
"assessed_tax",
|
|
3172
|
+
"trade_tax_base_amount",
|
|
3173
|
+
"loss_carryforward",
|
|
3174
|
+
"vat_payable",
|
|
3175
|
+
"prepayments_set"
|
|
3176
|
+
]);
|
|
3177
|
+
|
|
3178
|
+
const taxClassSchema = z.enum(["1", "2", "3", "4", "5", "6"]);
|
|
3179
|
+
|
|
3180
|
+
const taxOfficeLetterTypeSchema = z.enum([
|
|
3181
|
+
"copy_request",
|
|
3182
|
+
"tax_account_statement_request"
|
|
3183
|
+
]);
|
|
3184
|
+
|
|
3185
|
+
const taxReconciliationItemSourceSchema = z.enum([
|
|
3186
|
+
"manual",
|
|
3187
|
+
"fixed_asset_register",
|
|
3188
|
+
"provision",
|
|
3189
|
+
"carried_forward"
|
|
3190
|
+
]);
|
|
3191
|
+
|
|
3192
|
+
const taxReconciliationItemTypeSchema = z.enum([
|
|
3193
|
+
"reclassification",
|
|
3194
|
+
"change_value",
|
|
3195
|
+
"both"
|
|
3196
|
+
]);
|
|
3197
|
+
|
|
3198
|
+
const taxRegistrationGapSchema = z.enum([
|
|
3199
|
+
"not_applicable",
|
|
3200
|
+
"answers_missing",
|
|
3201
|
+
"tax_office_missing",
|
|
3202
|
+
"activity_missing",
|
|
3203
|
+
"address_missing",
|
|
3204
|
+
"bank_account_missing",
|
|
3205
|
+
"deed_date_missing",
|
|
3206
|
+
"share_capital_missing",
|
|
3207
|
+
"representatives_missing",
|
|
3208
|
+
"shareholders_missing",
|
|
3209
|
+
"owner_missing",
|
|
3210
|
+
"owner_tax_identification_number_missing",
|
|
3211
|
+
"religion_missing",
|
|
3212
|
+
"profit_determination_missing",
|
|
3213
|
+
"partners_missing",
|
|
3214
|
+
"fully_liable_partner_missing",
|
|
3215
|
+
"profit_shares_incomplete"
|
|
3216
|
+
]);
|
|
3217
|
+
|
|
3218
|
+
const taxTypeSchema = z.enum(["vat", "kst", "soli", "gewst", "est"]);
|
|
3219
|
+
|
|
3220
|
+
const taxonomyMappingSourceSchema = z.enum(["datev_edition", "manual"]);
|
|
3221
|
+
|
|
3222
|
+
const taxonomyMappingTypeSchema = z.enum([
|
|
3223
|
+
"direct",
|
|
3224
|
+
"auffang",
|
|
3225
|
+
"not_assignable"
|
|
3226
|
+
]);
|
|
3227
|
+
|
|
3228
|
+
const temporaryOccasionSchema = z.enum([
|
|
3229
|
+
"holiday",
|
|
3230
|
+
"own_home_renovation",
|
|
3231
|
+
"work_assignment",
|
|
3232
|
+
"study_or_training_stay",
|
|
3233
|
+
"other"
|
|
3234
|
+
]);
|
|
3235
|
+
|
|
3236
|
+
const termTypeSchema = z.enum(["fixed", "indefinite"]);
|
|
3237
|
+
|
|
3238
|
+
const transactionMethodSchema = z.enum([
|
|
3239
|
+
"bank_transfer",
|
|
3240
|
+
"credit_card",
|
|
3241
|
+
"debit_card",
|
|
3242
|
+
"cash",
|
|
3243
|
+
"paypal",
|
|
3244
|
+
"stripe",
|
|
3245
|
+
"crypto",
|
|
3246
|
+
"voucher"
|
|
3247
|
+
]);
|
|
3248
|
+
|
|
3249
|
+
const transactionStatusSchema = z.enum([
|
|
3250
|
+
"pending",
|
|
3251
|
+
"completed",
|
|
3252
|
+
"failed",
|
|
3253
|
+
"cancelled"
|
|
3254
|
+
]);
|
|
3255
|
+
|
|
3256
|
+
const transactionTypeSchema = z.enum([
|
|
3257
|
+
"income",
|
|
3258
|
+
"expense",
|
|
3259
|
+
"transfer",
|
|
3260
|
+
"investment",
|
|
3261
|
+
"refund",
|
|
3262
|
+
"loan",
|
|
3263
|
+
"asset"
|
|
3264
|
+
]);
|
|
3265
|
+
|
|
3266
|
+
const transitionNextActionSchema = z.enum([
|
|
3267
|
+
"set_tax_number",
|
|
3268
|
+
"complete",
|
|
3269
|
+
"request_notice_delivery",
|
|
3270
|
+
"set_share_capital",
|
|
3271
|
+
"record_opening_position",
|
|
3272
|
+
"open_fixed_assets",
|
|
3273
|
+
"verify_elster_access",
|
|
3274
|
+
"revoke_advisor_authorization"
|
|
3275
|
+
]);
|
|
3276
|
+
|
|
3277
|
+
const transitionStepGroupSchema = z.enum([
|
|
3278
|
+
"tax_office_access",
|
|
3279
|
+
"advisor_documents",
|
|
3280
|
+
"opening_position",
|
|
3281
|
+
"catch_up"
|
|
3282
|
+
]);
|
|
3283
|
+
|
|
3284
|
+
const transitionStepTypeSchema = z.enum([
|
|
3285
|
+
"tax_number",
|
|
3286
|
+
"elster_access",
|
|
3287
|
+
"advisor_authorization_revoked",
|
|
3288
|
+
"notice_delivery",
|
|
3289
|
+
"share_capital",
|
|
3290
|
+
"opening_position",
|
|
3291
|
+
"fixed_asset_register"
|
|
3292
|
+
]);
|
|
3293
|
+
|
|
3294
|
+
const triggerEventSchema = z.enum([
|
|
3295
|
+
"invoice_booked_outgoing",
|
|
3296
|
+
"invoice_booked_incoming",
|
|
3297
|
+
"invoice_cancelled_outgoing",
|
|
3298
|
+
"invoice_cancelled_incoming",
|
|
3299
|
+
"payment_allocated_incoming",
|
|
3300
|
+
"payment_allocated_outgoing",
|
|
3301
|
+
"payment_cancelled",
|
|
3302
|
+
"depreciation_scheduled",
|
|
3303
|
+
"asset_created",
|
|
3304
|
+
"asset_disposed",
|
|
3305
|
+
"loan_drawdown",
|
|
3306
|
+
"loan_repayment_principal",
|
|
3307
|
+
"loan_repayment_interest",
|
|
3308
|
+
"interest_accrual",
|
|
3309
|
+
"capital_contribution",
|
|
3310
|
+
"building_savings_payment",
|
|
3311
|
+
"bank_fee_payment",
|
|
3312
|
+
"construction_payment",
|
|
3313
|
+
"property_acquisition",
|
|
3314
|
+
"formation_expense",
|
|
3315
|
+
"utility_payment",
|
|
3316
|
+
"gwg_purchase",
|
|
3317
|
+
"loan_fee",
|
|
3318
|
+
"loan_maturity_reclassification",
|
|
3319
|
+
"rental_deposit_formation",
|
|
3320
|
+
"rental_deposit_payment",
|
|
3321
|
+
"rental_deposit_interest",
|
|
3322
|
+
"rental_deposit_retention",
|
|
3323
|
+
"rental_deposit_return",
|
|
3324
|
+
"cash_discount_granted",
|
|
3325
|
+
"default_interest_charged",
|
|
3326
|
+
"dunning_fee_charged",
|
|
3327
|
+
"receivable_written_off",
|
|
3328
|
+
"revenue_received",
|
|
3329
|
+
"expense_paid",
|
|
3330
|
+
"till_day_closed"
|
|
3331
|
+
]);
|
|
3332
|
+
|
|
3333
|
+
const vatCategorySchema = z.enum([
|
|
3334
|
+
"standard",
|
|
3335
|
+
"reduced",
|
|
3336
|
+
"accommodation",
|
|
3337
|
+
"zero_rated",
|
|
3338
|
+
"exempt",
|
|
3339
|
+
"exempt_with_credit",
|
|
3340
|
+
"reverse_charge",
|
|
3341
|
+
"intra_community_acquisition",
|
|
3342
|
+
"intra_community_supply",
|
|
3343
|
+
"import",
|
|
3344
|
+
"export"
|
|
3345
|
+
]);
|
|
3346
|
+
|
|
3347
|
+
const vatCharacterSchema = z.enum(["liable", "small_business", "exempt"]);
|
|
3348
|
+
|
|
3349
|
+
const vatDirectionSchema = z.enum(["output", "input"]);
|
|
3350
|
+
|
|
3351
|
+
const vatTaxationMethodSchema = z.enum(["accrual", "cash"]);
|
|
3352
|
+
|
|
3353
|
+
const wasteFractionSchema = z.enum([
|
|
3354
|
+
"packaging",
|
|
3355
|
+
"paper",
|
|
3356
|
+
"organic",
|
|
3357
|
+
"residual"
|
|
3358
|
+
]);
|
|
3359
|
+
|
|
3360
|
+
const wasteHolderSchema = z.enum(["bag", "bin", "container", "none"]);
|
|
3361
|
+
|
|
3362
|
+
const wasteMaterialSchema = z.enum([
|
|
3363
|
+
"glass",
|
|
3364
|
+
"paper_cardboard",
|
|
3365
|
+
"packaging",
|
|
3366
|
+
"electronics",
|
|
3367
|
+
"batteries",
|
|
3368
|
+
"bulbs",
|
|
3369
|
+
"hazardous",
|
|
3370
|
+
"bulky",
|
|
3371
|
+
"green_waste",
|
|
3372
|
+
"textiles",
|
|
3373
|
+
"metal",
|
|
3374
|
+
"wood",
|
|
3375
|
+
"cork",
|
|
3376
|
+
"construction_rubble",
|
|
3377
|
+
"used_oil"
|
|
3378
|
+
]);
|
|
3379
|
+
|
|
3380
|
+
const wizardKeySchema = z.enum([
|
|
3381
|
+
"rolodex-share-candidates-v1",
|
|
3382
|
+
"contracts-fixed-term-reasons-v1",
|
|
3383
|
+
"contracts-loan-editor-tour-v1",
|
|
3384
|
+
"platform-fixed-term-reasons-v1",
|
|
3385
|
+
"platform-house-rule-blocks-v1",
|
|
3386
|
+
"settings-brand-icons-v1",
|
|
3387
|
+
"contracts-rental-deposit-v1",
|
|
3388
|
+
"properties-shares-v1",
|
|
3389
|
+
"platform-waste-collection-areas-v1",
|
|
3390
|
+
"platform-waste-management-v1",
|
|
3391
|
+
"settings-own-domains-v1",
|
|
3392
|
+
"settings-own-email-addresses-v1"
|
|
3393
|
+
]);
|
|
3394
|
+
|
|
3395
|
+
const writtenFormStatuteSchema = z.enum([
|
|
3396
|
+
"de_written_form",
|
|
3397
|
+
"ch_written_form"
|
|
3398
|
+
]);
|
|
3399
|
+
|
|
3400
|
+
const xbrlHgbPositionTypeSchema = z.enum([
|
|
3401
|
+
"mussfeld",
|
|
3402
|
+
"kannfeld",
|
|
3403
|
+
"summenmussfeld",
|
|
3404
|
+
"auffangposition"
|
|
3405
|
+
]);
|
|
3406
|
+
|
|
3407
|
+
const xbrlNotPermittedForSchema = z.enum([
|
|
3408
|
+
"fiscal",
|
|
3409
|
+
"commercial",
|
|
3410
|
+
"tax_office_filing"
|
|
3411
|
+
]);
|
|
3412
|
+
|
|
3413
|
+
const xbrlPeriodTypeSchema = z.enum(["instant", "duration"]);
|
|
3414
|
+
|
|
3415
|
+
const schemas = {
|
|
3416
|
+
AccessGrantInitiator: accessGrantInitiatorSchema,
|
|
3417
|
+
AccessGrantResourceType: accessGrantResourceTypeSchema,
|
|
3418
|
+
AccessGrantStatus: accessGrantStatusSchema,
|
|
3419
|
+
AccountMappingType: accountMappingTypeSchema,
|
|
3420
|
+
AccountSnapshotStatus: accountSnapshotStatusSchema,
|
|
3421
|
+
AccountSnapshotType: accountSnapshotTypeSchema,
|
|
3422
|
+
AccountType: accountTypeSchema,
|
|
3423
|
+
ActorType: actorTypeSchema,
|
|
3424
|
+
AddressType: addressTypeSchema,
|
|
3425
|
+
AmortizationType: amortizationTypeSchema,
|
|
3426
|
+
AmountSource: amountSourceSchema,
|
|
3427
|
+
AnlageGProblemType: anlageGProblemTypeSchema,
|
|
3428
|
+
AnlageKapReason: anlageKapReasonSchema,
|
|
3429
|
+
AnlageKindChildRelationship: anlageKindChildRelationshipSchema,
|
|
3430
|
+
AnlageKindOtherParentStatus: anlageKindOtherParentStatusSchema,
|
|
3431
|
+
AnlageVField: anlageVFieldSchema,
|
|
3432
|
+
AnnotatableFieldPath: annotatableFieldPathSchema,
|
|
3433
|
+
AppointmentStatus: appointmentStatusSchema,
|
|
3434
|
+
ArticleStatus: articleStatusSchema,
|
|
3435
|
+
ArtifactType: artifactTypeSchema,
|
|
3436
|
+
AssetDepreciationMethod: assetDepreciationMethodSchema,
|
|
3437
|
+
AssetDepreciationType: assetDepreciationTypeSchema,
|
|
3438
|
+
AuditActorType: auditActorTypeSchema,
|
|
3439
|
+
AuditCategory: auditCategorySchema,
|
|
3440
|
+
BalanceSheetCategory: balanceSheetCategorySchema,
|
|
3441
|
+
BalanceSheetStandard: balanceSheetStandardSchema,
|
|
3442
|
+
BandMeasure: bandMeasureSchema,
|
|
3443
|
+
BankAccountStatus: bankAccountStatusSchema,
|
|
3444
|
+
BankStatementDecimalSeparator: bankStatementDecimalSeparatorSchema,
|
|
3445
|
+
BankStatementSource: bankStatementSourceSchema,
|
|
3446
|
+
BescheidEinwilligungStatus: bescheidEinwilligungStatusSchema,
|
|
3447
|
+
BillingInterval: billingIntervalSchema,
|
|
3448
|
+
BookingChannel: bookingChannelSchema,
|
|
3449
|
+
BookingPurpose: bookingPurposeSchema,
|
|
3450
|
+
BookingSide: bookingSideSchema,
|
|
3451
|
+
BrandPalette: brandPaletteSchema,
|
|
3452
|
+
BusinessEntityType: businessEntityTypeSchema,
|
|
3453
|
+
BusinessFoundingType: businessFoundingTypeSchema,
|
|
3454
|
+
BusinessStage: businessStageSchema,
|
|
3455
|
+
CancelPlatformInvoiceOutcome: cancelPlatformInvoiceOutcomeSchema,
|
|
3456
|
+
CashBasisAssetGroup: cashBasisAssetGroupSchema,
|
|
3457
|
+
CashBasisReconciliationKey: cashBasisReconciliationKeySchema,
|
|
3458
|
+
CatchUpUstvaStatus: catchUpUstvaStatusSchema,
|
|
3459
|
+
ChartFamily: chartFamilySchema,
|
|
3460
|
+
ChartInterchangeTier: chartInterchangeTierSchema,
|
|
3461
|
+
ChartNumberBlockType: chartNumberBlockTypeSchema,
|
|
3462
|
+
ChartProvider: chartProviderSchema,
|
|
3463
|
+
ChatChannelType: chatChannelTypeSchema,
|
|
3464
|
+
ChatMemberRole: chatMemberRoleSchema,
|
|
3465
|
+
CollateralType: collateralTypeSchema,
|
|
3466
|
+
CommercialRegisterSection: commercialRegisterSectionSchema,
|
|
3467
|
+
ComposePlatformInvoiceOutcome: composePlatformInvoiceOutcomeSchema,
|
|
3468
|
+
ConfirmContactEmailChangeOutcome: confirmContactEmailChangeOutcomeSchema,
|
|
3469
|
+
ConsolidationEliminationSource: consolidationEliminationSourceSchema,
|
|
3470
|
+
ConsolidationResidueReason: consolidationResidueReasonSchema,
|
|
3471
|
+
ContactEmailAudience: contactEmailAudienceSchema,
|
|
3472
|
+
ContactEmailType: contactEmailTypeSchema,
|
|
3473
|
+
ContactEmailVerificationStatus: contactEmailVerificationStatusSchema,
|
|
3474
|
+
ContractAssuranceLevel: contractAssuranceLevelSchema,
|
|
3475
|
+
ContractClauseKey: contractClauseKeySchema,
|
|
3476
|
+
ContractIdentifierPosition: contractIdentifierPositionSchema,
|
|
3477
|
+
ContractPageNumberNumeral: contractPageNumberNumeralSchema,
|
|
3478
|
+
ContractPageNumberPosition: contractPageNumberPositionSchema,
|
|
3479
|
+
ContractPartyRole: contractPartyRoleSchema,
|
|
3480
|
+
ContractScanContentType: contractScanContentTypeSchema,
|
|
3481
|
+
ContractSignatoryChannelPolicy: contractSignatoryChannelPolicySchema,
|
|
3482
|
+
ContractSignatoryChannel: contractSignatoryChannelSchema,
|
|
3483
|
+
ContractSignatoryStatus: contractSignatoryStatusSchema,
|
|
3484
|
+
ContractStatus: contractStatusSchema,
|
|
3485
|
+
ContractType: contractTypeSchema,
|
|
3486
|
+
ContractTypography: contractTypographySchema,
|
|
3487
|
+
CorporateTaxRateType: corporateTaxRateTypeSchema,
|
|
3488
|
+
CorporationEntityType: corporationEntityTypeSchema,
|
|
3489
|
+
CorrespondenceCardinality: correspondenceCardinalitySchema,
|
|
3490
|
+
CorrespondenceSource: correspondenceSourceSchema,
|
|
3491
|
+
Country: countrySchema,
|
|
3492
|
+
CreditBalanceUse: creditBalanceUseSchema,
|
|
3493
|
+
Currency: currencySchema,
|
|
3494
|
+
DatevBusinessPartnerType: datevBusinessPartnerTypeSchema,
|
|
3495
|
+
DatevExportRefusalReason: datevExportRefusalReasonSchema,
|
|
3496
|
+
DatevFormatCategory: datevFormatCategorySchema,
|
|
3497
|
+
DatevLegalFormFamily: datevLegalFormFamilySchema,
|
|
3498
|
+
DatevStackType: datevStackTypeSchema,
|
|
3499
|
+
DayCountConvention: dayCountConventionSchema,
|
|
3500
|
+
DayOfWeek: dayOfWeekSchema,
|
|
3501
|
+
DealStage: dealStageSchema,
|
|
3502
|
+
DealValueSource: dealValueSourceSchema,
|
|
3503
|
+
DefectResponsibility: defectResponsibilitySchema,
|
|
3504
|
+
DepositCustodyModel: depositCustodyModelSchema,
|
|
3505
|
+
DepreciationRefusalType: depreciationRefusalTypeSchema,
|
|
3506
|
+
Direction: directionSchema,
|
|
3507
|
+
DirectionX: directionXSchema,
|
|
3508
|
+
DirectionY: directionYSchema,
|
|
3509
|
+
DocumentAccessType: documentAccessTypeSchema,
|
|
3510
|
+
DocumentClassificationState: documentClassificationStateSchema,
|
|
3511
|
+
DocumentLinkProvenance: documentLinkProvenanceSchema,
|
|
3512
|
+
DocumentLinkRelationType: documentLinkRelationTypeSchema,
|
|
3513
|
+
DocumentLinkStatus: documentLinkStatusSchema,
|
|
3514
|
+
DocumentOwnerType: documentOwnerTypeSchema,
|
|
3515
|
+
DocumentSource: documentSourceSchema,
|
|
3516
|
+
DocumentStatus: documentStatusSchema,
|
|
3517
|
+
DocumentType: documentTypeSchema,
|
|
3518
|
+
DueFilingUrgency: dueFilingUrgencySchema,
|
|
3519
|
+
DunningDefaultEntryRule: dunningDefaultEntryRuleSchema,
|
|
3520
|
+
DunningHoldReason: dunningHoldReasonSchema,
|
|
3521
|
+
DunningLevel: dunningLevelSchema,
|
|
3522
|
+
DunningLumpSumChoice: dunningLumpSumChoiceSchema,
|
|
3523
|
+
DunningLumpSumRung: dunningLumpSumRungSchema,
|
|
3524
|
+
DunningNoticeItemType: dunningNoticeItemTypeSchema,
|
|
3525
|
+
DunningNoticeStatus: dunningNoticeStatusSchema,
|
|
3526
|
+
DunningNoticeType: dunningNoticeTypeSchema,
|
|
3527
|
+
DuplicateCandidateStatus: duplicateCandidateStatusSchema,
|
|
3528
|
+
EbilanzOutputFormat: ebilanzOutputFormatSchema,
|
|
3529
|
+
ElsterCertificatePurpose: elsterCertificatePurposeSchema,
|
|
3530
|
+
ElsterProblemKey: elsterProblemKeySchema,
|
|
3531
|
+
EmploymentType: employmentTypeSchema,
|
|
3532
|
+
EntityAssetType: entityAssetTypeSchema,
|
|
3533
|
+
EntityDecisionReason: entityDecisionReasonSchema,
|
|
3534
|
+
EntityDecisionSource: entityDecisionSourceSchema,
|
|
3535
|
+
EntityDecisionStatus: entityDecisionStatusSchema,
|
|
3536
|
+
EntityDecisionType: entityDecisionTypeSchema,
|
|
3537
|
+
EntityDocumentType: entityDocumentTypeSchema,
|
|
3538
|
+
EntityDomainAddressPurpose: entityDomainAddressPurposeSchema,
|
|
3539
|
+
EntityDomainStatus: entityDomainStatusSchema,
|
|
3540
|
+
EntityRelationshipType: entityRelationshipTypeSchema,
|
|
3541
|
+
EntityType: entityTypeSchema,
|
|
3542
|
+
EntityUserStatus: entityUserStatusSchema,
|
|
3543
|
+
EstSchedule: estScheduleSchema,
|
|
3544
|
+
EuerLineNature: euerLineNatureSchema,
|
|
3545
|
+
ExternalFilingDeclaredBy: externalFilingDeclaredBySchema,
|
|
3546
|
+
ExtractionStatus: extractionStatusSchema,
|
|
3547
|
+
FeatureCategory: featureCategorySchema,
|
|
3548
|
+
FeatureGate: featureGateSchema,
|
|
3549
|
+
FeatureStatus: featureStatusSchema,
|
|
3550
|
+
FetchOpenPlatformInvoicesBody: fetchOpenPlatformInvoicesBodySchema,
|
|
3551
|
+
FetchOpenPlatformInvoicesResponse: fetchOpenPlatformInvoicesResponseSchema,
|
|
3552
|
+
FetchPlatformChargeTaxesBody: fetchPlatformChargeTaxesBodySchema,
|
|
3553
|
+
FetchPlatformChargeTaxesResponse: fetchPlatformChargeTaxesResponseSchema,
|
|
3554
|
+
FetchPlatformInvoicePreviewBody: fetchPlatformInvoicePreviewBodySchema,
|
|
3555
|
+
FetchPlatformInvoicePreviewResponse: fetchPlatformInvoicePreviewResponseSchema,
|
|
3556
|
+
FetchPlatformInvoiceResponse: fetchPlatformInvoiceResponseSchema,
|
|
3557
|
+
FilingCadence: filingCadenceSchema,
|
|
3558
|
+
FilingDocumentType: filingDocumentTypeSchema,
|
|
3559
|
+
FilingLineSource: filingLineSourceSchema,
|
|
3560
|
+
FilingStatus: filingStatusSchema,
|
|
3561
|
+
FilingType: filingTypeSchema,
|
|
3562
|
+
FixedAssetScheduleProblemType: fixedAssetScheduleProblemTypeSchema,
|
|
3563
|
+
FixedTermFactsType: fixedTermFactsTypeSchema,
|
|
3564
|
+
FixedTermLegalBasis: fixedTermLegalBasisSchema,
|
|
3565
|
+
FixedTermReasonType: fixedTermReasonTypeSchema,
|
|
3566
|
+
FontRole: fontRoleSchema,
|
|
3567
|
+
FontStyle: fontStyleSchema,
|
|
3568
|
+
FormOfAddress: formOfAddressSchema,
|
|
3569
|
+
FormationDutyStatus: formationDutyStatusSchema,
|
|
3570
|
+
FormationNextAction: formationNextActionSchema,
|
|
3571
|
+
FormationStage: formationStageSchema,
|
|
3572
|
+
FormationStepGroup: formationStepGroupSchema,
|
|
3573
|
+
FormationStepStatus: formationStepStatusSchema,
|
|
3574
|
+
FormationStepType: formationStepTypeSchema,
|
|
3575
|
+
GlassCollection: glassCollectionSchema,
|
|
3576
|
+
HandoverDeclaration: handoverDeclarationSchema,
|
|
3577
|
+
HandoverFallback: handoverFallbackSchema,
|
|
3578
|
+
HandoverItemStatus: handoverItemStatusSchema,
|
|
3579
|
+
HandoverItemType: handoverItemTypeSchema,
|
|
3580
|
+
HandoverNeedKey: handoverNeedKeySchema,
|
|
3581
|
+
HandoverNeedStatus: handoverNeedStatusSchema,
|
|
3582
|
+
HandoverNextAction: handoverNextActionSchema,
|
|
3583
|
+
HandoverSatisfiedSource: handoverSatisfiedSourceSchema,
|
|
3584
|
+
HouseRuleChangeClassification: houseRuleChangeClassificationSchema,
|
|
3585
|
+
HouseRuleChangeType: houseRuleChangeTypeSchema,
|
|
3586
|
+
HouseRuleEditionRequestStatus: houseRuleEditionRequestStatusSchema,
|
|
3587
|
+
HouseRuleEditionRequestType: houseRuleEditionRequestTypeSchema,
|
|
3588
|
+
HouseRuleScope: houseRuleScopeSchema,
|
|
3589
|
+
HouseholdNamePurpose: householdNamePurposeSchema,
|
|
3590
|
+
HousingProvider: housingProviderSchema,
|
|
3591
|
+
IdentityCheckStatus: identityCheckStatusSchema,
|
|
3592
|
+
IncomeTaxAssessmentType: incomeTaxAssessmentTypeSchema,
|
|
3593
|
+
Industry: industrySchema,
|
|
3594
|
+
InvitationScenario: invitationScenarioSchema,
|
|
3595
|
+
InvoiceArithmeticCheck: invoiceArithmeticCheckSchema,
|
|
3596
|
+
InvoiceDeliveryFormat: invoiceDeliveryFormatSchema,
|
|
3597
|
+
InvoiceDirection: invoiceDirectionSchema,
|
|
3598
|
+
InvoiceDispatchChannel: invoiceDispatchChannelSchema,
|
|
3599
|
+
InvoiceLineTableDensity: invoiceLineTableDensitySchema,
|
|
3600
|
+
InvoicePaymentMethod: invoicePaymentMethodSchema,
|
|
3601
|
+
InvoiceStatus: invoiceStatusSchema,
|
|
3602
|
+
InvoiceType: invoiceTypeSchema,
|
|
3603
|
+
IssuePlatformInvoiceOutcome: issuePlatformInvoiceOutcomeSchema,
|
|
3604
|
+
JournalEntrySource: journalEntrySourceSchema,
|
|
3605
|
+
JournalEntryStatus: journalEntryStatusSchema,
|
|
3606
|
+
Jurisdiction: jurisdictionSchema,
|
|
3607
|
+
JurisdictionType: jurisdictionTypeSchema,
|
|
3608
|
+
KnownFactSourceType: knownFactSourceTypeSchema,
|
|
3609
|
+
KnownFactStatus: knownFactStatusSchema,
|
|
3610
|
+
KnownFactSubject: knownFactSubjectSchema,
|
|
3611
|
+
LetterheadLogoPosition: letterheadLogoPositionSchema,
|
|
3612
|
+
LetterheadWindowForm: letterheadWindowFormSchema,
|
|
3613
|
+
LettingArrangement: lettingArrangementSchema,
|
|
3614
|
+
LoanChannelAttestation: loanChannelAttestationSchema,
|
|
3615
|
+
LoanCounterpartyCategory: loanCounterpartyCategorySchema,
|
|
3616
|
+
LoanDirection: loanDirectionSchema,
|
|
3617
|
+
LoanInterestStatementType: loanInterestStatementTypeSchema,
|
|
3618
|
+
LoanMaturity: loanMaturitySchema,
|
|
3619
|
+
LoanRelatedPartyType: loanRelatedPartyTypeSchema,
|
|
3620
|
+
LoanStatus: loanStatusSchema,
|
|
3621
|
+
LoanType: loanTypeSchema,
|
|
3622
|
+
Locale: localeSchema,
|
|
3623
|
+
LostKeySettlement: lostKeySettlementSchema,
|
|
3624
|
+
ManagementReportSectionType: managementReportSectionTypeSchema,
|
|
3625
|
+
ManagementReportStatus: managementReportStatusSchema,
|
|
3626
|
+
MantelbogenField: mantelbogenFieldSchema,
|
|
3627
|
+
MappingCoverageSource: mappingCoverageSourceSchema,
|
|
3628
|
+
MaritalStatus: maritalStatusSchema,
|
|
3629
|
+
MatchedVia: matchedViaSchema,
|
|
3630
|
+
MediaAssetType: mediaAssetTypeSchema,
|
|
3631
|
+
MemberInvitationStatus: memberInvitationStatusSchema,
|
|
3632
|
+
MentionEntityType: mentionEntityTypeSchema,
|
|
3633
|
+
MentionType: mentionTypeSchema,
|
|
3634
|
+
MessageParticipantRole: messageParticipantRoleSchema,
|
|
3635
|
+
MessageSource: messageSourceSchema,
|
|
3636
|
+
MessageStatus: messageStatusSchema,
|
|
3637
|
+
MessageThreadStatus: messageThreadStatusSchema,
|
|
3638
|
+
MessageThreadSubjectType: messageThreadSubjectTypeSchema,
|
|
3639
|
+
ModuleScope: moduleScopeSchema,
|
|
3640
|
+
ObligationAmountBasis: obligationAmountBasisSchema,
|
|
3641
|
+
ObligationLinkType: obligationLinkTypeSchema,
|
|
3642
|
+
ObligationPlanLineStatus: obligationPlanLineStatusSchema,
|
|
3643
|
+
ObligationPlanRevisionReason: obligationPlanRevisionReasonSchema,
|
|
3644
|
+
ObligationPlanStatus: obligationPlanStatusSchema,
|
|
3645
|
+
ObligationPlanSubjectType: obligationPlanSubjectTypeSchema,
|
|
3646
|
+
ObligationRole: obligationRoleSchema,
|
|
3647
|
+
ObligationTermsSource: obligationTermsSourceSchema,
|
|
3648
|
+
ObligationType: obligationTypeSchema,
|
|
3649
|
+
OccupantRelationship: occupantRelationshipSchema,
|
|
3650
|
+
OnboardingCard: onboardingCardSchema,
|
|
3651
|
+
OrganicCollection: organicCollectionSchema,
|
|
3652
|
+
Orientation: orientationSchema,
|
|
3653
|
+
OwnConsumptionTradeClass: ownConsumptionTradeClassSchema,
|
|
3654
|
+
OwnerTransferType: ownerTransferTypeSchema,
|
|
3655
|
+
OwnershipCapacity: ownershipCapacitySchema,
|
|
3656
|
+
PackagingCollection: packagingCollectionSchema,
|
|
3657
|
+
PaperCollection: paperCollectionSchema,
|
|
3658
|
+
ParkingSpaceType: parkingSpaceTypeSchema,
|
|
3659
|
+
PartyGender: partyGenderSchema,
|
|
3660
|
+
PartyType: partyTypeSchema,
|
|
3661
|
+
PaymentClaimSettlementType: paymentClaimSettlementTypeSchema,
|
|
3662
|
+
PaymentClaimSide: paymentClaimSideSchema,
|
|
3663
|
+
PaymentClaimStatus: paymentClaimStatusSchema,
|
|
3664
|
+
PaymentClaimType: paymentClaimTypeSchema,
|
|
3665
|
+
PaymentFrequency: paymentFrequencySchema,
|
|
3666
|
+
PaymentMethod: paymentMethodSchema,
|
|
3667
|
+
PendingSuperadminTransferStatus: pendingSuperadminTransferStatusSchema,
|
|
3668
|
+
PermanentExtensionDecision: permanentExtensionDecisionSchema,
|
|
3669
|
+
Permission: permissionSchema,
|
|
3670
|
+
PersonalAnnualReviewStatus: personalAnnualReviewStatusSchema,
|
|
3671
|
+
PlatformChargeCustomer: platformChargeCustomerSchema,
|
|
3672
|
+
PlatformChargeTax: platformChargeTaxSchema,
|
|
3673
|
+
PlatformInvoiceCustomer: platformInvoiceCustomerSchema,
|
|
3674
|
+
PlatformInvoiceLine: platformInvoiceLineSchema,
|
|
3675
|
+
PlatformInvoiceLineType: platformInvoiceLineTypeSchema,
|
|
3676
|
+
PlatformInvoicePreview: platformInvoicePreviewSchema,
|
|
3677
|
+
PlatformRole: platformRoleSchema,
|
|
3678
|
+
PositionCenter: positionCenterSchema,
|
|
3679
|
+
PositionCorner: positionCornerSchema,
|
|
3680
|
+
PositionEdge: positionEdgeSchema,
|
|
3681
|
+
Position: positionSchema,
|
|
3682
|
+
PositionY: positionYSchema,
|
|
3683
|
+
PriorYearFigureType: priorYearFigureTypeSchema,
|
|
3684
|
+
ProcessPlatformInvoiceBody: processPlatformInvoiceBodySchema,
|
|
3685
|
+
ProcessPlatformInvoiceCreditBody: processPlatformInvoiceCreditBodySchema,
|
|
3686
|
+
ProcessPlatformInvoiceCreditResponse: processPlatformInvoiceCreditResponseSchema,
|
|
3687
|
+
ProcessPlatformInvoicePaymentBody: processPlatformInvoicePaymentBodySchema,
|
|
3688
|
+
ProcessPlatformInvoicePaymentResponse: processPlatformInvoicePaymentResponseSchema,
|
|
3689
|
+
ProcessPlatformInvoiceResponse: processPlatformInvoiceResponseSchema,
|
|
3690
|
+
ProcessPlatformInvoiceVoidBody: processPlatformInvoiceVoidBodySchema,
|
|
3691
|
+
ProcessPlatformInvoiceVoidResponse: processPlatformInvoiceVoidResponseSchema,
|
|
3692
|
+
ProfitDeterminationMethod: profitDeterminationMethodSchema,
|
|
3693
|
+
PropertyDefectStatus: propertyDefectStatusSchema,
|
|
3694
|
+
PropertyKeyCopyStatus: propertyKeyCopyStatusSchema,
|
|
3695
|
+
PropertyKeyRingColor: propertyKeyRingColorSchema,
|
|
3696
|
+
PropertyKeyRingRemovalReason: propertyKeyRingRemovalReasonSchema,
|
|
3697
|
+
PropertyKeyType: propertyKeyTypeSchema,
|
|
3698
|
+
PropertyShareScope: propertyShareScopeSchema,
|
|
3699
|
+
PropertyType: propertyTypeSchema,
|
|
3700
|
+
PropertyVanityDomainMode: propertyVanityDomainModeSchema,
|
|
3701
|
+
PropertyVanityHostStatus: propertyVanityHostStatusSchema,
|
|
3702
|
+
QuestionnairePersonField: questionnairePersonFieldSchema,
|
|
3703
|
+
QuestionnairePersonRole: questionnairePersonRoleSchema,
|
|
3704
|
+
ReconciliationItemStatus: reconciliationItemStatusSchema,
|
|
3705
|
+
ReconciliationItemType: reconciliationItemTypeSchema,
|
|
3706
|
+
ReconciliationResolution: reconciliationResolutionSchema,
|
|
3707
|
+
RecordPlatformInvoicePaymentOutcome: recordPlatformInvoicePaymentOutcomeSchema,
|
|
3708
|
+
RecyclingCentreScheduleReading: recyclingCentreScheduleReadingSchema,
|
|
3709
|
+
RecyclingCentreType: recyclingCentreTypeSchema,
|
|
3710
|
+
RelationshipType: relationshipTypeSchema,
|
|
3711
|
+
Religion: religionSchema,
|
|
3712
|
+
ReligionTaxAffiliation: religionTaxAffiliationSchema,
|
|
3713
|
+
RentalDepositEntryType: rentalDepositEntryTypeSchema,
|
|
3714
|
+
RentalDepositStatementType: rentalDepositStatementTypeSchema,
|
|
3715
|
+
RentalDepositStatus: rentalDepositStatusSchema,
|
|
3716
|
+
RentalDirection: rentalDirectionSchema,
|
|
3717
|
+
RentalDocumentReminderOccasion: rentalDocumentReminderOccasionSchema,
|
|
3718
|
+
RentalDocumentRequestStatus: rentalDocumentRequestStatusSchema,
|
|
3719
|
+
RentalDocumentType: rentalDocumentTypeSchema,
|
|
3720
|
+
RentalPremisesUse: rentalPremisesUseSchema,
|
|
3721
|
+
RentalRentDueDateRule: rentalRentDueDateRuleSchema,
|
|
3722
|
+
RentalStatus: rentalStatusSchema,
|
|
3723
|
+
RentalTermModel: rentalTermModelSchema,
|
|
3724
|
+
RentalType: rentalTypeSchema,
|
|
3725
|
+
RentalUnitConstituentType: rentalUnitConstituentTypeSchema,
|
|
3726
|
+
RentalUnitObjectNoun: rentalUnitObjectNounSchema,
|
|
3727
|
+
RenterChargeSettlementMethod: renterChargeSettlementMethodSchema,
|
|
3728
|
+
RenterChargeStatus: renterChargeStatusSchema,
|
|
3729
|
+
RenterChargeType: renterChargeTypeSchema,
|
|
3730
|
+
RenterHubAnnouncementType: renterHubAnnouncementTypeSchema,
|
|
3731
|
+
RenterHubChannelType: renterHubChannelTypeSchema,
|
|
3732
|
+
ReportView: reportViewSchema,
|
|
3733
|
+
RepresentationAuthority: representationAuthoritySchema,
|
|
3734
|
+
RepresentativeCapacity: representativeCapacitySchema,
|
|
3735
|
+
RequestContactEmailChangeOutcome: requestContactEmailChangeOutcomeSchema,
|
|
3736
|
+
ResidualCollection: residualCollectionSchema,
|
|
3737
|
+
Role: roleSchema,
|
|
3738
|
+
SalesAccountSegment: salesAccountSegmentSchema,
|
|
3739
|
+
SalesAccountSource: salesAccountSourceSchema,
|
|
3740
|
+
SalesActivityType: salesActivityTypeSchema,
|
|
3741
|
+
ScanPageContentType: scanPageContentTypeSchema,
|
|
3742
|
+
SemesterContinuation: semesterContinuationSchema,
|
|
3743
|
+
SemesterStart: semesterStartSchema,
|
|
3744
|
+
SenderNameSource: senderNameSourceSchema,
|
|
3745
|
+
SettlePlatformInvoicePaymentOutcome: settlePlatformInvoicePaymentOutcomeSchema,
|
|
3746
|
+
ShareCapitalContribution: shareCapitalContributionSchema,
|
|
3747
|
+
SidebarKey: sidebarKeySchema,
|
|
3748
|
+
SignatureStyle: signatureStyleSchema,
|
|
3749
|
+
SilentPartnershipType: silentPartnershipTypeSchema,
|
|
3750
|
+
SlotMode: slotModeSchema,
|
|
3751
|
+
SnapshotPeriod: snapshotPeriodSchema,
|
|
3752
|
+
SortOrder: sortOrderSchema,
|
|
3753
|
+
StatementNature: statementNatureSchema,
|
|
3754
|
+
SubleaseDepositMethod: subleaseDepositMethodSchema,
|
|
3755
|
+
SubleaseRentRouting: subleaseRentRoutingSchema,
|
|
3756
|
+
SubleaseRole: subleaseRoleSchema,
|
|
3757
|
+
TaxAccountAuthorizationStatus: taxAccountAuthorizationStatusSchema,
|
|
3758
|
+
TaxAccountEntryType: taxAccountEntryTypeSchema,
|
|
3759
|
+
TaxAccountQueryType: taxAccountQueryTypeSchema,
|
|
3760
|
+
TaxAccountStatementSource: taxAccountStatementSourceSchema,
|
|
3761
|
+
TaxAccountTaxType: taxAccountTaxTypeSchema,
|
|
3762
|
+
TaxAdjustmentCategory: taxAdjustmentCategorySchema,
|
|
3763
|
+
TaxAdjustmentType: taxAdjustmentTypeSchema,
|
|
3764
|
+
TaxAssessmentSource: taxAssessmentSourceSchema,
|
|
3765
|
+
TaxAssessmentType: taxAssessmentTypeSchema,
|
|
3766
|
+
TaxAssessmentValueKey: taxAssessmentValueKeySchema,
|
|
3767
|
+
TaxClass: taxClassSchema,
|
|
3768
|
+
TaxOfficeLetterType: taxOfficeLetterTypeSchema,
|
|
3769
|
+
TaxReconciliationItemSource: taxReconciliationItemSourceSchema,
|
|
3770
|
+
TaxReconciliationItemType: taxReconciliationItemTypeSchema,
|
|
3771
|
+
TaxRegistrationGap: taxRegistrationGapSchema,
|
|
3772
|
+
TaxType: taxTypeSchema,
|
|
3773
|
+
TaxonomyMappingSource: taxonomyMappingSourceSchema,
|
|
3774
|
+
TaxonomyMappingType: taxonomyMappingTypeSchema,
|
|
3775
|
+
TemporaryOccasion: temporaryOccasionSchema,
|
|
3776
|
+
TermType: termTypeSchema,
|
|
3777
|
+
TransactionMethod: transactionMethodSchema,
|
|
3778
|
+
TransactionStatus: transactionStatusSchema,
|
|
3779
|
+
TransactionType: transactionTypeSchema,
|
|
3780
|
+
TransitionNextAction: transitionNextActionSchema,
|
|
3781
|
+
TransitionStepGroup: transitionStepGroupSchema,
|
|
3782
|
+
TransitionStepType: transitionStepTypeSchema,
|
|
3783
|
+
TriggerEvent: triggerEventSchema,
|
|
3784
|
+
VatCategory: vatCategorySchema,
|
|
3785
|
+
VatCharacter: vatCharacterSchema,
|
|
3786
|
+
VatDirection: vatDirectionSchema,
|
|
3787
|
+
VatTaxationMethod: vatTaxationMethodSchema,
|
|
3788
|
+
WasteFraction: wasteFractionSchema,
|
|
3789
|
+
WasteHolder: wasteHolderSchema,
|
|
3790
|
+
WasteMaterial: wasteMaterialSchema,
|
|
3791
|
+
WizardKey: wizardKeySchema,
|
|
3792
|
+
WrittenFormStatute: writtenFormStatuteSchema,
|
|
3793
|
+
XbrlHgbPositionType: xbrlHgbPositionTypeSchema,
|
|
3794
|
+
XbrlNotPermittedFor: xbrlNotPermittedForSchema,
|
|
3795
|
+
XbrlPeriodType: xbrlPeriodTypeSchema
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
export { schemas };
|