fusio-sdk 5.1.17 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -28,10 +28,13 @@ __export(index_exports, {
28
28
  BackendBackupTag: () => BackendBackupTag,
29
29
  BackendCategoryTag: () => BackendCategoryTag,
30
30
  BackendConfigTag: () => BackendConfigTag,
31
+ BackendConnectionDatabaseTag: () => BackendConnectionDatabaseTag,
32
+ BackendConnectionFilesystemTag: () => BackendConnectionFilesystemTag,
33
+ BackendConnectionHttpTag: () => BackendConnectionHttpTag,
34
+ BackendConnectionSdkTag: () => BackendConnectionSdkTag,
31
35
  BackendConnectionTag: () => BackendConnectionTag,
32
36
  BackendCronjobTag: () => BackendCronjobTag,
33
37
  BackendDashboardTag: () => BackendDashboardTag,
34
- BackendDatabaseTag: () => BackendDatabaseTag,
35
38
  BackendEventTag: () => BackendEventTag,
36
39
  BackendFirewallTag: () => BackendFirewallTag,
37
40
  BackendFormTag: () => BackendFormTag,
@@ -101,6 +104,8 @@ var CommonMessageException = class extends import_sdkgen_client.KnownStatusCodeE
101
104
  // src/AuthorizationTag.ts
102
105
  var AuthorizationTag = class extends import_sdkgen_client2.TagAbstract {
103
106
  /**
107
+ * Returns user data of the current authenticated user
108
+ *
104
109
  * @returns {Promise<BackendUser>}
105
110
  * @throws {CommonMessageException}
106
111
  * @throws {ClientException}
@@ -124,6 +129,8 @@ var AuthorizationTag = class extends import_sdkgen_client2.TagAbstract {
124
129
  throw new import_sdkgen_client3.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
125
130
  }
126
131
  /**
132
+ * Revoke the access token of the current authenticated user
133
+ *
127
134
  * @returns {Promise<CommonMessage>}
128
135
  * @throws {CommonMessageException}
129
136
  * @throws {ClientException}
@@ -153,6 +160,8 @@ var import_sdkgen_client4 = require("sdkgen-client");
153
160
  var import_sdkgen_client5 = require("sdkgen-client");
154
161
  var BackendAccountTag = class extends import_sdkgen_client4.TagAbstract {
155
162
  /**
163
+ * Changes the password of the authenticated user
164
+ *
156
165
  * @returns {Promise<CommonMessage>}
157
166
  * @throws {CommonMessageException}
158
167
  * @throws {ClientException}
@@ -179,6 +188,8 @@ var BackendAccountTag = class extends import_sdkgen_client4.TagAbstract {
179
188
  throw new import_sdkgen_client5.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
180
189
  }
181
190
  /**
191
+ * Returns user data of the authenticated user
192
+ *
182
193
  * @returns {Promise<BackendUser>}
183
194
  * @throws {CommonMessageException}
184
195
  * @throws {ClientException}
@@ -202,6 +213,8 @@ var BackendAccountTag = class extends import_sdkgen_client4.TagAbstract {
202
213
  throw new import_sdkgen_client5.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
203
214
  }
204
215
  /**
216
+ * Updates user data of the authenticated user
217
+ *
205
218
  * @returns {Promise<CommonMessage>}
206
219
  * @throws {CommonMessageException}
207
220
  * @throws {ClientException}
@@ -234,6 +247,8 @@ var import_sdkgen_client6 = require("sdkgen-client");
234
247
  var import_sdkgen_client7 = require("sdkgen-client");
235
248
  var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
236
249
  /**
250
+ * Creates a new action
251
+ *
237
252
  * @returns {Promise<CommonMessage>}
238
253
  * @throws {CommonMessageException}
239
254
  * @throws {ClientException}
@@ -260,6 +275,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
260
275
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
261
276
  }
262
277
  /**
278
+ * Deletes an existing action
279
+ *
263
280
  * @returns {Promise<CommonMessage>}
264
281
  * @throws {CommonMessageException}
265
282
  * @throws {ClientException}
@@ -285,6 +302,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
285
302
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
286
303
  }
287
304
  /**
305
+ * Executes a specific action
306
+ *
288
307
  * @returns {Promise<BackendActionExecuteResponse>}
289
308
  * @throws {CommonMessageException}
290
309
  * @throws {ClientException}
@@ -313,6 +332,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
313
332
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
314
333
  }
315
334
  /**
335
+ * Returns a specific action
336
+ *
316
337
  * @returns {Promise<BackendAction>}
317
338
  * @throws {CommonMessageException}
318
339
  * @throws {ClientException}
@@ -338,6 +359,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
338
359
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
339
360
  }
340
361
  /**
362
+ * Returns a paginated list of actions
363
+ *
341
364
  * @returns {Promise<BackendActionCollection>}
342
365
  * @throws {CommonMessageException}
343
366
  * @throws {ClientException}
@@ -365,6 +388,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
365
388
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
366
389
  }
367
390
  /**
391
+ * Returns all available action classes
392
+ *
368
393
  * @returns {Promise<BackendActionIndex>}
369
394
  * @throws {CommonMessageException}
370
395
  * @throws {ClientException}
@@ -388,6 +413,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
388
413
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
389
414
  }
390
415
  /**
416
+ * Returns the action config form
417
+ *
391
418
  * @returns {Promise<CommonFormContainer>}
392
419
  * @throws {CommonMessageException}
393
420
  * @throws {ClientException}
@@ -413,6 +440,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
413
440
  throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
414
441
  }
415
442
  /**
443
+ * Updates an existing action
444
+ *
416
445
  * @returns {Promise<CommonMessage>}
417
446
  * @throws {CommonMessageException}
418
447
  * @throws {ClientException}
@@ -447,6 +476,8 @@ var import_sdkgen_client8 = require("sdkgen-client");
447
476
  var import_sdkgen_client9 = require("sdkgen-client");
448
477
  var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
449
478
  /**
479
+ * Creates a new app
480
+ *
450
481
  * @returns {Promise<CommonMessage>}
451
482
  * @throws {CommonMessageException}
452
483
  * @throws {ClientException}
@@ -473,6 +504,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
473
504
  throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
474
505
  }
475
506
  /**
507
+ * Deletes an existing app
508
+ *
476
509
  * @returns {Promise<CommonMessage>}
477
510
  * @throws {CommonMessageException}
478
511
  * @throws {ClientException}
@@ -498,6 +531,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
498
531
  throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
499
532
  }
500
533
  /**
534
+ * Deletes an existing token from an app
535
+ *
501
536
  * @returns {Promise<CommonMessage>}
502
537
  * @throws {CommonMessageException}
503
538
  * @throws {ClientException}
@@ -524,6 +559,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
524
559
  throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
525
560
  }
526
561
  /**
562
+ * Returns a specific app
563
+ *
527
564
  * @returns {Promise<BackendApp>}
528
565
  * @throws {CommonMessageException}
529
566
  * @throws {ClientException}
@@ -549,6 +586,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
549
586
  throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
550
587
  }
551
588
  /**
589
+ * Returns a paginated list of apps
590
+ *
552
591
  * @returns {Promise<BackendAppCollection>}
553
592
  * @throws {CommonMessageException}
554
593
  * @throws {ClientException}
@@ -576,6 +615,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
576
615
  throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
577
616
  }
578
617
  /**
618
+ * Updates an existing app
619
+ *
579
620
  * @returns {Promise<CommonMessage>}
580
621
  * @throws {CommonMessageException}
581
622
  * @throws {ClientException}
@@ -610,6 +651,8 @@ var import_sdkgen_client10 = require("sdkgen-client");
610
651
  var import_sdkgen_client11 = require("sdkgen-client");
611
652
  var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
612
653
  /**
654
+ * Returns a specific audit
655
+ *
613
656
  * @returns {Promise<BackendAudit>}
614
657
  * @throws {CommonMessageException}
615
658
  * @throws {ClientException}
@@ -635,6 +678,8 @@ var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
635
678
  throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
636
679
  }
637
680
  /**
681
+ * Returns a paginated list of audits
682
+ *
638
683
  * @returns {Promise<BackendAuditCollection>}
639
684
  * @throws {CommonMessageException}
640
685
  * @throws {ClientException}
@@ -675,6 +720,8 @@ var import_sdkgen_client12 = require("sdkgen-client");
675
720
  var import_sdkgen_client13 = require("sdkgen-client");
676
721
  var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
677
722
  /**
723
+ * Generates an backup of the current system
724
+ *
678
725
  * @returns {Promise<BackendBackupExport>}
679
726
  * @throws {CommonMessageException}
680
727
  * @throws {ClientException}
@@ -698,6 +745,8 @@ var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
698
745
  throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
699
746
  }
700
747
  /**
748
+ * Imports an backup to the current system
749
+ *
701
750
  * @returns {Promise<BackendBackupImportResult>}
702
751
  * @throws {CommonMessageException}
703
752
  * @throws {ClientException}
@@ -730,6 +779,8 @@ var import_sdkgen_client14 = require("sdkgen-client");
730
779
  var import_sdkgen_client15 = require("sdkgen-client");
731
780
  var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
732
781
  /**
782
+ * Creates a new category
783
+ *
733
784
  * @returns {Promise<CommonMessage>}
734
785
  * @throws {CommonMessageException}
735
786
  * @throws {ClientException}
@@ -756,6 +807,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
756
807
  throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
757
808
  }
758
809
  /**
810
+ * Deletes an existing category
811
+ *
759
812
  * @returns {Promise<CommonMessage>}
760
813
  * @throws {CommonMessageException}
761
814
  * @throws {ClientException}
@@ -781,6 +834,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
781
834
  throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
782
835
  }
783
836
  /**
837
+ * Returns a specific category
838
+ *
784
839
  * @returns {Promise<BackendCategory>}
785
840
  * @throws {CommonMessageException}
786
841
  * @throws {ClientException}
@@ -806,6 +861,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
806
861
  throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
807
862
  }
808
863
  /**
864
+ * Returns a paginated list of categories
865
+ *
809
866
  * @returns {Promise<BackendCategoryCollection>}
810
867
  * @throws {CommonMessageException}
811
868
  * @throws {ClientException}
@@ -833,6 +890,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
833
890
  throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
834
891
  }
835
892
  /**
893
+ * Updates an existing category
894
+ *
836
895
  * @returns {Promise<CommonMessage>}
837
896
  * @throws {CommonMessageException}
838
897
  * @throws {ClientException}
@@ -867,6 +926,8 @@ var import_sdkgen_client16 = require("sdkgen-client");
867
926
  var import_sdkgen_client17 = require("sdkgen-client");
868
927
  var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
869
928
  /**
929
+ * Returns a specific config
930
+ *
870
931
  * @returns {Promise<BackendConfig>}
871
932
  * @throws {CommonMessageException}
872
933
  * @throws {ClientException}
@@ -892,6 +953,8 @@ var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
892
953
  throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
893
954
  }
894
955
  /**
956
+ * Returns a paginated list of configuration values
957
+ *
895
958
  * @returns {Promise<BackendConfigCollection>}
896
959
  * @throws {CommonMessageException}
897
960
  * @throws {ClientException}
@@ -919,6 +982,8 @@ var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
919
982
  throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
920
983
  }
921
984
  /**
985
+ * Updates an existing config value
986
+ *
922
987
  * @returns {Promise<CommonMessage>}
923
988
  * @throws {CommonMessageException}
924
989
  * @throws {ClientException}
@@ -948,17 +1013,22 @@ var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
948
1013
  }
949
1014
  };
950
1015
 
951
- // src/BackendConnectionTag.ts
1016
+ // src/BackendConnectionDatabaseTag.ts
952
1017
  var import_sdkgen_client18 = require("sdkgen-client");
953
1018
  var import_sdkgen_client19 = require("sdkgen-client");
954
- var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1019
+ var BackendConnectionDatabaseTag = class extends import_sdkgen_client18.TagAbstract {
955
1020
  /**
1021
+ * Creates a new row at a table on a database
1022
+ *
956
1023
  * @returns {Promise<CommonMessage>}
957
1024
  * @throws {CommonMessageException}
958
1025
  * @throws {ClientException}
959
1026
  */
960
- async create(payload) {
961
- const url = this.parser.url("/backend/connection", {});
1027
+ async createRow(connectionId, tableName, payload) {
1028
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name/rows", {
1029
+ "connection_id": connectionId,
1030
+ "table_name": tableName
1031
+ });
962
1032
  let request = {
963
1033
  url,
964
1034
  method: "POST",
@@ -979,14 +1049,48 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
979
1049
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
980
1050
  }
981
1051
  /**
1052
+ * Creates a new table on a database
1053
+ *
982
1054
  * @returns {Promise<CommonMessage>}
983
1055
  * @throws {CommonMessageException}
984
1056
  * @throws {ClientException}
985
1057
  */
986
- async delete(connectionId) {
987
- const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
1058
+ async createTable(connectionId, payload) {
1059
+ const url = this.parser.url("/backend/connection/:connection_id/database", {
988
1060
  "connection_id": connectionId
989
1061
  });
1062
+ let request = {
1063
+ url,
1064
+ method: "POST",
1065
+ headers: {
1066
+ "Content-Type": "application/json"
1067
+ },
1068
+ params: this.parser.query({}, []),
1069
+ data: payload
1070
+ };
1071
+ const response = await this.httpClient.request(request);
1072
+ if (response.ok) {
1073
+ return await response.json();
1074
+ }
1075
+ const statusCode = response.status;
1076
+ if (statusCode >= 0 && statusCode <= 999) {
1077
+ throw new CommonMessageException(await response.json());
1078
+ }
1079
+ throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1080
+ }
1081
+ /**
1082
+ * Deletes an existing row at a table on a database
1083
+ *
1084
+ * @returns {Promise<CommonMessage>}
1085
+ * @throws {CommonMessageException}
1086
+ * @throws {ClientException}
1087
+ */
1088
+ async deleteRow(connectionId, tableName, id) {
1089
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name/rows/:id", {
1090
+ "connection_id": connectionId,
1091
+ "table_name": tableName,
1092
+ "id": id
1093
+ });
990
1094
  let request = {
991
1095
  url,
992
1096
  method: "DELETE",
@@ -1004,13 +1108,45 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1004
1108
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1005
1109
  }
1006
1110
  /**
1007
- * @returns {Promise<BackendConnection>}
1111
+ * Deletes an existing table on a database
1112
+ *
1113
+ * @returns {Promise<CommonMessage>}
1008
1114
  * @throws {CommonMessageException}
1009
1115
  * @throws {ClientException}
1010
1116
  */
1011
- async get(connectionId) {
1012
- const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
1013
- "connection_id": connectionId
1117
+ async deleteTable(connectionId, tableName) {
1118
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name", {
1119
+ "connection_id": connectionId,
1120
+ "table_name": tableName
1121
+ });
1122
+ let request = {
1123
+ url,
1124
+ method: "DELETE",
1125
+ headers: {},
1126
+ params: this.parser.query({}, [])
1127
+ };
1128
+ const response = await this.httpClient.request(request);
1129
+ if (response.ok) {
1130
+ return await response.json();
1131
+ }
1132
+ const statusCode = response.status;
1133
+ if (statusCode >= 0 && statusCode <= 999) {
1134
+ throw new CommonMessageException(await response.json());
1135
+ }
1136
+ throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1137
+ }
1138
+ /**
1139
+ * Returns a specific row at a table on a database
1140
+ *
1141
+ * @returns {Promise<BackendDatabaseRow>}
1142
+ * @throws {CommonMessageException}
1143
+ * @throws {ClientException}
1144
+ */
1145
+ async getRow(connectionId, tableName, id) {
1146
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name/rows/:id", {
1147
+ "connection_id": connectionId,
1148
+ "table_name": tableName,
1149
+ "id": id
1014
1150
  });
1015
1151
  let request = {
1016
1152
  url,
@@ -1029,12 +1165,17 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1029
1165
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1030
1166
  }
1031
1167
  /**
1032
- * @returns {Promise<BackendConnectionCollection>}
1168
+ * Returns paginated rows at a table on a database
1169
+ *
1170
+ * @returns {Promise<BackendDatabaseRowCollection>}
1033
1171
  * @throws {CommonMessageException}
1034
1172
  * @throws {ClientException}
1035
1173
  */
1036
- async getAll(startIndex, count, search, _class) {
1037
- const url = this.parser.url("/backend/connection", {});
1174
+ async getRows(connectionId, tableName, startIndex, count, filterBy, filterOp, filterValue, sortBy, sortOrder, columns) {
1175
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name/rows", {
1176
+ "connection_id": connectionId,
1177
+ "table_name": tableName
1178
+ });
1038
1179
  let request = {
1039
1180
  url,
1040
1181
  method: "GET",
@@ -1042,8 +1183,12 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1042
1183
  params: this.parser.query({
1043
1184
  "startIndex": startIndex,
1044
1185
  "count": count,
1045
- "search": search,
1046
- "class": _class
1186
+ "filterBy": filterBy,
1187
+ "filterOp": filterOp,
1188
+ "filterValue": filterValue,
1189
+ "sortBy": sortBy,
1190
+ "sortOrder": sortOrder,
1191
+ "columns": columns
1047
1192
  }, [])
1048
1193
  };
1049
1194
  const response = await this.httpClient.request(request);
@@ -1057,12 +1202,17 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1057
1202
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1058
1203
  }
1059
1204
  /**
1060
- * @returns {Promise<BackendConnectionIndex>}
1205
+ * Returns the schema of a specific table on a database
1206
+ *
1207
+ * @returns {Promise<BackendDatabaseTable>}
1061
1208
  * @throws {CommonMessageException}
1062
1209
  * @throws {ClientException}
1063
1210
  */
1064
- async getClasses() {
1065
- const url = this.parser.url("/backend/connection/list", {});
1211
+ async getTable(connectionId, tableName) {
1212
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name", {
1213
+ "connection_id": connectionId,
1214
+ "table_name": tableName
1215
+ });
1066
1216
  let request = {
1067
1217
  url,
1068
1218
  method: "GET",
@@ -1080,18 +1230,23 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1080
1230
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1081
1231
  }
1082
1232
  /**
1083
- * @returns {Promise<CommonFormContainer>}
1233
+ * Returns all available tables on a database
1234
+ *
1235
+ * @returns {Promise<BackendDatabaseTableCollection>}
1084
1236
  * @throws {CommonMessageException}
1085
1237
  * @throws {ClientException}
1086
1238
  */
