@orvello/sdk 0.7.7 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.json CHANGED
@@ -42194,6 +42194,238 @@
42194
42194
  ]
42195
42195
  }
42196
42196
  },
42197
+ "/tax-years/reminders": {
42198
+ "get": {
42199
+ "operationId": "tax_years_reminders",
42200
+ "tags": [
42201
+ "tax-years"
42202
+ ],
42203
+ "summary": "Fällige Frist-Erinnerungen des Nutzers",
42204
+ "description": "Lesend. Höchstens eine Erinnerung je abgeschlossenem Steuerjahr mit eigenem Betrieb und ohne dokumentierte Abgabe: 90, 30 und 7 Tage vor der gesetzlichen Frist ohne Steuerberatung sowie nach Ablauf. Bereits bestätigte Erinnerungen fehlen. dedupeKey ist stabil; nach der Zustellung mit tax_years_reminders_acknowledge bestätigen. Keine Aussage über die Abgabepflicht.",
42205
+ "responses": {
42206
+ "200": {
42207
+ "description": "JSON response",
42208
+ "content": {
42209
+ "application/json": {
42210
+ "schema": {
42211
+ "type": "object",
42212
+ "properties": {
42213
+ "success": {
42214
+ "type": "boolean"
42215
+ },
42216
+ "message": {
42217
+ "anyOf": [
42218
+ {
42219
+ "type": "string"
42220
+ },
42221
+ {
42222
+ "type": "null"
42223
+ }
42224
+ ]
42225
+ },
42226
+ "code": {
42227
+ "anyOf": [
42228
+ {
42229
+ "type": "string"
42230
+ },
42231
+ {
42232
+ "type": "null"
42233
+ }
42234
+ ]
42235
+ },
42236
+ "data": {
42237
+ "anyOf": [
42238
+ {
42239
+ "type": "object",
42240
+ "properties": {
42241
+ "generatedAt": {
42242
+ "type": "string",
42243
+ "format": "date-time"
42244
+ },
42245
+ "ruleVersion": {
42246
+ "type": "string"
42247
+ },
42248
+ "reminders": {
42249
+ "type": "array",
42250
+ "items": {
42251
+ "type": "object",
42252
+ "properties": {
42253
+ "dedupeKey": {
42254
+ "type": "string"
42255
+ },
42256
+ "year": {
42257
+ "type": "integer"
42258
+ },
42259
+ "stage": {
42260
+ "type": "string",
42261
+ "enum": [
42262
+ "d90",
42263
+ "d30",
42264
+ "d7",
42265
+ "overdue"
42266
+ ]
42267
+ },
42268
+ "deadline": {
42269
+ "type": "string"
42270
+ },
42271
+ "title": {
42272
+ "type": "string"
42273
+ },
42274
+ "body": {
42275
+ "type": "string"
42276
+ },
42277
+ "link": {
42278
+ "type": "string"
42279
+ }
42280
+ },
42281
+ "required": [
42282
+ "dedupeKey",
42283
+ "year",
42284
+ "stage",
42285
+ "deadline",
42286
+ "title",
42287
+ "body",
42288
+ "link"
42289
+ ],
42290
+ "additionalProperties": false
42291
+ }
42292
+ }
42293
+ },
42294
+ "required": [
42295
+ "generatedAt",
42296
+ "ruleVersion",
42297
+ "reminders"
42298
+ ],
42299
+ "additionalProperties": false
42300
+ },
42301
+ {
42302
+ "type": "null"
42303
+ }
42304
+ ]
42305
+ }
42306
+ },
42307
+ "required": [
42308
+ "success",
42309
+ "data"
42310
+ ],
42311
+ "additionalProperties": false
42312
+ }
42313
+ }
42314
+ }
42315
+ }
42316
+ },
42317
+ "security": [
42318
+ {
42319
+ "frontendBearer": []
42320
+ }
42321
+ ],
42322
+ "x-transport": "http"
42323
+ }
42324
+ },
42325
+ "/tax-years/reminders/acknowledgements": {
42326
+ "post": {
42327
+ "operationId": "tax_years_reminders_acknowledge",
42328
+ "tags": [
42329
+ "tax-years"
42330
+ ],
42331
+ "summary": "Zustellung von Frist-Erinnerungen bestätigen",
42332
+ "description": "Idempotent. Bestätigt nur Schlüssel, die für den angemeldeten Nutzer gerade fällig sind; unbekannte werden ignoriert. Eine bestätigte Erinnerung wird nicht erneut geliefert.",
42333
+ "responses": {
42334
+ "200": {
42335
+ "description": "JSON response",
42336
+ "content": {
42337
+ "application/json": {
42338
+ "schema": {
42339
+ "type": "object",
42340
+ "properties": {
42341
+ "success": {
42342
+ "type": "boolean"
42343
+ },
42344
+ "message": {
42345
+ "anyOf": [
42346
+ {
42347
+ "type": "string"
42348
+ },
42349
+ {
42350
+ "type": "null"
42351
+ }
42352
+ ]
42353
+ },
42354
+ "code": {
42355
+ "anyOf": [
42356
+ {
42357
+ "type": "string"
42358
+ },
42359
+ {
42360
+ "type": "null"
42361
+ }
42362
+ ]
42363
+ },
42364
+ "data": {
42365
+ "anyOf": [
42366
+ {
42367
+ "type": "object",
42368
+ "properties": {
42369
+ "acknowledged": {
42370
+ "type": "array",
42371
+ "items": {
42372
+ "type": "string"
42373
+ }
42374
+ }
42375
+ },
42376
+ "required": [
42377
+ "acknowledged"
42378
+ ],
42379
+ "additionalProperties": false
42380
+ },
42381
+ {
42382
+ "type": "null"
42383
+ }
42384
+ ]
42385
+ }
42386
+ },
42387
+ "required": [
42388
+ "success",
42389
+ "data"
42390
+ ],
42391
+ "additionalProperties": false
42392
+ }
42393
+ }
42394
+ }
42395
+ }
42396
+ },
42397
+ "requestBody": {
42398
+ "required": true,
42399
+ "content": {
42400
+ "application/json": {
42401
+ "schema": {
42402
+ "type": "object",
42403
+ "properties": {
42404
+ "dedupeKeys": {
42405
+ "type": "array",
42406
+ "items": {
42407
+ "type": "string",
42408
+ "minLength": 1,
42409
+ "maxLength": 200
42410
+ }
42411
+ }
42412
+ },
42413
+ "required": [
42414
+ "dedupeKeys"
42415
+ ],
42416
+ "additionalProperties": false
42417
+ }
42418
+ }
42419
+ }
42420
+ },
42421
+ "security": [
42422
+ {
42423
+ "frontendBearer": []
42424
+ }
42425
+ ],
42426
+ "x-transport": "http"
42427
+ }
42428
+ },
42197
42429
  "/tax-years/:year": {
42198
42430
  "get": {
42199
42431
  "operationId": "tax_years_get",
@@ -43096,6 +43328,89 @@
43096
43328
  "items": {
43097
43329
  "type": "string"
43098
43330
  }
43331
+ },
43332
+ "deadlines": {
43333
+ "type": "array",
43334
+ "items": {
43335
+ "type": "object",
43336
+ "properties": {
43337
+ "key": {
43338
+ "type": "string",
43339
+ "enum": [
43340
+ "income_tax_return",
43341
+ "income_tax_return_advised"
43342
+ ]
43343
+ },
43344
+ "title": {
43345
+ "type": "string"
43346
+ },
43347
+ "date": {
43348
+ "type": "string",
43349
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
43350
+ },
43351
+ "binding": {
43352
+ "type": "boolean"
43353
+ },
43354
+ "appliesWhen": {
43355
+ "type": "string"
43356
+ },
43357
+ "legalBasis": {
43358
+ "type": "string"
43359
+ },
43360
+ "sources": {
43361
+ "type": "array",
43362
+ "items": {
43363
+ "type": "object",
43364
+ "properties": {
43365
+ "label": {
43366
+ "type": "string"
43367
+ },
43368
+ "url": {
43369
+ "type": "string",
43370
+ "format": "uri"
43371
+ }
43372
+ },
43373
+ "required": [
43374
+ "label",
43375
+ "url"
43376
+ ],
43377
+ "additionalProperties": false
43378
+ }
43379
+ },
43380
+ "status": {
43381
+ "type": "string",
43382
+ "enum": [
43383
+ "running_year",
43384
+ "upcoming",
43385
+ "due_soon",
43386
+ "overdue",
43387
+ "submitted"
43388
+ ]
43389
+ },
43390
+ "daysLeft": {
43391
+ "anyOf": [
43392
+ {
43393
+ "type": "integer"
43394
+ },
43395
+ {
43396
+ "type": "null"
43397
+ }
43398
+ ]
43399
+ }
43400
+ },
43401
+ "required": [
43402
+ "key",
43403
+ "title",
43404
+ "date",
43405
+ "binding",
43406
+ "appliesWhen",
43407
+ "legalBasis",
43408
+ "sources",
43409
+ "status",
43410
+ "daysLeft"
43411
+ ],
43412
+ "additionalProperties": false
43413
+ }
43099
43414
  }
43100
43415
  },
