@kreiseck/kasseneck-api 1.15.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +2 -0
  3. package/dist/cjs/client/list-receipts.d.ts +6 -0
  4. package/dist/cjs/client/list-receipts.js +8 -0
  5. package/dist/cjs/client/receipts.js +8 -0
  6. package/dist/cjs/index.d.ts +1 -1
  7. package/dist/cjs/models/voucher.d.ts +46 -4
  8. package/dist/cjs/models/voucher.js +58 -11
  9. package/dist/cjs/pos/artikel.d.ts +9 -0
  10. package/dist/cjs/pos/artikel.js +1 -0
  11. package/dist/cjs/pos/gutschein.d.ts +107 -2
  12. package/dist/cjs/pos/gutschein.js +124 -4
  13. package/dist/cjs/pos/index.d.ts +1 -1
  14. package/dist/cjs/pos/index.js +7 -3
  15. package/dist/cjs/pos/texte.d.ts +39 -0
  16. package/dist/cjs/pos/texte.js +22 -0
  17. package/dist/cjs/receipt/due.d.ts +20 -9
  18. package/dist/cjs/receipt/due.js +1 -0
  19. package/dist/cjs/receipt/gutschein-plan.d.ts +23 -7
  20. package/dist/cjs/receipt/gutschein-plan.js +67 -2
  21. package/dist/cjs/receipt/index.d.ts +1 -1
  22. package/dist/cjs/stored/draht.js +10 -2
  23. package/dist/cjs/stored/vokabular.d.ts +1 -1
  24. package/dist/cjs/stored/vokabular.js +84 -3
  25. package/dist/cjs/version.d.ts +1 -1
  26. package/dist/cjs/version.js +1 -1
  27. package/dist/esm/client/list-receipts.d.ts +6 -0
  28. package/dist/esm/client/list-receipts.js +9 -1
  29. package/dist/esm/client/receipts.js +8 -0
  30. package/dist/esm/index.d.ts +1 -1
  31. package/dist/esm/models/voucher.d.ts +46 -4
  32. package/dist/esm/models/voucher.js +56 -11
  33. package/dist/esm/pos/artikel.d.ts +9 -0
  34. package/dist/esm/pos/artikel.js +1 -0
  35. package/dist/esm/pos/gutschein.d.ts +107 -2
  36. package/dist/esm/pos/gutschein.js +123 -3
  37. package/dist/esm/pos/index.d.ts +1 -1
  38. package/dist/esm/pos/index.js +2 -2
  39. package/dist/esm/pos/texte.d.ts +39 -0
  40. package/dist/esm/pos/texte.js +22 -0
  41. package/dist/esm/receipt/due.d.ts +20 -9
  42. package/dist/esm/receipt/due.js +1 -0
  43. package/dist/esm/receipt/gutschein-plan.d.ts +23 -7
  44. package/dist/esm/receipt/gutschein-plan.js +68 -3
  45. package/dist/esm/receipt/index.d.ts +1 -1
  46. package/dist/esm/stored/draht.js +10 -2
  47. package/dist/esm/stored/vokabular.d.ts +1 -1
  48. package/dist/esm/stored/vokabular.js +84 -3
  49. package/dist/esm/version.d.ts +1 -1
  50. package/dist/esm/version.js +1 -1
  51. package/fixtures/hobex-hps-codes.json +1 -1
  52. package/fixtures/invoice-api.schema.json +1 -1
  53. package/fixtures/invoice-texts.json +1 -1
  54. package/fixtures/pos-texts.json +43 -2
  55. package/fixtures/receipt-due-voucher-generated.json +485 -483
  56. package/fixtures/surface.json +17 -1
  57. package/fixtures/v3/antworten/belege.json +24 -12
  58. package/fixtures/v3/antworten/belegmail.json +1 -1
  59. package/fixtures/v3/antworten/kasse-belege.json +24 -12
  60. package/fixtures/v3/antworten/kasse.json +366 -9
  61. package/fixtures/v3/antworten/lager.json +1 -1
  62. package/fixtures/v3/antworten/rechnungen.json +1 -1
  63. package/fixtures/v3/antworten/storno.json +1 -1
  64. package/fixtures/v3/stored/belege.json +1 -1
  65. package/fixtures/v3/stored/kasse.json +2 -2
  66. package/fixtures/v3/stored/rechnungen.json +1 -1
  67. package/fixtures/v3/v3-vokabular.json +429 -11
  68. package/fixtures/v3/zahlbetrag-faelle.json +26 -10
  69. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_hinweis": "Vertrags-Export /v3, erzeugt aus den echten Handlern (npm run vertrag:v3 in functions/ und functions-kasse/). Nicht von Hand pflegen.",
