@vario-software/types 2026.36.4 → 2026.37.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/package.json +1 -1
- package/schema/erp.d.ts +238 -28
- package/scripting/output_module_script.d.ts +98 -0
- package/scripting/services.d.ts +145 -42
- package/scripting/types.d.ts +445 -315
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.37.1",
|
|
4
4
|
"description": "TypeScript type definitions for the VARIO Cloud platform: REST API schemas, app framework contexts and scripting interfaces. Provides type checking, autocompletion and IntelliSense in TypeScript and JavaScript projects.",
|
|
5
5
|
"homepage": "https://developer.vario-software.de/",
|
|
6
6
|
"bugs": "https://developer.vario-software.de/help-support",
|
package/schema/erp.d.ts
CHANGED
|
@@ -2755,6 +2755,25 @@ export interface paths {
|
|
|
2755
2755
|
patch?: never;
|
|
2756
2756
|
trace?: never;
|
|
2757
2757
|
};
|
|
2758
|
+
"/cmn/output/modules/{moduleKey}/script": {
|
|
2759
|
+
parameters: {
|
|
2760
|
+
query?: never;
|
|
2761
|
+
header?: never;
|
|
2762
|
+
path?: never;
|
|
2763
|
+
cookie?: never;
|
|
2764
|
+
};
|
|
2765
|
+
/** @description Returns the script of an output module */
|
|
2766
|
+
get: operations["getModuleScript"];
|
|
2767
|
+
/** @description Creates or changes the script of an output module */
|
|
2768
|
+
put: operations["setModuleScript"];
|
|
2769
|
+
post?: never;
|
|
2770
|
+
/** @description Removes the script of an output module */
|
|
2771
|
+
delete: operations["deleteModuleScript"];
|
|
2772
|
+
options?: never;
|
|
2773
|
+
head?: never;
|
|
2774
|
+
patch?: never;
|
|
2775
|
+
trace?: never;
|
|
2776
|
+
};
|
|
2758
2777
|
"/cmn/output/modules/{moduleKey}/template-factory-meta": {
|
|
2759
2778
|
parameters: {
|
|
2760
2779
|
query?: never;
|
|
@@ -3814,7 +3833,7 @@ export interface paths {
|
|
|
3814
3833
|
patch?: never;
|
|
3815
3834
|
trace?: never;
|
|
3816
3835
|
};
|
|
3817
|
-
"/cmn/systems/licenses
|
|
3836
|
+
"/cmn/systems/licenses": {
|
|
3818
3837
|
parameters: {
|
|
3819
3838
|
query?: never;
|
|
3820
3839
|
header?: never;
|
|
@@ -3830,6 +3849,23 @@ export interface paths {
|
|
|
3830
3849
|
patch?: never;
|
|
3831
3850
|
trace?: never;
|
|
3832
3851
|
};
|
|
3852
|
+
"/cmn/systems/licenses/": {
|
|
3853
|
+
parameters: {
|
|
3854
|
+
query?: never;
|
|
3855
|
+
header?: never;
|
|
3856
|
+
path?: never;
|
|
3857
|
+
cookie?: never;
|
|
3858
|
+
};
|
|
3859
|
+
/** @deprecated */
|
|
3860
|
+
get: operations["getAllLicensesOld"];
|
|
3861
|
+
put?: never;
|
|
3862
|
+
post?: never;
|
|
3863
|
+
delete?: never;
|
|
3864
|
+
options?: never;
|
|
3865
|
+
head?: never;
|
|
3866
|
+
patch?: never;
|
|
3867
|
+
trace?: never;
|
|
3868
|
+
};
|
|
3833
3869
|
"/cmn/systems/messages/": {
|
|
3834
3870
|
parameters: {
|
|
3835
3871
|
query?: never;
|
|
@@ -15813,6 +15849,23 @@ export interface paths {
|
|
|
15813
15849
|
patch?: never;
|
|
15814
15850
|
trace?: never;
|
|
15815
15851
|
};
|
|
15852
|
+
"/erp/pos/register/{posRegisterId}/tss/elster-data": {
|
|
15853
|
+
parameters: {
|
|
15854
|
+
query?: never;
|
|
15855
|
+
header?: never;
|
|
15856
|
+
path?: never;
|
|
15857
|
+
cookie?: never;
|
|
15858
|
+
};
|
|
15859
|
+
/** Retrieve the data of the POS register required for its registration at ELSTER */
|
|
15860
|
+
get: operations["retrieveElsterData"];
|
|
15861
|
+
put?: never;
|
|
15862
|
+
post?: never;
|
|
15863
|
+
delete?: never;
|
|
15864
|
+
options?: never;
|
|
15865
|
+
head?: never;
|
|
15866
|
+
patch?: never;
|
|
15867
|
+
trace?: never;
|
|
15868
|
+
};
|
|
15816
15869
|
"/erp/pos/register/{posRegisterId}/tss/register": {
|
|
15817
15870
|
parameters: {
|
|
15818
15871
|
query?: never;
|
|
@@ -19115,7 +19168,6 @@ export interface paths {
|
|
|
19115
19168
|
path?: never;
|
|
19116
19169
|
cookie?: never;
|
|
19117
19170
|
};
|
|
19118
|
-
/** Find an existing Resource by identifier */
|
|
19119
19171
|
get: operations["getById_149"];
|
|
19120
19172
|
put?: never;
|
|
19121
19173
|
post?: never;
|
|
@@ -19165,7 +19217,7 @@ export interface paths {
|
|
|
19165
19217
|
cookie?: never;
|
|
19166
19218
|
};
|
|
19167
19219
|
get?: never;
|
|
19168
|
-
put: operations["
|
|
19220
|
+
put: operations["cancelPicklistsIndirect"];
|
|
19169
19221
|
post?: never;
|
|
19170
19222
|
delete?: never;
|
|
19171
19223
|
options?: never;
|
|
@@ -34466,6 +34518,16 @@ export interface components {
|
|
|
34466
34518
|
* @default true
|
|
34467
34519
|
*/
|
|
34468
34520
|
readonly active: boolean;
|
|
34521
|
+
/**
|
|
34522
|
+
* Format: uuid
|
|
34523
|
+
* @description Identifier of the app managing this category tree
|
|
34524
|
+
*/
|
|
34525
|
+
appIdentifier?: string;
|
|
34526
|
+
/**
|
|
34527
|
+
* @description May only be modified by the owning app
|
|
34528
|
+
* @default false
|
|
34529
|
+
*/
|
|
34530
|
+
appManagedOnly: boolean;
|
|
34469
34531
|
/** @description Untergeordnete Kategorien */
|
|
34470
34532
|
childCategories?: components["schemas"]["common-masterdata-Category"][];
|
|
34471
34533
|
/** @description Beschreibung */
|
|
@@ -34794,6 +34856,18 @@ export interface components {
|
|
|
34794
34856
|
/** @description output module label */
|
|
34795
34857
|
label?: string;
|
|
34796
34858
|
};
|
|
34859
|
+
"common-output-OutputModuleScript": {
|
|
34860
|
+
/** @description Unique identifier of the Object */
|
|
34861
|
+
id?: string;
|
|
34862
|
+
info?: components["schemas"]["core-api-MetaInfo"];
|
|
34863
|
+
/** @description Label of this script */
|
|
34864
|
+
label: string;
|
|
34865
|
+
/** @description Key of the output module */
|
|
34866
|
+
readonly moduleKey?: string;
|
|
34867
|
+
script?: components["schemas"]["common-scripting-Script"];
|
|
34868
|
+
/** @description Version Identifier for this Object (for PUT) */
|
|
34869
|
+
version?: string;
|
|
34870
|
+
};
|
|
34797
34871
|
/** @description Recipients/Destinations */
|
|
34798
34872
|
"common-output-OutputRecipient": unknown;
|
|
34799
34873
|
/** @description Empfänger */
|
|
@@ -36629,13 +36703,18 @@ export interface components {
|
|
|
36629
36703
|
property?: string;
|
|
36630
36704
|
};
|
|
36631
36705
|
"core-product-AvailableLicense": {
|
|
36706
|
+
/**
|
|
36707
|
+
* Format: int32
|
|
36708
|
+
* @description license-amount
|
|
36709
|
+
*/
|
|
36710
|
+
readonly amount?: number;
|
|
36632
36711
|
/** @description der valide lizenz-key */
|
|
36633
|
-
licenseKey?: string;
|
|
36712
|
+
readonly licenseKey?: string;
|
|
36634
36713
|
/**
|
|
36635
36714
|
* Format: date
|
|
36636
36715
|
* @description Bei Testlizenzen -> valide bis
|
|
36637
36716
|
*/
|
|
36638
|
-
licenseValidTo?: string;
|
|
36717
|
+
readonly licenseValidTo?: string;
|
|
36639
36718
|
};
|
|
36640
36719
|
/** @description Beschreibung zu einem Skript */
|
|
36641
36720
|
"core-scripting-ScriptDescription": {
|
|
@@ -41452,6 +41531,7 @@ export interface components {
|
|
|
41452
41531
|
};
|
|
41453
41532
|
"erp-document-DocumentLineWithBooking": {
|
|
41454
41533
|
booking?: components["schemas"]["erp-document-DocumentLineBooking"];
|
|
41534
|
+
component?: components["schemas"]["erp-document-DocumentLineComponent"];
|
|
41455
41535
|
line?: components["schemas"]["erp-document-DocumentLine"];
|
|
41456
41536
|
/** @description Die Menge dieser Kombination */
|
|
41457
41537
|
quantity?: number;
|
|
@@ -41519,9 +41599,9 @@ export interface components {
|
|
|
41519
41599
|
documentLineBookingId?: number;
|
|
41520
41600
|
/**
|
|
41521
41601
|
* Format: int64
|
|
41522
|
-
* @description Referenz zur
|
|
41602
|
+
* @description Referenz zur Belegkomponente
|
|
41523
41603
|
*/
|
|
41524
|
-
|
|
41604
|
+
documentLineComponentId?: number;
|
|
41525
41605
|
/** @description Unique identifier of the Object */
|
|
41526
41606
|
id?: string;
|
|
41527
41607
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
@@ -44077,7 +44157,7 @@ export interface components {
|
|
|
44077
44157
|
* @description origin for this record
|
|
44078
44158
|
* @enum {string}
|
|
44079
44159
|
*/
|
|
44080
|
-
readonly origin?: "DOCUMENT" | "PAYMENT" | "PAYMENT_DISSOLVED" | "REIMBURSEMENT" | "REIMBURSEMENT_DISSOLVED" | "MANUAL_CLOSURE" | "MANUAL_REOPENING" | "DUNNING" | "DUNNING_DISSOLVED" | "DUNNING_INTEREST_REVERSAL" | "IMPORT" | "PAYMENT_PLAN" | "PAYMENT_PLAN_ENTRY" | "PAYMENT_IMPORT" | "CLEARING" | "CLEARING_DISSOLVED" | "DEPOSIT" | "CREDIT_NOTE" | "BALANCE_ADJUSTMENT" | "FEE" | "DUNNING_PAYMENT" | "DUNNING_PAYMENT_DISSOLVED" | "POS_PAYMENT";
|
|
44160
|
+
readonly origin?: "DOCUMENT" | "PAYMENT" | "PAYMENT_DISSOLVED" | "REIMBURSEMENT" | "REIMBURSEMENT_DISSOLVED" | "MANUAL_CLOSURE" | "MANUAL_REOPENING" | "DUNNING" | "DUNNING_DISSOLVED" | "DUNNING_INTEREST_REVERSAL" | "IMPORT" | "PAYMENT_PLAN" | "PAYMENT_PLAN_ENTRY" | "PAYMENT_IMPORT" | "IMPORT_DUNNING" | "CLEARING" | "CLEARING_DISSOLVED" | "DEPOSIT" | "CREDIT_NOTE" | "BALANCE_ADJUSTMENT" | "FEE" | "DUNNING_PAYMENT" | "DUNNING_PAYMENT_DISSOLVED" | "POS_PAYMENT";
|
|
44081
44161
|
paymentMethod?: components["schemas"]["core-api-ApiObjectReference"];
|
|
44082
44162
|
/**
|
|
44083
44163
|
* @description qualifier of open item
|
|
@@ -44909,6 +44989,40 @@ export interface components {
|
|
|
44909
44989
|
/** @description Version Identifier for this Object (for PUT) */
|
|
44910
44990
|
version?: string;
|
|
44911
44991
|
};
|
|
44992
|
+
/** @description Data of a POS register required for its registration at ELSTER */
|
|
44993
|
+
"erp-pos-PosRegisterElsterData": {
|
|
44994
|
+
/**
|
|
44995
|
+
* Format: date-time
|
|
44996
|
+
* @description Point in time the POS register was created (ELSTER: Anschaffungsdatum)
|
|
44997
|
+
*/
|
|
44998
|
+
acquisitionDate?: string;
|
|
44999
|
+
/** @description ID of the TSS certification issued by the German Federal Office for Information Security (ELSTER: BSI-Zertifizierungs-ID) */
|
|
45000
|
+
bsiCertificationId?: string;
|
|
45001
|
+
/**
|
|
45002
|
+
* Format: date-time
|
|
45003
|
+
* @description Point in time the POS register was used productively for the first time (ELSTER: Inbetriebnahme)
|
|
45004
|
+
*/
|
|
45005
|
+
commissionedAt?: string;
|
|
45006
|
+
/** @description Manufacturer of the recording system (ELSTER: Hersteller) */
|
|
45007
|
+
manufacturer?: string;
|
|
45008
|
+
/** @description Model of the recording system (ELSTER: Modell) */
|
|
45009
|
+
model?: string;
|
|
45010
|
+
/** @description Serial number of the recording system (ELSTER: Seriennummer des Aufzeichnungssystems) */
|
|
45011
|
+
recordingSystemSerialNumber?: string;
|
|
45012
|
+
/** @description Name of the software (ELSTER: Name der Software) */
|
|
45013
|
+
softwareName?: string;
|
|
45014
|
+
/** @description Version of the software (ELSTER: Softwareversion) */
|
|
45015
|
+
softwareVersion?: string;
|
|
45016
|
+
/**
|
|
45017
|
+
* Format: date-time
|
|
45018
|
+
* @description Point in time the POS register was registered at the TSE for the first time (ELSTER: Inbetriebnahme der TSE)
|
|
45019
|
+
*/
|
|
45020
|
+
tseCommissionedAt?: string;
|
|
45021
|
+
/** @description Serial number of the TSE (ELSTER: Seriennummer der TSE) */
|
|
45022
|
+
tseSerialNumber?: string;
|
|
45023
|
+
/** @description Type of the TSE (ELSTER: Art der TSE) */
|
|
45024
|
+
tseType?: string;
|
|
45025
|
+
};
|
|
44912
45026
|
/** @description Request für TSS-Admin-Operationen */
|
|
44913
45027
|
"erp-pos-TssAdminPin": {
|
|
44914
45028
|
/** @description Admin-PIN für die TSS */
|
|
@@ -48785,16 +48899,13 @@ export interface components {
|
|
|
48785
48899
|
};
|
|
48786
48900
|
/** @description Buchungen zu Positionen einer Pickliste */
|
|
48787
48901
|
"erp-wms-PicklistLineBooking": {
|
|
48902
|
+
/** @description Vorgabe-Buchung? */
|
|
48903
|
+
preset: boolean;
|
|
48788
48904
|
/** @description Zu buchende Menge (gesammelt) */
|
|
48789
48905
|
quantity: number;
|
|
48790
48906
|
/** @description Zu buchende Menge (verpackt) */
|
|
48791
48907
|
quantityPacked: number;
|
|
48792
48908
|
serialNumber?: components["schemas"]["erp-product-ArticleSerialNumber"];
|
|
48793
|
-
/**
|
|
48794
|
-
* @description Status der Buchung einer Position einer Pickliste
|
|
48795
|
-
* @enum {string}
|
|
48796
|
-
*/
|
|
48797
|
-
state: "PRESETTING" | "PROCESSED";
|
|
48798
48909
|
/** @description Anzeigename vom Lagerplatz */
|
|
48799
48910
|
readonly storageBinDisplayName?: string;
|
|
48800
48911
|
/**
|
|
@@ -49017,7 +49128,7 @@ export interface components {
|
|
|
49017
49128
|
* @description Status der Picklistenverarbeitung
|
|
49018
49129
|
* @enum {string}
|
|
49019
49130
|
*/
|
|
49020
|
-
processingState?: "PICKING_FINISHED" | "PACKING_FINISHED" | "DELIVERY_DOCUMENT_CREATED" | "PICKLIST_PAUSED" | "PICKLIST_CANCELLED" | "PICKLIST_CHOSEN" | "PICK_TROLLEY_CHOSEN" | "PICK_TROLLEY_BOX_CHOSEN" | "PICK_TROLLEY_BOX_CANCELLED" | "STORAGE_BIN_CHOSEN" | "ARTICLE_CHOSEN" | "CHANGED_DELIVERY_METHOD" | "CHANGED_DELIVERY_METHOD_DELIVERY_TERM" | "SERIAL_NUMBER_CHOSEN" | "SERIAL_NUMBER_LIST_PROCESSED" | "ABSOLUTE_QUANTITY_MANUAL_CHANGED" | "RELATIVE_QUANTITY_MANUAL_CHANGED" | "PARCEL_NEEDS_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED" | "PARCELS_FOR_DELIVERY_NEED_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED_FOR_DELIVERY" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED_FOR_DELIVERY" | "SHIPPING_LABEL_PRINTED" | "SCAN_DELIVERY_DOCUMENT_OR_SHIPPING_LABEL" | "SCAN_DELIVERY_DOCUMENT" | "SCAN_SHIPPING_LABEL" | "PICKLIST_FOR_MISSING_GOODS_PICKING_CREATED" | "SCAN_PICK_TROLLEY_BOX_FOR_CONFIRMATION" | "PICK_TROLLEY_BOX_SCANNED_FOR_CONFIRMATION";
|
|
49131
|
+
processingState?: "PICKING_FINISHED" | "PACKING_FINISHED" | "DELIVERY_DOCUMENT_CREATED" | "PICKLIST_PAUSED" | "PICKLIST_CANCELLED" | "PICKLIST_CHOSEN" | "PICK_TROLLEY_CHOSEN" | "PICK_TROLLEY_BOX_CHOSEN" | "PICK_TROLLEY_BOX_CANCELLED" | "STORAGE_BIN_CHOSEN" | "ARTICLE_CHOSEN" | "CHANGED_DELIVERY_METHOD" | "CHANGED_DELIVERY_METHOD_DELIVERY_TERM" | "SERIAL_NUMBER_CHOSEN" | "SERIAL_NUMBER_LIST_PROCESSED" | "MISSING_SERIAL_NUMBER" | "ABSOLUTE_QUANTITY_MANUAL_CHANGED" | "RELATIVE_QUANTITY_MANUAL_CHANGED" | "PARCEL_NEEDS_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED" | "PARCELS_FOR_DELIVERY_NEED_TO_BE_WEIGHED" | "SHIPPING_DETAILS_REQUIRED_FOR_DELIVERY" | "SHIPPING_DETAILS_AND_PARCEL_WEIGHT_REQUIRED_FOR_DELIVERY" | "SHIPPING_LABEL_PRINTED" | "SCAN_DELIVERY_DOCUMENT_OR_SHIPPING_LABEL" | "SCAN_DELIVERY_DOCUMENT" | "SCAN_SHIPPING_LABEL" | "PICKLIST_FOR_MISSING_GOODS_PICKING_CREATED" | "SCAN_PICK_TROLLEY_BOX_FOR_CONFIRMATION" | "PICK_TROLLEY_BOX_SCANNED_FOR_CONFIRMATION";
|
|
49021
49132
|
serialNumber?: components["schemas"]["erp-product-ArticleSerialNumber"];
|
|
49022
49133
|
/**
|
|
49023
49134
|
* Format: int64
|
|
@@ -57257,6 +57368,74 @@ export interface operations {
|
|
|
57257
57368
|
};
|
|
57258
57369
|
};
|
|
57259
57370
|
};
|
|
57371
|
+
getModuleScript: {
|
|
57372
|
+
parameters: {
|
|
57373
|
+
query?: never;
|
|
57374
|
+
header?: never;
|
|
57375
|
+
path: {
|
|
57376
|
+
moduleKey: string;
|
|
57377
|
+
};
|
|
57378
|
+
cookie?: never;
|
|
57379
|
+
};
|
|
57380
|
+
requestBody?: never;
|
|
57381
|
+
responses: {
|
|
57382
|
+
/** @description OK */
|
|
57383
|
+
200: {
|
|
57384
|
+
headers: {
|
|
57385
|
+
[name: string]: unknown;
|
|
57386
|
+
};
|
|
57387
|
+
content: {
|
|
57388
|
+
"application/json": components["schemas"]["common-output-OutputModuleScript"];
|
|
57389
|
+
};
|
|
57390
|
+
};
|
|
57391
|
+
};
|
|
57392
|
+
};
|
|
57393
|
+
setModuleScript: {
|
|
57394
|
+
parameters: {
|
|
57395
|
+
query?: never;
|
|
57396
|
+
header?: never;
|
|
57397
|
+
path: {
|
|
57398
|
+
moduleKey: string;
|
|
57399
|
+
};
|
|
57400
|
+
cookie?: never;
|
|
57401
|
+
};
|
|
57402
|
+
requestBody: {
|
|
57403
|
+
content: {
|
|
57404
|
+
"application/json": components["schemas"]["common-output-OutputModuleScript"];
|
|
57405
|
+
};
|
|
57406
|
+
};
|
|
57407
|
+
responses: {
|
|
57408
|
+
/** @description OK */
|
|
57409
|
+
200: {
|
|
57410
|
+
headers: {
|
|
57411
|
+
[name: string]: unknown;
|
|
57412
|
+
};
|
|
57413
|
+
content: {
|
|
57414
|
+
"application/json": components["schemas"]["common-output-OutputModuleScript"];
|
|
57415
|
+
};
|
|
57416
|
+
};
|
|
57417
|
+
};
|
|
57418
|
+
};
|
|
57419
|
+
deleteModuleScript: {
|
|
57420
|
+
parameters: {
|
|
57421
|
+
query?: never;
|
|
57422
|
+
header?: never;
|
|
57423
|
+
path: {
|
|
57424
|
+
moduleKey: string;
|
|
57425
|
+
};
|
|
57426
|
+
cookie?: never;
|
|
57427
|
+
};
|
|
57428
|
+
requestBody?: never;
|
|
57429
|
+
responses: {
|
|
57430
|
+
/** @description OK */
|
|
57431
|
+
200: {
|
|
57432
|
+
headers: {
|
|
57433
|
+
[name: string]: unknown;
|
|
57434
|
+
};
|
|
57435
|
+
content?: never;
|
|
57436
|
+
};
|
|
57437
|
+
};
|
|
57438
|
+
};
|
|
57260
57439
|
getTemplateFactoryMeta: {
|
|
57261
57440
|
parameters: {
|
|
57262
57441
|
query?: never;
|
|
@@ -59838,6 +60017,26 @@ export interface operations {
|
|
|
59838
60017
|
};
|
|
59839
60018
|
};
|
|
59840
60019
|
};
|
|
60020
|
+
getAllLicensesOld: {
|
|
60021
|
+
parameters: {
|
|
60022
|
+
query?: never;
|
|
60023
|
+
header?: never;
|
|
60024
|
+
path?: never;
|
|
60025
|
+
cookie?: never;
|
|
60026
|
+
};
|
|
60027
|
+
requestBody?: never;
|
|
60028
|
+
responses: {
|
|
60029
|
+
/** @description OK */
|
|
60030
|
+
200: {
|
|
60031
|
+
headers: {
|
|
60032
|
+
[name: string]: unknown;
|
|
60033
|
+
};
|
|
60034
|
+
content: {
|
|
60035
|
+
"application/json": components["schemas"]["core-product-AvailableLicense"][];
|
|
60036
|
+
};
|
|
60037
|
+
};
|
|
60038
|
+
};
|
|
60039
|
+
};
|
|
59841
60040
|
getCodes: {
|
|
59842
60041
|
parameters: {
|
|
59843
60042
|
query?: never;
|
|
@@ -90502,6 +90701,28 @@ export interface operations {
|
|
|
90502
90701
|
};
|
|
90503
90702
|
};
|
|
90504
90703
|
};
|
|
90704
|
+
retrieveElsterData: {
|
|
90705
|
+
parameters: {
|
|
90706
|
+
query?: never;
|
|
90707
|
+
header?: never;
|
|
90708
|
+
path: {
|
|
90709
|
+
posRegisterId: number;
|
|
90710
|
+
};
|
|
90711
|
+
cookie?: never;
|
|
90712
|
+
};
|
|
90713
|
+
requestBody?: never;
|
|
90714
|
+
responses: {
|
|
90715
|
+
/** @description OK */
|
|
90716
|
+
200: {
|
|
90717
|
+
headers: {
|
|
90718
|
+
[name: string]: unknown;
|
|
90719
|
+
};
|
|
90720
|
+
content: {
|
|
90721
|
+
"application/json": components["schemas"]["erp-pos-PosRegisterElsterData"];
|
|
90722
|
+
};
|
|
90723
|
+
};
|
|
90724
|
+
};
|
|
90725
|
+
};
|
|
90505
90726
|
register: {
|
|
90506
90727
|
parameters: {
|
|
90507
90728
|
query?: never;
|
|
@@ -99279,7 +99500,7 @@ export interface operations {
|
|
|
99279
99500
|
};
|
|
99280
99501
|
requestBody?: never;
|
|
99281
99502
|
responses: {
|
|
99282
|
-
/** @description
|
|
99503
|
+
/** @description OK */
|
|
99283
99504
|
200: {
|
|
99284
99505
|
headers: {
|
|
99285
99506
|
[name: string]: unknown;
|
|
@@ -99288,15 +99509,6 @@ export interface operations {
|
|
|
99288
99509
|
"application/json": components["schemas"]["erp-wms-Picklist"];
|
|
99289
99510
|
};
|
|
99290
99511
|
};
|
|
99291
|
-
/** @description Resource with given ID was not found */
|
|
99292
|
-
404: {
|
|
99293
|
-
headers: {
|
|
99294
|
-
[name: string]: unknown;
|
|
99295
|
-
};
|
|
99296
|
-
content: {
|
|
99297
|
-
"application/json": components["schemas"]["core-error-ApiError"];
|
|
99298
|
-
};
|
|
99299
|
-
};
|
|
99300
99512
|
};
|
|
99301
99513
|
};
|
|
99302
99514
|
printPicklist: {
|
|
@@ -99356,7 +99568,7 @@ export interface operations {
|
|
|
99356
99568
|
};
|
|
99357
99569
|
};
|
|
99358
99570
|
};
|
|
99359
|
-
|
|
99571
|
+
cancelPicklistsIndirect: {
|
|
99360
99572
|
parameters: {
|
|
99361
99573
|
query?: never;
|
|
99362
99574
|
header?: never;
|
|
@@ -99374,9 +99586,7 @@ export interface operations {
|
|
|
99374
99586
|
headers: {
|
|
99375
99587
|
[name: string]: unknown;
|
|
99376
99588
|
};
|
|
99377
|
-
content
|
|
99378
|
-
"application/json": components["schemas"]["erp-wms-PicklistCancellationResult"];
|
|
99379
|
-
};
|
|
99589
|
+
content?: never;
|
|
99380
99590
|
};
|
|
99381
99591
|
};
|
|
99382
99592
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EOutputType, OutputModuleScriptingResponse
|
|
3
|
+
} from "./types"
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ScriptingServiceList
|
|
7
|
+
} from "./services"
|
|
8
|
+
|
|
9
|
+
export interface OutputModuleScriptingContext {
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Response used by the script to override the resolved output behaviour
|
|
13
|
+
*/
|
|
14
|
+
response: OutputModuleScriptingResponse;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Requested output type for this session
|
|
18
|
+
*/
|
|
19
|
+
outputType: EOutputType;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Services
|
|
23
|
+
*/
|
|
24
|
+
services: ScriptingServiceList;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Parameter zur Verwendung im Skript
|
|
28
|
+
*/
|
|
29
|
+
parameters: Map<string,object>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Dataprovider values keyed by name
|
|
33
|
+
*/
|
|
34
|
+
dataprovider: Map<string,string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Executed before printing
|
|
39
|
+
*
|
|
40
|
+
* @param {OutputModuleScriptingContext} ctx - Script context
|
|
41
|
+
* @return {boolean} true = create output, false = abort output
|
|
42
|
+
*/
|
|
43
|
+
type OutputModuleScriptBeforeprint = (ctx: OutputModuleScriptingContext) => boolean;
|
|
44
|
+
|
|
45
|
+
export interface OutputModuleScriptingContext {
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Response used by the script to override the resolved output behaviour
|
|
49
|
+
*/
|
|
50
|
+
response: OutputModuleScriptingResponse;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Requested output type for this session
|
|
54
|
+
*/
|
|
55
|
+
outputType: EOutputType;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Services
|
|
59
|
+
*/
|
|
60
|
+
services: ScriptingServiceList;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Parameter zur Verwendung im Skript
|
|
64
|
+
*/
|
|
65
|
+
parameters: Map<string,object>;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Dataprovider values keyed by name
|
|
69
|
+
*/
|
|
70
|
+
dataprovider: Map<string,string>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Script executed before printing
|
|
76
|
+
*
|
|
77
|
+
* @filename output_module_script
|
|
78
|
+
* @example
|
|
79
|
+
* ```typescript
|
|
80
|
+
* import outputModuleScript from "output_module_script";
|
|
81
|
+
*
|
|
82
|
+
* outputModuleScript.setBeforePrint( (ctx) => {
|
|
83
|
+
* // ctx.dataprovider dataprovider values keyed by name, e.g. ctx.dataprovider.documentId
|
|
84
|
+
* // ctx.response contains fields for overriding the session
|
|
85
|
+
* // return false to abort the output
|
|
86
|
+
* return true;
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
export interface outputModuleScript {
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Setter for callback "beforePrint"
|
|
94
|
+
*
|
|
95
|
+
* @param {OutputModuleScriptBeforeprint} callback - Callback "beforePrint"
|
|
96
|
+
*/
|
|
97
|
+
setBeforePrint(callback: OutputModuleScriptBeforeprint): void;
|
|
98
|
+
}
|