43101
43416
  "required": [
@@ -43107,7 +43422,8 @@
43107
43422
  "tasks",
43108
43423
  "businesses",
43109
43424
  "summary",
43110
- "limitations"
43425
+ "limitations",
43426
+ "deadlines"
43111
43427
  ],
43112
43428
  "additionalProperties": false
43113
43429
  },
@@ -44048,6 +44364,89 @@
44048
44364
  "items": {
44049
44365
  "type": "string"
44050
44366
  }
44367
+ },
44368
+ "deadlines": {
44369
+ "type": "array",
44370
+ "items": {
44371
+ "type": "object",
44372
+ "properties": {
44373
+ "key": {
44374
+ "type": "string",
44375
+ "enum": [
44376
+ "income_tax_return",
44377
+ "income_tax_return_advised"
44378
+ ]
44379
+ },
44380
+ "title": {
44381
+ "type": "string"
44382
+ },
44383
+ "date": {
44384
+ "type": "string",
44385
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
44386
+ },
44387
+ "binding": {
44388
+ "type": "boolean"
44389
+ },
44390
+ "appliesWhen": {
44391
+ "type": "string"
44392
+ },
44393
+ "legalBasis": {
44394
+ "type": "string"
44395
+ },
44396
+ "sources": {
44397
+ "type": "array",
44398
+ "items": {
44399
+ "type": "object",
44400
+ "properties": {
44401
+ "label": {
44402
+ "type": "string"
44403
+ },
44404
+ "url": {
44405
+ "type": "string",
44406
+ "format": "uri"
44407
+ }
44408
+ },
44409
+ "required": [
44410
+ "label",
44411
+ "url"
44412
+ ],
44413
+ "additionalProperties": false
44414
+ }
44415
+ },
44416
+ "status": {
44417
+ "type": "string",
44418
+ "enum": [
44419
+ "running_year",
44420
+ "upcoming",
44421
+ "due_soon",
44422
+ "overdue",
44423
+ "submitted"
44424
+ ]
44425
+ },
44426
+ "daysLeft": {
44427
+ "anyOf": [
44428
+ {
44429
+ "type": "integer"
44430
+ },
44431
+ {
44432
+ "type": "null"
44433
+ }
44434
+ ]
44435
+ }
44436
+ },
44437
+ "required": [
44438
+ "key",
44439
+ "title",
44440
+ "date",
44441
+ "binding",
44442
+ "appliesWhen",
44443
+ "legalBasis",
44444
+ "sources",
44445
+ "status",
44446
+ "daysLeft"
44447
+ ],
44448
+ "additionalProperties": false
44449
+ }
44051
44450
  }