3
3
  "_quelle": {
4
- "sha256": "c64430e6ec3c3dad8674ad684b353bf52c57df54da8afbaa6ba7d8f717511eb7",
5
- "inputsSha256": "3c13c580fbe23ca1b976692d0a3214604fc1a63a110664da10fc8bb003057103",
4
+ "sha256": "3088cb472f3fef3ed4ff969bf0d37d051363714096616a9263270c58266bde14",
5
+ "inputsSha256": "2fc82d7d936fbb7e239ae5ce0eb3166a12034a6dc6f3d94482b33ef92068be26",
6
6
  "backendPackage": "@kreiseck/kasseneck-api@0.35.0",
7
7
  "inputs": [
8
8
  "docs/api/fehlercodes.json",
@@ -361,6 +361,7 @@
361
361
  "createVariantGroup",
362
362
  "createWebhook",
363
363
  "deactivateArticle",
364
+ "deleteMyVoucherType",
364
365
  "deletePartnerWebhook",
365
366
  "deleteWebhook",
366
367
  "downloadDailyReport",
@@ -421,6 +422,7 @@
421
422
  "listMyStocktakeItems",
422
423
  "listMyStocktakes",
423
424
  "listMyTipRecipients",
425
+ "listMyVoucherTypes",
424
426
  "listMyVouchers",
425
427
  "listPartnerCustomers",
426
428
  "listPartnerWebhookDeliveries",
@@ -435,6 +437,7 @@
435
437
  "listStocktakeItems",
436
438
  "listStocktakes",
437
439
  "listVariantGroups",
440
+ "listVoucherTypesAdmin",
438
441
  "listVouchersAdmin",
439
442
  "listWebhookDeliveries",
440
443
  "listWebhooks",
@@ -464,6 +467,7 @@
464
467
  "revokeCustomerMandate",
465
468
  "rotatePartnerWebhookSecret",
466
469
  "rotateWebhookSecret",
470
+ "saveMyVoucherType",
467
471
  "searchCustomers",
468
472
  "sendPartnerCustomerFonLink",
469
473
  "sendPartnerWebhookTest",
@@ -563,7 +567,10 @@
563
567
  "taxedWith": "versteuertMit",
564
568
  "exempt": "befreit",
565
569
  "reason": "grund",
566
- "zeroRateBucket": "imNullTopf"
570
+ "zeroRateBucket": "imNullTopf",
571
+ "typeId": "sorteId",
572
+ "typeName": "sorteName",
573
+ "payout": "auszahlung"
567
574
  },
568
575
  "BEWEGUNG_ART": {
569
576
  "verkauf": "sale",
@@ -786,6 +793,14 @@
786
793
  "leistung": "service",
787
794
  "aktion": "promotion"
788
795
  },
796
+ "GUTSCHEIN_AUSZAHLUNG": {
797
+ "erlaubt": "allowed",
798
+ "nie": "never"
799
+ },
800
+ "GUTSCHEIN_BETRAG_MODUS": {
801
+ "frei": "free",
802
+ "fix": "fixed"
803
+ },
789
804
  "GUTSCHEIN_BUCHUNG": {
790
805
  "verkauf": "sale",
791
806
  "einloesung": "redemption",
@@ -804,6 +819,10 @@
804
819
  "1+3": "1+3",
805
820
  "frei": "custom"
806
821
  },
822
+ "GUTSCHEIN_SORTE_MUSTER": {
823
+ "unbefristet": "unlimited",
824
+ "jahre": "years"
825
+ },
807
826
  "GUTSCHEIN_STATUS": {
808
827
  "aktiv": "active",
809
828
  "aufgebraucht": "used_up",
@@ -1483,6 +1502,7 @@
1483
1502
  "vehicle_in_use",
1484
1503
  "vehicle_not_found",
1485
1504
  "voucher_already_used",
1505
+ "voucher_amount_mismatch",
1486
1506
  "voucher_balance_changed",
1487
1507
  "voucher_blocked",
1488
1508
  "voucher_cancelled",
@@ -1494,8 +1514,12 @@
1494
1514
  "voucher_item_mismatch",
1495
1515
  "voucher_not_found",
1496
1516
  "voucher_partial_cancel",
1517
+ "voucher_payout_not_allowed",
1497
1518
  "voucher_rate_mismatch",
1519
+ "voucher_service_not_allowed",
1498
1520
  "voucher_settings_missing",
1521
+ "voucher_type_not_found",
1522
+ "voucher_type_required",
1499
1523
  "voucher_used_up",
1500
1524
  "webhook_inactive",
1501
1525
  "webhook_limit",
@@ -1507,6 +1531,7 @@
1507
1531
  "zeitraum_offen": "period_not_closed",
1508
1532
  "zeitraum_zukunft": "period_in_future",
1509
1533
  "zeitraum_ungueltig": "invalid_period",
1534
+ "zeitraum_zu_lang": "range_too_long",
1510
1535
  "bericht_entsteht": "report_generating",
1511
1536
  "kasse_unbekannt": "cashregister_not_found",
1512
1537
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -1789,6 +1814,7 @@
1789
1814
  "user_disabled",
1790
1815
  "validation",
1791
1816
  "voucher_already_used",
1817
+ "voucher_amount_mismatch",
1792
1818
  "voucher_balance_changed",
1793
1819
  "voucher_blocked",
1794
1820
  "voucher_cancelled",
@@ -1800,8 +1826,12 @@
1800
1826
  "voucher_item_mismatch",
1801
1827
  "voucher_not_found",
1802
1828
  "voucher_partial_cancel",
1829
+ "voucher_payout_not_allowed",
1803
1830
  "voucher_rate_mismatch",
1831
+ "voucher_service_not_allowed",
1804
1832
  "voucher_settings_missing",
1833
+ "voucher_type_not_found",
1834
+ "voucher_type_required",
1805
1835
  "voucher_used_up"
1806
1836
  ],
1807
1837
  "cancellation": [
@@ -2151,6 +2181,7 @@
2151
2181
  "period_not_closed",
2152
2182
  "period_in_future",
2153
2183
  "invalid_period",
2184
+ "range_too_long",
2154
2185
  "report_generating",
2155
2186
  "cashregister_not_found",
2156
2187
  "access_not_allowed",
@@ -2378,6 +2409,7 @@
2378
2409
  "tip_payment_method_invalid",
2379
2410
  "tip_payment_method_required",
2380
2411
  "voucher_already_used",
2412
+ "voucher_amount_mismatch",
2381
2413
  "voucher_balance_changed",
2382
2414
  "voucher_blocked",
2383
2415
  "voucher_cancelled",
@@ -2388,8 +2420,12 @@
2388
2420
  "voucher_invalid_code",
2389
2421
  "voucher_item_mismatch",
2390
2422
  "voucher_not_found",
2423
+ "voucher_payout_not_allowed",
2391
2424
  "voucher_rate_mismatch",
2425
+ "voucher_service_not_allowed",
2392
2426
  "voucher_settings_missing",
2427
+ "voucher_type_not_found",
2428
+ "voucher_type_required",
2393
2429
  "voucher_used_up"
2394
2430
  ],
2395
2431
  "generateFullReceiptId": [],
@@ -2715,6 +2751,9 @@
2715
2751
  "faceValueCents": "nennwertCents",
2716
2752
  "balanceCents": "saldoCents",
2717
2753
  "vatRateBp": "satzBp",
2754
+ "typeId": "sorteId",
2755
+ "typeName": "sorteName",
2756
+ "payout": "auszahlung",
2718
2757
  "article": {
2719
2758
  "__": "artikel",
2720
2759
  "vatRateBp": "satzBp",
@@ -2730,6 +2769,7 @@
2730
2769
  "validity": {
2731
2770
  "__": "gueltigkeit",
2732
2771
  "pattern": "muster",
2772
+ "redeemableYears": "jahre",
2733
2773
  "redeemableUntil": "einloesbarBis",
2734
2774
  "refundableUntil": "rueckzahlbarBis",
2735
2775
  "validUntil": "gueltigBis"
@@ -2761,6 +2801,9 @@
2761
2801
  },
2762
2802
  "voucher.issue.occasion": {
2763
2803
  "$catalog": "GUTSCHEIN_ANLASS"
2804
+ },
2805
+ "voucher.payout": {
2806
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
2764
2807
  }
2765
2808
  }
2766
2809
  },
