@orvello/sdk 0.7.9 → 0.7.10
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/CONTRACT_SHA256 +1 -1
- package/dist/contract.cjs +115 -0
- package/dist/contract.cjs.map +1 -1
- package/dist/contract.d.cts +653 -3
- package/dist/contract.d.ts +653 -3
- package/dist/contract.js +115 -0
- package/dist/contract.js.map +1 -1
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +1100 -0
- package/package.json +1 -1
package/dist/contract.js
CHANGED
|
@@ -3024,6 +3024,121 @@ var apiRoutes_bookkeeping = {
|
|
|
3024
3024
|
validated: { "params": false, "query": true, "body": false }
|
|
3025
3025
|
},
|
|
3026
3026
|
types: null
|
|
3027
|
+
},
|
|
3028
|
+
// Contract source: explicit
|
|
3029
|
+
"suppliers_list": {
|
|
3030
|
+
method: "GET",
|
|
3031
|
+
path: "/bookkeeping/suppliers",
|
|
3032
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3033
|
+
meta: {
|
|
3034
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3035
|
+
summary: "Lieferanten mit Steuerprofil",
|
|
3036
|
+
description: "Alle Lieferanten der Firma mit Land, USt-IdNr., Schreibweisen, heute geltender Behandlung, Verlauf (Gueltig-ab, ersetzte Eintraege), Hinweis je Sitz (nicht bestaetigt) und Belegzahlen (ohne Behandlung, aus dem Profil, am Beleg gesetzt)."
|
|
3037
|
+
},
|
|
3038
|
+
types: null
|
|
3039
|
+
},
|
|
3040
|
+
// Contract source: explicit
|
|
3041
|
+
"suppliers_create": {
|
|
3042
|
+
method: "POST",
|
|
3043
|
+
path: "/bookkeeping/suppliers",
|
|
3044
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3045
|
+
meta: {
|
|
3046
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3047
|
+
summary: "Lieferant anlegen",
|
|
3048
|
+
description: "Legt einen Lieferanten an (Name je Firma eindeutig, Rechtsformzusatz zaehlt nicht). Die Steuerbehandlung kommt danach ueber Vorschau und Eintrag mit Gueltig-ab.",
|
|
3049
|
+
validated: { "params": false, "query": false, "body": true }
|
|
3050
|
+
},
|
|
3051
|
+
types: null
|
|
3052
|
+
},
|
|
3053
|
+
// Contract source: explicit
|
|
3054
|
+
"suppliers_untreated": {
|
|
3055
|
+
method: "GET",
|
|
3056
|
+
path: "/bookkeeping/suppliers/untreated",
|
|
3057
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3058
|
+
meta: {
|
|
3059
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3060
|
+
summary: "Belege ohne Steuerbehandlung je Lieferant",
|
|
3061
|
+
description: "Ausgaben ohne Behandlung, gruppiert je Lieferant (Anzahl, Summe, Zeitraum, Fremdwaehrung, vom Profil abgedeckt), dazu Vorschlaege fuer Belege ohne Lieferant mit Grund (IBAN, Name, Schreibweise, Gegenpartei) und Belegtexte ohne Treffer."
|
|
3062
|
+
},
|
|
3063
|
+
types: null
|
|
3064
|
+
},
|
|
3065
|
+
// Contract source: explicit
|
|
3066
|
+
"suppliers_update": {
|
|
3067
|
+
method: "PUT",
|
|
3068
|
+
path: "/bookkeeping/suppliers/:id",
|
|
3069
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3070
|
+
meta: {
|
|
3071
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3072
|
+
summary: "Lieferant aendern",
|
|
3073
|
+
description: "Aendert Stammdaten und Schreibweisen. Die Steuerbehandlung aendert sich nur ueber den Eintrag mit Gueltig-ab.",
|
|
3074
|
+
validated: { "params": true, "query": false, "body": true }
|
|
3075
|
+
},
|
|
3076
|
+
types: null
|
|
3077
|
+
},
|
|
3078
|
+
// Contract source: explicit
|
|
3079
|
+
"suppliers_preview_treatment": {
|
|
3080
|
+
method: "POST",
|
|
3081
|
+
path: "/bookkeeping/suppliers/:id/treatments/preview",
|
|
3082
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3083
|
+
meta: {
|
|
3084
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3085
|
+
summary: "Behandlung mit Gueltig-ab: Vorschau",
|
|
3086
|
+
description: "Zeigt, was ein Eintrag ab validFrom bewirkt, ohne etwas zu schreiben: Belege des Lieferanten ohne eigene Behandlung (vorher/nachher), Konflikte, Steuerwirkung je Monat und UStVA-Kennzahl (46/47/66/67), gesperrte Perioden, Fremdwaehrung ohne Kursnachweis. previewHash beim Anwenden mitsenden.",
|
|
3087
|
+
validated: { "params": true, "query": false, "body": true }
|
|
3088
|
+
},
|
|
3089
|
+
types: null
|
|
3090
|
+
},
|
|
3091
|
+
// Contract source: explicit
|
|
3092
|
+
"suppliers_apply_treatment": {
|
|
3093
|
+
method: "POST",
|
|
3094
|
+
path: "/bookkeeping/suppliers/:id/treatments",
|
|
3095
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3096
|
+
meta: {
|
|
3097
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3098
|
+
summary: "Behandlung mit Gueltig-ab eintragen und Belege anwenden",
|
|
3099
|
+
description: "Traegt die Behandlung ab validFrom ein (gleicher Tag ersetzt den alten Eintrag) und wendet sie auf die Belege in offenen Perioden an, jeden unter Audit. Behandlung am Beleg gewinnt. Gesperrte Perioden kommen als correctionNeeded zurueck, unpassende Belege als conflicts. 409 bei veralteter Vorschau.",
|
|
3100
|
+
validated: { "params": true, "query": false, "body": true }
|
|
3101
|
+
},
|
|
3102
|
+
types: null
|
|
3103
|
+
},
|
|
3104
|
+
// Contract source: explicit
|
|
3105
|
+
"suppliers_preview_backfill": {
|
|
3106
|
+
method: "POST",
|
|
3107
|
+
path: "/bookkeeping/suppliers/:id/backfill/preview",
|
|
3108
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3109
|
+
meta: {
|
|
3110
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3111
|
+
summary: "Altbelege nachziehen: Vorschau",
|
|
3112
|
+
description: "Wendet das bestehende Profil probeweise auf Belege des Lieferanten ohne Behandlung an (und auf Profilbelege, die nicht mehr passen). Gleiche Vorschau wie beim Eintrag, ohne neuen Eintrag.",
|
|
3113
|
+
validated: { "params": true, "query": false, "body": false }
|
|
3114
|
+
},
|
|
3115
|
+
types: null
|
|
3116
|
+
},
|
|
3117
|
+
// Contract source: explicit
|
|
3118
|
+
"suppliers_apply_backfill": {
|
|
3119
|
+
method: "POST",
|
|
3120
|
+
path: "/bookkeeping/suppliers/:id/backfill",
|
|
3121
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3122
|
+
meta: {
|
|
3123
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3124
|
+
summary: "Altbelege nachziehen",
|
|
3125
|
+
description: "Wendet das Profil nach bestaetigter Vorschau auf die Belege an. Gesperrte Perioden bleiben unberuehrt (correctionNeeded), 409 bei veralteter Vorschau, Wiederholung ohne Wirkung.",
|
|
3126
|
+
validated: { "params": true, "query": false, "body": true }
|
|
3127
|
+
},
|
|
3128
|
+
types: null
|
|
3129
|
+
},
|
|
3130
|
+
// Contract source: explicit
|
|
3131
|
+
"suppliers_assign_expenses": {
|
|
3132
|
+
method: "POST",
|
|
3133
|
+
path: "/bookkeeping/suppliers/:id/assign",
|
|
3134
|
+
auth: { "type": "frontend_permission_http", "permission": "bookkeeping_access" },
|
|
3135
|
+
meta: {
|
|
3136
|
+
tags: ["bookkeeping", "suppliers"],
|
|
3137
|
+
summary: "Belege einem Lieferanten zuordnen",
|
|
3138
|
+
description: "Ordnet bestehende Ausgaben dem Lieferanten zu (bestaetigter Vorschlag oder von Hand), mit Audit und Grund. Die Steuerbehandlung aendert sich dabei nicht; dafuer das Nachziehen.",
|
|
3139
|
+
validated: { "params": true, "query": false, "body": true }
|
|
3140
|
+
},
|
|
3141
|
+
types: null
|
|
3027
3142
|
}
|
|
3028
3143
|
};
|
|
3029
3144
|
|