44052
44451
  },
44053
44452
  "required": [
@@ -44059,7 +44458,8 @@
44059
44458
  "tasks",
44060
44459
  "businesses",
44061
44460
  "summary",
44062
- "limitations"
44461
+ "limitations",
44462
+ "deadlines"
44063
44463
  ],
44064
44464
  "additionalProperties": false
44065
44465
  },
@@ -45118,6 +45518,89 @@
45118
45518
  "items": {
45119
45519
  "type": "string"
45120
45520
  }
45521
+ },
45522
+ "deadlines": {
45523
+ "type": "array",
45524
+ "items": {
45525
+ "type": "object",
45526
+ "properties": {
45527
+ "key": {
45528
+ "type": "string",
45529
+ "enum": [
45530
+ "income_tax_return",
45531
+ "income_tax_return_advised"
45532
+ ]
45533
+ },
45534
+ "title": {
45535
+ "type": "string"
45536
+ },
45537
+ "date": {
45538
+ "type": "string",
45539
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
45540
+ },
45541
+ "binding": {
45542
+ "type": "boolean"
45543
+ },
45544
+ "appliesWhen": {
45545
+ "type": "string"
45546
+ },
45547
+ "legalBasis": {
45548
+ "type": "string"
45549
+ },
45550
+ "sources": {
45551
+ "type": "array",
45552
+ "items": {
45553
+ "type": "object",
45554
+ "properties": {
45555
+ "label": {
45556
+ "type": "string"
45557
+ },
45558
+ "url": {
45559
+ "type": "string",
45560
+ "format": "uri"
45561
+ }
45562
+ },
45563
+ "required": [
45564
+ "label",
45565
+ "url"
45566
+ ],
45567
+ "additionalProperties": false
45568
+ }
45569
+ },
45570
+ "status": {
45571
+ "type": "string",
45572
+ "enum": [
45573
+ "running_year",
45574
+ "upcoming",
45575
+ "due_soon",
45576
+ "overdue",
45577
+ "submitted"
45578
+ ]
45579
+ },
45580
+ "daysLeft": {
45581
+ "anyOf": [
45582
+ {
45583
+ "type": "integer"
45584
+ },
45585
+ {
45586
+ "type": "null"
45587
+ }
45588
+ ]
45589
+ }
45590
+ },
45591
+ "required": [
45592
+ "key",
45593
+ "title",
45594
+ "date",
45595
+ "binding",
45596
+ "appliesWhen",
45597
+ "legalBasis",
45598
+ "sources",
45599
+ "status",
45600
+ "daysLeft"
45601
+ ],
45602
+ "additionalProperties": false
45603
+ }
45121
45604
  }