@@ -2917,12 +2960,15 @@
2917
2960
  "validity": {
2918
2961
  "__": "gueltigkeit",
2919
2962
  "pattern": "muster",
2963
+ "redeemableYears": "jahre",
2920
2964
  "redeemableUntil": "einloesbarBis",
2921
2965
  "refundableUntil": "rueckzahlbarBis",
2922
2966
  "validUntil": "gueltigBis"
2923
2967
  },
2924
2968
  "codeSuffix": "codeEnde",
2925
- "exempt": "befreit"
2969
+ "exempt": "befreit",
2970
+ "typeName": "sorteName",
2971
+ "payout": "auszahlung"
2926
2972
  },
2927
2973
  "werte": {
2928
2974
  "type": {
@@ -2933,6 +2979,9 @@
2933
2979
  },
2934
2980
  "validity.pattern": {
2935
2981
  "$catalog": "GUTSCHEIN_MUSTER"
2982
+ },
2983
+ "payout": {
2984
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
2936
2985
  }
2937
2986
  }
2938
2987
  },
@@ -3009,6 +3058,9 @@
3009
3058
  "faceValueCents": "nennwertCents",
3010
3059
  "balanceCents": "saldoCents",
3011
3060
  "vatRateBp": "satzBp",
3061
+ "typeId": "sorteId",
3062
+ "typeName": "sorteName",
3063
+ "payout": "auszahlung",
3012
3064
  "article": {
3013
3065
  "__": "artikel",
3014
3066
  "vatRateBp": "satzBp",
@@ -3024,6 +3076,7 @@
3024
3076
  "validity": {
3025
3077
  "__": "gueltigkeit",
3026
3078
  "pattern": "muster",
3079
+ "redeemableYears": "jahre",
3027
3080
  "redeemableUntil": "einloesbarBis",
3028
3081
  "refundableUntil": "rueckzahlbarBis",
3029
3082
  "validUntil": "gueltigBis"
@@ -3055,6 +3108,9 @@
3055
3108
  },
3056
3109
  "voucher.issue.occasion": {
3057
3110
  "$catalog": "GUTSCHEIN_ANLASS"
3111
+ },
3112
+ "voucher.payout": {
3113
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
3058
3114
  }
3059
3115
  }
3060
3116
  },
@@ -3106,6 +3162,7 @@
3106
3162
  "zeitraum_offen": "period_not_closed",
3107
3163
  "zeitraum_zukunft": "period_in_future",
3108
3164
  "zeitraum_ungueltig": "invalid_period",
3165
+ "zeitraum_zu_lang": "range_too_long",
3109
3166
  "bericht_entsteht": "report_generating",
3110
3167
  "kasse_unbekannt": "cashregister_not_found",
3111
3168
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -3239,6 +3296,7 @@
3239
3296
  "validity": {
3240
3297
  "__": "gueltigkeit",
3241
3298
  "pattern": "muster",
3299
+ "redeemableYears": "jahre",
3242
3300
  "redeemableUntil": "einloesbarBis",
3243
3301
  "refundableUntil": "rueckzahlbarBis",
3244
3302
  "validUntil": "gueltigBis"
@@ -3364,7 +3422,8 @@
3364
3422
  "articleId": "artikelId",
3365
3423
  "quantity": "stueck",
3366
3424
  "positions": "positionen",
3367
- "reason": "grund"
3425
+ "reason": "grund",
3426
+ "typeId": "sorteId"
3368
3427
  }
3369
3428
  ]
3370
3429
  },
@@ -3422,9 +3481,12 @@
3422
3481
  "faceValueCents": "nennwertCents",
