fusio-sdk 6.1.0 → 6.2.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/dist/index.js CHANGED
@@ -687,10 +687,157 @@ var BackendBackupTag = class extends TagAbstract6 {
687
687
  }
688
688
  };
689
689
 
690
- // src/BackendCategoryTag.ts
690
+ // src/BackendBundleTag.ts
691
691
  import { TagAbstract as TagAbstract7 } from "sdkgen-client";
692
692
  import { UnknownStatusCodeException as UnknownStatusCodeException7 } from "sdkgen-client";
693
- var BackendCategoryTag = class extends TagAbstract7 {
693
+ var BackendBundleTag = class extends TagAbstract7 {
694
+ /**
695
+ * Creates a new bundle
696
+ *
697
+ * @returns {Promise<CommonMessage>}
698
+ * @throws {CommonMessageException}
699
+ * @throws {ClientException}
700
+ */
701
+ async create(payload) {
702
+ const url = this.parser.url("/backend/bundle", {});
703
+ let request = {
704
+ url,
705
+ method: "POST",
706
+ headers: {
707
+ "Content-Type": "application/json"
708
+ },
709
+ params: this.parser.query({}, []),
710
+ data: payload
711
+ };
712
+ const response = await this.httpClient.request(request);
713
+ if (response.ok) {
714
+ return await response.json();
715
+ }
716
+ const statusCode = response.status;
717
+ if (statusCode >= 0 && statusCode <= 999) {
718
+ throw new CommonMessageException(await response.json());
719
+ }
720
+ throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
721
+ }
722
+ /**
723
+ * Deletes an existing bundle
724
+ *
725
+ * @returns {Promise<CommonMessage>}
726
+ * @throws {CommonMessageException}
727
+ * @throws {ClientException}
728
+ */
729
+ async delete(bundleId) {
730
+ const url = this.parser.url("/backend/bundle/$bundle_id<[0-9]+|^~>", {
731
+ "bundle_id": bundleId
732
+ });
733
+ let request = {
734
+ url,
735
+ method: "DELETE",
736
+ headers: {},
737
+ params: this.parser.query({}, [])
738
+ };
739
+ const response = await this.httpClient.request(request);
740
+ if (response.ok) {
741
+ return await response.json();
742
+ }
743
+ const statusCode = response.status;
744
+ if (statusCode >= 0 && statusCode <= 999) {
745
+ throw new CommonMessageException(await response.json());
746
+ }
747
+ throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
748
+ }
749
+ /**
750
+ * Returns a specific bundle
751
+ *
752
+ * @returns {Promise<BackendEvent>}
753
+ * @throws {CommonMessageException}
754
+ * @throws {ClientException}
755
+ */
756
+ async get(bundleId) {
757
+ const url = this.parser.url("/backend/bundle/$bundle_id<[0-9]+|^~>", {
758
+ "bundle_id": bundleId
759
+ });
760
+ let request = {
761
+ url,
762
+ method: "GET",
763
+ headers: {},
764
+ params: this.parser.query({}, [])
765
+ };
766
+ const response = await this.httpClient.request(request);
767
+ if (response.ok) {
768
+ return await response.json();
769
+ }
770
+ const statusCode = response.status;
771
+ if (statusCode >= 0 && statusCode <= 999) {
772
+ throw new CommonMessageException(await response.json());
773
+ }
774
+ throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
775
+ }
776
+ /**
777
+ * Returns a paginated list of bundles
778
+ *
779
+ * @returns {Promise<BackendBundleCollection>}
780
+ * @throws {CommonMessageException}
781
+ * @throws {ClientException}
782
+ */
783
+ async getAll(startIndex, count, search) {
784
+ const url = this.parser.url("/backend/bundle", {});
785
+ let request = {
786
+ url,
787
+ method: "GET",
788
+ headers: {},
789
+ params: this.parser.query({
790
+ "startIndex": startIndex,
791
+ "count": count,
792
+ "search": search
793
+ }, [])
794
+ };
795
+ const response = await this.httpClient.request(request);
796
+ if (response.ok) {
797
+ return await response.json();
798
+ }
799
+ const statusCode = response.status;
800
+ if (statusCode >= 0 && statusCode <= 999) {
801
+ throw new CommonMessageException(await response.json());
802
+ }
803
+ throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
804
+ }
805
+ /**
806
+ * Updates an existing bundle
807
+ *
808
+ * @returns {Promise<CommonMessage>}
809
+ * @throws {CommonMessageException}
810
+ * @throws {ClientException}
811
+ */
812
+ async update(bundleId, payload) {
813
+ const url = this.parser.url("/backend/bundle/$bundle_id<[0-9]+|^~>", {
814
+ "bundle_id": bundleId
815
+ });
816
+ let request = {
817
+ url,
818
+ method: "PUT",
819
+ headers: {
820
+ "Content-Type": "application/json"
821
+ },
822
+ params: this.parser.query({}, []),
823
+ data: payload
824
+ };
825
+ const response = await this.httpClient.request(request);
826
+ if (response.ok) {
827
+ return await response.json();
828
+ }
829
+ const statusCode = response.status;
830
+ if (statusCode >= 0 && statusCode <= 999) {
831
+ throw new CommonMessageException(await response.json());
832
+ }
833
+ throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
834
+ }
835
+ };
836
+
837
+ // src/BackendCategoryTag.ts
838
+ import { TagAbstract as TagAbstract8 } from "sdkgen-client";
839
+ import { UnknownStatusCodeException as UnknownStatusCodeException8 } from "sdkgen-client";
840
+ var BackendCategoryTag = class extends TagAbstract8 {
694
841
  /**
695
842
  * Creates a new category
696
843
  *
@@ -717,7 +864,7 @@ var BackendCategoryTag = class extends TagAbstract7 {
717
864
  if (statusCode >= 0 && statusCode <= 999) {
718
865
  throw new CommonMessageException(await response.json());
719
866
  }
720
- throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
867
+ throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
721
868
  }
722
869
  /**
723
870
  * Deletes an existing category
@@ -744,7 +891,7 @@ var BackendCategoryTag = class extends TagAbstract7 {
744
891
  if (statusCode >= 0 && statusCode <= 999) {
745
892
  throw new CommonMessageException(await response.json());
746
893
  }
747
- throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
894
+ throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
748
895
  }
749
896
  /**
750
897
  * Returns a specific category
@@ -771,7 +918,7 @@ var BackendCategoryTag = class extends TagAbstract7 {
771
918
  if (statusCode >= 0 && statusCode <= 999) {
772
919
  throw new CommonMessageException(await response.json());
773
920
  }
774
- throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
921
+ throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
775
922
  }
776
923
  /**
777
924
  * Returns a paginated list of categories
@@ -800,7 +947,7 @@ var BackendCategoryTag = class extends TagAbstract7 {
800
947
  if (statusCode >= 0 && statusCode <= 999) {
801
948
  throw new CommonMessageException(await response.json());
802
949
  }
803
- throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
950
+ throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
804
951
  }
805
952
  /**
806
953
  * Updates an existing category
@@ -830,14 +977,14 @@ var BackendCategoryTag = class extends TagAbstract7 {
830
977
  if (statusCode >= 0 && statusCode <= 999) {
831
978
  throw new CommonMessageException(await response.json());
832
979
  }
833
- throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
980
+ throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
834
981
  }
835
982
  };
836
983
 
837
984
  // src/BackendConfigTag.ts
838
- import { TagAbstract as TagAbstract8 } from "sdkgen-client";
839
- import { UnknownStatusCodeException as UnknownStatusCodeException8 } from "sdkgen-client";
840
- var BackendConfigTag = class extends TagAbstract8 {
985
+ import { TagAbstract as TagAbstract9 } from "sdkgen-client";
986
+ import { UnknownStatusCodeException as UnknownStatusCodeException9 } from "sdkgen-client";
987
+ var BackendConfigTag = class extends TagAbstract9 {
841
988
  /**
842
989
  * Returns a specific config
843
990
  *
@@ -863,7 +1010,7 @@ var BackendConfigTag = class extends TagAbstract8 {
863
1010
  if (statusCode >= 0 && statusCode <= 999) {
864
1011
  throw new CommonMessageException(await response.json());
865
1012
  }
866
- throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
1013
+ throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
867
1014
  }
868
1015
  /**
869
1016
  * Returns a paginated list of configuration values
@@ -892,7 +1039,7 @@ var BackendConfigTag = class extends TagAbstract8 {
892
1039
  if (statusCode >= 0 && statusCode <= 999) {
893
1040
  throw new CommonMessageException(await response.json());
894
1041
  }
895
- throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
1042
+ throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
896
1043
  }
897
1044
  /**
898
1045
  * Updates an existing config value
@@ -922,14 +1069,14 @@ var BackendConfigTag = class extends TagAbstract8 {
922
1069
  if (statusCode >= 0 && statusCode <= 999) {
923
1070
  throw new CommonMessageException(await response.json());
924
1071
  }
925
- throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
1072
+ throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
926
1073
  }
927
1074
  };
928
1075
 
929
1076
  // src/BackendConnectionDatabaseTag.ts
930
- import { TagAbstract as TagAbstract9 } from "sdkgen-client";
931
- import { UnknownStatusCodeException as UnknownStatusCodeException9 } from "sdkgen-client";
932
- var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1077
+ import { TagAbstract as TagAbstract10 } from "sdkgen-client";
1078
+ import { UnknownStatusCodeException as UnknownStatusCodeException10 } from "sdkgen-client";
1079
+ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
933
1080
  /**
934
1081
  * Creates a new row at a table on a database
935
1082
  *
@@ -959,7 +1106,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
959
1106
  if (statusCode >= 0 && statusCode <= 999) {
960
1107
  throw new CommonMessageException(await response.json());
961
1108
  }
962
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1109
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
963
1110
  }
964
1111
  /**
965
1112
  * Creates a new table on a database
@@ -989,7 +1136,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
989
1136
  if (statusCode >= 0 && statusCode <= 999) {
990
1137
  throw new CommonMessageException(await response.json());
991
1138
  }
992
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1139
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
993
1140
  }
994
1141
  /**
995
1142
  * Deletes an existing row at a table on a database
@@ -1018,7 +1165,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1018
1165
  if (statusCode >= 0 && statusCode <= 999) {
1019
1166
  throw new CommonMessageException(await response.json());
1020
1167
  }
1021
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1168
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1022
1169
  }
1023
1170
  /**
1024
1171
  * Deletes an existing table on a database
@@ -1046,7 +1193,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1046
1193
  if (statusCode >= 0 && statusCode <= 999) {
1047
1194
  throw new CommonMessageException(await response.json());
1048
1195
  }
1049
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1196
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1050
1197
  }
1051
1198
  /**
1052
1199
  * Returns a specific row at a table on a database
@@ -1075,7 +1222,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1075
1222
  if (statusCode >= 0 && statusCode <= 999) {
1076
1223
  throw new CommonMessageException(await response.json());
1077
1224
  }
1078
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1225
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1079
1226
  }
1080
1227
  /**
1081
1228
  * Returns paginated rows at a table on a database
@@ -1112,7 +1259,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1112
1259
  if (statusCode >= 0 && statusCode <= 999) {
1113
1260
  throw new CommonMessageException(await response.json());
1114
1261
  }
1115
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1262
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1116
1263
  }
1117
1264
  /**
1118
1265
  * Returns the schema of a specific table on a database
@@ -1140,7 +1287,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1140
1287
  if (statusCode >= 0 && statusCode <= 999) {
1141
1288
  throw new CommonMessageException(await response.json());
1142
1289
  }
1143
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1290
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1144
1291
  }
1145
1292
  /**
1146
1293
  * Returns all available tables on a database
@@ -1170,7 +1317,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1170
1317
  if (statusCode >= 0 && statusCode <= 999) {
1171
1318
  throw new CommonMessageException(await response.json());
1172
1319
  }
1173
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1320
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1174
1321
  }
1175
1322
  /**
1176
1323
  * Updates an existing row at a table on a database
@@ -1202,7 +1349,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1202
1349
  if (statusCode >= 0 && statusCode <= 999) {
1203
1350
  throw new CommonMessageException(await response.json());
1204
1351
  }
1205
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1352
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1206
1353
  }
1207
1354
  /**
1208
1355
  * Updates an existing table on a database
@@ -1233,14 +1380,14 @@ var BackendConnectionDatabaseTag = class extends TagAbstract9 {
1233
1380
  if (statusCode >= 0 && statusCode <= 999) {
1234
1381
  throw new CommonMessageException(await response.json());
1235
1382
  }
1236
- throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
1383
+ throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1237
1384
  }
1238
1385
  };
1239
1386
 
1240
1387
  // src/BackendConnectionFilesystemTag.ts
1241
- import { TagAbstract as TagAbstract10 } from "sdkgen-client";
1242
- import { UnknownStatusCodeException as UnknownStatusCodeException10 } from "sdkgen-client";
1243
- var BackendConnectionFilesystemTag = class extends TagAbstract10 {
1388
+ import { TagAbstract as TagAbstract11 } from "sdkgen-client";
1389
+ import { UnknownStatusCodeException as UnknownStatusCodeException11 } from "sdkgen-client";
1390
+ var BackendConnectionFilesystemTag = class extends TagAbstract11 {
1244
1391
  /**
1245
1392
  * Uploads one or more files on the filesystem connection
1246
1393
  *
@@ -1267,7 +1414,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract10 {
1267
1414
  if (statusCode >= 0 && statusCode <= 999) {
1268
1415
  throw new CommonMessageException(await response.json());
1269
1416
  }
1270
- throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1417
+ throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
1271
1418
  }
1272
1419
  /**
1273
1420
  * Deletes an existing file on the filesystem connection
@@ -1295,7 +1442,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract10 {
1295
1442
  if (statusCode >= 0 && statusCode <= 999) {
1296
1443
  throw new CommonMessageException(await response.json());
1297
1444
  }
1298
- throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1445
+ throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
1299
1446
  }
1300
1447
  /**
1301
1448
  * Returns the content of the provided file id on the filesystem connection
@@ -1325,7 +1472,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract10 {
1325
1472
  if (statusCode >= 0 && statusCode <= 999) {
1326
1473
  throw new CommonMessageException(await response.json());
1327
1474
  }
1328
- throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1475
+ throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
1329
1476
  }
1330
1477
  /**
1331
1478
  * Returns all available files on the filesystem connection
@@ -1355,7 +1502,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract10 {
1355
1502
  if (statusCode >= 0 && statusCode <= 999) {
1356
1503
  throw new CommonMessageException(await response.json());
1357
1504
  }
1358
- throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1505
+ throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
1359
1506
  }
1360
1507
  /**
1361
1508
  * Updates an existing file on the filesystem connection
@@ -1384,14 +1531,14 @@ var BackendConnectionFilesystemTag = class extends TagAbstract10 {
1384
1531
  if (statusCode >= 0 && statusCode <= 999) {
1385
1532
  throw new CommonMessageException(await response.json());
1386
1533
  }
1387
- throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
1534
+ throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
1388
1535
  }
1389
1536
  };
1390
1537
 
1391
1538
  // src/BackendConnectionHttpTag.ts
1392
- import { TagAbstract as TagAbstract11 } from "sdkgen-client";
1393
- import { UnknownStatusCodeException as UnknownStatusCodeException11 } from "sdkgen-client";
1394
- var BackendConnectionHttpTag = class extends TagAbstract11 {
1539
+ import { TagAbstract as TagAbstract12 } from "sdkgen-client";
1540
+ import { UnknownStatusCodeException as UnknownStatusCodeException12 } from "sdkgen-client";
1541
+ var BackendConnectionHttpTag = class extends TagAbstract12 {
1395
1542
  /**
1396
1543
  * Sends an arbitrary HTTP request to the connection
1397
1544
  *
@@ -1420,14 +1567,14 @@ var BackendConnectionHttpTag = class extends TagAbstract11 {
1420
1567
  if (statusCode >= 0 && statusCode <= 999) {
1421
1568
  throw new CommonMessageException(await response.json());
1422
1569
  }
1423
- throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
1570
+ throw new UnknownStatusCodeException12("The server returned an unknown status code: " + statusCode);
1424
1571
  }
1425
1572
  };
1426
1573
 
1427
1574
  // src/BackendConnectionSdkTag.ts
1428
- import { TagAbstract as TagAbstract12 } from "sdkgen-client";
1429
- import { UnknownStatusCodeException as UnknownStatusCodeException12 } from "sdkgen-client";
1430
- var BackendConnectionSdkTag = class extends TagAbstract12 {
1575
+ import { TagAbstract as TagAbstract13 } from "sdkgen-client";
1576
+ import { UnknownStatusCodeException as UnknownStatusCodeException13 } from "sdkgen-client";
1577
+ var BackendConnectionSdkTag = class extends TagAbstract13 {
1431
1578
  /**
1432
1579
  * Returns the SDK specification
1433
1580
  *
@@ -1453,14 +1600,14 @@ var BackendConnectionSdkTag = class extends TagAbstract12 {
1453
1600
  if (statusCode >= 0 && statusCode <= 999) {
1454
1601
  throw new CommonMessageException(await response.json());
1455
1602
  }
1456
- throw new UnknownStatusCodeException12("The server returned an unknown status code: " + statusCode);
1603
+ throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1457
1604
  }
1458
1605
  };
1459
1606
 
1460
1607
  // src/BackendConnectionTag.ts
1461
- import { TagAbstract as TagAbstract13 } from "sdkgen-client";
1462
- import { UnknownStatusCodeException as UnknownStatusCodeException13 } from "sdkgen-client";
1463
- var BackendConnectionTag = class extends TagAbstract13 {
1608
+ import { TagAbstract as TagAbstract14 } from "sdkgen-client";
1609
+ import { UnknownStatusCodeException as UnknownStatusCodeException14 } from "sdkgen-client";
1610
+ var BackendConnectionTag = class extends TagAbstract14 {
1464
1611
  database() {
1465
1612
  return new BackendConnectionDatabaseTag(
1466
1613
  this.httpClient,
@@ -1511,7 +1658,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1511
1658
  if (statusCode >= 0 && statusCode <= 999) {
1512
1659
  throw new CommonMessageException(await response.json());
1513
1660
  }
1514
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1661
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1515
1662
  }
1516
1663
  /**
1517
1664
  * Deletes an existing connection
@@ -1538,7 +1685,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1538
1685
  if (statusCode >= 0 && statusCode <= 999) {
1539
1686
  throw new CommonMessageException(await response.json());
1540
1687
  }
1541
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1688
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1542
1689
  }
1543
1690
  /**
1544
1691
  * Returns a specific connection
@@ -1565,7 +1712,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1565
1712
  if (statusCode >= 0 && statusCode <= 999) {
1566
1713
  throw new CommonMessageException(await response.json());
1567
1714
  }
1568
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1715
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1569
1716
  }
1570
1717
  /**
1571
1718
  * Returns a paginated list of connections
@@ -1595,7 +1742,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1595
1742
  if (statusCode >= 0 && statusCode <= 999) {
1596
1743
  throw new CommonMessageException(await response.json());
1597
1744
  }
1598
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1745
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1599
1746
  }
1600
1747
  /**
1601
1748
  * Returns all available connection classes
@@ -1620,7 +1767,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1620
1767
  if (statusCode >= 0 && statusCode <= 999) {
1621
1768
  throw new CommonMessageException(await response.json());
1622
1769
  }
1623
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1770
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1624
1771
  }
1625
1772
  /**
1626
1773
  * Returns the connection config form
@@ -1647,7 +1794,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1647
1794
  if (statusCode >= 0 && statusCode <= 999) {
1648
1795
  throw new CommonMessageException(await response.json());
1649
1796
  }
1650
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1797
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1651
1798
  }
1652
1799
  /**
1653
1800
  * Returns a redirect url to start the OAuth2 authorization flow for the given connection
@@ -1674,7 +1821,7 @@ var BackendConnectionTag = class extends TagAbstract13 {
1674
1821
  if (statusCode >= 0 && statusCode <= 999) {
1675
1822
  throw new CommonMessageException(await response.json());
1676
1823
  }
1677
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1824
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1678
1825
  }
1679
1826
  /**
1680
1827
  * Updates an existing connection
@@ -1704,14 +1851,14 @@ var BackendConnectionTag = class extends TagAbstract13 {
1704
1851
  if (statusCode >= 0 && statusCode <= 999) {
1705
1852
  throw new CommonMessageException(await response.json());
1706
1853
  }
1707
- throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
1854
+ throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1708
1855
  }
1709
1856
  };
1710
1857
 
1711
1858
  // src/BackendCronjobTag.ts
1712
- import { TagAbstract as TagAbstract14 } from "sdkgen-client";
1713
- import { UnknownStatusCodeException as UnknownStatusCodeException14 } from "sdkgen-client";
1714
- var BackendCronjobTag = class extends TagAbstract14 {
1859
+ import { TagAbstract as TagAbstract15 } from "sdkgen-client";
1860
+ import { UnknownStatusCodeException as UnknownStatusCodeException15 } from "sdkgen-client";
1861
+ var BackendCronjobTag = class extends TagAbstract15 {
1715
1862
  /**
1716
1863
  * Creates a new cronjob
1717
1864
  *
@@ -1738,7 +1885,7 @@ var BackendCronjobTag = class extends TagAbstract14 {
1738
1885
  if (statusCode >= 0 && statusCode <= 999) {
1739
1886
  throw new CommonMessageException(await response.json());
1740
1887
  }
1741
- throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1888
+ throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
1742
1889
  }
1743
1890
  /**
1744
1891
  * Deletes an existing cronjob
@@ -1765,7 +1912,7 @@ var BackendCronjobTag = class extends TagAbstract14 {
1765
1912
  if (statusCode >= 0 && statusCode <= 999) {
1766
1913
  throw new CommonMessageException(await response.json());
1767
1914
  }
1768
- throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1915
+ throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
1769
1916
  }
1770
1917
  /**
1771
1918
  * Returns a specific cronjob
@@ -1792,7 +1939,7 @@ var BackendCronjobTag = class extends TagAbstract14 {
1792
1939
  if (statusCode >= 0 && statusCode <= 999) {
1793
1940
  throw new CommonMessageException(await response.json());
1794
1941
  }
1795
- throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1942
+ throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
1796
1943
  }
1797
1944
  /**
1798
1945
  * Returns a paginated list of cronjobs
@@ -1821,7 +1968,7 @@ var BackendCronjobTag = class extends TagAbstract14 {
1821
1968
  if (statusCode >= 0 && statusCode <= 999) {
1822
1969
  throw new CommonMessageException(await response.json());
1823
1970
  }
1824
- throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
1971
+ throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
1825
1972
  }
1826
1973
  /**
1827
1974
  * Updates an existing cronjob
@@ -1851,14 +1998,14 @@ var BackendCronjobTag = class extends TagAbstract14 {
1851
1998
  if (statusCode >= 0 && statusCode <= 999) {
1852
1999
  throw new CommonMessageException(await response.json());
1853
2000
  }
1854
- throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
2001
+ throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
1855
2002
  }
1856
2003
  };
1857
2004
 
1858
2005
  // src/BackendDashboardTag.ts
1859
- import { TagAbstract as TagAbstract15 } from "sdkgen-client";
1860
- import { UnknownStatusCodeException as UnknownStatusCodeException15 } from "sdkgen-client";
1861
- var BackendDashboardTag = class extends TagAbstract15 {
2006
+ import { TagAbstract as TagAbstract16 } from "sdkgen-client";
2007
+ import { UnknownStatusCodeException as UnknownStatusCodeException16 } from "sdkgen-client";
2008
+ var BackendDashboardTag = class extends TagAbstract16 {
1862
2009
  /**
1863
2010
  * Returns all available dashboard widgets
1864
2011
  *
@@ -1882,14 +2029,14 @@ var BackendDashboardTag = class extends TagAbstract15 {
1882
2029
  if (statusCode >= 0 && statusCode <= 999) {
1883
2030
  throw new CommonMessageException(await response.json());
1884
2031
  }
1885
- throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
2032
+ throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
1886
2033
  }
1887
2034
  };
1888
2035
 
1889
2036
  // src/BackendEventTag.ts
1890
- import { TagAbstract as TagAbstract16 } from "sdkgen-client";
1891
- import { UnknownStatusCodeException as UnknownStatusCodeException16 } from "sdkgen-client";
1892
- var BackendEventTag = class extends TagAbstract16 {
2037
+ import { TagAbstract as TagAbstract17 } from "sdkgen-client";
2038
+ import { UnknownStatusCodeException as UnknownStatusCodeException17 } from "sdkgen-client";
2039
+ var BackendEventTag = class extends TagAbstract17 {
1893
2040
  /**
1894
2041
  * Creates a new event
1895
2042
  *
@@ -1916,7 +2063,7 @@ var BackendEventTag = class extends TagAbstract16 {
1916
2063
  if (statusCode >= 0 && statusCode <= 999) {
1917
2064
  throw new CommonMessageException(await response.json());
1918
2065
  }
1919
- throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
2066
+ throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
1920
2067
  }
1921
2068
  /**
1922
2069
  * Deletes an existing event
@@ -1943,7 +2090,7 @@ var BackendEventTag = class extends TagAbstract16 {
1943
2090
  if (statusCode >= 0 && statusCode <= 999) {
1944
2091
  throw new CommonMessageException(await response.json());
1945
2092
  }
1946
- throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
2093
+ throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
1947
2094
  }
1948
2095
  /**
1949
2096
  * Returns a specific event
@@ -1970,7 +2117,7 @@ var BackendEventTag = class extends TagAbstract16 {
1970
2117
  if (statusCode >= 0 && statusCode <= 999) {
1971
2118
  throw new CommonMessageException(await response.json());
1972
2119
  }
1973
- throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
2120
+ throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
1974
2121
  }
1975
2122
  /**
1976
2123
  * Returns a paginated list of events
@@ -1999,7 +2146,7 @@ var BackendEventTag = class extends TagAbstract16 {
1999
2146
  if (statusCode >= 0 && statusCode <= 999) {
2000
2147
  throw new CommonMessageException(await response.json());
2001
2148
  }
2002
- throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
2149
+ throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2003
2150
  }
2004
2151
  /**
2005
2152
  * Updates an existing event
@@ -2029,14 +2176,14 @@ var BackendEventTag = class extends TagAbstract16 {
2029
2176
  if (statusCode >= 0 && statusCode <= 999) {
2030
2177
  throw new CommonMessageException(await response.json());
2031
2178
  }
2032
- throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
2179
+ throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2033
2180
  }
2034
2181
  };
2035
2182
 
2036
2183
  // src/BackendFirewallTag.ts
2037
- import { TagAbstract as TagAbstract17 } from "sdkgen-client";
2038
- import { UnknownStatusCodeException as UnknownStatusCodeException17 } from "sdkgen-client";
2039
- var BackendFirewallTag = class extends TagAbstract17 {
2184
+ import { TagAbstract as TagAbstract18 } from "sdkgen-client";
2185
+ import { UnknownStatusCodeException as UnknownStatusCodeException18 } from "sdkgen-client";
2186
+ var BackendFirewallTag = class extends TagAbstract18 {
2040
2187
  /**
2041
2188
  * Creates a new firewall rule
2042
2189
  *
@@ -2063,7 +2210,7 @@ var BackendFirewallTag = class extends TagAbstract17 {
2063
2210
  if (statusCode >= 0 && statusCode <= 999) {
2064
2211
  throw new CommonMessageException(await response.json());
2065
2212
  }
2066
- throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2213
+ throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2067
2214
  }
2068
2215
  /**
2069
2216
  * Deletes an existing firewall rule
@@ -2090,7 +2237,7 @@ var BackendFirewallTag = class extends TagAbstract17 {
2090
2237
  if (statusCode >= 0 && statusCode <= 999) {
2091
2238
  throw new CommonMessageException(await response.json());
2092
2239
  }
2093
- throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2240
+ throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2094
2241
  }
2095
2242
  /**
2096
2243
  * Returns a specific firewall rule
@@ -2117,7 +2264,7 @@ var BackendFirewallTag = class extends TagAbstract17 {
2117
2264
  if (statusCode >= 0 && statusCode <= 999) {
2118
2265
  throw new CommonMessageException(await response.json());
2119
2266
  }
2120
- throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2267
+ throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2121
2268
  }
2122
2269
  /**
2123
2270
  * Returns a paginated list of firewall rules
@@ -2146,7 +2293,7 @@ var BackendFirewallTag = class extends TagAbstract17 {
2146
2293
  if (statusCode >= 0 && statusCode <= 999) {
2147
2294
  throw new CommonMessageException(await response.json());
2148
2295
  }
2149
- throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2296
+ throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2150
2297
  }
2151
2298
  /**
2152
2299
  * Updates an existing firewall rule
@@ -2176,14 +2323,14 @@ var BackendFirewallTag = class extends TagAbstract17 {
2176
2323
  if (statusCode >= 0 && statusCode <= 999) {
2177
2324
  throw new CommonMessageException(await response.json());
2178
2325
  }
2179
- throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
2326
+ throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2180
2327
  }
2181
2328
  };
2182
2329
 
2183
2330
  // src/BackendFormTag.ts
2184
- import { TagAbstract as TagAbstract18 } from "sdkgen-client";
2185
- import { UnknownStatusCodeException as UnknownStatusCodeException18 } from "sdkgen-client";
2186
- var BackendFormTag = class extends TagAbstract18 {
2331
+ import { TagAbstract as TagAbstract19 } from "sdkgen-client";
2332
+ import { UnknownStatusCodeException as UnknownStatusCodeException19 } from "sdkgen-client";
2333
+ var BackendFormTag = class extends TagAbstract19 {
2187
2334
  /**
2188
2335
  * Creates a new form
2189
2336
  *
@@ -2210,7 +2357,7 @@ var BackendFormTag = class extends TagAbstract18 {
2210
2357
  if (statusCode >= 0 && statusCode <= 999) {
2211
2358
  throw new CommonMessageException(await response.json());
2212
2359
  }
2213
- throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2360
+ throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2214
2361
  }
2215
2362
  /**
2216
2363
  * Deletes an existing form
@@ -2237,7 +2384,7 @@ var BackendFormTag = class extends TagAbstract18 {
2237
2384
  if (statusCode >= 0 && statusCode <= 999) {
2238
2385
  throw new CommonMessageException(await response.json());
2239
2386
  }
2240
- throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2387
+ throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2241
2388
  }
2242
2389
  /**
2243
2390
  * Returns a specific form
@@ -2264,7 +2411,7 @@ var BackendFormTag = class extends TagAbstract18 {
2264
2411
  if (statusCode >= 0 && statusCode <= 999) {
2265
2412
  throw new CommonMessageException(await response.json());
2266
2413
  }
2267
- throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2414
+ throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2268
2415
  }
2269
2416
  /**
2270
2417
  * Returns a paginated list of forms
@@ -2293,7 +2440,7 @@ var BackendFormTag = class extends TagAbstract18 {
2293
2440
  if (statusCode >= 0 && statusCode <= 999) {
2294
2441
  throw new CommonMessageException(await response.json());
2295
2442
  }
2296
- throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2443
+ throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2297
2444
  }
2298
2445
  /**
2299
2446
  * Updates an existing form
@@ -2323,14 +2470,14 @@ var BackendFormTag = class extends TagAbstract18 {
2323
2470
  if (statusCode >= 0 && statusCode <= 999) {
2324
2471
  throw new CommonMessageException(await response.json());
2325
2472
  }
2326
- throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
2473
+ throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2327
2474
  }
2328
2475
  };
2329
2476
 
2330
2477
  // src/BackendGeneratorTag.ts
2331
- import { TagAbstract as TagAbstract19 } from "sdkgen-client";
2332
- import { UnknownStatusCodeException as UnknownStatusCodeException19 } from "sdkgen-client";
2333
- var BackendGeneratorTag = class extends TagAbstract19 {
2478
+ import { TagAbstract as TagAbstract20 } from "sdkgen-client";
2479
+ import { UnknownStatusCodeException as UnknownStatusCodeException20 } from "sdkgen-client";
2480
+ var BackendGeneratorTag = class extends TagAbstract20 {
2334
2481
  /**
2335
2482
  * Executes a generator with the provided config
2336
2483
  *
@@ -2359,7 +2506,7 @@ var BackendGeneratorTag = class extends TagAbstract19 {
2359
2506
  if (statusCode >= 0 && statusCode <= 999) {
2360
2507
  throw new CommonMessageException(await response.json());
2361
2508
  }
2362
- throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2509
+ throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2363
2510
  }
2364
2511
  /**
2365
2512
  * Generates a changelog of all potential changes if you execute this generator with the provided config
@@ -2389,7 +2536,7 @@ var BackendGeneratorTag = class extends TagAbstract19 {
2389
2536
  if (statusCode >= 0 && statusCode <= 999) {
2390
2537
  throw new CommonMessageException(await response.json());
2391
2538
  }
2392
- throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2539
+ throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2393
2540
  }
2394
2541
  /**
2395
2542
  * Returns all available generator classes
@@ -2414,7 +2561,7 @@ var BackendGeneratorTag = class extends TagAbstract19 {
2414
2561
  if (statusCode >= 0 && statusCode <= 999) {
2415
2562
  throw new CommonMessageException(await response.json());
2416
2563
  }
2417
- throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2564
+ throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2418
2565
  }
2419
2566
  /**
2420
2567
  * Returns the generator config form
@@ -2441,14 +2588,14 @@ var BackendGeneratorTag = class extends TagAbstract19 {
2441
2588
  if (statusCode >= 0 && statusCode <= 999) {
2442
2589
  throw new CommonMessageException(await response.json());
2443
2590
  }
2444
- throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
2591
+ throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2445
2592
  }
2446
2593
  };
2447
2594
 
2448
2595
  // src/BackendIdentityTag.ts
2449
- import { TagAbstract as TagAbstract20 } from "sdkgen-client";
2450
- import { UnknownStatusCodeException as UnknownStatusCodeException20 } from "sdkgen-client";
2451
- var BackendIdentityTag = class extends TagAbstract20 {
2596
+ import { TagAbstract as TagAbstract21 } from "sdkgen-client";
2597
+ import { UnknownStatusCodeException as UnknownStatusCodeException21 } from "sdkgen-client";
2598
+ var BackendIdentityTag = class extends TagAbstract21 {
2452
2599
  /**
2453
2600
  * Creates a new identity
2454
2601
  *
@@ -2475,7 +2622,7 @@ var BackendIdentityTag = class extends TagAbstract20 {
2475
2622
  if (statusCode >= 0 && statusCode <= 999) {
2476
2623
  throw new CommonMessageException(await response.json());
2477
2624
  }
2478
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2625
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2479
2626
  }
2480
2627
  /**
2481
2628
  * Deletes an existing identity
@@ -2502,7 +2649,7 @@ var BackendIdentityTag = class extends TagAbstract20 {
2502
2649
  if (statusCode >= 0 && statusCode <= 999) {
2503
2650
  throw new CommonMessageException(await response.json());
2504
2651
  }
2505
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2652
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2506
2653
  }
2507
2654
  /**
2508
2655
  * Returns a specific identity
@@ -2529,7 +2676,7 @@ var BackendIdentityTag = class extends TagAbstract20 {
2529
2676
  if (statusCode >= 0 && statusCode <= 999) {
2530
2677
  throw new CommonMessageException(await response.json());
2531
2678
  }
2532
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2679
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2533
2680
  }
2534
2681
  /**
2535
2682
  * Returns a paginated list of identities
@@ -2558,7 +2705,7 @@ var BackendIdentityTag = class extends TagAbstract20 {
2558
2705
  if (statusCode >= 0 && statusCode <= 999) {
2559
2706
  throw new CommonMessageException(await response.json());
2560
2707
  }
2561
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2708
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2562
2709
  }
2563
2710
  /**
2564
2711
  * Returns all available identity classes
@@ -2583,7 +2730,7 @@ var BackendIdentityTag = class extends TagAbstract20 {
2583
2730
  if (statusCode >= 0 && statusCode <= 999) {
2584
2731
  throw new CommonMessageException(await response.json());
2585
2732
  }
2586
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2733
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2587
2734
  }
2588
2735
  /**
2589
2736
  * Returns the identity config form
@@ -2610,7 +2757,7 @@ var BackendIdentityTag = class extends TagAbstract20 {
2610
2757
  if (statusCode >= 0 && statusCode <= 999) {
2611
2758
  throw new CommonMessageException(await response.json());
2612
2759
  }
2613
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2760
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2614
2761
  }
2615
2762
  /**
2616
2763
  * Updates an existing identity
@@ -2640,14 +2787,14 @@ var BackendIdentityTag = class extends TagAbstract20 {
2640
2787
  if (statusCode >= 0 && statusCode <= 999) {
2641
2788
  throw new CommonMessageException(await response.json());
2642
2789
  }
2643
- throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
2790
+ throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2644
2791
  }
2645
2792
  };
2646
2793
 
2647
2794
  // src/BackendLogTag.ts
2648
- import { TagAbstract as TagAbstract21 } from "sdkgen-client";
2649
- import { UnknownStatusCodeException as UnknownStatusCodeException21 } from "sdkgen-client";
2650
- var BackendLogTag = class extends TagAbstract21 {
2795
+ import { TagAbstract as TagAbstract22 } from "sdkgen-client";
2796
+ import { UnknownStatusCodeException as UnknownStatusCodeException22 } from "sdkgen-client";
2797
+ var BackendLogTag = class extends TagAbstract22 {
2651
2798
  /**
2652
2799
  * Returns a specific log
2653
2800
  *
@@ -2673,7 +2820,7 @@ var BackendLogTag = class extends TagAbstract21 {
2673
2820
  if (statusCode >= 0 && statusCode <= 999) {
2674
2821
  throw new CommonMessageException(await response.json());
2675
2822
  }
2676
- throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2823
+ throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
2677
2824
  }
2678
2825
  /**
2679
2826
  * Returns a paginated list of logs
@@ -2713,7 +2860,7 @@ var BackendLogTag = class extends TagAbstract21 {
2713
2860
  if (statusCode >= 0 && statusCode <= 999) {
2714
2861
  throw new CommonMessageException(await response.json());
2715
2862
  }
2716
- throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2863
+ throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
2717
2864
  }
2718
2865
  /**
2719
2866
  * Returns a paginated list of log errors
@@ -2742,7 +2889,7 @@ var BackendLogTag = class extends TagAbstract21 {
2742
2889
  if (statusCode >= 0 && statusCode <= 999) {
2743
2890
  throw new CommonMessageException(await response.json());
2744
2891
  }
2745
- throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2892
+ throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
2746
2893
  }
2747
2894
  /**
2748
2895
  * Returns a specific error
@@ -2769,14 +2916,14 @@ var BackendLogTag = class extends TagAbstract21 {
2769
2916
  if (statusCode >= 0 && statusCode <= 999) {
2770
2917
  throw new CommonMessageException(await response.json());
2771
2918
  }
2772
- throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
2919
+ throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
2773
2920
  }
2774
2921
  };
2775
2922
 
2776
2923
  // src/BackendMarketplaceActionTag.ts
2777
- import { TagAbstract as TagAbstract22 } from "sdkgen-client";
2778
- import { UnknownStatusCodeException as UnknownStatusCodeException22 } from "sdkgen-client";
2779
- var BackendMarketplaceActionTag = class extends TagAbstract22 {
2924
+ import { TagAbstract as TagAbstract23 } from "sdkgen-client";
2925
+ import { UnknownStatusCodeException as UnknownStatusCodeException23 } from "sdkgen-client";
2926
+ var BackendMarketplaceActionTag = class extends TagAbstract23 {
2780
2927
  /**
2781
2928
  * Returns a specific marketplace action
2782
2929
  *
@@ -2803,7 +2950,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract22 {
2803
2950
  if (statusCode >= 0 && statusCode <= 999) {
2804
2951
  throw new CommonMessageException(await response.json());
2805
2952
  }
2806
- throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
2953
+ throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
2807
2954
  }
2808
2955
  /**
2809
2956
  * Returns a paginated list of marketplace actions
@@ -2831,7 +2978,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract22 {
2831
2978
  if (statusCode >= 0 && statusCode <= 999) {
2832
2979
  throw new CommonMessageException(await response.json());
2833
2980
  }
2834
- throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
2981
+ throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
2835
2982
  }
2836
2983
  /**
2837
2984
  * Installs an action from the marketplace
@@ -2859,7 +3006,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract22 {
2859
3006
  if (statusCode >= 0 && statusCode <= 999) {
2860
3007
  throw new CommonMessageException(await response.json());
2861
3008
  }
2862
- throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
3009
+ throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
2863
3010
  }
2864
3011
  /**
2865
3012
  * Upgrades an action from the marketplace
@@ -2887,14 +3034,14 @@ var BackendMarketplaceActionTag = class extends TagAbstract22 {
2887
3034
  if (statusCode >= 0 && statusCode <= 999) {
2888
3035
  throw new CommonMessageException(await response.json());
2889
3036
  }
2890
- throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
3037
+ throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
2891
3038
  }
2892
3039
  };
2893
3040
 
2894
3041
  // src/BackendMarketplaceAppTag.ts
2895
- import { TagAbstract as TagAbstract23 } from "sdkgen-client";
2896
- import { UnknownStatusCodeException as UnknownStatusCodeException23 } from "sdkgen-client";
2897
- var BackendMarketplaceAppTag = class extends TagAbstract23 {
3042
+ import { TagAbstract as TagAbstract24 } from "sdkgen-client";
3043
+ import { UnknownStatusCodeException as UnknownStatusCodeException24 } from "sdkgen-client";
3044
+ var BackendMarketplaceAppTag = class extends TagAbstract24 {
2898
3045
  /**
2899
3046
  * Returns a specific marketplace app
2900
3047
  *
@@ -2921,7 +3068,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract23 {
2921
3068
  if (statusCode >= 0 && statusCode <= 999) {
2922
3069
  throw new CommonMessageException(await response.json());
2923
3070
  }
2924
- throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
3071
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
2925
3072
  }
2926
3073
  /**
2927
3074
  * Returns a paginated list of marketplace apps
@@ -2949,7 +3096,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract23 {
2949
3096
  if (statusCode >= 0 && statusCode <= 999) {
2950
3097
  throw new CommonMessageException(await response.json());
2951
3098
  }
2952
- throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
3099
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
2953
3100
  }
2954
3101
  /**
2955
3102
  * Installs an app from the marketplace
@@ -2977,7 +3124,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract23 {
2977
3124
  if (statusCode >= 0 && statusCode <= 999) {
2978
3125
  throw new CommonMessageException(await response.json());
2979
3126
  }
2980
- throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
3127
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
2981
3128
  }
2982
3129
  /**
2983
3130
  * Upgrades an app from the marketplace
@@ -3005,13 +3152,131 @@ var BackendMarketplaceAppTag = class extends TagAbstract23 {
3005
3152
  if (statusCode >= 0 && statusCode <= 999) {
3006
3153
  throw new CommonMessageException(await response.json());
3007
3154
  }
3008
- throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
3155
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3156
+ }
3157
+ };
3158
+
3159
+ // src/BackendMarketplaceBundleTag.ts
3160
+ import { TagAbstract as TagAbstract25 } from "sdkgen-client";
3161
+ import { UnknownStatusCodeException as UnknownStatusCodeException25 } from "sdkgen-client";
3162
+ var BackendMarketplaceBundleTag = class extends TagAbstract25 {
3163
+ /**
3164
+ * Returns a specific marketplace bundle
3165
+ *
3166
+ * @returns {Promise<MarketplaceBundle>}
3167
+ * @throws {CommonMessageException}
3168
+ * @throws {ClientException}
3169
+ */
3170
+ async get(user, name) {
3171
+ const url = this.parser.url("/backend/marketplace/bundle/:user/:name", {
3172
+ "user": user,
3173
+ "name": name
3174
+ });
3175
+ let request = {
3176
+ url,
3177
+ method: "GET",
3178
+ headers: {},
3179
+ params: this.parser.query({}, [])
3180
+ };
3181
+ const response = await this.httpClient.request(request);
3182
+ if (response.ok) {
3183
+ return await response.json();
3184
+ }
3185
+ const statusCode = response.status;
3186
+ if (statusCode >= 0 && statusCode <= 999) {
3187
+ throw new CommonMessageException(await response.json());
3188
+ }
3189
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3190
+ }
3191
+ /**
3192
+ * Returns a paginated list of marketplace bundles
3193
+ *
3194
+ * @returns {Promise<MarketplaceBundleCollection>}
3195
+ * @throws {CommonMessageException}
3196
+ * @throws {ClientException}
3197
+ */
3198
+ async getAll(startIndex, query) {
3199
+ const url = this.parser.url("/backend/marketplace/bundle", {});
3200
+ let request = {
3201
+ url,
3202
+ method: "GET",
3203
+ headers: {},
3204
+ params: this.parser.query({
3205
+ "startIndex": startIndex,
3206
+ "query": query
3207
+ }, [])
3208
+ };
3209
+ const response = await this.httpClient.request(request);
3210
+ if (response.ok) {
3211
+ return await response.json();
3212
+ }
3213
+ const statusCode = response.status;
3214
+ if (statusCode >= 0 && statusCode <= 999) {
3215
+ throw new CommonMessageException(await response.json());
3216
+ }
3217
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3218
+ }
3219
+ /**
3220
+ * Installs an bundle from the marketplace
3221
+ *
3222
+ * @returns {Promise<MarketplaceMessage>}
3223
+ * @throws {CommonMessageException}
3224
+ * @throws {ClientException}
3225
+ */
3226
+ async install(payload) {
3227
+ const url = this.parser.url("/backend/marketplace/bundle", {});
3228
+ let request = {
3229
+ url,
3230
+ method: "POST",
3231
+ headers: {
3232
+ "Content-Type": "application/json"
3233
+ },
3234
+ params: this.parser.query({}, []),
3235
+ data: payload
3236
+ };
3237
+ const response = await this.httpClient.request(request);
3238
+ if (response.ok) {
3239
+ return await response.json();
3240
+ }
3241
+ const statusCode = response.status;
3242
+ if (statusCode >= 0 && statusCode <= 999) {
3243
+ throw new CommonMessageException(await response.json());
3244
+ }
3245
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3246
+ }
3247
+ /**
3248
+ * Upgrades an bundle from the marketplace
3249
+ *
3250
+ * @returns {Promise<MarketplaceMessage>}
3251
+ * @throws {CommonMessageException}
3252
+ * @throws {ClientException}
3253
+ */
3254
+ async upgrade(user, name) {
3255
+ const url = this.parser.url("/backend/marketplace/bundle/:user/:name", {
3256
+ "user": user,
3257
+ "name": name
3258
+ });
3259
+ let request = {
3260
+ url,
3261
+ method: "PUT",
3262
+ headers: {},
3263
+ params: this.parser.query({}, [])
3264
+ };
3265
+ const response = await this.httpClient.request(request);
3266
+ if (response.ok) {
3267
+ return await response.json();
3268
+ }
3269
+ const statusCode = response.status;
3270
+ if (statusCode >= 0 && statusCode <= 999) {
3271
+ throw new CommonMessageException(await response.json());
3272
+ }
3273
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3009
3274
  }
3010
3275
  };
3011
3276
 
3012
3277
  // src/BackendMarketplaceTag.ts
3013
- import { TagAbstract as TagAbstract24 } from "sdkgen-client";
3014
- var BackendMarketplaceTag = class extends TagAbstract24 {
3278
+ import { TagAbstract as TagAbstract26 } from "sdkgen-client";
3279
+ var BackendMarketplaceTag = class extends TagAbstract26 {
3015
3280
  action() {
3016
3281
  return new BackendMarketplaceActionTag(
3017
3282
  this.httpClient,
@@ -3024,12 +3289,18 @@ var BackendMarketplaceTag = class extends TagAbstract24 {
3024
3289
  this.parser
3025
3290
  );
3026
3291
  }
3292
+ bundle() {
3293
+ return new BackendMarketplaceBundleTag(
3294
+ this.httpClient,
3295
+ this.parser
3296
+ );
3297
+ }
3027
3298
  };
3028
3299
 
3029
3300
  // src/BackendOperationTag.ts
3030
- import { TagAbstract as TagAbstract25 } from "sdkgen-client";
3031
- import { UnknownStatusCodeException as UnknownStatusCodeException24 } from "sdkgen-client";
3032
- var BackendOperationTag = class extends TagAbstract25 {
3301
+ import { TagAbstract as TagAbstract27 } from "sdkgen-client";
3302
+ import { UnknownStatusCodeException as UnknownStatusCodeException26 } from "sdkgen-client";
3303
+ var BackendOperationTag = class extends TagAbstract27 {
3033
3304
  /**
3034
3305
  * Creates a new operation
3035
3306
  *
@@ -3056,7 +3327,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3056
3327
  if (statusCode >= 0 && statusCode <= 999) {
3057
3328
  throw new CommonMessageException(await response.json());
3058
3329
  }
3059
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3330
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3060
3331
  }
3061
3332
  /**
3062
3333
  * Deletes an existing operation
@@ -3083,7 +3354,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3083
3354
  if (statusCode >= 0 && statusCode <= 999) {
3084
3355
  throw new CommonMessageException(await response.json());
3085
3356
  }
3086
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3357
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3087
3358
  }
3088
3359
  /**
3089
3360
  * Returns a specific operation
@@ -3110,7 +3381,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3110
3381
  if (statusCode >= 0 && statusCode <= 999) {
3111
3382
  throw new CommonMessageException(await response.json());
3112
3383
  }
3113
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3384
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3114
3385
  }
3115
3386
  /**
3116
3387
  * Returns a paginated list of operations
@@ -3139,7 +3410,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3139
3410
  if (statusCode >= 0 && statusCode <= 999) {
3140
3411
  throw new CommonMessageException(await response.json());
3141
3412
  }
3142
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3413
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3143
3414
  }
3144
3415
  /**
3145
3416
  * Updates an existing operation
@@ -3169,14 +3440,14 @@ var BackendOperationTag = class extends TagAbstract25 {
3169
3440
  if (statusCode >= 0 && statusCode <= 999) {
3170
3441
  throw new CommonMessageException(await response.json());
3171
3442
  }
3172
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3443
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3173
3444
  }
3174
3445
  };
3175
3446
 
3176
3447
  // src/BackendPageTag.ts
3177
- import { TagAbstract as TagAbstract26 } from "sdkgen-client";
3178
- import { UnknownStatusCodeException as UnknownStatusCodeException25 } from "sdkgen-client";
3179
- var BackendPageTag = class extends TagAbstract26 {
3448
+ import { TagAbstract as TagAbstract28 } from "sdkgen-client";
3449
+ import { UnknownStatusCodeException as UnknownStatusCodeException27 } from "sdkgen-client";
3450
+ var BackendPageTag = class extends TagAbstract28 {
3180
3451
  /**
3181
3452
  * Creates a new page
3182
3453
  *
@@ -3203,7 +3474,7 @@ var BackendPageTag = class extends TagAbstract26 {
3203
3474
  if (statusCode >= 0 && statusCode <= 999) {
3204
3475
  throw new CommonMessageException(await response.json());
3205
3476
  }
3206
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3477
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3207
3478
  }
3208
3479
  /**
3209
3480
  * Deletes an existing page
@@ -3230,7 +3501,7 @@ var BackendPageTag = class extends TagAbstract26 {
3230
3501
  if (statusCode >= 0 && statusCode <= 999) {
3231
3502
  throw new CommonMessageException(await response.json());
3232
3503
  }
3233
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3504
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3234
3505
  }
3235
3506
  /**
3236
3507
  * Returns a specific page
@@ -3257,7 +3528,7 @@ var BackendPageTag = class extends TagAbstract26 {
3257
3528
  if (statusCode >= 0 && statusCode <= 999) {
3258
3529
  throw new CommonMessageException(await response.json());
3259
3530
  }
3260
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3531
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3261
3532
  }
3262
3533
  /**
3263
3534
  * Returns a paginated list of pages
@@ -3286,7 +3557,7 @@ var BackendPageTag = class extends TagAbstract26 {
3286
3557
  if (statusCode >= 0 && statusCode <= 999) {
3287
3558
  throw new CommonMessageException(await response.json());
3288
3559
  }
3289
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3560
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3290
3561
  }
3291
3562
  /**
3292
3563
  * Updates an existing page
@@ -3316,14 +3587,14 @@ var BackendPageTag = class extends TagAbstract26 {
3316
3587
  if (statusCode >= 0 && statusCode <= 999) {
3317
3588
  throw new CommonMessageException(await response.json());
3318
3589
  }
3319
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3590
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3320
3591
  }
3321
3592
  };
3322
3593
 
3323
3594
  // src/BackendPlanTag.ts
3324
- import { TagAbstract as TagAbstract27 } from "sdkgen-client";
3325
- import { UnknownStatusCodeException as UnknownStatusCodeException26 } from "sdkgen-client";
3326
- var BackendPlanTag = class extends TagAbstract27 {
3595
+ import { TagAbstract as TagAbstract29 } from "sdkgen-client";
3596
+ import { UnknownStatusCodeException as UnknownStatusCodeException28 } from "sdkgen-client";
3597
+ var BackendPlanTag = class extends TagAbstract29 {
3327
3598
  /**
3328
3599
  * Creates a new plan
3329
3600
  *
@@ -3350,7 +3621,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3350
3621
  if (statusCode >= 0 && statusCode <= 999) {
3351
3622
  throw new CommonMessageException(await response.json());
3352
3623
  }
3353
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3624
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3354
3625
  }
3355
3626
  /**
3356
3627
  * Deletes an existing plan
@@ -3377,7 +3648,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3377
3648
  if (statusCode >= 0 && statusCode <= 999) {
3378
3649
  throw new CommonMessageException(await response.json());
3379
3650
  }
3380
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3651
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3381
3652
  }
3382
3653
  /**
3383
3654
  * Returns a specific plan
@@ -3404,7 +3675,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3404
3675
  if (statusCode >= 0 && statusCode <= 999) {
3405
3676
  throw new CommonMessageException(await response.json());
3406
3677
  }
3407
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3678
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3408
3679
  }
3409
3680
  /**
3410
3681
  * Returns a paginated list of plans
@@ -3433,7 +3704,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3433
3704
  if (statusCode >= 0 && statusCode <= 999) {
3434
3705
  throw new CommonMessageException(await response.json());
3435
3706
  }
3436
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3707
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3437
3708
  }
3438
3709
  /**
3439
3710
  * Updates an existing plan
@@ -3463,14 +3734,14 @@ var BackendPlanTag = class extends TagAbstract27 {
3463
3734
  if (statusCode >= 0 && statusCode <= 999) {
3464
3735
  throw new CommonMessageException(await response.json());
3465
3736
  }
3466
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3737
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3467
3738
  }
3468
3739
  };
3469
3740
 
3470
3741
  // src/BackendRateTag.ts
3471
- import { TagAbstract as TagAbstract28 } from "sdkgen-client";
3472
- import { UnknownStatusCodeException as UnknownStatusCodeException27 } from "sdkgen-client";
3473
- var BackendRateTag = class extends TagAbstract28 {
3742
+ import { TagAbstract as TagAbstract30 } from "sdkgen-client";
3743
+ import { UnknownStatusCodeException as UnknownStatusCodeException29 } from "sdkgen-client";
3744
+ var BackendRateTag = class extends TagAbstract30 {
3474
3745
  /**
3475
3746
  * Creates a new rate limitation
3476
3747
  *
@@ -3497,7 +3768,7 @@ var BackendRateTag = class extends TagAbstract28 {
3497
3768
  if (statusCode >= 0 && statusCode <= 999) {
3498
3769
  throw new CommonMessageException(await response.json());
3499
3770
  }
3500
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3771
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3501
3772
  }
3502
3773
  /**
3503
3774
  * Deletes an existing rate
@@ -3524,7 +3795,7 @@ var BackendRateTag = class extends TagAbstract28 {
3524
3795
  if (statusCode >= 0 && statusCode <= 999) {
3525
3796
  throw new CommonMessageException(await response.json());
3526
3797
  }
3527
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3798
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3528
3799
  }
3529
3800
  /**
3530
3801
  * Returns a specific rate
@@ -3551,7 +3822,7 @@ var BackendRateTag = class extends TagAbstract28 {
3551
3822
  if (statusCode >= 0 && statusCode <= 999) {
3552
3823
  throw new CommonMessageException(await response.json());
3553
3824
  }
3554
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3825
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3555
3826
  }
3556
3827
  /**
3557
3828
  * Returns a paginated list of rate limitations
@@ -3580,7 +3851,7 @@ var BackendRateTag = class extends TagAbstract28 {
3580
3851
  if (statusCode >= 0 && statusCode <= 999) {
3581
3852
  throw new CommonMessageException(await response.json());
3582
3853
  }
3583
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3854
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3584
3855
  }
3585
3856
  /**
3586
3857
  * Updates an existing rate
@@ -3610,14 +3881,14 @@ var BackendRateTag = class extends TagAbstract28 {
3610
3881
  if (statusCode >= 0 && statusCode <= 999) {
3611
3882
  throw new CommonMessageException(await response.json());
3612
3883
  }
3613
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3884
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3614
3885
  }
3615
3886
  };
3616
3887
 
3617
3888
  // src/BackendRoleTag.ts
3618
- import { TagAbstract as TagAbstract29 } from "sdkgen-client";
3619
- import { UnknownStatusCodeException as UnknownStatusCodeException28 } from "sdkgen-client";
3620
- var BackendRoleTag = class extends TagAbstract29 {
3889
+ import { TagAbstract as TagAbstract31 } from "sdkgen-client";
3890
+ import { UnknownStatusCodeException as UnknownStatusCodeException30 } from "sdkgen-client";
3891
+ var BackendRoleTag = class extends TagAbstract31 {
3621
3892
  /**
3622
3893
  * Creates a new role
3623
3894
  *
@@ -3644,7 +3915,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3644
3915
  if (statusCode >= 0 && statusCode <= 999) {
3645
3916
  throw new CommonMessageException(await response.json());
3646
3917
  }
3647
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3918
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3648
3919
  }
3649
3920
  /**
3650
3921
  * Deletes an existing role
@@ -3671,7 +3942,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3671
3942
  if (statusCode >= 0 && statusCode <= 999) {
3672
3943
  throw new CommonMessageException(await response.json());
3673
3944
  }
3674
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3945
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3675
3946
  }
3676
3947
  /**
3677
3948
  * Returns a specific role
@@ -3698,7 +3969,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3698
3969
  if (statusCode >= 0 && statusCode <= 999) {
3699
3970
  throw new CommonMessageException(await response.json());
3700
3971
  }
3701
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3972
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3702
3973
  }
3703
3974
  /**
3704
3975
  * Returns a paginated list of roles
@@ -3727,7 +3998,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3727
3998
  if (statusCode >= 0 && statusCode <= 999) {
3728
3999
  throw new CommonMessageException(await response.json());
3729
4000
  }
3730
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
4001
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3731
4002
  }
3732
4003
  /**
3733
4004
  * Updates an existing role
@@ -3757,14 +4028,14 @@ var BackendRoleTag = class extends TagAbstract29 {
3757
4028
  if (statusCode >= 0 && statusCode <= 999) {
3758
4029
  throw new CommonMessageException(await response.json());
3759
4030
  }
3760
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
4031
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3761
4032
  }
3762
4033
  };
3763
4034
 
3764
4035
  // src/BackendSchemaTag.ts
3765
- import { TagAbstract as TagAbstract30 } from "sdkgen-client";
3766
- import { UnknownStatusCodeException as UnknownStatusCodeException29 } from "sdkgen-client";
3767
- var BackendSchemaTag = class extends TagAbstract30 {
4036
+ import { TagAbstract as TagAbstract32 } from "sdkgen-client";
4037
+ import { UnknownStatusCodeException as UnknownStatusCodeException31 } from "sdkgen-client";
4038
+ var BackendSchemaTag = class extends TagAbstract32 {
3768
4039
  /**
3769
4040
  * Creates a new schema
3770
4041
  *
@@ -3791,7 +4062,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3791
4062
  if (statusCode >= 0 && statusCode <= 999) {
3792
4063
  throw new CommonMessageException(await response.json());
3793
4064
  }
3794
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4065
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3795
4066
  }
3796
4067
  /**
3797
4068
  * Deletes an existing schema
@@ -3818,7 +4089,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3818
4089
  if (statusCode >= 0 && statusCode <= 999) {
3819
4090
  throw new CommonMessageException(await response.json());
3820
4091
  }
3821
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4092
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3822
4093
  }
3823
4094
  /**
3824
4095
  * Returns a specific schema
@@ -3845,7 +4116,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3845
4116
  if (statusCode >= 0 && statusCode <= 999) {
3846
4117
  throw new CommonMessageException(await response.json());
3847
4118
  }
3848
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4119
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3849
4120
  }
3850
4121
  /**
3851
4122
  * Returns a paginated list of schemas
@@ -3874,7 +4145,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3874
4145
  if (statusCode >= 0 && statusCode <= 999) {
3875
4146
  throw new CommonMessageException(await response.json());
3876
4147
  }
3877
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4148
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3878
4149
  }
3879
4150
  /**
3880
4151
  * Returns a HTML preview of the provided schema
@@ -3901,7 +4172,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3901
4172
  if (statusCode >= 0 && statusCode <= 999) {
3902
4173
  throw new CommonMessageException(await response.json());
3903
4174
  }
3904
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4175
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3905
4176
  }
3906
4177
  /**
3907
4178
  * Updates an existing schema
@@ -3931,14 +4202,14 @@ var BackendSchemaTag = class extends TagAbstract30 {
3931
4202
  if (statusCode >= 0 && statusCode <= 999) {
3932
4203
  throw new CommonMessageException(await response.json());
3933
4204
  }
3934
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4205
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3935
4206
  }
3936
4207
  };
3937
4208
 
3938
4209
  // src/BackendScopeTag.ts
3939
- import { TagAbstract as TagAbstract31 } from "sdkgen-client";
3940
- import { UnknownStatusCodeException as UnknownStatusCodeException30 } from "sdkgen-client";
3941
- var BackendScopeTag = class extends TagAbstract31 {
4210
+ import { TagAbstract as TagAbstract33 } from "sdkgen-client";
4211
+ import { UnknownStatusCodeException as UnknownStatusCodeException32 } from "sdkgen-client";
4212
+ var BackendScopeTag = class extends TagAbstract33 {
3942
4213
  /**
3943
4214
  * Creates a new scope
3944
4215
  *
@@ -3965,7 +4236,7 @@ var BackendScopeTag = class extends TagAbstract31 {
3965
4236
  if (statusCode >= 0 && statusCode <= 999) {
3966
4237
  throw new CommonMessageException(await response.json());
3967
4238
  }
3968
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4239
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
3969
4240
  }
3970
4241
  /**
3971
4242
  * Deletes an existing scope
@@ -3992,7 +4263,7 @@ var BackendScopeTag = class extends TagAbstract31 {
3992
4263
  if (statusCode >= 0 && statusCode <= 999) {
3993
4264
  throw new CommonMessageException(await response.json());
3994
4265
  }
3995
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4266
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
3996
4267
  }
3997
4268
  /**
3998
4269
  * Returns a specific scope
@@ -4019,7 +4290,7 @@ var BackendScopeTag = class extends TagAbstract31 {
4019
4290
  if (statusCode >= 0 && statusCode <= 999) {
4020
4291
  throw new CommonMessageException(await response.json());
4021
4292
  }
4022
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4293
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4023
4294
  }
4024
4295
  /**
4025
4296
  * Returns a paginated list of scopes
@@ -4048,7 +4319,7 @@ var BackendScopeTag = class extends TagAbstract31 {
4048
4319
  if (statusCode >= 0 && statusCode <= 999) {
4049
4320
  throw new CommonMessageException(await response.json());
4050
4321
  }
4051
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4322
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4052
4323
  }
4053
4324
  /**
4054
4325
  * Returns all available scopes grouped by category
@@ -4073,7 +4344,7 @@ var BackendScopeTag = class extends TagAbstract31 {
4073
4344
  if (statusCode >= 0 && statusCode <= 999) {
4074
4345
  throw new CommonMessageException(await response.json());
4075
4346
  }
4076
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4347
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4077
4348
  }
4078
4349
  /**
4079
4350
  * Updates an existing scope
@@ -4103,14 +4374,14 @@ var BackendScopeTag = class extends TagAbstract31 {
4103
4374
  if (statusCode >= 0 && statusCode <= 999) {
4104
4375
  throw new CommonMessageException(await response.json());
4105
4376
  }
4106
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4377
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4107
4378
  }
4108
4379
  };
4109
4380
 
4110
4381
  // src/BackendSdkTag.ts
4111
- import { TagAbstract as TagAbstract32 } from "sdkgen-client";
4112
- import { UnknownStatusCodeException as UnknownStatusCodeException31 } from "sdkgen-client";
4113
- var BackendSdkTag = class extends TagAbstract32 {
4382
+ import { TagAbstract as TagAbstract34 } from "sdkgen-client";
4383
+ import { UnknownStatusCodeException as UnknownStatusCodeException33 } from "sdkgen-client";
4384
+ var BackendSdkTag = class extends TagAbstract34 {
4114
4385
  /**
4115
4386
  * Generates a specific SDK
4116
4387
  *
@@ -4137,7 +4408,7 @@ var BackendSdkTag = class extends TagAbstract32 {
4137
4408
  if (statusCode >= 0 && statusCode <= 999) {
4138
4409
  throw new CommonMessageException(await response.json());
4139
4410
  }
4140
- throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4411
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4141
4412
  }
4142
4413
  /**
4143
4414
  * Returns a paginated list of SDKs
@@ -4162,14 +4433,14 @@ var BackendSdkTag = class extends TagAbstract32 {
4162
4433
  if (statusCode >= 0 && statusCode <= 999) {
4163
4434
  throw new CommonMessageException(await response.json());
4164
4435
  }
4165
- throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4436
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4166
4437
  }
4167
4438
  };
4168
4439
 
4169
4440
  // src/BackendStatisticTag.ts
4170
- import { TagAbstract as TagAbstract33 } from "sdkgen-client";
4171
- import { UnknownStatusCodeException as UnknownStatusCodeException32 } from "sdkgen-client";
4172
- var BackendStatisticTag = class extends TagAbstract33 {
4441
+ import { TagAbstract as TagAbstract35 } from "sdkgen-client";
4442
+ import { UnknownStatusCodeException as UnknownStatusCodeException34 } from "sdkgen-client";
4443
+ var BackendStatisticTag = class extends TagAbstract35 {
4173
4444
  /**
4174
4445
  * Returns a statistic containing the activities per user
4175
4446
  *
@@ -4208,7 +4479,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4208
4479
  if (statusCode >= 0 && statusCode <= 999) {
4209
4480
  throw new CommonMessageException(await response.json());
4210
4481
  }
4211
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4482
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4212
4483
  }
4213
4484
  /**
4214
4485
  * Returns a statistic containing the request count
@@ -4248,7 +4519,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4248
4519
  if (statusCode >= 0 && statusCode <= 999) {
4249
4520
  throw new CommonMessageException(await response.json());
4250
4521
  }
4251
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4522
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4252
4523
  }
4253
4524
  /**
4254
4525
  * Returns a statistic containing the errors per operation
@@ -4288,7 +4559,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4288
4559
  if (statusCode >= 0 && statusCode <= 999) {
4289
4560
  throw new CommonMessageException(await response.json());
4290
4561
  }
4291
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4562
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4292
4563
  }
4293
4564
  /**
4294
4565
  * Returns a statistic containing the incoming requests
@@ -4328,7 +4599,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4328
4599
  if (statusCode >= 0 && statusCode <= 999) {
4329
4600
  throw new CommonMessageException(await response.json());
4330
4601
  }
4331
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4602
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4332
4603
  }
4333
4604
  /**
4334
4605
  * Returns a statistic containing the incoming transactions
@@ -4368,7 +4639,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4368
4639
  if (statusCode >= 0 && statusCode <= 999) {
4369
4640
  throw new CommonMessageException(await response.json());
4370
4641
  }
4371
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4642
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4372
4643
  }
4373
4644
  /**
4374
4645
  * Returns a statistic containing the issues tokens
@@ -4408,7 +4679,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4408
4679
  if (statusCode >= 0 && statusCode <= 999) {
4409
4680
  throw new CommonMessageException(await response.json());
4410
4681
  }
4411
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4682
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4412
4683
  }
4413
4684
  /**
4414
4685
  * Returns a statistic containing the most used activities
@@ -4448,7 +4719,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4448
4719
  if (statusCode >= 0 && statusCode <= 999) {
4449
4720
  throw new CommonMessageException(await response.json());
4450
4721
  }
4451
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4722
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4452
4723
  }
4453
4724
  /**
4454
4725
  * Returns a statistic containing the most used apps
@@ -4488,7 +4759,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4488
4759
  if (statusCode >= 0 && statusCode <= 999) {
4489
4760
  throw new CommonMessageException(await response.json());
4490
4761
  }
4491
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4762
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4492
4763
  }
4493
4764
  /**
4494
4765
  * Returns a statistic containing the most used operations
@@ -4528,7 +4799,127 @@ var BackendStatisticTag = class extends TagAbstract33 {
4528
4799
  if (statusCode >= 0 && statusCode <= 999) {
4529
4800
  throw new CommonMessageException(await response.json());
4530
4801
  }
4531
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4802
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4803
+ }
4804
+ /**
4805
+ * Returns a statistic containing the requests per ip
4806
+ *
4807
+ * @returns {Promise<BackendStatisticChart>}
4808
+ * @throws {CommonMessageException}
4809
+ * @throws {ClientException}
4810
+ */
4811
+ async getRequestsPerIP(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
4812
+ const url = this.parser.url("/backend/statistic/requests_per_ip", {});
4813
+ let request = {
4814
+ url,
4815
+ method: "GET",
4816
+ headers: {},
4817
+ params: this.parser.query({
4818
+ "startIndex": startIndex,
4819
+ "count": count,
4820
+ "search": search,
4821
+ "from": from,
4822
+ "to": to,
4823
+ "operationId": operationId,
4824
+ "appId": appId,
4825
+ "userId": userId,
4826
+ "ip": ip,
4827
+ "userAgent": userAgent,
4828
+ "method": method,
4829
+ "path": path,
4830
+ "header": header,
4831
+ "body": body
4832
+ }, [])
4833
+ };
4834
+ const response = await this.httpClient.request(request);
4835
+ if (response.ok) {
4836
+ return await response.json();
4837
+ }
4838
+ const statusCode = response.status;
4839
+ if (statusCode >= 0 && statusCode <= 999) {
4840
+ throw new CommonMessageException(await response.json());
4841
+ }
4842
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4843
+ }
4844
+ /**
4845
+ * Returns a statistic containing the requests per operation
4846
+ *
4847
+ * @returns {Promise<BackendStatisticChart>}
4848
+ * @throws {CommonMessageException}
4849
+ * @throws {ClientException}
4850
+ */
4851
+ async getRequestsPerOperation(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
4852
+ const url = this.parser.url("/backend/statistic/requests_per_operation", {});
4853
+ let request = {
4854
+ url,
4855
+ method: "GET",
4856
+ headers: {},
4857
+ params: this.parser.query({
4858
+ "startIndex": startIndex,
4859
+ "count": count,
4860
+ "search": search,
4861
+ "from": from,
4862
+ "to": to,
4863
+ "operationId": operationId,
4864
+ "appId": appId,
4865
+ "userId": userId,
4866
+ "ip": ip,
4867
+ "userAgent": userAgent,
4868
+ "method": method,
4869
+ "path": path,
4870
+ "header": header,
4871
+ "body": body
4872
+ }, [])
4873
+ };
4874
+ const response = await this.httpClient.request(request);
4875
+ if (response.ok) {
4876
+ return await response.json();
4877
+ }
4878
+ const statusCode = response.status;
4879
+ if (statusCode >= 0 && statusCode <= 999) {
4880
+ throw new CommonMessageException(await response.json());
4881
+ }
4882
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4883
+ }
4884
+ /**
4885
+ * Returns a statistic containing the requests per user
4886
+ *
4887
+ * @returns {Promise<BackendStatisticChart>}
4888
+ * @throws {CommonMessageException}
4889
+ * @throws {ClientException}
4890
+ */
4891
+ async getRequestsPerUser(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
4892
+ const url = this.parser.url("/backend/statistic/requests_per_user", {});
4893
+ let request = {
4894
+ url,
4895
+ method: "GET",
4896
+ headers: {},
4897
+ params: this.parser.query({
4898
+ "startIndex": startIndex,
4899
+ "count": count,
4900
+ "search": search,
4901
+ "from": from,
4902
+ "to": to,
4903
+ "operationId": operationId,
4904
+ "appId": appId,
4905
+ "userId": userId,
4906
+ "ip": ip,
4907
+ "userAgent": userAgent,
4908
+ "method": method,
4909
+ "path": path,
4910
+ "header": header,
4911
+ "body": body
4912
+ }, [])
4913
+ };
4914
+ const response = await this.httpClient.request(request);
4915
+ if (response.ok) {
4916
+ return await response.json();
4917
+ }
4918
+ const statusCode = response.status;
4919
+ if (statusCode >= 0 && statusCode <= 999) {
4920
+ throw new CommonMessageException(await response.json());
4921
+ }
4922
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4532
4923
  }
4533
4924
  /**
4534
4925
  * Returns a statistic containing the test coverage
@@ -4553,7 +4944,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4553
4944
  if (statusCode >= 0 && statusCode <= 999) {
4554
4945
  throw new CommonMessageException(await response.json());
4555
4946
  }
4556
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4947
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4557
4948
  }
4558
4949
  /**
4559
4950
  * Returns a statistic containing the time average
@@ -4593,7 +4984,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4593
4984
  if (statusCode >= 0 && statusCode <= 999) {
4594
4985
  throw new CommonMessageException(await response.json());
4595
4986
  }
4596
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4987
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4597
4988
  }
4598
4989
  /**
4599
4990
  * Returns a statistic containing the time per operation
@@ -4633,7 +5024,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4633
5024
  if (statusCode >= 0 && statusCode <= 999) {
4634
5025
  throw new CommonMessageException(await response.json());
4635
5026
  }
4636
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
5027
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4637
5028
  }
4638
5029
  /**
4639
5030
  * Returns a statistic containing the used points
@@ -4673,7 +5064,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4673
5064
  if (statusCode >= 0 && statusCode <= 999) {
4674
5065
  throw new CommonMessageException(await response.json());
4675
5066
  }
4676
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
5067
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4677
5068
  }
4678
5069
  /**
4679
5070
  * Returns a statistic containing the user registrations
@@ -4713,17 +5104,17 @@ var BackendStatisticTag = class extends TagAbstract33 {
4713
5104
  if (statusCode >= 0 && statusCode <= 999) {
4714
5105
  throw new CommonMessageException(await response.json());
4715
5106
  }
4716
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
5107
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4717
5108
  }
4718
5109
  };
4719
5110
 
4720
5111
  // src/BackendTag.ts
4721
- import { TagAbstract as TagAbstract42 } from "sdkgen-client";
5112
+ import { TagAbstract as TagAbstract44 } from "sdkgen-client";
4722
5113
 
4723
5114
  // src/BackendTenantTag.ts
4724
- import { TagAbstract as TagAbstract34 } from "sdkgen-client";
4725
- import { UnknownStatusCodeException as UnknownStatusCodeException33 } from "sdkgen-client";
4726
- var BackendTenantTag = class extends TagAbstract34 {
5115
+ import { TagAbstract as TagAbstract36 } from "sdkgen-client";
5116
+ import { UnknownStatusCodeException as UnknownStatusCodeException35 } from "sdkgen-client";
5117
+ var BackendTenantTag = class extends TagAbstract36 {
4727
5118
  /**
4728
5119
  * Removes an existing tenant
4729
5120
  *
@@ -4749,7 +5140,7 @@ var BackendTenantTag = class extends TagAbstract34 {
4749
5140
  if (statusCode >= 0 && statusCode <= 999) {
4750
5141
  throw new CommonMessageException(await response.json());
4751
5142
  }
4752
- throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
5143
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4753
5144
  }
4754
5145
  /**
4755
5146
  * Setup a new tenant
@@ -4776,14 +5167,14 @@ var BackendTenantTag = class extends TagAbstract34 {
4776
5167
  if (statusCode >= 0 && statusCode <= 999) {
4777
5168
  throw new CommonMessageException(await response.json());
4778
5169
  }
4779
- throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
5170
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4780
5171
  }
4781
5172
  };
4782
5173
 
4783
5174
  // src/BackendTestTag.ts
4784
- import { TagAbstract as TagAbstract35 } from "sdkgen-client";
4785
- import { UnknownStatusCodeException as UnknownStatusCodeException34 } from "sdkgen-client";
4786
- var BackendTestTag = class extends TagAbstract35 {
5175
+ import { TagAbstract as TagAbstract37 } from "sdkgen-client";
5176
+ import { UnknownStatusCodeException as UnknownStatusCodeException36 } from "sdkgen-client";
5177
+ var BackendTestTag = class extends TagAbstract37 {
4787
5178
  /**
4788
5179
  * Returns a specific test
4789
5180
  *
@@ -4809,7 +5200,7 @@ var BackendTestTag = class extends TagAbstract35 {
4809
5200
  if (statusCode >= 0 && statusCode <= 999) {
4810
5201
  throw new CommonMessageException(await response.json());
4811
5202
  }
4812
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5203
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4813
5204
  }
4814
5205
  /**
4815
5206
  * Returns a paginated list of tests
@@ -4838,7 +5229,7 @@ var BackendTestTag = class extends TagAbstract35 {
4838
5229
  if (statusCode >= 0 && statusCode <= 999) {
4839
5230
  throw new CommonMessageException(await response.json());
4840
5231
  }
4841
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5232
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4842
5233
  }
4843
5234
  /**
4844
5235
  * Refresh all tests
@@ -4863,7 +5254,7 @@ var BackendTestTag = class extends TagAbstract35 {
4863
5254
  if (statusCode >= 0 && statusCode <= 999) {
4864
5255
  throw new CommonMessageException(await response.json());
4865
5256
  }
4866
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5257
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4867
5258
  }
4868
5259
  /**
4869
5260
  * Run all tests
@@ -4888,7 +5279,7 @@ var BackendTestTag = class extends TagAbstract35 {
4888
5279
  if (statusCode >= 0 && statusCode <= 999) {
4889
5280
  throw new CommonMessageException(await response.json());
4890
5281
  }
4891
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5282
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4892
5283
  }
4893
5284
  /**
4894
5285
  * Updates an existing test
@@ -4918,14 +5309,14 @@ var BackendTestTag = class extends TagAbstract35 {
4918
5309
  if (statusCode >= 0 && statusCode <= 999) {
4919
5310
  throw new CommonMessageException(await response.json());
4920
5311
  }
4921
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5312
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4922
5313
  }
4923
5314
  };
4924
5315
 
4925
5316
  // src/BackendTokenTag.ts
4926
- import { TagAbstract as TagAbstract36 } from "sdkgen-client";
4927
- import { UnknownStatusCodeException as UnknownStatusCodeException35 } from "sdkgen-client";
4928
- var BackendTokenTag = class extends TagAbstract36 {
5317
+ import { TagAbstract as TagAbstract38 } from "sdkgen-client";
5318
+ import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
5319
+ var BackendTokenTag = class extends TagAbstract38 {
4929
5320
  /**
4930
5321
  * Returns a specific token
4931
5322
  *
@@ -4951,7 +5342,7 @@ var BackendTokenTag = class extends TagAbstract36 {
4951
5342
  if (statusCode >= 0 && statusCode <= 999) {
4952
5343
  throw new CommonMessageException(await response.json());
4953
5344
  }
4954
- throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
5345
+ throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
4955
5346
  }
4956
5347
  /**
4957
5348
  * Returns a paginated list of tokens
@@ -4987,14 +5378,14 @@ var BackendTokenTag = class extends TagAbstract36 {
4987
5378
  if (statusCode >= 0 && statusCode <= 999) {
4988
5379
  throw new CommonMessageException(await response.json());
4989
5380
  }
4990
- throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
5381
+ throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
4991
5382
  }
4992
5383
  };
4993
5384
 
4994
5385
  // src/BackendTransactionTag.ts
4995
- import { TagAbstract as TagAbstract37 } from "sdkgen-client";
4996
- import { UnknownStatusCodeException as UnknownStatusCodeException36 } from "sdkgen-client";
4997
- var BackendTransactionTag = class extends TagAbstract37 {
5386
+ import { TagAbstract as TagAbstract39 } from "sdkgen-client";
5387
+ import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
5388
+ var BackendTransactionTag = class extends TagAbstract39 {
4998
5389
  /**
4999
5390
  * Returns a specific transaction
5000
5391
  *
@@ -5020,7 +5411,7 @@ var BackendTransactionTag = class extends TagAbstract37 {
5020
5411
  if (statusCode >= 0 && statusCode <= 999) {
5021
5412
  throw new CommonMessageException(await response.json());
5022
5413
  }
5023
- throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
5414
+ throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5024
5415
  }
5025
5416
  /**
5026
5417
  * Returns a paginated list of transactions
@@ -5056,14 +5447,14 @@ var BackendTransactionTag = class extends TagAbstract37 {
5056
5447
  if (statusCode >= 0 && statusCode <= 999) {
5057
5448
  throw new CommonMessageException(await response.json());
5058
5449
  }
5059
- throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
5450
+ throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5060
5451
  }
5061
5452
  };
5062
5453
 
5063
5454
  // src/BackendTrashTag.ts
5064
- import { TagAbstract as TagAbstract38 } from "sdkgen-client";
5065
- import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
5066
- var BackendTrashTag = class extends TagAbstract38 {
5455
+ import { TagAbstract as TagAbstract40 } from "sdkgen-client";
5456
+ import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
5457
+ var BackendTrashTag = class extends TagAbstract40 {
5067
5458
  /**
5068
5459
  * Returns all deleted records by trash type
5069
5460
  *
@@ -5093,7 +5484,7 @@ var BackendTrashTag = class extends TagAbstract38 {
5093
5484
  if (statusCode >= 0 && statusCode <= 999) {
5094
5485
  throw new CommonMessageException(await response.json());
5095
5486
  }
5096
- throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5487
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5097
5488
  }
5098
5489
  /**
5099
5490
  * Returns all trash types
@@ -5118,7 +5509,7 @@ var BackendTrashTag = class extends TagAbstract38 {
5118
5509
  if (statusCode >= 0 && statusCode <= 999) {
5119
5510
  throw new CommonMessageException(await response.json());
5120
5511
  }
5121
- throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5512
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5122
5513
  }
5123
5514
  /**
5124
5515
  * Restores a previously deleted record
@@ -5148,14 +5539,14 @@ var BackendTrashTag = class extends TagAbstract38 {
5148
5539
  if (statusCode >= 0 && statusCode <= 999) {
5149
5540
  throw new CommonMessageException(await response.json());
5150
5541
  }
5151
- throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5542
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5152
5543
  }
5153
5544
  };
5154
5545
 
5155
5546
  // src/BackendTriggerTag.ts
5156
- import { TagAbstract as TagAbstract39 } from "sdkgen-client";
5157
- import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
5158
- var BackendTriggerTag = class extends TagAbstract39 {
5547
+ import { TagAbstract as TagAbstract41 } from "sdkgen-client";
5548
+ import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
5549
+ var BackendTriggerTag = class extends TagAbstract41 {
5159
5550
  /**
5160
5551
  * Creates a new trigger
5161
5552
  *
@@ -5182,7 +5573,7 @@ var BackendTriggerTag = class extends TagAbstract39 {
5182
5573
  if (statusCode >= 0 && statusCode <= 999) {
5183
5574
  throw new CommonMessageException(await response.json());
5184
5575
  }
5185
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5576
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5186
5577
  }
5187
5578
  /**
5188
5579
  * Deletes an existing trigger
@@ -5209,7 +5600,7 @@ var BackendTriggerTag = class extends TagAbstract39 {
5209
5600
  if (statusCode >= 0 && statusCode <= 999) {
5210
5601
  throw new CommonMessageException(await response.json());
5211
5602
  }
5212
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5603
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5213
5604
  }
5214
5605
  /**
5215
5606
  * Returns a specific trigger
@@ -5236,7 +5627,7 @@ var BackendTriggerTag = class extends TagAbstract39 {
5236
5627
  if (statusCode >= 0 && statusCode <= 999) {
5237
5628
  throw new CommonMessageException(await response.json());
5238
5629
  }
5239
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5630
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5240
5631
  }
5241
5632
  /**
5242
5633
  * Returns a paginated list of triggers
@@ -5265,7 +5656,7 @@ var BackendTriggerTag = class extends TagAbstract39 {
5265
5656
  if (statusCode >= 0 && statusCode <= 999) {
5266
5657
  throw new CommonMessageException(await response.json());
5267
5658
  }
5268
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5659
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5269
5660
  }
5270
5661
  /**
5271
5662
  * Updates an existing trigger
@@ -5295,14 +5686,14 @@ var BackendTriggerTag = class extends TagAbstract39 {
5295
5686
  if (statusCode >= 0 && statusCode <= 999) {
5296
5687
  throw new CommonMessageException(await response.json());
5297
5688
  }
5298
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5689
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5299
5690
  }
5300
5691
  };
5301
5692
 
5302
5693
  // src/BackendUserTag.ts
5303
- import { TagAbstract as TagAbstract40 } from "sdkgen-client";
5304
- import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
5305
- var BackendUserTag = class extends TagAbstract40 {
5694
+ import { TagAbstract as TagAbstract42 } from "sdkgen-client";
5695
+ import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
5696
+ var BackendUserTag = class extends TagAbstract42 {
5306
5697
  /**
5307
5698
  * Creates a new user
5308
5699
  *
@@ -5329,7 +5720,7 @@ var BackendUserTag = class extends TagAbstract40 {
5329
5720
  if (statusCode >= 0 && statusCode <= 999) {
5330
5721
  throw new CommonMessageException(await response.json());
5331
5722
  }
5332
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5723
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5333
5724
  }
5334
5725
  /**
5335
5726
  * Deletes an existing user
@@ -5356,7 +5747,7 @@ var BackendUserTag = class extends TagAbstract40 {
5356
5747
  if (statusCode >= 0 && statusCode <= 999) {
5357
5748
  throw new CommonMessageException(await response.json());
5358
5749
  }
5359
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5750
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5360
5751
  }
5361
5752
  /**
5362
5753
  * Returns a specific user
@@ -5383,7 +5774,7 @@ var BackendUserTag = class extends TagAbstract40 {
5383
5774
  if (statusCode >= 0 && statusCode <= 999) {
5384
5775
  throw new CommonMessageException(await response.json());
5385
5776
  }
5386
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5777
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5387
5778
  }
5388
5779
  /**
5389
5780
  * Returns a paginated list of users
@@ -5412,7 +5803,7 @@ var BackendUserTag = class extends TagAbstract40 {
5412
5803
  if (statusCode >= 0 && statusCode <= 999) {
5413
5804
  throw new CommonMessageException(await response.json());
5414
5805
  }
5415
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5806
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5416
5807
  }
5417
5808
  /**
5418
5809
  * Resend the activation mail to the provided user
@@ -5442,7 +5833,7 @@ var BackendUserTag = class extends TagAbstract40 {
5442
5833
  if (statusCode >= 0 && statusCode <= 999) {
5443
5834
  throw new CommonMessageException(await response.json());
5444
5835
  }
5445
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5836
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5446
5837
  }
5447
5838
  /**
5448
5839
  * Updates an existing user
@@ -5472,14 +5863,14 @@ var BackendUserTag = class extends TagAbstract40 {
5472
5863
  if (statusCode >= 0 && statusCode <= 999) {
5473
5864
  throw new CommonMessageException(await response.json());
5474
5865
  }
5475
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5866
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5476
5867
  }
5477
5868
  };
5478
5869
 
5479
5870
  // src/BackendWebhookTag.ts
5480
- import { TagAbstract as TagAbstract41 } from "sdkgen-client";
5481
- import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
5482
- var BackendWebhookTag = class extends TagAbstract41 {
5871
+ import { TagAbstract as TagAbstract43 } from "sdkgen-client";
5872
+ import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
5873
+ var BackendWebhookTag = class extends TagAbstract43 {
5483
5874
  /**
5484
5875
  * Creates a new webhook
5485
5876
  *
@@ -5506,7 +5897,7 @@ var BackendWebhookTag = class extends TagAbstract41 {
5506
5897
  if (statusCode >= 0 && statusCode <= 999) {
5507
5898
  throw new CommonMessageException(await response.json());
5508
5899
  }
5509
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5900
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5510
5901
  }
5511
5902
  /**
5512
5903
  * Deletes an existing webhook
@@ -5533,7 +5924,7 @@ var BackendWebhookTag = class extends TagAbstract41 {
5533
5924
  if (statusCode >= 0 && statusCode <= 999) {
5534
5925
  throw new CommonMessageException(await response.json());
5535
5926
  }
5536
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5927
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5537
5928
  }
5538
5929
  /**
5539
5930
  * Returns a specific webhook
@@ -5560,7 +5951,7 @@ var BackendWebhookTag = class extends TagAbstract41 {
5560
5951
  if (statusCode >= 0 && statusCode <= 999) {
5561
5952
  throw new CommonMessageException(await response.json());
5562
5953
  }
5563
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5954
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5564
5955
  }
5565
5956
  /**
5566
5957
  * Returns a paginated list of webhooks
@@ -5589,7 +5980,7 @@ var BackendWebhookTag = class extends TagAbstract41 {
5589
5980
  if (statusCode >= 0 && statusCode <= 999) {
5590
5981
  throw new CommonMessageException(await response.json());
5591
5982
  }
5592
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5983
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5593
5984
  }
5594
5985
  /**
5595
5986
  * Updates an existing webhook
@@ -5619,12 +6010,12 @@ var BackendWebhookTag = class extends TagAbstract41 {
5619
6010
  if (statusCode >= 0 && statusCode <= 999) {
5620
6011
  throw new CommonMessageException(await response.json());
5621
6012
  }
5622
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6013
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5623
6014
  }
5624
6015
  };
5625
6016
 
5626
6017
  // src/BackendTag.ts
5627
- var BackendTag = class extends TagAbstract42 {
6018
+ var BackendTag = class extends TagAbstract44 {
5628
6019
  account() {
5629
6020
  return new BackendAccountTag(
5630
6021
  this.httpClient,
@@ -5655,6 +6046,12 @@ var BackendTag = class extends TagAbstract42 {
5655
6046
  this.parser
5656
6047
  );
5657
6048
  }
6049
+ bundle() {
6050
+ return new BackendBundleTag(
6051
+ this.httpClient,
6052
+ this.parser
6053
+ );
6054
+ }
5658
6055
  category() {
5659
6056
  return new BackendCategoryTag(
5660
6057
  this.httpClient,
@@ -5836,12 +6233,12 @@ import { ClientAbstract } from "sdkgen-client";
5836
6233
  import { Anonymous } from "sdkgen-client";
5837
6234
 
5838
6235
  // src/ConsumerTag.ts
5839
- import { TagAbstract as TagAbstract57 } from "sdkgen-client";
6236
+ import { TagAbstract as TagAbstract59 } from "sdkgen-client";
5840
6237
 
5841
6238
  // src/ConsumerAccountTag.ts
5842
- import { TagAbstract as TagAbstract43 } from "sdkgen-client";
5843
- import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
5844
- var ConsumerAccountTag = class extends TagAbstract43 {
6239
+ import { TagAbstract as TagAbstract45 } from "sdkgen-client";
6240
+ import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
6241
+ var ConsumerAccountTag = class extends TagAbstract45 {
5845
6242
  /**
5846
6243
  * Activates an previously registered account through a token which was provided to the user via email
5847
6244
  *
@@ -5868,7 +6265,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
5868
6265
  if (statusCode >= 0 && statusCode <= 999) {
5869
6266
  throw new CommonMessageException(await response.json());
5870
6267
  }
5871
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6268
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
5872
6269
  }
5873
6270
  /**
5874
6271
  * Authorizes the access of a specific app for the authenticated user
@@ -5896,7 +6293,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
5896
6293
  if (statusCode >= 0 && statusCode <= 999) {
5897
6294
  throw new CommonMessageException(await response.json());
5898
6295
  }
5899
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6296
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
5900
6297
  }
5901
6298
  /**
5902
6299
  * Change the password for the authenticated user
@@ -5924,7 +6321,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
5924
6321
  if (statusCode >= 0 && statusCode <= 999) {
5925
6322
  throw new CommonMessageException(await response.json());
5926
6323
  }
5927
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6324
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
5928
6325
  }
5929
6326
  /**
5930
6327
  * Change the password after the password reset flow was started
@@ -5952,7 +6349,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
5952
6349
  if (statusCode >= 0 && statusCode <= 999) {
5953
6350
  throw new CommonMessageException(await response.json());
5954
6351
  }
5955
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6352
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
5956
6353
  }
5957
6354
  /**
5958
6355
  * Returns a user data for the authenticated user
@@ -5977,7 +6374,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
5977
6374
  if (statusCode >= 0 && statusCode <= 999) {
5978
6375
  throw new CommonMessageException(await response.json());
5979
6376
  }
5980
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6377
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
5981
6378
  }
5982
6379
  /**
5983
6380
  * Returns information about a specific app to start the OAuth2 authorization code flow
@@ -6005,7 +6402,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
6005
6402
  if (statusCode >= 0 && statusCode <= 999) {
6006
6403
  throw new CommonMessageException(await response.json());
6007
6404
  }
6008
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6405
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6009
6406
  }
6010
6407
  /**
6011
6408
  * User login by providing a username and password
@@ -6033,7 +6430,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
6033
6430
  if (statusCode >= 0 && statusCode <= 999) {
6034
6431
  throw new CommonMessageException(await response.json());
6035
6432
  }
6036
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6433
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6037
6434
  }
6038
6435
  /**
6039
6436
  * Refresh a previously obtained access token
@@ -6061,7 +6458,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
6061
6458
  if (statusCode >= 0 && statusCode <= 999) {
6062
6459
  throw new CommonMessageException(await response.json());
6063
6460
  }
6064
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6461
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6065
6462
  }
6066
6463
  /**
6067
6464
  * Register a new user account
@@ -6089,7 +6486,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
6089
6486
  if (statusCode >= 0 && statusCode <= 999) {
6090
6487
  throw new CommonMessageException(await response.json());
6091
6488
  }
6092
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6489
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6093
6490
  }
6094
6491
  /**
6095
6492
  * Start the password reset flow
@@ -6117,7 +6514,7 @@ var ConsumerAccountTag = class extends TagAbstract43 {
6117
6514
  if (statusCode >= 0 && statusCode <= 999) {
6118
6515
  throw new CommonMessageException(await response.json());
6119
6516
  }
6120
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6517
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6121
6518
  }
6122
6519
  /**
6123
6520
  * Updates user data for the authenticated user
@@ -6145,14 +6542,14 @@ var ConsumerAccountTag = class extends TagAbstract43 {
6145
6542
  if (statusCode >= 0 && statusCode <= 999) {
6146
6543
  throw new CommonMessageException(await response.json());
6147
6544
  }
6148
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6545
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6149
6546
  }
6150
6547
  };
6151
6548
 
6152
6549
  // src/ConsumerAppTag.ts
6153
- import { TagAbstract as TagAbstract44 } from "sdkgen-client";
6154
- import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
6155
- var ConsumerAppTag = class extends TagAbstract44 {
6550
+ import { TagAbstract as TagAbstract46 } from "sdkgen-client";
6551
+ import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
6552
+ var ConsumerAppTag = class extends TagAbstract46 {
6156
6553
  /**
6157
6554
  * Creates a new app for the authenticated user
6158
6555
  *
@@ -6179,7 +6576,7 @@ var ConsumerAppTag = class extends TagAbstract44 {
6179
6576
  if (statusCode >= 0 && statusCode <= 999) {
6180
6577
  throw new CommonMessageException(await response.json());
6181
6578
  }
6182
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6579
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6183
6580
  }
6184
6581
  /**
6185
6582
  * Deletes an existing app for the authenticated user
@@ -6206,7 +6603,7 @@ var ConsumerAppTag = class extends TagAbstract44 {
6206
6603
  if (statusCode >= 0 && statusCode <= 999) {
6207
6604
  throw new CommonMessageException(await response.json());
6208
6605
  }
6209
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6606
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6210
6607
  }
6211
6608
  /**
6212
6609
  * Returns a specific app for the authenticated user
@@ -6233,7 +6630,7 @@ var ConsumerAppTag = class extends TagAbstract44 {
6233
6630
  if (statusCode >= 0 && statusCode <= 999) {
6234
6631
  throw new CommonMessageException(await response.json());
6235
6632
  }
6236
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6633
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6237
6634
  }
6238
6635
  /**
6239
6636
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -6262,7 +6659,7 @@ var ConsumerAppTag = class extends TagAbstract44 {
6262
6659
  if (statusCode >= 0 && statusCode <= 999) {
6263
6660
  throw new CommonMessageException(await response.json());
6264
6661
  }
6265
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6662
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6266
6663
  }
6267
6664
  /**
6268
6665
  * Updates an existing app for the authenticated user
@@ -6292,14 +6689,14 @@ var ConsumerAppTag = class extends TagAbstract44 {
6292
6689
  if (statusCode >= 0 && statusCode <= 999) {
6293
6690
  throw new CommonMessageException(await response.json());
6294
6691
  }
6295
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6692
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6296
6693
  }
6297
6694
  };
6298
6695
 
6299
6696
  // src/ConsumerEventTag.ts
6300
- import { TagAbstract as TagAbstract45 } from "sdkgen-client";
6301
- import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
6302
- var ConsumerEventTag = class extends TagAbstract45 {
6697
+ import { TagAbstract as TagAbstract47 } from "sdkgen-client";
6698
+ import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
6699
+ var ConsumerEventTag = class extends TagAbstract47 {
6303
6700
  /**
6304
6701
  * Returns a specific event for the authenticated user
6305
6702
  *
@@ -6325,7 +6722,7 @@ var ConsumerEventTag = class extends TagAbstract45 {
6325
6722
  if (statusCode >= 0 && statusCode <= 999) {
6326
6723
  throw new CommonMessageException(await response.json());
6327
6724
  }
6328
- throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6725
+ throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6329
6726
  }
6330
6727
  /**
6331
6728
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -6354,14 +6751,14 @@ var ConsumerEventTag = class extends TagAbstract45 {
6354
6751
  if (statusCode >= 0 && statusCode <= 999) {
6355
6752
  throw new CommonMessageException(await response.json());
6356
6753
  }
6357
- throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6754
+ throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6358
6755
  }
6359
6756
  };
6360
6757
 
6361
6758
  // src/ConsumerFormTag.ts
6362
- import { TagAbstract as TagAbstract46 } from "sdkgen-client";
6363
- import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
6364
- var ConsumerFormTag = class extends TagAbstract46 {
6759
+ import { TagAbstract as TagAbstract48 } from "sdkgen-client";
6760
+ import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
6761
+ var ConsumerFormTag = class extends TagAbstract48 {
6365
6762
  /**
6366
6763
  * Returns a specific form for the authenticated user
6367
6764
  *
@@ -6387,7 +6784,7 @@ var ConsumerFormTag = class extends TagAbstract46 {
6387
6784
  if (statusCode >= 0 && statusCode <= 999) {
6388
6785
  throw new CommonMessageException(await response.json());
6389
6786
  }
6390
- throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6787
+ throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6391
6788
  }
6392
6789
  /**
6393
6790
  * Returns a paginated list of forms which are relevant to the authenticated user
@@ -6416,14 +6813,14 @@ var ConsumerFormTag = class extends TagAbstract46 {
6416
6813
  if (statusCode >= 0 && statusCode <= 999) {
6417
6814
  throw new CommonMessageException(await response.json());
6418
6815
  }
6419
- throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6816
+ throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6420
6817
  }
6421
6818
  };
6422
6819
 
6423
6820
  // src/ConsumerGrantTag.ts
6424
- import { TagAbstract as TagAbstract47 } from "sdkgen-client";
6425
- import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
6426
- var ConsumerGrantTag = class extends TagAbstract47 {
6821
+ import { TagAbstract as TagAbstract49 } from "sdkgen-client";
6822
+ import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
6823
+ var ConsumerGrantTag = class extends TagAbstract49 {
6427
6824
  /**
6428
6825
  * Deletes an existing grant for an app which was created by the authenticated user
6429
6826
  *
@@ -6449,7 +6846,7 @@ var ConsumerGrantTag = class extends TagAbstract47 {
6449
6846
  if (statusCode >= 0 && statusCode <= 999) {
6450
6847
  throw new CommonMessageException(await response.json());
6451
6848
  }
6452
- throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6849
+ throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6453
6850
  }
6454
6851
  /**
6455
6852
  * Returns a paginated list of grants which are assigned to the authenticated user
@@ -6478,14 +6875,14 @@ var ConsumerGrantTag = class extends TagAbstract47 {
6478
6875
  if (statusCode >= 0 && statusCode <= 999) {
6479
6876
  throw new CommonMessageException(await response.json());
6480
6877
  }
6481
- throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6878
+ throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6482
6879
  }
6483
6880
  };
6484
6881
 
6485
6882
  // src/ConsumerIdentityTag.ts
6486
- import { TagAbstract as TagAbstract48 } from "sdkgen-client";
6487
- import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
6488
- var ConsumerIdentityTag = class extends TagAbstract48 {
6883
+ import { TagAbstract as TagAbstract50 } from "sdkgen-client";
6884
+ import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
6885
+ var ConsumerIdentityTag = class extends TagAbstract50 {
6489
6886
  /**
6490
6887
  * Identity callback endpoint to exchange an access token
6491
6888
  *
@@ -6511,7 +6908,7 @@ var ConsumerIdentityTag = class extends TagAbstract48 {
6511
6908
  if (statusCode >= 0 && statusCode <= 999) {
6512
6909
  throw new CommonMessageException(await response.json());
6513
6910
  }
6514
- throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6911
+ throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
6515
6912
  }
6516
6913
  /**
6517
6914
  * Returns a paginated list of identities which are relevant to the authenticated user
@@ -6539,7 +6936,7 @@ var ConsumerIdentityTag = class extends TagAbstract48 {
6539
6936
  if (statusCode >= 0 && statusCode <= 999) {
6540
6937
  throw new CommonMessageException(await response.json());
6541
6938
  }
6542
- throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6939
+ throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
6543
6940
  }
6544
6941
  /**
6545
6942
  * Redirect the user to the configured identity provider
@@ -6566,14 +6963,14 @@ var ConsumerIdentityTag = class extends TagAbstract48 {
6566
6963
  if (statusCode >= 0 && statusCode <= 999) {
6567
6964
  throw new CommonMessageException(await response.json());
6568
6965
  }
6569
- throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6966
+ throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
6570
6967
  }
6571
6968
  };
6572
6969
 
6573
6970
  // src/ConsumerLogTag.ts
6574
- import { TagAbstract as TagAbstract49 } from "sdkgen-client";
6575
- import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
6576
- var ConsumerLogTag = class extends TagAbstract49 {
6971
+ import { TagAbstract as TagAbstract51 } from "sdkgen-client";
6972
+ import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
6973
+ var ConsumerLogTag = class extends TagAbstract51 {
6577
6974
  /**
6578
6975
  * Returns a specific log for the authenticated user
6579
6976
  *
@@ -6599,7 +6996,7 @@ var ConsumerLogTag = class extends TagAbstract49 {
6599
6996
  if (statusCode >= 0 && statusCode <= 999) {
6600
6997
  throw new CommonMessageException(await response.json());
6601
6998
  }
6602
- throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6999
+ throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
6603
7000
  }
6604
7001
  /**
6605
7002
  * Returns a paginated list of logs which are assigned to the authenticated user
@@ -6628,14 +7025,14 @@ var ConsumerLogTag = class extends TagAbstract49 {
6628
7025
  if (statusCode >= 0 && statusCode <= 999) {
6629
7026
  throw new CommonMessageException(await response.json());
6630
7027
  }
6631
- throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
7028
+ throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
6632
7029
  }
6633
7030
  };
6634
7031
 
6635
7032
  // src/ConsumerPageTag.ts
6636
- import { TagAbstract as TagAbstract50 } from "sdkgen-client";
6637
- import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
6638
- var ConsumerPageTag = class extends TagAbstract50 {
7033
+ import { TagAbstract as TagAbstract52 } from "sdkgen-client";
7034
+ import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
7035
+ var ConsumerPageTag = class extends TagAbstract52 {
6639
7036
  /**
6640
7037
  * Returns a specific page for the authenticated user
6641
7038
  *
@@ -6661,7 +7058,7 @@ var ConsumerPageTag = class extends TagAbstract50 {
6661
7058
  if (statusCode >= 0 && statusCode <= 999) {
6662
7059
  throw new CommonMessageException(await response.json());
6663
7060
  }
6664
- throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
7061
+ throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
6665
7062
  }
6666
7063
  /**
6667
7064
  * Returns a paginated list of pages which are relevant to the authenticated user
@@ -6690,14 +7087,14 @@ var ConsumerPageTag = class extends TagAbstract50 {
6690
7087
  if (statusCode >= 0 && statusCode <= 999) {
6691
7088
  throw new CommonMessageException(await response.json());
6692
7089
  }
6693
- throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
7090
+ throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
6694
7091
  }
6695
7092
  };
6696
7093
 
6697
7094
  // src/ConsumerPaymentTag.ts
6698
- import { TagAbstract as TagAbstract51 } from "sdkgen-client";
6699
- import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
6700
- var ConsumerPaymentTag = class extends TagAbstract51 {
7095
+ import { TagAbstract as TagAbstract53 } from "sdkgen-client";
7096
+ import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
7097
+ var ConsumerPaymentTag = class extends TagAbstract53 {
6701
7098
  /**
6702
7099
  * Start the checkout process for a specific plan
6703
7100
  *
@@ -6726,7 +7123,7 @@ var ConsumerPaymentTag = class extends TagAbstract51 {
6726
7123
  if (statusCode >= 0 && statusCode <= 999) {
6727
7124
  throw new CommonMessageException(await response.json());
6728
7125
  }
6729
- throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
7126
+ throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
6730
7127
  }
6731
7128
  /**
6732
7129
  * Generates a payment portal link for the authenticated user
@@ -6756,14 +7153,14 @@ var ConsumerPaymentTag = class extends TagAbstract51 {
6756
7153
  if (statusCode >= 0 && statusCode <= 999) {
6757
7154
  throw new CommonMessageException(await response.json());
6758
7155
  }
6759
- throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
7156
+ throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
6760
7157
  }
6761
7158
  };
6762
7159
 
6763
7160
  // src/ConsumerPlanTag.ts
6764
- import { TagAbstract as TagAbstract52 } from "sdkgen-client";
6765
- import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
6766
- var ConsumerPlanTag = class extends TagAbstract52 {
7161
+ import { TagAbstract as TagAbstract54 } from "sdkgen-client";
7162
+ import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
7163
+ var ConsumerPlanTag = class extends TagAbstract54 {
6767
7164
  /**
6768
7165
  * Returns a specific plan for the authenticated user
6769
7166
  *
@@ -6789,7 +7186,7 @@ var ConsumerPlanTag = class extends TagAbstract52 {
6789
7186
  if (statusCode >= 0 && statusCode <= 999) {
6790
7187
  throw new CommonMessageException(await response.json());
6791
7188
  }
6792
- throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
7189
+ throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
6793
7190
  }
6794
7191
  /**
6795
7192
  * Returns a paginated list of plans which are relevant to the authenticated user
@@ -6818,14 +7215,14 @@ var ConsumerPlanTag = class extends TagAbstract52 {
6818
7215
  if (statusCode >= 0 && statusCode <= 999) {
6819
7216
  throw new CommonMessageException(await response.json());
6820
7217
  }
6821
- throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
7218
+ throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
6822
7219
  }
6823
7220
  };
6824
7221
 
6825
7222
  // src/ConsumerScopeTag.ts
6826
- import { TagAbstract as TagAbstract53 } from "sdkgen-client";
6827
- import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
6828
- var ConsumerScopeTag = class extends TagAbstract53 {
7223
+ import { TagAbstract as TagAbstract55 } from "sdkgen-client";
7224
+ import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
7225
+ var ConsumerScopeTag = class extends TagAbstract55 {
6829
7226
  /**
6830
7227
  * Returns a paginated list of scopes which are assigned to the authenticated user
6831
7228
  *
@@ -6853,7 +7250,7 @@ var ConsumerScopeTag = class extends TagAbstract53 {
6853
7250
  if (statusCode >= 0 && statusCode <= 999) {
6854
7251
  throw new CommonMessageException(await response.json());
6855
7252
  }
6856
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7253
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6857
7254
  }
6858
7255
  /**
6859
7256
  * Returns all scopes by category
@@ -6878,14 +7275,14 @@ var ConsumerScopeTag = class extends TagAbstract53 {
6878
7275
  if (statusCode >= 0 && statusCode <= 999) {
6879
7276
  throw new CommonMessageException(await response.json());
6880
7277
  }
6881
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7278
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6882
7279
  }
6883
7280
  };
6884
7281
 
6885
7282
  // src/ConsumerTokenTag.ts
6886
- import { TagAbstract as TagAbstract54 } from "sdkgen-client";
6887
- import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
6888
- var ConsumerTokenTag = class extends TagAbstract54 {
7283
+ import { TagAbstract as TagAbstract56 } from "sdkgen-client";
7284
+ import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
7285
+ var ConsumerTokenTag = class extends TagAbstract56 {
6889
7286
  /**
6890
7287
  * Creates a new token for the authenticated user
6891
7288
  *
@@ -6912,7 +7309,7 @@ var ConsumerTokenTag = class extends TagAbstract54 {
6912
7309
  if (statusCode >= 0 && statusCode <= 999) {
6913
7310
  throw new CommonMessageException(await response.json());
6914
7311
  }
6915
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7312
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
6916
7313
  }
6917
7314
  /**
6918
7315
  * Deletes an existing token for the authenticated user
@@ -6939,7 +7336,7 @@ var ConsumerTokenTag = class extends TagAbstract54 {
6939
7336
  if (statusCode >= 0 && statusCode <= 999) {
6940
7337
  throw new CommonMessageException(await response.json());
6941
7338
  }
6942
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7339
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
6943
7340
  }
6944
7341
  /**
6945
7342
  * Returns a specific token for the authenticated user
@@ -6966,7 +7363,7 @@ var ConsumerTokenTag = class extends TagAbstract54 {
6966
7363
  if (statusCode >= 0 && statusCode <= 999) {
6967
7364
  throw new CommonMessageException(await response.json());
6968
7365
  }
6969
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7366
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
6970
7367
  }
6971
7368
  /**
6972
7369
  * Returns a paginated list of tokens which are assigned to the authenticated user
@@ -6995,7 +7392,7 @@ var ConsumerTokenTag = class extends TagAbstract54 {
6995
7392
  if (statusCode >= 0 && statusCode <= 999) {
6996
7393
  throw new CommonMessageException(await response.json());
6997
7394
  }
6998
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7395
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
6999
7396
  }
7000
7397
  /**
7001
7398
  * Updates an existing token for the authenticated user
@@ -7025,14 +7422,14 @@ var ConsumerTokenTag = class extends TagAbstract54 {
7025
7422
  if (statusCode >= 0 && statusCode <= 999) {
7026
7423
  throw new CommonMessageException(await response.json());
7027
7424
  }
7028
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7425
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7029
7426
  }
7030
7427
  };
7031
7428
 
7032
7429
  // src/ConsumerTransactionTag.ts
7033
- import { TagAbstract as TagAbstract55 } from "sdkgen-client";
7034
- import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
7035
- var ConsumerTransactionTag = class extends TagAbstract55 {
7430
+ import { TagAbstract as TagAbstract57 } from "sdkgen-client";
7431
+ import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
7432
+ var ConsumerTransactionTag = class extends TagAbstract57 {
7036
7433
  /**
7037
7434
  * Returns a specific transaction for the authenticated user
7038
7435
  *
@@ -7058,7 +7455,7 @@ var ConsumerTransactionTag = class extends TagAbstract55 {
7058
7455
  if (statusCode >= 0 && statusCode <= 999) {
7059
7456
  throw new CommonMessageException(await response.json());
7060
7457
  }
7061
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7458
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7062
7459
  }
7063
7460
  /**
7064
7461
  * Returns a paginated list of transactions which are assigned to the authenticated user
@@ -7087,14 +7484,14 @@ var ConsumerTransactionTag = class extends TagAbstract55 {
7087
7484
  if (statusCode >= 0 && statusCode <= 999) {
7088
7485
  throw new CommonMessageException(await response.json());
7089
7486
  }
7090
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7487
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7091
7488
  }
7092
7489
  };
7093
7490
 
7094
7491
  // src/ConsumerWebhookTag.ts
7095
- import { TagAbstract as TagAbstract56 } from "sdkgen-client";
7096
- import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
7097
- var ConsumerWebhookTag = class extends TagAbstract56 {
7492
+ import { TagAbstract as TagAbstract58 } from "sdkgen-client";
7493
+ import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
7494
+ var ConsumerWebhookTag = class extends TagAbstract58 {
7098
7495
  /**
7099
7496
  * Creates a new webhook for the authenticated user
7100
7497
  *
@@ -7121,7 +7518,7 @@ var ConsumerWebhookTag = class extends TagAbstract56 {
7121
7518
  if (statusCode >= 0 && statusCode <= 999) {
7122
7519
  throw new CommonMessageException(await response.json());
7123
7520
  }
7124
- throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7521
+ throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7125
7522
  }
7126
7523
  /**
7127
7524
  * Deletes an existing webhook for the authenticated user
@@ -7148,7 +7545,7 @@ var ConsumerWebhookTag = class extends TagAbstract56 {
7148
7545
  if (statusCode >= 0 && statusCode <= 999) {
7149
7546
  throw new CommonMessageException(await response.json());
7150
7547
  }
7151
- throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7548
+ throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7152
7549
  }
7153
7550
  /**
7154
7551
  * Returns a specific webhook for the authenticated user
@@ -7175,7 +7572,7 @@ var ConsumerWebhookTag = class extends TagAbstract56 {
7175
7572
  if (statusCode >= 0 && statusCode <= 999) {
7176
7573
  throw new CommonMessageException(await response.json());
7177
7574
  }
7178
- throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7575
+ throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7179
7576
  }
7180
7577
  /**
7181
7578
  * Returns a paginated list of webhooks which are assigned to the authenticated user
@@ -7204,7 +7601,7 @@ var ConsumerWebhookTag = class extends TagAbstract56 {
7204
7601
  if (statusCode >= 0 && statusCode <= 999) {
7205
7602
  throw new CommonMessageException(await response.json());
7206
7603
  }
7207
- throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7604
+ throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7208
7605
  }
7209
7606
  /**
7210
7607
  * Updates an existing webhook for the authenticated user
@@ -7234,12 +7631,12 @@ var ConsumerWebhookTag = class extends TagAbstract56 {
7234
7631
  if (statusCode >= 0 && statusCode <= 999) {
7235
7632
  throw new CommonMessageException(await response.json());
7236
7633
  }
7237
- throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7634
+ throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7238
7635
  }
7239
7636
  };
7240
7637
 
7241
7638
  // src/ConsumerTag.ts
7242
- var ConsumerTag = class extends TagAbstract57 {
7639
+ var ConsumerTag = class extends TagAbstract59 {
7243
7640
  account() {
7244
7641
  return new ConsumerAccountTag(
7245
7642
  this.httpClient,
@@ -7327,12 +7724,12 @@ var ConsumerTag = class extends TagAbstract57 {
7327
7724
  };
7328
7725
 
7329
7726
  // src/SystemTag.ts
7330
- import { TagAbstract as TagAbstract61 } from "sdkgen-client";
7727
+ import { TagAbstract as TagAbstract63 } from "sdkgen-client";
7331
7728
 
7332
7729
  // src/SystemConnectionTag.ts
7333
- import { TagAbstract as TagAbstract58 } from "sdkgen-client";
7334
- import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
7335
- var SystemConnectionTag = class extends TagAbstract58 {
7730
+ import { TagAbstract as TagAbstract60 } from "sdkgen-client";
7731
+ import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
7732
+ var SystemConnectionTag = class extends TagAbstract60 {
7336
7733
  /**
7337
7734
  * Connection OAuth2 callback to authorize a connection
7338
7735
  *
@@ -7358,14 +7755,14 @@ var SystemConnectionTag = class extends TagAbstract58 {
7358
7755
  if (statusCode >= 0 && statusCode <= 999) {
7359
7756
  throw new CommonMessageException(await response.json());
7360
7757
  }
7361
- throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7758
+ throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7362
7759
  }
7363
7760
  };
7364
7761
 
7365
7762
  // src/SystemMetaTag.ts
7366
- import { TagAbstract as TagAbstract59 } from "sdkgen-client";
7367
- import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
7368
- var SystemMetaTag = class extends TagAbstract59 {
7763
+ import { TagAbstract as TagAbstract61 } from "sdkgen-client";
7764
+ import { UnknownStatusCodeException as UnknownStatusCodeException58 } from "sdkgen-client";
7765
+ var SystemMetaTag = class extends TagAbstract61 {
7369
7766
  /**
7370
7767
  * Returns meta information and links about the current installed Fusio version
7371
7768
  *
@@ -7389,7 +7786,7 @@ var SystemMetaTag = class extends TagAbstract59 {
7389
7786
  if (statusCode >= 0 && statusCode <= 999) {
7390
7787
  throw new CommonMessageException(await response.json());
7391
7788
  }
7392
- throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7789
+ throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
7393
7790
  }
7394
7791
  /**
7395
7792
  * Debug endpoint which returns the provided data
@@ -7417,7 +7814,7 @@ var SystemMetaTag = class extends TagAbstract59 {
7417
7814
  if (statusCode >= 0 && statusCode <= 999) {
7418
7815
  throw new CommonMessageException(await response.json());
7419
7816
  }
7420
- throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7817
+ throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
7421
7818
  }
7422
7819
  /**
7423
7820
  * Health check endpoint which returns information about the health status of the system
@@ -7442,7 +7839,7 @@ var SystemMetaTag = class extends TagAbstract59 {
7442
7839
  if (statusCode >= 0 && statusCode <= 999) {
7443
7840
  throw new CommonMessageException(await response.json());
7444
7841
  }
7445
- throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7842
+ throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
7446
7843
  }
7447
7844
  /**
7448
7845
  * Returns all available routes
@@ -7467,7 +7864,7 @@ var SystemMetaTag = class extends TagAbstract59 {
7467
7864
  if (statusCode >= 0 && statusCode <= 999) {
7468
7865
  throw new CommonMessageException(await response.json());
7469
7866
  }
7470
- throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7867
+ throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
7471
7868
  }
7472
7869
  /**
7473
7870
  * Returns details of a specific schema
@@ -7494,14 +7891,14 @@ var SystemMetaTag = class extends TagAbstract59 {
7494
7891
  if (statusCode >= 0 && statusCode <= 999) {
7495
7892
  throw new CommonMessageException(await response.json());
7496
7893
  }
7497
- throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7894
+ throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
7498
7895
  }
7499
7896
  };
7500
7897
 
7501
7898
  // src/SystemPaymentTag.ts
7502
- import { TagAbstract as TagAbstract60 } from "sdkgen-client";
7503
- import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
7504
- var SystemPaymentTag = class extends TagAbstract60 {
7899
+ import { TagAbstract as TagAbstract62 } from "sdkgen-client";
7900
+ import { UnknownStatusCodeException as UnknownStatusCodeException59 } from "sdkgen-client";
7901
+ var SystemPaymentTag = class extends TagAbstract62 {
7505
7902
  /**
7506
7903
  * Payment webhook endpoint after successful purchase of a plan
7507
7904
  *
@@ -7527,12 +7924,12 @@ var SystemPaymentTag = class extends TagAbstract60 {
7527
7924
  if (statusCode >= 0 && statusCode <= 999) {
7528
7925
  throw new CommonMessageException(await response.json());
7529
7926
  }
7530
- throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7927
+ throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
7531
7928
  }
7532
7929
  };
7533
7930
 
7534
7931
  // src/SystemTag.ts
7535
- var SystemTag = class extends TagAbstract61 {
7932
+ var SystemTag = class extends TagAbstract63 {
7536
7933
  connection() {
7537
7934
  return new SystemConnectionTag(
7538
7935
  this.httpClient,
@@ -7590,6 +7987,7 @@ export {
7590
7987
  BackendAppTag,
7591
7988
  BackendAuditTag,
7592
7989
  BackendBackupTag,
7990
+ BackendBundleTag,
7593
7991
  BackendCategoryTag,
7594
7992
  BackendConfigTag,
7595
7993
  BackendConnectionDatabaseTag,
@@ -7607,6 +8005,7 @@ export {
7607
8005
  BackendLogTag,
7608
8006
  BackendMarketplaceActionTag,
7609
8007
  BackendMarketplaceAppTag,
8008
+ BackendMarketplaceBundleTag,
7610
8009
  BackendMarketplaceTag,
7611
8010
  BackendOperationTag,
7612
8011
  BackendPageTag,