45122
45605
  },
45123
45606
  "required": [
@@ -45129,7 +45612,8 @@
45129
45612
  "tasks",
45130
45613
  "businesses",
45131
45614
  "summary",
45132
- "limitations"
45615
+ "limitations",
45616
+ "deadlines"
45133
45617
  ],
45134
45618
  "additionalProperties": false
45135
45619
  },
@@ -46364,6 +46848,89 @@
46364
46848
  "items": {
46365
46849
  "type": "string"
46366
46850
  }
46851
+ },
46852
+ "deadlines": {
46853
+ "type": "array",
46854
+ "items": {
46855
+ "type": "object",
46856
+ "properties": {
46857
+ "key": {
46858
+ "type": "string",
46859
+ "enum": [
46860
+ "income_tax_return",
46861
+ "income_tax_return_advised"
46862
+ ]
46863
+ },
46864
+ "title": {
46865
+ "type": "string"
46866
+ },
46867
+ "date": {
46868
+ "type": "string",
46869
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
46870
+ },
46871
+ "binding": {
46872
+ "type": "boolean"
46873
+ },
46874
+ "appliesWhen": {
46875
+ "type": "string"
46876
+ },
46877
+ "legalBasis": {
46878
+ "type": "string"
46879
+ },
46880
+ "sources": {
46881
+ "type": "array",
46882
+ "items": {
46883
+ "type": "object",
46884
+ "properties": {
46885
+ "label": {
46886
+ "type": "string"
46887
+ },
46888
+ "url": {
46889
+ "type": "string",
46890
+ "format": "uri"
46891
+ }
46892
+ },
46893
+ "required": [
46894
+ "label",
46895
+ "url"
46896
+ ],
46897
+ "additionalProperties": false
46898
+ }
46899
+ },
46900
+ "status": {
46901
+ "type": "string",
46902
+ "enum": [
46903
+ "running_year",
46904
+ "upcoming",
46905
+ "due_soon",
46906
+ "overdue",
46907
+ "submitted"
46908
+ ]
46909
+ },
46910
+ "daysLeft": {
46911
+ "anyOf": [
46912
+ {
46913
+ "type": "integer"
46914
+ },
46915
+ {
46916
+ "type": "null"
46917
+ }
46918
+ ]
46919
+ }
46920
+ },
46921
+ "required": [
46922
+ "key",
46923
+ "title",
46924
+ "date",
46925
+ "binding",
46926
+ "appliesWhen",
46927
+ "legalBasis",
46928
+ "sources",
46929
+ "status",
46930
+ "daysLeft"
46931
+ ],
46932
+ "additionalProperties": false
46933
+ }
46367
46934
  }