3423
3482
  "quantity": "stueck",
3424
3483
  "articleName": "artikelName",
3484
+ "typeId": "sorteId",
3485
+ "typeName": "sorteName",
3425
3486
  "validity": {
3426
3487
  "__": "gueltigkeit",
3427
3488
  "pattern": "muster",
3489
+ "redeemableYears": "jahre",
3428
3490
  "redeemableUntil": "einloesbarBis",
3429
3491
  "refundableUntil": "rueckzahlbarBis",
3430
3492
  "validUntil": "gueltigBis"
@@ -3698,6 +3760,7 @@
3698
3760
  }
3699
3761
  }
3700
3762
  },
3763
+ "deleteMyVoucherType": {},
3701
3764
  "deletePartnerWebhook": {
3702
3765
  "data": {
3703
3766
  "deleted": "geloescht"
@@ -3764,6 +3827,7 @@
3764
3827
  "zeitraum_offen": "period_not_closed",
3765
3828
  "zeitraum_zukunft": "period_in_future",
3766
3829
  "zeitraum_ungueltig": "invalid_period",
3830
+ "zeitraum_zu_lang": "range_too_long",
3767
3831
  "bericht_entsteht": "report_generating",
3768
3832
  "kasse_unbekannt": "cashregister_not_found",
3769
3833
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -3873,6 +3937,7 @@
3873
3937
  "zeitraum_offen": "period_not_closed",
3874
3938
  "zeitraum_zukunft": "period_in_future",
3875
3939
  "zeitraum_ungueltig": "invalid_period",
3940
+ "zeitraum_zu_lang": "range_too_long",
3876
3941
  "bericht_entsteht": "report_generating",
3877
3942
  "kasse_unbekannt": "cashregister_not_found",
3878
3943
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -4122,20 +4187,72 @@
4122
4187
  "vouchers": {
4123
4188
  "__": "gutscheine",
4124
4189
  "sale": "verkauf",
4190
+ "typeSale": "sortenVerkauf",
4125
4191
  "valueVoucherType": "wertArt",
4126
4192
  "vatRateBp": "satzBp",
4127
4193
  "label": {
4128
4194
  "__": "etikett",
4129
4195
  "size": "groesse",
4196
+ "rotation": "drehung",
4130
4197
  "fields": {
4131
4198
  "__": "felder",
4132
4199
  "business": "betrieb",
4133
4200
  "value": "wert",
4134
4201
  "validity": "gueltigkeit",
4135
- "checkPage": "pruefseite"
4202
+ "checkPage": "pruefseite",
4203
+ "designation": "bezeichnung"
4136
4204
  },
4137
4205
  "freeText": "freitext"
4138
- }
4206
+ },
4207
+ "labelDefault": {
4208
+ "__": "etikettStandard",
4209
+ "size": "groesse",
4210
+ "rotation": "drehung",
4211
+ "fields": {
4212
+ "__": "felder",
4213
+ "business": "betrieb",
4214
+ "value": "wert",
4215
+ "validity": "gueltigkeit",
4216
+ "checkPage": "pruefseite",
4217
+ "designation": "bezeichnung"
4218
+ },
4219
+ "freeText": "freitext"
4220
+ },
4221
+ "types": [
4222
+ {
4223
+ "__": "sorten",
4224
+ "kind": "art",
4225
+ "vatRateBp": "satzBp",
4226
+ "amount": {
4227
+ "__": "betrag",
4228
+ "mode": "modus"
4229
+ },
4230
+ "validity": {
4231
+ "__": "gueltigkeit",
4232
+ "pattern": "muster",
4233
+ "years": "jahre"
4234
+ },
4235
+ "payout": "auszahlung",
4236
+ "label": {
4237
+ "__": "etikett",
4238
+ "size": "groesse",
4239
+ "rotation": "drehung",
4240
+ "fields": {
4241
+ "__": "felder",
4242
+ "business": "betrieb",
4243
+ "value": "wert",
4244
+ "validity": "gueltigkeit",
4245
+ "checkPage": "pruefseite",
4246
+ "designation": "bezeichnung"
4247
+ },
4248
+ "freeText": "freitext"
4249
+ },
4250
+ "order": "reihenfolge",
4251
+ "active": "aktiv",
4252
+ "soldCount": "verkauft"
4253
+ }
4254
+ ],
4255
+ "serviceArticles": "leistungsArtikel"
4139
4256
  }
4140
4257
  },
4141
4258
  "werte": {
@@ -4190,6 +4307,18 @@
4190
4307
  "vouchers.valueVoucherType": {
4191
4308
  "mehrzweck": "multi_purpose",
4192
4309
  "einzweck": "single_purpose"
4310
+ },
4311
+ "vouchers.types[].kind": {
4312
+ "$catalog": "GUTSCHEIN_ART"
4313
+ },
4314
+ "vouchers.types[].amount.mode": {
4315
+ "$catalog": "GUTSCHEIN_BETRAG_MODUS"
4316
+ },
4317
+ "vouchers.types[].validity.pattern": {
4318
+ "$catalog": "GUTSCHEIN_SORTE_MUSTER"
4319
+ },
4320
+ "vouchers.types[].payout": {
4321
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
4193
4322
  }
4194
4323
  }
4195
4324
  },
@@ -4320,6 +4449,9 @@
4320
4449
  "faceValueCents": "nennwertCents",
4321
4450
  "balanceCents": "saldoCents",
4322
4451
  "vatRateBp": "satzBp",
