@vario-software/types 2026.39.3 → 2026.40.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/types",
3
- "version": "2026.39.3",
3
+ "version": "2026.40.0",
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
@@ -20221,6 +20221,23 @@ export interface webhooks {
20221
20221
  patch?: never;
20222
20222
  trace?: never;
20223
20223
  };
20224
+ "article(sales-channel-id=:s).delete": {
20225
+ parameters: {
20226
+ query?: never;
20227
+ header?: never;
20228
+ path?: never;
20229
+ cookie?: never;
20230
+ };
20231
+ get?: never;
20232
+ put?: never;
20233
+ /** Triggered when an article is deleted from a sales channel */
20234
+ post: operations["webhook_article(sales_channel_id=:s)_delete"];
20235
+ delete?: never;
20236
+ options?: never;
20237
+ head?: never;
20238
+ patch?: never;
20239
+ trace?: never;
20240
+ };
20224
20241
  "article(sales-channel-id=:s).update": {
20225
20242
  parameters: {
20226
20243
  query?: never;
@@ -33651,6 +33668,40 @@ export interface webhooks {
33651
33668
  patch?: never;
33652
33669
  trace?: never;
33653
33670
  };
33671
+ "voucher.create": {
33672
+ parameters: {
33673
+ query?: never;
33674
+ header?: never;
33675
+ path?: never;
33676
+ cookie?: never;
33677
+ };
33678
+ get?: never;
33679
+ put?: never;
33680
+ /** Triggered when a new voucher is created */
33681
+ post: operations["webhook_voucher_create"];
33682
+ delete?: never;
33683
+ options?: never;
33684
+ head?: never;
33685
+ patch?: never;
33686
+ trace?: never;
33687
+ };
33688
+ "voucher.update": {
33689
+ parameters: {
33690
+ query?: never;
33691
+ header?: never;
33692
+ path?: never;
33693
+ cookie?: never;
33694
+ };
33695
+ get?: never;
33696
+ put?: never;
33697
+ /** Triggered when an existing voucher is booked or changed */
33698
+ post: operations["webhook_voucher_update"];
33699
+ delete?: never;
33700
+ options?: never;
33701
+ head?: never;
33702
+ patch?: never;
33703
+ trace?: never;
33704
+ };
33654
33705
  }
33655
33706
  export interface components {
33656
33707
  schemas: {
@@ -34228,6 +34279,8 @@ export interface components {
34228
34279
  "common-cunit-ArithmeticQueryTermFragment": {
34229
34280
  /** @description Operations to be performed on the terms. */
34230
34281
  operations?: ("PLUS" | "MINUS" | "MULTIPLY" | "DIVIDE")[];
34282
+ /** @description Inner terms - either references to attributes or further nestings of the calculation. */
34283
+ terms?: components["schemas"]["common-cunit-ArithmeticQueryTermInner"][];
34231
34284
  };
34232
34285
  /** @description Inner terms - either references to attributes or further nestings of the calculation. */
34233
34286
  "common-cunit-ArithmeticQueryTermInner": {
@@ -35730,6 +35783,8 @@ export interface components {
35730
35783
  info?: components["schemas"]["core-api-MetaInfo"];
35731
35784
  /** @description Unit name. */
35732
35785
  name: string;
35786
+ /** @description Unit plural name. */
35787
+ pluralName?: string;
35733
35788
  /**
35734
35789
  * @description Unit type.
35735
35790
  * @enum {string}
@@ -38762,7 +38817,7 @@ export interface components {
38762
38817
  /** @description Version Identifier for this Object (for PUT) */
38763
38818
  version?: string;
38764
38819
  };
38765
- /** @description List of contacts */
38820
+ /** @description Default contacts */
38766
38821
  "erp-account-Contact": {
38767
38822
  custom?: components["schemas"]["unknownservice-unknownmodule-JsonNode"];
38768
38823
  /**
@@ -42108,6 +42163,7 @@ export interface components {
42108
42163
  netWeightUnit?: components["schemas"]["common-masterdata-UnitTypeReference"];
42109
42164
  /** @description Article number. */
42110
42165
  number?: string;
42166
+ onGoodsArrivalConvertIntoBundleArticleRef?: components["schemas"]["core-api-ApiObjectReference"];
42111
42167
  /** @description Shipper-specific information. */
42112
42168
  packageOptions?: string;
42113
42169
  /**
@@ -42748,7 +42804,7 @@ export interface components {
42748
42804
  * @description Kinds of entries in the DocumentProtocol.
42749
42805
  * @enum {string}
42750
42806
  */
42751
- type: "MANUAL" | "CREATED" | "SAVED" | "BEGIN_EDITING" | "CANCEL_EDITING" | "PUBLISHED" | "FROZEN" | "NEW_VERSION_STARTED" | "TRANSFERRED_TO_DELIVERY" | "TRANSFERRED_FROM_OTHER" | "TRANSFERRED_TO_OTHER" | "TRANSFER_CANCELLED" | "DELETED" | "IN_PICKING" | "RESET_FROM_PICKING" | "COPIED" | "ELECTRONIC_INVOICE_VALIDATED" | "FINANCE_BOOKING" | "CANCELLED" | "DISSOLVED" | "DOCUMENT_STATE_MANUALLY_CHANGED" | "DOCUMENT_MAINTAINED" | "COMPLETED_WITH_UNDER_DELIVERY" | "ORDER_REOPENED" | "REVERT_AFTER_WORKFLOW_FAILURE" | "ORDER_DELIVERY_APPROVED" | "ORDER_DELIVERY_UNAPPROVED" | "DOCUMENT_PRINTED" | "MANUAL_DUE_DATE_CHANGE" | "MANUAL_NEXT_DUE_DATE_CHANGE" | "DROP_SHIPPING_DELIVERY_APPROVED_FOR_INVOICE_DUE_TO_SUPPLIER_DELIVERY" | "DROP_SHIPPING_DELIVERY_UNAPPROVED_FOR_INVOICE_DUE_TO_DELETION_SUPPLIER_DELIVERY" | "FABRICATION_STARTED" | "FABRICATION_CANCELLED" | "FABRICATION_PAUSED" | "FABRICATION_RESUMED" | "FABRICATION_COMPLETED" | "FABRICATION_RESTARTED" | "FABRICATION_STARTED_QA" | "FABRICATION_CANCELLED_QA" | "FABRICATION_FINISHED_QA" | "FABRICATION_FINISHED";
42807
+ type: "MANUAL" | "CREATED" | "SAVED" | "BEGIN_EDITING" | "CANCEL_EDITING" | "PUBLISHED" | "FROZEN" | "NEW_VERSION_STARTED" | "TRANSFERRED_TO_DELIVERY" | "TRANSFERRED_FROM_OTHER" | "TRANSFERRED_TO_OTHER" | "TRANSFER_CANCELLED" | "DELETED" | "IN_PICKING" | "RESET_FROM_PICKING" | "COPIED" | "ELECTRONIC_INVOICE_VALIDATED" | "FINANCE_BOOKING" | "CANCELLED" | "DISSOLVED" | "DOCUMENT_STATE_MANUALLY_CHANGED" | "DOCUMENT_MAINTAINED" | "COMPLETED_WITH_UNDER_DELIVERY" | "ORDER_REMAINDER_CLOSED" | "ORDER_REOPENED" | "REVERT_AFTER_WORKFLOW_FAILURE" | "ORDER_DELIVERY_APPROVED" | "ORDER_DELIVERY_UNAPPROVED" | "DOCUMENT_PRINTED" | "MANUAL_DUE_DATE_CHANGE" | "MANUAL_NEXT_DUE_DATE_CHANGE" | "DROP_SHIPPING_DELIVERY_APPROVED_FOR_INVOICE_DUE_TO_SUPPLIER_DELIVERY" | "DROP_SHIPPING_DELIVERY_UNAPPROVED_FOR_INVOICE_DUE_TO_DELETION_SUPPLIER_DELIVERY" | "FABRICATION_STARTED" | "FABRICATION_CANCELLED" | "FABRICATION_PAUSED" | "FABRICATION_RESUMED" | "FABRICATION_COMPLETED" | "FABRICATION_RESTARTED" | "FABRICATION_STARTED_QA" | "FABRICATION_CANCELLED_QA" | "FABRICATION_FINISHED_QA" | "FABRICATION_FINISHED";
42752
42808
  /** @description User who created the entry. */
42753
42809
  readonly userName?: string;
42754
42810
  /** @description Version Identifier for this Object (for PUT) */
@@ -43335,6 +43391,8 @@ export interface components {
43335
43391
  markCompleted: boolean;
43336
43392
  /** @description Article name. */
43337
43393
  name?: string;
43394
+ /** @description Bundle article the received goods of this line are converted into (optional). */
43395
+ onGoodsArrivalConvertIntoBundleArticleId?: string;
43338
43396
  posDetail?: components["schemas"]["erp-document-DocumentLinePosDetail"];
43339
43397
  /**
43340
43398
  * Format: int32
@@ -102928,6 +102986,29 @@ export interface operations {
102928
102986
  };
102929
102987
  };
102930
102988
  };
102989
+ "webhook_article(sales_channel_id=:s)_delete": {
102990
+ parameters: {
102991
+ query?: never;
102992
+ header?: never;
102993
+ path?: never;
102994
+ cookie?: never;
102995
+ };
102996
+ /** @description Webhook payload */
102997
+ requestBody?: {
102998
+ content: {
102999
+ "application/json": components["schemas"]["erp-product-ArticleAppMessagePayload"];
103000
+ };
103001
+ };
103002
+ responses: {
103003
+ /** @description Webhook received */
103004
+ 200: {
103005
+ headers: {
103006
+ [name: string]: unknown;
103007
+ };
103008
+ content?: never;
103009
+ };
103010
+ };
103011
+ };
102931
103012
  "webhook_article(sales_channel_id=:s)_update": {
102932
103013
  parameters: {
102933
103014
  query?: never;
@@ -121098,4 +121179,50 @@ export interface operations {
121098
121179
  };
121099
121180
  };
121100
121181
  };
121182
+ webhook_voucher_create: {
121183
+ parameters: {
121184
+ query?: never;
121185
+ header?: never;
121186
+ path?: never;
121187
+ cookie?: never;
121188
+ };
121189
+ /** @description Webhook payload */
121190
+ requestBody?: {
121191
+ content: {
121192
+ "application/json": components["schemas"]["common-system-WebhookEntityPayload"];
121193
+ };
121194
+ };
121195
+ responses: {
121196
+ /** @description Webhook received */
121197
+ 200: {
121198
+ headers: {
121199
+ [name: string]: unknown;
121200
+ };
121201
+ content?: never;
121202
+ };
121203
+ };
121204
+ };
121205
+ webhook_voucher_update: {
121206
+ parameters: {
121207
+ query?: never;
121208
+ header?: never;
121209
+ path?: never;
121210
+ cookie?: never;
121211
+ };
121212
+ /** @description Webhook payload */
121213
+ requestBody?: {
121214
+ content: {
121215
+ "application/json": components["schemas"]["common-system-WebhookEntityPayload"];
121216
+ };
121217
+ };
121218
+ responses: {
121219
+ /** @description Webhook received */
121220
+ 200: {
121221
+ headers: {
121222
+ [name: string]: unknown;
121223
+ };
121224
+ content?: never;
121225
+ };
121226
+ };
121227
+ };
121101
121228
  }
@@ -502,21 +502,21 @@ export interface ArticleListingScriptingService {
502
502
  getNewDto(): ArticleListing;
503
503
 
504
504
  /**
505
- * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
505
+ * Liest alle Listings zu einem Artikel
506
506
  *
507
507
  * @param {number} articleId - ID des Artikels
508
- * @param {string} languageCode - Zu verwendende Sprache
509
508
  * @return {Array<ArticleListing>} Liste der Listings
510
509
  */
511
- readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
510
+ readAllByArticleId(articleId: number): Array<ArticleListing>;
512
511
 
513
512
  /**
514
- * Liest alle Listings zu einem Artikel
513
+ * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
515
514
  *
516
515
  * @param {number} articleId - ID des Artikels
516
+ * @param {string} languageCode - Zu verwendende Sprache
517
517
  * @return {Array<ArticleListing>} Liste der Listings
518
518
  */
519
- readAllByArticleId(articleId: number): Array<ArticleListing>;
519
+ readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
520
520
 
521
521
  /**
522
522
  * Liest eine Liste von DTOs
@@ -580,19 +580,19 @@ export interface ArticleScriptingService {
580
580
  *
581
581
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
582
582
  * @param {number} articleId - ID des zu druckenden Artikels
583
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
584
583
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
585
584
  */
586
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
585
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
587
586
 
588
587
  /**
589
588
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
590
589
  *
591
590
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
592
591
  * @param {number} articleId - ID des zu druckenden Artikels
592
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
593
593
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
594
594
  */
595
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
595
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
596
596
 
597
597
  /**
598
598
  * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
@@ -742,38 +742,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
742
742
  readById(id: number, languageCode: string): Article;
743
743
 
744
744
  /**
745
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
745
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
746
746
  *
747
747
  * @param {string} articleNumber - Eine Artikelnummer
748
- * @param {string} languageCode - Zu verwendende Sprache
749
748
  * @return {Article} Der gelesene Artikel
750
749
  */
751
- readByNumber(articleNumber: string, languageCode: string): Article;
750
+ readByNumber(articleNumber: string): Article;
752
751
 
753
752
  /**
754
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
753
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
755
754
  *
756
755
  * @param {string} articleNumber - Eine Artikelnummer
756
+ * @param {string} languageCode - Zu verwendende Sprache
757
757
  * @return {Article} Der gelesene Artikel
758
758
  */
759
- readByNumber(articleNumber: string): Article;
759
+ readByNumber(articleNumber: string, languageCode: string): Article;
760
760
 
761
761
  /**
762
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
762
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
763
763
  *
764
764
  * @param {Article} toStore - Der zu persistierende Artikel
765
+ * @param {string} languageCode -
765
766
  * @return {Article} Der persistierte Artikel
766
767
  */
767
- store(toStore: Article): Article;
768
+ store(toStore: Article, languageCode: string): Article;
768
769
 
769
770
  /**
770
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
771
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
771
772
  *
772
773
  * @param {Article} toStore - Der zu persistierende Artikel
773
- * @param {string} languageCode -
774
774
  * @return {Article} Der persistierte Artikel
775
775
  */
776
- store(toStore: Article, languageCode: string): Article;
776
+ store(toStore: Article): Article;
777
777
 
778
778
  /**
779
779
  * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -3072,14 +3072,14 @@ export interface ScriptingServiceList {
3072
3072
  crmTaskService: CrmTaskScriptingService;
3073
3073
 
3074
3074
  /**
3075
- * Service zur Verarbeitung von Accounts
3075
+ * Service zur Verarbeitung von Shelf-Documents
3076
3076
  */
3077
- accountService: AccountScriptingService;
3077
+ shelfDocumentService: ShelfDocumentScriptingService;
3078
3078
 
3079
3079
  /**
3080
- * Service zur Verarbeitung von Shelf-Documents
3080
+ * Service zur Verarbeitung von Accounts
3081
3081
  */
3082
- shelfDocumentService: ShelfDocumentScriptingService;
3082
+ accountService: AccountScriptingService;
3083
3083
 
3084
3084
  /**
3085
3085
  * Logging im Scripting
@@ -3385,24 +3385,24 @@ export interface ShelfDocumentScriptingService {
3385
3385
  deleteAttribution(attributionId: number): void;
3386
3386
 
3387
3387
  /**
3388
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3388
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3389
3389
  *
3390
3390
  * @param {string} url - Download-URL
3391
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3392
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3391
3393
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3392
3394
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3393
3395
  */
3394
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3396
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3395
3397
 
3396
3398
  /**
3397
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3399
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3398
3400
  *
3399
3401
  * @param {string} url - Download-URL
3400
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3401
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3402
3402
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3403
3403
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3404
3404
  */
3405
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3405
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3406
3406
 
3407
3407
  /**
3408
3408
  * Findet ein Dokumentenart über ihren Schlüssel