46368
46935
  },
46369
46936
  "required": [
@@ -46375,7 +46942,8 @@
46375
46942
  "tasks",
46376
46943
  "businesses",
46377
46944
  "summary",
46378
- "limitations"
46945
+ "limitations",
46946
+ "deadlines"
46379
46947
  ],
46380
46948
  "additionalProperties": false
46381
46949
  },
@@ -46461,6 +47029,46 @@
46461
47029
  "x-transport": "http"
46462
47030
  }
46463
47031
  },
47032
+ "/tax-years/:year/evidence-pdf": {
47033
+ "get": {
47034
+ "operationId": "tax_years_evidence_pdf",
47035
+ "tags": [
47036
+ "tax-years"
47037
+ ],
47038
+ "summary": "Nachweispaket des Steuerjahres als PDF",
47039
+ "description": "Fasst Situation, Fristen, Arbeitsschritte mit Prüfnotizen und Abgaben, Korrekturen mit Belegreferenzen und archivierte EÜR-Berechnungen zusammen. Betriebszahlen nur bei aktuell bestätigtem Verwaltungszugriff. Kein Steuerbescheid, enthält keine Originalbelege.",
47040
+ "responses": {
47041
+ "200": {
47042
+ "description": "Binary response",
47043
+ "content": {
47044
+ "application/pdf": {
47045
+ "schema": {
47046
+ "type": "string",
47047
+ "format": "binary"
47048
+ }
47049
+ }
47050
+ }
47051
+ }
47052
+ },
47053
+ "parameters": [
47054
+ {
47055
+ "name": "year",
47056
+ "in": "path",
47057
+ "required": true,
47058
+ "schema": {
47059
+ "type": "string",
47060
+ "pattern": "^20\\d{2}$"
47061
+ }
47062
+ }
47063
+ ],
47064
+ "security": [
47065
+ {
47066
+ "frontendBearer": []
47067
+ }
47068
+ ],
47069
+ "x-transport": "http"
47070
+ }
47071
+ },
46464
47072
  "/tax-years/:year/history": {
46465
47073
  "get": {
46466
47074
  "operationId": "tax_years_history",