4452
+ "typeId": "sorteId",
4453
+ "typeName": "sorteName",
4454
+ "payout": "auszahlung",
4323
4455
  "article": {
4324
4456
  "__": "artikel",
4325
4457
  "vatRateBp": "satzBp",
@@ -4335,6 +4467,7 @@
4335
4467
  "validity": {
4336
4468
  "__": "gueltigkeit",
4337
4469
  "pattern": "muster",
4470
+ "redeemableYears": "jahre",
4338
4471
  "redeemableUntil": "einloesbarBis",
4339
4472
  "refundableUntil": "rueckzahlbarBis",
4340
4473
  "validUntil": "gueltigBis"
@@ -4381,6 +4514,9 @@
4381
4514
  "voucher.issue.occasion": {
4382
4515
  "$catalog": "GUTSCHEIN_ANLASS"
4383
4516
  },
4517
+ "voucher.payout": {
4518
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
4519
+ },
4384
4520
  "bookings[].type": {
4385
4521
  "$catalog": "GUTSCHEIN_BUCHUNG"
4386
4522
  }
@@ -4396,12 +4532,14 @@
4396
4532
  "label": {
4397
4533
  "__": "etikett",
4398
4534
  "size": "groesse",
4535
+ "rotation": "drehung",
4399
4536
  "fields": {
4400
4537
  "__": "felder",
4401
4538
  "business": "betrieb",
4402
4539
  "value": "wert",
4403
4540
  "validity": "gueltigkeit",
4404
- "checkPage": "pruefseite"
4541
+ "checkPage": "pruefseite",
4542
+ "designation": "bezeichnung"
4405
4543
  },
4406
4544
  "freeText": "freitext"
4407
4545
  },
@@ -4572,9 +4710,12 @@
4572
4710
  "faceValueCents": "nennwertCents",
4573
4711
  "quantity": "stueck",
4574
4712
  "articleName": "artikelName",
4713
+ "typeId": "sorteId",
4714
+ "typeName": "sorteName",
4575
4715
  "validity": {
4576
4716
  "__": "gueltigkeit",
4577
4717
  "pattern": "muster",
4718
+ "redeemableYears": "jahre",
4578
4719
  "redeemableUntil": "einloesbarBis",
4579
4720
  "refundableUntil": "rueckzahlbarBis",
4580
4721
  "validUntil": "gueltigBis"
@@ -4824,6 +4965,7 @@
4824
4965
  "zeitraum_offen": "period_not_closed",
4825
4966
  "zeitraum_zukunft": "period_in_future",
4826
4967
  "zeitraum_ungueltig": "invalid_period",
4968
+ "zeitraum_zu_lang": "range_too_long",
4827
4969
  "bericht_entsteht": "report_generating",
4828
4970
  "kasse_unbekannt": "cashregister_not_found",
4829
4971
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -5001,6 +5143,7 @@
5001
5143
  "__": "articles",
5002
5144
  "quantityRule": "mengenregel",
5003
5145
  "askQuantity": "mengeFragen",
5146
+ "serviceVoucher": "gutscheinLeistung",
5004
5147
  "maxQuantity": "maxMenge",
5005
5148
  "tile": {
5006
5149
  "__": "kasse",
@@ -5226,6 +5369,58 @@
5226
5369
  }
5227
5370
  },
5228
5371
  "listMyTipRecipients": {},
5372
+ "listMyVoucherTypes": {
5373
+ "data": {
5374
+ "voucherTypes": [
5375
+ {
5376
+ "__": "sorten",
5377
+ "kind": "art",
5378
+ "vatRateBp": "satzBp",
5379
+ "amount": {
5380
+ "__": "betrag",
5381
+ "mode": "modus"
5382
+ },
5383
+ "validity": {
5384
+ "__": "gueltigkeit",
5385
+ "pattern": "muster",
5386
+ "years": "jahre"
5387
+ },
5388
+ "payout": "auszahlung",
5389
+ "label": {
5390
+ "__": "etikett",
5391
+ "size": "groesse",
5392
+ "rotation": "drehung",
5393
+ "fields": {
5394
+ "__": "felder",
5395
+ "business": "betrieb",
5396
+ "value": "wert",
5397
+ "validity": "gueltigkeit",
5398
+ "checkPage": "pruefseite",
5399
+ "designation": "bezeichnung"
5400
+ },
5401
+ "freeText": "freitext"
5402
+ },
5403
+ "order": "reihenfolge",
5404
+ "active": "aktiv",
5405
+ "soldCount": "verkauft"
5406
+ }
5407
+ ]
5408
+ },
5409
+ "werte": {
5410
+ "voucherTypes[].kind": {
5411
+ "$catalog": "GUTSCHEIN_ART"
5412
+ },
5413
+ "voucherTypes[].amount.mode": {
5414
+ "$catalog": "GUTSCHEIN_BETRAG_MODUS"
5415
+ },
5416
+ "voucherTypes[].validity.pattern": {
5417
+ "$catalog": "GUTSCHEIN_SORTE_MUSTER"
5418
+ },
5419
+ "voucherTypes[].payout": {
5420
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
5421
+ }
5422
+ }
5423
+ },
5229
5424
  "listMyVouchers": {
5230
5425
  "params": {
5231
5426
  "search": "suche",
@@ -5249,6 +5444,9 @@
5249
5444
  "faceValueCents": "nennwertCents",
5250
5445
  "balanceCents": "saldoCents",
5251
5446
  "vatRateBp": "satzBp",
5447
+ "typeId": "sorteId",
5448
+ "typeName": "sorteName",
5449
+ "payout": "auszahlung",
5252
5450
  "article": {
5253
5451
  "__": "artikel",
5254
5452
  "vatRateBp": "satzBp",
@@ -5264,6 +5462,7 @@
5264
5462
  "validity": {
5265
5463
  "__": "gueltigkeit",
5266
5464
  "pattern": "muster",
5465
+ "redeemableYears": "jahre",
5267
5466
  "redeemableUntil": "einloesbarBis",
5268
5467
  "refundableUntil": "rueckzahlbarBis",
5269
5468
  "validUntil": "gueltigBis"
@@ -5297,6 +5496,9 @@
5297
5496
  },
5298
5497
  "vouchers[].issue.occasion": {
5299
5498
  "$catalog": "GUTSCHEIN_ANLASS"
5499
+ },
5500
+ "vouchers[].payout": {
5501
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
5300
5502
  }
5301
5503
  }
5302
5504
  },
@@ -5345,7 +5547,12 @@
5345
5547
  ],
5346
5548
  "cancellationStatus": "stornoStand"
5347
5549
  }
5348
- ]
5550
+ ],
5551
+ "metadata": {
5552
+ "__": "metadata",
5553
+ "taxNumber": "taxnr",
5554
+ "vatId": "uid"
5555
+ }
5349
5556
  },
