fusio-sdk 5.1.16 → 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 +1310 -518
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1016 -166
- package/dist/index.d.ts +1016 -166
- package/dist/index.js +1351 -563
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -28,11 +28,15 @@ __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,
|
|
39
|
+
BackendFirewallTag: () => BackendFirewallTag,
|
|
36
40
|
BackendFormTag: () => BackendFormTag,
|
|
37
41
|
BackendGeneratorTag: () => BackendGeneratorTag,
|
|
38
42
|
BackendIdentityTag: () => BackendIdentityTag,
|
|
@@ -100,6 +104,8 @@ var CommonMessageException = class extends import_sdkgen_client.KnownStatusCodeE
|
|
|
100
104
|
// src/AuthorizationTag.ts
|
|
101
105
|
var AuthorizationTag = class extends import_sdkgen_client2.TagAbstract {
|
|
102
106
|
/**
|
|
107
|
+
* Returns user data of the current authenticated user
|
|
108
|
+
*
|
|
103
109
|
* @returns {Promise<BackendUser>}
|
|
104
110
|
* @throws {CommonMessageException}
|
|
105
111
|
* @throws {ClientException}
|
|
@@ -123,6 +129,8 @@ var AuthorizationTag = class extends import_sdkgen_client2.TagAbstract {
|
|
|
123
129
|
throw new import_sdkgen_client3.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
124
130
|
}
|
|
125
131
|
/**
|
|
132
|
+
* Revoke the access token of the current authenticated user
|
|
133
|
+
*
|
|
126
134
|
* @returns {Promise<CommonMessage>}
|
|
127
135
|
* @throws {CommonMessageException}
|
|
128
136
|
* @throws {ClientException}
|
|
@@ -152,6 +160,8 @@ var import_sdkgen_client4 = require("sdkgen-client");
|
|
|
152
160
|
var import_sdkgen_client5 = require("sdkgen-client");
|
|
153
161
|
var BackendAccountTag = class extends import_sdkgen_client4.TagAbstract {
|
|
154
162
|
/**
|
|
163
|
+
* Changes the password of the authenticated user
|
|
164
|
+
*
|
|
155
165
|
* @returns {Promise<CommonMessage>}
|
|
156
166
|
* @throws {CommonMessageException}
|
|
157
167
|
* @throws {ClientException}
|
|
@@ -178,6 +188,8 @@ var BackendAccountTag = class extends import_sdkgen_client4.TagAbstract {
|
|
|
178
188
|
throw new import_sdkgen_client5.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
179
189
|
}
|
|
180
190
|
/**
|
|
191
|
+
* Returns user data of the authenticated user
|
|
192
|
+
*
|
|
181
193
|
* @returns {Promise<BackendUser>}
|
|
182
194
|
* @throws {CommonMessageException}
|
|
183
195
|
* @throws {ClientException}
|
|
@@ -201,6 +213,8 @@ var BackendAccountTag = class extends import_sdkgen_client4.TagAbstract {
|
|
|
201
213
|
throw new import_sdkgen_client5.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
202
214
|
}
|
|
203
215
|
/**
|
|
216
|
+
* Updates user data of the authenticated user
|
|
217
|
+
*
|
|
204
218
|
* @returns {Promise<CommonMessage>}
|
|
205
219
|
* @throws {CommonMessageException}
|
|
206
220
|
* @throws {ClientException}
|
|
@@ -233,6 +247,8 @@ var import_sdkgen_client6 = require("sdkgen-client");
|
|
|
233
247
|
var import_sdkgen_client7 = require("sdkgen-client");
|
|
234
248
|
var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
235
249
|
/**
|
|
250
|
+
* Creates a new action
|
|
251
|
+
*
|
|
236
252
|
* @returns {Promise<CommonMessage>}
|
|
237
253
|
* @throws {CommonMessageException}
|
|
238
254
|
* @throws {ClientException}
|
|
@@ -259,6 +275,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
259
275
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
260
276
|
}
|
|
261
277
|
/**
|
|
278
|
+
* Deletes an existing action
|
|
279
|
+
*
|
|
262
280
|
* @returns {Promise<CommonMessage>}
|
|
263
281
|
* @throws {CommonMessageException}
|
|
264
282
|
* @throws {ClientException}
|
|
@@ -284,6 +302,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
284
302
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
285
303
|
}
|
|
286
304
|
/**
|
|
305
|
+
* Executes a specific action
|
|
306
|
+
*
|
|
287
307
|
* @returns {Promise<BackendActionExecuteResponse>}
|
|
288
308
|
* @throws {CommonMessageException}
|
|
289
309
|
* @throws {ClientException}
|
|
@@ -312,6 +332,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
312
332
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
313
333
|
}
|
|
314
334
|
/**
|
|
335
|
+
* Returns a specific action
|
|
336
|
+
*
|
|
315
337
|
* @returns {Promise<BackendAction>}
|
|
316
338
|
* @throws {CommonMessageException}
|
|
317
339
|
* @throws {ClientException}
|
|
@@ -337,6 +359,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
337
359
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
338
360
|
}
|
|
339
361
|
/**
|
|
362
|
+
* Returns a paginated list of actions
|
|
363
|
+
*
|
|
340
364
|
* @returns {Promise<BackendActionCollection>}
|
|
341
365
|
* @throws {CommonMessageException}
|
|
342
366
|
* @throws {ClientException}
|
|
@@ -364,6 +388,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
364
388
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
365
389
|
}
|
|
366
390
|
/**
|
|
391
|
+
* Returns all available action classes
|
|
392
|
+
*
|
|
367
393
|
* @returns {Promise<BackendActionIndex>}
|
|
368
394
|
* @throws {CommonMessageException}
|
|
369
395
|
* @throws {ClientException}
|
|
@@ -387,6 +413,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
387
413
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
388
414
|
}
|
|
389
415
|
/**
|
|
416
|
+
* Returns the action config form
|
|
417
|
+
*
|
|
390
418
|
* @returns {Promise<CommonFormContainer>}
|
|
391
419
|
* @throws {CommonMessageException}
|
|
392
420
|
* @throws {ClientException}
|
|
@@ -412,6 +440,8 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
412
440
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
413
441
|
}
|
|
414
442
|
/**
|
|
443
|
+
* Updates an existing action
|
|
444
|
+
*
|
|
415
445
|
* @returns {Promise<CommonMessage>}
|
|
416
446
|
* @throws {CommonMessageException}
|
|
417
447
|
* @throws {ClientException}
|
|
@@ -446,6 +476,8 @@ var import_sdkgen_client8 = require("sdkgen-client");
|
|
|
446
476
|
var import_sdkgen_client9 = require("sdkgen-client");
|
|
447
477
|
var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
448
478
|
/**
|
|
479
|
+
* Creates a new app
|
|
480
|
+
*
|
|
449
481
|
* @returns {Promise<CommonMessage>}
|
|
450
482
|
* @throws {CommonMessageException}
|
|
451
483
|
* @throws {ClientException}
|
|
@@ -472,6 +504,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
472
504
|
throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
473
505
|
}
|
|
474
506
|
/**
|
|
507
|
+
* Deletes an existing app
|
|
508
|
+
*
|
|
475
509
|
* @returns {Promise<CommonMessage>}
|
|
476
510
|
* @throws {CommonMessageException}
|
|
477
511
|
* @throws {ClientException}
|
|
@@ -497,6 +531,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
497
531
|
throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
498
532
|
}
|
|
499
533
|
/**
|
|
534
|
+
* Deletes an existing token from an app
|
|
535
|
+
*
|
|
500
536
|
* @returns {Promise<CommonMessage>}
|
|
501
537
|
* @throws {CommonMessageException}
|
|
502
538
|
* @throws {ClientException}
|
|
@@ -523,6 +559,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
523
559
|
throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
524
560
|
}
|
|
525
561
|
/**
|
|
562
|
+
* Returns a specific app
|
|
563
|
+
*
|
|
526
564
|
* @returns {Promise<BackendApp>}
|
|
527
565
|
* @throws {CommonMessageException}
|
|
528
566
|
* @throws {ClientException}
|
|
@@ -548,6 +586,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
548
586
|
throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
549
587
|
}
|
|
550
588
|
/**
|
|
589
|
+
* Returns a paginated list of apps
|
|
590
|
+
*
|
|
551
591
|
* @returns {Promise<BackendAppCollection>}
|
|
552
592
|
* @throws {CommonMessageException}
|
|
553
593
|
* @throws {ClientException}
|
|
@@ -575,6 +615,8 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
575
615
|
throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
576
616
|
}
|
|
577
617
|
/**
|
|
618
|
+
* Updates an existing app
|
|
619
|
+
*
|
|
578
620
|
* @returns {Promise<CommonMessage>}
|
|
579
621
|
* @throws {CommonMessageException}
|
|
580
622
|
* @throws {ClientException}
|
|
@@ -609,6 +651,8 @@ var import_sdkgen_client10 = require("sdkgen-client");
|
|
|
609
651
|
var import_sdkgen_client11 = require("sdkgen-client");
|
|
610
652
|
var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
|
|
611
653
|
/**
|
|
654
|
+
* Returns a specific audit
|
|
655
|
+
*
|
|
612
656
|
* @returns {Promise<BackendAudit>}
|
|
613
657
|
* @throws {CommonMessageException}
|
|
614
658
|
* @throws {ClientException}
|
|
@@ -634,6 +678,8 @@ var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
|
|
|
634
678
|
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
635
679
|
}
|
|
636
680
|
/**
|
|
681
|
+
* Returns a paginated list of audits
|
|
682
|
+
*
|
|
637
683
|
* @returns {Promise<BackendAuditCollection>}
|
|
638
684
|
* @throws {CommonMessageException}
|
|
639
685
|
* @throws {ClientException}
|
|
@@ -674,6 +720,8 @@ var import_sdkgen_client12 = require("sdkgen-client");
|
|
|
674
720
|
var import_sdkgen_client13 = require("sdkgen-client");
|
|
675
721
|
var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
|
|
676
722
|
/**
|
|
723
|
+
* Generates an backup of the current system
|
|
724
|
+
*
|
|
677
725
|
* @returns {Promise<BackendBackupExport>}
|
|
678
726
|
* @throws {CommonMessageException}
|
|
679
727
|
* @throws {ClientException}
|
|
@@ -697,6 +745,8 @@ var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
|
|
|
697
745
|
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
698
746
|
}
|
|
699
747
|
/**
|
|
748
|
+
* Imports an backup to the current system
|
|
749
|
+
*
|
|
700
750
|
* @returns {Promise<BackendBackupImportResult>}
|
|
701
751
|
* @throws {CommonMessageException}
|
|
702
752
|
* @throws {ClientException}
|
|
@@ -729,6 +779,8 @@ var import_sdkgen_client14 = require("sdkgen-client");
|
|
|
729
779
|
var import_sdkgen_client15 = require("sdkgen-client");
|
|
730
780
|
var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
|
|
731
781
|
/**
|
|
782
|
+
* Creates a new category
|
|
783
|
+
*
|
|
732
784
|
* @returns {Promise<CommonMessage>}
|
|
733
785
|
* @throws {CommonMessageException}
|
|
734
786
|
* @throws {ClientException}
|
|
@@ -755,6 +807,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
755
807
|
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
756
808
|
}
|
|
757
809
|
/**
|
|
810
|
+
* Deletes an existing category
|
|
811
|
+
*
|
|
758
812
|
* @returns {Promise<CommonMessage>}
|
|
759
813
|
* @throws {CommonMessageException}
|
|
760
814
|
* @throws {ClientException}
|
|
@@ -780,6 +834,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
780
834
|
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
781
835
|
}
|
|
782
836
|
/**
|
|
837
|
+
* Returns a specific category
|
|
838
|
+
*
|
|
783
839
|
* @returns {Promise<BackendCategory>}
|
|
784
840
|
* @throws {CommonMessageException}
|
|
785
841
|
* @throws {ClientException}
|
|
@@ -805,6 +861,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
805
861
|
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
806
862
|
}
|
|
807
863
|
/**
|
|
864
|
+
* Returns a paginated list of categories
|
|
865
|
+
*
|
|
808
866
|
* @returns {Promise<BackendCategoryCollection>}
|
|
809
867
|
* @throws {CommonMessageException}
|
|
810
868
|
* @throws {ClientException}
|
|
@@ -832,6 +890,8 @@ var BackendCategoryTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
832
890
|
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
833
891
|
}
|
|
834
892
|
/**
|
|
893
|
+
* Updates an existing category
|
|
894
|
+
*
|
|
835
895
|
* @returns {Promise<CommonMessage>}
|
|
836
896
|
* @throws {CommonMessageException}
|
|
837
897
|
* @throws {ClientException}
|
|
@@ -866,6 +926,8 @@ var import_sdkgen_client16 = require("sdkgen-client");
|
|
|
866
926
|
var import_sdkgen_client17 = require("sdkgen-client");
|
|
867
927
|
var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
|
|
868
928
|
/**
|
|
929
|
+
* Returns a specific config
|
|
930
|
+
*
|
|
869
931
|
* @returns {Promise<BackendConfig>}
|
|
870
932
|
* @throws {CommonMessageException}
|
|
871
933
|
* @throws {ClientException}
|
|
@@ -891,6 +953,8 @@ var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
891
953
|
throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
892
954
|
}
|
|
893
955
|
/**
|
|
956
|
+
* Returns a paginated list of configuration values
|
|
957
|
+
*
|
|
894
958
|
* @returns {Promise<BackendConfigCollection>}
|
|
895
959
|
* @throws {CommonMessageException}
|
|
896
960
|
* @throws {ClientException}
|
|
@@ -918,6 +982,8 @@ var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
918
982
|
throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
919
983
|
}
|
|
920
984
|
/**
|
|
985
|
+
* Updates an existing config value
|
|
986
|
+
*
|
|
921
987
|
* @returns {Promise<CommonMessage>}
|
|
922
988
|
* @throws {CommonMessageException}
|
|
923
989
|
* @throws {ClientException}
|
|
@@ -947,17 +1013,22 @@ var BackendConfigTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
947
1013
|
}
|
|
948
1014
|
};
|
|
949
1015
|
|
|
950
|
-
// src/
|
|
1016
|
+
// src/BackendConnectionDatabaseTag.ts
|
|
951
1017
|
var import_sdkgen_client18 = require("sdkgen-client");
|
|
952
1018
|
var import_sdkgen_client19 = require("sdkgen-client");
|
|
953
|
-
var
|
|
1019
|
+
var BackendConnectionDatabaseTag = class extends import_sdkgen_client18.TagAbstract {
|
|
954
1020
|
/**
|
|
1021
|
+
* Creates a new row at a table on a database
|
|
1022
|
+
*
|
|
955
1023
|
* @returns {Promise<CommonMessage>}
|
|
956
1024
|
* @throws {CommonMessageException}
|
|
957
1025
|
* @throws {ClientException}
|
|
958
1026
|
*/
|
|
959
|
-
async
|
|
960
|
-
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
|
+
});
|
|
961
1032
|
let request = {
|
|
962
1033
|
url,
|
|
963
1034
|
method: "POST",
|
|
@@ -978,14 +1049,48 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
978
1049
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
979
1050
|
}
|
|
980
1051
|
/**
|
|
1052
|
+
* Creates a new table on a database
|
|
1053
|
+
*
|
|
981
1054
|
* @returns {Promise<CommonMessage>}
|
|
982
1055
|
* @throws {CommonMessageException}
|
|
983
1056
|
* @throws {ClientException}
|
|
984
1057
|
*/
|
|
985
|
-
async
|
|
986
|
-
const url = this.parser.url("/backend/connection
|
|
1058
|
+
async createTable(connectionId, payload) {
|
|
1059
|
+
const url = this.parser.url("/backend/connection/:connection_id/database", {
|
|
987
1060
|
"connection_id": connectionId
|
|
988
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
|
+
});
|
|
989
1094
|
let request = {
|
|
990
1095
|
url,
|
|
991
1096
|
method: "DELETE",
|
|
@@ -1003,13 +1108,45 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1003
1108
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1004
1109
|
}
|
|
1005
1110
|
/**
|
|
1006
|
-
*
|
|
1111
|
+
* Deletes an existing table on a database
|
|
1112
|
+
*
|
|
1113
|
+
* @returns {Promise<CommonMessage>}
|
|
1007
1114
|
* @throws {CommonMessageException}
|
|
1008
1115
|
* @throws {ClientException}
|
|
1009
1116
|
*/
|
|
1010
|
-
async
|
|
1011
|
-
const url = this.parser.url("/backend/connection
|
|
1012
|
-
"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
|
|
1013
1150
|
});
|
|
1014
1151
|
let request = {
|
|
1015
1152
|
url,
|
|
@@ -1028,12 +1165,17 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1028
1165
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1029
1166
|
}
|
|
1030
1167
|
/**
|
|
1031
|
-
*
|
|
1168
|
+
* Returns paginated rows at a table on a database
|
|
1169
|
+
*
|
|
1170
|
+
* @returns {Promise<BackendDatabaseRowCollection>}
|
|
1032
1171
|
* @throws {CommonMessageException}
|
|
1033
1172
|
* @throws {ClientException}
|
|
1034
1173
|
*/
|
|
1035
|
-
async
|
|
1036
|
-
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
|
+
});
|
|
1037
1179
|
let request = {
|
|
1038
1180
|
url,
|
|
1039
1181
|
method: "GET",
|
|
@@ -1041,8 +1183,12 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1041
1183
|
params: this.parser.query({
|
|
1042
1184
|
"startIndex": startIndex,
|
|
1043
1185
|
"count": count,
|
|
1044
|
-
"
|
|
1045
|
-
"
|
|
1186
|
+
"filterBy": filterBy,
|
|
1187
|
+
"filterOp": filterOp,
|
|
1188
|
+
"filterValue": filterValue,
|
|
1189
|
+
"sortBy": sortBy,
|
|
1190
|
+
"sortOrder": sortOrder,
|
|
1191
|
+
"columns": columns
|
|
1046
1192
|
}, [])
|
|
1047
1193
|
};
|
|
1048
1194
|
const response = await this.httpClient.request(request);
|
|
@@ -1056,12 +1202,17 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1056
1202
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1057
1203
|
}
|
|
1058
1204
|
/**
|
|
1059
|
-
*
|
|
1205
|
+
* Returns the schema of a specific table on a database
|
|
1206
|
+
*
|
|
1207
|
+
* @returns {Promise<BackendDatabaseTable>}
|
|
1060
1208
|
* @throws {CommonMessageException}
|
|
1061
1209
|
* @throws {ClientException}
|
|
1062
1210
|
*/
|
|
1063
|
-
async
|
|
1064
|
-
const url = this.parser.url("/backend/connection/
|
|
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
|
+
});
|
|
1065
1216
|
let request = {
|
|
1066
1217
|
url,
|
|
1067
1218
|
method: "GET",
|
|
@@ -1079,18 +1230,23 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1079
1230
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1080
1231
|
}
|
|
1081
1232
|
/**
|
|
1082
|
-
*
|
|
1233
|
+
* Returns all available tables on a database
|
|
1234
|
+
*
|
|
1235
|
+
* @returns {Promise<BackendDatabaseTableCollection>}
|
|
1083
1236
|
* @throws {CommonMessageException}
|
|
1084
1237
|
* @throws {ClientException}
|
|
1085
1238
|
*/
|
|
1086
|
-
async
|
|
1087
|
-
const url = this.parser.url("/backend/connection/
|
|
1239
|
+
async getTables(connectionId, startIndex, count) {
|
|
1240
|
+
const url = this.parser.url("/backend/connection/:connection_id/database", {
|
|
1241
|
+
"connection_id": connectionId
|
|
1242
|
+
});
|
|
1088
1243
|
let request = {
|
|
1089
1244
|
url,
|
|
1090
1245
|
method: "GET",
|
|
1091
1246
|
headers: {},
|
|
1092
1247
|
params: this.parser.query({
|
|
1093
|
-
"
|
|
1248
|
+
"startIndex": startIndex,
|
|
1249
|
+
"count": count
|
|
1094
1250
|
}, [])
|
|
1095
1251
|
};
|
|
1096
1252
|
const response = await this.httpClient.request(request);
|
|
@@ -1104,19 +1260,26 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1104
1260
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1105
1261
|
}
|
|
1106
1262
|
/**
|
|
1107
|
-
*
|
|
1263
|
+
* Updates an existing row at a table on a database
|
|
1264
|
+
*
|
|
1265
|
+
* @returns {Promise<CommonMessage>}
|
|
1108
1266
|
* @throws {CommonMessageException}
|
|
1109
1267
|
* @throws {ClientException}
|
|
1110
1268
|
*/
|
|
1111
|
-
async
|
|
1112
|
-
const url = this.parser.url("/backend/connection
|
|
1113
|
-
"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
|
|
1114
1274
|
});
|
|
1115
1275
|
let request = {
|
|
1116
1276
|
url,
|
|
1117
|
-
method: "
|
|
1118
|
-
headers: {
|
|
1119
|
-
|
|
1277
|
+
method: "PUT",
|
|
1278
|
+
headers: {
|
|
1279
|
+
"Content-Type": "application/json"
|
|
1280
|
+
},
|
|
1281
|
+
params: this.parser.query({}, []),
|
|
1282
|
+
data: payload
|
|
1120
1283
|
};
|
|
1121
1284
|
const response = await this.httpClient.request(request);
|
|
1122
1285
|
if (response.ok) {
|
|
@@ -1129,13 +1292,16 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1129
1292
|
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1130
1293
|
}
|
|
1131
1294
|
/**
|
|
1295
|
+
* Updates an existing table on a database
|
|
1296
|
+
*
|
|
1132
1297
|
* @returns {Promise<CommonMessage>}
|
|
1133
1298
|
* @throws {CommonMessageException}
|
|
1134
1299
|
* @throws {ClientException}
|
|
1135
1300
|
*/
|
|
1136
|
-
async
|
|
1137
|
-
const url = this.parser.url("/backend/connection
|
|
1138
|
-
"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
|
|
1139
1305
|
});
|
|
1140
1306
|
let request = {
|
|
1141
1307
|
url,
|
|
@@ -1158,23 +1324,25 @@ var BackendConnectionTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1158
1324
|
}
|
|
1159
1325
|
};
|
|
1160
1326
|
|
|
1161
|
-
// src/
|
|
1327
|
+
// src/BackendConnectionFilesystemTag.ts
|
|
1162
1328
|
var import_sdkgen_client20 = require("sdkgen-client");
|
|
1163
1329
|
var import_sdkgen_client21 = require("sdkgen-client");
|
|
1164
|
-
var
|
|
1330
|
+
var BackendConnectionFilesystemTag = class extends import_sdkgen_client20.TagAbstract {
|
|
1165
1331
|
/**
|
|
1332
|
+
* Uploads one or more files on the filesystem connection
|
|
1333
|
+
*
|
|
1166
1334
|
* @returns {Promise<CommonMessage>}
|
|
1167
1335
|
* @throws {CommonMessageException}
|
|
1168
1336
|
* @throws {ClientException}
|
|
1169
1337
|
*/
|
|
1170
|
-
async create(payload) {
|
|
1171
|
-
const url = this.parser.url("/backend/
|
|
1338
|
+
async create(connectionId, payload) {
|
|
1339
|
+
const url = this.parser.url("/backend/connection/:connection_id/filesystem", {
|
|
1340
|
+
"connection_id": connectionId
|
|
1341
|
+
});
|
|
1172
1342
|
let request = {
|
|
1173
1343
|
url,
|
|
1174
1344
|
method: "POST",
|
|
1175
|
-
headers: {
|
|
1176
|
-
"Content-Type": "application/json"
|
|
1177
|
-
},
|
|
1345
|
+
headers: {},
|
|
1178
1346
|
params: this.parser.query({}, []),
|
|
1179
1347
|
data: payload
|
|
1180
1348
|
};
|
|
@@ -1189,13 +1357,16 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
|
|
|
1189
1357
|
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1190
1358
|
}
|
|
1191
1359
|
/**
|
|
1360
|
+
* Deletes an existing file on the filesystem connection
|
|
1361
|
+
*
|
|
1192
1362
|
* @returns {Promise<CommonMessage>}
|
|
1193
1363
|
* @throws {CommonMessageException}
|
|
1194
1364
|
* @throws {ClientException}
|
|
1195
1365
|
*/
|
|
1196
|
-
async delete(
|
|
1197
|
-
const url = this.parser.url("/backend/
|
|
1198
|
-
"
|
|
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
|
|
1199
1370
|
});
|
|
1200
1371
|
let request = {
|
|
1201
1372
|
url,
|
|
@@ -1214,23 +1385,28 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
|
|
|
1214
1385
|
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1215
1386
|
}
|
|
1216
1387
|
/**
|
|
1217
|
-
*
|
|
1388
|
+
* Returns the content of the provided file id on the filesystem connection
|
|
1389
|
+
*
|
|
1390
|
+
* @returns {Promise<ArrayBuffer>}
|
|
1218
1391
|
* @throws {CommonMessageException}
|
|
1219
1392
|
* @throws {ClientException}
|
|
1220
1393
|
*/
|
|
1221
|
-
async get(
|
|
1222
|
-
const url = this.parser.url("/backend/
|
|
1223
|
-
"
|
|
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
|
|
1224
1398
|
});
|
|
1225
1399
|
let request = {
|
|
1226
1400
|
url,
|
|
1227
1401
|
method: "GET",
|
|
1228
|
-
headers: {
|
|
1402
|
+
headers: {
|
|
1403
|
+
"Accept": "application/octet-stream"
|
|
1404
|
+
},
|
|
1229
1405
|
params: this.parser.query({}, [])
|
|
1230
1406
|
};
|
|
1231
1407
|
const response = await this.httpClient.request(request);
|
|
1232
1408
|
if (response.ok) {
|
|
1233
|
-
return await response.
|
|
1409
|
+
return await response.arrayBuffer();
|
|
1234
1410
|
}
|
|
1235
1411
|
const statusCode = response.status;
|
|
1236
1412
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
@@ -1239,20 +1415,23 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
|
|
|
1239
1415
|
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1240
1416
|
}
|
|
1241
1417
|
/**
|
|
1242
|
-
*
|
|
1418
|
+
* Returns all available files on the filesystem connection
|
|
1419
|
+
*
|
|
1420
|
+
* @returns {Promise<BackendFileCollection>}
|
|
1243
1421
|
* @throws {CommonMessageException}
|
|
1244
1422
|
* @throws {ClientException}
|
|
1245
1423
|
*/
|
|
1246
|
-
async getAll(startIndex, count
|
|
1247
|
-
const url = this.parser.url("/backend/
|
|
1424
|
+
async getAll(connectionId, startIndex, count) {
|
|
1425
|
+
const url = this.parser.url("/backend/connection/:connection_id/filesystem", {
|
|
1426
|
+
"connection_id": connectionId
|
|
1427
|
+
});
|
|
1248
1428
|
let request = {
|
|
1249
1429
|
url,
|
|
1250
1430
|
method: "GET",
|
|
1251
1431
|
headers: {},
|
|
1252
1432
|
params: this.parser.query({
|
|
1253
1433
|
"startIndex": startIndex,
|
|
1254
|
-
"count": count
|
|
1255
|
-
"search": search
|
|
1434
|
+
"count": count
|
|
1256
1435
|
}, [])
|
|
1257
1436
|
};
|
|
1258
1437
|
const response = await this.httpClient.request(request);
|
|
@@ -1266,20 +1445,21 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
|
|
|
1266
1445
|
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1267
1446
|
}
|
|
1268
1447
|
/**
|
|
1448
|
+
* Updates an existing file on the filesystem connection
|
|
1449
|
+
*
|
|
1269
1450
|
* @returns {Promise<CommonMessage>}
|
|
1270
1451
|
* @throws {CommonMessageException}
|
|
1271
1452
|
* @throws {ClientException}
|
|
1272
1453
|
*/
|
|
1273
|
-
async update(
|
|
1274
|
-
const url = this.parser.url("/backend/
|
|
1275
|
-
"
|
|
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
|
|
1276
1458
|
});
|
|
1277
1459
|
let request = {
|
|
1278
1460
|
url,
|
|
1279
1461
|
method: "PUT",
|
|
1280
|
-
headers: {
|
|
1281
|
-
"Content-Type": "application/json"
|
|
1282
|
-
},
|
|
1462
|
+
headers: {},
|
|
1283
1463
|
params: this.parser.query({}, []),
|
|
1284
1464
|
data: payload
|
|
1285
1465
|
};
|
|
@@ -1295,22 +1475,29 @@ var BackendCronjobTag = class extends import_sdkgen_client20.TagAbstract {
|
|
|
1295
1475
|
}
|
|
1296
1476
|
};
|
|
1297
1477
|
|
|
1298
|
-
// src/
|
|
1478
|
+
// src/BackendConnectionHttpTag.ts
|
|
1299
1479
|
var import_sdkgen_client22 = require("sdkgen-client");
|
|
1300
1480
|
var import_sdkgen_client23 = require("sdkgen-client");
|
|
1301
|
-
var
|
|
1481
|
+
var BackendConnectionHttpTag = class extends import_sdkgen_client22.TagAbstract {
|
|
1302
1482
|
/**
|
|
1303
|
-
*
|
|
1483
|
+
* Sends an arbitrary HTTP request to the connection
|
|
1484
|
+
*
|
|
1485
|
+
* @returns {Promise<BackendHttpResponse>}
|
|
1304
1486
|
* @throws {CommonMessageException}
|
|
1305
1487
|
* @throws {ClientException}
|
|
1306
1488
|
*/
|
|
1307
|
-
async
|
|
1308
|
-
const url = this.parser.url("/backend/
|
|
1489
|
+
async execute(connectionId, payload) {
|
|
1490
|
+
const url = this.parser.url("/backend/connection/:connection_id/http", {
|
|
1491
|
+
"connection_id": connectionId
|
|
1492
|
+
});
|
|
1309
1493
|
let request = {
|
|
1310
1494
|
url,
|
|
1311
|
-
method: "
|
|
1312
|
-
headers: {
|
|
1313
|
-
|
|
1495
|
+
method: "POST",
|
|
1496
|
+
headers: {
|
|
1497
|
+
"Content-Type": "application/json"
|
|
1498
|
+
},
|
|
1499
|
+
params: this.parser.query({}, []),
|
|
1500
|
+
data: payload
|
|
1314
1501
|
};
|
|
1315
1502
|
const response = await this.httpClient.request(request);
|
|
1316
1503
|
if (response.ok) {
|
|
@@ -1324,28 +1511,26 @@ var BackendDashboardTag = class extends import_sdkgen_client22.TagAbstract {
|
|
|
1324
1511
|
}
|
|
1325
1512
|
};
|
|
1326
1513
|
|
|
1327
|
-
// src/
|
|
1514
|
+
// src/BackendConnectionSdkTag.ts
|
|
1328
1515
|
var import_sdkgen_client24 = require("sdkgen-client");
|
|
1329
1516
|
var import_sdkgen_client25 = require("sdkgen-client");
|
|
1330
|
-
var
|
|
1517
|
+
var BackendConnectionSdkTag = class extends import_sdkgen_client24.TagAbstract {
|
|
1331
1518
|
/**
|
|
1332
|
-
*
|
|
1519
|
+
* Returns the SDK specification
|
|
1520
|
+
*
|
|
1521
|
+
* @returns {Promise<Passthru>}
|
|
1333
1522
|
* @throws {CommonMessageException}
|
|
1334
1523
|
* @throws {ClientException}
|
|
1335
1524
|
*/
|
|
1336
|
-
async
|
|
1337
|
-
const url = this.parser.url("/backend/
|
|
1338
|
-
"connection_id": connectionId
|
|
1339
|
-
"table_name": tableName
|
|
1525
|
+
async get(connectionId) {
|
|
1526
|
+
const url = this.parser.url("/backend/connection/:connection_id/sdk", {
|
|
1527
|
+
"connection_id": connectionId
|
|
1340
1528
|
});
|
|
1341
1529
|
let request = {
|
|
1342
1530
|
url,
|
|
1343
|
-
method: "
|
|
1344
|
-
headers: {
|
|
1345
|
-
|
|
1346
|
-
},
|
|
1347
|
-
params: this.parser.query({}, []),
|
|
1348
|
-
data: payload
|
|
1531
|
+
method: "GET",
|
|
1532
|
+
headers: {},
|
|
1533
|
+
params: this.parser.query({}, [])
|
|
1349
1534
|
};
|
|
1350
1535
|
const response = await this.httpClient.request(request);
|
|
1351
1536
|
if (response.ok) {
|
|
@@ -1357,15 +1542,45 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1357
1542
|
}
|
|
1358
1543
|
throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1359
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
|
+
}
|
|
1360
1575
|
/**
|
|
1576
|
+
* Creates a new connection
|
|
1577
|
+
*
|
|
1361
1578
|
* @returns {Promise<CommonMessage>}
|
|
1362
1579
|
* @throws {CommonMessageException}
|
|
1363
1580
|
* @throws {ClientException}
|
|
1364
1581
|
*/
|
|
1365
|
-
async
|
|
1366
|
-
const url = this.parser.url("/backend/
|
|
1367
|
-
"connection_id": connectionId
|
|
1368
|
-
});
|
|
1582
|
+
async create(payload) {
|
|
1583
|
+
const url = this.parser.url("/backend/connection", {});
|
|
1369
1584
|
let request = {
|
|
1370
1585
|
url,
|
|
1371
1586
|
method: "POST",
|
|
@@ -1383,18 +1598,18 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1383
1598
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1384
1599
|
throw new CommonMessageException(await response.json());
|
|
1385
1600
|
}
|
|
1386
|
-
throw new
|
|
1601
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1387
1602
|
}
|
|
1388
1603
|
/**
|
|
1604
|
+
* Deletes an existing connection
|
|
1605
|
+
*
|
|
1389
1606
|
* @returns {Promise<CommonMessage>}
|
|
1390
1607
|
* @throws {CommonMessageException}
|
|
1391
1608
|
* @throws {ClientException}
|
|
1392
1609
|
*/
|
|
1393
|
-
async
|
|
1394
|
-
const url = this.parser.url("/backend/
|
|
1395
|
-
"connection_id": connectionId
|
|
1396
|
-
"table_name": tableName,
|
|
1397
|
-
"id": id
|
|
1610
|
+
async delete(connectionId) {
|
|
1611
|
+
const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
|
|
1612
|
+
"connection_id": connectionId
|
|
1398
1613
|
});
|
|
1399
1614
|
let request = {
|
|
1400
1615
|
url,
|
|
@@ -1410,21 +1625,22 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1410
1625
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1411
1626
|
throw new CommonMessageException(await response.json());
|
|
1412
1627
|
}
|
|
1413
|
-
throw new
|
|
1628
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1414
1629
|
}
|
|
1415
1630
|
/**
|
|
1416
|
-
*
|
|
1631
|
+
* Returns a specific connection
|
|
1632
|
+
*
|
|
1633
|
+
* @returns {Promise<BackendConnection>}
|
|
1417
1634
|
* @throws {CommonMessageException}
|
|
1418
1635
|
* @throws {ClientException}
|
|
1419
1636
|
*/
|
|
1420
|
-
async
|
|
1421
|
-
const url = this.parser.url("/backend/
|
|
1422
|
-
"connection_id": connectionId
|
|
1423
|
-
"table_name": tableName
|
|
1637
|
+
async get(connectionId) {
|
|
1638
|
+
const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
|
|
1639
|
+
"connection_id": connectionId
|
|
1424
1640
|
});
|
|
1425
1641
|
let request = {
|
|
1426
1642
|
url,
|
|
1427
|
-
method: "
|
|
1643
|
+
method: "GET",
|
|
1428
1644
|
headers: {},
|
|
1429
1645
|
params: this.parser.query({}, [])
|
|
1430
1646
|
};
|
|
@@ -1436,19 +1652,47 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1436
1652
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1437
1653
|
throw new CommonMessageException(await response.json());
|
|
1438
1654
|
}
|
|
1439
|
-
throw new
|
|
1655
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1440
1656
|
}
|
|
1441
1657
|
/**
|
|
1442
|
-
*
|
|
1658
|
+
* Returns a paginated list of connections
|
|
1659
|
+
*
|
|
1660
|
+
* @returns {Promise<BackendConnectionCollection>}
|
|
1443
1661
|
* @throws {CommonMessageException}
|
|
1444
1662
|
* @throws {ClientException}
|
|
1445
1663
|
*/
|
|
1446
|
-
async
|
|
1447
|
-
const url = this.parser.url("/backend/
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
"
|
|
1451
|
-
|
|
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", {});
|
|
1452
1696
|
let request = {
|
|
1453
1697
|
url,
|
|
1454
1698
|
method: "GET",
|
|
@@ -1463,18 +1707,189 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1463
1707
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1464
1708
|
throw new CommonMessageException(await response.json());
|
|
1465
1709
|
}
|
|
1466
|
-
throw new
|
|
1710
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1467
1711
|
}
|
|
1468
1712
|
/**
|
|
1469
|
-
*
|
|
1713
|
+
* Returns the connection config form
|
|
1714
|
+
*
|
|
1715
|
+
* @returns {Promise<CommonFormContainer>}
|
|
1470
1716
|
* @throws {CommonMessageException}
|
|
1471
1717
|
* @throws {ClientException}
|
|
1472
1718
|
*/
|
|
1473
|
-
async
|
|
1474
|
-
const url = this.parser.url("/backend/
|
|
1475
|
-
|
|
1476
|
-
|
|
1719
|
+
async getForm(_class) {
|
|
1720
|
+
const url = this.parser.url("/backend/connection/form", {});
|
|
1721
|
+
let request = {
|
|
1722
|
+
url,
|
|
1723
|
+
method: "GET",
|
|
1724
|
+
headers: {},
|
|
1725
|
+
params: this.parser.query({
|
|
1726
|
+
"class": _class
|
|
1727
|
+
}, [])
|
|
1728
|
+
};
|
|
1729
|
+
const response = await this.httpClient.request(request);
|
|
1730
|
+
if (response.ok) {
|
|
1731
|
+
return await response.json();
|
|
1732
|
+
}
|
|
1733
|
+
const statusCode = response.status;
|
|
1734
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1735
|
+
throw new CommonMessageException(await response.json());
|
|
1736
|
+
}
|
|
1737
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1738
|
+
}
|
|
1739
|
+
/**
|
|
1740
|
+
* Returns a redirect url to start the OAuth2 authorization flow for the given connection
|
|
1741
|
+
*
|
|
1742
|
+
* @returns {Promise<BackendConnectionRedirectResponse>}
|
|
1743
|
+
* @throws {CommonMessageException}
|
|
1744
|
+
* @throws {ClientException}
|
|
1745
|
+
*/
|
|
1746
|
+
async getRedirect(connectionId) {
|
|
1747
|
+
const url = this.parser.url("/backend/connection/:connection_id/redirect", {
|
|
1748
|
+
"connection_id": connectionId
|
|
1477
1749
|
});
|
|
1750
|
+
let request = {
|
|
1751
|
+
url,
|
|
1752
|
+
method: "GET",
|
|
1753
|
+
headers: {},
|
|
1754
|
+
params: this.parser.query({}, [])
|
|
1755
|
+
};
|
|
1756
|
+
const response = await this.httpClient.request(request);
|
|
1757
|
+
if (response.ok) {
|
|
1758
|
+
return await response.json();
|
|
1759
|
+
}
|
|
1760
|
+
const statusCode = response.status;
|
|
1761
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1762
|
+
throw new CommonMessageException(await response.json());
|
|
1763
|
+
}
|
|
1764
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* Updates an existing connection
|
|
1768
|
+
*
|
|
1769
|
+
* @returns {Promise<CommonMessage>}
|
|
1770
|
+
* @throws {CommonMessageException}
|
|
1771
|
+
* @throws {ClientException}
|
|
1772
|
+
*/
|
|
1773
|
+
async update(connectionId, payload) {
|
|
1774
|
+
const url = this.parser.url("/backend/connection/$connection_id<[0-9]+|^~>", {
|
|
1775
|
+
"connection_id": connectionId
|
|
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
|
+
});
|
|
1868
|
+
let request = {
|
|
1869
|
+
url,
|
|
1870
|
+
method: "GET",
|
|
1871
|
+
headers: {},
|
|
1872
|
+
params: this.parser.query({}, [])
|
|
1873
|
+
};
|
|
1874
|
+
const response = await this.httpClient.request(request);
|
|
1875
|
+
if (response.ok) {
|
|
1876
|
+
return await response.json();
|
|
1877
|
+
}
|
|
1878
|
+
const statusCode = response.status;
|
|
1879
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1880
|
+
throw new CommonMessageException(await response.json());
|
|
1881
|
+
}
|
|
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", {});
|
|
1478
1893
|
let request = {
|
|
1479
1894
|
url,
|
|
1480
1895
|
method: "GET",
|
|
@@ -1482,12 +1897,7 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1482
1897
|
params: this.parser.query({
|
|
1483
1898
|
"startIndex": startIndex,
|
|
1484
1899
|
"count": count,
|
|
1485
|
-
"
|
|
1486
|
-
"filterOp": filterOp,
|
|
1487
|
-
"filterValue": filterValue,
|
|
1488
|
-
"sortBy": sortBy,
|
|
1489
|
-
"sortOrder": sortOrder,
|
|
1490
|
-
"columns": columns
|
|
1900
|
+
"search": search
|
|
1491
1901
|
}, [])
|
|
1492
1902
|
};
|
|
1493
1903
|
const response = await this.httpClient.request(request);
|
|
@@ -1498,21 +1908,117 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1498
1908
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1499
1909
|
throw new CommonMessageException(await response.json());
|
|
1500
1910
|
}
|
|
1501
|
-
throw new
|
|
1911
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1912
|
+
}
|
|
1913
|
+
/**
|
|
1914
|
+
* Updates an existing cronjob
|
|
1915
|
+
*
|
|
1916
|
+
* @returns {Promise<CommonMessage>}
|
|
1917
|
+
* @throws {CommonMessageException}
|
|
1918
|
+
* @throws {ClientException}
|
|
1919
|
+
*/
|
|
1920
|
+
async update(cronjobId, payload) {
|
|
1921
|
+
const url = this.parser.url("/backend/cronjob/$cronjob_id<[0-9]+|^~>", {
|
|
1922
|
+
"cronjob_id": cronjobId
|
|
1923
|
+
});
|
|
1924
|
+
let request = {
|
|
1925
|
+
url,
|
|
1926
|
+
method: "PUT",
|
|
1927
|
+
headers: {
|
|
1928
|
+
"Content-Type": "application/json"
|
|
1929
|
+
},
|
|
1930
|
+
params: this.parser.query({}, []),
|
|
1931
|
+
data: payload
|
|
1932
|
+
};
|
|
1933
|
+
const response = await this.httpClient.request(request);
|
|
1934
|
+
if (response.ok) {
|
|
1935
|
+
return await response.json();
|
|
1936
|
+
}
|
|
1937
|
+
const statusCode = response.status;
|
|
1938
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1939
|
+
throw new CommonMessageException(await response.json());
|
|
1940
|
+
}
|
|
1941
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
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 {
|
|
1949
|
+
/**
|
|
1950
|
+
* Returns all available dashboard widgets
|
|
1951
|
+
*
|
|
1952
|
+
* @returns {Promise<BackendDashboard>}
|
|
1953
|
+
* @throws {CommonMessageException}
|
|
1954
|
+
* @throws {ClientException}
|
|
1955
|
+
*/
|
|
1956
|
+
async getAll() {
|
|
1957
|
+
const url = this.parser.url("/backend/dashboard", {});
|
|
1958
|
+
let request = {
|
|
1959
|
+
url,
|
|
1960
|
+
method: "GET",
|
|
1961
|
+
headers: {},
|
|
1962
|
+
params: this.parser.query({}, [])
|
|
1963
|
+
};
|
|
1964
|
+
const response = await this.httpClient.request(request);
|
|
1965
|
+
if (response.ok) {
|
|
1966
|
+
return await response.json();
|
|
1967
|
+
}
|
|
1968
|
+
const statusCode = response.status;
|
|
1969
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1970
|
+
throw new CommonMessageException(await response.json());
|
|
1971
|
+
}
|
|
1972
|
+
throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1973
|
+
}
|
|
1974
|
+
};
|
|
1975
|
+
|
|
1976
|
+
// src/BackendEventTag.ts
|
|
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 {
|
|
1980
|
+
/**
|
|
1981
|
+
* Creates a new event
|
|
1982
|
+
*
|
|
1983
|
+
* @returns {Promise<CommonMessage>}
|
|
1984
|
+
* @throws {CommonMessageException}
|
|
1985
|
+
* @throws {ClientException}
|
|
1986
|
+
*/
|
|
1987
|
+
async create(payload) {
|
|
1988
|
+
const url = this.parser.url("/backend/event", {});
|
|
1989
|
+
let request = {
|
|
1990
|
+
url,
|
|
1991
|
+
method: "POST",
|
|
1992
|
+
headers: {
|
|
1993
|
+
"Content-Type": "application/json"
|
|
1994
|
+
},
|
|
1995
|
+
params: this.parser.query({}, []),
|
|
1996
|
+
data: payload
|
|
1997
|
+
};
|
|
1998
|
+
const response = await this.httpClient.request(request);
|
|
1999
|
+
if (response.ok) {
|
|
2000
|
+
return await response.json();
|
|
2001
|
+
}
|
|
2002
|
+
const statusCode = response.status;
|
|
2003
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
2004
|
+
throw new CommonMessageException(await response.json());
|
|
2005
|
+
}
|
|
2006
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1502
2007
|
}
|
|
1503
2008
|
/**
|
|
1504
|
-
*
|
|
2009
|
+
* Deletes an existing event
|
|
2010
|
+
*
|
|
2011
|
+
* @returns {Promise<CommonMessage>}
|
|
1505
2012
|
* @throws {CommonMessageException}
|
|
1506
2013
|
* @throws {ClientException}
|
|
1507
2014
|
*/
|
|
1508
|
-
async
|
|
1509
|
-
const url = this.parser.url("/backend/
|
|
1510
|
-
"
|
|
1511
|
-
"table_name": tableName
|
|
2015
|
+
async delete(eventId) {
|
|
2016
|
+
const url = this.parser.url("/backend/event/$event_id<[0-9]+|^~>", {
|
|
2017
|
+
"event_id": eventId
|
|
1512
2018
|
});
|
|
1513
2019
|
let request = {
|
|
1514
2020
|
url,
|
|
1515
|
-
method: "
|
|
2021
|
+
method: "DELETE",
|
|
1516
2022
|
headers: {},
|
|
1517
2023
|
params: this.parser.query({}, [])
|
|
1518
2024
|
};
|
|
@@ -1524,16 +2030,18 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1524
2030
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1525
2031
|
throw new CommonMessageException(await response.json());
|
|
1526
2032
|
}
|
|
1527
|
-
throw new
|
|
2033
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1528
2034
|
}
|
|
1529
2035
|
/**
|
|
1530
|
-
*
|
|
2036
|
+
* Returns a specific event
|
|
2037
|
+
*
|
|
2038
|
+
* @returns {Promise<BackendEvent>}
|
|
1531
2039
|
* @throws {CommonMessageException}
|
|
1532
2040
|
* @throws {ClientException}
|
|
1533
2041
|
*/
|
|
1534
|
-
async
|
|
1535
|
-
const url = this.parser.url("/backend/
|
|
1536
|
-
"
|
|
2042
|
+
async get(eventId) {
|
|
2043
|
+
const url = this.parser.url("/backend/event/$event_id<[0-9]+|^~>", {
|
|
2044
|
+
"event_id": eventId
|
|
1537
2045
|
});
|
|
1538
2046
|
let request = {
|
|
1539
2047
|
url,
|
|
@@ -1549,27 +2057,26 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1549
2057
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1550
2058
|
throw new CommonMessageException(await response.json());
|
|
1551
2059
|
}
|
|
1552
|
-
throw new
|
|
2060
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1553
2061
|
}
|
|
1554
2062
|
/**
|
|
1555
|
-
*
|
|
2063
|
+
* Returns a paginated list of events
|
|
2064
|
+
*
|
|
2065
|
+
* @returns {Promise<BackendEventCollection>}
|
|
1556
2066
|
* @throws {CommonMessageException}
|
|
1557
2067
|
* @throws {ClientException}
|
|
1558
2068
|
*/
|
|
1559
|
-
async
|
|
1560
|
-
const url = this.parser.url("/backend/
|
|
1561
|
-
"connection_id": connectionId,
|
|
1562
|
-
"table_name": tableName,
|
|
1563
|
-
"id": id
|
|
1564
|
-
});
|
|
2069
|
+
async getAll(startIndex, count, search) {
|
|
2070
|
+
const url = this.parser.url("/backend/event", {});
|
|
1565
2071
|
let request = {
|
|
1566
2072
|
url,
|
|
1567
|
-
method: "
|
|
1568
|
-
headers: {
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
2073
|
+
method: "GET",
|
|
2074
|
+
headers: {},
|
|
2075
|
+
params: this.parser.query({
|
|
2076
|
+
"startIndex": startIndex,
|
|
2077
|
+
"count": count,
|
|
2078
|
+
"search": search
|
|
2079
|
+
}, [])
|
|
1573
2080
|
};
|
|
1574
2081
|
const response = await this.httpClient.request(request);
|
|
1575
2082
|
if (response.ok) {
|
|
@@ -1579,17 +2086,18 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1579
2086
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1580
2087
|
throw new CommonMessageException(await response.json());
|
|
1581
2088
|
}
|
|
1582
|
-
throw new
|
|
2089
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1583
2090
|
}
|
|
1584
2091
|
/**
|
|
2092
|
+
* Updates an existing event
|
|
2093
|
+
*
|
|
1585
2094
|
* @returns {Promise<CommonMessage>}
|
|
1586
2095
|
* @throws {CommonMessageException}
|
|
1587
2096
|
* @throws {ClientException}
|
|
1588
2097
|
*/
|
|
1589
|
-
async
|
|
1590
|
-
const url = this.parser.url("/backend/
|
|
1591
|
-
"
|
|
1592
|
-
"table_name": tableName
|
|
2098
|
+
async update(eventId, payload) {
|
|
2099
|
+
const url = this.parser.url("/backend/event/$event_id<[0-9]+|^~>", {
|
|
2100
|
+
"event_id": eventId
|
|
1593
2101
|
});
|
|
1594
2102
|
let request = {
|
|
1595
2103
|
url,
|
|
@@ -1608,21 +2116,23 @@ var BackendDatabaseTag = class extends import_sdkgen_client24.TagAbstract {
|
|
|
1608
2116
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1609
2117
|
throw new CommonMessageException(await response.json());
|
|
1610
2118
|
}
|
|
1611
|
-
throw new
|
|
2119
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1612
2120
|
}
|
|
1613
2121
|
};
|
|
1614
2122
|
|
|
1615
|
-
// src/
|
|
1616
|
-
var
|
|
1617
|
-
var
|
|
1618
|
-
var
|
|
2123
|
+
// src/BackendFirewallTag.ts
|
|
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 {
|
|
1619
2127
|
/**
|
|
2128
|
+
* Creates a new firewall rule
|
|
2129
|
+
*
|
|
1620
2130
|
* @returns {Promise<CommonMessage>}
|
|
1621
2131
|
* @throws {CommonMessageException}
|
|
1622
2132
|
* @throws {ClientException}
|
|
1623
2133
|
*/
|
|
1624
2134
|
async create(payload) {
|
|
1625
|
-
const url = this.parser.url("/backend/
|
|
2135
|
+
const url = this.parser.url("/backend/firewall", {});
|
|
1626
2136
|
let request = {
|
|
1627
2137
|
url,
|
|
1628
2138
|
method: "POST",
|
|
@@ -1640,16 +2150,18 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
|
|
|
1640
2150
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1641
2151
|
throw new CommonMessageException(await response.json());
|
|
1642
2152
|
}
|
|
1643
|
-
throw new
|
|
2153
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1644
2154
|
}
|
|
1645
2155
|
/**
|
|
2156
|
+
* Deletes an existing firewall rule
|
|
2157
|
+
*
|
|
1646
2158
|
* @returns {Promise<CommonMessage>}
|
|
1647
2159
|
* @throws {CommonMessageException}
|
|
1648
2160
|
* @throws {ClientException}
|
|
1649
2161
|
*/
|
|
1650
|
-
async delete(
|
|
1651
|
-
const url = this.parser.url("/backend/
|
|
1652
|
-
"
|
|
2162
|
+
async delete(firewallId) {
|
|
2163
|
+
const url = this.parser.url("/backend/firewall/$firewall_id<[0-9]+|^~>", {
|
|
2164
|
+
"firewall_id": firewallId
|
|
1653
2165
|
});
|
|
1654
2166
|
let request = {
|
|
1655
2167
|
url,
|
|
@@ -1665,16 +2177,18 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
|
|
|
1665
2177
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1666
2178
|
throw new CommonMessageException(await response.json());
|
|
1667
2179
|
}
|
|
1668
|
-
throw new
|
|
2180
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1669
2181
|
}
|
|
1670
2182
|
/**
|
|
1671
|
-
*
|
|
2183
|
+
* Returns a specific firewall rule
|
|
2184
|
+
*
|
|
2185
|
+
* @returns {Promise<BackendFirewall>}
|
|
1672
2186
|
* @throws {CommonMessageException}
|
|
1673
2187
|
* @throws {ClientException}
|
|
1674
2188
|
*/
|
|
1675
|
-
async get(
|
|
1676
|
-
const url = this.parser.url("/backend/
|
|
1677
|
-
"
|
|
2189
|
+
async get(firewallId) {
|
|
2190
|
+
const url = this.parser.url("/backend/firewall/$firewall_id<[0-9]+|^~>", {
|
|
2191
|
+
"firewall_id": firewallId
|
|
1678
2192
|
});
|
|
1679
2193
|
let request = {
|
|
1680
2194
|
url,
|
|
@@ -1690,15 +2204,17 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
|
|
|
1690
2204
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1691
2205
|
throw new CommonMessageException(await response.json());
|
|
1692
2206
|
}
|
|
1693
|
-
throw new
|
|
2207
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1694
2208
|
}
|
|
1695
2209
|
/**
|
|
1696
|
-
*
|
|
2210
|
+
* Returns a paginated list of firewall rules
|
|
2211
|
+
*
|
|
2212
|
+
* @returns {Promise<BackendFirewallCollection>}
|
|
1697
2213
|
* @throws {CommonMessageException}
|
|
1698
2214
|
* @throws {ClientException}
|
|
1699
2215
|
*/
|
|
1700
2216
|
async getAll(startIndex, count, search) {
|
|
1701
|
-
const url = this.parser.url("/backend/
|
|
2217
|
+
const url = this.parser.url("/backend/firewall", {});
|
|
1702
2218
|
let request = {
|
|
1703
2219
|
url,
|
|
1704
2220
|
method: "GET",
|
|
@@ -1717,16 +2233,18 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
|
|
|
1717
2233
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1718
2234
|
throw new CommonMessageException(await response.json());
|
|
1719
2235
|
}
|
|
1720
|
-
throw new
|
|
2236
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1721
2237
|
}
|
|
1722
2238
|
/**
|
|
2239
|
+
* Updates an existing firewall rule
|
|
2240
|
+
*
|
|
1723
2241
|
* @returns {Promise<CommonMessage>}
|
|
1724
2242
|
* @throws {CommonMessageException}
|
|
1725
2243
|
* @throws {ClientException}
|
|
1726
2244
|
*/
|
|
1727
|
-
async update(
|
|
1728
|
-
const url = this.parser.url("/backend/
|
|
1729
|
-
"
|
|
2245
|
+
async update(firewallId, payload) {
|
|
2246
|
+
const url = this.parser.url("/backend/firewall/$firewall_id<[0-9]+|^~>", {
|
|
2247
|
+
"firewall_id": firewallId
|
|
1730
2248
|
});
|
|
1731
2249
|
let request = {
|
|
1732
2250
|
url,
|
|
@@ -1745,15 +2263,17 @@ var BackendEventTag = class extends import_sdkgen_client26.TagAbstract {
|
|
|
1745
2263
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1746
2264
|
throw new CommonMessageException(await response.json());
|
|
1747
2265
|
}
|
|
1748
|
-
throw new
|
|
2266
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1749
2267
|
}
|
|
1750
2268
|
};
|
|
1751
2269
|
|
|
1752
2270
|
// src/BackendFormTag.ts
|
|
1753
|
-
var
|
|
1754
|
-
var
|
|
1755
|
-
var BackendFormTag = class extends
|
|
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 {
|
|
1756
2274
|
/**
|
|
2275
|
+
* Creates a new form
|
|
2276
|
+
*
|
|
1757
2277
|
* @returns {Promise<CommonMessage>}
|
|
1758
2278
|
* @throws {CommonMessageException}
|
|
1759
2279
|
* @throws {ClientException}
|
|
@@ -1777,9 +2297,11 @@ var BackendFormTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1777
2297
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1778
2298
|
throw new CommonMessageException(await response.json());
|
|
1779
2299
|
}
|
|
1780
|
-
throw new
|
|
2300
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1781
2301
|
}
|
|
1782
2302
|
/**
|
|
2303
|
+
* Deletes an existing form
|
|
2304
|
+
*
|
|
1783
2305
|
* @returns {Promise<CommonMessage>}
|
|
1784
2306
|
* @throws {CommonMessageException}
|
|
1785
2307
|
* @throws {ClientException}
|
|
@@ -1802,9 +2324,11 @@ var BackendFormTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1802
2324
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1803
2325
|
throw new CommonMessageException(await response.json());
|
|
1804
2326
|
}
|
|
1805
|
-
throw new
|
|
2327
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1806
2328
|
}
|
|
1807
2329
|
/**
|
|
2330
|
+
* Returns a specific form
|
|
2331
|
+
*
|
|
1808
2332
|
* @returns {Promise<BackendForm>}
|
|
1809
2333
|
* @throws {CommonMessageException}
|
|
1810
2334
|
* @throws {ClientException}
|
|
@@ -1827,9 +2351,11 @@ var BackendFormTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1827
2351
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1828
2352
|
throw new CommonMessageException(await response.json());
|
|
1829
2353
|
}
|
|
1830
|
-
throw new
|
|
2354
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1831
2355
|
}
|
|
1832
2356
|
/**
|
|
2357
|
+
* Returns a paginated list of forms
|
|
2358
|
+
*
|
|
1833
2359
|
* @returns {Promise<BackendFormCollection>}
|
|
1834
2360
|
* @throws {CommonMessageException}
|
|
1835
2361
|
* @throws {ClientException}
|
|
@@ -1854,9 +2380,11 @@ var BackendFormTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1854
2380
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1855
2381
|
throw new CommonMessageException(await response.json());
|
|
1856
2382
|
}
|
|
1857
|
-
throw new
|
|
2383
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1858
2384
|
}
|
|
1859
2385
|
/**
|
|
2386
|
+
* Updates an existing form
|
|
2387
|
+
*
|
|
1860
2388
|
* @returns {Promise<CommonMessage>}
|
|
1861
2389
|
* @throws {CommonMessageException}
|
|
1862
2390
|
* @throws {ClientException}
|
|
@@ -1882,15 +2410,17 @@ var BackendFormTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1882
2410
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1883
2411
|
throw new CommonMessageException(await response.json());
|
|
1884
2412
|
}
|
|
1885
|
-
throw new
|
|
2413
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1886
2414
|
}
|
|
1887
2415
|
};
|
|
1888
2416
|
|
|
1889
2417
|
// src/BackendGeneratorTag.ts
|
|
1890
|
-
var
|
|
1891
|
-
var
|
|
1892
|
-
var BackendGeneratorTag = class extends
|
|
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 {
|
|
1893
2421
|
/**
|
|
2422
|
+
* Executes a generator with the provided config
|
|
2423
|
+
*
|
|
1894
2424
|
* @returns {Promise<CommonMessage>}
|
|
1895
2425
|
* @throws {CommonMessageException}
|
|
1896
2426
|
* @throws {ClientException}
|
|
@@ -1916,9 +2446,11 @@ var BackendGeneratorTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1916
2446
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1917
2447
|
throw new CommonMessageException(await response.json());
|
|
1918
2448
|
}
|
|
1919
|
-
throw new
|
|
2449
|
+
throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1920
2450
|
}
|
|
1921
2451
|
/**
|
|
2452
|
+
* Generates a changelog of all potential changes if you execute this generator with the provided config
|
|
2453
|
+
*
|
|
1922
2454
|
* @returns {Promise<BackendGeneratorProviderChangelog>}
|
|
1923
2455
|
* @throws {CommonMessageException}
|
|
1924
2456
|
* @throws {ClientException}
|
|
@@ -1944,9 +2476,11 @@ var BackendGeneratorTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1944
2476
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1945
2477
|
throw new CommonMessageException(await response.json());
|
|
1946
2478
|
}
|
|
1947
|
-
throw new
|
|
2479
|
+
throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1948
2480
|
}
|
|
1949
2481
|
/**
|
|
2482
|
+
* Returns all available generator classes
|
|
2483
|
+
*
|
|
1950
2484
|
* @returns {Promise<BackendGeneratorIndexProviders>}
|
|
1951
2485
|
* @throws {CommonMessageException}
|
|
1952
2486
|
* @throws {ClientException}
|
|
@@ -1967,9 +2501,11 @@ var BackendGeneratorTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1967
2501
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1968
2502
|
throw new CommonMessageException(await response.json());
|
|
1969
2503
|
}
|
|
1970
|
-
throw new
|
|
2504
|
+
throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1971
2505
|
}
|
|
1972
2506
|
/**
|
|
2507
|
+
* Returns the generator config form
|
|
2508
|
+
*
|
|
1973
2509
|
* @returns {Promise<CommonFormContainer>}
|
|
1974
2510
|
* @throws {CommonMessageException}
|
|
1975
2511
|
* @throws {ClientException}
|
|
@@ -1992,15 +2528,17 @@ var BackendGeneratorTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1992
2528
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1993
2529
|
throw new CommonMessageException(await response.json());
|
|
1994
2530
|
}
|
|
1995
|
-
throw new
|
|
2531
|
+
throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1996
2532
|
}
|
|
1997
2533
|
};
|
|
1998
2534
|
|
|
1999
2535
|
// src/BackendIdentityTag.ts
|
|
2000
|
-
var
|
|
2001
|
-
var
|
|
2002
|
-
var BackendIdentityTag = class extends
|
|
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 {
|
|
2003
2539
|
/**
|
|
2540
|
+
* Creates a new identity
|
|
2541
|
+
*
|
|
2004
2542
|
* @returns {Promise<CommonMessage>}
|
|
2005
2543
|
* @throws {CommonMessageException}
|
|
2006
2544
|
* @throws {ClientException}
|
|
@@ -2024,9 +2562,11 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2024
2562
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2025
2563
|
throw new CommonMessageException(await response.json());
|
|
2026
2564
|
}
|
|
2027
|
-
throw new
|
|
2565
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2028
2566
|
}
|
|
2029
2567
|
/**
|
|
2568
|
+
* Deletes an existing identity
|
|
2569
|
+
*
|
|
2030
2570
|
* @returns {Promise<CommonMessage>}
|
|
2031
2571
|
* @throws {CommonMessageException}
|
|
2032
2572
|
* @throws {ClientException}
|
|
@@ -2049,9 +2589,11 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2049
2589
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2050
2590
|
throw new CommonMessageException(await response.json());
|
|
2051
2591
|
}
|
|
2052
|
-
throw new
|
|
2592
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2053
2593
|
}
|
|
2054
2594
|
/**
|
|
2595
|
+
* Returns a specific identity
|
|
2596
|
+
*
|
|
2055
2597
|
* @returns {Promise<BackendIdentity>}
|
|
2056
2598
|
* @throws {CommonMessageException}
|
|
2057
2599
|
* @throws {ClientException}
|
|
@@ -2074,9 +2616,11 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2074
2616
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2075
2617
|
throw new CommonMessageException(await response.json());
|
|
2076
2618
|
}
|
|
2077
|
-
throw new
|
|
2619
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2078
2620
|
}
|
|
2079
2621
|
/**
|
|
2622
|
+
* Returns a paginated list of identities
|
|
2623
|
+
*
|
|
2080
2624
|
* @returns {Promise<BackendIdentityCollection>}
|
|
2081
2625
|
* @throws {CommonMessageException}
|
|
2082
2626
|
* @throws {ClientException}
|
|
@@ -2101,9 +2645,11 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2101
2645
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2102
2646
|
throw new CommonMessageException(await response.json());
|
|
2103
2647
|
}
|
|
2104
|
-
throw new
|
|
2648
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2105
2649
|
}
|
|
2106
2650
|
/**
|
|
2651
|
+
* Returns all available identity classes
|
|
2652
|
+
*
|
|
2107
2653
|
* @returns {Promise<BackendIdentityIndex>}
|
|
2108
2654
|
* @throws {CommonMessageException}
|
|
2109
2655
|
* @throws {ClientException}
|
|
@@ -2124,9 +2670,11 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2124
2670
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2125
2671
|
throw new CommonMessageException(await response.json());
|
|
2126
2672
|
}
|
|
2127
|
-
throw new
|
|
2673
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2128
2674
|
}
|
|
2129
2675
|
/**
|
|
2676
|
+
* Returns the identity config form
|
|
2677
|
+
*
|
|
2130
2678
|
* @returns {Promise<CommonFormContainer>}
|
|
2131
2679
|
* @throws {CommonMessageException}
|
|
2132
2680
|
* @throws {ClientException}
|
|
@@ -2149,9 +2697,11 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2149
2697
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2150
2698
|
throw new CommonMessageException(await response.json());
|
|
2151
2699
|
}
|
|
2152
|
-
throw new
|
|
2700
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2153
2701
|
}
|
|
2154
2702
|
/**
|
|
2703
|
+
* Updates an existing identity
|
|
2704
|
+
*
|
|
2155
2705
|
* @returns {Promise<CommonMessage>}
|
|
2156
2706
|
* @throws {CommonMessageException}
|
|
2157
2707
|
* @throws {ClientException}
|
|
@@ -2177,15 +2727,17 @@ var BackendIdentityTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2177
2727
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2178
2728
|
throw new CommonMessageException(await response.json());
|
|
2179
2729
|
}
|
|
2180
|
-
throw new
|
|
2730
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2181
2731
|
}
|
|
2182
2732
|
};
|
|
2183
2733
|
|
|
2184
2734
|
// src/BackendLogTag.ts
|
|
2185
|
-
var
|
|
2186
|
-
var
|
|
2187
|
-
var BackendLogTag = class extends
|
|
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 {
|
|
2188
2738
|
/**
|
|
2739
|
+
* Returns a specific log
|
|
2740
|
+
*
|
|
2189
2741
|
* @returns {Promise<BackendLog>}
|
|
2190
2742
|
* @throws {CommonMessageException}
|
|
2191
2743
|
* @throws {ClientException}
|
|
@@ -2208,9 +2760,11 @@ var BackendLogTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2208
2760
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2209
2761
|
throw new CommonMessageException(await response.json());
|
|
2210
2762
|
}
|
|
2211
|
-
throw new
|
|
2763
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2212
2764
|
}
|
|
2213
2765
|
/**
|
|
2766
|
+
* Returns a paginated list of logs
|
|
2767
|
+
*
|
|
2214
2768
|
* @returns {Promise<BackendLogCollection>}
|
|
2215
2769
|
* @throws {CommonMessageException}
|
|
2216
2770
|
* @throws {ClientException}
|
|
@@ -2246,9 +2800,11 @@ var BackendLogTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2246
2800
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2247
2801
|
throw new CommonMessageException(await response.json());
|
|
2248
2802
|
}
|
|
2249
|
-
throw new
|
|
2803
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2250
2804
|
}
|
|
2251
2805
|
/**
|
|
2806
|
+
* Returns a paginated list of log errors
|
|
2807
|
+
*
|
|
2252
2808
|
* @returns {Promise<BackendLogErrorCollection>}
|
|
2253
2809
|
* @throws {CommonMessageException}
|
|
2254
2810
|
* @throws {ClientException}
|
|
@@ -2273,9 +2829,11 @@ var BackendLogTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2273
2829
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2274
2830
|
throw new CommonMessageException(await response.json());
|
|
2275
2831
|
}
|
|
2276
|
-
throw new
|
|
2832
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2277
2833
|
}
|
|
2278
2834
|
/**
|
|
2835
|
+
* Returns a specific error
|
|
2836
|
+
*
|
|
2279
2837
|
* @returns {Promise<BackendLogError>}
|
|
2280
2838
|
* @throws {CommonMessageException}
|
|
2281
2839
|
* @throws {ClientException}
|
|
@@ -2298,15 +2856,17 @@ var BackendLogTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2298
2856
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2299
2857
|
throw new CommonMessageException(await response.json());
|
|
2300
2858
|
}
|
|
2301
|
-
throw new
|
|
2859
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2302
2860
|
}
|
|
2303
2861
|
};
|
|
2304
2862
|
|
|
2305
2863
|
// src/BackendMarketplaceActionTag.ts
|
|
2306
|
-
var
|
|
2307
|
-
var
|
|
2308
|
-
var BackendMarketplaceActionTag = class extends
|
|
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 {
|
|
2309
2867
|
/**
|
|
2868
|
+
* Returns a specific marketplace action
|
|
2869
|
+
*
|
|
2310
2870
|
* @returns {Promise<MarketplaceAction>}
|
|
2311
2871
|
* @throws {CommonMessageException}
|
|
2312
2872
|
* @throws {ClientException}
|
|
@@ -2330,9 +2890,11 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client36.TagAbstra
|
|
|
2330
2890
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2331
2891
|
throw new CommonMessageException(await response.json());
|
|
2332
2892
|
}
|
|
2333
|
-
throw new
|
|
2893
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2334
2894
|
}
|
|
2335
2895
|
/**
|
|
2896
|
+
* Returns a paginated list of marketplace actions
|
|
2897
|
+
*
|
|
2336
2898
|
* @returns {Promise<MarketplaceActionCollection>}
|
|
2337
2899
|
* @throws {CommonMessageException}
|
|
2338
2900
|
* @throws {ClientException}
|
|
@@ -2356,9 +2918,11 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client36.TagAbstra
|
|
|
2356
2918
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2357
2919
|
throw new CommonMessageException(await response.json());
|
|
2358
2920
|
}
|
|
2359
|
-
throw new
|
|
2921
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2360
2922
|
}
|
|
2361
2923
|
/**
|
|
2924
|
+
* Installs an action from the marketplace
|
|
2925
|
+
*
|
|
2362
2926
|
* @returns {Promise<MarketplaceMessage>}
|
|
2363
2927
|
* @throws {CommonMessageException}
|
|
2364
2928
|
* @throws {ClientException}
|
|
@@ -2382,9 +2946,11 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client36.TagAbstra
|
|
|
2382
2946
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2383
2947
|
throw new CommonMessageException(await response.json());
|
|
2384
2948
|
}
|
|
2385
|
-
throw new
|
|
2949
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2386
2950
|
}
|
|
2387
2951
|
/**
|
|
2952
|
+
* Upgrades an action from the marketplace
|
|
2953
|
+
*
|
|
2388
2954
|
* @returns {Promise<CommonMessage>}
|
|
2389
2955
|
* @throws {CommonMessageException}
|
|
2390
2956
|
* @throws {ClientException}
|
|
@@ -2408,15 +2974,17 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client36.TagAbstra
|
|
|
2408
2974
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2409
2975
|
throw new CommonMessageException(await response.json());
|
|
2410
2976
|
}
|
|
2411
|
-
throw new
|
|
2977
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2412
2978
|
}
|
|
2413
2979
|
};
|
|
2414
2980
|
|
|
2415
2981
|
// src/BackendMarketplaceAppTag.ts
|
|
2416
|
-
var
|
|
2417
|
-
var
|
|
2418
|
-
var BackendMarketplaceAppTag = class extends
|
|
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 {
|
|
2419
2985
|
/**
|
|
2986
|
+
* Returns a specific marketplace app
|
|
2987
|
+
*
|
|
2420
2988
|
* @returns {Promise<MarketplaceApp>}
|
|
2421
2989
|
* @throws {CommonMessageException}
|
|
2422
2990
|
* @throws {ClientException}
|
|
@@ -2440,9 +3008,11 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client38.TagAbstract
|
|
|
2440
3008
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2441
3009
|
throw new CommonMessageException(await response.json());
|
|
2442
3010
|
}
|
|
2443
|
-
throw new
|
|
3011
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2444
3012
|
}
|
|
2445
3013
|
/**
|
|
3014
|
+
* Returns a paginated list of marketplace apps
|
|
3015
|
+
*
|
|
2446
3016
|
* @returns {Promise<MarketplaceAppCollection>}
|
|
2447
3017
|
* @throws {CommonMessageException}
|
|
2448
3018
|
* @throws {ClientException}
|
|
@@ -2466,9 +3036,11 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client38.TagAbstract
|
|
|
2466
3036
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2467
3037
|
throw new CommonMessageException(await response.json());
|
|
2468
3038
|
}
|
|
2469
|
-
throw new
|
|
3039
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2470
3040
|
}
|
|
2471
3041
|
/**
|
|
3042
|
+
* Installs an app from the marketplace
|
|
3043
|
+
*
|
|
2472
3044
|
* @returns {Promise<MarketplaceMessage>}
|
|
2473
3045
|
* @throws {CommonMessageException}
|
|
2474
3046
|
* @throws {ClientException}
|
|
@@ -2492,9 +3064,11 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client38.TagAbstract
|
|
|
2492
3064
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2493
3065
|
throw new CommonMessageException(await response.json());
|
|
2494
3066
|
}
|
|
2495
|
-
throw new
|
|
3067
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2496
3068
|
}
|
|
2497
3069
|
/**
|
|
3070
|
+
* Upgrades an app from the marketplace
|
|
3071
|
+
*
|
|
2498
3072
|
* @returns {Promise<MarketplaceMessage>}
|
|
2499
3073
|
* @throws {CommonMessageException}
|
|
2500
3074
|
* @throws {ClientException}
|
|
@@ -2518,13 +3092,13 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client38.TagAbstract
|
|
|
2518
3092
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2519
3093
|
throw new CommonMessageException(await response.json());
|
|
2520
3094
|
}
|
|
2521
|
-
throw new
|
|
3095
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2522
3096
|
}
|
|
2523
3097
|
};
|
|
2524
3098
|
|
|
2525
3099
|
// src/BackendMarketplaceTag.ts
|
|
2526
|
-
var
|
|
2527
|
-
var BackendMarketplaceTag = class extends
|
|
3100
|
+
var import_sdkgen_client48 = require("sdkgen-client");
|
|
3101
|
+
var BackendMarketplaceTag = class extends import_sdkgen_client48.TagAbstract {
|
|
2528
3102
|
action() {
|
|
2529
3103
|
return new BackendMarketplaceActionTag(
|
|
2530
3104
|
this.httpClient,
|
|
@@ -2540,10 +3114,12 @@ var BackendMarketplaceTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2540
3114
|
};
|
|
2541
3115
|
|
|
2542
3116
|
// src/BackendOperationTag.ts
|
|
2543
|
-
var
|
|
2544
|
-
var
|
|
2545
|
-
var BackendOperationTag = class extends
|
|
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 {
|
|
2546
3120
|
/**
|
|
3121
|
+
* Creates a new operation
|
|
3122
|
+
*
|
|
2547
3123
|
* @returns {Promise<CommonMessage>}
|
|
2548
3124
|
* @throws {CommonMessageException}
|
|
2549
3125
|
* @throws {ClientException}
|
|
@@ -2567,9 +3143,11 @@ var BackendOperationTag = class extends import_sdkgen_client41.TagAbstract {
|
|
|
2567
3143
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2568
3144
|
throw new CommonMessageException(await response.json());
|
|
2569
3145
|
}
|
|
2570
|
-
throw new
|
|
3146
|
+
throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2571
3147
|
}
|
|
2572
3148
|
/**
|
|
3149
|
+
* Deletes an existing operation
|
|
3150
|
+
*
|
|
2573
3151
|
* @returns {Promise<CommonMessage>}
|
|
2574
3152
|
* @throws {CommonMessageException}
|
|
2575
3153
|
* @throws {ClientException}
|
|
@@ -2592,9 +3170,11 @@ var BackendOperationTag = class extends import_sdkgen_client41.TagAbstract {
|
|
|
2592
3170
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2593
3171
|
throw new CommonMessageException(await response.json());
|
|
2594
3172
|
}
|
|
2595
|
-
throw new
|
|
3173
|
+
throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2596
3174
|
}
|
|
2597
3175
|
/**
|
|
3176
|
+
* Returns a specific operation
|
|
3177
|
+
*
|
|
2598
3178
|
* @returns {Promise<BackendOperation>}
|
|
2599
3179
|
* @throws {CommonMessageException}
|
|
2600
3180
|
* @throws {ClientException}
|
|
@@ -2617,9 +3197,11 @@ var BackendOperationTag = class extends import_sdkgen_client41.TagAbstract {
|
|
|
2617
3197
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2618
3198
|
throw new CommonMessageException(await response.json());
|
|
2619
3199
|
}
|
|
2620
|
-
throw new
|
|
3200
|
+
throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2621
3201
|
}
|
|
2622
3202
|
/**
|
|
3203
|
+
* Returns a paginated list of operations
|
|
3204
|
+
*
|
|
2623
3205
|
* @returns {Promise<BackendOperationCollection>}
|
|
2624
3206
|
* @throws {CommonMessageException}
|
|
2625
3207
|
* @throws {ClientException}
|
|
@@ -2644,9 +3226,11 @@ var BackendOperationTag = class extends import_sdkgen_client41.TagAbstract {
|
|
|
2644
3226
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2645
3227
|
throw new CommonMessageException(await response.json());
|
|
2646
3228
|
}
|
|
2647
|
-
throw new
|
|
3229
|
+
throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2648
3230
|
}
|
|
2649
3231
|
/**
|
|
3232
|
+
* Updates an existing operation
|
|
3233
|
+
*
|
|
2650
3234
|
* @returns {Promise<CommonMessage>}
|
|
2651
3235
|
* @throws {CommonMessageException}
|
|
2652
3236
|
* @throws {ClientException}
|
|
@@ -2672,15 +3256,17 @@ var BackendOperationTag = class extends import_sdkgen_client41.TagAbstract {
|
|
|
2672
3256
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2673
3257
|
throw new CommonMessageException(await response.json());
|
|
2674
3258
|
}
|
|
2675
|
-
throw new
|
|
3259
|
+
throw new import_sdkgen_client50.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2676
3260
|
}
|
|
2677
3261
|
};
|
|
2678
3262
|
|
|
2679
3263
|
// src/BackendPageTag.ts
|
|
2680
|
-
var
|
|
2681
|
-
var
|
|
2682
|
-
var BackendPageTag = class extends
|
|
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 {
|
|
2683
3267
|
/**
|
|
3268
|
+
* Creates a new page
|
|
3269
|
+
*
|
|
2684
3270
|
* @returns {Promise<CommonMessage>}
|
|
2685
3271
|
* @throws {CommonMessageException}
|
|
2686
3272
|
* @throws {ClientException}
|
|
@@ -2704,9 +3290,11 @@ var BackendPageTag = class extends import_sdkgen_client43.TagAbstract {
|
|
|
2704
3290
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2705
3291
|
throw new CommonMessageException(await response.json());
|
|
2706
3292
|
}
|
|
2707
|
-
throw new
|
|
3293
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2708
3294
|
}
|
|
2709
3295
|
/**
|
|
3296
|
+
* Deletes an existing page
|
|
3297
|
+
*
|
|
2710
3298
|
* @returns {Promise<CommonMessage>}
|
|
2711
3299
|
* @throws {CommonMessageException}
|
|
2712
3300
|
* @throws {ClientException}
|
|
@@ -2729,9 +3317,11 @@ var BackendPageTag = class extends import_sdkgen_client43.TagAbstract {
|
|
|
2729
3317
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2730
3318
|
throw new CommonMessageException(await response.json());
|
|
2731
3319
|
}
|
|
2732
|
-
throw new
|
|
3320
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2733
3321
|
}
|
|
2734
3322
|
/**
|
|
3323
|
+
* Returns a specific page
|
|
3324
|
+
*
|
|
2735
3325
|
* @returns {Promise<BackendPage>}
|
|
2736
3326
|
* @throws {CommonMessageException}
|
|
2737
3327
|
* @throws {ClientException}
|
|
@@ -2754,9 +3344,11 @@ var BackendPageTag = class extends import_sdkgen_client43.TagAbstract {
|
|
|
2754
3344
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2755
3345
|
throw new CommonMessageException(await response.json());
|
|
2756
3346
|
}
|
|
2757
|
-
throw new
|
|
3347
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2758
3348
|
}
|
|
2759
3349
|
/**
|
|
3350
|
+
* Returns a paginated list of pages
|
|
3351
|
+
*
|
|
2760
3352
|
* @returns {Promise<BackendPageCollection>}
|
|
2761
3353
|
* @throws {CommonMessageException}
|
|
2762
3354
|
* @throws {ClientException}
|
|
@@ -2781,9 +3373,11 @@ var BackendPageTag = class extends import_sdkgen_client43.TagAbstract {
|
|
|
2781
3373
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2782
3374
|
throw new CommonMessageException(await response.json());
|
|
2783
3375
|
}
|
|
2784
|
-
throw new
|
|
3376
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2785
3377
|
}
|
|
2786
3378
|
/**
|
|
3379
|
+
* Updates an existing page
|
|
3380
|
+
*
|
|
2787
3381
|
* @returns {Promise<CommonMessage>}
|
|
2788
3382
|
* @throws {CommonMessageException}
|
|
2789
3383
|
* @throws {ClientException}
|
|
@@ -2809,15 +3403,17 @@ var BackendPageTag = class extends import_sdkgen_client43.TagAbstract {
|
|
|
2809
3403
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2810
3404
|
throw new CommonMessageException(await response.json());
|
|
2811
3405
|
}
|
|
2812
|
-
throw new
|
|
3406
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2813
3407
|
}
|
|
2814
3408
|
};
|
|
2815
3409
|
|
|
2816
3410
|
// src/BackendPlanTag.ts
|
|
2817
|
-
var
|
|
2818
|
-
var
|
|
2819
|
-
var BackendPlanTag = class extends
|
|
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 {
|
|
2820
3414
|
/**
|
|
3415
|
+
* Creates a new plan
|
|
3416
|
+
*
|
|
2821
3417
|
* @returns {Promise<CommonMessage>}
|
|
2822
3418
|
* @throws {CommonMessageException}
|
|
2823
3419
|
* @throws {ClientException}
|
|
@@ -2841,9 +3437,11 @@ var BackendPlanTag = class extends import_sdkgen_client45.TagAbstract {
|
|
|
2841
3437
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2842
3438
|
throw new CommonMessageException(await response.json());
|
|
2843
3439
|
}
|
|
2844
|
-
throw new
|
|
3440
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2845
3441
|
}
|
|
2846
3442
|
/**
|
|
3443
|
+
* Deletes an existing plan
|
|
3444
|
+
*
|
|
2847
3445
|
* @returns {Promise<CommonMessage>}
|
|
2848
3446
|
* @throws {CommonMessageException}
|
|
2849
3447
|
* @throws {ClientException}
|
|
@@ -2866,9 +3464,11 @@ var BackendPlanTag = class extends import_sdkgen_client45.TagAbstract {
|
|
|
2866
3464
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2867
3465
|
throw new CommonMessageException(await response.json());
|
|
2868
3466
|
}
|
|
2869
|
-
throw new
|
|
3467
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2870
3468
|
}
|
|
2871
3469
|
/**
|
|
3470
|
+
* Returns a specific plan
|
|
3471
|
+
*
|
|
2872
3472
|
* @returns {Promise<BackendPlan>}
|
|
2873
3473
|
* @throws {CommonMessageException}
|
|
2874
3474
|
* @throws {ClientException}
|
|
@@ -2891,9 +3491,11 @@ var BackendPlanTag = class extends import_sdkgen_client45.TagAbstract {
|
|
|
2891
3491
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2892
3492
|
throw new CommonMessageException(await response.json());
|
|
2893
3493
|
}
|
|
2894
|
-
throw new
|
|
3494
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2895
3495
|
}
|
|
2896
3496
|
/**
|
|
3497
|
+
* Returns a paginated list of plans
|
|
3498
|
+
*
|
|
2897
3499
|
* @returns {Promise<BackendPlanCollection>}
|
|
2898
3500
|
* @throws {CommonMessageException}
|
|
2899
3501
|
* @throws {ClientException}
|
|
@@ -2918,9 +3520,11 @@ var BackendPlanTag = class extends import_sdkgen_client45.TagAbstract {
|
|
|
2918
3520
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2919
3521
|
throw new CommonMessageException(await response.json());
|
|
2920
3522
|
}
|
|
2921
|
-
throw new
|
|
3523
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2922
3524
|
}
|
|
2923
3525
|
/**
|
|
3526
|
+
* Updates an existing plan
|
|
3527
|
+
*
|
|
2924
3528
|
* @returns {Promise<CommonMessage>}
|
|
2925
3529
|
* @throws {CommonMessageException}
|
|
2926
3530
|
* @throws {ClientException}
|
|
@@ -2946,15 +3550,17 @@ var BackendPlanTag = class extends import_sdkgen_client45.TagAbstract {
|
|
|
2946
3550
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2947
3551
|
throw new CommonMessageException(await response.json());
|
|
2948
3552
|
}
|
|
2949
|
-
throw new
|
|
3553
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2950
3554
|
}
|
|
2951
3555
|
};
|
|
2952
3556
|
|
|
2953
3557
|
// src/BackendRateTag.ts
|
|
2954
|
-
var
|
|
2955
|
-
var
|
|
2956
|
-
var BackendRateTag = class extends
|
|
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 {
|
|
2957
3561
|
/**
|
|
3562
|
+
* Creates a new rate limitation
|
|
3563
|
+
*
|
|
2958
3564
|
* @returns {Promise<CommonMessage>}
|
|
2959
3565
|
* @throws {CommonMessageException}
|
|
2960
3566
|
* @throws {ClientException}
|
|
@@ -2978,9 +3584,11 @@ var BackendRateTag = class extends import_sdkgen_client47.TagAbstract {
|
|
|
2978
3584
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2979
3585
|
throw new CommonMessageException(await response.json());
|
|
2980
3586
|
}
|
|
2981
|
-
throw new
|
|
3587
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2982
3588
|
}
|
|
2983
3589
|
/**
|
|
3590
|
+
* Deletes an existing rate
|
|
3591
|
+
*
|
|
2984
3592
|
* @returns {Promise<CommonMessage>}
|
|
2985
3593
|
* @throws {CommonMessageException}
|
|
2986
3594
|
* @throws {ClientException}
|
|
@@ -3003,9 +3611,11 @@ var BackendRateTag = class extends import_sdkgen_client47.TagAbstract {
|
|
|
3003
3611
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3004
3612
|
throw new CommonMessageException(await response.json());
|
|
3005
3613
|
}
|
|
3006
|
-
throw new
|
|
3614
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3007
3615
|
}
|
|
3008
3616
|
/**
|
|
3617
|
+
* Returns a specific rate
|
|
3618
|
+
*
|
|
3009
3619
|
* @returns {Promise<BackendRate>}
|
|
3010
3620
|
* @throws {CommonMessageException}
|
|
3011
3621
|
* @throws {ClientException}
|
|
@@ -3028,9 +3638,11 @@ var BackendRateTag = class extends import_sdkgen_client47.TagAbstract {
|
|
|
3028
3638
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3029
3639
|
throw new CommonMessageException(await response.json());
|
|
3030
3640
|
}
|
|
3031
|
-
throw new
|
|
3641
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3032
3642
|
}
|
|
3033
3643
|
/**
|
|
3644
|
+
* Returns a paginated list of rate limitations
|
|
3645
|
+
*
|
|
3034
3646
|
* @returns {Promise<BackendRateCollection>}
|
|
3035
3647
|
* @throws {CommonMessageException}
|
|
3036
3648
|
* @throws {ClientException}
|
|
@@ -3055,9 +3667,11 @@ var BackendRateTag = class extends import_sdkgen_client47.TagAbstract {
|
|
|
3055
3667
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3056
3668
|
throw new CommonMessageException(await response.json());
|
|
3057
3669
|
}
|
|
3058
|
-
throw new
|
|
3670
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3059
3671
|
}
|
|
3060
3672
|
/**
|
|
3673
|
+
* Updates an existing rate
|
|
3674
|
+
*
|
|
3061
3675
|
* @returns {Promise<CommonMessage>}
|
|
3062
3676
|
* @throws {CommonMessageException}
|
|
3063
3677
|
* @throws {ClientException}
|
|
@@ -3083,15 +3697,17 @@ var BackendRateTag = class extends import_sdkgen_client47.TagAbstract {
|
|
|
3083
3697
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3084
3698
|
throw new CommonMessageException(await response.json());
|
|
3085
3699
|
}
|
|
3086
|
-
throw new
|
|
3700
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3087
3701
|
}
|
|
3088
3702
|
};
|
|
3089
3703
|
|
|
3090
3704
|
// src/BackendRoleTag.ts
|
|
3091
|
-
var
|
|
3092
|
-
var
|
|
3093
|
-
var BackendRoleTag = class extends
|
|
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 {
|
|
3094
3708
|
/**
|
|
3709
|
+
* Creates a new role
|
|
3710
|
+
*
|
|
3095
3711
|
* @returns {Promise<CommonMessage>}
|
|
3096
3712
|
* @throws {CommonMessageException}
|
|
3097
3713
|
* @throws {ClientException}
|
|
@@ -3115,9 +3731,11 @@ var BackendRoleTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3115
3731
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3116
3732
|
throw new CommonMessageException(await response.json());
|
|
3117
3733
|
}
|
|
3118
|
-
throw new
|
|
3734
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3119
3735
|
}
|
|
3120
3736
|
/**
|
|
3737
|
+
* Deletes an existing role
|
|
3738
|
+
*
|
|
3121
3739
|
* @returns {Promise<CommonMessage>}
|
|
3122
3740
|
* @throws {CommonMessageException}
|
|
3123
3741
|
* @throws {ClientException}
|
|
@@ -3140,9 +3758,11 @@ var BackendRoleTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3140
3758
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3141
3759
|
throw new CommonMessageException(await response.json());
|
|
3142
3760
|
}
|
|
3143
|
-
throw new
|
|
3761
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3144
3762
|
}
|
|
3145
3763
|
/**
|
|
3764
|
+
* Returns a specific role
|
|
3765
|
+
*
|
|
3146
3766
|
* @returns {Promise<BackendRole>}
|
|
3147
3767
|
* @throws {CommonMessageException}
|
|
3148
3768
|
* @throws {ClientException}
|
|
@@ -3165,9 +3785,11 @@ var BackendRoleTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3165
3785
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3166
3786
|
throw new CommonMessageException(await response.json());
|
|
3167
3787
|
}
|
|
3168
|
-
throw new
|
|
3788
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3169
3789
|
}
|
|
3170
3790
|
/**
|
|
3791
|
+
* Returns a paginated list of roles
|
|
3792
|
+
*
|
|
3171
3793
|
* @returns {Promise<BackendRoleCollection>}
|
|
3172
3794
|
* @throws {CommonMessageException}
|
|
3173
3795
|
* @throws {ClientException}
|
|
@@ -3192,9 +3814,11 @@ var BackendRoleTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3192
3814
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3193
3815
|
throw new CommonMessageException(await response.json());
|
|
3194
3816
|
}
|
|
3195
|
-
throw new
|
|
3817
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3196
3818
|
}
|
|
3197
3819
|
/**
|
|
3820
|
+
* Updates an existing role
|
|
3821
|
+
*
|
|
3198
3822
|
* @returns {Promise<CommonMessage>}
|
|
3199
3823
|
* @throws {CommonMessageException}
|
|
3200
3824
|
* @throws {ClientException}
|
|
@@ -3220,15 +3844,17 @@ var BackendRoleTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3220
3844
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3221
3845
|
throw new CommonMessageException(await response.json());
|
|
3222
3846
|
}
|
|
3223
|
-
throw new
|
|
3847
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3224
3848
|
}
|
|
3225
3849
|
};
|
|
3226
3850
|
|
|
3227
3851
|
// src/BackendSchemaTag.ts
|
|
3228
|
-
var
|
|
3229
|
-
var
|
|
3230
|
-
var BackendSchemaTag = class extends
|
|
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 {
|
|
3231
3855
|
/**
|
|
3856
|
+
* Creates a new schema
|
|
3857
|
+
*
|
|
3232
3858
|
* @returns {Promise<CommonMessage>}
|
|
3233
3859
|
* @throws {CommonMessageException}
|
|
3234
3860
|
* @throws {ClientException}
|
|
@@ -3252,9 +3878,11 @@ var BackendSchemaTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3252
3878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3253
3879
|
throw new CommonMessageException(await response.json());
|
|
3254
3880
|
}
|
|
3255
|
-
throw new
|
|
3881
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3256
3882
|
}
|
|
3257
3883
|
/**
|
|
3884
|
+
* Deletes an existing schema
|
|
3885
|
+
*
|
|
3258
3886
|
* @returns {Promise<CommonMessage>}
|
|
3259
3887
|
* @throws {CommonMessageException}
|
|
3260
3888
|
* @throws {ClientException}
|
|
@@ -3277,9 +3905,11 @@ var BackendSchemaTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3277
3905
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3278
3906
|
throw new CommonMessageException(await response.json());
|
|
3279
3907
|
}
|
|
3280
|
-
throw new
|
|
3908
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3281
3909
|
}
|
|
3282
3910
|
/**
|
|
3911
|
+
* Returns a specific schema
|
|
3912
|
+
*
|
|
3283
3913
|
* @returns {Promise<BackendSchema>}
|
|
3284
3914
|
* @throws {CommonMessageException}
|
|
3285
3915
|
* @throws {ClientException}
|
|
@@ -3302,9 +3932,11 @@ var BackendSchemaTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3302
3932
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3303
3933
|
throw new CommonMessageException(await response.json());
|
|
3304
3934
|
}
|
|
3305
|
-
throw new
|
|
3935
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3306
3936
|
}
|
|
3307
3937
|
/**
|
|
3938
|
+
* Returns a paginated list of schemas
|
|
3939
|
+
*
|
|
3308
3940
|
* @returns {Promise<BackendSchemaCollection>}
|
|
3309
3941
|
* @throws {CommonMessageException}
|
|
3310
3942
|
* @throws {ClientException}
|
|
@@ -3329,9 +3961,11 @@ var BackendSchemaTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3329
3961
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3330
3962
|
throw new CommonMessageException(await response.json());
|
|
3331
3963
|
}
|
|
3332
|
-
throw new
|
|
3964
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3333
3965
|
}
|
|
3334
3966
|
/**
|
|
3967
|
+
* Returns a HTML preview of the provided schema
|
|
3968
|
+
*
|
|
3335
3969
|
* @returns {Promise<BackendSchemaPreviewResponse>}
|
|
3336
3970
|
* @throws {CommonMessageException}
|
|
3337
3971
|
* @throws {ClientException}
|
|
@@ -3354,9 +3988,11 @@ var BackendSchemaTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3354
3988
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3355
3989
|
throw new CommonMessageException(await response.json());
|
|
3356
3990
|
}
|
|
3357
|
-
throw new
|
|
3991
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3358
3992
|
}
|
|
3359
3993
|
/**
|
|
3994
|
+
* Updates an existing schema
|
|
3995
|
+
*
|
|
3360
3996
|
* @returns {Promise<CommonMessage>}
|
|
3361
3997
|
* @throws {CommonMessageException}
|
|
3362
3998
|
* @throws {ClientException}
|
|
@@ -3382,43 +4018,17 @@ var BackendSchemaTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3382
4018
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3383
4019
|
throw new CommonMessageException(await response.json());
|
|
3384
4020
|
}
|
|
3385
|
-
throw new
|
|
3386
|
-
}
|
|
3387
|
-
/**
|
|
3388
|
-
* @returns {Promise<CommonMessage>}
|
|
3389
|
-
* @throws {CommonMessageException}
|
|
3390
|
-
* @throws {ClientException}
|
|
3391
|
-
*/
|
|
3392
|
-
async updateForm(schemaId, payload) {
|
|
3393
|
-
const url = this.parser.url("/backend/schema/form/$schema_id<[0-9]+>", {
|
|
3394
|
-
"schema_id": schemaId
|
|
3395
|
-
});
|
|
3396
|
-
let request = {
|
|
3397
|
-
url,
|
|
3398
|
-
method: "PUT",
|
|
3399
|
-
headers: {
|
|
3400
|
-
"Content-Type": "application/json"
|
|
3401
|
-
},
|
|
3402
|
-
params: this.parser.query({}, []),
|
|
3403
|
-
data: payload
|
|
3404
|
-
};
|
|
3405
|
-
const response = await this.httpClient.request(request);
|
|
3406
|
-
if (response.ok) {
|
|
3407
|
-
return await response.json();
|
|
3408
|
-
}
|
|
3409
|
-
const statusCode = response.status;
|
|
3410
|
-
if (statusCode >= 0 && statusCode <= 999) {
|
|
3411
|
-
throw new CommonMessageException(await response.json());
|
|
3412
|
-
}
|
|
3413
|
-
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4021
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3414
4022
|
}
|
|
3415
4023
|
};
|
|
3416
4024
|
|
|
3417
4025
|
// src/BackendScopeTag.ts
|
|
3418
|
-
var
|
|
3419
|
-
var
|
|
3420
|
-
var BackendScopeTag = class extends
|
|
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 {
|
|
3421
4029
|
/**
|
|
4030
|
+
* Creates a new scope
|
|
4031
|
+
*
|
|
3422
4032
|
* @returns {Promise<CommonMessage>}
|
|
3423
4033
|
* @throws {CommonMessageException}
|
|
3424
4034
|
* @throws {ClientException}
|
|
@@ -3442,9 +4052,11 @@ var BackendScopeTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3442
4052
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3443
4053
|
throw new CommonMessageException(await response.json());
|
|
3444
4054
|
}
|
|
3445
|
-
throw new
|
|
4055
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3446
4056
|
}
|
|
3447
4057
|
/**
|
|
4058
|
+
* Deletes an existing scope
|
|
4059
|
+
*
|
|
3448
4060
|
* @returns {Promise<CommonMessage>}
|
|
3449
4061
|
* @throws {CommonMessageException}
|
|
3450
4062
|
* @throws {ClientException}
|
|
@@ -3467,9 +4079,11 @@ var BackendScopeTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3467
4079
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3468
4080
|
throw new CommonMessageException(await response.json());
|
|
3469
4081
|
}
|
|
3470
|
-
throw new
|
|
4082
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3471
4083
|
}
|
|
3472
4084
|
/**
|
|
4085
|
+
* Returns a specific scope
|
|
4086
|
+
*
|
|
3473
4087
|
* @returns {Promise<BackendScope>}
|
|
3474
4088
|
* @throws {CommonMessageException}
|
|
3475
4089
|
* @throws {ClientException}
|
|
@@ -3492,9 +4106,11 @@ var BackendScopeTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3492
4106
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3493
4107
|
throw new CommonMessageException(await response.json());
|
|
3494
4108
|
}
|
|
3495
|
-
throw new
|
|
4109
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3496
4110
|
}
|
|
3497
4111
|
/**
|
|
4112
|
+
* Returns a paginated list of scopes
|
|
4113
|
+
*
|
|
3498
4114
|
* @returns {Promise<BackendScopeCollection>}
|
|
3499
4115
|
* @throws {CommonMessageException}
|
|
3500
4116
|
* @throws {ClientException}
|
|
@@ -3519,9 +4135,11 @@ var BackendScopeTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3519
4135
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3520
4136
|
throw new CommonMessageException(await response.json());
|
|
3521
4137
|
}
|
|
3522
|
-
throw new
|
|
4138
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3523
4139
|
}
|
|
3524
4140
|
/**
|
|
4141
|
+
* Returns all available scopes grouped by category
|
|
4142
|
+
*
|
|
3525
4143
|
* @returns {Promise<BackendScopeCategories>}
|
|
3526
4144
|
* @throws {CommonMessageException}
|
|
3527
4145
|
* @throws {ClientException}
|
|
@@ -3542,9 +4160,11 @@ var BackendScopeTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3542
4160
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3543
4161
|
throw new CommonMessageException(await response.json());
|
|
3544
4162
|
}
|
|
3545
|
-
throw new
|
|
4163
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3546
4164
|
}
|
|
3547
4165
|
/**
|
|
4166
|
+
* Updates an existing scope
|
|
4167
|
+
*
|
|
3548
4168
|
* @returns {Promise<CommonMessage>}
|
|
3549
4169
|
* @throws {CommonMessageException}
|
|
3550
4170
|
* @throws {ClientException}
|
|
@@ -3570,15 +4190,17 @@ var BackendScopeTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3570
4190
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3571
4191
|
throw new CommonMessageException(await response.json());
|
|
3572
4192
|
}
|
|
3573
|
-
throw new
|
|
4193
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3574
4194
|
}
|
|
3575
4195
|
};
|
|
3576
4196
|
|
|
3577
4197
|
// src/BackendSdkTag.ts
|
|
3578
|
-
var
|
|
3579
|
-
var
|
|
3580
|
-
var BackendSdkTag = class extends
|
|
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 {
|
|
3581
4201
|
/**
|
|
4202
|
+
* Generates a specific SDK
|
|
4203
|
+
*
|
|
3582
4204
|
* @returns {Promise<BackendSdkMessage>}
|
|
3583
4205
|
* @throws {CommonMessageException}
|
|
3584
4206
|
* @throws {ClientException}
|
|
@@ -3602,9 +4224,11 @@ var BackendSdkTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3602
4224
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3603
4225
|
throw new CommonMessageException(await response.json());
|
|
3604
4226
|
}
|
|
3605
|
-
throw new
|
|
4227
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3606
4228
|
}
|
|
3607
4229
|
/**
|
|
4230
|
+
* Returns a paginated list of SDKs
|
|
4231
|
+
*
|
|
3608
4232
|
* @returns {Promise<BackendSdkResponse>}
|
|
3609
4233
|
* @throws {CommonMessageException}
|
|
3610
4234
|
* @throws {ClientException}
|
|
@@ -3625,15 +4249,17 @@ var BackendSdkTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3625
4249
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3626
4250
|
throw new CommonMessageException(await response.json());
|
|
3627
4251
|
}
|
|
3628
|
-
throw new
|
|
4252
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3629
4253
|
}
|
|
3630
4254
|
};
|
|
3631
4255
|
|
|
3632
4256
|
// src/BackendStatisticTag.ts
|
|
3633
|
-
var
|
|
3634
|
-
var
|
|
3635
|
-
var BackendStatisticTag = class extends
|
|
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 {
|
|
3636
4260
|
/**
|
|
4261
|
+
* Returns a statistic containing the activities per user
|
|
4262
|
+
*
|
|
3637
4263
|
* @returns {Promise<BackendStatisticChart>}
|
|
3638
4264
|
* @throws {CommonMessageException}
|
|
3639
4265
|
* @throws {ClientException}
|
|
@@ -3669,9 +4295,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3669
4295
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3670
4296
|
throw new CommonMessageException(await response.json());
|
|
3671
4297
|
}
|
|
3672
|
-
throw new
|
|
4298
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3673
4299
|
}
|
|
3674
4300
|
/**
|
|
4301
|
+
* Returns a statistic containing the request count
|
|
4302
|
+
*
|
|
3675
4303
|
* @returns {Promise<BackendStatisticCount>}
|
|
3676
4304
|
* @throws {CommonMessageException}
|
|
3677
4305
|
* @throws {ClientException}
|
|
@@ -3707,9 +4335,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3707
4335
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3708
4336
|
throw new CommonMessageException(await response.json());
|
|
3709
4337
|
}
|
|
3710
|
-
throw new
|
|
4338
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3711
4339
|
}
|
|
3712
4340
|
/**
|
|
4341
|
+
* Returns a statistic containing the errors per operation
|
|
4342
|
+
*
|
|
3713
4343
|
* @returns {Promise<BackendStatisticChart>}
|
|
3714
4344
|
* @throws {CommonMessageException}
|
|
3715
4345
|
* @throws {ClientException}
|
|
@@ -3745,9 +4375,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3745
4375
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3746
4376
|
throw new CommonMessageException(await response.json());
|
|
3747
4377
|
}
|
|
3748
|
-
throw new
|
|
4378
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3749
4379
|
}
|
|
3750
4380
|
/**
|
|
4381
|
+
* Returns a statistic containing the incoming requests
|
|
4382
|
+
*
|
|
3751
4383
|
* @returns {Promise<BackendStatisticChart>}
|
|
3752
4384
|
* @throws {CommonMessageException}
|
|
3753
4385
|
* @throws {ClientException}
|
|
@@ -3783,9 +4415,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3783
4415
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3784
4416
|
throw new CommonMessageException(await response.json());
|
|
3785
4417
|
}
|
|
3786
|
-
throw new
|
|
4418
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3787
4419
|
}
|
|
3788
4420
|
/**
|
|
4421
|
+
* Returns a statistic containing the incoming transactions
|
|
4422
|
+
*
|
|
3789
4423
|
* @returns {Promise<BackendStatisticChart>}
|
|
3790
4424
|
* @throws {CommonMessageException}
|
|
3791
4425
|
* @throws {ClientException}
|
|
@@ -3821,9 +4455,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3821
4455
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3822
4456
|
throw new CommonMessageException(await response.json());
|
|
3823
4457
|
}
|
|
3824
|
-
throw new
|
|
4458
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3825
4459
|
}
|
|
3826
4460
|
/**
|
|
4461
|
+
* Returns a statistic containing the issues tokens
|
|
4462
|
+
*
|
|
3827
4463
|
* @returns {Promise<BackendStatisticChart>}
|
|
3828
4464
|
* @throws {CommonMessageException}
|
|
3829
4465
|
* @throws {ClientException}
|
|
@@ -3859,9 +4495,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3859
4495
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3860
4496
|
throw new CommonMessageException(await response.json());
|
|
3861
4497
|
}
|
|
3862
|
-
throw new
|
|
4498
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3863
4499
|
}
|
|
3864
4500
|
/**
|
|
4501
|
+
* Returns a statistic containing the most used activities
|
|
4502
|
+
*
|
|
3865
4503
|
* @returns {Promise<BackendStatisticChart>}
|
|
3866
4504
|
* @throws {CommonMessageException}
|
|
3867
4505
|
* @throws {ClientException}
|
|
@@ -3897,9 +4535,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3897
4535
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3898
4536
|
throw new CommonMessageException(await response.json());
|
|
3899
4537
|
}
|
|
3900
|
-
throw new
|
|
4538
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3901
4539
|
}
|
|
3902
4540
|
/**
|
|
4541
|
+
* Returns a statistic containing the most used apps
|
|
4542
|
+
*
|
|
3903
4543
|
* @returns {Promise<BackendStatisticChart>}
|
|
3904
4544
|
* @throws {CommonMessageException}
|
|
3905
4545
|
* @throws {ClientException}
|
|
@@ -3935,9 +4575,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3935
4575
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3936
4576
|
throw new CommonMessageException(await response.json());
|
|
3937
4577
|
}
|
|
3938
|
-
throw new
|
|
4578
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3939
4579
|
}
|
|
3940
4580
|
/**
|
|
4581
|
+
* Returns a statistic containing the most used operations
|
|
4582
|
+
*
|
|
3941
4583
|
* @returns {Promise<BackendStatisticChart>}
|
|
3942
4584
|
* @throws {CommonMessageException}
|
|
3943
4585
|
* @throws {ClientException}
|
|
@@ -3973,9 +4615,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3973
4615
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3974
4616
|
throw new CommonMessageException(await response.json());
|
|
3975
4617
|
}
|
|
3976
|
-
throw new
|
|
4618
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3977
4619
|
}
|
|
3978
4620
|
/**
|
|
4621
|
+
* Returns a statistic containing the test coverage
|
|
4622
|
+
*
|
|
3979
4623
|
* @returns {Promise<BackendStatisticChart>}
|
|
3980
4624
|
* @throws {CommonMessageException}
|
|
3981
4625
|
* @throws {ClientException}
|
|
@@ -3996,9 +4640,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3996
4640
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3997
4641
|
throw new CommonMessageException(await response.json());
|
|
3998
4642
|
}
|
|
3999
|
-
throw new
|
|
4643
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4000
4644
|
}
|
|
4001
4645
|
/**
|
|
4646
|
+
* Returns a statistic containing the time average
|
|
4647
|
+
*
|
|
4002
4648
|
* @returns {Promise<BackendStatisticChart>}
|
|
4003
4649
|
* @throws {CommonMessageException}
|
|
4004
4650
|
* @throws {ClientException}
|
|
@@ -4034,9 +4680,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
4034
4680
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4035
4681
|
throw new CommonMessageException(await response.json());
|
|
4036
4682
|
}
|
|
4037
|
-
throw new
|
|
4683
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4038
4684
|
}
|
|
4039
4685
|
/**
|
|
4686
|
+
* Returns a statistic containing the time per operation
|
|
4687
|
+
*
|
|
4040
4688
|
* @returns {Promise<BackendStatisticChart>}
|
|
4041
4689
|
* @throws {CommonMessageException}
|
|
4042
4690
|
* @throws {ClientException}
|
|
@@ -4072,9 +4720,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
4072
4720
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4073
4721
|
throw new CommonMessageException(await response.json());
|
|
4074
4722
|
}
|
|
4075
|
-
throw new
|
|
4723
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4076
4724
|
}
|
|
4077
4725
|
/**
|
|
4726
|
+
* Returns a statistic containing the used points
|
|
4727
|
+
*
|
|
4078
4728
|
* @returns {Promise<BackendStatisticChart>}
|
|
4079
4729
|
* @throws {CommonMessageException}
|
|
4080
4730
|
* @throws {ClientException}
|
|
@@ -4110,9 +4760,11 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
4110
4760
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4111
4761
|
throw new CommonMessageException(await response.json());
|
|
4112
4762
|
}
|
|
4113
|
-
throw new
|
|
4763
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4114
4764
|
}
|
|
4115
4765
|
/**
|
|
4766
|
+
* Returns a statistic containing the user registrations
|
|
4767
|
+
*
|
|
4116
4768
|
* @returns {Promise<BackendStatisticChart>}
|
|
4117
4769
|
* @throws {CommonMessageException}
|
|
4118
4770
|
* @throws {ClientException}
|
|
@@ -4148,18 +4800,20 @@ var BackendStatisticTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
4148
4800
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4149
4801
|
throw new CommonMessageException(await response.json());
|
|
4150
4802
|
}
|
|
4151
|
-
throw new
|
|
4803
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4152
4804
|
}
|
|
4153
4805
|
};
|
|
4154
4806
|
|
|
4155
4807
|
// src/BackendTag.ts
|
|
4156
|
-
var
|
|
4808
|
+
var import_sdkgen_client81 = require("sdkgen-client");
|
|
4157
4809
|
|
|
4158
4810
|
// src/BackendTenantTag.ts
|
|
4159
|
-
var
|
|
4160
|
-
var
|
|
4161
|
-
var BackendTenantTag = class extends
|
|
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 {
|
|
4162
4814
|
/**
|
|
4815
|
+
* Removes an existing tenant
|
|
4816
|
+
*
|
|
4163
4817
|
* @returns {Promise<CommonMessage>}
|
|
4164
4818
|
* @throws {CommonMessageException}
|
|
4165
4819
|
* @throws {ClientException}
|
|
@@ -4182,9 +4836,11 @@ var BackendTenantTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
4182
4836
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4183
4837
|
throw new CommonMessageException(await response.json());
|
|
4184
4838
|
}
|
|
4185
|
-
throw new
|
|
4839
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4186
4840
|
}
|
|
4187
4841
|
/**
|
|
4842
|
+
* Setup a new tenant
|
|
4843
|
+
*
|
|
4188
4844
|
* @returns {Promise<CommonMessage>}
|
|
4189
4845
|
* @throws {CommonMessageException}
|
|
4190
4846
|
* @throws {ClientException}
|
|
@@ -4207,15 +4863,17 @@ var BackendTenantTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
4207
4863
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4208
4864
|
throw new CommonMessageException(await response.json());
|
|
4209
4865
|
}
|
|
4210
|
-
throw new
|
|
4866
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4211
4867
|
}
|
|
4212
4868
|
};
|
|
4213
4869
|
|
|
4214
4870
|
// src/BackendTestTag.ts
|
|
4215
|
-
var
|
|
4216
|
-
var
|
|
4217
|
-
var BackendTestTag = class extends
|
|
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 {
|
|
4218
4874
|
/**
|
|
4875
|
+
* Returns a specific test
|
|
4876
|
+
*
|
|
4219
4877
|
* @returns {Promise<BackendTest>}
|
|
4220
4878
|
* @throws {CommonMessageException}
|
|
4221
4879
|
* @throws {ClientException}
|
|
@@ -4238,9 +4896,11 @@ var BackendTestTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4238
4896
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4239
4897
|
throw new CommonMessageException(await response.json());
|
|
4240
4898
|
}
|
|
4241
|
-
throw new
|
|
4899
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4242
4900
|
}
|
|
4243
4901
|
/**
|
|
4902
|
+
* Returns a paginated list of tests
|
|
4903
|
+
*
|
|
4244
4904
|
* @returns {Promise<BackendTestCollection>}
|
|
4245
4905
|
* @throws {CommonMessageException}
|
|
4246
4906
|
* @throws {ClientException}
|
|
@@ -4265,9 +4925,11 @@ var BackendTestTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4265
4925
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4266
4926
|
throw new CommonMessageException(await response.json());
|
|
4267
4927
|
}
|
|
4268
|
-
throw new
|
|
4928
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4269
4929
|
}
|
|
4270
4930
|
/**
|
|
4931
|
+
* Refresh all tests
|
|
4932
|
+
*
|
|
4271
4933
|
* @returns {Promise<CommonMessage>}
|
|
4272
4934
|
* @throws {CommonMessageException}
|
|
4273
4935
|
* @throws {ClientException}
|
|
@@ -4288,9 +4950,11 @@ var BackendTestTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4288
4950
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4289
4951
|
throw new CommonMessageException(await response.json());
|
|
4290
4952
|
}
|
|
4291
|
-
throw new
|
|
4953
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4292
4954
|
}
|
|
4293
4955
|
/**
|
|
4956
|
+
* Run all tests
|
|
4957
|
+
*
|
|
4294
4958
|
* @returns {Promise<CommonMessage>}
|
|
4295
4959
|
* @throws {CommonMessageException}
|
|
4296
4960
|
* @throws {ClientException}
|
|
@@ -4311,9 +4975,11 @@ var BackendTestTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4311
4975
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4312
4976
|
throw new CommonMessageException(await response.json());
|
|
4313
4977
|
}
|
|
4314
|
-
throw new
|
|
4978
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4315
4979
|
}
|
|
4316
4980
|
/**
|
|
4981
|
+
* Updates an existing test
|
|
4982
|
+
*
|
|
4317
4983
|
* @returns {Promise<CommonMessage>}
|
|
4318
4984
|
* @throws {CommonMessageException}
|
|
4319
4985
|
* @throws {ClientException}
|
|
@@ -4339,15 +5005,17 @@ var BackendTestTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4339
5005
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4340
5006
|
throw new CommonMessageException(await response.json());
|
|
4341
5007
|
}
|
|
4342
|
-
throw new
|
|
5008
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4343
5009
|
}
|
|
4344
5010
|
};
|
|
4345
5011
|
|
|
4346
5012
|
// src/BackendTokenTag.ts
|
|
4347
|
-
var
|
|
4348
|
-
var
|
|
4349
|
-
var BackendTokenTag = class extends
|
|
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 {
|
|
4350
5016
|
/**
|
|
5017
|
+
* Returns a specific token
|
|
5018
|
+
*
|
|
4351
5019
|
* @returns {Promise<BackendToken>}
|
|
4352
5020
|
* @throws {CommonMessageException}
|
|
4353
5021
|
* @throws {ClientException}
|
|
@@ -4370,9 +5038,11 @@ var BackendTokenTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4370
5038
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4371
5039
|
throw new CommonMessageException(await response.json());
|
|
4372
5040
|
}
|
|
4373
|
-
throw new
|
|
5041
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4374
5042
|
}
|
|
4375
5043
|
/**
|
|
5044
|
+
* Returns a paginated list of tokens
|
|
5045
|
+
*
|
|
4376
5046
|
* @returns {Promise<BackendTokenCollection>}
|
|
4377
5047
|
* @throws {CommonMessageException}
|
|
4378
5048
|
* @throws {ClientException}
|
|
@@ -4404,15 +5074,17 @@ var BackendTokenTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4404
5074
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4405
5075
|
throw new CommonMessageException(await response.json());
|
|
4406
5076
|
}
|
|
4407
|
-
throw new
|
|
5077
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4408
5078
|
}
|
|
4409
5079
|
};
|
|
4410
5080
|
|
|
4411
5081
|
// src/BackendTransactionTag.ts
|
|
4412
|
-
var
|
|
4413
|
-
var
|
|
4414
|
-
var BackendTransactionTag = class extends
|
|
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 {
|
|
4415
5085
|
/**
|
|
5086
|
+
* Returns a specific transaction
|
|
5087
|
+
*
|
|
4416
5088
|
* @returns {Promise<BackendTransaction>}
|
|
4417
5089
|
* @throws {CommonMessageException}
|
|
4418
5090
|
* @throws {ClientException}
|
|
@@ -4435,9 +5107,11 @@ var BackendTransactionTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4435
5107
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4436
5108
|
throw new CommonMessageException(await response.json());
|
|
4437
5109
|
}
|
|
4438
|
-
throw new
|
|
5110
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4439
5111
|
}
|
|
4440
5112
|
/**
|
|
5113
|
+
* Returns a paginated list of transactions
|
|
5114
|
+
*
|
|
4441
5115
|
* @returns {Promise<BackendTransactionCollection>}
|
|
4442
5116
|
* @throws {CommonMessageException}
|
|
4443
5117
|
* @throws {ClientException}
|
|
@@ -4469,15 +5143,17 @@ var BackendTransactionTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4469
5143
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4470
5144
|
throw new CommonMessageException(await response.json());
|
|
4471
5145
|
}
|
|
4472
|
-
throw new
|
|
5146
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4473
5147
|
}
|
|
4474
5148
|
};
|
|
4475
5149
|
|
|
4476
5150
|
// src/BackendTrashTag.ts
|
|
4477
|
-
var
|
|
4478
|
-
var
|
|
4479
|
-
var BackendTrashTag = class extends
|
|
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 {
|
|
4480
5154
|
/**
|
|
5155
|
+
* Returns all deleted records by trash type
|
|
5156
|
+
*
|
|
4481
5157
|
* @returns {Promise<BackendTrashDataCollection>}
|
|
4482
5158
|
* @throws {CommonMessageException}
|
|
4483
5159
|
* @throws {ClientException}
|
|
@@ -4504,9 +5180,11 @@ var BackendTrashTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4504
5180
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4505
5181
|
throw new CommonMessageException(await response.json());
|
|
4506
5182
|
}
|
|
4507
|
-
throw new
|
|
5183
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4508
5184
|
}
|
|
4509
5185
|
/**
|
|
5186
|
+
* Returns all trash types
|
|
5187
|
+
*
|
|
4510
5188
|
* @returns {Promise<BackendTrashTypes>}
|
|
4511
5189
|
* @throws {CommonMessageException}
|
|
4512
5190
|
* @throws {ClientException}
|
|
@@ -4527,9 +5205,11 @@ var BackendTrashTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4527
5205
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4528
5206
|
throw new CommonMessageException(await response.json());
|
|
4529
5207
|
}
|
|
4530
|
-
throw new
|
|
5208
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4531
5209
|
}
|
|
4532
5210
|
/**
|
|
5211
|
+
* Restores a previously deleted record
|
|
5212
|
+
*
|
|
4533
5213
|
* @returns {Promise<CommonMessage>}
|
|
4534
5214
|
* @throws {CommonMessageException}
|
|
4535
5215
|
* @throws {ClientException}
|
|
@@ -4555,15 +5235,17 @@ var BackendTrashTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4555
5235
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4556
5236
|
throw new CommonMessageException(await response.json());
|
|
4557
5237
|
}
|
|
4558
|
-
throw new
|
|
5238
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4559
5239
|
}
|
|
4560
5240
|
};
|
|
4561
5241
|
|
|
4562
5242
|
// src/BackendUserTag.ts
|
|
4563
|
-
var
|
|
4564
|
-
var
|
|
4565
|
-
var BackendUserTag = class extends
|
|
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 {
|
|
4566
5246
|
/**
|
|
5247
|
+
* Creates a new user
|
|
5248
|
+
*
|
|
4567
5249
|
* @returns {Promise<CommonMessage>}
|
|
4568
5250
|
* @throws {CommonMessageException}
|
|
4569
5251
|
* @throws {ClientException}
|
|
@@ -4587,9 +5269,11 @@ var BackendUserTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4587
5269
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4588
5270
|
throw new CommonMessageException(await response.json());
|
|
4589
5271
|
}
|
|
4590
|
-
throw new
|
|
5272
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4591
5273
|
}
|
|
4592
5274
|
/**
|
|
5275
|
+
* Deletes an existing user
|
|
5276
|
+
*
|
|
4593
5277
|
* @returns {Promise<CommonMessage>}
|
|
4594
5278
|
* @throws {CommonMessageException}
|
|
4595
5279
|
* @throws {ClientException}
|
|
@@ -4612,9 +5296,11 @@ var BackendUserTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4612
5296
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4613
5297
|
throw new CommonMessageException(await response.json());
|
|
4614
5298
|
}
|
|
4615
|
-
throw new
|
|
5299
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4616
5300
|
}
|
|
4617
5301
|
/**
|
|
5302
|
+
* Returns a specific user
|
|
5303
|
+
*
|
|
4618
5304
|
* @returns {Promise<BackendUser>}
|
|
4619
5305
|
* @throws {CommonMessageException}
|
|
4620
5306
|
* @throws {ClientException}
|
|
@@ -4637,9 +5323,11 @@ var BackendUserTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4637
5323
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4638
5324
|
throw new CommonMessageException(await response.json());
|
|
4639
5325
|
}
|
|
4640
|
-
throw new
|
|
5326
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4641
5327
|
}
|
|
4642
5328
|
/**
|
|
5329
|
+
* Returns a paginated list of users
|
|
5330
|
+
*
|
|
4643
5331
|
* @returns {Promise<BackendUserCollection>}
|
|
4644
5332
|
* @throws {CommonMessageException}
|
|
4645
5333
|
* @throws {ClientException}
|
|
@@ -4664,9 +5352,11 @@ var BackendUserTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4664
5352
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4665
5353
|
throw new CommonMessageException(await response.json());
|
|
4666
5354
|
}
|
|
4667
|
-
throw new
|
|
5355
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4668
5356
|
}
|
|
4669
5357
|
/**
|
|
5358
|
+
* Updates an existing user
|
|
5359
|
+
*
|
|
4670
5360
|
* @returns {Promise<CommonMessage>}
|
|
4671
5361
|
* @throws {CommonMessageException}
|
|
4672
5362
|
* @throws {ClientException}
|
|
@@ -4692,15 +5382,17 @@ var BackendUserTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4692
5382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4693
5383
|
throw new CommonMessageException(await response.json());
|
|
4694
5384
|
}
|
|
4695
|
-
throw new
|
|
5385
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4696
5386
|
}
|
|
4697
5387
|
};
|
|
4698
5388
|
|
|
4699
5389
|
// src/BackendWebhookTag.ts
|
|
4700
|
-
var
|
|
4701
|
-
var
|
|
4702
|
-
var BackendWebhookTag = class extends
|
|
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 {
|
|
4703
5393
|
/**
|
|
5394
|
+
* Creates a new webhook
|
|
5395
|
+
*
|
|
4704
5396
|
* @returns {Promise<CommonMessage>}
|
|
4705
5397
|
* @throws {CommonMessageException}
|
|
4706
5398
|
* @throws {ClientException}
|
|
@@ -4724,9 +5416,11 @@ var BackendWebhookTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4724
5416
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4725
5417
|
throw new CommonMessageException(await response.json());
|
|
4726
5418
|
}
|
|
4727
|
-
throw new
|
|
5419
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4728
5420
|
}
|
|
4729
5421
|
/**
|
|
5422
|
+
* Deletes an existing webhook
|
|
5423
|
+
*
|
|
4730
5424
|
* @returns {Promise<CommonMessage>}
|
|
4731
5425
|
* @throws {CommonMessageException}
|
|
4732
5426
|
* @throws {ClientException}
|
|
@@ -4749,9 +5443,11 @@ var BackendWebhookTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4749
5443
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4750
5444
|
throw new CommonMessageException(await response.json());
|
|
4751
5445
|
}
|
|
4752
|
-
throw new
|
|
5446
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4753
5447
|
}
|
|
4754
5448
|
/**
|
|
5449
|
+
* Returns a specific webhook
|
|
5450
|
+
*
|
|
4755
5451
|
* @returns {Promise<BackendWebhook>}
|
|
4756
5452
|
* @throws {CommonMessageException}
|
|
4757
5453
|
* @throws {ClientException}
|
|
@@ -4774,9 +5470,11 @@ var BackendWebhookTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4774
5470
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4775
5471
|
throw new CommonMessageException(await response.json());
|
|
4776
5472
|
}
|
|
4777
|
-
throw new
|
|
5473
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4778
5474
|
}
|
|
4779
5475
|
/**
|
|
5476
|
+
* Returns a paginated list of webhooks
|
|
5477
|
+
*
|
|
4780
5478
|
* @returns {Promise<BackendWebhookCollection>}
|
|
4781
5479
|
* @throws {CommonMessageException}
|
|
4782
5480
|
* @throws {ClientException}
|
|
@@ -4801,9 +5499,11 @@ var BackendWebhookTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4801
5499
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4802
5500
|
throw new CommonMessageException(await response.json());
|
|
4803
5501
|
}
|
|
4804
|
-
throw new
|
|
5502
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4805
5503
|
}
|
|
4806
5504
|
/**
|
|
5505
|
+
* Updates an existing webhook
|
|
5506
|
+
*
|
|
4807
5507
|
* @returns {Promise<CommonMessage>}
|
|
4808
5508
|
* @throws {CommonMessageException}
|
|
4809
5509
|
* @throws {ClientException}
|
|
@@ -4829,12 +5529,12 @@ var BackendWebhookTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4829
5529
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4830
5530
|
throw new CommonMessageException(await response.json());
|
|
4831
5531
|
}
|
|
4832
|
-
throw new
|
|
5532
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4833
5533
|
}
|
|
4834
5534
|
};
|
|
4835
5535
|
|
|
4836
5536
|
// src/BackendTag.ts
|
|
4837
|
-
var BackendTag = class extends
|
|
5537
|
+
var BackendTag = class extends import_sdkgen_client81.TagAbstract {
|
|
4838
5538
|
account() {
|
|
4839
5539
|
return new BackendAccountTag(
|
|
4840
5540
|
this.httpClient,
|
|
@@ -4895,14 +5595,14 @@ var BackendTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
4895
5595
|
this.parser
|
|
4896
5596
|
);
|
|
4897
5597
|
}
|
|
4898
|
-
|
|
4899
|
-
return new
|
|
5598
|
+
event() {
|
|
5599
|
+
return new BackendEventTag(
|
|
4900
5600
|
this.httpClient,
|
|
4901
5601
|
this.parser
|
|
4902
5602
|
);
|
|
4903
5603
|
}
|
|
4904
|
-
|
|
4905
|
-
return new
|
|
5604
|
+
firewall() {
|
|
5605
|
+
return new BackendFirewallTag(
|
|
4906
5606
|
this.httpClient,
|
|
4907
5607
|
this.parser
|
|
4908
5608
|
);
|
|
@@ -5036,17 +5736,19 @@ var BackendTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5036
5736
|
};
|
|
5037
5737
|
|
|
5038
5738
|
// src/Client.ts
|
|
5039
|
-
var
|
|
5040
|
-
var
|
|
5739
|
+
var import_sdkgen_client118 = require("sdkgen-client");
|
|
5740
|
+
var import_sdkgen_client119 = require("sdkgen-client");
|
|
5041
5741
|
|
|
5042
5742
|
// src/ConsumerTag.ts
|
|
5043
|
-
var
|
|
5743
|
+
var import_sdkgen_client110 = require("sdkgen-client");
|
|
5044
5744
|
|
|
5045
5745
|
// src/ConsumerAccountTag.ts
|
|
5046
|
-
var
|
|
5047
|
-
var
|
|
5048
|
-
var ConsumerAccountTag = class extends
|
|
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 {
|
|
5049
5749
|
/**
|
|
5750
|
+
* Activates an previously registered account through a token which was provided to the user via email
|
|
5751
|
+
*
|
|
5050
5752
|
* @returns {Promise<CommonMessage>}
|
|
5051
5753
|
* @throws {CommonMessageException}
|
|
5052
5754
|
* @throws {ClientException}
|
|
@@ -5070,9 +5772,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5070
5772
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5071
5773
|
throw new CommonMessageException(await response.json());
|
|
5072
5774
|
}
|
|
5073
|
-
throw new
|
|
5775
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5074
5776
|
}
|
|
5075
5777
|
/**
|
|
5778
|
+
* Authorizes the access of a specific app for the authenticated user
|
|
5779
|
+
*
|
|
5076
5780
|
* @returns {Promise<ConsumerAuthorizeResponse>}
|
|
5077
5781
|
* @throws {CommonMessageException}
|
|
5078
5782
|
* @throws {ClientException}
|
|
@@ -5096,9 +5800,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5096
5800
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5097
5801
|
throw new CommonMessageException(await response.json());
|
|
5098
5802
|
}
|
|
5099
|
-
throw new
|
|
5803
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5100
5804
|
}
|
|
5101
5805
|
/**
|
|
5806
|
+
* Change the password for the authenticated user
|
|
5807
|
+
*
|
|
5102
5808
|
* @returns {Promise<CommonMessage>}
|
|
5103
5809
|
* @throws {CommonMessageException}
|
|
5104
5810
|
* @throws {ClientException}
|
|
@@ -5122,9 +5828,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5122
5828
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5123
5829
|
throw new CommonMessageException(await response.json());
|
|
5124
5830
|
}
|
|
5125
|
-
throw new
|
|
5831
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5126
5832
|
}
|
|
5127
5833
|
/**
|
|
5834
|
+
* Change the password after the password reset flow was started
|
|
5835
|
+
*
|
|
5128
5836
|
* @returns {Promise<CommonMessage>}
|
|
5129
5837
|
* @throws {CommonMessageException}
|
|
5130
5838
|
* @throws {ClientException}
|
|
@@ -5148,9 +5856,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5148
5856
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5149
5857
|
throw new CommonMessageException(await response.json());
|
|
5150
5858
|
}
|
|
5151
|
-
throw new
|
|
5859
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5152
5860
|
}
|
|
5153
5861
|
/**
|
|
5862
|
+
* Returns a user data for the authenticated user
|
|
5863
|
+
*
|
|
5154
5864
|
* @returns {Promise<ConsumerUserAccount>}
|
|
5155
5865
|
* @throws {CommonMessageException}
|
|
5156
5866
|
* @throws {ClientException}
|
|
@@ -5171,20 +5881,25 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5171
5881
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5172
5882
|
throw new CommonMessageException(await response.json());
|
|
5173
5883
|
}
|
|
5174
|
-
throw new
|
|
5884
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5175
5885
|
}
|
|
5176
5886
|
/**
|
|
5887
|
+
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
5888
|
+
*
|
|
5177
5889
|
* @returns {Promise<ConsumerAuthorizeMeta>}
|
|
5178
5890
|
* @throws {CommonMessageException}
|
|
5179
5891
|
* @throws {ClientException}
|
|
5180
5892
|
*/
|
|
5181
|
-
async getApp() {
|
|
5893
|
+
async getApp(clientId, scope) {
|
|
5182
5894
|
const url = this.parser.url("/consumer/authorize", {});
|
|
5183
5895
|
let request = {
|
|
5184
5896
|
url,
|
|
5185
5897
|
method: "GET",
|
|
5186
5898
|
headers: {},
|
|
5187
|
-
params: this.parser.query({
|
|
5899
|
+
params: this.parser.query({
|
|
5900
|
+
"client_id": clientId,
|
|
5901
|
+
"scope": scope
|
|
5902
|
+
}, [])
|
|
5188
5903
|
};
|
|
5189
5904
|
const response = await this.httpClient.request(request);
|
|
5190
5905
|
if (response.ok) {
|
|
@@ -5194,9 +5909,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5194
5909
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5195
5910
|
throw new CommonMessageException(await response.json());
|
|
5196
5911
|
}
|
|
5197
|
-
throw new
|
|
5912
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5198
5913
|
}
|
|
5199
5914
|
/**
|
|
5915
|
+
* User login by providing a username and password
|
|
5916
|
+
*
|
|
5200
5917
|
* @returns {Promise<ConsumerUserJWT>}
|
|
5201
5918
|
* @throws {CommonMessageException}
|
|
5202
5919
|
* @throws {ClientException}
|
|
@@ -5220,9 +5937,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5220
5937
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5221
5938
|
throw new CommonMessageException(await response.json());
|
|
5222
5939
|
}
|
|
5223
|
-
throw new
|
|
5940
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5224
5941
|
}
|
|
5225
5942
|
/**
|
|
5943
|
+
* Refresh a previously obtained access token
|
|
5944
|
+
*
|
|
5226
5945
|
* @returns {Promise<ConsumerUserJWT>}
|
|
5227
5946
|
* @throws {CommonMessageException}
|
|
5228
5947
|
* @throws {ClientException}
|
|
@@ -5246,9 +5965,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5246
5965
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5247
5966
|
throw new CommonMessageException(await response.json());
|
|
5248
5967
|
}
|
|
5249
|
-
throw new
|
|
5968
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5250
5969
|
}
|
|
5251
5970
|
/**
|
|
5971
|
+
* Register a new user account
|
|
5972
|
+
*
|
|
5252
5973
|
* @returns {Promise<CommonMessage>}
|
|
5253
5974
|
* @throws {CommonMessageException}
|
|
5254
5975
|
* @throws {ClientException}
|
|
@@ -5272,9 +5993,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5272
5993
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5273
5994
|
throw new CommonMessageException(await response.json());
|
|
5274
5995
|
}
|
|
5275
|
-
throw new
|
|
5996
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5276
5997
|
}
|
|
5277
5998
|
/**
|
|
5999
|
+
* Start the password reset flow
|
|
6000
|
+
*
|
|
5278
6001
|
* @returns {Promise<CommonMessage>}
|
|
5279
6002
|
* @throws {CommonMessageException}
|
|
5280
6003
|
* @throws {ClientException}
|
|
@@ -5298,9 +6021,11 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5298
6021
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5299
6022
|
throw new CommonMessageException(await response.json());
|
|
5300
6023
|
}
|
|
5301
|
-
throw new
|
|
6024
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5302
6025
|
}
|
|
5303
6026
|
/**
|
|
6027
|
+
* Updates user data for the authenticated user
|
|
6028
|
+
*
|
|
5304
6029
|
* @returns {Promise<CommonMessage>}
|
|
5305
6030
|
* @throws {CommonMessageException}
|
|
5306
6031
|
* @throws {ClientException}
|
|
@@ -5324,15 +6049,17 @@ var ConsumerAccountTag = class extends import_sdkgen_client74.TagAbstract {
|
|
|
5324
6049
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5325
6050
|
throw new CommonMessageException(await response.json());
|
|
5326
6051
|
}
|
|
5327
|
-
throw new
|
|
6052
|
+
throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5328
6053
|
}
|
|
5329
6054
|
};
|
|
5330
6055
|
|
|
5331
6056
|
// src/ConsumerAppTag.ts
|
|
5332
|
-
var
|
|
5333
|
-
var
|
|
5334
|
-
var ConsumerAppTag = class extends
|
|
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 {
|
|
5335
6060
|
/**
|
|
6061
|
+
* Creates a new app for the authenticated user
|
|
6062
|
+
*
|
|
5336
6063
|
* @returns {Promise<CommonMessage>}
|
|
5337
6064
|
* @throws {CommonMessageException}
|
|
5338
6065
|
* @throws {ClientException}
|
|
@@ -5356,9 +6083,11 @@ var ConsumerAppTag = class extends import_sdkgen_client76.TagAbstract {
|
|
|
5356
6083
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5357
6084
|
throw new CommonMessageException(await response.json());
|
|
5358
6085
|
}
|
|
5359
|
-
throw new
|
|
6086
|
+
throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5360
6087
|
}
|
|
5361
6088
|
/**
|
|
6089
|
+
* Deletes an existing app for the authenticated user
|
|
6090
|
+
*
|
|
5362
6091
|
* @returns {Promise<CommonMessage>}
|
|
5363
6092
|
* @throws {CommonMessageException}
|
|
5364
6093
|
* @throws {ClientException}
|
|
@@ -5381,9 +6110,11 @@ var ConsumerAppTag = class extends import_sdkgen_client76.TagAbstract {
|
|
|
5381
6110
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5382
6111
|
throw new CommonMessageException(await response.json());
|
|
5383
6112
|
}
|
|
5384
|
-
throw new
|
|
6113
|
+
throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5385
6114
|
}
|
|
5386
6115
|
/**
|
|
6116
|
+
* Returns a specific app for the authenticated user
|
|
6117
|
+
*
|
|
5387
6118
|
* @returns {Promise<ConsumerApp>}
|
|
5388
6119
|
* @throws {CommonMessageException}
|
|
5389
6120
|
* @throws {ClientException}
|
|
@@ -5406,9 +6137,11 @@ var ConsumerAppTag = class extends import_sdkgen_client76.TagAbstract {
|
|
|
5406
6137
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5407
6138
|
throw new CommonMessageException(await response.json());
|
|
5408
6139
|
}
|
|
5409
|
-
throw new
|
|
6140
|
+
throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5410
6141
|
}
|
|
5411
6142
|
/**
|
|
6143
|
+
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
6144
|
+
*
|
|
5412
6145
|
* @returns {Promise<ConsumerAppCollection>}
|
|
5413
6146
|
* @throws {CommonMessageException}
|
|
5414
6147
|
* @throws {ClientException}
|
|
@@ -5433,9 +6166,11 @@ var ConsumerAppTag = class extends import_sdkgen_client76.TagAbstract {
|
|
|
5433
6166
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5434
6167
|
throw new CommonMessageException(await response.json());
|
|
5435
6168
|
}
|
|
5436
|
-
throw new
|
|
6169
|
+
throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5437
6170
|
}
|
|
5438
6171
|
/**
|
|
6172
|
+
* Updates an existing app for the authenticated user
|
|
6173
|
+
*
|
|
5439
6174
|
* @returns {Promise<CommonMessage>}
|
|
5440
6175
|
* @throws {CommonMessageException}
|
|
5441
6176
|
* @throws {ClientException}
|
|
@@ -5461,15 +6196,17 @@ var ConsumerAppTag = class extends import_sdkgen_client76.TagAbstract {
|
|
|
5461
6196
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5462
6197
|
throw new CommonMessageException(await response.json());
|
|
5463
6198
|
}
|
|
5464
|
-
throw new
|
|
6199
|
+
throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5465
6200
|
}
|
|
5466
6201
|
};
|
|
5467
6202
|
|
|
5468
6203
|
// src/ConsumerEventTag.ts
|
|
5469
|
-
var
|
|
5470
|
-
var
|
|
5471
|
-
var ConsumerEventTag = class extends
|
|
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 {
|
|
5472
6207
|
/**
|
|
6208
|
+
* Returns a specific event for the authenticated user
|
|
6209
|
+
*
|
|
5473
6210
|
* @returns {Promise<ConsumerEvent>}
|
|
5474
6211
|
* @throws {CommonMessageException}
|
|
5475
6212
|
* @throws {ClientException}
|
|
@@ -5492,9 +6229,11 @@ var ConsumerEventTag = class extends import_sdkgen_client78.TagAbstract {
|
|
|
5492
6229
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5493
6230
|
throw new CommonMessageException(await response.json());
|
|
5494
6231
|
}
|
|
5495
|
-
throw new
|
|
6232
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5496
6233
|
}
|
|
5497
6234
|
/**
|
|
6235
|
+
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
6236
|
+
*
|
|
5498
6237
|
* @returns {Promise<ConsumerEventCollection>}
|
|
5499
6238
|
* @throws {CommonMessageException}
|
|
5500
6239
|
* @throws {ClientException}
|
|
@@ -5519,15 +6258,17 @@ var ConsumerEventTag = class extends import_sdkgen_client78.TagAbstract {
|
|
|
5519
6258
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5520
6259
|
throw new CommonMessageException(await response.json());
|
|
5521
6260
|
}
|
|
5522
|
-
throw new
|
|
6261
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5523
6262
|
}
|
|
5524
6263
|
};
|
|
5525
6264
|
|
|
5526
6265
|
// src/ConsumerFormTag.ts
|
|
5527
|
-
var
|
|
5528
|
-
var
|
|
5529
|
-
var ConsumerFormTag = class extends
|
|
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 {
|
|
5530
6269
|
/**
|
|
6270
|
+
* Returns a specific form for the authenticated user
|
|
6271
|
+
*
|
|
5531
6272
|
* @returns {Promise<ConsumerForm>}
|
|
5532
6273
|
* @throws {CommonMessageException}
|
|
5533
6274
|
* @throws {ClientException}
|
|
@@ -5550,9 +6291,11 @@ var ConsumerFormTag = class extends import_sdkgen_client80.TagAbstract {
|
|
|
5550
6291
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5551
6292
|
throw new CommonMessageException(await response.json());
|
|
5552
6293
|
}
|
|
5553
|
-
throw new
|
|
6294
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5554
6295
|
}
|
|
5555
6296
|
/**
|
|
6297
|
+
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
6298
|
+
*
|
|
5556
6299
|
* @returns {Promise<ConsumerFormCollection>}
|
|
5557
6300
|
* @throws {CommonMessageException}
|
|
5558
6301
|
* @throws {ClientException}
|
|
@@ -5577,15 +6320,17 @@ var ConsumerFormTag = class extends import_sdkgen_client80.TagAbstract {
|
|
|
5577
6320
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5578
6321
|
throw new CommonMessageException(await response.json());
|
|
5579
6322
|
}
|
|
5580
|
-
throw new
|
|
6323
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5581
6324
|
}
|
|
5582
6325
|
};
|
|
5583
6326
|
|
|
5584
6327
|
// src/ConsumerGrantTag.ts
|
|
5585
|
-
var
|
|
5586
|
-
var
|
|
5587
|
-
var ConsumerGrantTag = class extends
|
|
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 {
|
|
5588
6331
|
/**
|
|
6332
|
+
* Deletes an existing grant for an app which was created by the authenticated user
|
|
6333
|
+
*
|
|
5589
6334
|
* @returns {Promise<CommonMessage>}
|
|
5590
6335
|
* @throws {CommonMessageException}
|
|
5591
6336
|
* @throws {ClientException}
|
|
@@ -5608,9 +6353,11 @@ var ConsumerGrantTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5608
6353
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5609
6354
|
throw new CommonMessageException(await response.json());
|
|
5610
6355
|
}
|
|
5611
|
-
throw new
|
|
6356
|
+
throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5612
6357
|
}
|
|
5613
6358
|
/**
|
|
6359
|
+
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
6360
|
+
*
|
|
5614
6361
|
* @returns {Promise<ConsumerGrantCollection>}
|
|
5615
6362
|
* @throws {CommonMessageException}
|
|
5616
6363
|
* @throws {ClientException}
|
|
@@ -5635,15 +6382,17 @@ var ConsumerGrantTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5635
6382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5636
6383
|
throw new CommonMessageException(await response.json());
|
|
5637
6384
|
}
|
|
5638
|
-
throw new
|
|
6385
|
+
throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5639
6386
|
}
|
|
5640
6387
|
};
|
|
5641
6388
|
|
|
5642
6389
|
// src/ConsumerIdentityTag.ts
|
|
5643
|
-
var
|
|
5644
|
-
var
|
|
5645
|
-
var ConsumerIdentityTag = class extends
|
|
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 {
|
|
5646
6393
|
/**
|
|
6394
|
+
* Identity callback endpoint to exchange an access token
|
|
6395
|
+
*
|
|
5647
6396
|
* @returns {Promise<Passthru>}
|
|
5648
6397
|
* @throws {CommonMessageException}
|
|
5649
6398
|
* @throws {ClientException}
|
|
@@ -5666,9 +6415,11 @@ var ConsumerIdentityTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
5666
6415
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5667
6416
|
throw new CommonMessageException(await response.json());
|
|
5668
6417
|
}
|
|
5669
|
-
throw new
|
|
6418
|
+
throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5670
6419
|
}
|
|
5671
6420
|
/**
|
|
6421
|
+
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
6422
|
+
*
|
|
5672
6423
|
* @returns {Promise<ConsumerIdentityCollection>}
|
|
5673
6424
|
* @throws {CommonMessageException}
|
|
5674
6425
|
* @throws {ClientException}
|
|
@@ -5692,9 +6443,11 @@ var ConsumerIdentityTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
5692
6443
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5693
6444
|
throw new CommonMessageException(await response.json());
|
|
5694
6445
|
}
|
|
5695
|
-
throw new
|
|
6446
|
+
throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5696
6447
|
}
|
|
5697
6448
|
/**
|
|
6449
|
+
* Redirect the user to the configured identity provider
|
|
6450
|
+
*
|
|
5698
6451
|
* @returns {Promise<Passthru>}
|
|
5699
6452
|
* @throws {CommonMessageException}
|
|
5700
6453
|
* @throws {ClientException}
|
|
@@ -5717,15 +6470,17 @@ var ConsumerIdentityTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
5717
6470
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5718
6471
|
throw new CommonMessageException(await response.json());
|
|
5719
6472
|
}
|
|
5720
|
-
throw new
|
|
6473
|
+
throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5721
6474
|
}
|
|
5722
6475
|
};
|
|
5723
6476
|
|
|
5724
6477
|
// src/ConsumerLogTag.ts
|
|
5725
|
-
var
|
|
5726
|
-
var
|
|
5727
|
-
var ConsumerLogTag = class extends
|
|
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 {
|
|
5728
6481
|
/**
|
|
6482
|
+
* Returns a specific log for the authenticated user
|
|
6483
|
+
*
|
|
5729
6484
|
* @returns {Promise<ConsumerLog>}
|
|
5730
6485
|
* @throws {CommonMessageException}
|
|
5731
6486
|
* @throws {ClientException}
|
|
@@ -5748,9 +6503,11 @@ var ConsumerLogTag = class extends import_sdkgen_client86.TagAbstract {
|
|
|
5748
6503
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5749
6504
|
throw new CommonMessageException(await response.json());
|
|
5750
6505
|
}
|
|
5751
|
-
throw new
|
|
6506
|
+
throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5752
6507
|
}
|
|
5753
6508
|
/**
|
|
6509
|
+
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
6510
|
+
*
|
|
5754
6511
|
* @returns {Promise<ConsumerLogCollection>}
|
|
5755
6512
|
* @throws {CommonMessageException}
|
|
5756
6513
|
* @throws {ClientException}
|
|
@@ -5775,15 +6532,17 @@ var ConsumerLogTag = class extends import_sdkgen_client86.TagAbstract {
|
|
|
5775
6532
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5776
6533
|
throw new CommonMessageException(await response.json());
|
|
5777
6534
|
}
|
|
5778
|
-
throw new
|
|
6535
|
+
throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5779
6536
|
}
|
|
5780
6537
|
};
|
|
5781
6538
|
|
|
5782
6539
|
// src/ConsumerPageTag.ts
|
|
5783
|
-
var
|
|
5784
|
-
var
|
|
5785
|
-
var ConsumerPageTag = class extends
|
|
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 {
|
|
5786
6543
|
/**
|
|
6544
|
+
* Returns a specific page for the authenticated user
|
|
6545
|
+
*
|
|
5787
6546
|
* @returns {Promise<ConsumerPage>}
|
|
5788
6547
|
* @throws {CommonMessageException}
|
|
5789
6548
|
* @throws {ClientException}
|
|
@@ -5806,9 +6565,11 @@ var ConsumerPageTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
5806
6565
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5807
6566
|
throw new CommonMessageException(await response.json());
|
|
5808
6567
|
}
|
|
5809
|
-
throw new
|
|
6568
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5810
6569
|
}
|
|
5811
6570
|
/**
|
|
6571
|
+
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
6572
|
+
*
|
|
5812
6573
|
* @returns {Promise<ConsumerPageCollection>}
|
|
5813
6574
|
* @throws {CommonMessageException}
|
|
5814
6575
|
* @throws {ClientException}
|
|
@@ -5833,15 +6594,17 @@ var ConsumerPageTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
5833
6594
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5834
6595
|
throw new CommonMessageException(await response.json());
|
|
5835
6596
|
}
|
|
5836
|
-
throw new
|
|
6597
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5837
6598
|
}
|
|
5838
6599
|
};
|
|
5839
6600
|
|
|
5840
6601
|
// src/ConsumerPaymentTag.ts
|
|
5841
|
-
var
|
|
5842
|
-
var
|
|
5843
|
-
var ConsumerPaymentTag = class extends
|
|
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 {
|
|
5844
6605
|
/**
|
|
6606
|
+
* Start the checkout process for a specific plan
|
|
6607
|
+
*
|
|
5845
6608
|
* @returns {Promise<ConsumerPaymentCheckoutResponse>}
|
|
5846
6609
|
* @throws {CommonMessageException}
|
|
5847
6610
|
* @throws {ClientException}
|
|
@@ -5867,9 +6630,11 @@ var ConsumerPaymentTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
5867
6630
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5868
6631
|
throw new CommonMessageException(await response.json());
|
|
5869
6632
|
}
|
|
5870
|
-
throw new
|
|
6633
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5871
6634
|
}
|
|
5872
6635
|
/**
|
|
6636
|
+
* Generates a payment portal link for the authenticated user
|
|
6637
|
+
*
|
|
5873
6638
|
* @returns {Promise<ConsumerPaymentPortalResponse>}
|
|
5874
6639
|
* @throws {CommonMessageException}
|
|
5875
6640
|
* @throws {ClientException}
|
|
@@ -5895,15 +6660,17 @@ var ConsumerPaymentTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
5895
6660
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5896
6661
|
throw new CommonMessageException(await response.json());
|
|
5897
6662
|
}
|
|
5898
|
-
throw new
|
|
6663
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5899
6664
|
}
|
|
5900
6665
|
};
|
|
5901
6666
|
|
|
5902
6667
|
// src/ConsumerPlanTag.ts
|
|
5903
|
-
var
|
|
5904
|
-
var
|
|
5905
|
-
var ConsumerPlanTag = class extends
|
|
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 {
|
|
5906
6671
|
/**
|
|
6672
|
+
* Returns a specific plan for the authenticated user
|
|
6673
|
+
*
|
|
5907
6674
|
* @returns {Promise<ConsumerPlan>}
|
|
5908
6675
|
* @throws {CommonMessageException}
|
|
5909
6676
|
* @throws {ClientException}
|
|
@@ -5926,9 +6693,11 @@ var ConsumerPlanTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
5926
6693
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5927
6694
|
throw new CommonMessageException(await response.json());
|
|
5928
6695
|
}
|
|
5929
|
-
throw new
|
|
6696
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5930
6697
|
}
|
|
5931
6698
|
/**
|
|
6699
|
+
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
6700
|
+
*
|
|
5932
6701
|
* @returns {Promise<ConsumerPlanCollection>}
|
|
5933
6702
|
* @throws {CommonMessageException}
|
|
5934
6703
|
* @throws {ClientException}
|
|
@@ -5953,15 +6722,17 @@ var ConsumerPlanTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
5953
6722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5954
6723
|
throw new CommonMessageException(await response.json());
|
|
5955
6724
|
}
|
|
5956
|
-
throw new
|
|
6725
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5957
6726
|
}
|
|
5958
6727
|
};
|
|
5959
6728
|
|
|
5960
6729
|
// src/ConsumerScopeTag.ts
|
|
5961
|
-
var
|
|
5962
|
-
var
|
|
5963
|
-
var ConsumerScopeTag = class extends
|
|
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 {
|
|
5964
6733
|
/**
|
|
6734
|
+
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
6735
|
+
*
|
|
5965
6736
|
* @returns {Promise<ConsumerScopeCollection>}
|
|
5966
6737
|
* @throws {CommonMessageException}
|
|
5967
6738
|
* @throws {ClientException}
|
|
@@ -5986,9 +6757,11 @@ var ConsumerScopeTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
5986
6757
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5987
6758
|
throw new CommonMessageException(await response.json());
|
|
5988
6759
|
}
|
|
5989
|
-
throw new
|
|
6760
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5990
6761
|
}
|
|
5991
6762
|
/**
|
|
6763
|
+
* Returns all scopes by category
|
|
6764
|
+
*
|
|
5992
6765
|
* @returns {Promise<ConsumerScopeCategories>}
|
|
5993
6766
|
* @throws {CommonMessageException}
|
|
5994
6767
|
* @throws {ClientException}
|
|
@@ -6009,15 +6782,17 @@ var ConsumerScopeTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6009
6782
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6010
6783
|
throw new CommonMessageException(await response.json());
|
|
6011
6784
|
}
|
|
6012
|
-
throw new
|
|
6785
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6013
6786
|
}
|
|
6014
6787
|
};
|
|
6015
6788
|
|
|
6016
6789
|
// src/ConsumerTokenTag.ts
|
|
6017
|
-
var
|
|
6018
|
-
var
|
|
6019
|
-
var ConsumerTokenTag = class extends
|
|
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 {
|
|
6020
6793
|
/**
|
|
6794
|
+
* Creates a new token for the authenticated user
|
|
6795
|
+
*
|
|
6021
6796
|
* @returns {Promise<ConsumerTokenAccessToken>}
|
|
6022
6797
|
* @throws {CommonMessageException}
|
|
6023
6798
|
* @throws {ClientException}
|
|
@@ -6041,9 +6816,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6041
6816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6042
6817
|
throw new CommonMessageException(await response.json());
|
|
6043
6818
|
}
|
|
6044
|
-
throw new
|
|
6819
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6045
6820
|
}
|
|
6046
6821
|
/**
|
|
6822
|
+
* Deletes an existing token for the authenticated user
|
|
6823
|
+
*
|
|
6047
6824
|
* @returns {Promise<CommonMessage>}
|
|
6048
6825
|
* @throws {CommonMessageException}
|
|
6049
6826
|
* @throws {ClientException}
|
|
@@ -6066,9 +6843,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6066
6843
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6067
6844
|
throw new CommonMessageException(await response.json());
|
|
6068
6845
|
}
|
|
6069
|
-
throw new
|
|
6846
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6070
6847
|
}
|
|
6071
6848
|
/**
|
|
6849
|
+
* Returns a specific token for the authenticated user
|
|
6850
|
+
*
|
|
6072
6851
|
* @returns {Promise<ConsumerToken>}
|
|
6073
6852
|
* @throws {CommonMessageException}
|
|
6074
6853
|
* @throws {ClientException}
|
|
@@ -6091,9 +6870,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6091
6870
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6092
6871
|
throw new CommonMessageException(await response.json());
|
|
6093
6872
|
}
|
|
6094
|
-
throw new
|
|
6873
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6095
6874
|
}
|
|
6096
6875
|
/**
|
|
6876
|
+
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
6877
|
+
*
|
|
6097
6878
|
* @returns {Promise<ConsumerTokenCollection>}
|
|
6098
6879
|
* @throws {CommonMessageException}
|
|
6099
6880
|
* @throws {ClientException}
|
|
@@ -6118,9 +6899,11 @@ var ConsumerTokenTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6118
6899
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6119
6900
|
throw new CommonMessageException(await response.json());
|
|
6120
6901
|
}
|
|
6121
|
-
throw new
|
|
6902
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6122
6903
|
}
|
|
6123
6904
|
/**
|
|
6905
|
+
* Updates an existing token for the authenticated user
|
|
6906
|
+
*
|
|
6124
6907
|
* @returns {Promise<ConsumerTokenAccessToken>}
|
|
6125
6908
|
* @throws {CommonMessageException}
|
|
6126
6909
|
* @throws {ClientException}
|
|
@@ -6146,15 +6929,17 @@ var ConsumerTokenTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6146
6929
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6147
6930
|
throw new CommonMessageException(await response.json());
|
|
6148
6931
|
}
|
|
6149
|
-
throw new
|
|
6932
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6150
6933
|
}
|
|
6151
6934
|
};
|
|
6152
6935
|
|
|
6153
6936
|
// src/ConsumerTransactionTag.ts
|
|
6154
|
-
var
|
|
6155
|
-
var
|
|
6156
|
-
var ConsumerTransactionTag = class extends
|
|
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 {
|
|
6157
6940
|
/**
|
|
6941
|
+
* Returns a specific transaction for the authenticated user
|
|
6942
|
+
*
|
|
6158
6943
|
* @returns {Promise<ConsumerTransaction>}
|
|
6159
6944
|
* @throws {CommonMessageException}
|
|
6160
6945
|
* @throws {ClientException}
|
|
@@ -6177,9 +6962,11 @@ var ConsumerTransactionTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
6177
6962
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6178
6963
|
throw new CommonMessageException(await response.json());
|
|
6179
6964
|
}
|
|
6180
|
-
throw new
|
|
6965
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6181
6966
|
}
|
|
6182
6967
|
/**
|
|
6968
|
+
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
6969
|
+
*
|
|
6183
6970
|
* @returns {Promise<ConsumerTransactionCollection>}
|
|
6184
6971
|
* @throws {CommonMessageException}
|
|
6185
6972
|
* @throws {ClientException}
|
|
@@ -6204,15 +6991,17 @@ var ConsumerTransactionTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
6204
6991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6205
6992
|
throw new CommonMessageException(await response.json());
|
|
6206
6993
|
}
|
|
6207
|
-
throw new
|
|
6994
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6208
6995
|
}
|
|
6209
6996
|
};
|
|
6210
6997
|
|
|
6211
6998
|
// src/ConsumerWebhookTag.ts
|
|
6212
|
-
var
|
|
6213
|
-
var
|
|
6214
|
-
var ConsumerWebhookTag = class extends
|
|
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 {
|
|
6215
7002
|
/**
|
|
7003
|
+
* Creates a new webhook for the authenticated user
|
|
7004
|
+
*
|
|
6216
7005
|
* @returns {Promise<CommonMessage>}
|
|
6217
7006
|
* @throws {CommonMessageException}
|
|
6218
7007
|
* @throws {ClientException}
|
|
@@ -6236,9 +7025,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6236
7025
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6237
7026
|
throw new CommonMessageException(await response.json());
|
|
6238
7027
|
}
|
|
6239
|
-
throw new
|
|
7028
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6240
7029
|
}
|
|
6241
7030
|
/**
|
|
7031
|
+
* Deletes an existing webhook for the authenticated user
|
|
7032
|
+
*
|
|
6242
7033
|
* @returns {Promise<CommonMessage>}
|
|
6243
7034
|
* @throws {CommonMessageException}
|
|
6244
7035
|
* @throws {ClientException}
|
|
@@ -6261,9 +7052,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6261
7052
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6262
7053
|
throw new CommonMessageException(await response.json());
|
|
6263
7054
|
}
|
|
6264
|
-
throw new
|
|
7055
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6265
7056
|
}
|
|
6266
7057
|
/**
|
|
7058
|
+
* Returns a specific webhook for the authenticated user
|
|
7059
|
+
*
|
|
6267
7060
|
* @returns {Promise<ConsumerWebhook>}
|
|
6268
7061
|
* @throws {CommonMessageException}
|
|
6269
7062
|
* @throws {ClientException}
|
|
@@ -6286,9 +7079,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6286
7079
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6287
7080
|
throw new CommonMessageException(await response.json());
|
|
6288
7081
|
}
|
|
6289
|
-
throw new
|
|
7082
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6290
7083
|
}
|
|
6291
7084
|
/**
|
|
7085
|
+
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
7086
|
+
*
|
|
6292
7087
|
* @returns {Promise<ConsumerWebhookCollection>}
|
|
6293
7088
|
* @throws {CommonMessageException}
|
|
6294
7089
|
* @throws {ClientException}
|
|
@@ -6313,9 +7108,11 @@ var ConsumerWebhookTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6313
7108
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6314
7109
|
throw new CommonMessageException(await response.json());
|
|
6315
7110
|
}
|
|
6316
|
-
throw new
|
|
7111
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6317
7112
|
}
|
|
6318
7113
|
/**
|
|
7114
|
+
* Updates an existing webhook for the authenticated user
|
|
7115
|
+
*
|
|
6319
7116
|
* @returns {Promise<CommonMessage>}
|
|
6320
7117
|
* @throws {CommonMessageException}
|
|
6321
7118
|
* @throws {ClientException}
|
|
@@ -6341,12 +7138,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6341
7138
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6342
7139
|
throw new CommonMessageException(await response.json());
|
|
6343
7140
|
}
|
|
6344
|
-
throw new
|
|
7141
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6345
7142
|
}
|
|
6346
7143
|
};
|
|
6347
7144
|
|
|
6348
7145
|
// src/ConsumerTag.ts
|
|
6349
|
-
var ConsumerTag = class extends
|
|
7146
|
+
var ConsumerTag = class extends import_sdkgen_client110.TagAbstract {
|
|
6350
7147
|
account() {
|
|
6351
7148
|
return new ConsumerAccountTag(
|
|
6352
7149
|
this.httpClient,
|
|
@@ -6434,13 +7231,15 @@ var ConsumerTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
6434
7231
|
};
|
|
6435
7232
|
|
|
6436
7233
|
// src/SystemTag.ts
|
|
6437
|
-
var
|
|
7234
|
+
var import_sdkgen_client117 = require("sdkgen-client");
|
|
6438
7235
|
|
|
6439
7236
|
// src/SystemConnectionTag.ts
|
|
6440
|
-
var
|
|
6441
|
-
var
|
|
6442
|
-
var SystemConnectionTag = class extends
|
|
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 {
|
|
6443
7240
|
/**
|
|
7241
|
+
* Connection OAuth2 callback to authorize a connection
|
|
7242
|
+
*
|
|
6444
7243
|
* @returns {Promise<CommonMessage>}
|
|
6445
7244
|
* @throws {CommonMessageException}
|
|
6446
7245
|
* @throws {ClientException}
|
|
@@ -6463,15 +7262,17 @@ var SystemConnectionTag = class extends import_sdkgen_client103.TagAbstract {
|
|
|
6463
7262
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6464
7263
|
throw new CommonMessageException(await response.json());
|
|
6465
7264
|
}
|
|
6466
|
-
throw new
|
|
7265
|
+
throw new import_sdkgen_client112.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6467
7266
|
}
|
|
6468
7267
|
};
|
|
6469
7268
|
|
|
6470
7269
|
// src/SystemMetaTag.ts
|
|
6471
|
-
var
|
|
6472
|
-
var
|
|
6473
|
-
var SystemMetaTag = class extends
|
|
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 {
|
|
6474
7273
|
/**
|
|
7274
|
+
* Returns meta information and links about the current installed Fusio version
|
|
7275
|
+
*
|
|
6475
7276
|
* @returns {Promise<SystemAbout>}
|
|
6476
7277
|
* @throws {CommonMessageException}
|
|
6477
7278
|
* @throws {ClientException}
|
|
@@ -6492,9 +7293,11 @@ var SystemMetaTag = class extends import_sdkgen_client105.TagAbstract {
|
|
|
6492
7293
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6493
7294
|
throw new CommonMessageException(await response.json());
|
|
6494
7295
|
}
|
|
6495
|
-
throw new
|
|
7296
|
+
throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6496
7297
|
}
|
|
6497
7298
|
/**
|
|
7299
|
+
* Debug endpoint which returns the provided data
|
|
7300
|
+
*
|
|
6498
7301
|
* @returns {Promise<Passthru>}
|
|
6499
7302
|
* @throws {CommonMessageException}
|
|
6500
7303
|
* @throws {ClientException}
|
|
@@ -6518,9 +7321,11 @@ var SystemMetaTag = class extends import_sdkgen_client105.TagAbstract {
|
|
|
6518
7321
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6519
7322
|
throw new CommonMessageException(await response.json());
|
|
6520
7323
|
}
|
|
6521
|
-
throw new
|
|
7324
|
+
throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6522
7325
|
}
|
|
6523
7326
|
/**
|
|
7327
|
+
* Health check endpoint which returns information about the health status of the system
|
|
7328
|
+
*
|
|
6524
7329
|
* @returns {Promise<SystemHealthCheck>}
|
|
6525
7330
|
* @throws {CommonMessageException}
|
|
6526
7331
|
* @throws {ClientException}
|
|
@@ -6541,32 +7346,11 @@ var SystemMetaTag = class extends import_sdkgen_client105.TagAbstract {
|
|
|
6541
7346
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6542
7347
|
throw new CommonMessageException(await response.json());
|
|
6543
7348
|
}
|
|
6544
|
-
throw new
|
|
6545
|
-
}
|
|
6546
|
-
/**
|
|
6547
|
-
* @returns {Promise<SystemOAuthConfiguration>}
|
|
6548
|
-
* @throws {CommonMessageException}
|
|
6549
|
-
* @throws {ClientException}
|
|
6550
|
-
*/
|
|
6551
|
-
async getOAuthConfiguration() {
|
|
6552
|
-
const url = this.parser.url("/system/oauth-authorization-server", {});
|
|
6553
|
-
let request = {
|
|
6554
|
-
url,
|
|
6555
|
-
method: "GET",
|
|
6556
|
-
headers: {},
|
|
6557
|
-
params: this.parser.query({}, [])
|
|
6558
|
-
};
|
|
6559
|
-
const response = await this.httpClient.request(request);
|
|
6560
|
-
if (response.ok) {
|
|
6561
|
-
return await response.json();
|
|
6562
|
-
}
|
|
6563
|
-
const statusCode = response.status;
|
|
6564
|
-
if (statusCode >= 0 && statusCode <= 999) {
|
|
6565
|
-
throw new CommonMessageException(await response.json());
|
|
6566
|
-
}
|
|
6567
|
-
throw new import_sdkgen_client106.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7349
|
+
throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6568
7350
|
}
|
|
6569
7351
|
/**
|
|
7352
|
+
* Returns all available routes
|
|
7353
|
+
*
|
|
6570
7354
|
* @returns {Promise<SystemRoute>}
|
|
6571
7355
|
* @throws {CommonMessageException}
|
|
6572
7356
|
* @throws {ClientException}
|
|
@@ -6587,9 +7371,11 @@ var SystemMetaTag = class extends import_sdkgen_client105.TagAbstract {
|
|
|
6587
7371
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6588
7372
|
throw new CommonMessageException(await response.json());
|
|
6589
7373
|
}
|
|
6590
|
-
throw new
|
|
7374
|
+
throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6591
7375
|
}
|
|
6592
7376
|
/**
|
|
7377
|
+
* Returns details of a specific schema
|
|
7378
|
+
*
|
|
6593
7379
|
* @returns {Promise<SystemSchema>}
|
|
6594
7380
|
* @throws {CommonMessageException}
|
|
6595
7381
|
* @throws {ClientException}
|
|
@@ -6612,15 +7398,17 @@ var SystemMetaTag = class extends import_sdkgen_client105.TagAbstract {
|
|
|
6612
7398
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6613
7399
|
throw new CommonMessageException(await response.json());
|
|
6614
7400
|
}
|
|
6615
|
-
throw new
|
|
7401
|
+
throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6616
7402
|
}
|
|
6617
7403
|
};
|
|
6618
7404
|
|
|
6619
7405
|
// src/SystemPaymentTag.ts
|
|
6620
|
-
var
|
|
6621
|
-
var
|
|
6622
|
-
var SystemPaymentTag = class extends
|
|
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 {
|
|
6623
7409
|
/**
|
|
7410
|
+
* Payment webhook endpoint after successful purchase of a plan
|
|
7411
|
+
*
|
|
6624
7412
|
* @returns {Promise<CommonMessage>}
|
|
6625
7413
|
* @throws {CommonMessageException}
|
|
6626
7414
|
* @throws {ClientException}
|
|
@@ -6643,12 +7431,12 @@ var SystemPaymentTag = class extends import_sdkgen_client107.TagAbstract {
|
|
|
6643
7431
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6644
7432
|
throw new CommonMessageException(await response.json());
|
|
6645
7433
|
}
|
|
6646
|
-
throw new
|
|
7434
|
+
throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6647
7435
|
}
|
|
6648
7436
|
};
|
|
6649
7437
|
|
|
6650
7438
|
// src/SystemTag.ts
|
|
6651
|
-
var SystemTag = class extends
|
|
7439
|
+
var SystemTag = class extends import_sdkgen_client117.TagAbstract {
|
|
6652
7440
|
connection() {
|
|
6653
7441
|
return new SystemConnectionTag(
|
|
6654
7442
|
this.httpClient,
|
|
@@ -6670,7 +7458,7 @@ var SystemTag = class extends import_sdkgen_client109.TagAbstract {
|
|
|
6670
7458
|
};
|
|
6671
7459
|
|
|
6672
7460
|
// src/Client.ts
|
|
6673
|
-
var Client = class _Client extends
|
|
7461
|
+
var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
|
|
6674
7462
|
authorization() {
|
|
6675
7463
|
return new AuthorizationTag(
|
|
6676
7464
|
this.httpClient,
|
|
@@ -6696,7 +7484,7 @@ var Client = class _Client extends import_sdkgen_client110.ClientAbstract {
|
|
|
6696
7484
|
);
|
|
6697
7485
|
}
|
|
6698
7486
|
static buildAnonymous(baseUrl) {
|
|
6699
|
-
return new _Client(baseUrl, new
|
|
7487
|
+
return new _Client(baseUrl, new import_sdkgen_client119.Anonymous());
|
|
6700
7488
|
}
|
|
6701
7489
|
};
|
|
6702
7490
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -6709,11 +7497,15 @@ var Client = class _Client extends import_sdkgen_client110.ClientAbstract {
|
|
|
6709
7497
|
BackendBackupTag,
|
|
6710
7498
|
BackendCategoryTag,
|
|
6711
7499
|
BackendConfigTag,
|
|
7500
|
+
BackendConnectionDatabaseTag,
|
|
7501
|
+
BackendConnectionFilesystemTag,
|
|
7502
|
+
BackendConnectionHttpTag,
|
|
7503
|
+
BackendConnectionSdkTag,
|
|
6712
7504
|
BackendConnectionTag,
|
|
6713
7505
|
BackendCronjobTag,
|
|
6714
7506
|
BackendDashboardTag,
|
|
6715
|
-
BackendDatabaseTag,
|
|
6716
7507
|
BackendEventTag,
|
|
7508
|
+
BackendFirewallTag,
|
|
6717
7509
|
BackendFormTag,
|
|
6718
7510
|
BackendGeneratorTag,
|
|
6719
7511
|
BackendIdentityTag,
|