1087
- async getForm(_class) {
1088
- const url = this.parser.url("/backend/connection/form", {});
1239
+ async getTables(connectionId, startIndex, count) {
1240
+ const url = this.parser.url("/backend/connection/:connection_id/database", {
1241
+ "connection_id": connectionId
1242
+ });
1089
1243
  let request = {
1090
1244
  url,
1091
1245
  method: "GET",
1092
1246
  headers: {},
1093
1247
  params: this.parser.query({
1094
- "class": _class
1248
+ "startIndex": startIndex,
1249
+ "count": count
1095
1250
  }, [])
1096
1251
  };
1097
1252
  const response = await this.httpClient.request(request);
@@ -1105,19 +1260,26 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1105
1260
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1106
1261
  }
1107
1262
  /**
1108
- * @returns {Promise<BackendConnectionRedirectResponse>}
1263
+ * Updates an existing row at a table on a database
1264
+ *
1265
+ * @returns {Promise<CommonMessage>}
1109
1266
  * @throws {CommonMessageException}
1110
1267
  * @throws {ClientException}
1111
1268
  */
1112
- async getRedirect(connectionId) {
1113
- const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>/redirect", {
1114
- "connection_id": connectionId
1269
+ async updateRow(connectionId, tableName, id, payload) {
1270
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name/rows/:id", {
1271
+ "connection_id": connectionId,
1272
+ "table_name": tableName,
1273
+ "id": id
1115
1274
  });
1116
1275
  let request = {
1117
1276
  url,
1118
- method: "GET",
1119
- headers: {},
1120
- params: this.parser.query({}, [])
1277
+ method: "PUT",
1278
+ headers: {
1279
+ "Content-Type": "application/json"
1280
+ },
1281
+ params: this.parser.query({}, []),
1282
+ data: payload
1121
1283
  };
1122
1284
  const response = await this.httpClient.request(request);
1123
1285
  if (response.ok) {
@@ -1130,13 +1292,16 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1130
1292
  throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1131
1293
  }
1132
1294
  /**
1295
+ * Updates an existing table on a database
1296
+ *
1133
1297
  * @returns {Promise<CommonMessage>}
1134
1298
  * @throws {CommonMessageException}
1135
1299
  * @throws {ClientException}
1136
1300
  */
1137
- async update(connectionId, payload) {
1138
- const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
1139
- "connection_id": connectionId
1301
+ async updateTable(connectionId, tableName, payload) {
1302
+ const url = this.parser.url("/backend/connection/:connection_id/database/:table_name", {
1303
+ "connection_id": connectionId,
1304
+ "table_name": tableName
1140
1305
  });
1141
1306
  let request = {
1142
1307
  url,
@@ -1159,23 +1324,25 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
1159
1324
  }
1160
1325
  };
1161
1326
 
1162
- // src/BackendCronjobTag.ts
1327
+ // src/BackendConnectionFilesystemTag.ts
1163
1328
  var import_sdkgen_client20 = require("sdkgen-client");
1164
1329
  var import_sdkgen_client21 = require("sdkgen-client");
1165
- var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
1330
+ var BackendConnectionFilesystemTag = class extends import_sdkgen_client20.TagAbstract {
1166
1331
  /**
1332
+ * Uploads one or more files on the filesystem connection
1333
+ *
1167
1334
  * @returns {Promise<CommonMessage>}
1168
1335
  * @throws {CommonMessageException}
1169
1336
  * @throws {ClientException}
1170
1337
  */
1171
- async create(payload) {
1172
- const url = this.parser.url("/backend/cronjob", {});
1338
+ async create(connectionId, payload) {
1339
+ const url = this.parser.url("/backend/connection/:connection_id/filesystem", {
1340
+ "connection_id": connectionId
1341
+ });
1173
1342
  let request = {
1174
1343
  url,
1175
1344
  method: "POST",
1176
- headers: {
1177
- "Content-Type": "application/json"
1178
- },
1345
+ headers: {},
1179
1346
  params: this.parser.query({}, []),
1180
1347
  data: payload
1181
1348
  };
@@ -1190,13 +1357,16 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
1190
1357
  throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1191
1358
  }
1192
1359
  /**
1360
+ * Deletes an existing file on the filesystem connection
1361
+ *
1193
1362
  * @returns {Promise<CommonMessage>}
1194
1363
  * @throws {CommonMessageException}
1195
1364
  * @throws {ClientException}
1196
1365
  */
1197
- async delete(cronjobId) {
1198
- const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
1199
- "cronjob_id": cronjobId
1366
+ async delete(connectionId, fileId) {
1367
+ const url = this.parser.url("/backend/connection/:connection_id/filesystem/:file_id", {
1368
+ "connection_id": connectionId,
1369
+ "file_id": fileId
1200
1370
  });
1201
1371
  let request = {
1202
1372
  url,
@@ -1215,23 +1385,28 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
1215
1385
  throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1216
1386
  }
1217
1387
  /**
1218
- * @returns {Promise<BackendCronjob>}
1388
+ * Returns the content of the provided file id on the filesystem connection
1389
+ *
1390
+ * @returns {Promise<ArrayBuffer>}
1219
1391
  * @throws {CommonMessageException}
1220
1392
  * @throws {ClientException}
1221
1393
  */
1222
- async get(cronjobId) {
1223
- const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
1224
- "cronjob_id": cronjobId
1394
+ async get(connectionId, fileId) {
1395
+ const url = this.parser.url("/backend/connection/:connection_id/filesystem/:file_id", {
1396
+ "connection_id": connectionId,
1397
+ "file_id": fileId
1225
1398
  });
1226
1399
  let request = {
1227
1400
  url,
1228
1401
  method: "GET",
1229
- headers: {},
1402
+ headers: {
1403
+ "Accept": "application/octet-stream"
1404
+ },
1230
1405
  params: this.parser.query({}, [])
1231
1406
  };
1232
1407
  const response = await this.httpClient.request(request);
1233
1408
  if (response.ok) {
1234
- return await response.json();
1409
+ return await response.arrayBuffer();
1235
1410
  }
1236
1411
  const statusCode = response.status;
1237
1412
  if (statusCode >= 0 && statusCode <= 999) {
@@ -1240,20 +1415,23 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
1240
1415
  throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1241
1416
  }
1242
1417
  /**
1243
- * @returns {Promise<BackendCronjobCollection>}
1418
+ * Returns all available files on the filesystem connection
1419
+ *
1420
+ * @returns {Promise<BackendFileCollection>}
1244
1421
  * @throws {CommonMessageException}
1245
1422
  * @throws {ClientException}
1246
1423
  */
1247
- async getAll(startIndex, count, search) {
1248
- const url = this.parser.url("/backend/cronjob", {});
1424
+ async getAll(connectionId, startIndex, count) {
1425
+ const url = this.parser.url("/backend/connection/:connection_id/filesystem", {
1426
+ "connection_id": connectionId
1427
+ });
1249
1428
  let request = {
1250
1429
  url,
1251
1430
  method: "GET",
1252
1431
  headers: {},
1253
1432
  params: this.parser.query({
1254
1433
  "startIndex": startIndex,
1255
- "count": count,
1256
- "search": search
1434
+ "count": count
1257
1435
  }, [])
1258
1436
  };
1259
1437
  const response = await this.httpClient.request(request);
@@ -1267,20 +1445,21 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
1267
1445
  throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1268
1446
  }
1269
1447
  /**
1448
+ * Updates an existing file on the filesystem connection
1449
+ *
1270
1450
  * @returns {Promise<CommonMessage>}
1271
1451
  * @throws {CommonMessageException}
1272
1452
  * @throws {ClientException}
1273
1453
  */
1274
- async update(cronjobId, payload) {
1275
- const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
1276
- "cronjob_id": cronjobId
1454
+ async update(connectionId, fileId, payload) {
1455
+ const url = this.parser.url("/backend/connection/:connection_id/filesystem/:file_id", {
1456
+ "connection_id": connectionId,
1457
+ "file_id": fileId
1277
1458
  });
1278
1459
  let request = {
1279
1460
  url,
1280
1461
  method: "PUT",
1281
- headers: {
1282
- "Content-Type": "application/json"
1283
- },
1462
+ headers: {},
1284
1463
  params: this.parser.query({}, []),
1285
1464
  data: payload
1286
1465
  };
@@ -1296,22 +1475,29 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
1296
1475
  }
1297
1476
  };
1298
1477
 
1299
- // src/BackendDashboardTag.ts
1478
+ // src/BackendConnectionHttpTag.ts
1300
1479
  var import_sdkgen_client22 = require("sdkgen-client");
1301
1480
  var import_sdkgen_client23 = require("sdkgen-client");
1302
- var BackendDashboardTag = class extends import_sdkgen_client22.TagAbstract {
1481
+ var BackendConnectionHttpTag = class extends import_sdkgen_client22.TagAbstract {
1303
1482
  /**
1304
- * @returns {Promise<BackendDashboard>}
1483
+ * Sends an arbitrary HTTP request to the connection
1484
+ *
1485
+ * @returns {Promise<BackendHttpResponse>}
1305
1486
  * @throws {CommonMessageException}
1306
1487
  * @throws {ClientException}
1307
1488
  */
1308
- async getAll() {
1309
- const url = this.parser.url("/backend/dashboard", {});
1489
+ async execute(connectionId, payload) {
1490
+ const url = this.parser.url("/backend/connection/:connection_id/http", {
1491
+ "connection_id": connectionId
1492
+ });
1310
1493
  let request = {
1311
1494
  url,
1312
- method: "GET",
1313
- headers: {},
1314
- params: this.parser.query({}, [])
1495
+ method: "POST",
1496
+ headers: {
1497
+ "Content-Type": "application/json"
1498
+ },
1499
+ params: this.parser.query({}, []),
1500
+ data: payload
1315
1501
  };
1316
1502
  const response = await this.httpClient.request(request);
1317
1503
  if (response.ok) {
@@ -1325,28 +1511,26 @@ var BackendDashboardTag = class extends import_sdkgen_client22.TagAbstract {
1325
1511
  }
1326
1512
  };
1327
1513
 
1328
- // src/BackendDatabaseTag.ts
1514
+ // src/BackendConnectionSdkTag.ts
1329
1515
  var import_sdkgen_client24 = require("sdkgen-client");
1330
1516
  var import_sdkgen_client25 = require("sdkgen-client");
1331
- var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1517
+ var BackendConnectionSdkTag = class extends import_sdkgen_client24.TagAbstract {
1332
1518
  /**
1333
- * @returns {Promise<CommonMessage>}
1519
+ * Returns the SDK specification
1520
+ *
1521
+ * @returns {Promise<Passthru>}
1334
1522
  * @throws {CommonMessageException}
1335
1523
  * @throws {ClientException}
1336
1524
  */
1337
- async createRow(connectionId, tableName, payload) {
1338
- const url = this.parser.url("/backend/database/:connection_id/:table_name/rows", {
1339
- "connection_id": connectionId,
1340
- "table_name": tableName
1525
+ async get(connectionId) {
1526
+ const url = this.parser.url("/backend/connection/:connection_id/sdk", {
1527
+ "connection_id": connectionId
1341
1528
  });
1342
1529
  let request = {
1343
1530
  url,
1344
- method: "POST",
1345
- headers: {
1346
- "Content-Type": "application/json"
1347
- },
1348
- params: this.parser.query({}, []),
1349
- data: payload
1531
+ method: "GET",
1532
+ headers: {},
1533
+ params: this.parser.query({}, [])
1350
1534
  };
1351
1535
  const response = await this.httpClient.request(request);
1352
1536
  if (response.ok) {
@@ -1358,15 +1542,45 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1358
1542
  }
1359
1543
  throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1360
1544
  }
1545
+ };
1546
+
1547
+ // src/BackendConnectionTag.ts
1548
+ var import_sdkgen_client26 = require("sdkgen-client");
1549
+ var import_sdkgen_client27 = require("sdkgen-client");
1550
+ var BackendConnectionTag = class extends import_sdkgen_client26.TagAbstract {
1551
+ database() {
1552
+ return new BackendConnectionDatabaseTag(
1553
+ this.httpClient,
1554
+ this.parser
1555
+ );
1556
+ }
1557
+ filesystem() {
1558
+ return new BackendConnectionFilesystemTag(
1559
+ this.httpClient,
1560
+ this.parser
1561
+ );
1562
+ }
1563
+ http() {
1564
+ return new BackendConnectionHttpTag(
1565
+ this.httpClient,
1566
+ this.parser
1567
+ );
1568
+ }
1569
+ sdk() {
1570
+ return new BackendConnectionSdkTag(
1571
+ this.httpClient,
1572
+ this.parser
1573
+ );
1574
+ }
1361
1575
  /**
1576
+ * Creates a new connection
1577
+ *
1362
1578
  * @returns {Promise<CommonMessage>}
1363
1579
  * @throws {CommonMessageException}
1364
1580
  * @throws {ClientException}
1365
1581
  */
1366
- async createTable(connectionId, payload) {
1367
- const url = this.parser.url("/backend/database/:connection_id", {
1368
- "connection_id": connectionId
1369
- });
1582
+ async create(payload) {
1583
+ const url = this.parser.url("/backend/connection", {});
1370
1584
  let request = {
1371
1585
  url,
1372
1586
  method: "POST",
@@ -1384,18 +1598,18 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1384
1598
  if (statusCode >= 0 && statusCode <= 999) {
1385
1599
  throw new CommonMessageException(await response.json());
1386
1600
  }
1387
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1601
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1388
1602
  }
1389
1603
  /**
1604
+ * Deletes an existing connection
1605
+ *
1390
1606
  * @returns {Promise<CommonMessage>}
1391
1607
  * @throws {CommonMessageException}
1392
1608
  * @throws {ClientException}
1393
1609
  */
1394
- async deleteRow(connectionId, tableName, id) {
1395
- const url = this.parser.url("/backend/database/:connection_id/:table_name/rows/:id", {
1396
- "connection_id": connectionId,
1397
- "table_name": tableName,
1398
- "id": id
1610
+ async delete(connectionId) {
1611
+ const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
1612
+ "connection_id": connectionId
1399
1613
  });
1400
1614
  let request = {
1401
1615
  url,
@@ -1411,21 +1625,22 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1411
1625
  if (statusCode >= 0 && statusCode <= 999) {
1412
1626
  throw new CommonMessageException(await response.json());
1413
1627
  }
1414
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1628
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1415
1629
  }
1416
1630
  /**
1417
- * @returns {Promise<CommonMessage>}
1631
+ * Returns a specific connection
1632
+ *
1633
+ * @returns {Promise<BackendConnection>}
1418
1634
  * @throws {CommonMessageException}
1419
1635
  * @throws {ClientException}
1420
1636
  */
1421
- async deleteTable(connectionId, tableName) {
1422
- const url = this.parser.url("/backend/database/:connection_id/:table_name", {
1423
- "connection_id": connectionId,
1424
- "table_name": tableName
1637
+ async get(connectionId) {
1638
+ const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
1639
+ "connection_id": connectionId
1425
1640
  });
1426
1641
  let request = {
1427
1642
  url,
1428
- method: "DELETE",
1643
+ method: "GET",
1429
1644
  headers: {},
1430
1645
  params: this.parser.query({}, [])
1431
1646
  };
@@ -1437,19 +1652,47 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1437
1652
  if (statusCode >= 0 && statusCode <= 999) {
1438
1653
  throw new CommonMessageException(await response.json());
1439
1654
  }
1440
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1655
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1441
1656
  }
1442
1657
  /**
1443
- * @returns {Promise<BackendDatabaseRow>}
1658
+ * Returns a paginated list of connections
1659
+ *
1660
+ * @returns {Promise<BackendConnectionCollection>}
1444
1661
  * @throws {CommonMessageException}
1445
1662
  * @throws {ClientException}
1446
1663
  */
1447
- async getRow(connectionId, tableName, id) {
1448
- const url = this.parser.url("/backend/database/:connection_id/:table_name/rows/:id", {
1449
- "connection_id": connectionId,
1450
- "table_name": tableName,
1451
- "id": id
1452
- });
1664
+ async getAll(startIndex, count, search, _class) {
1665
+ const url = this.parser.url("/backend/connection", {});
1666
+ let request = {
1667
+ url,
1668
+ method: "GET",
1669
+ headers: {},
1670
+ params: this.parser.query({
1671
+ "startIndex": startIndex,
1672
+ "count": count,
1673
+ "search": search,
1674
+ "class": _class
1675
+ }, [])
1676
+ };
1677
+ const response = await this.httpClient.request(request);
1678
+ if (response.ok) {
1679
+ return await response.json();
1680
+ }
1681
+ const statusCode = response.status;
1682
+ if (statusCode >= 0 && statusCode <= 999) {
1683
+ throw new CommonMessageException(await response.json());
1684
+ }
1685
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1686
+ }
1687
+ /**
1688
+ * Returns all available connection classes
1689
+ *
1690
+ * @returns {Promise<BackendConnectionIndex>}
1691
+ * @throws {CommonMessageException}
1692
+ * @throws {ClientException}
1693
+ */
1694
+ async getClasses() {
1695
+ const url = this.parser.url("/backend/connection/list", {});
1453
1696
  let request = {
1454
1697
  url,
1455
1698
  method: "GET",
@@ -1464,31 +1707,23 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1464
1707
  if (statusCode >= 0 && statusCode <= 999) {
1465
1708
  throw new CommonMessageException(await response.json());
1466
1709
  }
1467
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1710
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1468
1711
  }
1469
1712
  /**
1470
- * @returns {Promise<BackendDatabaseRowCollection>}
1713
+ * Returns the connection config form
1714
+ *
1715
+ * @returns {Promise<CommonFormContainer>}
1471
1716
  * @throws {CommonMessageException}
1472
1717
  * @throws {ClientException}
1473
1718
  */
1474
- async getRows(connectionId, tableName, startIndex, count, filterBy, filterOp, filterValue, sortBy, sortOrder, columns) {
1475
- const url = this.parser.url("/backend/database/:connection_id/:table_name/rows", {
1476
- "connection_id": connectionId,
1477
- "table_name": tableName
1478
- });
1719
+ async getForm(_class) {
1720
+ const url = this.parser.url("/backend/connection/form", {});
1479
1721
  let request = {
1480
1722
  url,
1481
1723
  method: "GET",
1482
1724
  headers: {},
1483
1725
  params: this.parser.query({
1484
- "startIndex": startIndex,
1485
- "count": count,
1486
- "filterBy": filterBy,
1487
- "filterOp": filterOp,
1488
- "filterValue": filterValue,
1489
- "sortBy": sortBy,
1490
- "sortOrder": sortOrder,
1491
- "columns": columns
1726
+ "class": _class
1492
1727
  }, [])
1493
1728
  };
1494
1729
  const response = await this.httpClient.request(request);
@@ -1499,17 +1734,18 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1499
1734
  if (statusCode >= 0 && statusCode <= 999) {
1500
1735
  throw new CommonMessageException(await response.json());
1501
1736
  }
1502
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1737
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1503
1738
  }
1504
1739
  /**
1505
- * @returns {Promise<BackendDatabaseTable>}
1740
+ * Returns a redirect url to start the OAuth2 authorization flow for the given connection
1741
+ *
1742
+ * @returns {Promise<BackendConnectionRedirectResponse>}
1506
1743
  * @throws {CommonMessageException}
1507
1744
  * @throws {ClientException}
1508
1745
  */
1509
- async getTable(connectionId, tableName) {
1510
- const url = this.parser.url("/backend/database/:connection_id/:table_name", {
1511
- "connection_id": connectionId,
1512
- "table_name": tableName
1746
+ async getRedirect(connectionId) {
1747
+ const url = this.parser.url("/backend/connection/:connection_id/redirect", {
1748
+ "connection_id": connectionId
1513
1749
  });
1514
1750
  let request = {
1515
1751
  url,
@@ -1525,17 +1761,110 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1525
1761
  if (statusCode >= 0 && statusCode <= 999) {
1526
1762
  throw new CommonMessageException(await response.json());
1527
1763
  }
1528
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1764
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1529
1765
  }
1530
1766
  /**
1531
- * @returns {Promise<BackendDatabaseTableCollection>}
1767
+ * Updates an existing connection
1768
+ *
1769
+ * @returns {Promise<CommonMessage>}
1532
1770
  * @throws {CommonMessageException}
1533
1771
  * @throws {ClientException}
1534
1772
  */
1535
- async getTables(connectionId) {
1536
- const url = this.parser.url("/backend/database/:connection_id", {
1773
+ async update(connectionId, payload) {
1774
+ const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
1537
1775
  "connection_id": connectionId
1538
1776
  });
1777
+ let request = {
1778
+ url,
1779
+ method: "PUT",
1780
+ headers: {
1781
+ "Content-Type": "application/json"
1782
+ },
1783
+ params: this.parser.query({}, []),
1784
+ data: payload
1785
+ };
1786
+ const response = await this.httpClient.request(request);
1787
+ if (response.ok) {
1788
+ return await response.json();
1789
+ }
1790
+ const statusCode = response.status;
1791
+ if (statusCode >= 0 && statusCode <= 999) {
1792
+ throw new CommonMessageException(await response.json());
1793
+ }
1794
+ throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1795
+ }
1796
+ };
1797
+
1798
+ // src/BackendCronjobTag.ts
1799
+ var import_sdkgen_client28 = require("sdkgen-client");
1800
+ var import_sdkgen_client29 = require("sdkgen-client");
1801
+ var BackendCronjobTag = class extends import_sdkgen_client28.TagAbstract {
1802
+ /**
1803
+ * Creates a new cronjob
1804
+ *
1805
+ * @returns {Promise<CommonMessage>}
1806
+ * @throws {CommonMessageException}
1807
+ * @throws {ClientException}
1808
+ */
1809
+ async create(payload) {
1810
+ const url = this.parser.url("/backend/cronjob", {});
1811
+ let request = {
1812
+ url,
1813
+ method: "POST",
1814
+ headers: {
1815
+ "Content-Type": "application/json"
1816
+ },
1817
+ params: this.parser.query({}, []),
1818
+ data: payload
1819
+ };
1820
+ const response = await this.httpClient.request(request);
1821
+ if (response.ok) {
1822
+ return await response.json();
1823
+ }
1824
+ const statusCode = response.status;
1825
+ if (statusCode >= 0 && statusCode <= 999) {
1826
+ throw new CommonMessageException(await response.json());
1827
+ }
1828
+ throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1829
+ }
1830
+ /**
1831
+ * Deletes an existing cronjob
1832
+ *
1833
+ * @returns {Promise<CommonMessage>}
1834
+ * @throws {CommonMessageException}
1835
+ * @throws {ClientException}
1836
+ */
1837
+ async delete(cronjobId) {
1838
+ const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
1839
+ "cronjob_id": cronjobId
1840
+ });
1841
+ let request = {
1842
+ url,
1843
+ method: "DELETE",
1844
+ headers: {},
1845
+ params: this.parser.query({}, [])
1846
+ };
1847
+ const response = await this.httpClient.request(request);
1848
+ if (response.ok) {
1849
+ return await response.json();
1850
+ }
1851
+ const statusCode = response.status;
1852
+ if (statusCode >= 0 && statusCode <= 999) {
1853
+ throw new CommonMessageException(await response.json());
1854
+ }
1855
+ throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1856
+ }
1857
+ /**
1858
+ * Returns a specific cronjob
1859
+ *
1860
+ * @returns {Promise<BackendCronjob>}
1861
+ * @throws {CommonMessageException}
1862
+ * @throws {ClientException}
1863
+ */
1864
+ async get(cronjobId) {
1865
+ const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
1866
+ "cronjob_id": cronjobId
1867
+ });
1539
1868
  let request = {
1540
1869
  url,
1541
1870
  method: "GET",
@@ -1550,18 +1879,47 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1550
1879
  if (statusCode >= 0 && statusCode <= 999) {
1551
1880
  throw new CommonMessageException(await response.json());
1552
1881
  }
1553
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1882
+ throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1883
+ }
1884
+ /**
1885
+ * Returns a paginated list of cronjobs
1886
+ *
1887
+ * @returns {Promise<BackendCronjobCollection>}
1888
+ * @throws {CommonMessageException}
1889
+ * @throws {ClientException}
1890
+ */
1891
+ async getAll(startIndex, count, search) {
1892
+ const url = this.parser.url("/backend/cronjob", {});
1893
+ let request = {
1894
+ url,
1895
+ method: "GET",
1896
+ headers: {},
1897
+ params: this.parser.query({
1898
+ "startIndex": startIndex,
1899
+ "count": count,
1900
+ "search": search
1901
+ }, [])
1902
+ };
1903
+ const response = await this.httpClient.request(request);
1904
+ if (response.ok) {
1905
+ return await response.json();
1906
+ }
1907
+ const statusCode = response.status;
1908
+ if (statusCode >= 0 && statusCode <= 999) {
1909
+ throw new CommonMessageException(await response.json());
1910
+ }
1911
+ throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1554
1912
  }
1555
1913
  /**
1914
+ * Updates an existing cronjob
1915
+ *
1556
1916
  * @returns {Promise<CommonMessage>}
1557
1917
  * @throws {CommonMessageException}
1558
1918
  * @throws {ClientException}
1559
1919
  */
1560
- async updateRow(connectionId, tableName, id, payload) {
1561
- const url = this.parser.url("/backend/database/:connection_id/:table_name/rows/:id", {
1562
- "connection_id": connectionId,
1563
- "table_name": tableName,
1564
- "id": id
1920
+ async update(cronjobId, payload) {
1921
+ const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
1922
+ "cronjob_id": cronjobId
1565
1923
  });
1566
1924
  let request = {
1567
1925
  url,
@@ -1580,26 +1938,28 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1580
1938
  if (statusCode >= 0 && statusCode <= 999) {
1581
1939
  throw new CommonMessageException(await response.json());
1582
1940
  }
1583
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1941
+ throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1584
1942
  }
1943
+ };
1944
+
1945
+ // src/BackendDashboardTag.ts
1946
+ var import_sdkgen_client30 = require("sdkgen-client");
1947
+ var import_sdkgen_client31 = require("sdkgen-client");
1948
+ var BackendDashboardTag = class extends import_sdkgen_client30.TagAbstract {
1585
1949
  /**
1586
- * @returns {Promise<CommonMessage>}
1950
+ * Returns all available dashboard widgets
1951
+ *
1952
+ * @returns {Promise<BackendDashboard>}
1587
1953
  * @throws {CommonMessageException}
1588
1954
  * @throws {ClientException}
1589
1955
  */
1590
- async updateTable(connectionId, tableName, payload) {
1591
- const url = this.parser.url("/backend/database/:connection_id/:table_name", {
1592
- "connection_id": connectionId,
1593
- "table_name": tableName
1594
- });
1956
+ async getAll() {
1957
+ const url = this.parser.url("/backend/dashboard", {});
1595
1958
  let request = {
1596
1959
  url,
1597
- method: "PUT",
1598
- headers: {
1599
- "Content-Type": "application/json"
1600
- },
1601
- params: this.parser.query({}, []),
1602
- data: payload
1960
+ method: "GET",
1961
+ headers: {},
1962
+ params: this.parser.query({}, [])
1603
1963
  };
1604
1964
  const response = await this.httpClient.request(request);
1605
1965
  if (response.ok) {
@@ -1609,15 +1969,17 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
1609
1969
  if (statusCode >= 0 && statusCode <= 999) {
1610
1970
  throw new CommonMessageException(await response.json());
1611
1971
  }
1612
- throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1972
+ throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1613
1973
  }
1614
1974
  };
1615
1975
 
1616
1976
  // src/BackendEventTag.ts
1617
- var import_sdkgen_client26 = require("sdkgen-client");
1618
- var import_sdkgen_client27 = require("sdkgen-client");
1619
- var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
1977
+ var import_sdkgen_client32 = require("sdkgen-client");
1978
+ var import_sdkgen_client33 = require("sdkgen-client");
1979
+ var BackendEventTag = class extends import_sdkgen_client32.TagAbstract {
1620
1980
  /**
1981
+ * Creates a new event
1982
+ *
1621
1983
  * @returns {Promise<CommonMessage>}
1622
1984
  * @throws {CommonMessageException}
1623
1985
  * @throws {ClientException}
@@ -1641,9 +2003,11 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
1641
2003
  if (statusCode >= 0 && statusCode <= 999) {
1642
2004
  throw new CommonMessageException(await response.json());
1643
2005
  }
1644
- throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2006
+ throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1645
2007
  }
1646
2008
  /**
2009
+ * Deletes an existing event
2010
+ *
1647
2011
  * @returns {Promise<CommonMessage>}
1648
2012
  * @throws {CommonMessageException}
1649
2013
  * @throws {ClientException}
@@ -1666,9 +2030,11 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
1666
2030
  if (statusCode >= 0 && statusCode <= 999) {
1667
2031
  throw new CommonMessageException(await response.json());
1668
2032
  }
1669
- throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2033
+ throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1670
2034
  }
1671
2035
  /**
2036
+ * Returns a specific event
2037
+ *
1672
2038
  * @returns {Promise<BackendEvent>}
1673
2039
  * @throws {CommonMessageException}
1674
2040
  * @throws {ClientException}
@@ -1691,9 +2057,11 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
1691
2057
  if (statusCode >= 0 && statusCode <= 999) {
1692
2058
  throw new CommonMessageException(await response.json());
1693
2059
  }
1694
- throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2060
+ throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1695
2061
  }
1696
2062
  /**
2063
+ * Returns a paginated list of events
2064
+ *
1697
2065
  * @returns {Promise<BackendEventCollection>}
1698
2066
  * @throws {CommonMessageException}
1699
2067
  * @throws {ClientException}
@@ -1718,9 +2086,11 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
1718
2086
  if (statusCode >= 0 && statusCode <= 999) {
1719
2087
  throw new CommonMessageException(await response.json());
1720
2088
  }
1721
- throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2089
+ throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1722
2090
  }
1723
2091
  /**
2092
+ * Updates an existing event
2093
+ *
1724
2094
  * @returns {Promise<CommonMessage>}
1725
2095
  * @throws {CommonMessageException}
1726
2096
  * @throws {ClientException}
@@ -1746,15 +2116,17 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
1746
2116
  if (statusCode >= 0 && statusCode <= 999) {
1747
2117
  throw new CommonMessageException(await response.json());
1748
2118
  }
1749
- throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2119
+ throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1750
2120
  }
1751
2121
  };
1752
2122
 
1753
2123
  // src/BackendFirewallTag.ts
1754
- var import_sdkgen_client28 = require("sdkgen-client");
1755
- var import_sdkgen_client29 = require("sdkgen-client");
1756
- var BackendFirewallTag = class extends import_sdkgen_client28.TagAbstract {
2124
+ var import_sdkgen_client34 = require("sdkgen-client");
2125
+ var import_sdkgen_client35 = require("sdkgen-client");
2126
+ var BackendFirewallTag = class extends import_sdkgen_client34.TagAbstract {
1757
2127
  /**
2128
+ * Creates a new firewall rule
2129
+ *
1758
2130
  * @returns {Promise<CommonMessage>}
1759
2131
  * @throws {CommonMessageException}
1760
2132
  * @throws {ClientException}
@@ -1778,9 +2150,11 @@ var BackendFirewallTag = class extends import_sdkgen_client28.TagAbstract {
1778
2150
  if (statusCode >= 0 && statusCode <= 999) {
1779
2151
  throw new CommonMessageException(await response.json());
1780
2152
  }
1781
- throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2153
+ throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1782
2154
  }
1783
2155
  /**
2156
+ * Deletes an existing firewall rule
2157
+ *
1784
2158
  * @returns {Promise<CommonMessage>}
1785
2159
  * @throws {CommonMessageException}
1786
2160
  * @throws {ClientException}
@@ -1803,9 +2177,11 @@ var BackendFirewallTag = class extends import_sdkgen_client28.TagAbstract {
1803
2177
  if (statusCode >= 0 && statusCode <= 999) {
1804
2178
  throw new CommonMessageException(await response.json());
1805
2179
  }
1806
- throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2180
+ throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1807
2181
  }
1808
2182
  /**
2183
+ * Returns a specific firewall rule
2184
+ *
1809
2185
  * @returns {Promise<BackendFirewall>}
1810
2186
  * @throws {CommonMessageException}
1811
2187
  * @throws {ClientException}
@@ -1828,9 +2204,11 @@ var BackendFirewallTag = class extends import_sdkgen_client28.TagAbstract {
1828
2204
  if (statusCode >= 0 && statusCode <= 999) {
1829
2205
  throw new CommonMessageException(await response.json());
1830
2206
  }
1831
- throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2207
+ throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1832
2208
  }
1833
2209
  /**
2210
+ * Returns a paginated list of firewall rules
2211
+ *
1834
2212
  * @returns {Promise<BackendFirewallCollection>}
1835
2213
  * @throws {CommonMessageException}
1836
2214
  * @throws {ClientException}
@@ -1855,9 +2233,11 @@ var BackendFirewallTag = class extends import_sdkgen_client28.TagAbstract {
1855
2233
  if (statusCode >= 0 && statusCode <= 999) {
1856
2234
  throw new CommonMessageException(await response.json());
1857
2235
  }
1858
- throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2236
+ throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1859
2237
  }
1860
2238
  /**
2239
+ * Updates an existing firewall rule
2240
+ *
1861
2241
  * @returns {Promise<CommonMessage>}
1862
2242
  * @throws {CommonMessageException}
1863
2243
  * @throws {ClientException}
@@ -1883,15 +2263,17 @@ var BackendFirewallTag = class extends import_sdkgen_client28.TagAbstract {
1883
2263
  if (statusCode >= 0 && statusCode <= 999) {
1884
2264
  throw new CommonMessageException(await response.json());
1885
2265
  }
1886
- throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2266
+ throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1887
2267
  }
1888
2268
  };
1889
2269
 
1890
2270
  // src/BackendFormTag.ts
1891
- var import_sdkgen_client30 = require("sdkgen-client");
1892
- var import_sdkgen_client31 = require("sdkgen-client");
1893
- var BackendFormTag = class extends import_sdkgen_client30.TagAbstract {
2271
+ var import_sdkgen_client36 = require("sdkgen-client");
2272
+ var import_sdkgen_client37 = require("sdkgen-client");
2273
+ var BackendFormTag = class extends import_sdkgen_client36.TagAbstract {
1894
2274
  /**
2275
+ * Creates a new form
2276
+ *
1895
2277
  * @returns {Promise<CommonMessage>}
1896
2278
  * @throws {CommonMessageException}
1897
2279
  * @throws {ClientException}
@@ -1915,9 +2297,11 @@ var BackendFormTag = class extends import_sdkgen_client30.TagAbstract {
1915
2297
  if (statusCode >= 0 && statusCode <= 999) {
1916
2298
  throw new CommonMessageException(await response.json());
1917
2299
  }
1918
- throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2300
+ throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1919
2301
  }
1920
2302
  /**
2303
+ * Deletes an existing form
2304
+ *
1921
2305
  * @returns {Promise<CommonMessage>}
1922
2306
  * @throws {CommonMessageException}
1923
2307
  * @throws {ClientException}
@@ -1940,9 +2324,11 @@ var BackendFormTag = class extends import_sdkgen_client30.TagAbstract {
1940
2324
  if (statusCode >= 0 && statusCode <= 999) {
1941
2325
  throw new CommonMessageException(await response.json());
1942
2326
  }
1943
- throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2327
+ throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1944
2328
  }
1945
2329
  /**
2330
+ * Returns a specific form
2331
+ *
1946
2332
  * @returns {Promise<BackendForm>}
1947
2333
  * @throws {CommonMessageException}
1948
2334
  * @throws {ClientException}
@@ -1965,9 +2351,11 @@ var BackendFormTag = class extends import_sdkgen_client30.TagAbstract {
1965
2351
  if (statusCode >= 0 && statusCode <= 999) {
1966
2352
  throw new CommonMessageException(await response.json());
1967
2353
  }
1968
- throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2354
+ throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1969
2355
  }
1970
2356
  /**
2357
+ * Returns a paginated list of forms
2358
+ *
1971
2359
  * @returns {Promise<BackendFormCollection>}
1972
2360
  * @throws {CommonMessageException}
1973
2361
  * @throws {ClientException}
@@ -1992,9 +2380,11 @@ var BackendFormTag = class extends import_sdkgen_client30.TagAbstract {
1992
2380
  if (statusCode >= 0 && statusCode <= 999) {
1993
2381
  throw new CommonMessageException(await response.json());
1994
2382
  }
1995
- throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2383
+ throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
1996
2384
  }
1997
2385
  /**
2386
+ * Updates an existing form
2387
+ *
1998
2388
  * @returns {Promise<CommonMessage>}
1999
2389
  * @throws {CommonMessageException}
2000
2390
  * @throws {ClientException}
@@ -2020,15 +2410,17 @@ var BackendFormTag = class extends import_sdkgen_client30.TagAbstract {
2020
2410
  if (statusCode >= 0 && statusCode <= 999) {
2021
2411
  throw new CommonMessageException(await response.json());
2022
2412
  }
2023
- throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2413
+ throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2024
2414
  }
2025
2415
  };
2026
2416
 
2027
2417
  // src/BackendGeneratorTag.ts
2028
- var import_sdkgen_client32 = require("sdkgen-client");
2029
- var import_sdkgen_client33 = require("sdkgen-client");
2030
- var BackendGeneratorTag = class extends import_sdkgen_client32.TagAbstract {
2418
+ var import_sdkgen_client38 = require("sdkgen-client");
2419
+ var import_sdkgen_client39 = require("sdkgen-client");
2420
+ var BackendGeneratorTag = class extends import_sdkgen_client38.TagAbstract {
2031
2421
  /**
2422
+ * Executes a generator with the provided config
2423
+ *
2032
2424
  * @returns {Promise<CommonMessage>}
2033
2425
  * @throws {CommonMessageException}
2034
2426
  * @throws {ClientException}
@@ -2054,9 +2446,11 @@ var BackendGeneratorTag = class extends import_sdkgen_client32.TagAbstract {
2054
2446
  if (statusCode >= 0 && statusCode <= 999) {
2055
2447
  throw new CommonMessageException(await response.json());
2056
2448
  }
2057
- throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2449
+ throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2058
2450
  }
2059
2451
  /**
2452
+ * Generates a changelog of all potential changes if you execute this generator with the provided config
2453
+ *
2060
2454
  * @returns {Promise<BackendGeneratorProviderChangelog>}
2061
2455
  * @throws {CommonMessageException}
2062
2456
  * @throws {ClientException}
@@ -2082,9 +2476,11 @@ var BackendGeneratorTag = class extends import_sdkgen_client32.TagAbstract {
2082
2476
  if (statusCode >= 0 && statusCode <= 999) {
2083
2477
  throw new CommonMessageException(await response.json());
2084
2478
  }
2085
- throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2479
+ throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2086
2480
  }
2087
2481
  /**
2482
+ * Returns all available generator classes
2483
+ *
2088
2484
  * @returns {Promise<BackendGeneratorIndexProviders>}
2089
2485
  * @throws {CommonMessageException}
2090
2486
  * @throws {ClientException}
@@ -2105,9 +2501,11 @@ var BackendGeneratorTag = class extends import_sdkgen_client32.TagAbstract {
2105
2501
  if (statusCode >= 0 && statusCode <= 999) {
2106
2502
  throw new CommonMessageException(await response.json());
2107
2503
  }
2108
- throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2504
+ throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2109
2505
  }
2110
2506
  /**
2507
+ * Returns the generator config form
2508
+ *
2111
2509
  * @returns {Promise<CommonFormContainer>}
2112
2510
  * @throws {CommonMessageException}
2113
2511
  * @throws {ClientException}
@@ -2130,15 +2528,17 @@ var BackendGeneratorTag = class extends import_sdkgen_client32.TagAbstract {
2130
2528
  if (statusCode >= 0 && statusCode <= 999) {
2131
2529
  throw new CommonMessageException(await response.json());
2132
2530
  }
2133
- throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2531
+ throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2134
2532
  }
2135
2533
  };
2136
2534
 
2137
2535
  // src/BackendIdentityTag.ts
2138
- var import_sdkgen_client34 = require("sdkgen-client");
2139
- var import_sdkgen_client35 = require("sdkgen-client");
2140
- var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2536
+ var import_sdkgen_client40 = require("sdkgen-client");
2537
+ var import_sdkgen_client41 = require("sdkgen-client");
2538
+ var BackendIdentityTag = class extends import_sdkgen_client40.TagAbstract {
2141
2539
  /**
2540
+ * Creates a new identity
2541
+ *
2142
2542
  * @returns {Promise<CommonMessage>}
2143
2543
  * @throws {CommonMessageException}
2144
2544
  * @throws {ClientException}
@@ -2162,9 +2562,11 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2162
2562
  if (statusCode >= 0 && statusCode <= 999) {
2163
2563
  throw new CommonMessageException(await response.json());
2164
2564
  }
2165
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2565
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2166
2566
  }
2167
2567
  /**
2568
+ * Deletes an existing identity
2569
+ *
2168
2570
  * @returns {Promise<CommonMessage>}
2169
2571
  * @throws {CommonMessageException}
2170
2572
  * @throws {ClientException}
@@ -2187,9 +2589,11 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2187
2589
  if (statusCode >= 0 && statusCode <= 999) {
2188
2590
  throw new CommonMessageException(await response.json());
2189
2591
  }
2190
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2592
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2191
2593
  }
2192
2594
  /**
2595
+ * Returns a specific identity
2596
+ *
2193
2597
  * @returns {Promise<BackendIdentity>}
2194
2598
  * @throws {CommonMessageException}
2195
2599
  * @throws {ClientException}
@@ -2212,9 +2616,11 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2212
2616
  if (statusCode >= 0 && statusCode <= 999) {
2213
2617
  throw new CommonMessageException(await response.json());
2214
2618
  }
2215
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2619
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2216
2620
  }
2217
2621
  /**
2622
+ * Returns a paginated list of identities
2623
+ *
2218
2624
  * @returns {Promise<BackendIdentityCollection>}
2219
2625
  * @throws {CommonMessageException}
2220
2626
  * @throws {ClientException}
@@ -2239,9 +2645,11 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2239
2645
  if (statusCode >= 0 && statusCode <= 999) {
2240
2646
  throw new CommonMessageException(await response.json());
2241
2647
  }
2242
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2648
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2243
2649
  }
2244
2650
  /**
2651
+ * Returns all available identity classes
2652
+ *
2245
2653
  * @returns {Promise<BackendIdentityIndex>}
2246
2654
  * @throws {CommonMessageException}
2247
2655
  * @throws {ClientException}
@@ -2262,9 +2670,11 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2262
2670
  if (statusCode >= 0 && statusCode <= 999) {
2263
2671
  throw new CommonMessageException(await response.json());
2264
2672
  }
2265
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2673
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2266
2674
  }
2267
2675
  /**
2676
+ * Returns the identity config form
2677
+ *
2268
2678
  * @returns {Promise<CommonFormContainer>}
2269
2679
  * @throws {CommonMessageException}
2270
2680
  * @throws {ClientException}
@@ -2287,9 +2697,11 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2287
2697
  if (statusCode >= 0 && statusCode <= 999) {
2288
2698
  throw new CommonMessageException(await response.json());
2289
2699
  }
2290
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2700
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2291
2701
  }
2292
2702
  /**
2703
+ * Updates an existing identity
2704
+ *
2293
2705
  * @returns {Promise<CommonMessage>}
2294
2706
  * @throws {CommonMessageException}
2295
2707
  * @throws {ClientException}
@@ -2315,15 +2727,17 @@ var BackendIdentityTag = class extends import_sdkgen_client34.TagAbstract {
2315
2727
  if (statusCode >= 0 && statusCode <= 999) {
2316
2728
  throw new CommonMessageException(await response.json());
2317
2729
  }
2318
- throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2730
+ throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2319
2731
  }
2320
2732
  };
2321
2733
 
2322
2734
  // src/BackendLogTag.ts
2323
- var import_sdkgen_client36 = require("sdkgen-client");
2324
- var import_sdkgen_client37 = require("sdkgen-client");
2325
- var BackendLogTag = class extends import_sdkgen_client36.TagAbstract {
2735
+ var import_sdkgen_client42 = require("sdkgen-client");
2736
+ var import_sdkgen_client43 = require("sdkgen-client");
2737
+ var BackendLogTag = class extends import_sdkgen_client42.TagAbstract {
2326
2738
  /**
2739
+ * Returns a specific log
2740
+ *
2327
2741
  * @returns {Promise<BackendLog>}
2328
2742
  * @throws {CommonMessageException}
2329
2743
  * @throws {ClientException}
@@ -2346,9 +2760,11 @@ var BackendLogTag = class extends import_sdkgen_client36.TagAbstract {
2346
2760
  if (statusCode >= 0 && statusCode <= 999) {
2347
2761
  throw new CommonMessageException(await response.json());
2348
2762
  }
2349
- throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2763
+ throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2350
2764
  }
2351
2765
  /**
2766
+ * Returns a paginated list of logs
2767
+ *
2352
2768
  * @returns {Promise<BackendLogCollection>}
2353
2769
  * @throws {CommonMessageException}
2354
2770
  * @throws {ClientException}
@@ -2384,9 +2800,11 @@ var BackendLogTag = class extends import_sdkgen_client36.TagAbstract {
2384
2800
  if (statusCode >= 0 && statusCode <= 999) {
2385
2801
  throw new CommonMessageException(await response.json());
2386
2802
  }
2387
- throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2803
+ throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2388
2804
  }
2389
2805
  /**
2806
+ * Returns a paginated list of log errors
2807
+ *
2390
2808
  * @returns {Promise<BackendLogErrorCollection>}
2391
2809
  * @throws {CommonMessageException}
2392
2810
  * @throws {ClientException}
@@ -2411,9 +2829,11 @@ var BackendLogTag = class extends import_sdkgen_client36.TagAbstract {
2411
2829
  if (statusCode >= 0 && statusCode <= 999) {
2412
2830
  throw new CommonMessageException(await response.json());
2413
2831
  }
2414
- throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2832
+ throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2415
2833
  }
2416
2834
  /**
2835
+ * Returns a specific error
2836
+ *
2417
2837
  * @returns {Promise<BackendLogError>}
2418
2838
  * @throws {CommonMessageException}
2419
2839
  * @throws {ClientException}
@@ -2436,15 +2856,17 @@ var BackendLogTag = class extends import_sdkgen_client36.TagAbstract {
2436
2856
  if (statusCode >= 0 && statusCode <= 999) {
2437
2857
  throw new CommonMessageException(await response.json());
2438
2858
  }
2439
- throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2859
+ throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2440
2860
  }
2441
2861
  };
2442
2862
 
2443
2863
  // src/BackendMarketplaceActionTag.ts
2444
- var import_sdkgen_client38 = require("sdkgen-client");
2445
- var import_sdkgen_client39 = require("sdkgen-client");
2446
- var BackendMarketplaceActionTag = class extends import_sdkgen_client38.TagAbstract {
2864
+ var import_sdkgen_client44 = require("sdkgen-client");
2865
+ var import_sdkgen_client45 = require("sdkgen-client");
2866
+ var BackendMarketplaceActionTag = class extends import_sdkgen_client44.TagAbstract {
2447
2867
  /**
2868
+ * Returns a specific marketplace action
2869
+ *
2448
2870
  * @returns {Promise<MarketplaceAction>}
2449
2871
  * @throws {CommonMessageException}
2450
2872
  * @throws {ClientException}
@@ -2468,9 +2890,11 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client38.TagAbstra
2468
2890
  if (statusCode >= 0 && statusCode <= 999) {
2469
2891
  throw new CommonMessageException(await response.json());
2470
2892
  }
2471
- throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2893
+ throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2472
2894
  }
2473
2895
  /**
2896
+ * Returns a paginated list of marketplace actions
2897
+ *
2474
2898
  * @returns {Promise<MarketplaceActionCollection>}
2475
2899
  * @throws {CommonMessageException}
2476
2900
  * @throws {ClientException}
@@ -2494,9 +2918,11 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client38.TagAbstra
2494
2918
  if (statusCode >= 0 && statusCode <= 999) {
2495
2919
  throw new CommonMessageException(await response.json());
2496
2920
  }
2497
- throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2921
+ throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2498
2922
  }
2499
2923
  /**
2924
+ * Installs an action from the marketplace
2925
+ *
2500
2926
  * @returns {Promise<MarketplaceMessage>}
2501
2927
  * @throws {CommonMessageException}
2502
2928
  * @throws {ClientException}
@@ -2520,9 +2946,11 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client38.TagAbstra
2520
2946
  if (statusCode >= 0 && statusCode <= 999) {
2521
2947
  throw new CommonMessageException(await response.json());
2522
2948
  }
2523
- throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2949
+ throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2524
2950
  }
2525
2951
  /**
2952
+ * Upgrades an action from the marketplace
2953
+ *
2526
2954
  * @returns {Promise<CommonMessage>}
2527
2955
  * @throws {CommonMessageException}
2528
2956
  * @throws {ClientException}
@@ -2546,15 +2974,17 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client38.TagAbstra
2546
2974
  if (statusCode >= 0 && statusCode <= 999) {
2547
2975
  throw new CommonMessageException(await response.json());
2548
2976
  }
2549
- throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2977
+ throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2550
2978
  }
2551
2979
  };
2552
2980
 
2553
2981
  // src/BackendMarketplaceAppTag.ts
2554
- var import_sdkgen_client40 = require("sdkgen-client");
2555
- var import_sdkgen_client41 = require("sdkgen-client");
2556
- var BackendMarketplaceAppTag = class extends import_sdkgen_client40.TagAbstract {
2982
+ var import_sdkgen_client46 = require("sdkgen-client");
2983
+ var import_sdkgen_client47 = require("sdkgen-client");
2984
+ var BackendMarketplaceAppTag = class extends import_sdkgen_client46.TagAbstract {
2557
2985
  /**
2986
+ * Returns a specific marketplace app
2987
+ *
2558
2988
  * @returns {Promise<MarketplaceApp>}
2559
2989
  * @throws {CommonMessageException}
2560
2990
  * @throws {ClientException}
@@ -2578,9 +3008,11 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client40.TagAbstract
2578
3008
  if (statusCode >= 0 && statusCode <= 999) {
2579
3009
  throw new CommonMessageException(await response.json());
2580
3010
  }
2581
- throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3011
+ throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2582
3012
  }
2583
3013
  /**
3014
+ * Returns a paginated list of marketplace apps
3015
+ *
2584
3016
  * @returns {Promise<MarketplaceAppCollection>}
2585
3017
  * @throws {CommonMessageException}
2586
3018
  * @throws {ClientException}
@@ -2604,9 +3036,11 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client40.TagAbstract
2604
3036
  if (statusCode >= 0 && statusCode <= 999) {
2605
3037
  throw new CommonMessageException(await response.json());
2606
3038
  }
2607
- throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3039
+ throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2608
3040
  }
2609
3041
  /**
3042
+ * Installs an app from the marketplace
3043
+ *
2610
3044
  * @returns {Promise<MarketplaceMessage>}
2611
3045
  * @throws {CommonMessageException}
2612
3046
  * @throws {ClientException}
@@ -2630,9 +3064,11 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client40.TagAbstract
2630
3064
  if (statusCode >= 0 && statusCode <= 999) {
2631
3065
  throw new CommonMessageException(await response.json());
2632
3066
  }
2633
- throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3067
+ throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2634
3068
  }
2635
3069
  /**
3070
+ * Upgrades an app from the marketplace
3071
+ *
2636
3072
  * @returns {Promise<MarketplaceMessage>}
2637
3073
  * @throws {CommonMessageException}
2638
3074
  * @throws {ClientException}
@@ -2656,13 +3092,13 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client40.TagAbstract
2656
3092
  if (statusCode >= 0 && statusCode <= 999) {
2657
3093
  throw new CommonMessageException(await response.json());
2658
3094
  }
2659
- throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3095
+ throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2660
3096
  }
2661
3097
  };
2662
3098
 
2663
3099
  // src/BackendMarketplaceTag.ts
2664
- var import_sdkgen_client42 = require("sdkgen-client");
2665
- var BackendMarketplaceTag = class extends import_sdkgen_client42.TagAbstract {
3100
+ var import_sdkgen_client48 = require("sdkgen-client");
3101
+ var BackendMarketplaceTag = class extends import_sdkgen_client48.TagAbstract {
2666
3102
  action() {
2667
3103
  return new BackendMarketplaceActionTag(
2668
3104
  this.httpClient,
@@ -2678,10 +3114,12 @@ var BackendMarketplaceTag = class extends import_sdkgen_client42.TagAbstract {
2678
3114
  };
2679
3115
 
2680
3116
  // src/BackendOperationTag.ts
2681
- var import_sdkgen_client43 = require("sdkgen-client");
2682
- var import_sdkgen_client44 = require("sdkgen-client");
2683
- var BackendOperationTag = class extends import_sdkgen_client43.TagAbstract {
3117
+ var import_sdkgen_client49 = require("sdkgen-client");
3118
+ var import_sdkgen_client50 = require("sdkgen-client");
3119
+ var BackendOperationTag = class extends import_sdkgen_client49.TagAbstract {
2684
3120
  /**
3121
+ * Creates a new operation
3122
+ *
2685
3123
  * @returns {Promise<CommonMessage>}
2686
3124
  * @throws {CommonMessageException}
2687
3125
  * @throws {ClientException}
@@ -2705,9 +3143,11 @@ var BackendOperationTag = class extends import_sdkgen_client43.TagAbstract {
2705
3143
  if (statusCode >= 0 && statusCode <= 999) {
2706
3144
  throw new CommonMessageException(await response.json());
2707
3145
  }
2708
- throw new import_sdkgen_client44.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3146
+ throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2709
3147
  }
2710
3148
  /**
3149
+ * Deletes an existing operation
3150
+ *
2711
3151
  * @returns {Promise<CommonMessage>}
2712
3152
  * @throws {CommonMessageException}
2713
3153
  * @throws {ClientException}
@@ -2730,9 +3170,11 @@ var BackendOperationTag = class extends import_sdkgen_client43.TagAbstract {
2730
3170
  if (statusCode >= 0 && statusCode <= 999) {
2731
3171
  throw new CommonMessageException(await response.json());
2732
3172
  }
2733
- throw new import_sdkgen_client44.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3173
+ throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2734
3174
  }
2735
3175
  /**
3176
+ * Returns a specific operation
3177
+ *
2736
3178
  * @returns {Promise<BackendOperation>}
2737
3179
  * @throws {CommonMessageException}
2738
3180
  * @throws {ClientException}
@@ -2755,9 +3197,11 @@ var BackendOperationTag = class extends import_sdkgen_client43.TagAbstract {
2755
3197
  if (statusCode >= 0 && statusCode <= 999) {
2756
3198
  throw new CommonMessageException(await response.json());
2757
3199
  }
2758
- throw new import_sdkgen_client44.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3200
+ throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2759
3201
  }
2760
3202
  /**
3203
+ * Returns a paginated list of operations
3204
+ *
2761
3205
  * @returns {Promise<BackendOperationCollection>}
2762
3206
  * @throws {CommonMessageException}
2763
3207
  * @throws {ClientException}
@@ -2782,9 +3226,11 @@ var BackendOperationTag = class extends import_sdkgen_client43.TagAbstract {
2782
3226
  if (statusCode >= 0 && statusCode <= 999) {
2783
3227
  throw new CommonMessageException(await response.json());
2784
3228
  }
2785
- throw new import_sdkgen_client44.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3229
+ throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2786
3230
  }
2787
3231
  /**
3232
+ * Updates an existing operation
3233
+ *
2788
3234
  * @returns {Promise<CommonMessage>}
2789
3235
  * @throws {CommonMessageException}
2790
3236
  * @throws {ClientException}
@@ -2810,15 +3256,17 @@ var BackendOperationTag = class extends import_sdkgen_client43.TagAbstract {
2810
3256
  if (statusCode >= 0 && statusCode <= 999) {
2811
3257
  throw new CommonMessageException(await response.json());
2812
3258
  }
2813
- throw new import_sdkgen_client44.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3259
+ throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2814
3260
  }
2815
3261
  };
2816
3262
 
2817
3263
  // src/BackendPageTag.ts
2818
- var import_sdkgen_client45 = require("sdkgen-client");
2819
- var import_sdkgen_client46 = require("sdkgen-client");
2820
- var BackendPageTag = class extends import_sdkgen_client45.TagAbstract {
3264
+ var import_sdkgen_client51 = require("sdkgen-client");
3265
+ var import_sdkgen_client52 = require("sdkgen-client");
3266
+ var BackendPageTag = class extends import_sdkgen_client51.TagAbstract {
2821
3267
  /**
3268
+ * Creates a new page
3269
+ *
2822
3270
  * @returns {Promise<CommonMessage>}
2823
3271
  * @throws {CommonMessageException}
2824
3272
  * @throws {ClientException}
@@ -2842,9 +3290,11 @@ var BackendPageTag = class extends import_sdkgen_client45.TagAbstract {
2842
3290
  if (statusCode >= 0 && statusCode <= 999) {
2843
3291
  throw new CommonMessageException(await response.json());
2844
3292
  }
2845
- throw new import_sdkgen_client46.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3293
+ throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2846
3294
  }
2847
3295
  /**
3296
+ * Deletes an existing page
3297
+ *
2848
3298
  * @returns {Promise<CommonMessage>}
2849
3299
  * @throws {CommonMessageException}
2850
3300
  * @throws {ClientException}
@@ -2867,9 +3317,11 @@ var BackendPageTag = class extends import_sdkgen_client45.TagAbstract {
2867
3317
  if (statusCode >= 0 && statusCode <= 999) {
2868
3318
  throw new CommonMessageException(await response.json());
2869
3319
  }
2870
- throw new import_sdkgen_client46.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3320
+ throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2871
3321
  }
2872
3322
  /**
3323
+ * Returns a specific page
3324
+ *
2873
3325
  * @returns {Promise<BackendPage>}
2874
3326
  * @throws {CommonMessageException}
2875
3327
  * @throws {ClientException}
@@ -2892,9 +3344,11 @@ var BackendPageTag = class extends import_sdkgen_client45.TagAbstract {
2892
3344
  if (statusCode >= 0 && statusCode <= 999) {
2893
3345
  throw new CommonMessageException(await response.json());
2894
3346
  }
2895
- throw new import_sdkgen_client46.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3347
+ throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2896
3348
  }
2897
3349
  /**
3350
+ * Returns a paginated list of pages
3351
+ *
2898
3352
  * @returns {Promise<BackendPageCollection>}
2899
3353
  * @throws {CommonMessageException}
2900
3354
  * @throws {ClientException}
@@ -2919,9 +3373,11 @@ var BackendPageTag = class extends import_sdkgen_client45.TagAbstract {
2919
3373
  if (statusCode >= 0 && statusCode <= 999) {
2920
3374
  throw new CommonMessageException(await response.json());
2921
3375
  }
2922
- throw new import_sdkgen_client46.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3376
+ throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2923
3377
  }
2924
3378
  /**
3379
+ * Updates an existing page
3380
+ *
2925
3381
  * @returns {Promise<CommonMessage>}
2926
3382
  * @throws {CommonMessageException}
2927
3383
  * @throws {ClientException}
@@ -2947,15 +3403,17 @@ var BackendPageTag = class extends import_sdkgen_client45.TagAbstract {
2947
3403
  if (statusCode >= 0 && statusCode <= 999) {
2948
3404
  throw new CommonMessageException(await response.json());
2949
3405
  }
2950
- throw new import_sdkgen_client46.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3406
+ throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2951
3407
  }
2952
3408
  };
2953
3409
 
2954
3410
  // src/BackendPlanTag.ts
2955
- var import_sdkgen_client47 = require("sdkgen-client");
2956
- var import_sdkgen_client48 = require("sdkgen-client");
2957
- var BackendPlanTag = class extends import_sdkgen_client47.TagAbstract {
3411
+ var import_sdkgen_client53 = require("sdkgen-client");
3412
+ var import_sdkgen_client54 = require("sdkgen-client");
3413
+ var BackendPlanTag = class extends import_sdkgen_client53.TagAbstract {
2958
3414
  /**
3415
+ * Creates a new plan
3416
+ *
2959
3417
  * @returns {Promise<CommonMessage>}
2960
3418
  * @throws {CommonMessageException}
2961
3419
  * @throws {ClientException}
@@ -2979,9 +3437,11 @@ var BackendPlanTag = class extends import_sdkgen_client47.TagAbstract {
2979
3437
  if (statusCode >= 0 && statusCode <= 999) {
2980
3438
  throw new CommonMessageException(await response.json());
2981
3439
  }
2982
- throw new import_sdkgen_client48.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3440
+ throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
2983
3441
  }
2984
3442
  /**
3443
+ * Deletes an existing plan
3444
+ *
2985
3445
  * @returns {Promise<CommonMessage>}
2986
3446
  * @throws {CommonMessageException}
2987
3447
  * @throws {ClientException}
@@ -3004,9 +3464,11 @@ var BackendPlanTag = class extends import_sdkgen_client47.TagAbstract {
3004
3464
  if (statusCode >= 0 && statusCode <= 999) {
3005
3465
  throw new CommonMessageException(await response.json());
3006
3466
  }
3007
- throw new import_sdkgen_client48.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3467
+ throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3008
3468
  }
3009
3469
  /**
3470
+ * Returns a specific plan
3471
+ *
3010
3472
  * @returns {Promise<BackendPlan>}
3011
3473
  * @throws {CommonMessageException}
3012
3474
  * @throws {ClientException}
@@ -3029,9 +3491,11 @@ var BackendPlanTag = class extends import_sdkgen_client47.TagAbstract {
3029
3491
  if (statusCode >= 0 && statusCode <= 999) {
3030
3492
  throw new CommonMessageException(await response.json());
3031
3493
  }
3032
- throw new import_sdkgen_client48.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3494
+ throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3033
3495
  }
3034
3496
  /**
3497
+ * Returns a paginated list of plans
3498
+ *
3035
3499
  * @returns {Promise<BackendPlanCollection>}
3036
3500
  * @throws {CommonMessageException}
3037
3501
  * @throws {ClientException}
@@ -3056,9 +3520,11 @@ var BackendPlanTag = class extends import_sdkgen_client47.TagAbstract {
3056
3520
  if (statusCode >= 0 && statusCode <= 999) {
3057
3521
  throw new CommonMessageException(await response.json());
3058
3522
  }
3059
- throw new import_sdkgen_client48.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3523
+ throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3060
3524
  }
3061
3525
  /**
3526
+ * Updates an existing plan
3527
+ *
3062
3528
  * @returns {Promise<CommonMessage>}
3063
3529
  * @throws {CommonMessageException}
3064
3530
  * @throws {ClientException}
@@ -3084,15 +3550,17 @@ var BackendPlanTag = class extends import_sdkgen_client47.TagAbstract {
3084
3550
  if (statusCode >= 0 && statusCode <= 999) {
3085
3551
  throw new CommonMessageException(await response.json());
3086
3552
  }
3087
- throw new import_sdkgen_client48.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3553
+ throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3088
3554
  }
3089
3555
  };
3090
3556
 
3091
3557
  // src/BackendRateTag.ts
3092
- var import_sdkgen_client49 = require("sdkgen-client");
3093
- var import_sdkgen_client50 = require("sdkgen-client");
3094
- var BackendRateTag = class extends import_sdkgen_client49.TagAbstract {
3558
+ var import_sdkgen_client55 = require("sdkgen-client");
3559
+ var import_sdkgen_client56 = require("sdkgen-client");
3560
+ var BackendRateTag = class extends import_sdkgen_client55.TagAbstract {
3095
3561
  /**
3562
+ * Creates a new rate limitation
3563
+ *
3096
3564
  * @returns {Promise<CommonMessage>}
3097
3565
  * @throws {CommonMessageException}
3098
3566
  * @throws {ClientException}
@@ -3116,9 +3584,11 @@ var BackendRateTag = class extends import_sdkgen_client49.TagAbstract {
3116
3584
  if (statusCode >= 0 && statusCode <= 999) {
3117
3585
  throw new CommonMessageException(await response.json());
3118
3586
  }
3119
- throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3587
+ throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3120
3588
  }
3121
3589
  /**
3590
+ * Deletes an existing rate
3591
+ *
3122
3592
  * @returns {Promise<CommonMessage>}
3123
3593
  * @throws {CommonMessageException}
3124
3594
  * @throws {ClientException}
@@ -3141,9 +3611,11 @@ var BackendRateTag = class extends import_sdkgen_client49.TagAbstract {
3141
3611
  if (statusCode >= 0 && statusCode <= 999) {
3142
3612
  throw new CommonMessageException(await response.json());
3143
3613
  }
3144
- throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3614
+ throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3145
3615
  }
3146
3616
  /**
3617
+ * Returns a specific rate
3618
+ *
3147
3619
  * @returns {Promise<BackendRate>}
3148
3620
  * @throws {CommonMessageException}
3149
3621
  * @throws {ClientException}
@@ -3166,9 +3638,11 @@ var BackendRateTag = class extends import_sdkgen_client49.TagAbstract {
3166
3638
  if (statusCode >= 0 && statusCode <= 999) {
3167
3639
  throw new CommonMessageException(await response.json());
3168
3640
  }
3169
- throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3641
+ throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3170
3642
  }
3171
3643
  /**
3644
+ * Returns a paginated list of rate limitations
3645
+ *
3172
3646
  * @returns {Promise<BackendRateCollection>}
3173
3647
  * @throws {CommonMessageException}
3174
3648
  * @throws {ClientException}
@@ -3193,9 +3667,11 @@ var BackendRateTag = class extends import_sdkgen_client49.TagAbstract {
3193
3667
  if (statusCode >= 0 && statusCode <= 999) {
3194
3668
  throw new CommonMessageException(await response.json());
3195
3669
  }
3196
- throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3670
+ throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3197
3671
  }
3198
3672
  /**
3673
+ * Updates an existing rate
3674
+ *
3199
3675
  * @returns {Promise<CommonMessage>}
3200
3676
  * @throws {CommonMessageException}
3201
3677
  * @throws {ClientException}
@@ -3221,15 +3697,17 @@ var BackendRateTag = class extends import_sdkgen_client49.TagAbstract {
3221
3697
  if (statusCode >= 0 && statusCode <= 999) {
3222
3698
  throw new CommonMessageException(await response.json());
3223
3699
  }
3224
- throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3700
+ throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3225
3701
  }
3226
3702
  };
3227
3703
 
3228
3704
  // src/BackendRoleTag.ts
3229
- var import_sdkgen_client51 = require("sdkgen-client");
3230
- var import_sdkgen_client52 = require("sdkgen-client");
3231
- var BackendRoleTag = class extends import_sdkgen_client51.TagAbstract {
3705
+ var import_sdkgen_client57 = require("sdkgen-client");
3706
+ var import_sdkgen_client58 = require("sdkgen-client");
3707
+ var BackendRoleTag = class extends import_sdkgen_client57.TagAbstract {
3232
3708
  /**
3709
+ * Creates a new role
3710
+ *
3233
3711
  * @returns {Promise<CommonMessage>}
3234
3712
  * @throws {CommonMessageException}
3235
3713
  * @throws {ClientException}
@@ -3253,9 +3731,11 @@ var BackendRoleTag = class extends import_sdkgen_client51.TagAbstract {
3253
3731
  if (statusCode >= 0 && statusCode <= 999) {
3254
3732
  throw new CommonMessageException(await response.json());
3255
3733
  }
3256
- throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3734
+ throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3257
3735
  }
3258
3736
  /**
3737
+ * Deletes an existing role
3738
+ *
3259
3739
  * @returns {Promise<CommonMessage>}
3260
3740
  * @throws {CommonMessageException}
3261
3741
  * @throws {ClientException}
@@ -3278,9 +3758,11 @@ var BackendRoleTag = class extends import_sdkgen_client51.TagAbstract {
3278
3758
  if (statusCode >= 0 && statusCode <= 999) {
3279
3759
  throw new CommonMessageException(await response.json());
3280
3760
  }
3281
- throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3761
+ throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3282
3762
  }
3283
3763
  /**
3764
+ * Returns a specific role
3765
+ *
3284
3766
  * @returns {Promise<BackendRole>}
3285
3767
  * @throws {CommonMessageException}
3286
3768
  * @throws {ClientException}
@@ -3303,9 +3785,11 @@ var BackendRoleTag = class extends import_sdkgen_client51.TagAbstract {
3303
3785
  if (statusCode >= 0 && statusCode <= 999) {
3304
3786
  throw new CommonMessageException(await response.json());
3305
3787
  }
3306
- throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3788
+ throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3307
3789
  }
3308
3790
  /**
3791
+ * Returns a paginated list of roles
3792
+ *
3309
3793
  * @returns {Promise<BackendRoleCollection>}
3310
3794
  * @throws {CommonMessageException}
3311
3795
  * @throws {ClientException}
@@ -3330,9 +3814,11 @@ var BackendRoleTag = class extends import_sdkgen_client51.TagAbstract {
3330
3814
  if (statusCode >= 0 && statusCode <= 999) {
3331
3815
  throw new CommonMessageException(await response.json());
3332
3816
  }
3333
- throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3817
+ throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3334
3818
  }
3335
3819
  /**
3820
+ * Updates an existing role
3821
+ *
3336
3822
  * @returns {Promise<CommonMessage>}
3337
3823
  * @throws {CommonMessageException}
3338
3824
  * @throws {ClientException}
@@ -3358,15 +3844,17 @@ var BackendRoleTag = class extends import_sdkgen_client51.TagAbstract {
3358
3844
  if (statusCode >= 0 && statusCode <= 999) {
3359
3845
  throw new CommonMessageException(await response.json());
3360
3846
  }
3361
- throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3847
+ throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3362
3848
  }
3363
3849
  };
3364
3850
 
3365
3851
  // src/BackendSchemaTag.ts
3366
- var import_sdkgen_client53 = require("sdkgen-client");
3367
- var import_sdkgen_client54 = require("sdkgen-client");
3368
- var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3852
+ var import_sdkgen_client59 = require("sdkgen-client");
3853
+ var import_sdkgen_client60 = require("sdkgen-client");
3854
+ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
3369
3855
  /**
3856
+ * Creates a new schema
3857
+ *
3370
3858
  * @returns {Promise<CommonMessage>}
3371
3859
  * @throws {CommonMessageException}
3372
3860
  * @throws {ClientException}
@@ -3390,9 +3878,11 @@ var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3390
3878
  if (statusCode >= 0 && statusCode <= 999) {
3391
3879
  throw new CommonMessageException(await response.json());
3392
3880
  }
3393
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3881
+ throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3394
3882
  }
3395
3883
  /**
3884
+ * Deletes an existing schema
3885
+ *
3396
3886
  * @returns {Promise<CommonMessage>}
3397
3887
  * @throws {CommonMessageException}
3398
3888
  * @throws {ClientException}
@@ -3415,9 +3905,11 @@ var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3415
3905
  if (statusCode >= 0 && statusCode <= 999) {
3416
3906
  throw new CommonMessageException(await response.json());
3417
3907
  }
3418
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3908
+ throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3419
3909
  }
3420
3910
  /**
3911
+ * Returns a specific schema
3912
+ *
3421
3913
  * @returns {Promise<BackendSchema>}
3422
3914
  * @throws {CommonMessageException}
3423
3915
  * @throws {ClientException}
@@ -3440,9 +3932,11 @@ var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3440
3932
  if (statusCode >= 0 && statusCode <= 999) {
3441
3933
  throw new CommonMessageException(await response.json());
3442
3934
  }
3443
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3935
+ throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3444
3936
  }
3445
3937
  /**
3938
+ * Returns a paginated list of schemas
3939
+ *
3446
3940
  * @returns {Promise<BackendSchemaCollection>}
3447
3941
  * @throws {CommonMessageException}
3448
3942
  * @throws {ClientException}
@@ -3467,9 +3961,11 @@ var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3467
3961
  if (statusCode >= 0 && statusCode <= 999) {
3468
3962
  throw new CommonMessageException(await response.json());
3469
3963
  }
3470
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3964
+ throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3471
3965
  }
3472
3966
  /**
3967
+ * Returns a HTML preview of the provided schema
3968
+ *
3473
3969
  * @returns {Promise<BackendSchemaPreviewResponse>}
3474
3970
  * @throws {CommonMessageException}
3475
3971
  * @throws {ClientException}
@@ -3492,9 +3988,11 @@ var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3492
3988
  if (statusCode >= 0 && statusCode <= 999) {
3493
3989
  throw new CommonMessageException(await response.json());
3494
3990
  }
3495
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3991
+ throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3496
3992
  }
3497
3993
  /**
3994
+ * Updates an existing schema
3995
+ *
3498
3996
  * @returns {Promise<CommonMessage>}
3499
3997
  * @throws {CommonMessageException}
3500
3998
  * @throws {ClientException}
@@ -3520,43 +4018,17 @@ var BackendSchemaTag = class extends import_sdkgen_client53.TagAbstract {
3520
4018
  if (statusCode >= 0 && statusCode <= 999) {
3521
4019
  throw new CommonMessageException(await response.json());
3522
4020
  }
3523
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3524
- }
3525
- /**
3526
- * @returns {Promise<CommonMessage>}
3527
- * @throws {CommonMessageException}
3528
- * @throws {ClientException}
3529
- */
3530
- async updateForm(schemaId, payload) {
3531
- const url = this.parser.url("/backend/schema/form/$schema_id<[0-9]+>", {
3532
- "schema_id": schemaId
3533
- });
3534
- let request = {
3535
- url,
3536
- method: "PUT",
3537
- headers: {
3538
- "Content-Type": "application/json"
3539
- },
3540
- params: this.parser.query({}, []),
3541
- data: payload
3542
- };
3543
- const response = await this.httpClient.request(request);
3544
- if (response.ok) {
3545
- return await response.json();
3546
- }
3547
- const statusCode = response.status;
3548
- if (statusCode >= 0 && statusCode <= 999) {
3549
- throw new CommonMessageException(await response.json());
3550
- }
3551
- throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4021
+ throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3552
4022
  }
3553
4023
  };
3554
4024
 
3555
4025
  // src/BackendScopeTag.ts
3556
- var import_sdkgen_client55 = require("sdkgen-client");
3557
- var import_sdkgen_client56 = require("sdkgen-client");
3558
- var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
4026
+ var import_sdkgen_client61 = require("sdkgen-client");
4027
+ var import_sdkgen_client62 = require("sdkgen-client");
4028
+ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
3559
4029
  /**
4030
+ * Creates a new scope
4031
+ *
3560
4032
  * @returns {Promise<CommonMessage>}
3561
4033
  * @throws {CommonMessageException}
3562
4034
  * @throws {ClientException}
@@ -3580,9 +4052,11 @@ var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
3580
4052
  if (statusCode >= 0 && statusCode <= 999) {
3581
4053
  throw new CommonMessageException(await response.json());
3582
4054
  }
3583
- throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4055
+ throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3584
4056
  }
3585
4057
  /**
4058
+ * Deletes an existing scope
4059
+ *
3586
4060
  * @returns {Promise<CommonMessage>}
3587
4061
  * @throws {CommonMessageException}
3588
4062
  * @throws {ClientException}
@@ -3605,9 +4079,11 @@ var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
3605
4079
  if (statusCode >= 0 && statusCode <= 999) {
3606
4080
  throw new CommonMessageException(await response.json());
3607
4081
  }
3608
- throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4082
+ throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3609
4083
  }
3610
4084
  /**
4085
+ * Returns a specific scope
4086
+ *
3611
4087
  * @returns {Promise<BackendScope>}
3612
4088
  * @throws {CommonMessageException}
3613
4089
  * @throws {ClientException}
@@ -3630,9 +4106,11 @@ var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
3630
4106
  if (statusCode >= 0 && statusCode <= 999) {
3631
4107
  throw new CommonMessageException(await response.json());
3632
4108
  }
3633
- throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4109
+ throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3634
4110
  }
3635
4111
  /**
4112
+ * Returns a paginated list of scopes
4113
+ *
3636
4114
  * @returns {Promise<BackendScopeCollection>}
3637
4115
  * @throws {CommonMessageException}
3638
4116
  * @throws {ClientException}
@@ -3657,9 +4135,11 @@ var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
3657
4135
  if (statusCode >= 0 && statusCode <= 999) {
3658
4136
  throw new CommonMessageException(await response.json());
3659
4137
  }
3660
- throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4138
+ throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3661
4139
  }
3662
4140
  /**
4141
+ * Returns all available scopes grouped by category
4142
+ *
3663
4143
  * @returns {Promise<BackendScopeCategories>}
3664
4144
  * @throws {CommonMessageException}
3665
4145
  * @throws {ClientException}
@@ -3680,9 +4160,11 @@ var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
3680
4160
  if (statusCode >= 0 && statusCode <= 999) {
3681
4161
  throw new CommonMessageException(await response.json());
3682
4162
  }
3683
- throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4163
+ throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3684
4164
  }
3685
4165
  /**
4166
+ * Updates an existing scope
4167
+ *
3686
4168
  * @returns {Promise<CommonMessage>}
3687
4169
  * @throws {CommonMessageException}
3688
4170
  * @throws {ClientException}
@@ -3708,15 +4190,17 @@ var BackendScopeTag = class extends import_sdkgen_client55.TagAbstract {
3708
4190
  if (statusCode >= 0 && statusCode <= 999) {
3709
4191
  throw new CommonMessageException(await response.json());
3710
4192
  }
3711
- throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4193
+ throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3712
4194
  }
3713
4195
  };
3714
4196
 
3715
4197
  // src/BackendSdkTag.ts
3716
- var import_sdkgen_client57 = require("sdkgen-client");
3717
- var import_sdkgen_client58 = require("sdkgen-client");
3718
- var BackendSdkTag = class extends import_sdkgen_client57.TagAbstract {
4198
+ var import_sdkgen_client63 = require("sdkgen-client");
4199
+ var import_sdkgen_client64 = require("sdkgen-client");
4200
+ var BackendSdkTag = class extends import_sdkgen_client63.TagAbstract {
3719
4201
  /**
4202
+ * Generates a specific SDK
4203
+ *
3720
4204
  * @returns {Promise<BackendSdkMessage>}
3721
4205
  * @throws {CommonMessageException}
3722
4206
  * @throws {ClientException}
@@ -3740,9 +4224,11 @@ var BackendSdkTag = class extends import_sdkgen_client57.TagAbstract {
3740
4224
  if (statusCode >= 0 && statusCode <= 999) {
3741
4225
  throw new CommonMessageException(await response.json());
3742
4226
  }
3743
- throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4227
+ throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3744
4228
  }
3745
4229
  /**
4230
+ * Returns a paginated list of SDKs
4231
+ *
3746
4232
  * @returns {Promise<BackendSdkResponse>}
3747
4233
  * @throws {CommonMessageException}
3748
4234
  * @throws {ClientException}
@@ -3763,15 +4249,17 @@ var BackendSdkTag = class extends import_sdkgen_client57.TagAbstract {
3763
4249
  if (statusCode >= 0 && statusCode <= 999) {
3764
4250
  throw new CommonMessageException(await response.json());
3765
4251
  }
3766
- throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4252
+ throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3767
4253
  }
3768
4254
  };
3769
4255
 
3770
4256
  // src/BackendStatisticTag.ts
3771
- var import_sdkgen_client59 = require("sdkgen-client");
3772
- var import_sdkgen_client60 = require("sdkgen-client");
3773
- var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4257
+ var import_sdkgen_client65 = require("sdkgen-client");
4258
+ var import_sdkgen_client66 = require("sdkgen-client");
4259
+ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
3774
4260
  /**
4261
+ * Returns a statistic containing the activities per user
4262
+ *
3775
4263
  * @returns {Promise<BackendStatisticChart>}
3776
4264
  * @throws {CommonMessageException}
3777
4265
  * @throws {ClientException}
@@ -3807,9 +4295,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
3807
4295
  if (statusCode >= 0 && statusCode <= 999) {
3808
4296
  throw new CommonMessageException(await response.json());
3809
4297
  }
3810
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4298
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3811
4299
  }
3812
4300
  /**
4301
+ * Returns a statistic containing the request count
4302
+ *
3813
4303
  * @returns {Promise<BackendStatisticCount>}
3814
4304
  * @throws {CommonMessageException}
3815
4305
  * @throws {ClientException}
@@ -3845,9 +4335,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
3845
4335
  if (statusCode >= 0 && statusCode <= 999) {
3846
4336
  throw new CommonMessageException(await response.json());
3847
4337
  }
3848
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4338
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3849
4339
  }
3850
4340
  /**
4341
+ * Returns a statistic containing the errors per operation
4342
+ *
3851
4343
  * @returns {Promise<BackendStatisticChart>}
3852
4344
  * @throws {CommonMessageException}
3853
4345
  * @throws {ClientException}
@@ -3883,9 +4375,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
3883
4375
  if (statusCode >= 0 && statusCode <= 999) {
3884
4376
  throw new CommonMessageException(await response.json());
3885
4377
  }
3886
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4378
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3887
4379
  }
3888
4380
  /**
4381
+ * Returns a statistic containing the incoming requests
4382
+ *
3889
4383
  * @returns {Promise<BackendStatisticChart>}
3890
4384
  * @throws {CommonMessageException}
3891
4385
  * @throws {ClientException}
@@ -3921,9 +4415,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
3921
4415
  if (statusCode >= 0 && statusCode <= 999) {
3922
4416
  throw new CommonMessageException(await response.json());
3923
4417
  }
3924
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4418
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3925
4419
  }
3926
4420
  /**
4421
+ * Returns a statistic containing the incoming transactions
4422
+ *
3927
4423
  * @returns {Promise<BackendStatisticChart>}
3928
4424
  * @throws {CommonMessageException}
3929
4425
  * @throws {ClientException}
@@ -3959,9 +4455,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
3959
4455
  if (statusCode >= 0 && statusCode <= 999) {
3960
4456
  throw new CommonMessageException(await response.json());
3961
4457
  }
3962
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4458
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
3963
4459
  }
3964
4460
  /**
4461
+ * Returns a statistic containing the issues tokens
4462
+ *
3965
4463
  * @returns {Promise<BackendStatisticChart>}
3966
4464
  * @throws {CommonMessageException}
3967
4465
  * @throws {ClientException}
@@ -3997,9 +4495,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
3997
4495
  if (statusCode >= 0 && statusCode <= 999) {
3998
4496
  throw new CommonMessageException(await response.json());
3999
4497
  }
4000
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4498
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4001
4499
  }
4002
4500
  /**
4501
+ * Returns a statistic containing the most used activities
4502
+ *
4003
4503
  * @returns {Promise<BackendStatisticChart>}
4004
4504
  * @throws {CommonMessageException}
4005
4505
  * @throws {ClientException}
@@ -4035,9 +4535,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4035
4535
  if (statusCode >= 0 && statusCode <= 999) {
4036
4536
  throw new CommonMessageException(await response.json());
4037
4537
  }
4038
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4538
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4039
4539
  }
4040
4540
  /**
4541
+ * Returns a statistic containing the most used apps
4542
+ *
4041
4543
  * @returns {Promise<BackendStatisticChart>}
4042
4544
  * @throws {CommonMessageException}
4043
4545
  * @throws {ClientException}
@@ -4073,9 +4575,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4073
4575
  if (statusCode >= 0 && statusCode <= 999) {
4074
4576
  throw new CommonMessageException(await response.json());
4075
4577
  }
4076
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4578
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4077
4579
  }
4078
4580
  /**
4581
+ * Returns a statistic containing the most used operations
4582
+ *
4079
4583
  * @returns {Promise<BackendStatisticChart>}
4080
4584
  * @throws {CommonMessageException}
4081
4585
  * @throws {ClientException}
@@ -4111,9 +4615,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4111
4615
  if (statusCode >= 0 && statusCode <= 999) {
4112
4616
  throw new CommonMessageException(await response.json());
4113
4617
  }
4114
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4618
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4115
4619
  }
4116
4620
  /**
4621
+ * Returns a statistic containing the test coverage
4622
+ *
4117
4623
  * @returns {Promise<BackendStatisticChart>}
4118
4624
  * @throws {CommonMessageException}
4119
4625
  * @throws {ClientException}
@@ -4134,9 +4640,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4134
4640
  if (statusCode >= 0 && statusCode <= 999) {
4135
4641
  throw new CommonMessageException(await response.json());
4136
4642
  }
4137
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4643
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4138
4644
  }
4139
4645
  /**
4646
+ * Returns a statistic containing the time average
4647
+ *
4140
4648
  * @returns {Promise<BackendStatisticChart>}
4141
4649
  * @throws {CommonMessageException}
4142
4650
  * @throws {ClientException}
@@ -4172,9 +4680,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4172
4680
  if (statusCode >= 0 && statusCode <= 999) {
4173
4681
  throw new CommonMessageException(await response.json());
4174
4682
  }
4175
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4683
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4176
4684
  }
4177
4685
  /**
4686
+ * Returns a statistic containing the time per operation
4687
+ *
4178
4688
  * @returns {Promise<BackendStatisticChart>}
4179
4689
  * @throws {CommonMessageException}
4180
4690
  * @throws {ClientException}
@@ -4210,9 +4720,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4210
4720
  if (statusCode >= 0 && statusCode <= 999) {
4211
4721
  throw new CommonMessageException(await response.json());
4212
4722
  }
4213
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4723
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4214
4724
  }
4215
4725
  /**
4726
+ * Returns a statistic containing the used points
4727
+ *
4216
4728
  * @returns {Promise<BackendStatisticChart>}
4217
4729
  * @throws {CommonMessageException}
4218
4730
  * @throws {ClientException}
@@ -4248,9 +4760,11 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4248
4760
  if (statusCode >= 0 && statusCode <= 999) {
4249
4761
  throw new CommonMessageException(await response.json());
4250
4762
  }
4251
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4763
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4252
4764
  }
4253
4765
  /**
4766
+ * Returns a statistic containing the user registrations
4767
+ *
4254
4768
  * @returns {Promise<BackendStatisticChart>}
4255
4769
  * @throws {CommonMessageException}
4256
4770
  * @throws {ClientException}
@@ -4286,18 +4800,20 @@ var BackendStatisticTag = class extends import_sdkgen_client59.TagAbstract {
4286
4800
  if (statusCode >= 0 && statusCode <= 999) {
4287
4801
  throw new CommonMessageException(await response.json());
4288
4802
  }
4289
- throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4803
+ throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4290
4804
  }
4291
4805
  };
4292
4806
 
4293
4807
  // src/BackendTag.ts
4294
- var import_sdkgen_client75 = require("sdkgen-client");
4808
+ var import_sdkgen_client81 = require("sdkgen-client");
4295
4809
 
4296
4810
  // src/BackendTenantTag.ts
4297
- var import_sdkgen_client61 = require("sdkgen-client");
4298
- var import_sdkgen_client62 = require("sdkgen-client");
4299
- var BackendTenantTag = class extends import_sdkgen_client61.TagAbstract {
4811
+ var import_sdkgen_client67 = require("sdkgen-client");
4812
+ var import_sdkgen_client68 = require("sdkgen-client");
4813
+ var BackendTenantTag = class extends import_sdkgen_client67.TagAbstract {
4300
4814
  /**
4815
+ * Removes an existing tenant
4816
+ *
4301
4817
  * @returns {Promise<CommonMessage>}
4302
4818
  * @throws {CommonMessageException}
4303
4819
  * @throws {ClientException}
@@ -4320,9 +4836,11 @@ var BackendTenantTag = class extends import_sdkgen_client61.TagAbstract {
4320
4836
  if (statusCode >= 0 && statusCode <= 999) {
4321
4837
  throw new CommonMessageException(await response.json());
4322
4838
  }
4323
- throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4839
+ throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4324
4840
  }
4325
4841
  /**
4842
+ * Setup a new tenant
4843
+ *
4326
4844
  * @returns {Promise<CommonMessage>}
4327
4845
  * @throws {CommonMessageException}
4328
4846
  * @throws {ClientException}
@@ -4345,15 +4863,17 @@ var BackendTenantTag = class extends import_sdkgen_client61.TagAbstract {
4345
4863
  if (statusCode >= 0 && statusCode <= 999) {
4346
4864
  throw new CommonMessageException(await response.json());
4347
4865
  }
4348
- throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4866
+ throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4349
4867
  }
4350
4868
  };
4351
4869
 
4352
4870
  // src/BackendTestTag.ts
4353
- var import_sdkgen_client63 = require("sdkgen-client");
4354
- var import_sdkgen_client64 = require("sdkgen-client");
4355
- var BackendTestTag = class extends import_sdkgen_client63.TagAbstract {
4871
+ var import_sdkgen_client69 = require("sdkgen-client");
4872
+ var import_sdkgen_client70 = require("sdkgen-client");
4873
+ var BackendTestTag = class extends import_sdkgen_client69.TagAbstract {
4356
4874
  /**
4875
+ * Returns a specific test
4876
+ *
4357
4877
  * @returns {Promise<BackendTest>}
4358
4878
  * @throws {CommonMessageException}
4359
4879
  * @throws {ClientException}
@@ -4376,9 +4896,11 @@ var BackendTestTag = class extends import_sdkgen_client63.TagAbstract {
4376
4896
  if (statusCode >= 0 && statusCode <= 999) {
4377
4897
  throw new CommonMessageException(await response.json());
4378
4898
  }
4379
- throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4899
+ throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4380
4900
  }
4381
4901
  /**
4902
+ * Returns a paginated list of tests
4903
+ *
4382
4904
  * @returns {Promise<BackendTestCollection>}
4383
4905
  * @throws {CommonMessageException}
4384
4906
  * @throws {ClientException}
@@ -4403,9 +4925,11 @@ var BackendTestTag = class extends import_sdkgen_client63.TagAbstract {
4403
4925
  if (statusCode >= 0 && statusCode <= 999) {
4404
4926
  throw new CommonMessageException(await response.json());
4405
4927
  }
4406
- throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4928
+ throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4407
4929
  }
4408
4930
  /**
4931
+ * Refresh all tests
4932
+ *
4409
4933
  * @returns {Promise<CommonMessage>}
4410
4934
  * @throws {CommonMessageException}
4411
4935
  * @throws {ClientException}
@@ -4426,9 +4950,11 @@ var BackendTestTag = class extends import_sdkgen_client63.TagAbstract {
4426
4950
  if (statusCode >= 0 && statusCode <= 999) {
4427
4951
  throw new CommonMessageException(await response.json());
4428
4952
  }
4429
- throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4953
+ throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4430
4954
  }
4431
4955
  /**
4956
+ * Run all tests
4957
+ *
4432
4958
  * @returns {Promise<CommonMessage>}
4433
4959
  * @throws {CommonMessageException}
4434
4960
  * @throws {ClientException}
@@ -4449,9 +4975,11 @@ var BackendTestTag = class extends import_sdkgen_client63.TagAbstract {
4449
4975
  if (statusCode >= 0 && statusCode <= 999) {
4450
4976
  throw new CommonMessageException(await response.json());
4451
4977
  }
4452
- throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4978
+ throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4453
4979
  }
4454
4980
  /**
4981
+ * Updates an existing test
4982
+ *
4455
4983
  * @returns {Promise<CommonMessage>}
4456
4984
  * @throws {CommonMessageException}
4457
4985
  * @throws {ClientException}
@@ -4477,15 +5005,17 @@ var BackendTestTag = class extends import_sdkgen_client63.TagAbstract {
4477
5005
  if (statusCode >= 0 && statusCode <= 999) {
4478
5006
  throw new CommonMessageException(await response.json());
4479
5007
  }
4480
- throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5008
+ throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4481
5009
  }
4482
5010
  };
4483
5011
 
4484
5012
  // src/BackendTokenTag.ts
4485
- var import_sdkgen_client65 = require("sdkgen-client");
4486
- var import_sdkgen_client66 = require("sdkgen-client");
4487
- var BackendTokenTag = class extends import_sdkgen_client65.TagAbstract {
5013
+ var import_sdkgen_client71 = require("sdkgen-client");
5014
+ var import_sdkgen_client72 = require("sdkgen-client");
5015
+ var BackendTokenTag = class extends import_sdkgen_client71.TagAbstract {
4488
5016
  /**
5017
+ * Returns a specific token
5018
+ *
4489
5019
  * @returns {Promise<BackendToken>}
4490
5020
  * @throws {CommonMessageException}
4491
5021
  * @throws {ClientException}
@@ -4508,9 +5038,11 @@ var BackendTokenTag = class extends import_sdkgen_client65.TagAbstract {
4508
5038
  if (statusCode >= 0 && statusCode <= 999) {
4509
5039
  throw new CommonMessageException(await response.json());
4510
5040
  }
4511
- throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5041
+ throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4512
5042
  }
4513
5043
  /**
5044
+ * Returns a paginated list of tokens
5045
+ *
4514
5046
  * @returns {Promise<BackendTokenCollection>}
4515
5047
  * @throws {CommonMessageException}
4516
5048
  * @throws {ClientException}
@@ -4542,15 +5074,17 @@ var BackendTokenTag = class extends import_sdkgen_client65.TagAbstract {
4542
5074
  if (statusCode >= 0 && statusCode <= 999) {
4543
5075
  throw new CommonMessageException(await response.json());
4544
5076
  }
4545
- throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5077
+ throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4546
5078
  }
4547
5079
  };
4548
5080
 
4549
5081
  // src/BackendTransactionTag.ts
4550
- var import_sdkgen_client67 = require("sdkgen-client");
4551
- var import_sdkgen_client68 = require("sdkgen-client");
4552
- var BackendTransactionTag = class extends import_sdkgen_client67.TagAbstract {
5082
+ var import_sdkgen_client73 = require("sdkgen-client");
5083
+ var import_sdkgen_client74 = require("sdkgen-client");
5084
+ var BackendTransactionTag = class extends import_sdkgen_client73.TagAbstract {
4553
5085
  /**
5086
+ * Returns a specific transaction
5087
+ *
4554
5088
  * @returns {Promise<BackendTransaction>}
4555
5089
  * @throws {CommonMessageException}
4556
5090
  * @throws {ClientException}
@@ -4573,9 +5107,11 @@ var BackendTransactionTag = class extends import_sdkgen_client67.TagAbstract {
4573
5107
  if (statusCode >= 0 && statusCode <= 999) {
4574
5108
  throw new CommonMessageException(await response.json());
4575
5109
  }
4576
- throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5110
+ throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4577
5111
  }
4578
5112
  /**
5113
+ * Returns a paginated list of transactions
5114
+ *
4579
5115
  * @returns {Promise<BackendTransactionCollection>}
4580
5116
  * @throws {CommonMessageException}
4581
5117
  * @throws {ClientException}
@@ -4607,15 +5143,17 @@ var BackendTransactionTag = class extends import_sdkgen_client67.TagAbstract {
4607
5143
  if (statusCode >= 0 && statusCode <= 999) {
4608
5144
  throw new CommonMessageException(await response.json());
4609
5145
  }
4610
- throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5146
+ throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4611
5147
  }
4612
5148
  };
4613
5149
 
4614
5150
  // src/BackendTrashTag.ts
4615
- var import_sdkgen_client69 = require("sdkgen-client");
4616
- var import_sdkgen_client70 = require("sdkgen-client");
4617
- var BackendTrashTag = class extends import_sdkgen_client69.TagAbstract {
5151
+ var import_sdkgen_client75 = require("sdkgen-client");
5152
+ var import_sdkgen_client76 = require("sdkgen-client");
5153
+ var BackendTrashTag = class extends import_sdkgen_client75.TagAbstract {
4618
5154
  /**
5155
+ * Returns all deleted records by trash type
5156
+ *
4619
5157
  * @returns {Promise<BackendTrashDataCollection>}
4620
5158
  * @throws {CommonMessageException}
4621
5159
  * @throws {ClientException}
@@ -4642,9 +5180,11 @@ var BackendTrashTag = class extends import_sdkgen_client69.TagAbstract {
4642
5180
  if (statusCode >= 0 && statusCode <= 999) {
4643
5181
  throw new CommonMessageException(await response.json());
4644
5182
  }
4645
- throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5183
+ throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4646
5184
  }
4647
5185
  /**
5186
+ * Returns all trash types
5187
+ *
4648
5188
  * @returns {Promise<BackendTrashTypes>}
4649
5189
  * @throws {CommonMessageException}
4650
5190
  * @throws {ClientException}
@@ -4665,9 +5205,11 @@ var BackendTrashTag = class extends import_sdkgen_client69.TagAbstract {
4665
5205
  if (statusCode >= 0 && statusCode <= 999) {
4666
5206
  throw new CommonMessageException(await response.json());
4667
5207
  }
4668
- throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5208
+ throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4669
5209
  }
4670
5210
  /**
5211
+ * Restores a previously deleted record
5212
+ *
4671
5213
  * @returns {Promise<CommonMessage>}
4672
5214
  * @throws {CommonMessageException}
4673
5215
  * @throws {ClientException}
@@ -4693,15 +5235,17 @@ var BackendTrashTag = class extends import_sdkgen_client69.TagAbstract {
4693
5235
  if (statusCode >= 0 && statusCode <= 999) {
4694
5236
  throw new CommonMessageException(await response.json());
4695
5237
  }
4696
- throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5238
+ throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4697
5239
  }
4698
5240
  };
4699
5241
 
4700
5242
  // src/BackendUserTag.ts
4701
- var import_sdkgen_client71 = require("sdkgen-client");
4702
- var import_sdkgen_client72 = require("sdkgen-client");
4703
- var BackendUserTag = class extends import_sdkgen_client71.TagAbstract {
5243
+ var import_sdkgen_client77 = require("sdkgen-client");
5244
+ var import_sdkgen_client78 = require("sdkgen-client");
5245
+ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
4704
5246
  /**
5247
+ * Creates a new user
5248
+ *
4705
5249
  * @returns {Promise<CommonMessage>}
4706
5250
  * @throws {CommonMessageException}
4707
5251
  * @throws {ClientException}
@@ -4725,9 +5269,11 @@ var BackendUserTag = class extends import_sdkgen_client71.TagAbstract {
4725
5269
  if (statusCode >= 0 && statusCode <= 999) {
4726
5270
  throw new CommonMessageException(await response.json());
4727
5271
  }
4728
- throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5272
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4729
5273
  }
4730
5274
  /**
5275
+ * Deletes an existing user
5276
+ *
4731
5277
  * @returns {Promise<CommonMessage>}
4732
5278
  * @throws {CommonMessageException}
4733
5279
  * @throws {ClientException}
@@ -4750,9 +5296,11 @@ var BackendUserTag = class extends import_sdkgen_client71.TagAbstract {
4750
5296
  if (statusCode >= 0 && statusCode <= 999) {
4751
5297
  throw new CommonMessageException(await response.json());
4752
5298
  }
4753
- throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5299
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4754
5300
  }
4755
5301
  /**
5302
+ * Returns a specific user
5303
+ *
4756
5304
  * @returns {Promise<BackendUser>}
4757
5305
  * @throws {CommonMessageException}
4758
5306
  * @throws {ClientException}
@@ -4775,9 +5323,11 @@ var BackendUserTag = class extends import_sdkgen_client71.TagAbstract {
4775
5323
  if (statusCode >= 0 && statusCode <= 999) {
4776
5324
  throw new CommonMessageException(await response.json());
4777
5325
  }
4778
- throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5326
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4779
5327
  }
4780
5328
  /**
5329
+ * Returns a paginated list of users
5330
+ *
4781
5331
  * @returns {Promise<BackendUserCollection>}
4782
5332
  * @throws {CommonMessageException}
4783
5333
  * @throws {ClientException}
@@ -4802,9 +5352,11 @@ var BackendUserTag = class extends import_sdkgen_client71.TagAbstract {
4802
5352
  if (statusCode >= 0 && statusCode <= 999) {
4803
5353
  throw new CommonMessageException(await response.json());
4804
5354
  }
4805
- throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5355
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4806
5356
  }
4807
5357
  /**
5358
+ * Updates an existing user
5359
+ *
4808
5360
  * @returns {Promise<CommonMessage>}
4809
5361
  * @throws {CommonMessageException}
4810
5362
  * @throws {ClientException}
@@ -4830,15 +5382,17 @@ var BackendUserTag = class extends import_sdkgen_client71.TagAbstract {
4830
5382
  if (statusCode >= 0 && statusCode <= 999) {
4831
5383
  throw new CommonMessageException(await response.json());
4832
5384
  }
4833
- throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5385
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4834
5386
  }
4835
5387
  };
4836
5388
 
4837
5389
  // src/BackendWebhookTag.ts
4838
- var import_sdkgen_client73 = require("sdkgen-client");
4839
- var import_sdkgen_client74 = require("sdkgen-client");
4840
- var BackendWebhookTag = class extends import_sdkgen_client73.TagAbstract {
5390
+ var import_sdkgen_client79 = require("sdkgen-client");
5391
+ var import_sdkgen_client80 = require("sdkgen-client");
5392
+ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
4841
5393
  /**
5394
+ * Creates a new webhook
5395
+ *
4842
5396
  * @returns {Promise<CommonMessage>}
4843
5397
  * @throws {CommonMessageException}
4844
5398
  * @throws {ClientException}
@@ -4862,9 +5416,11 @@ var BackendWebhookTag = class extends import_sdkgen_client73.TagAbstract {
4862
5416
  if (statusCode >= 0 && statusCode <= 999) {
4863
5417
  throw new CommonMessageException(await response.json());
4864
5418
  }
4865
- throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5419
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4866
5420
  }
4867
5421
  /**
5422
+ * Deletes an existing webhook
5423
+ *
4868
5424
  * @returns {Promise<CommonMessage>}
4869
5425
  * @throws {CommonMessageException}
4870
5426
  * @throws {ClientException}
@@ -4887,9 +5443,11 @@ var BackendWebhookTag = class extends import_sdkgen_client73.TagAbstract {
4887
5443
  if (statusCode >= 0 && statusCode <= 999) {
4888
5444
  throw new CommonMessageException(await response.json());
4889
5445
  }
4890
- throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5446
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4891
5447
  }
4892
5448
  /**
5449
+ * Returns a specific webhook
5450
+ *
4893
5451
  * @returns {Promise<BackendWebhook>}
4894
5452
  * @throws {CommonMessageException}
4895
5453
  * @throws {ClientException}
@@ -4912,9 +5470,11 @@ var BackendWebhookTag = class extends import_sdkgen_client73.TagAbstract {
4912
5470
  if (statusCode >= 0 && statusCode <= 999) {
4913
5471
  throw new CommonMessageException(await response.json());
4914
5472
  }
4915
- throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5473
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4916
5474
  }
4917
5475
  /**
5476
+ * Returns a paginated list of webhooks
5477
+ *
4918
5478
  * @returns {Promise<BackendWebhookCollection>}
4919
5479
  * @throws {CommonMessageException}
4920
5480
  * @throws {ClientException}
@@ -4939,9 +5499,11 @@ var BackendWebhookTag = class extends import_sdkgen_client73.TagAbstract {
4939
5499
  if (statusCode >= 0 && statusCode <= 999) {
4940
5500
  throw new CommonMessageException(await response.json());
4941
5501
  }
4942
- throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5502
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4943
5503
  }
4944
5504
  /**
5505
+ * Updates an existing webhook
5506
+ *
4945
5507
  * @returns {Promise<CommonMessage>}
4946
5508
  * @throws {CommonMessageException}
4947
5509
  * @throws {ClientException}
@@ -4967,12 +5529,12 @@ var BackendWebhookTag = class extends import_sdkgen_client73.TagAbstract {
4967
5529
  if (statusCode >= 0 && statusCode <= 999) {
4968
5530
  throw new CommonMessageException(await response.json());
4969
5531
  }
4970
- throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5532
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4971
5533
  }
4972
5534
  };
4973
5535
 
4974
5536
  // src/BackendTag.ts
4975
- var BackendTag = class extends import_sdkgen_client75.TagAbstract {
5537
+ var BackendTag = class extends import_sdkgen_client81.TagAbstract {
4976
5538
  account() {
4977
5539
  return new BackendAccountTag(
4978
5540
  this.httpClient,
@@ -5033,12 +5595,6 @@ var BackendTag = class extends import_sdkgen_client75.TagAbstract {
5033
5595
  this.parser
5034
5596
  );
5035
5597
  }
5036
- database() {
5037
- return new BackendDatabaseTag(
5038
- this.httpClient,
5039
- this.parser
5040
- );
5041
- }
5042
5598
  event() {
5043
5599
  return new BackendEventTag(
5044
5600
  this.httpClient,
@@ -5180,17 +5736,19 @@ var BackendTag = class extends import_sdkgen_client75.TagAbstract {
5180
5736
  };
5181
5737
 
5182
5738
  // src/Client.ts
5183
- var import_sdkgen_client112 = require("sdkgen-client");
5184
- var import_sdkgen_client113 = require("sdkgen-client");
5739
+ var import_sdkgen_client118 = require("sdkgen-client");
5740
+ var import_sdkgen_client119 = require("sdkgen-client");
5185
5741
 
5186
5742
  // src/ConsumerTag.ts
5187
- var import_sdkgen_client104 = require("sdkgen-client");
5743
+ var import_sdkgen_client110 = require("sdkgen-client");
5188
5744
 
5189
5745
  // src/ConsumerAccountTag.ts
5190
- var import_sdkgen_client76 = require("sdkgen-client");
5191
- var import_sdkgen_client77 = require("sdkgen-client");
5192
- var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5746
+ var import_sdkgen_client82 = require("sdkgen-client");
5747
+ var import_sdkgen_client83 = require("sdkgen-client");
5748
+ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5193
5749
  /**
5750
+ * Activates an previously registered account through a token which was provided to the user via email
5751
+ *
5194
5752
  * @returns {Promise<CommonMessage>}
5195
5753
  * @throws {CommonMessageException}
5196
5754
  * @throws {ClientException}
@@ -5214,9 +5772,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5214
5772
  if (statusCode >= 0 && statusCode <= 999) {
5215
5773
  throw new CommonMessageException(await response.json());
5216
5774
  }
5217
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5775
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5218
5776
  }
5219
5777
  /**
5778
+ * Authorizes the access of a specific app for the authenticated user
5779
+ *
5220
5780
  * @returns {Promise<ConsumerAuthorizeResponse>}
5221
5781
  * @throws {CommonMessageException}
5222
5782
  * @throws {ClientException}
@@ -5240,9 +5800,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5240
5800
  if (statusCode >= 0 && statusCode <= 999) {
5241
5801
  throw new CommonMessageException(await response.json());
5242
5802
  }
5243
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5803
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5244
5804
  }
5245
5805
  /**
5806
+ * Change the password for the authenticated user
5807
+ *
5246
5808
  * @returns {Promise<CommonMessage>}
5247
5809
  * @throws {CommonMessageException}
5248
5810
  * @throws {ClientException}
@@ -5266,9 +5828,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5266
5828
  if (statusCode >= 0 && statusCode <= 999) {
5267
5829
  throw new CommonMessageException(await response.json());
5268
5830
  }
5269
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5831
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5270
5832
  }
5271
5833
  /**
5834
+ * Change the password after the password reset flow was started
5835
+ *
5272
5836
  * @returns {Promise<CommonMessage>}
5273
5837
  * @throws {CommonMessageException}
5274
5838
  * @throws {ClientException}
@@ -5292,9 +5856,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5292
5856
  if (statusCode >= 0 && statusCode <= 999) {
5293
5857
  throw new CommonMessageException(await response.json());
5294
5858
  }
5295
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5859
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5296
5860
  }
5297
5861
  /**
5862
+ * Returns a user data for the authenticated user
5863
+ *
5298
5864
  * @returns {Promise<ConsumerUserAccount>}
5299
5865
  * @throws {CommonMessageException}
5300
5866
  * @throws {ClientException}
@@ -5315,20 +5881,25 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5315
5881
  if (statusCode >= 0 && statusCode <= 999) {
5316
5882
  throw new CommonMessageException(await response.json());
5317
5883
  }
5318
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5884
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5319
5885
  }
5320
5886
  /**
5887
+ * Returns information about a specific app to start the OAuth2 authorization code flow
5888
+ *
5321
5889
  * @returns {Promise<ConsumerAuthorizeMeta>}
5322
5890
  * @throws {CommonMessageException}
5323
5891
  * @throws {ClientException}
5324
5892
  */
5325
- async getApp() {
5893
+ async getApp(clientId, scope) {
5326
5894
  const url = this.parser.url("/consumer/authorize", {});
5327
5895
  let request = {
5328
5896
  url,
5329
5897
  method: "GET",
5330
5898
  headers: {},
5331
- params: this.parser.query({}, [])
5899
+ params: this.parser.query({
5900
+ "client_id": clientId,
5901
+ "scope": scope
5902
+ }, [])
5332
5903
  };
5333
5904
  const response = await this.httpClient.request(request);
5334
5905
  if (response.ok) {
@@ -5338,9 +5909,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5338
5909
  if (statusCode >= 0 && statusCode <= 999) {
5339
5910
  throw new CommonMessageException(await response.json());
5340
5911
  }
5341
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5912
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5342
5913
  }
5343
5914
  /**
5915
+ * User login by providing a username and password
5916
+ *
5344
5917
  * @returns {Promise<ConsumerUserJWT>}
5345
5918
  * @throws {CommonMessageException}
5346
5919
  * @throws {ClientException}
@@ -5364,9 +5937,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5364
5937
  if (statusCode >= 0 && statusCode <= 999) {
5365
5938
  throw new CommonMessageException(await response.json());
5366
5939
  }
5367
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5940
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5368
5941
  }
5369
5942
  /**
5943
+ * Refresh a previously obtained access token
5944
+ *
5370
5945
  * @returns {Promise<ConsumerUserJWT>}
5371
5946
  * @throws {CommonMessageException}
5372
5947
  * @throws {ClientException}
@@ -5390,9 +5965,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5390
5965
  if (statusCode >= 0 && statusCode <= 999) {
5391
5966
  throw new CommonMessageException(await response.json());
5392
5967
  }
5393
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5968
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5394
5969
  }
5395
5970
  /**
5971
+ * Register a new user account
5972
+ *
5396
5973
  * @returns {Promise<CommonMessage>}
5397
5974
  * @throws {CommonMessageException}
5398
5975
  * @throws {ClientException}
@@ -5416,9 +5993,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5416
5993
  if (statusCode >= 0 && statusCode <= 999) {
5417
5994
  throw new CommonMessageException(await response.json());
5418
5995
  }
5419
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5996
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5420
5997
  }
5421
5998
  /**
5999
+ * Start the password reset flow
6000
+ *
5422
6001
  * @returns {Promise<CommonMessage>}
5423
6002
  * @throws {CommonMessageException}
5424
6003
  * @throws {ClientException}
@@ -5442,9 +6021,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5442
6021
  if (statusCode >= 0 && statusCode <= 999) {
5443
6022
  throw new CommonMessageException(await response.json());
5444
6023
  }
5445
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6024
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5446
6025
  }
5447
6026
  /**
6027
+ * Updates user data for the authenticated user
6028
+ *
5448
6029
  * @returns {Promise<CommonMessage>}
5449
6030
  * @throws {CommonMessageException}
5450
6031
  * @throws {ClientException}
@@ -5468,15 +6049,17 @@ var ConsumerAccountTag = class extends import_sdkgen_client76.TagAbstract {
5468
6049
  if (statusCode >= 0 && statusCode <= 999) {
5469
6050
  throw new CommonMessageException(await response.json());
5470
6051
  }
5471
- throw new import_sdkgen_client77.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6052
+ throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5472
6053
  }
5473
6054
  };
5474
6055
 
5475
6056
  // src/ConsumerAppTag.ts
5476
- var import_sdkgen_client78 = require("sdkgen-client");
5477
- var import_sdkgen_client79 = require("sdkgen-client");
5478
- var ConsumerAppTag = class extends import_sdkgen_client78.TagAbstract {
6057
+ var import_sdkgen_client84 = require("sdkgen-client");
6058
+ var import_sdkgen_client85 = require("sdkgen-client");
6059
+ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
5479
6060
  /**
6061
+ * Creates a new app for the authenticated user
6062
+ *
5480
6063
  * @returns {Promise<CommonMessage>}
5481
6064
  * @throws {CommonMessageException}
5482
6065
  * @throws {ClientException}
@@ -5500,9 +6083,11 @@ var ConsumerAppTag = class extends import_sdkgen_client78.TagAbstract {
5500
6083
  if (statusCode >= 0 && statusCode <= 999) {
5501
6084
  throw new CommonMessageException(await response.json());
5502
6085
  }
5503
- throw new import_sdkgen_client79.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6086
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5504
6087
  }
5505
6088
  /**
6089
+ * Deletes an existing app for the authenticated user
6090
+ *
5506
6091
  * @returns {Promise<CommonMessage>}
5507
6092
  * @throws {CommonMessageException}
5508
6093
  * @throws {ClientException}
@@ -5525,9 +6110,11 @@ var ConsumerAppTag = class extends import_sdkgen_client78.TagAbstract {
5525
6110
  if (statusCode >= 0 && statusCode <= 999) {
5526
6111
  throw new CommonMessageException(await response.json());
5527
6112
  }
5528
- throw new import_sdkgen_client79.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6113
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5529
6114
  }
5530
6115
  /**
6116
+ * Returns a specific app for the authenticated user
6117
+ *
5531
6118
  * @returns {Promise<ConsumerApp>}
5532
6119
  * @throws {CommonMessageException}
5533
6120
  * @throws {ClientException}
@@ -5550,9 +6137,11 @@ var ConsumerAppTag = class extends import_sdkgen_client78.TagAbstract {
5550
6137
  if (statusCode >= 0 && statusCode <= 999) {
5551
6138
  throw new CommonMessageException(await response.json());
5552
6139
  }
5553
- throw new import_sdkgen_client79.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6140
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5554
6141
  }
5555
6142
  /**
6143
+ * Returns a paginated list of apps which are assigned to the authenticated user
6144
+ *
5556
6145
  * @returns {Promise<ConsumerAppCollection>}
5557
6146
  * @throws {CommonMessageException}
5558
6147
  * @throws {ClientException}
@@ -5577,9 +6166,11 @@ var ConsumerAppTag = class extends import_sdkgen_client78.TagAbstract {
5577
6166
  if (statusCode >= 0 && statusCode <= 999) {
5578
6167
  throw new CommonMessageException(await response.json());
5579
6168
  }
5580
- throw new import_sdkgen_client79.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6169
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5581
6170
  }
5582
6171
  /**
6172
+ * Updates an existing app for the authenticated user
6173
+ *
5583
6174
  * @returns {Promise<CommonMessage>}
5584
6175
  * @throws {CommonMessageException}
5585
6176
  * @throws {ClientException}
@@ -5605,15 +6196,17 @@ var ConsumerAppTag = class extends import_sdkgen_client78.TagAbstract {
5605
6196
  if (statusCode >= 0 && statusCode <= 999) {
5606
6197
  throw new CommonMessageException(await response.json());
5607
6198
  }
5608
- throw new import_sdkgen_client79.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6199
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5609
6200
  }
5610
6201
  };
5611
6202
 
5612
6203
  // src/ConsumerEventTag.ts
5613
- var import_sdkgen_client80 = require("sdkgen-client");
5614
- var import_sdkgen_client81 = require("sdkgen-client");
5615
- var ConsumerEventTag = class extends import_sdkgen_client80.TagAbstract {
6204
+ var import_sdkgen_client86 = require("sdkgen-client");
6205
+ var import_sdkgen_client87 = require("sdkgen-client");
6206
+ var ConsumerEventTag = class extends import_sdkgen_client86.TagAbstract {
5616
6207
  /**
6208
+ * Returns a specific event for the authenticated user
6209
+ *
5617
6210
  * @returns {Promise<ConsumerEvent>}
5618
6211
  * @throws {CommonMessageException}
5619
6212
  * @throws {ClientException}
@@ -5636,9 +6229,11 @@ var ConsumerEventTag = class extends import_sdkgen_client80.TagAbstract {
5636
6229
  if (statusCode >= 0 && statusCode <= 999) {
5637
6230
  throw new CommonMessageException(await response.json());
5638
6231
  }
5639
- throw new import_sdkgen_client81.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6232
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5640
6233
  }
5641
6234
  /**
6235
+ * Returns a paginated list of apps which are assigned to the authenticated user
6236
+ *
5642
6237
  * @returns {Promise<ConsumerEventCollection>}
5643
6238
  * @throws {CommonMessageException}
5644
6239
  * @throws {ClientException}
@@ -5663,15 +6258,17 @@ var ConsumerEventTag = class extends import_sdkgen_client80.TagAbstract {
5663
6258
  if (statusCode >= 0 && statusCode <= 999) {
5664
6259
  throw new CommonMessageException(await response.json());
5665
6260
  }
5666
- throw new import_sdkgen_client81.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6261
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5667
6262
  }
5668
6263
  };
5669
6264
 
5670
6265
  // src/ConsumerFormTag.ts
5671
- var import_sdkgen_client82 = require("sdkgen-client");
5672
- var import_sdkgen_client83 = require("sdkgen-client");
5673
- var ConsumerFormTag = class extends import_sdkgen_client82.TagAbstract {
6266
+ var import_sdkgen_client88 = require("sdkgen-client");
6267
+ var import_sdkgen_client89 = require("sdkgen-client");
6268
+ var ConsumerFormTag = class extends import_sdkgen_client88.TagAbstract {
5674
6269
  /**
6270
+ * Returns a specific form for the authenticated user
6271
+ *
5675
6272
  * @returns {Promise<ConsumerForm>}
5676
6273
  * @throws {CommonMessageException}
5677
6274
  * @throws {ClientException}
@@ -5694,9 +6291,11 @@ var ConsumerFormTag = class extends import_sdkgen_client82.TagAbstract {
5694
6291
  if (statusCode >= 0 && statusCode <= 999) {
5695
6292
  throw new CommonMessageException(await response.json());
5696
6293
  }
5697
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6294
+ throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5698
6295
  }
5699
6296
  /**
6297
+ * Returns a paginated list of forms which are relevant to the authenticated user
6298
+ *
5700
6299
  * @returns {Promise<ConsumerFormCollection>}
5701
6300
  * @throws {CommonMessageException}
5702
6301
  * @throws {ClientException}
@@ -5721,15 +6320,17 @@ var ConsumerFormTag = class extends import_sdkgen_client82.TagAbstract {
5721
6320
  if (statusCode >= 0 && statusCode <= 999) {
5722
6321
  throw new CommonMessageException(await response.json());
5723
6322
  }
5724
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6323
+ throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5725
6324
  }
5726
6325
  };
5727
6326
 
5728
6327
  // src/ConsumerGrantTag.ts
5729
- var import_sdkgen_client84 = require("sdkgen-client");
5730
- var import_sdkgen_client85 = require("sdkgen-client");
5731
- var ConsumerGrantTag = class extends import_sdkgen_client84.TagAbstract {
6328
+ var import_sdkgen_client90 = require("sdkgen-client");
6329
+ var import_sdkgen_client91 = require("sdkgen-client");
6330
+ var ConsumerGrantTag = class extends import_sdkgen_client90.TagAbstract {
5732
6331
  /**
6332
+ * Deletes an existing grant for an app which was created by the authenticated user
6333
+ *
5733
6334
  * @returns {Promise<CommonMessage>}
5734
6335
  * @throws {CommonMessageException}
5735
6336
  * @throws {ClientException}
@@ -5752,9 +6353,11 @@ var ConsumerGrantTag = class extends import_sdkgen_client84.TagAbstract {
5752
6353
  if (statusCode >= 0 && statusCode <= 999) {
5753
6354
  throw new CommonMessageException(await response.json());
5754
6355
  }
5755
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6356
+ throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5756
6357
  }
5757
6358
  /**
6359
+ * Returns a paginated list of grants which are assigned to the authenticated user
6360
+ *
5758
6361
  * @returns {Promise<ConsumerGrantCollection>}
5759
6362
  * @throws {CommonMessageException}
5760
6363
  * @throws {ClientException}
@@ -5779,15 +6382,17 @@ var ConsumerGrantTag = class extends import_sdkgen_client84.TagAbstract {
5779
6382
  if (statusCode >= 0 && statusCode <= 999) {
5780
6383
  throw new CommonMessageException(await response.json());
5781
6384
  }
5782
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6385
+ throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5783
6386
  }
5784
6387
  };
5785
6388
 
5786
6389
  // src/ConsumerIdentityTag.ts
5787
- var import_sdkgen_client86 = require("sdkgen-client");
5788
- var import_sdkgen_client87 = require("sdkgen-client");
5789
- var ConsumerIdentityTag = class extends import_sdkgen_client86.TagAbstract {
6390
+ var import_sdkgen_client92 = require("sdkgen-client");
6391
+ var import_sdkgen_client93 = require("sdkgen-client");
6392
+ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
5790
6393
  /**
6394
+ * Identity callback endpoint to exchange an access token
6395
+ *
5791
6396
  * @returns {Promise<Passthru>}
5792
6397
  * @throws {CommonMessageException}
5793
6398
  * @throws {ClientException}
@@ -5810,9 +6415,11 @@ var ConsumerIdentityTag = class extends import_sdkgen_client86.TagAbstract {
5810
6415
  if (statusCode >= 0 && statusCode <= 999) {
5811
6416
  throw new CommonMessageException(await response.json());
5812
6417
  }
5813
- throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6418
+ throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5814
6419
  }
5815
6420
  /**
6421
+ * Returns a paginated list of identities which are relevant to the authenticated user
6422
+ *
5816
6423
  * @returns {Promise<ConsumerIdentityCollection>}
5817
6424
  * @throws {CommonMessageException}
5818
6425
  * @throws {ClientException}
@@ -5836,9 +6443,11 @@ var ConsumerIdentityTag = class extends import_sdkgen_client86.TagAbstract {
5836
6443
  if (statusCode >= 0 && statusCode <= 999) {
5837
6444
  throw new CommonMessageException(await response.json());
5838
6445
  }
5839
- throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6446
+ throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5840
6447
  }
5841
6448
  /**
6449
+ * Redirect the user to the configured identity provider
6450
+ *
5842
6451
  * @returns {Promise<Passthru>}
5843
6452
  * @throws {CommonMessageException}
5844
6453
  * @throws {ClientException}
@@ -5861,15 +6470,17 @@ var ConsumerIdentityTag = class extends import_sdkgen_client86.TagAbstract {
5861
6470
  if (statusCode >= 0 && statusCode <= 999) {
5862
6471
  throw new CommonMessageException(await response.json());
5863
6472
  }
5864
- throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6473
+ throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5865
6474
  }
5866
6475
  };
5867
6476
 
5868
6477
  // src/ConsumerLogTag.ts
5869
- var import_sdkgen_client88 = require("sdkgen-client");
5870
- var import_sdkgen_client89 = require("sdkgen-client");
5871
- var ConsumerLogTag = class extends import_sdkgen_client88.TagAbstract {
6478
+ var import_sdkgen_client94 = require("sdkgen-client");
6479
+ var import_sdkgen_client95 = require("sdkgen-client");
6480
+ var ConsumerLogTag = class extends import_sdkgen_client94.TagAbstract {
5872
6481
  /**
6482
+ * Returns a specific log for the authenticated user
6483
+ *
5873
6484
  * @returns {Promise<ConsumerLog>}
5874
6485
  * @throws {CommonMessageException}
5875
6486
  * @throws {ClientException}
@@ -5892,9 +6503,11 @@ var ConsumerLogTag = class extends import_sdkgen_client88.TagAbstract {
5892
6503
  if (statusCode >= 0 && statusCode <= 999) {
5893
6504
  throw new CommonMessageException(await response.json());
5894
6505
  }
5895
- throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6506
+ throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5896
6507
  }
5897
6508
  /**
6509
+ * Returns a paginated list of logs which are assigned to the authenticated user
6510
+ *
5898
6511
  * @returns {Promise<ConsumerLogCollection>}
5899
6512
  * @throws {CommonMessageException}
5900
6513
  * @throws {ClientException}
@@ -5919,15 +6532,17 @@ var ConsumerLogTag = class extends import_sdkgen_client88.TagAbstract {
5919
6532
  if (statusCode >= 0 && statusCode <= 999) {
5920
6533
  throw new CommonMessageException(await response.json());
5921
6534
  }
5922
- throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6535
+ throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5923
6536
  }
5924
6537
  };
5925
6538
 
5926
6539
  // src/ConsumerPageTag.ts
5927
- var import_sdkgen_client90 = require("sdkgen-client");
5928
- var import_sdkgen_client91 = require("sdkgen-client");
5929
- var ConsumerPageTag = class extends import_sdkgen_client90.TagAbstract {
6540
+ var import_sdkgen_client96 = require("sdkgen-client");
6541
+ var import_sdkgen_client97 = require("sdkgen-client");
6542
+ var ConsumerPageTag = class extends import_sdkgen_client96.TagAbstract {
5930
6543
  /**
6544
+ * Returns a specific page for the authenticated user
6545
+ *
5931
6546
  * @returns {Promise<ConsumerPage>}
5932
6547
  * @throws {CommonMessageException}
5933
6548
  * @throws {ClientException}
@@ -5950,9 +6565,11 @@ var ConsumerPageTag = class extends import_sdkgen_client90.TagAbstract {
5950
6565
  if (statusCode >= 0 && statusCode <= 999) {
5951
6566
  throw new CommonMessageException(await response.json());
5952
6567
  }
5953
- throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6568
+ throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5954
6569
  }
5955
6570
  /**
6571
+ * Returns a paginated list of pages which are relevant to the authenticated user
6572
+ *
5956
6573
  * @returns {Promise<ConsumerPageCollection>}
5957
6574
  * @throws {CommonMessageException}
5958
6575
  * @throws {ClientException}
@@ -5977,15 +6594,17 @@ var ConsumerPageTag = class extends import_sdkgen_client90.TagAbstract {
5977
6594
  if (statusCode >= 0 && statusCode <= 999) {
5978
6595
  throw new CommonMessageException(await response.json());
5979
6596
  }
5980
- throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6597
+ throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5981
6598
  }
5982
6599
  };
5983
6600
 
5984
6601
  // src/ConsumerPaymentTag.ts
5985
- var import_sdkgen_client92 = require("sdkgen-client");
5986
- var import_sdkgen_client93 = require("sdkgen-client");
5987
- var ConsumerPaymentTag = class extends import_sdkgen_client92.TagAbstract {
6602
+ var import_sdkgen_client98 = require("sdkgen-client");
6603
+ var import_sdkgen_client99 = require("sdkgen-client");
6604
+ var ConsumerPaymentTag = class extends import_sdkgen_client98.TagAbstract {
5988
6605
  /**
6606
+ * Start the checkout process for a specific plan
6607
+ *
5989
6608
  * @returns {Promise<ConsumerPaymentCheckoutResponse>}
5990
6609
  * @throws {CommonMessageException}
5991
6610
  * @throws {ClientException}
@@ -6011,9 +6630,11 @@ var ConsumerPaymentTag = class extends import_sdkgen_client92.TagAbstract {
6011
6630
  if (statusCode >= 0 && statusCode <= 999) {
6012
6631
  throw new CommonMessageException(await response.json());
6013
6632
  }
6014
- throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6633
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6015
6634
  }
6016
6635
  /**
6636
+ * Generates a payment portal link for the authenticated user
6637
+ *
6017
6638
  * @returns {Promise<ConsumerPaymentPortalResponse>}
6018
6639
  * @throws {CommonMessageException}
6019
6640
  * @throws {ClientException}
@@ -6039,15 +6660,17 @@ var ConsumerPaymentTag = class extends import_sdkgen_client92.TagAbstract {
6039
6660
  if (statusCode >= 0 && statusCode <= 999) {
6040
6661
  throw new CommonMessageException(await response.json());
6041
6662
  }
6042
- throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6663
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6043
6664
  }
6044
6665
  };
6045
6666
 
6046
6667
  // src/ConsumerPlanTag.ts
6047
- var import_sdkgen_client94 = require("sdkgen-client");
6048
- var import_sdkgen_client95 = require("sdkgen-client");
6049
- var ConsumerPlanTag = class extends import_sdkgen_client94.TagAbstract {
6668
+ var import_sdkgen_client100 = require("sdkgen-client");
6669
+ var import_sdkgen_client101 = require("sdkgen-client");
6670
+ var ConsumerPlanTag = class extends import_sdkgen_client100.TagAbstract {
6050
6671
  /**
6672
+ * Returns a specific plan for the authenticated user
6673
+ *
6051
6674
  * @returns {Promise<ConsumerPlan>}
6052
6675
  * @throws {CommonMessageException}
6053
6676
  * @throws {ClientException}
@@ -6070,9 +6693,11 @@ var ConsumerPlanTag = class extends import_sdkgen_client94.TagAbstract {
6070
6693
  if (statusCode >= 0 && statusCode <= 999) {
6071
6694
  throw new CommonMessageException(await response.json());
6072
6695
  }
6073
- throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6696
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6074
6697
  }
6075
6698
  /**
6699
+ * Returns a paginated list of plans which are relevant to the authenticated user
6700
+ *
6076
6701
  * @returns {Promise<ConsumerPlanCollection>}
6077
6702
  * @throws {CommonMessageException}
6078
6703
  * @throws {ClientException}
@@ -6097,15 +6722,17 @@ var ConsumerPlanTag = class extends import_sdkgen_client94.TagAbstract {
6097
6722
  if (statusCode >= 0 && statusCode <= 999) {
6098
6723
  throw new CommonMessageException(await response.json());
6099
6724
  }
6100
- throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6725
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6101
6726
  }
6102
6727
  };
6103
6728
 
6104
6729
  // src/ConsumerScopeTag.ts
6105
- var import_sdkgen_client96 = require("sdkgen-client");
6106
- var import_sdkgen_client97 = require("sdkgen-client");
6107
- var ConsumerScopeTag = class extends import_sdkgen_client96.TagAbstract {
6730
+ var import_sdkgen_client102 = require("sdkgen-client");
6731
+ var import_sdkgen_client103 = require("sdkgen-client");
6732
+ var ConsumerScopeTag = class extends import_sdkgen_client102.TagAbstract {
6108
6733
  /**
6734
+ * Returns a paginated list of scopes which are assigned to the authenticated user
6735
+ *
6109
6736
  * @returns {Promise<ConsumerScopeCollection>}
6110
6737
  * @throws {CommonMessageException}
6111
6738
  * @throws {ClientException}
@@ -6130,9 +6757,11 @@ var ConsumerScopeTag = class extends import_sdkgen_client96.TagAbstract {
6130
6757
  if (statusCode >= 0 && statusCode <= 999) {
6131
6758
  throw new CommonMessageException(await response.json());
6132
6759
  }
6133
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6760
+ throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6134
6761
  }
6135
6762
  /**
6763
+ * Returns all scopes by category
6764
+ *
6136
6765
  * @returns {Promise<ConsumerScopeCategories>}
6137
6766
  * @throws {CommonMessageException}
6138
6767
  * @throws {ClientException}
@@ -6153,15 +6782,17 @@ var ConsumerScopeTag = class extends import_sdkgen_client96.TagAbstract {
6153
6782
  if (statusCode >= 0 && statusCode <= 999) {
6154
6783
  throw new CommonMessageException(await response.json());
6155
6784
  }
6156
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6785
+ throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6157
6786
  }
6158
6787
  };
6159
6788
 
6160
6789
  // src/ConsumerTokenTag.ts
6161
- var import_sdkgen_client98 = require("sdkgen-client");
6162
- var import_sdkgen_client99 = require("sdkgen-client");
6163
- var ConsumerTokenTag = class extends import_sdkgen_client98.TagAbstract {
6790
+ var import_sdkgen_client104 = require("sdkgen-client");
6791
+ var import_sdkgen_client105 = require("sdkgen-client");
6792
+ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6164
6793
  /**
6794
+ * Creates a new token for the authenticated user
6795
+ *
6165
6796
  * @returns {Promise<ConsumerTokenAccessToken>}
6166
6797
  * @throws {CommonMessageException}
6167
6798
  * @throws {ClientException}
@@ -6185,9 +6816,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client98.TagAbstract {
6185
6816
  if (statusCode >= 0 && statusCode <= 999) {
6186
6817
  throw new CommonMessageException(await response.json());
6187
6818
  }
6188
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6819
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6189
6820
  }
6190
6821
  /**
6822
+ * Deletes an existing token for the authenticated user
6823
+ *
6191
6824
  * @returns {Promise<CommonMessage>}
6192
6825
  * @throws {CommonMessageException}
6193
6826
  * @throws {ClientException}
@@ -6210,9 +6843,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client98.TagAbstract {
6210
6843
  if (statusCode >= 0 && statusCode <= 999) {
6211
6844
  throw new CommonMessageException(await response.json());
6212
6845
  }
6213
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6846
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6214
6847
  }
6215
6848
  /**
6849
+ * Returns a specific token for the authenticated user
6850
+ *
6216
6851
  * @returns {Promise<ConsumerToken>}
6217
6852
  * @throws {CommonMessageException}
6218
6853
  * @throws {ClientException}
@@ -6235,9 +6870,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client98.TagAbstract {
6235
6870
  if (statusCode >= 0 && statusCode <= 999) {
6236
6871
  throw new CommonMessageException(await response.json());
6237
6872
  }
6238
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6873
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6239
6874
  }
6240
6875
  /**
6876
+ * Returns a paginated list of tokens which are assigned to the authenticated user
6877
+ *
6241
6878
  * @returns {Promise<ConsumerTokenCollection>}
6242
6879
  * @throws {CommonMessageException}
6243
6880
  * @throws {ClientException}
@@ -6262,9 +6899,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client98.TagAbstract {
6262
6899
  if (statusCode >= 0 && statusCode <= 999) {
6263
6900
  throw new CommonMessageException(await response.json());
6264
6901
  }
6265
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6902
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6266
6903
  }
6267
6904
  /**
6905
+ * Updates an existing token for the authenticated user
6906
+ *
6268
6907
  * @returns {Promise<ConsumerTokenAccessToken>}
6269
6908
  * @throws {CommonMessageException}
6270
6909
  * @throws {ClientException}
@@ -6290,15 +6929,17 @@ var ConsumerTokenTag = class extends import_sdkgen_client98.TagAbstract {
6290
6929
  if (statusCode >= 0 && statusCode <= 999) {
6291
6930
  throw new CommonMessageException(await response.json());
6292
6931
  }
6293
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6932
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6294
6933
  }
6295
6934
  };
6296
6935
 
6297
6936
  // src/ConsumerTransactionTag.ts
6298
- var import_sdkgen_client100 = require("sdkgen-client");
6299
- var import_sdkgen_client101 = require("sdkgen-client");
6300
- var ConsumerTransactionTag = class extends import_sdkgen_client100.TagAbstract {
6937
+ var import_sdkgen_client106 = require("sdkgen-client");
6938
+ var import_sdkgen_client107 = require("sdkgen-client");
6939
+ var ConsumerTransactionTag = class extends import_sdkgen_client106.TagAbstract {
6301
6940
  /**
6941
+ * Returns a specific transaction for the authenticated user
6942
+ *
6302
6943
  * @returns {Promise<ConsumerTransaction>}
6303
6944
  * @throws {CommonMessageException}
6304
6945
  * @throws {ClientException}
@@ -6321,9 +6962,11 @@ var ConsumerTransactionTag = class extends import_sdkgen_client100.TagAbstract {
6321
6962
  if (statusCode >= 0 && statusCode <= 999) {
6322
6963
  throw new CommonMessageException(await response.json());
6323
6964
  }
6324
- throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6965
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6325
6966
  }
6326
6967
  /**
6968
+ * Returns a paginated list of transactions which are assigned to the authenticated user
6969
+ *
6327
6970
  * @returns {Promise<ConsumerTransactionCollection>}
6328
6971
  * @throws {CommonMessageException}
6329
6972
  * @throws {ClientException}
@@ -6348,15 +6991,17 @@ var ConsumerTransactionTag = class extends import_sdkgen_client100.TagAbstract {
6348
6991
  if (statusCode >= 0 && statusCode <= 999) {
6349
6992
  throw new CommonMessageException(await response.json());
6350
6993
  }
6351
- throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6994
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6352
6995
  }
6353
6996
  };
6354
6997
 
6355
6998
  // src/ConsumerWebhookTag.ts
6356
- var import_sdkgen_client102 = require("sdkgen-client");
6357
- var import_sdkgen_client103 = require("sdkgen-client");
6358
- var ConsumerWebhookTag = class extends import_sdkgen_client102.TagAbstract {
6999
+ var import_sdkgen_client108 = require("sdkgen-client");
7000
+ var import_sdkgen_client109 = require("sdkgen-client");
7001
+ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
6359
7002
  /**
7003
+ * Creates a new webhook for the authenticated user
7004
+ *
6360
7005
  * @returns {Promise<CommonMessage>}
6361
7006
  * @throws {CommonMessageException}
6362
7007
  * @throws {ClientException}
@@ -6380,9 +7025,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client102.TagAbstract {
6380
7025
  if (statusCode >= 0 && statusCode <= 999) {
6381
7026
  throw new CommonMessageException(await response.json());
6382
7027
  }
6383
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7028
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6384
7029
  }
6385
7030
  /**
7031
+ * Deletes an existing webhook for the authenticated user
7032
+ *
6386
7033
  * @returns {Promise<CommonMessage>}
6387
7034
  * @throws {CommonMessageException}
6388
7035
  * @throws {ClientException}
@@ -6405,9 +7052,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client102.TagAbstract {
6405
7052
  if (statusCode >= 0 && statusCode <= 999) {
6406
7053
  throw new CommonMessageException(await response.json());
6407
7054
  }
6408
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7055
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6409
7056
  }
6410
7057
  /**
7058
+ * Returns a specific webhook for the authenticated user
7059
+ *
6411
7060
  * @returns {Promise<ConsumerWebhook>}
6412
7061
  * @throws {CommonMessageException}
6413
7062
  * @throws {ClientException}
@@ -6430,9 +7079,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client102.TagAbstract {
6430
7079
  if (statusCode >= 0 && statusCode <= 999) {
6431
7080
  throw new CommonMessageException(await response.json());
6432
7081
  }
6433
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7082
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6434
7083
  }
6435
7084
  /**
7085
+ * Returns a paginated list of webhooks which are assigned to the authenticated user
7086
+ *
6436
7087
  * @returns {Promise<ConsumerWebhookCollection>}
6437
7088
  * @throws {CommonMessageException}
6438
7089
  * @throws {ClientException}
@@ -6457,9 +7108,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client102.TagAbstract {
6457
7108
  if (statusCode >= 0 && statusCode <= 999) {
6458
7109
  throw new CommonMessageException(await response.json());
6459
7110
  }
6460
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7111
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6461
7112
  }
6462
7113
  /**
7114
+ * Updates an existing webhook for the authenticated user
7115
+ *
6463
7116
  * @returns {Promise<CommonMessage>}
6464
7117
  * @throws {CommonMessageException}
6465
7118
  * @throws {ClientException}
@@ -6485,12 +7138,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client102.TagAbstract {
6485
7138
  if (statusCode >= 0 && statusCode <= 999) {
6486
7139
  throw new CommonMessageException(await response.json());
6487
7140
  }
6488
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7141
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6489
7142
  }
6490
7143
  };
6491
7144
 
6492
7145
  // src/ConsumerTag.ts
6493
- var ConsumerTag = class extends import_sdkgen_client104.TagAbstract {
7146
+ var ConsumerTag = class extends import_sdkgen_client110.TagAbstract {
6494
7147
  account() {
6495
7148
  return new ConsumerAccountTag(
6496
7149
  this.httpClient,
@@ -6578,13 +7231,15 @@ var ConsumerTag = class extends import_sdkgen_client104.TagAbstract {
6578
7231
  };
6579
7232
 
6580
7233
  // src/SystemTag.ts
6581
- var import_sdkgen_client111 = require("sdkgen-client");
7234
+ var import_sdkgen_client117 = require("sdkgen-client");
6582
7235
 
6583
7236
  // src/SystemConnectionTag.ts
6584
- var import_sdkgen_client105 = require("sdkgen-client");
6585
- var import_sdkgen_client106 = require("sdkgen-client");
6586
- var SystemConnectionTag = class extends import_sdkgen_client105.TagAbstract {
7237
+ var import_sdkgen_client111 = require("sdkgen-client");
7238
+ var import_sdkgen_client112 = require("sdkgen-client");
7239
+ var SystemConnectionTag = class extends import_sdkgen_client111.TagAbstract {
6587
7240
  /**
7241
+ * Connection OAuth2 callback to authorize a connection
7242
+ *
6588
7243
  * @returns {Promise<CommonMessage>}
6589
7244
  * @throws {CommonMessageException}
6590
7245
  * @throws {ClientException}
@@ -6607,15 +7262,17 @@ var SystemConnectionTag = class extends import_sdkgen_client105.TagAbstract {
6607
7262
  if (statusCode >= 0 && statusCode <= 999) {
6608
7263
  throw new CommonMessageException(await response.json());
6609
7264
  }
6610
- throw new import_sdkgen_client106.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7265
+ throw new import_sdkgen_client112.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6611
7266
  }
6612
7267
  };
6613
7268
 
6614
7269
  // src/SystemMetaTag.ts
6615
- var import_sdkgen_client107 = require("sdkgen-client");
6616
- var import_sdkgen_client108 = require("sdkgen-client");
6617
- var SystemMetaTag = class extends import_sdkgen_client107.TagAbstract {
7270
+ var import_sdkgen_client113 = require("sdkgen-client");
7271
+ var import_sdkgen_client114 = require("sdkgen-client");
7272
+ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
6618
7273
  /**
7274
+ * Returns meta information and links about the current installed Fusio version
7275
+ *
6619
7276
  * @returns {Promise<SystemAbout>}
6620
7277
  * @throws {CommonMessageException}
6621
7278
  * @throws {ClientException}
@@ -6636,9 +7293,11 @@ var SystemMetaTag = class extends import_sdkgen_client107.TagAbstract {
6636
7293
  if (statusCode >= 0 && statusCode <= 999) {
6637
7294
  throw new CommonMessageException(await response.json());
6638
7295
  }
6639
- throw new import_sdkgen_client108.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7296
+ throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6640
7297
  }
6641
7298
  /**
7299
+ * Debug endpoint which returns the provided data
7300
+ *
6642
7301
  * @returns {Promise<Passthru>}
6643
7302
  * @throws {CommonMessageException}
6644
7303
  * @throws {ClientException}
@@ -6662,9 +7321,11 @@ var SystemMetaTag = class extends import_sdkgen_client107.TagAbstract {
6662
7321
  if (statusCode >= 0 && statusCode <= 999) {
6663
7322
  throw new CommonMessageException(await response.json());
6664
7323
  }
6665
- throw new import_sdkgen_client108.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7324
+ throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6666
7325
  }
6667
7326
  /**
7327
+ * Health check endpoint which returns information about the health status of the system
7328
+ *
6668
7329
  * @returns {Promise<SystemHealthCheck>}
6669
7330
  * @throws {CommonMessageException}
6670
7331
  * @throws {ClientException}
@@ -6685,32 +7346,11 @@ var SystemMetaTag = class extends import_sdkgen_client107.TagAbstract {
6685
7346
  if (statusCode >= 0 && statusCode <= 999) {
6686
7347
  throw new CommonMessageException(await response.json());
6687
7348
  }
6688
- throw new import_sdkgen_client108.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6689
- }
6690
- /**
6691
- * @returns {Promise<SystemOAuthConfiguration>}
6692
- * @throws {CommonMessageException}
6693
- * @throws {ClientException}
6694
- */
6695
- async getOAuthConfiguration() {
6696
- const url = this.parser.url("/system/oauth-authorization-server", {});
6697
- let request = {
6698
- url,
6699
- method: "GET",
6700
- headers: {},
6701
- params: this.parser.query({}, [])
6702
- };
6703
- const response = await this.httpClient.request(request);
6704
- if (response.ok) {
6705
- return await response.json();
6706
- }
6707
- const statusCode = response.status;
6708
- if (statusCode >= 0 && statusCode <= 999) {
6709
- throw new CommonMessageException(await response.json());
6710
- }
6711
- throw new import_sdkgen_client108.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7349
+ throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6712
7350
  }
6713
7351
  /**
7352
+ * Returns all available routes
7353
+ *
6714
7354
  * @returns {Promise<SystemRoute>}
6715
7355
  * @throws {CommonMessageException}
6716
7356
  * @throws {ClientException}
@@ -6731,9 +7371,11 @@ var SystemMetaTag = class extends import_sdkgen_client107.TagAbstract {
6731
7371
  if (statusCode >= 0 && statusCode <= 999) {
6732
7372
  throw new CommonMessageException(await response.json());
6733
7373
  }
6734
- throw new import_sdkgen_client108.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7374
+ throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6735
7375
  }
6736
7376
  /**
7377
+ * Returns details of a specific schema
7378
+ *
6737
7379
  * @returns {Promise<SystemSchema>}
6738
7380
  * @throws {CommonMessageException}
6739
7381
  * @throws {ClientException}
@@ -6756,15 +7398,17 @@ var SystemMetaTag = class extends import_sdkgen_client107.TagAbstract {
6756
7398
  if (statusCode >= 0 && statusCode <= 999) {
6757
7399
  throw new CommonMessageException(await response.json());
6758
7400
  }
6759
- throw new import_sdkgen_client108.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7401
+ throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6760
7402
  }
6761
7403
  };
6762
7404
 
6763
7405
  // src/SystemPaymentTag.ts
6764
- var import_sdkgen_client109 = require("sdkgen-client");
6765
- var import_sdkgen_client110 = require("sdkgen-client");
6766
- var SystemPaymentTag = class extends import_sdkgen_client109.TagAbstract {
7406
+ var import_sdkgen_client115 = require("sdkgen-client");
7407
+ var import_sdkgen_client116 = require("sdkgen-client");
7408
+ var SystemPaymentTag = class extends import_sdkgen_client115.TagAbstract {
6767
7409
  /**
7410
+ * Payment webhook endpoint after successful purchase of a plan
7411
+ *
6768
7412
  * @returns {Promise<CommonMessage>}
6769
7413
  * @throws {CommonMessageException}
6770
7414
  * @throws {ClientException}
@@ -6787,12 +7431,12 @@ var SystemPaymentTag = class extends import_sdkgen_client109.TagAbstract {
6787
7431
  if (statusCode >= 0 && statusCode <= 999) {
6788
7432
  throw new CommonMessageException(await response.json());
6789
7433
  }
6790
- throw new import_sdkgen_client110.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7434
+ throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6791
7435
  }
6792
7436
  };
6793
7437
 
6794
7438
  // src/SystemTag.ts
6795
- var SystemTag = class extends import_sdkgen_client111.TagAbstract {
7439
+ var SystemTag = class extends import_sdkgen_client117.TagAbstract {
6796
7440
  connection() {
6797
7441
  return new SystemConnectionTag(
6798
7442
  this.httpClient,
@@ -6814,7 +7458,7 @@ var SystemTag = class extends import_sdkgen_client111.TagAbstract {
6814
7458
  };
6815
7459
 
6816
7460
  // src/Client.ts
6817
- var Client = class _Client extends import_sdkgen_client112.ClientAbstract {
7461
+ var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
6818
7462
  authorization() {
6819
7463
  return new AuthorizationTag(
6820
7464
  this.httpClient,
@@ -6840,7 +7484,7 @@ var Client = class _Client extends import_sdkgen_client112.ClientAbstract {
6840
7484
  );
6841
7485
  }
6842
7486
  static buildAnonymous(baseUrl) {
6843
- return new _Client(baseUrl, new import_sdkgen_client113.Anonymous());
7487
+ return new _Client(baseUrl, new import_sdkgen_client119.Anonymous());
6844
7488
  }
6845
7489
  };
6846
7490
  // Annotate the CommonJS export names for ESM import in node:
@@ -6853,10 +7497,13 @@ var Client = class _Client extends import_sdkgen_client112.ClientAbstract {
6853
7497
  BackendBackupTag,
6854
7498
  BackendCategoryTag,
6855
7499
  BackendConfigTag,
7500
+ BackendConnectionDatabaseTag,
7501
+ BackendConnectionFilesystemTag,
7502
+ BackendConnectionHttpTag,
7503
+ BackendConnectionSdkTag,
6856
7504
  BackendConnectionTag,
6857
7505
  BackendCronjobTag,
6858
7506
  BackendDashboardTag,
6859
- BackendDatabaseTag,
6860
7507
  BackendEventTag,
6861
7508
  BackendFirewallTag,
6862
7509
  BackendFormTag,