5350
5557
  "werte": {
5351
5558
  "receipts[].cancellationStatus": {
@@ -5734,6 +5941,58 @@
5734
5941
  "nextCursor": "weiter"
5735
5942
  }
5736
5943
  },
5944
+ "listVoucherTypesAdmin": {
5945
+ "data": {
5946
+ "voucherTypes": [
5947
+ {
5948
+ "__": "sorten",
5949
+ "kind": "art",
5950
+ "vatRateBp": "satzBp",
5951
+ "amount": {
5952
+ "__": "betrag",
5953
+ "mode": "modus"
5954
+ },
5955
+ "validity": {
5956
+ "__": "gueltigkeit",
5957
+ "pattern": "muster",
5958
+ "years": "jahre"
5959
+ },
5960
+ "payout": "auszahlung",
5961
+ "label": {
5962
+ "__": "etikett",
5963
+ "size": "groesse",
5964
+ "rotation": "drehung",
5965
+ "fields": {
5966
+ "__": "felder",
5967
+ "business": "betrieb",
5968
+ "value": "wert",
5969
+ "validity": "gueltigkeit",
5970
+ "checkPage": "pruefseite",
5971
+ "designation": "bezeichnung"
5972
+ },
5973
+ "freeText": "freitext"
5974
+ },
5975
+ "order": "reihenfolge",
5976
+ "active": "aktiv",
5977
+ "soldCount": "verkauft"
5978
+ }
5979
+ ]
5980
+ },
5981
+ "werte": {
5982
+ "voucherTypes[].kind": {
5983
+ "$catalog": "GUTSCHEIN_ART"
5984
+ },
5985
+ "voucherTypes[].amount.mode": {
5986
+ "$catalog": "GUTSCHEIN_BETRAG_MODUS"
5987
+ },
5988
+ "voucherTypes[].validity.pattern": {
5989
+ "$catalog": "GUTSCHEIN_SORTE_MUSTER"
5990
+ },
5991
+ "voucherTypes[].payout": {
5992
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
5993
+ }
5994
+ }
5995
+ },
5737
5996
  "listVouchersAdmin": {
5738
5997
  "params": {
5739
5998
  "search": "suche",
@@ -5757,6 +6016,9 @@
5757
6016
  "faceValueCents": "nennwertCents",
5758
6017
  "balanceCents": "saldoCents",
5759
6018
  "vatRateBp": "satzBp",
6019
+ "typeId": "sorteId",
6020
+ "typeName": "sorteName",
6021
+ "payout": "auszahlung",
5760
6022
  "article": {
5761
6023
  "__": "artikel",
5762
6024
  "vatRateBp": "satzBp",
@@ -5772,6 +6034,7 @@
5772
6034
  "validity": {
5773
6035
  "__": "gueltigkeit",
5774
6036
  "pattern": "muster",
6037
+ "redeemableYears": "jahre",
5775
6038
  "redeemableUntil": "einloesbarBis",
5776
6039
  "refundableUntil": "rueckzahlbarBis",
5777
6040
  "validUntil": "gueltigBis"
@@ -5805,6 +6068,9 @@
5805
6068
  },
5806
6069
  "vouchers[].issue.occasion": {
5807
6070
  "$catalog": "GUTSCHEIN_ANLASS"
6071
+ },
6072
+ "vouchers[].payout": {
6073
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
5808
6074
  }
5809
6075
  }
5810
6076
  },
@@ -6224,6 +6490,9 @@
6224
6490
  "faceValueCents": "nennwertCents",
6225
6491
  "balanceCents": "saldoCents",
6226
6492
  "vatRateBp": "satzBp",
6493
+ "typeId": "sorteId",
6494
+ "typeName": "sorteName",
6495
+ "payout": "auszahlung",
6227
6496
  "article": {
6228
6497
  "__": "artikel",
6229
6498
  "vatRateBp": "satzBp",
@@ -6239,6 +6508,7 @@
6239
6508
  "validity": {
6240
6509
  "__": "gueltigkeit",
6241
6510
  "pattern": "muster",
6511
+ "redeemableYears": "jahre",
6242
6512
  "redeemableUntil": "einloesbarBis",
6243
6513
  "refundableUntil": "rueckzahlbarBis",
6244
6514
  "validUntil": "gueltigBis"
@@ -6256,6 +6526,20 @@
6256
6526
  },
6257
6527
  "createdAt": "angelegtAt",
6258
6528
  "updatedAt": "geaendertAt"
6529
+ },
6530
+ "label": {
6531
+ "__": "etikett",
6532
+ "size": "groesse",
6533
+ "rotation": "drehung",
6534
+ "fields": {
6535
+ "__": "felder",
6536
+ "business": "betrieb",
6537
+ "value": "wert",
6538
+ "validity": "gueltigkeit",
6539
+ "checkPage": "pruefseite",
6540
+ "designation": "bezeichnung"
6541
+ },
6542
+ "freeText": "freitext"
6259
6543
  }
6260
6544
  },
6261
6545
  "werte": {
@@ -6270,6 +6554,9 @@
6270
6554
  },
6271
6555
  "voucher.issue.occasion": {
6272
6556
  "$catalog": "GUTSCHEIN_ANLASS"
6557
+ },
6558
+ "voucher.payout": {
6559
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
6273
6560
  }
6274
6561
  }
6275
6562
  },
@@ -6282,6 +6569,9 @@
6282
6569
  "faceValueCents": "nennwertCents",
6283
6570
  "balanceCents": "saldoCents",
6284
6571
  "vatRateBp": "satzBp",
6572
+ "typeId": "sorteId",
6573
+ "typeName": "sorteName",
6574
+ "payout": "auszahlung",
6285
6575
  "article": {
6286
6576
  "__": "artikel",
6287
6577
  "vatRateBp": "satzBp",
@@ -6297,6 +6587,7 @@
6297
6587
  "validity": {
6298
6588
  "__": "gueltigkeit",
6299
6589
  "pattern": "muster",
6590
+ "redeemableYears": "jahre",
6300
6591
  "redeemableUntil": "einloesbarBis",
6301
6592
  "refundableUntil": "rueckzahlbarBis",
6302
6593
  "validUntil": "gueltigBis"
@@ -6314,6 +6605,20 @@
6314
6605
  },
6315
6606
  "createdAt": "angelegtAt",
6316
6607
  "updatedAt": "geaendertAt"
6608
+ },
6609
+ "label": {
6610
+ "__": "etikett",
6611
+ "size": "groesse",
6612
+ "rotation": "drehung",
6613
+ "fields": {
6614
+ "__": "felder",
6615
+ "business": "betrieb",
6616
+ "value": "wert",
6617
+ "validity": "gueltigkeit",
6618
+ "checkPage": "pruefseite",
6619
+ "designation": "bezeichnung"
6620
+ },
6621
+ "freeText": "freitext"
6317
6622
  }
6318
6623
  },
6319
6624
  "werte": {
@@ -6328,6 +6633,9 @@
6328
6633
  },
6329
6634
  "voucher.issue.occasion": {
6330
6635
  "$catalog": "GUTSCHEIN_ANLASS"
6636
+ },
6637
+ "voucher.payout": {
6638
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
6331
6639
  }
6332
6640
  }
6333
6641
  },
@@ -6349,6 +6657,7 @@
6349
6657
  "zeitraum_offen": "period_not_closed",
6350
6658
  "zeitraum_zukunft": "period_in_future",
6351
6659
  "zeitraum_ungueltig": "invalid_period",
6660
+ "zeitraum_zu_lang": "range_too_long",
6352
6661
  "bericht_entsteht": "report_generating",
6353
6662
  "kasse_unbekannt": "cashregister_not_found",
6354
6663
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -6514,6 +6823,100 @@
6514
6823
  }
6515
6824
  }
6516
6825
  },
6826
+ "saveMyVoucherType": {
6827
+ "params": {
6828
+ "kind": "art",
6829
+ "vatRateBp": "satzBp",
6830
+ "amount": {
6831
+ "__": "betrag",
6832
+ "mode": "modus"
6833
+ },
6834
+ "validity": {
6835
+ "__": "gueltigkeit",
6836
+ "pattern": "muster",
6837
+ "years": "jahre"
6838
+ },
6839
+ "payout": "auszahlung",
6840
+ "label": {
6841
+ "__": "etikett",
6842
+ "size": "groesse",
6843
+ "rotation": "drehung",
6844
+ "fields": {
6845
+ "__": "felder",
6846
+ "business": "betrieb",
6847
+ "value": "wert",
6848
+ "validity": "gueltigkeit",
6849
+ "checkPage": "pruefseite",
6850
+ "designation": "bezeichnung"
6851
+ },
6852
+ "freeText": "freitext"
6853
+ },
6854
+ "order": "reihenfolge",
6855
+ "active": "aktiv"
6856
+ },
6857
+ "paramWerte": {
6858
+ "kind": {
6859
+ "$catalog": "GUTSCHEIN_ART"
6860
+ },
6861
+ "amount.mode": {
6862
+ "$catalog": "GUTSCHEIN_BETRAG_MODUS"
6863
+ },
6864
+ "validity.pattern": {
6865
+ "$catalog": "GUTSCHEIN_SORTE_MUSTER"
6866
+ },
6867
+ "payout": {
6868
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
6869
+ }
6870
+ },
6871
+ "data": {
6872
+ "voucherType": {
6873
+ "__": "sorte",
6874
+ "kind": "art",
6875
+ "vatRateBp": "satzBp",
6876
+ "amount": {
6877
+ "__": "betrag",
6878
+ "mode": "modus"
6879
+ },
6880
+ "validity": {
6881
+ "__": "gueltigkeit",
6882
+ "pattern": "muster",
6883
+ "years": "jahre"
6884
+ },
6885
+ "payout": "auszahlung",
6886
+ "label": {
6887
+ "__": "etikett",
6888
+ "size": "groesse",
6889
+ "rotation": "drehung",
6890
+ "fields": {
6891
+ "__": "felder",
6892
+ "business": "betrieb",
6893
+ "value": "wert",
6894
+ "validity": "gueltigkeit",
6895
+ "checkPage": "pruefseite",
6896
+ "designation": "bezeichnung"
6897
+ },
6898
+ "freeText": "freitext"
6899
+ },
6900
+ "order": "reihenfolge",
6901
+ "active": "aktiv",
6902
+ "soldCount": "verkauft"
6903
+ }
6904
+ },
6905
+ "werte": {
6906
+ "voucherType.kind": {
6907
+ "$catalog": "GUTSCHEIN_ART"
6908
+ },
6909
+ "voucherType.amount.mode": {
6910
+ "$catalog": "GUTSCHEIN_BETRAG_MODUS"
6911
+ },
6912
+ "voucherType.validity.pattern": {
6913
+ "$catalog": "GUTSCHEIN_SORTE_MUSTER"
6914
+ },
6915
+ "voucherType.payout": {
6916
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
6917
+ }
6918
+ }
6919
+ },
6517
6920
  "searchCustomers": {},
6518
6921
  "sendPartnerCustomerFonLink": {},
6519
6922
  "sendPartnerWebhookTest": {
@@ -6901,12 +7304,14 @@
6901
7304
  "label": {
6902
7305
  "__": "etikett",
6903
7306
  "size": "groesse",
7307
+ "rotation": "drehung",
6904
7308
  "fields": {
6905
7309
  "__": "felder",
6906
7310
  "business": "betrieb",
6907
7311
  "value": "wert",
6908
7312
  "validity": "gueltigkeit",
6909
- "checkPage": "pruefseite"
7313
+ "checkPage": "pruefseite",
7314
+ "designation": "bezeichnung"
6910
7315
  },
6911
7316
  "freeText": "freitext"
6912
7317
  }
@@ -6928,12 +7333,14 @@
6928
7333
  "label": {
6929
7334
  "__": "etikett",
6930
7335
  "size": "groesse",
7336
+ "rotation": "drehung",
6931
7337
  "fields": {
6932
7338
  "__": "felder",
6933
7339
  "business": "betrieb",
6934
7340
  "value": "wert",
6935
7341
  "validity": "gueltigkeit",
6936
- "checkPage": "pruefseite"
7342
+ "checkPage": "pruefseite",
7343
+ "designation": "bezeichnung"
6937
7344
  },
6938
7345
  "freeText": "freitext"
6939
7346
  },
@@ -7011,6 +7418,9 @@
7011
7418
  "faceValueCents": "nennwertCents",
7012
7419
  "balanceCents": "saldoCents",
7013
7420
  "vatRateBp": "satzBp",
7421
+ "typeId": "sorteId",
7422
+ "typeName": "sorteName",
7423
+ "payout": "auszahlung",
7014
7424
  "article": {
7015
7425
  "__": "artikel",
7016
7426
  "vatRateBp": "satzBp",
@@ -7026,6 +7436,7 @@
7026
7436
  "validity": {
7027
7437
  "__": "gueltigkeit",
7028
7438
  "pattern": "muster",
7439
+ "redeemableYears": "jahre",
7029
7440
  "redeemableUntil": "einloesbarBis",
7030
7441
  "refundableUntil": "rueckzahlbarBis",
7031
7442
  "validUntil": "gueltigBis"
@@ -7057,6 +7468,9 @@
7057
7468
  },
7058
7469
  "voucher.issue.occasion": {
7059
7470
  "$catalog": "GUTSCHEIN_ANLASS"
7471
+ },
7472
+ "voucher.payout": {
7473
+ "$catalog": "GUTSCHEIN_AUSZAHLUNG"
7060
7474
  }
7061
7475
  }
7062
7476
  },
@@ -7175,6 +7589,7 @@
7175
7589
  "zeitraum_offen": "period_not_closed",
7176
7590
  "zeitraum_zukunft": "period_in_future",
7177
7591
  "zeitraum_ungueltig": "invalid_period",
7592
+ "zeitraum_zu_lang": "range_too_long",
7178
7593
  "bericht_entsteht": "report_generating",
7179
7594
  "kasse_unbekannt": "cashregister_not_found",
7180
7595
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -7371,6 +7786,7 @@
7371
7786
  "zeitraum_offen": "period_not_closed",
7372
7787
  "zeitraum_zukunft": "period_in_future",
7373
7788
  "zeitraum_ungueltig": "invalid_period",
7789
+ "zeitraum_zu_lang": "range_too_long",
7374
7790
  "bericht_entsteht": "report_generating",
7375
7791
  "kasse_unbekannt": "cashregister_not_found",
7376
7792
  "zugang_nicht_erlaubt": "access_not_allowed",
@@ -7560,6 +7976,7 @@
7560
7976
  "askQuantity",
7561
7977
  "maxQuantity",
7562
7978
  "revenueGroupId",
7979
+ "serviceVoucher",
7563
7980
  "active",
7564
7981
  "groupId",
7565
7982
  "tile",
@@ -7586,6 +8003,7 @@
7586
8003
  "mengeFragen",
7587
8004
  "maxMenge",
7588
8005
  "revenueGroupId",
8006
+ "gutscheinLeistung",
7589
8007
  "active",
7590
8008
  "groupId",
7591
8009
  "kasse",