fusio-sdk 6.4.0 → 7.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 +1015 -465
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +549 -53
- package/dist/index.d.ts +549 -53
- package/dist/index.js +980 -434
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -215,7 +215,7 @@ var BackendActionTag = class extends TagAbstract3 {
|
|
|
215
215
|
throw new UnknownStatusCodeException3("The server returned an unknown status code: " + statusCode);
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
|
-
* Executes a specific action
|
|
218
|
+
* Executes a specific action. This method should be used to test an action configuration
|
|
219
219
|
*
|
|
220
220
|
* @returns {Promise<BackendActionExecuteResponse>}
|
|
221
221
|
* @throws {CommonMessageException}
|
|
@@ -325,6 +325,37 @@ var BackendActionTag = class extends TagAbstract3 {
|
|
|
325
325
|
}
|
|
326
326
|
throw new UnknownStatusCodeException3("The server returned an unknown status code: " + statusCode);
|
|
327
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Returns a paginated list of action commits
|
|
330
|
+
*
|
|
331
|
+
* @returns {Promise<BackendActionCommitCollection>}
|
|
332
|
+
* @throws {CommonMessageException}
|
|
333
|
+
* @throws {ClientException}
|
|
334
|
+
*/
|
|
335
|
+
async getCommits(actionId, startIndex, count, search) {
|
|
336
|
+
const url = this.parser.url("/backend/action/$action_id<[0-9]+|^~>/commit", {
|
|
337
|
+
"action_id": actionId
|
|
338
|
+
});
|
|
339
|
+
let request = {
|
|
340
|
+
url,
|
|
341
|
+
method: "GET",
|
|
342
|
+
headers: {},
|
|
343
|
+
params: this.parser.query({
|
|
344
|
+
"startIndex": startIndex,
|
|
345
|
+
"count": count,
|
|
346
|
+
"search": search
|
|
347
|
+
}, [])
|
|
348
|
+
};
|
|
349
|
+
const response = await this.httpClient.request(request);
|
|
350
|
+
if (response.ok) {
|
|
351
|
+
return await response.json();
|
|
352
|
+
}
|
|
353
|
+
const statusCode = response.status;
|
|
354
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
355
|
+
throw new CommonMessageException(await response.json());
|
|
356
|
+
}
|
|
357
|
+
throw new UnknownStatusCodeException3("The server returned an unknown status code: " + statusCode);
|
|
358
|
+
}
|
|
328
359
|
/**
|
|
329
360
|
* Returns the action config form
|
|
330
361
|
*
|
|
@@ -384,10 +415,253 @@ var BackendActionTag = class extends TagAbstract3 {
|
|
|
384
415
|
}
|
|
385
416
|
};
|
|
386
417
|
|
|
387
|
-
// src/
|
|
418
|
+
// src/BackendAgentMessageTag.ts
|
|
388
419
|
import { TagAbstract as TagAbstract4 } from "sdkgen-client";
|
|
389
420
|
import { UnknownStatusCodeException as UnknownStatusCodeException4 } from "sdkgen-client";
|
|
390
|
-
var
|
|
421
|
+
var BackendAgentMessageTag = class extends TagAbstract4 {
|
|
422
|
+
/**
|
|
423
|
+
* Returns a paginated list of agent messages
|
|
424
|
+
*
|
|
425
|
+
* @returns {Promise<BackendAgentMessageCollection>}
|
|
426
|
+
* @throws {CommonMessageException}
|
|
427
|
+
* @throws {ClientException}
|
|
428
|
+
*/
|
|
429
|
+
async getAll(agentId, parent) {
|
|
430
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
431
|
+
"agent_id": agentId
|
|
432
|
+
});
|
|
433
|
+
let request = {
|
|
434
|
+
url,
|
|
435
|
+
method: "GET",
|
|
436
|
+
headers: {},
|
|
437
|
+
params: this.parser.query({
|
|
438
|
+
"parent": parent
|
|
439
|
+
}, [])
|
|
440
|
+
};
|
|
441
|
+
const response = await this.httpClient.request(request);
|
|
442
|
+
if (response.ok) {
|
|
443
|
+
return await response.json();
|
|
444
|
+
}
|
|
445
|
+
const statusCode = response.status;
|
|
446
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
447
|
+
throw new CommonMessageException(await response.json());
|
|
448
|
+
}
|
|
449
|
+
throw new UnknownStatusCodeException4("The server returned an unknown status code: " + statusCode);
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Submits a new agent message
|
|
453
|
+
*
|
|
454
|
+
* @returns {Promise<BackendAgentMessage>}
|
|
455
|
+
* @throws {CommonMessageException}
|
|
456
|
+
* @throws {ClientException}
|
|
457
|
+
*/
|
|
458
|
+
async submit(agentId, payload) {
|
|
459
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
460
|
+
"agent_id": agentId
|
|
461
|
+
});
|
|
462
|
+
let request = {
|
|
463
|
+
url,
|
|
464
|
+
method: "POST",
|
|
465
|
+
headers: {
|
|
466
|
+
"Content-Type": "application/json"
|
|
467
|
+
},
|
|
468
|
+
params: this.parser.query({}, []),
|
|
469
|
+
data: payload
|
|
470
|
+
};
|
|
471
|
+
const response = await this.httpClient.request(request);
|
|
472
|
+
if (response.ok) {
|
|
473
|
+
return await response.json();
|
|
474
|
+
}
|
|
475
|
+
const statusCode = response.status;
|
|
476
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
477
|
+
throw new CommonMessageException(await response.json());
|
|
478
|
+
}
|
|
479
|
+
throw new UnknownStatusCodeException4("The server returned an unknown status code: " + statusCode);
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
// src/BackendAgentTag.ts
|
|
484
|
+
import { TagAbstract as TagAbstract5 } from "sdkgen-client";
|
|
485
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException5 } from "sdkgen-client";
|
|
486
|
+
var BackendAgentTag = class extends TagAbstract5 {
|
|
487
|
+
message() {
|
|
488
|
+
return new BackendAgentMessageTag(
|
|
489
|
+
this.httpClient,
|
|
490
|
+
this.parser
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Creates a new agent
|
|
495
|
+
*
|
|
496
|
+
* @returns {Promise<CommonMessage>}
|
|
497
|
+
* @throws {CommonMessageException}
|
|
498
|
+
* @throws {ClientException}
|
|
499
|
+
*/
|
|
500
|
+
async create(payload) {
|
|
501
|
+
const url = this.parser.url("/backend/agent", {});
|
|
502
|
+
let request = {
|
|
503
|
+
url,
|
|
504
|
+
method: "POST",
|
|
505
|
+
headers: {
|
|
506
|
+
"Content-Type": "application/json"
|
|
507
|
+
},
|
|
508
|
+
params: this.parser.query({}, []),
|
|
509
|
+
data: payload
|
|
510
|
+
};
|
|
511
|
+
const response = await this.httpClient.request(request);
|
|
512
|
+
if (response.ok) {
|
|
513
|
+
return await response.json();
|
|
514
|
+
}
|
|
515
|
+
const statusCode = response.status;
|
|
516
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
517
|
+
throw new CommonMessageException(await response.json());
|
|
518
|
+
}
|
|
519
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Deletes an existing agent
|
|
523
|
+
*
|
|
524
|
+
* @returns {Promise<CommonMessage>}
|
|
525
|
+
* @throws {CommonMessageException}
|
|
526
|
+
* @throws {ClientException}
|
|
527
|
+
*/
|
|
528
|
+
async delete(agentId) {
|
|
529
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
530
|
+
"agent_id": agentId
|
|
531
|
+
});
|
|
532
|
+
let request = {
|
|
533
|
+
url,
|
|
534
|
+
method: "DELETE",
|
|
535
|
+
headers: {},
|
|
536
|
+
params: this.parser.query({}, [])
|
|
537
|
+
};
|
|
538
|
+
const response = await this.httpClient.request(request);
|
|
539
|
+
if (response.ok) {
|
|
540
|
+
return await response.json();
|
|
541
|
+
}
|
|
542
|
+
const statusCode = response.status;
|
|
543
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
544
|
+
throw new CommonMessageException(await response.json());
|
|
545
|
+
}
|
|
546
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Returns a specific agent
|
|
550
|
+
*
|
|
551
|
+
* @returns {Promise<BackendAgent>}
|
|
552
|
+
* @throws {CommonMessageException}
|
|
553
|
+
* @throws {ClientException}
|
|
554
|
+
*/
|
|
555
|
+
async get(agentId) {
|
|
556
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
557
|
+
"agent_id": agentId
|
|
558
|
+
});
|
|
559
|
+
let request = {
|
|
560
|
+
url,
|
|
561
|
+
method: "GET",
|
|
562
|
+
headers: {},
|
|
563
|
+
params: this.parser.query({}, [])
|
|
564
|
+
};
|
|
565
|
+
const response = await this.httpClient.request(request);
|
|
566
|
+
if (response.ok) {
|
|
567
|
+
return await response.json();
|
|
568
|
+
}
|
|
569
|
+
const statusCode = response.status;
|
|
570
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
571
|
+
throw new CommonMessageException(await response.json());
|
|
572
|
+
}
|
|
573
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Returns a paginated list of agents
|
|
577
|
+
*
|
|
578
|
+
* @returns {Promise<BackendAgentCollection>}
|
|
579
|
+
* @throws {CommonMessageException}
|
|
580
|
+
* @throws {ClientException}
|
|
581
|
+
*/
|
|
582
|
+
async getAll(startIndex, count, search) {
|
|
583
|
+
const url = this.parser.url("/backend/agent", {});
|
|
584
|
+
let request = {
|
|
585
|
+
url,
|
|
586
|
+
method: "GET",
|
|
587
|
+
headers: {},
|
|
588
|
+
params: this.parser.query({
|
|
589
|
+
"startIndex": startIndex,
|
|
590
|
+
"count": count,
|
|
591
|
+
"search": search
|
|
592
|
+
}, [])
|
|
593
|
+
};
|
|
594
|
+
const response = await this.httpClient.request(request);
|
|
595
|
+
if (response.ok) {
|
|
596
|
+
return await response.json();
|
|
597
|
+
}
|
|
598
|
+
const statusCode = response.status;
|
|
599
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
600
|
+
throw new CommonMessageException(await response.json());
|
|
601
|
+
}
|
|
602
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Returns available tools for an agent
|
|
606
|
+
*
|
|
607
|
+
* @returns {Promise<BackendAgentTools>}
|
|
608
|
+
* @throws {CommonMessageException}
|
|
609
|
+
* @throws {ClientException}
|
|
610
|
+
*/
|
|
611
|
+
async getTools() {
|
|
612
|
+
const url = this.parser.url("/backend/agent/tools", {});
|
|
613
|
+
let request = {
|
|
614
|
+
url,
|
|
615
|
+
method: "GET",
|
|
616
|
+
headers: {},
|
|
617
|
+
params: this.parser.query({}, [])
|
|
618
|
+
};
|
|
619
|
+
const response = await this.httpClient.request(request);
|
|
620
|
+
if (response.ok) {
|
|
621
|
+
return await response.json();
|
|
622
|
+
}
|
|
623
|
+
const statusCode = response.status;
|
|
624
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
625
|
+
throw new CommonMessageException(await response.json());
|
|
626
|
+
}
|
|
627
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Updates an existing agent
|
|
631
|
+
*
|
|
632
|
+
* @returns {Promise<CommonMessage>}
|
|
633
|
+
* @throws {CommonMessageException}
|
|
634
|
+
* @throws {ClientException}
|
|
635
|
+
*/
|
|
636
|
+
async update(agentId, payload) {
|
|
637
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
638
|
+
"agent_id": agentId
|
|
639
|
+
});
|
|
640
|
+
let request = {
|
|
641
|
+
url,
|
|
642
|
+
method: "PUT",
|
|
643
|
+
headers: {
|
|
644
|
+
"Content-Type": "application/json"
|
|
645
|
+
},
|
|
646
|
+
params: this.parser.query({}, []),
|
|
647
|
+
data: payload
|
|
648
|
+
};
|
|
649
|
+
const response = await this.httpClient.request(request);
|
|
650
|
+
if (response.ok) {
|
|
651
|
+
return await response.json();
|
|
652
|
+
}
|
|
653
|
+
const statusCode = response.status;
|
|
654
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
655
|
+
throw new CommonMessageException(await response.json());
|
|
656
|
+
}
|
|
657
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
// src/BackendAppTag.ts
|
|
662
|
+
import { TagAbstract as TagAbstract6 } from "sdkgen-client";
|
|
663
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException6 } from "sdkgen-client";
|
|
664
|
+
var BackendAppTag = class extends TagAbstract6 {
|
|
391
665
|
/**
|
|
392
666
|
* Creates a new app
|
|
393
667
|
*
|
|
@@ -414,7 +688,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
414
688
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
415
689
|
throw new CommonMessageException(await response.json());
|
|
416
690
|
}
|
|
417
|
-
throw new
|
|
691
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
418
692
|
}
|
|
419
693
|
/**
|
|
420
694
|
* Deletes an existing app
|
|
@@ -441,7 +715,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
441
715
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
442
716
|
throw new CommonMessageException(await response.json());
|
|
443
717
|
}
|
|
444
|
-
throw new
|
|
718
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
445
719
|
}
|
|
446
720
|
/**
|
|
447
721
|
* Deletes an existing token from an app
|
|
@@ -469,7 +743,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
469
743
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
470
744
|
throw new CommonMessageException(await response.json());
|
|
471
745
|
}
|
|
472
|
-
throw new
|
|
746
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
473
747
|
}
|
|
474
748
|
/**
|
|
475
749
|
* Returns a specific app
|
|
@@ -496,7 +770,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
496
770
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
497
771
|
throw new CommonMessageException(await response.json());
|
|
498
772
|
}
|
|
499
|
-
throw new
|
|
773
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
500
774
|
}
|
|
501
775
|
/**
|
|
502
776
|
* Returns a paginated list of apps
|
|
@@ -525,7 +799,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
525
799
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
526
800
|
throw new CommonMessageException(await response.json());
|
|
527
801
|
}
|
|
528
|
-
throw new
|
|
802
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
529
803
|
}
|
|
530
804
|
/**
|
|
531
805
|
* Updates an existing app
|
|
@@ -555,14 +829,14 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
555
829
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
556
830
|
throw new CommonMessageException(await response.json());
|
|
557
831
|
}
|
|
558
|
-
throw new
|
|
832
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
559
833
|
}
|
|
560
834
|
};
|
|
561
835
|
|
|
562
836
|
// src/BackendAuditTag.ts
|
|
563
|
-
import { TagAbstract as
|
|
564
|
-
import { UnknownStatusCodeException as
|
|
565
|
-
var BackendAuditTag = class extends
|
|
837
|
+
import { TagAbstract as TagAbstract7 } from "sdkgen-client";
|
|
838
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException7 } from "sdkgen-client";
|
|
839
|
+
var BackendAuditTag = class extends TagAbstract7 {
|
|
566
840
|
/**
|
|
567
841
|
* Returns a specific audit
|
|
568
842
|
*
|
|
@@ -588,7 +862,7 @@ var BackendAuditTag = class extends TagAbstract5 {
|
|
|
588
862
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
589
863
|
throw new CommonMessageException(await response.json());
|
|
590
864
|
}
|
|
591
|
-
throw new
|
|
865
|
+
throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
|
|
592
866
|
}
|
|
593
867
|
/**
|
|
594
868
|
* Returns a paginated list of audits
|
|
@@ -624,14 +898,14 @@ var BackendAuditTag = class extends TagAbstract5 {
|
|
|
624
898
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
625
899
|
throw new CommonMessageException(await response.json());
|
|
626
900
|
}
|
|
627
|
-
throw new
|
|
901
|
+
throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
|
|
628
902
|
}
|
|
629
903
|
};
|
|
630
904
|
|
|
631
905
|
// src/BackendBackupTag.ts
|
|
632
|
-
import { TagAbstract as
|
|
633
|
-
import { UnknownStatusCodeException as
|
|
634
|
-
var BackendBackupTag = class extends
|
|
906
|
+
import { TagAbstract as TagAbstract8 } from "sdkgen-client";
|
|
907
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException8 } from "sdkgen-client";
|
|
908
|
+
var BackendBackupTag = class extends TagAbstract8 {
|
|
635
909
|
/**
|
|
636
910
|
* Generates an backup of the current system
|
|
637
911
|
*
|
|
@@ -655,7 +929,7 @@ var BackendBackupTag = class extends TagAbstract6 {
|
|
|
655
929
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
656
930
|
throw new CommonMessageException(await response.json());
|
|
657
931
|
}
|
|
658
|
-
throw new
|
|
932
|
+
throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
|
|
659
933
|
}
|
|
660
934
|
/**
|
|
661
935
|
* Imports an backup to the current system
|
|
@@ -683,14 +957,14 @@ var BackendBackupTag = class extends TagAbstract6 {
|
|
|
683
957
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
684
958
|
throw new CommonMessageException(await response.json());
|
|
685
959
|
}
|
|
686
|
-
throw new
|
|
960
|
+
throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
|
|
687
961
|
}
|
|
688
962
|
};
|
|
689
963
|
|
|
690
964
|
// src/BackendBundleTag.ts
|
|
691
|
-
import { TagAbstract as
|
|
692
|
-
import { UnknownStatusCodeException as
|
|
693
|
-
var BackendBundleTag = class extends
|
|
965
|
+
import { TagAbstract as TagAbstract9 } from "sdkgen-client";
|
|
966
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException9 } from "sdkgen-client";
|
|
967
|
+
var BackendBundleTag = class extends TagAbstract9 {
|
|
694
968
|
/**
|
|
695
969
|
* Creates a new bundle
|
|
696
970
|
*
|
|
@@ -717,7 +991,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
717
991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
718
992
|
throw new CommonMessageException(await response.json());
|
|
719
993
|
}
|
|
720
|
-
throw new
|
|
994
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
721
995
|
}
|
|
722
996
|
/**
|
|
723
997
|
* Deletes an existing bundle
|
|
@@ -744,7 +1018,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
744
1018
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
745
1019
|
throw new CommonMessageException(await response.json());
|
|
746
1020
|
}
|
|
747
|
-
throw new
|
|
1021
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
748
1022
|
}
|
|
749
1023
|
/**
|
|
750
1024
|
* Returns a specific bundle
|
|
@@ -771,7 +1045,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
771
1045
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
772
1046
|
throw new CommonMessageException(await response.json());
|
|
773
1047
|
}
|
|
774
|
-
throw new
|
|
1048
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
775
1049
|
}
|
|
776
1050
|
/**
|
|
777
1051
|
* Returns a paginated list of bundles
|
|
@@ -800,7 +1074,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
800
1074
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
801
1075
|
throw new CommonMessageException(await response.json());
|
|
802
1076
|
}
|
|
803
|
-
throw new
|
|
1077
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
804
1078
|
}
|
|
805
1079
|
/**
|
|
806
1080
|
* Publish an existing bundle to the marketplace
|
|
@@ -827,7 +1101,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
827
1101
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
828
1102
|
throw new CommonMessageException(await response.json());
|
|
829
1103
|
}
|
|
830
|
-
throw new
|
|
1104
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
831
1105
|
}
|
|
832
1106
|
/**
|
|
833
1107
|
* Updates an existing bundle
|
|
@@ -857,14 +1131,14 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
857
1131
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
858
1132
|
throw new CommonMessageException(await response.json());
|
|
859
1133
|
}
|
|
860
|
-
throw new
|
|
1134
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
861
1135
|
}
|
|
862
1136
|
};
|
|
863
1137
|
|
|
864
1138
|
// src/BackendCategoryTag.ts
|
|
865
|
-
import { TagAbstract as
|
|
866
|
-
import { UnknownStatusCodeException as
|
|
867
|
-
var BackendCategoryTag = class extends
|
|
1139
|
+
import { TagAbstract as TagAbstract10 } from "sdkgen-client";
|
|
1140
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException10 } from "sdkgen-client";
|
|
1141
|
+
var BackendCategoryTag = class extends TagAbstract10 {
|
|
868
1142
|
/**
|
|
869
1143
|
* Creates a new category
|
|
870
1144
|
*
|
|
@@ -891,7 +1165,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
891
1165
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
892
1166
|
throw new CommonMessageException(await response.json());
|
|
893
1167
|
}
|
|
894
|
-
throw new
|
|
1168
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
895
1169
|
}
|
|
896
1170
|
/**
|
|
897
1171
|
* Deletes an existing category
|
|
@@ -918,7 +1192,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
918
1192
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
919
1193
|
throw new CommonMessageException(await response.json());
|
|
920
1194
|
}
|
|
921
|
-
throw new
|
|
1195
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
922
1196
|
}
|
|
923
1197
|
/**
|
|
924
1198
|
* Returns a specific category
|
|
@@ -945,7 +1219,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
945
1219
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
946
1220
|
throw new CommonMessageException(await response.json());
|
|
947
1221
|
}
|
|
948
|
-
throw new
|
|
1222
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
949
1223
|
}
|
|
950
1224
|
/**
|
|
951
1225
|
* Returns a paginated list of categories
|
|
@@ -974,7 +1248,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
974
1248
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
975
1249
|
throw new CommonMessageException(await response.json());
|
|
976
1250
|
}
|
|
977
|
-
throw new
|
|
1251
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
978
1252
|
}
|
|
979
1253
|
/**
|
|
980
1254
|
* Updates an existing category
|
|
@@ -1004,14 +1278,14 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
1004
1278
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1005
1279
|
throw new CommonMessageException(await response.json());
|
|
1006
1280
|
}
|
|
1007
|
-
throw new
|
|
1281
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
1008
1282
|
}
|
|
1009
1283
|
};
|
|
1010
1284
|
|
|
1011
1285
|
// src/BackendConfigTag.ts
|
|
1012
|
-
import { TagAbstract as
|
|
1013
|
-
import { UnknownStatusCodeException as
|
|
1014
|
-
var BackendConfigTag = class extends
|
|
1286
|
+
import { TagAbstract as TagAbstract11 } from "sdkgen-client";
|
|
1287
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException11 } from "sdkgen-client";
|
|
1288
|
+
var BackendConfigTag = class extends TagAbstract11 {
|
|
1015
1289
|
/**
|
|
1016
1290
|
* Returns a specific config
|
|
1017
1291
|
*
|
|
@@ -1037,7 +1311,7 @@ var BackendConfigTag = class extends TagAbstract9 {
|
|
|
1037
1311
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1038
1312
|
throw new CommonMessageException(await response.json());
|
|
1039
1313
|
}
|
|
1040
|
-
throw new
|
|
1314
|
+
throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
|
|
1041
1315
|
}
|
|
1042
1316
|
/**
|
|
1043
1317
|
* Returns a paginated list of configuration values
|
|
@@ -1066,7 +1340,7 @@ var BackendConfigTag = class extends TagAbstract9 {
|
|
|
1066
1340
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1067
1341
|
throw new CommonMessageException(await response.json());
|
|
1068
1342
|
}
|
|
1069
|
-
throw new
|
|
1343
|
+
throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
|
|
1070
1344
|
}
|
|
1071
1345
|
/**
|
|
1072
1346
|
* Updates an existing config value
|
|
@@ -1096,14 +1370,50 @@ var BackendConfigTag = class extends TagAbstract9 {
|
|
|
1096
1370
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1097
1371
|
throw new CommonMessageException(await response.json());
|
|
1098
1372
|
}
|
|
1099
|
-
throw new
|
|
1373
|
+
throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
|
|
1374
|
+
}
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
// src/BackendConnectionAgentTag.ts
|
|
1378
|
+
import { TagAbstract as TagAbstract12 } from "sdkgen-client";
|
|
1379
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException12 } from "sdkgen-client";
|
|
1380
|
+
var BackendConnectionAgentTag = class extends TagAbstract12 {
|
|
1381
|
+
/**
|
|
1382
|
+
* Sends a message to an agent
|
|
1383
|
+
*
|
|
1384
|
+
* @returns {Promise<BackendAgentContent>}
|
|
1385
|
+
* @throws {CommonMessageException}
|
|
1386
|
+
* @throws {ClientException}
|
|
1387
|
+
*/
|
|
1388
|
+
async send(connectionId, payload) {
|
|
1389
|
+
const url = this.parser.url("/backend/connection/:connection_id/agent", {
|
|
1390
|
+
"connection_id": connectionId
|
|
1391
|
+
});
|
|
1392
|
+
let request = {
|
|
1393
|
+
url,
|
|
1394
|
+
method: "POST",
|
|
1395
|
+
headers: {
|
|
1396
|
+
"Content-Type": "application/json"
|
|
1397
|
+
},
|
|
1398
|
+
params: this.parser.query({}, []),
|
|
1399
|
+
data: payload
|
|
1400
|
+
};
|
|
1401
|
+
const response = await this.httpClient.request(request);
|
|
1402
|
+
if (response.ok) {
|
|
1403
|
+
return await response.json();
|
|
1404
|
+
}
|
|
1405
|
+
const statusCode = response.status;
|
|
1406
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1407
|
+
throw new CommonMessageException(await response.json());
|
|
1408
|
+
}
|
|
1409
|
+
throw new UnknownStatusCodeException12("The server returned an unknown status code: " + statusCode);
|
|
1100
1410
|
}
|
|
1101
1411
|
};
|
|
1102
1412
|
|
|
1103
1413
|
// src/BackendConnectionDatabaseTag.ts
|
|
1104
|
-
import { TagAbstract as
|
|
1105
|
-
import { UnknownStatusCodeException as
|
|
1106
|
-
var BackendConnectionDatabaseTag = class extends
|
|
1414
|
+
import { TagAbstract as TagAbstract13 } from "sdkgen-client";
|
|
1415
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException13 } from "sdkgen-client";
|
|
1416
|
+
var BackendConnectionDatabaseTag = class extends TagAbstract13 {
|
|
1107
1417
|
/**
|
|
1108
1418
|
* Creates a new row at a table on a database
|
|
1109
1419
|
*
|
|
@@ -1133,7 +1443,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1133
1443
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1134
1444
|
throw new CommonMessageException(await response.json());
|
|
1135
1445
|
}
|
|
1136
|
-
throw new
|
|
1446
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1137
1447
|
}
|
|
1138
1448
|
/**
|
|
1139
1449
|
* Creates a new table on a database
|
|
@@ -1163,7 +1473,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1163
1473
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1164
1474
|
throw new CommonMessageException(await response.json());
|
|
1165
1475
|
}
|
|
1166
|
-
throw new
|
|
1476
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1167
1477
|
}
|
|
1168
1478
|
/**
|
|
1169
1479
|
* Deletes an existing row at a table on a database
|
|
@@ -1192,7 +1502,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1192
1502
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1193
1503
|
throw new CommonMessageException(await response.json());
|
|
1194
1504
|
}
|
|
1195
|
-
throw new
|
|
1505
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1196
1506
|
}
|
|
1197
1507
|
/**
|
|
1198
1508
|
* Deletes an existing table on a database
|
|
@@ -1220,7 +1530,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1220
1530
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1221
1531
|
throw new CommonMessageException(await response.json());
|
|
1222
1532
|
}
|
|
1223
|
-
throw new
|
|
1533
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1224
1534
|
}
|
|
1225
1535
|
/**
|
|
1226
1536
|
* Returns a specific row at a table on a database
|
|
@@ -1249,7 +1559,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1249
1559
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1250
1560
|
throw new CommonMessageException(await response.json());
|
|
1251
1561
|
}
|
|
1252
|
-
throw new
|
|
1562
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1253
1563
|
}
|
|
1254
1564
|
/**
|
|
1255
1565
|
* Returns paginated rows at a table on a database
|
|
@@ -1286,7 +1596,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1286
1596
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1287
1597
|
throw new CommonMessageException(await response.json());
|
|
1288
1598
|
}
|
|
1289
|
-
throw new
|
|
1599
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1290
1600
|
}
|
|
1291
1601
|
/**
|
|
1292
1602
|
* Returns the schema of a specific table on a database
|
|
@@ -1314,7 +1624,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1314
1624
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1315
1625
|
throw new CommonMessageException(await response.json());
|
|
1316
1626
|
}
|
|
1317
|
-
throw new
|
|
1627
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1318
1628
|
}
|
|
1319
1629
|
/**
|
|
1320
1630
|
* Returns all available tables on a database
|
|
@@ -1344,7 +1654,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1344
1654
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1345
1655
|
throw new CommonMessageException(await response.json());
|
|
1346
1656
|
}
|
|
1347
|
-
throw new
|
|
1657
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1348
1658
|
}
|
|
1349
1659
|
/**
|
|
1350
1660
|
* Updates an existing row at a table on a database
|
|
@@ -1376,7 +1686,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1376
1686
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1377
1687
|
throw new CommonMessageException(await response.json());
|
|
1378
1688
|
}
|
|
1379
|
-
throw new
|
|
1689
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1380
1690
|
}
|
|
1381
1691
|
/**
|
|
1382
1692
|
* Updates an existing table on a database
|
|
@@ -1407,14 +1717,14 @@ var BackendConnectionDatabaseTag = class extends TagAbstract10 {
|
|
|
1407
1717
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1408
1718
|
throw new CommonMessageException(await response.json());
|
|
1409
1719
|
}
|
|
1410
|
-
throw new
|
|
1720
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1411
1721
|
}
|
|
1412
1722
|
};
|
|
1413
1723
|
|
|
1414
1724
|
// src/BackendConnectionFilesystemTag.ts
|
|
1415
|
-
import { TagAbstract as
|
|
1416
|
-
import { UnknownStatusCodeException as
|
|
1417
|
-
var BackendConnectionFilesystemTag = class extends
|
|
1725
|
+
import { TagAbstract as TagAbstract14 } from "sdkgen-client";
|
|
1726
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException14 } from "sdkgen-client";
|
|
1727
|
+
var BackendConnectionFilesystemTag = class extends TagAbstract14 {
|
|
1418
1728
|
/**
|
|
1419
1729
|
* Uploads one or more files on the filesystem connection
|
|
1420
1730
|
*
|
|
@@ -1441,7 +1751,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract11 {
|
|
|
1441
1751
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1442
1752
|
throw new CommonMessageException(await response.json());
|
|
1443
1753
|
}
|
|
1444
|
-
throw new
|
|
1754
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1445
1755
|
}
|
|
1446
1756
|
/**
|
|
1447
1757
|
* Deletes an existing file on the filesystem connection
|
|
@@ -1469,7 +1779,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract11 {
|
|
|
1469
1779
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1470
1780
|
throw new CommonMessageException(await response.json());
|
|
1471
1781
|
}
|
|
1472
|
-
throw new
|
|
1782
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1473
1783
|
}
|
|
1474
1784
|
/**
|
|
1475
1785
|
* Returns the content of the provided file id on the filesystem connection
|
|
@@ -1499,7 +1809,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract11 {
|
|
|
1499
1809
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1500
1810
|
throw new CommonMessageException(await response.json());
|
|
1501
1811
|
}
|
|
1502
|
-
throw new
|
|
1812
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1503
1813
|
}
|
|
1504
1814
|
/**
|
|
1505
1815
|
* Returns all available files on the filesystem connection
|
|
@@ -1529,7 +1839,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract11 {
|
|
|
1529
1839
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1530
1840
|
throw new CommonMessageException(await response.json());
|
|
1531
1841
|
}
|
|
1532
|
-
throw new
|
|
1842
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1533
1843
|
}
|
|
1534
1844
|
/**
|
|
1535
1845
|
* Updates an existing file on the filesystem connection
|
|
@@ -1558,14 +1868,14 @@ var BackendConnectionFilesystemTag = class extends TagAbstract11 {
|
|
|
1558
1868
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1559
1869
|
throw new CommonMessageException(await response.json());
|
|
1560
1870
|
}
|
|
1561
|
-
throw new
|
|
1871
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1562
1872
|
}
|
|
1563
1873
|
};
|
|
1564
1874
|
|
|
1565
1875
|
// src/BackendConnectionHttpTag.ts
|
|
1566
|
-
import { TagAbstract as
|
|
1567
|
-
import { UnknownStatusCodeException as
|
|
1568
|
-
var BackendConnectionHttpTag = class extends
|
|
1876
|
+
import { TagAbstract as TagAbstract15 } from "sdkgen-client";
|
|
1877
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException15 } from "sdkgen-client";
|
|
1878
|
+
var BackendConnectionHttpTag = class extends TagAbstract15 {
|
|
1569
1879
|
/**
|
|
1570
1880
|
* Sends an arbitrary HTTP request to the connection
|
|
1571
1881
|
*
|
|
@@ -1594,14 +1904,14 @@ var BackendConnectionHttpTag = class extends TagAbstract12 {
|
|
|
1594
1904
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1595
1905
|
throw new CommonMessageException(await response.json());
|
|
1596
1906
|
}
|
|
1597
|
-
throw new
|
|
1907
|
+
throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
|
|
1598
1908
|
}
|
|
1599
1909
|
};
|
|
1600
1910
|
|
|
1601
1911
|
// src/BackendConnectionSdkTag.ts
|
|
1602
|
-
import { TagAbstract as
|
|
1603
|
-
import { UnknownStatusCodeException as
|
|
1604
|
-
var BackendConnectionSdkTag = class extends
|
|
1912
|
+
import { TagAbstract as TagAbstract16 } from "sdkgen-client";
|
|
1913
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException16 } from "sdkgen-client";
|
|
1914
|
+
var BackendConnectionSdkTag = class extends TagAbstract16 {
|
|
1605
1915
|
/**
|
|
1606
1916
|
* Returns the SDK specification
|
|
1607
1917
|
*
|
|
@@ -1627,14 +1937,20 @@ var BackendConnectionSdkTag = class extends TagAbstract13 {
|
|
|
1627
1937
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1628
1938
|
throw new CommonMessageException(await response.json());
|
|
1629
1939
|
}
|
|
1630
|
-
throw new
|
|
1940
|
+
throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
|
|
1631
1941
|
}
|
|
1632
1942
|
};
|
|
1633
1943
|
|
|
1634
1944
|
// src/BackendConnectionTag.ts
|
|
1635
|
-
import { TagAbstract as
|
|
1636
|
-
import { UnknownStatusCodeException as
|
|
1637
|
-
var BackendConnectionTag = class extends
|
|
1945
|
+
import { TagAbstract as TagAbstract17 } from "sdkgen-client";
|
|
1946
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException17 } from "sdkgen-client";
|
|
1947
|
+
var BackendConnectionTag = class extends TagAbstract17 {
|
|
1948
|
+
agent() {
|
|
1949
|
+
return new BackendConnectionAgentTag(
|
|
1950
|
+
this.httpClient,
|
|
1951
|
+
this.parser
|
|
1952
|
+
);
|
|
1953
|
+
}
|
|
1638
1954
|
database() {
|
|
1639
1955
|
return new BackendConnectionDatabaseTag(
|
|
1640
1956
|
this.httpClient,
|
|
@@ -1685,7 +2001,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1685
2001
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1686
2002
|
throw new CommonMessageException(await response.json());
|
|
1687
2003
|
}
|
|
1688
|
-
throw new
|
|
2004
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1689
2005
|
}
|
|
1690
2006
|
/**
|
|
1691
2007
|
* Deletes an existing connection
|
|
@@ -1712,7 +2028,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1712
2028
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1713
2029
|
throw new CommonMessageException(await response.json());
|
|
1714
2030
|
}
|
|
1715
|
-
throw new
|
|
2031
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1716
2032
|
}
|
|
1717
2033
|
/**
|
|
1718
2034
|
* Returns a specific connection
|
|
@@ -1739,7 +2055,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1739
2055
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1740
2056
|
throw new CommonMessageException(await response.json());
|
|
1741
2057
|
}
|
|
1742
|
-
throw new
|
|
2058
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1743
2059
|
}
|
|
1744
2060
|
/**
|
|
1745
2061
|
* Returns a paginated list of connections
|
|
@@ -1769,7 +2085,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1769
2085
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1770
2086
|
throw new CommonMessageException(await response.json());
|
|
1771
2087
|
}
|
|
1772
|
-
throw new
|
|
2088
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1773
2089
|
}
|
|
1774
2090
|
/**
|
|
1775
2091
|
* Returns all available connection classes
|
|
@@ -1794,7 +2110,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1794
2110
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1795
2111
|
throw new CommonMessageException(await response.json());
|
|
1796
2112
|
}
|
|
1797
|
-
throw new
|
|
2113
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1798
2114
|
}
|
|
1799
2115
|
/**
|
|
1800
2116
|
* Returns the connection config form
|
|
@@ -1821,7 +2137,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1821
2137
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1822
2138
|
throw new CommonMessageException(await response.json());
|
|
1823
2139
|
}
|
|
1824
|
-
throw new
|
|
2140
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1825
2141
|
}
|
|
1826
2142
|
/**
|
|
1827
2143
|
* Returns a redirect url to start the OAuth2 authorization flow for the given connection
|
|
@@ -1848,7 +2164,7 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1848
2164
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1849
2165
|
throw new CommonMessageException(await response.json());
|
|
1850
2166
|
}
|
|
1851
|
-
throw new
|
|
2167
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1852
2168
|
}
|
|
1853
2169
|
/**
|
|
1854
2170
|
* Updates an existing connection
|
|
@@ -1878,14 +2194,14 @@ var BackendConnectionTag = class extends TagAbstract14 {
|
|
|
1878
2194
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1879
2195
|
throw new CommonMessageException(await response.json());
|
|
1880
2196
|
}
|
|
1881
|
-
throw new
|
|
2197
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1882
2198
|
}
|
|
1883
2199
|
};
|
|
1884
2200
|
|
|
1885
2201
|
// src/BackendCronjobTag.ts
|
|
1886
|
-
import { TagAbstract as
|
|
1887
|
-
import { UnknownStatusCodeException as
|
|
1888
|
-
var BackendCronjobTag = class extends
|
|
2202
|
+
import { TagAbstract as TagAbstract18 } from "sdkgen-client";
|
|
2203
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException18 } from "sdkgen-client";
|
|
2204
|
+
var BackendCronjobTag = class extends TagAbstract18 {
|
|
1889
2205
|
/**
|
|
1890
2206
|
* Creates a new cronjob
|
|
1891
2207
|
*
|
|
@@ -1912,7 +2228,7 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
1912
2228
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1913
2229
|
throw new CommonMessageException(await response.json());
|
|
1914
2230
|
}
|
|
1915
|
-
throw new
|
|
2231
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
1916
2232
|
}
|
|
1917
2233
|
/**
|
|
1918
2234
|
* Deletes an existing cronjob
|
|
@@ -1939,7 +2255,7 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
1939
2255
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1940
2256
|
throw new CommonMessageException(await response.json());
|
|
1941
2257
|
}
|
|
1942
|
-
throw new
|
|
2258
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
1943
2259
|
}
|
|
1944
2260
|
/**
|
|
1945
2261
|
* Returns a specific cronjob
|
|
@@ -1966,7 +2282,7 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
1966
2282
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1967
2283
|
throw new CommonMessageException(await response.json());
|
|
1968
2284
|
}
|
|
1969
|
-
throw new
|
|
2285
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
1970
2286
|
}
|
|
1971
2287
|
/**
|
|
1972
2288
|
* Returns a paginated list of cronjobs
|
|
@@ -1975,7 +2291,7 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
1975
2291
|
* @throws {CommonMessageException}
|
|
1976
2292
|
* @throws {ClientException}
|
|
1977
2293
|
*/
|
|
1978
|
-
async getAll(startIndex, count, search) {
|
|
2294
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
1979
2295
|
const url = this.parser.url("/backend/cronjob", {});
|
|
1980
2296
|
let request = {
|
|
1981
2297
|
url,
|
|
@@ -1984,7 +2300,8 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
1984
2300
|
params: this.parser.query({
|
|
1985
2301
|
"startIndex": startIndex,
|
|
1986
2302
|
"count": count,
|
|
1987
|
-
"search": search
|
|
2303
|
+
"search": search,
|
|
2304
|
+
"taxonomy": taxonomy
|
|
1988
2305
|
}, [])
|
|
1989
2306
|
};
|
|
1990
2307
|
const response = await this.httpClient.request(request);
|
|
@@ -1995,7 +2312,7 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
1995
2312
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1996
2313
|
throw new CommonMessageException(await response.json());
|
|
1997
2314
|
}
|
|
1998
|
-
throw new
|
|
2315
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
1999
2316
|
}
|
|
2000
2317
|
/**
|
|
2001
2318
|
* Updates an existing cronjob
|
|
@@ -2025,14 +2342,14 @@ var BackendCronjobTag = class extends TagAbstract15 {
|
|
|
2025
2342
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2026
2343
|
throw new CommonMessageException(await response.json());
|
|
2027
2344
|
}
|
|
2028
|
-
throw new
|
|
2345
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
2029
2346
|
}
|
|
2030
2347
|
};
|
|
2031
2348
|
|
|
2032
2349
|
// src/BackendDashboardTag.ts
|
|
2033
|
-
import { TagAbstract as
|
|
2034
|
-
import { UnknownStatusCodeException as
|
|
2035
|
-
var BackendDashboardTag = class extends
|
|
2350
|
+
import { TagAbstract as TagAbstract19 } from "sdkgen-client";
|
|
2351
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException19 } from "sdkgen-client";
|
|
2352
|
+
var BackendDashboardTag = class extends TagAbstract19 {
|
|
2036
2353
|
/**
|
|
2037
2354
|
* Returns all available dashboard widgets
|
|
2038
2355
|
*
|
|
@@ -2056,14 +2373,14 @@ var BackendDashboardTag = class extends TagAbstract16 {
|
|
|
2056
2373
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2057
2374
|
throw new CommonMessageException(await response.json());
|
|
2058
2375
|
}
|
|
2059
|
-
throw new
|
|
2376
|
+
throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
|
|
2060
2377
|
}
|
|
2061
2378
|
};
|
|
2062
2379
|
|
|
2063
2380
|
// src/BackendEventTag.ts
|
|
2064
|
-
import { TagAbstract as
|
|
2065
|
-
import { UnknownStatusCodeException as
|
|
2066
|
-
var BackendEventTag = class extends
|
|
2381
|
+
import { TagAbstract as TagAbstract20 } from "sdkgen-client";
|
|
2382
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException20 } from "sdkgen-client";
|
|
2383
|
+
var BackendEventTag = class extends TagAbstract20 {
|
|
2067
2384
|
/**
|
|
2068
2385
|
* Creates a new event
|
|
2069
2386
|
*
|
|
@@ -2090,7 +2407,7 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2090
2407
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2091
2408
|
throw new CommonMessageException(await response.json());
|
|
2092
2409
|
}
|
|
2093
|
-
throw new
|
|
2410
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2094
2411
|
}
|
|
2095
2412
|
/**
|
|
2096
2413
|
* Deletes an existing event
|
|
@@ -2117,7 +2434,7 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2117
2434
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2118
2435
|
throw new CommonMessageException(await response.json());
|
|
2119
2436
|
}
|
|
2120
|
-
throw new
|
|
2437
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2121
2438
|
}
|
|
2122
2439
|
/**
|
|
2123
2440
|
* Returns a specific event
|
|
@@ -2144,7 +2461,7 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2144
2461
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2145
2462
|
throw new CommonMessageException(await response.json());
|
|
2146
2463
|
}
|
|
2147
|
-
throw new
|
|
2464
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2148
2465
|
}
|
|
2149
2466
|
/**
|
|
2150
2467
|
* Returns a paginated list of events
|
|
@@ -2153,7 +2470,7 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2153
2470
|
* @throws {CommonMessageException}
|
|
2154
2471
|
* @throws {ClientException}
|
|
2155
2472
|
*/
|
|
2156
|
-
async getAll(startIndex, count, search) {
|
|
2473
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2157
2474
|
const url = this.parser.url("/backend/event", {});
|
|
2158
2475
|
let request = {
|
|
2159
2476
|
url,
|
|
@@ -2162,7 +2479,8 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2162
2479
|
params: this.parser.query({
|
|
2163
2480
|
"startIndex": startIndex,
|
|
2164
2481
|
"count": count,
|
|
2165
|
-
"search": search
|
|
2482
|
+
"search": search,
|
|
2483
|
+
"taxonomy": taxonomy
|
|
2166
2484
|
}, [])
|
|
2167
2485
|
};
|
|
2168
2486
|
const response = await this.httpClient.request(request);
|
|
@@ -2173,7 +2491,7 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2173
2491
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2174
2492
|
throw new CommonMessageException(await response.json());
|
|
2175
2493
|
}
|
|
2176
|
-
throw new
|
|
2494
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2177
2495
|
}
|
|
2178
2496
|
/**
|
|
2179
2497
|
* Updates an existing event
|
|
@@ -2203,14 +2521,14 @@ var BackendEventTag = class extends TagAbstract17 {
|
|
|
2203
2521
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2204
2522
|
throw new CommonMessageException(await response.json());
|
|
2205
2523
|
}
|
|
2206
|
-
throw new
|
|
2524
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2207
2525
|
}
|
|
2208
2526
|
};
|
|
2209
2527
|
|
|
2210
2528
|
// src/BackendFirewallTag.ts
|
|
2211
|
-
import { TagAbstract as
|
|
2212
|
-
import { UnknownStatusCodeException as
|
|
2213
|
-
var BackendFirewallTag = class extends
|
|
2529
|
+
import { TagAbstract as TagAbstract21 } from "sdkgen-client";
|
|
2530
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException21 } from "sdkgen-client";
|
|
2531
|
+
var BackendFirewallTag = class extends TagAbstract21 {
|
|
2214
2532
|
/**
|
|
2215
2533
|
* Creates a new firewall rule
|
|
2216
2534
|
*
|
|
@@ -2237,7 +2555,7 @@ var BackendFirewallTag = class extends TagAbstract18 {
|
|
|
2237
2555
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2238
2556
|
throw new CommonMessageException(await response.json());
|
|
2239
2557
|
}
|
|
2240
|
-
throw new
|
|
2558
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2241
2559
|
}
|
|
2242
2560
|
/**
|
|
2243
2561
|
* Deletes an existing firewall rule
|
|
@@ -2264,7 +2582,7 @@ var BackendFirewallTag = class extends TagAbstract18 {
|
|
|
2264
2582
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2265
2583
|
throw new CommonMessageException(await response.json());
|
|
2266
2584
|
}
|
|
2267
|
-
throw new
|
|
2585
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2268
2586
|
}
|
|
2269
2587
|
/**
|
|
2270
2588
|
* Returns a specific firewall rule
|
|
@@ -2291,7 +2609,7 @@ var BackendFirewallTag = class extends TagAbstract18 {
|
|
|
2291
2609
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2292
2610
|
throw new CommonMessageException(await response.json());
|
|
2293
2611
|
}
|
|
2294
|
-
throw new
|
|
2612
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2295
2613
|
}
|
|
2296
2614
|
/**
|
|
2297
2615
|
* Returns a paginated list of firewall rules
|
|
@@ -2320,7 +2638,7 @@ var BackendFirewallTag = class extends TagAbstract18 {
|
|
|
2320
2638
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2321
2639
|
throw new CommonMessageException(await response.json());
|
|
2322
2640
|
}
|
|
2323
|
-
throw new
|
|
2641
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2324
2642
|
}
|
|
2325
2643
|
/**
|
|
2326
2644
|
* Updates an existing firewall rule
|
|
@@ -2350,14 +2668,14 @@ var BackendFirewallTag = class extends TagAbstract18 {
|
|
|
2350
2668
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2351
2669
|
throw new CommonMessageException(await response.json());
|
|
2352
2670
|
}
|
|
2353
|
-
throw new
|
|
2671
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2354
2672
|
}
|
|
2355
2673
|
};
|
|
2356
2674
|
|
|
2357
2675
|
// src/BackendFormTag.ts
|
|
2358
|
-
import { TagAbstract as
|
|
2359
|
-
import { UnknownStatusCodeException as
|
|
2360
|
-
var BackendFormTag = class extends
|
|
2676
|
+
import { TagAbstract as TagAbstract22 } from "sdkgen-client";
|
|
2677
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException22 } from "sdkgen-client";
|
|
2678
|
+
var BackendFormTag = class extends TagAbstract22 {
|
|
2361
2679
|
/**
|
|
2362
2680
|
* Creates a new form
|
|
2363
2681
|
*
|
|
@@ -2384,7 +2702,7 @@ var BackendFormTag = class extends TagAbstract19 {
|
|
|
2384
2702
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2385
2703
|
throw new CommonMessageException(await response.json());
|
|
2386
2704
|
}
|
|
2387
|
-
throw new
|
|
2705
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2388
2706
|
}
|
|
2389
2707
|
/**
|
|
2390
2708
|
* Deletes an existing form
|
|
@@ -2411,7 +2729,7 @@ var BackendFormTag = class extends TagAbstract19 {
|
|
|
2411
2729
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2412
2730
|
throw new CommonMessageException(await response.json());
|
|
2413
2731
|
}
|
|
2414
|
-
throw new
|
|
2732
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2415
2733
|
}
|
|
2416
2734
|
/**
|
|
2417
2735
|
* Returns a specific form
|
|
@@ -2438,7 +2756,7 @@ var BackendFormTag = class extends TagAbstract19 {
|
|
|
2438
2756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2439
2757
|
throw new CommonMessageException(await response.json());
|
|
2440
2758
|
}
|
|
2441
|
-
throw new
|
|
2759
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2442
2760
|
}
|
|
2443
2761
|
/**
|
|
2444
2762
|
* Returns a paginated list of forms
|
|
@@ -2467,7 +2785,7 @@ var BackendFormTag = class extends TagAbstract19 {
|
|
|
2467
2785
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2468
2786
|
throw new CommonMessageException(await response.json());
|
|
2469
2787
|
}
|
|
2470
|
-
throw new
|
|
2788
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2471
2789
|
}
|
|
2472
2790
|
/**
|
|
2473
2791
|
* Updates an existing form
|
|
@@ -2497,14 +2815,14 @@ var BackendFormTag = class extends TagAbstract19 {
|
|
|
2497
2815
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2498
2816
|
throw new CommonMessageException(await response.json());
|
|
2499
2817
|
}
|
|
2500
|
-
throw new
|
|
2818
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2501
2819
|
}
|
|
2502
2820
|
};
|
|
2503
2821
|
|
|
2504
2822
|
// src/BackendGeneratorTag.ts
|
|
2505
|
-
import { TagAbstract as
|
|
2506
|
-
import { UnknownStatusCodeException as
|
|
2507
|
-
var BackendGeneratorTag = class extends
|
|
2823
|
+
import { TagAbstract as TagAbstract23 } from "sdkgen-client";
|
|
2824
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException23 } from "sdkgen-client";
|
|
2825
|
+
var BackendGeneratorTag = class extends TagAbstract23 {
|
|
2508
2826
|
/**
|
|
2509
2827
|
* Executes a generator with the provided config
|
|
2510
2828
|
*
|
|
@@ -2533,7 +2851,7 @@ var BackendGeneratorTag = class extends TagAbstract20 {
|
|
|
2533
2851
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2534
2852
|
throw new CommonMessageException(await response.json());
|
|
2535
2853
|
}
|
|
2536
|
-
throw new
|
|
2854
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2537
2855
|
}
|
|
2538
2856
|
/**
|
|
2539
2857
|
* Generates a changelog of all potential changes if you execute this generator with the provided config
|
|
@@ -2563,7 +2881,7 @@ var BackendGeneratorTag = class extends TagAbstract20 {
|
|
|
2563
2881
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2564
2882
|
throw new CommonMessageException(await response.json());
|
|
2565
2883
|
}
|
|
2566
|
-
throw new
|
|
2884
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2567
2885
|
}
|
|
2568
2886
|
/**
|
|
2569
2887
|
* Returns all available generator classes
|
|
@@ -2588,7 +2906,7 @@ var BackendGeneratorTag = class extends TagAbstract20 {
|
|
|
2588
2906
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2589
2907
|
throw new CommonMessageException(await response.json());
|
|
2590
2908
|
}
|
|
2591
|
-
throw new
|
|
2909
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2592
2910
|
}
|
|
2593
2911
|
/**
|
|
2594
2912
|
* Returns the generator config form
|
|
@@ -2615,14 +2933,14 @@ var BackendGeneratorTag = class extends TagAbstract20 {
|
|
|
2615
2933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2616
2934
|
throw new CommonMessageException(await response.json());
|
|
2617
2935
|
}
|
|
2618
|
-
throw new
|
|
2936
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2619
2937
|
}
|
|
2620
2938
|
};
|
|
2621
2939
|
|
|
2622
2940
|
// src/BackendIdentityTag.ts
|
|
2623
|
-
import { TagAbstract as
|
|
2624
|
-
import { UnknownStatusCodeException as
|
|
2625
|
-
var BackendIdentityTag = class extends
|
|
2941
|
+
import { TagAbstract as TagAbstract24 } from "sdkgen-client";
|
|
2942
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException24 } from "sdkgen-client";
|
|
2943
|
+
var BackendIdentityTag = class extends TagAbstract24 {
|
|
2626
2944
|
/**
|
|
2627
2945
|
* Creates a new identity
|
|
2628
2946
|
*
|
|
@@ -2649,7 +2967,7 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2649
2967
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2650
2968
|
throw new CommonMessageException(await response.json());
|
|
2651
2969
|
}
|
|
2652
|
-
throw new
|
|
2970
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2653
2971
|
}
|
|
2654
2972
|
/**
|
|
2655
2973
|
* Deletes an existing identity
|
|
@@ -2676,7 +2994,7 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2676
2994
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2677
2995
|
throw new CommonMessageException(await response.json());
|
|
2678
2996
|
}
|
|
2679
|
-
throw new
|
|
2997
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2680
2998
|
}
|
|
2681
2999
|
/**
|
|
2682
3000
|
* Returns a specific identity
|
|
@@ -2703,7 +3021,7 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2703
3021
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2704
3022
|
throw new CommonMessageException(await response.json());
|
|
2705
3023
|
}
|
|
2706
|
-
throw new
|
|
3024
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2707
3025
|
}
|
|
2708
3026
|
/**
|
|
2709
3027
|
* Returns a paginated list of identities
|
|
@@ -2732,7 +3050,7 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2732
3050
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2733
3051
|
throw new CommonMessageException(await response.json());
|
|
2734
3052
|
}
|
|
2735
|
-
throw new
|
|
3053
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2736
3054
|
}
|
|
2737
3055
|
/**
|
|
2738
3056
|
* Returns all available identity classes
|
|
@@ -2757,7 +3075,7 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2757
3075
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2758
3076
|
throw new CommonMessageException(await response.json());
|
|
2759
3077
|
}
|
|
2760
|
-
throw new
|
|
3078
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2761
3079
|
}
|
|
2762
3080
|
/**
|
|
2763
3081
|
* Returns the identity config form
|
|
@@ -2784,7 +3102,7 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2784
3102
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2785
3103
|
throw new CommonMessageException(await response.json());
|
|
2786
3104
|
}
|
|
2787
|
-
throw new
|
|
3105
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2788
3106
|
}
|
|
2789
3107
|
/**
|
|
2790
3108
|
* Updates an existing identity
|
|
@@ -2814,14 +3132,14 @@ var BackendIdentityTag = class extends TagAbstract21 {
|
|
|
2814
3132
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2815
3133
|
throw new CommonMessageException(await response.json());
|
|
2816
3134
|
}
|
|
2817
|
-
throw new
|
|
3135
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2818
3136
|
}
|
|
2819
3137
|
};
|
|
2820
3138
|
|
|
2821
3139
|
// src/BackendLogTag.ts
|
|
2822
|
-
import { TagAbstract as
|
|
2823
|
-
import { UnknownStatusCodeException as
|
|
2824
|
-
var BackendLogTag = class extends
|
|
3140
|
+
import { TagAbstract as TagAbstract25 } from "sdkgen-client";
|
|
3141
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException25 } from "sdkgen-client";
|
|
3142
|
+
var BackendLogTag = class extends TagAbstract25 {
|
|
2825
3143
|
/**
|
|
2826
3144
|
* Returns a specific log
|
|
2827
3145
|
*
|
|
@@ -2847,7 +3165,7 @@ var BackendLogTag = class extends TagAbstract22 {
|
|
|
2847
3165
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2848
3166
|
throw new CommonMessageException(await response.json());
|
|
2849
3167
|
}
|
|
2850
|
-
throw new
|
|
3168
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
2851
3169
|
}
|
|
2852
3170
|
/**
|
|
2853
3171
|
* Returns a paginated list of logs
|
|
@@ -2887,7 +3205,7 @@ var BackendLogTag = class extends TagAbstract22 {
|
|
|
2887
3205
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2888
3206
|
throw new CommonMessageException(await response.json());
|
|
2889
3207
|
}
|
|
2890
|
-
throw new
|
|
3208
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
2891
3209
|
}
|
|
2892
3210
|
/**
|
|
2893
3211
|
* Returns a paginated list of log errors
|
|
@@ -2916,7 +3234,7 @@ var BackendLogTag = class extends TagAbstract22 {
|
|
|
2916
3234
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2917
3235
|
throw new CommonMessageException(await response.json());
|
|
2918
3236
|
}
|
|
2919
|
-
throw new
|
|
3237
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
2920
3238
|
}
|
|
2921
3239
|
/**
|
|
2922
3240
|
* Returns a specific error
|
|
@@ -2943,14 +3261,14 @@ var BackendLogTag = class extends TagAbstract22 {
|
|
|
2943
3261
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2944
3262
|
throw new CommonMessageException(await response.json());
|
|
2945
3263
|
}
|
|
2946
|
-
throw new
|
|
3264
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
2947
3265
|
}
|
|
2948
3266
|
};
|
|
2949
3267
|
|
|
2950
3268
|
// src/BackendMarketplaceActionTag.ts
|
|
2951
|
-
import { TagAbstract as
|
|
2952
|
-
import { UnknownStatusCodeException as
|
|
2953
|
-
var BackendMarketplaceActionTag = class extends
|
|
3269
|
+
import { TagAbstract as TagAbstract26 } from "sdkgen-client";
|
|
3270
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException26 } from "sdkgen-client";
|
|
3271
|
+
var BackendMarketplaceActionTag = class extends TagAbstract26 {
|
|
2954
3272
|
/**
|
|
2955
3273
|
* Returns a specific marketplace action
|
|
2956
3274
|
*
|
|
@@ -2977,7 +3295,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract23 {
|
|
|
2977
3295
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2978
3296
|
throw new CommonMessageException(await response.json());
|
|
2979
3297
|
}
|
|
2980
|
-
throw new
|
|
3298
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
2981
3299
|
}
|
|
2982
3300
|
/**
|
|
2983
3301
|
* Returns a paginated list of marketplace actions
|
|
@@ -3005,7 +3323,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract23 {
|
|
|
3005
3323
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3006
3324
|
throw new CommonMessageException(await response.json());
|
|
3007
3325
|
}
|
|
3008
|
-
throw new
|
|
3326
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3009
3327
|
}
|
|
3010
3328
|
/**
|
|
3011
3329
|
* Installs an action from the marketplace
|
|
@@ -3033,7 +3351,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract23 {
|
|
|
3033
3351
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3034
3352
|
throw new CommonMessageException(await response.json());
|
|
3035
3353
|
}
|
|
3036
|
-
throw new
|
|
3354
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3037
3355
|
}
|
|
3038
3356
|
/**
|
|
3039
3357
|
* Upgrades an action from the marketplace
|
|
@@ -3061,14 +3379,14 @@ var BackendMarketplaceActionTag = class extends TagAbstract23 {
|
|
|
3061
3379
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3062
3380
|
throw new CommonMessageException(await response.json());
|
|
3063
3381
|
}
|
|
3064
|
-
throw new
|
|
3382
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3065
3383
|
}
|
|
3066
3384
|
};
|
|
3067
3385
|
|
|
3068
3386
|
// src/BackendMarketplaceAppTag.ts
|
|
3069
|
-
import { TagAbstract as
|
|
3070
|
-
import { UnknownStatusCodeException as
|
|
3071
|
-
var BackendMarketplaceAppTag = class extends
|
|
3387
|
+
import { TagAbstract as TagAbstract27 } from "sdkgen-client";
|
|
3388
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException27 } from "sdkgen-client";
|
|
3389
|
+
var BackendMarketplaceAppTag = class extends TagAbstract27 {
|
|
3072
3390
|
/**
|
|
3073
3391
|
* Returns a specific marketplace app
|
|
3074
3392
|
*
|
|
@@ -3095,7 +3413,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract24 {
|
|
|
3095
3413
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3096
3414
|
throw new CommonMessageException(await response.json());
|
|
3097
3415
|
}
|
|
3098
|
-
throw new
|
|
3416
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3099
3417
|
}
|
|
3100
3418
|
/**
|
|
3101
3419
|
* Returns a paginated list of marketplace apps
|
|
@@ -3123,7 +3441,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract24 {
|
|
|
3123
3441
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3124
3442
|
throw new CommonMessageException(await response.json());
|
|
3125
3443
|
}
|
|
3126
|
-
throw new
|
|
3444
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3127
3445
|
}
|
|
3128
3446
|
/**
|
|
3129
3447
|
* Installs an app from the marketplace
|
|
@@ -3151,7 +3469,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract24 {
|
|
|
3151
3469
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3152
3470
|
throw new CommonMessageException(await response.json());
|
|
3153
3471
|
}
|
|
3154
|
-
throw new
|
|
3472
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3155
3473
|
}
|
|
3156
3474
|
/**
|
|
3157
3475
|
* Upgrades an app from the marketplace
|
|
@@ -3179,14 +3497,14 @@ var BackendMarketplaceAppTag = class extends TagAbstract24 {
|
|
|
3179
3497
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3180
3498
|
throw new CommonMessageException(await response.json());
|
|
3181
3499
|
}
|
|
3182
|
-
throw new
|
|
3500
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3183
3501
|
}
|
|
3184
3502
|
};
|
|
3185
3503
|
|
|
3186
3504
|
// src/BackendMarketplaceBundleTag.ts
|
|
3187
|
-
import { TagAbstract as
|
|
3188
|
-
import { UnknownStatusCodeException as
|
|
3189
|
-
var BackendMarketplaceBundleTag = class extends
|
|
3505
|
+
import { TagAbstract as TagAbstract28 } from "sdkgen-client";
|
|
3506
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException28 } from "sdkgen-client";
|
|
3507
|
+
var BackendMarketplaceBundleTag = class extends TagAbstract28 {
|
|
3190
3508
|
/**
|
|
3191
3509
|
* Returns a specific marketplace bundle
|
|
3192
3510
|
*
|
|
@@ -3213,7 +3531,7 @@ var BackendMarketplaceBundleTag = class extends TagAbstract25 {
|
|
|
3213
3531
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3214
3532
|
throw new CommonMessageException(await response.json());
|
|
3215
3533
|
}
|
|
3216
|
-
throw new
|
|
3534
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3217
3535
|
}
|
|
3218
3536
|
/**
|
|
3219
3537
|
* Returns a paginated list of marketplace bundles
|
|
@@ -3241,7 +3559,7 @@ var BackendMarketplaceBundleTag = class extends TagAbstract25 {
|
|
|
3241
3559
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3242
3560
|
throw new CommonMessageException(await response.json());
|
|
3243
3561
|
}
|
|
3244
|
-
throw new
|
|
3562
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3245
3563
|
}
|
|
3246
3564
|
/**
|
|
3247
3565
|
* Installs an bundle from the marketplace
|
|
@@ -3269,7 +3587,7 @@ var BackendMarketplaceBundleTag = class extends TagAbstract25 {
|
|
|
3269
3587
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3270
3588
|
throw new CommonMessageException(await response.json());
|
|
3271
3589
|
}
|
|
3272
|
-
throw new
|
|
3590
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3273
3591
|
}
|
|
3274
3592
|
/**
|
|
3275
3593
|
* Upgrades an bundle from the marketplace
|
|
@@ -3297,13 +3615,13 @@ var BackendMarketplaceBundleTag = class extends TagAbstract25 {
|
|
|
3297
3615
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3298
3616
|
throw new CommonMessageException(await response.json());
|
|
3299
3617
|
}
|
|
3300
|
-
throw new
|
|
3618
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3301
3619
|
}
|
|
3302
3620
|
};
|
|
3303
3621
|
|
|
3304
3622
|
// src/BackendMarketplaceTag.ts
|
|
3305
|
-
import { TagAbstract as
|
|
3306
|
-
var BackendMarketplaceTag = class extends
|
|
3623
|
+
import { TagAbstract as TagAbstract29 } from "sdkgen-client";
|
|
3624
|
+
var BackendMarketplaceTag = class extends TagAbstract29 {
|
|
3307
3625
|
action() {
|
|
3308
3626
|
return new BackendMarketplaceActionTag(
|
|
3309
3627
|
this.httpClient,
|
|
@@ -3325,9 +3643,9 @@ var BackendMarketplaceTag = class extends TagAbstract26 {
|
|
|
3325
3643
|
};
|
|
3326
3644
|
|
|
3327
3645
|
// src/BackendOperationTag.ts
|
|
3328
|
-
import { TagAbstract as
|
|
3329
|
-
import { UnknownStatusCodeException as
|
|
3330
|
-
var BackendOperationTag = class extends
|
|
3646
|
+
import { TagAbstract as TagAbstract30 } from "sdkgen-client";
|
|
3647
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException29 } from "sdkgen-client";
|
|
3648
|
+
var BackendOperationTag = class extends TagAbstract30 {
|
|
3331
3649
|
/**
|
|
3332
3650
|
* Creates a new operation
|
|
3333
3651
|
*
|
|
@@ -3354,7 +3672,7 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3354
3672
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3355
3673
|
throw new CommonMessageException(await response.json());
|
|
3356
3674
|
}
|
|
3357
|
-
throw new
|
|
3675
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3358
3676
|
}
|
|
3359
3677
|
/**
|
|
3360
3678
|
* Deletes an existing operation
|
|
@@ -3381,7 +3699,7 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3381
3699
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3382
3700
|
throw new CommonMessageException(await response.json());
|
|
3383
3701
|
}
|
|
3384
|
-
throw new
|
|
3702
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3385
3703
|
}
|
|
3386
3704
|
/**
|
|
3387
3705
|
* Returns a specific operation
|
|
@@ -3408,7 +3726,7 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3408
3726
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3409
3727
|
throw new CommonMessageException(await response.json());
|
|
3410
3728
|
}
|
|
3411
|
-
throw new
|
|
3729
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3412
3730
|
}
|
|
3413
3731
|
/**
|
|
3414
3732
|
* Returns a paginated list of operations
|
|
@@ -3417,7 +3735,7 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3417
3735
|
* @throws {CommonMessageException}
|
|
3418
3736
|
* @throws {ClientException}
|
|
3419
3737
|
*/
|
|
3420
|
-
async getAll(startIndex, count, search) {
|
|
3738
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
3421
3739
|
const url = this.parser.url("/backend/operation", {});
|
|
3422
3740
|
let request = {
|
|
3423
3741
|
url,
|
|
@@ -3426,7 +3744,8 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3426
3744
|
params: this.parser.query({
|
|
3427
3745
|
"startIndex": startIndex,
|
|
3428
3746
|
"count": count,
|
|
3429
|
-
"search": search
|
|
3747
|
+
"search": search,
|
|
3748
|
+
"taxonomy": taxonomy
|
|
3430
3749
|
}, [])
|
|
3431
3750
|
};
|
|
3432
3751
|
const response = await this.httpClient.request(request);
|
|
@@ -3437,7 +3756,7 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3437
3756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3438
3757
|
throw new CommonMessageException(await response.json());
|
|
3439
3758
|
}
|
|
3440
|
-
throw new
|
|
3759
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3441
3760
|
}
|
|
3442
3761
|
/**
|
|
3443
3762
|
* Updates an existing operation
|
|
@@ -3467,14 +3786,14 @@ var BackendOperationTag = class extends TagAbstract27 {
|
|
|
3467
3786
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3468
3787
|
throw new CommonMessageException(await response.json());
|
|
3469
3788
|
}
|
|
3470
|
-
throw new
|
|
3789
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3471
3790
|
}
|
|
3472
3791
|
};
|
|
3473
3792
|
|
|
3474
3793
|
// src/BackendPageTag.ts
|
|
3475
|
-
import { TagAbstract as
|
|
3476
|
-
import { UnknownStatusCodeException as
|
|
3477
|
-
var BackendPageTag = class extends
|
|
3794
|
+
import { TagAbstract as TagAbstract31 } from "sdkgen-client";
|
|
3795
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException30 } from "sdkgen-client";
|
|
3796
|
+
var BackendPageTag = class extends TagAbstract31 {
|
|
3478
3797
|
/**
|
|
3479
3798
|
* Creates a new page
|
|
3480
3799
|
*
|
|
@@ -3501,7 +3820,7 @@ var BackendPageTag = class extends TagAbstract28 {
|
|
|
3501
3820
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3502
3821
|
throw new CommonMessageException(await response.json());
|
|
3503
3822
|
}
|
|
3504
|
-
throw new
|
|
3823
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3505
3824
|
}
|
|
3506
3825
|
/**
|
|
3507
3826
|
* Deletes an existing page
|
|
@@ -3528,7 +3847,7 @@ var BackendPageTag = class extends TagAbstract28 {
|
|
|
3528
3847
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3529
3848
|
throw new CommonMessageException(await response.json());
|
|
3530
3849
|
}
|
|
3531
|
-
throw new
|
|
3850
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3532
3851
|
}
|
|
3533
3852
|
/**
|
|
3534
3853
|
* Returns a specific page
|
|
@@ -3555,7 +3874,7 @@ var BackendPageTag = class extends TagAbstract28 {
|
|
|
3555
3874
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3556
3875
|
throw new CommonMessageException(await response.json());
|
|
3557
3876
|
}
|
|
3558
|
-
throw new
|
|
3877
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3559
3878
|
}
|
|
3560
3879
|
/**
|
|
3561
3880
|
* Returns a paginated list of pages
|
|
@@ -3584,7 +3903,7 @@ var BackendPageTag = class extends TagAbstract28 {
|
|
|
3584
3903
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3585
3904
|
throw new CommonMessageException(await response.json());
|
|
3586
3905
|
}
|
|
3587
|
-
throw new
|
|
3906
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3588
3907
|
}
|
|
3589
3908
|
/**
|
|
3590
3909
|
* Updates an existing page
|
|
@@ -3614,14 +3933,14 @@ var BackendPageTag = class extends TagAbstract28 {
|
|
|
3614
3933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3615
3934
|
throw new CommonMessageException(await response.json());
|
|
3616
3935
|
}
|
|
3617
|
-
throw new
|
|
3936
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3618
3937
|
}
|
|
3619
3938
|
};
|
|
3620
3939
|
|
|
3621
3940
|
// src/BackendPlanTag.ts
|
|
3622
|
-
import { TagAbstract as
|
|
3623
|
-
import { UnknownStatusCodeException as
|
|
3624
|
-
var BackendPlanTag = class extends
|
|
3941
|
+
import { TagAbstract as TagAbstract32 } from "sdkgen-client";
|
|
3942
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException31 } from "sdkgen-client";
|
|
3943
|
+
var BackendPlanTag = class extends TagAbstract32 {
|
|
3625
3944
|
/**
|
|
3626
3945
|
* Creates a new plan
|
|
3627
3946
|
*
|
|
@@ -3648,7 +3967,7 @@ var BackendPlanTag = class extends TagAbstract29 {
|
|
|
3648
3967
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3649
3968
|
throw new CommonMessageException(await response.json());
|
|
3650
3969
|
}
|
|
3651
|
-
throw new
|
|
3970
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3652
3971
|
}
|
|
3653
3972
|
/**
|
|
3654
3973
|
* Deletes an existing plan
|
|
@@ -3675,7 +3994,7 @@ var BackendPlanTag = class extends TagAbstract29 {
|
|
|
3675
3994
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3676
3995
|
throw new CommonMessageException(await response.json());
|
|
3677
3996
|
}
|
|
3678
|
-
throw new
|
|
3997
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3679
3998
|
}
|
|
3680
3999
|
/**
|
|
3681
4000
|
* Returns a specific plan
|
|
@@ -3702,7 +4021,7 @@ var BackendPlanTag = class extends TagAbstract29 {
|
|
|
3702
4021
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3703
4022
|
throw new CommonMessageException(await response.json());
|
|
3704
4023
|
}
|
|
3705
|
-
throw new
|
|
4024
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3706
4025
|
}
|
|
3707
4026
|
/**
|
|
3708
4027
|
* Returns a paginated list of plans
|
|
@@ -3731,7 +4050,7 @@ var BackendPlanTag = class extends TagAbstract29 {
|
|
|
3731
4050
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3732
4051
|
throw new CommonMessageException(await response.json());
|
|
3733
4052
|
}
|
|
3734
|
-
throw new
|
|
4053
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3735
4054
|
}
|
|
3736
4055
|
/**
|
|
3737
4056
|
* Updates an existing plan
|
|
@@ -3761,14 +4080,14 @@ var BackendPlanTag = class extends TagAbstract29 {
|
|
|
3761
4080
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3762
4081
|
throw new CommonMessageException(await response.json());
|
|
3763
4082
|
}
|
|
3764
|
-
throw new
|
|
4083
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3765
4084
|
}
|
|
3766
4085
|
};
|
|
3767
4086
|
|
|
3768
4087
|
// src/BackendRateTag.ts
|
|
3769
|
-
import { TagAbstract as
|
|
3770
|
-
import { UnknownStatusCodeException as
|
|
3771
|
-
var BackendRateTag = class extends
|
|
4088
|
+
import { TagAbstract as TagAbstract33 } from "sdkgen-client";
|
|
4089
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException32 } from "sdkgen-client";
|
|
4090
|
+
var BackendRateTag = class extends TagAbstract33 {
|
|
3772
4091
|
/**
|
|
3773
4092
|
* Creates a new rate limitation
|
|
3774
4093
|
*
|
|
@@ -3795,7 +4114,7 @@ var BackendRateTag = class extends TagAbstract30 {
|
|
|
3795
4114
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3796
4115
|
throw new CommonMessageException(await response.json());
|
|
3797
4116
|
}
|
|
3798
|
-
throw new
|
|
4117
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3799
4118
|
}
|
|
3800
4119
|
/**
|
|
3801
4120
|
* Deletes an existing rate
|
|
@@ -3822,7 +4141,7 @@ var BackendRateTag = class extends TagAbstract30 {
|
|
|
3822
4141
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3823
4142
|
throw new CommonMessageException(await response.json());
|
|
3824
4143
|
}
|
|
3825
|
-
throw new
|
|
4144
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3826
4145
|
}
|
|
3827
4146
|
/**
|
|
3828
4147
|
* Returns a specific rate
|
|
@@ -3849,7 +4168,7 @@ var BackendRateTag = class extends TagAbstract30 {
|
|
|
3849
4168
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3850
4169
|
throw new CommonMessageException(await response.json());
|
|
3851
4170
|
}
|
|
3852
|
-
throw new
|
|
4171
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3853
4172
|
}
|
|
3854
4173
|
/**
|
|
3855
4174
|
* Returns a paginated list of rate limitations
|
|
@@ -3878,7 +4197,7 @@ var BackendRateTag = class extends TagAbstract30 {
|
|
|
3878
4197
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3879
4198
|
throw new CommonMessageException(await response.json());
|
|
3880
4199
|
}
|
|
3881
|
-
throw new
|
|
4200
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3882
4201
|
}
|
|
3883
4202
|
/**
|
|
3884
4203
|
* Updates an existing rate
|
|
@@ -3908,14 +4227,14 @@ var BackendRateTag = class extends TagAbstract30 {
|
|
|
3908
4227
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3909
4228
|
throw new CommonMessageException(await response.json());
|
|
3910
4229
|
}
|
|
3911
|
-
throw new
|
|
4230
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3912
4231
|
}
|
|
3913
4232
|
};
|
|
3914
4233
|
|
|
3915
4234
|
// src/BackendRoleTag.ts
|
|
3916
|
-
import { TagAbstract as
|
|
3917
|
-
import { UnknownStatusCodeException as
|
|
3918
|
-
var BackendRoleTag = class extends
|
|
4235
|
+
import { TagAbstract as TagAbstract34 } from "sdkgen-client";
|
|
4236
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException33 } from "sdkgen-client";
|
|
4237
|
+
var BackendRoleTag = class extends TagAbstract34 {
|
|
3919
4238
|
/**
|
|
3920
4239
|
* Creates a new role
|
|
3921
4240
|
*
|
|
@@ -3942,7 +4261,7 @@ var BackendRoleTag = class extends TagAbstract31 {
|
|
|
3942
4261
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3943
4262
|
throw new CommonMessageException(await response.json());
|
|
3944
4263
|
}
|
|
3945
|
-
throw new
|
|
4264
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
3946
4265
|
}
|
|
3947
4266
|
/**
|
|
3948
4267
|
* Deletes an existing role
|
|
@@ -3969,7 +4288,7 @@ var BackendRoleTag = class extends TagAbstract31 {
|
|
|
3969
4288
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3970
4289
|
throw new CommonMessageException(await response.json());
|
|
3971
4290
|
}
|
|
3972
|
-
throw new
|
|
4291
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
3973
4292
|
}
|
|
3974
4293
|
/**
|
|
3975
4294
|
* Returns a specific role
|
|
@@ -3996,7 +4315,7 @@ var BackendRoleTag = class extends TagAbstract31 {
|
|
|
3996
4315
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3997
4316
|
throw new CommonMessageException(await response.json());
|
|
3998
4317
|
}
|
|
3999
|
-
throw new
|
|
4318
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4000
4319
|
}
|
|
4001
4320
|
/**
|
|
4002
4321
|
* Returns a paginated list of roles
|
|
@@ -4025,7 +4344,7 @@ var BackendRoleTag = class extends TagAbstract31 {
|
|
|
4025
4344
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4026
4345
|
throw new CommonMessageException(await response.json());
|
|
4027
4346
|
}
|
|
4028
|
-
throw new
|
|
4347
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4029
4348
|
}
|
|
4030
4349
|
/**
|
|
4031
4350
|
* Updates an existing role
|
|
@@ -4055,14 +4374,14 @@ var BackendRoleTag = class extends TagAbstract31 {
|
|
|
4055
4374
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4056
4375
|
throw new CommonMessageException(await response.json());
|
|
4057
4376
|
}
|
|
4058
|
-
throw new
|
|
4377
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4059
4378
|
}
|
|
4060
4379
|
};
|
|
4061
4380
|
|
|
4062
4381
|
// src/BackendSchemaTag.ts
|
|
4063
|
-
import { TagAbstract as
|
|
4064
|
-
import { UnknownStatusCodeException as
|
|
4065
|
-
var BackendSchemaTag = class extends
|
|
4382
|
+
import { TagAbstract as TagAbstract35 } from "sdkgen-client";
|
|
4383
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException34 } from "sdkgen-client";
|
|
4384
|
+
var BackendSchemaTag = class extends TagAbstract35 {
|
|
4066
4385
|
/**
|
|
4067
4386
|
* Creates a new schema
|
|
4068
4387
|
*
|
|
@@ -4089,7 +4408,7 @@ var BackendSchemaTag = class extends TagAbstract32 {
|
|
|
4089
4408
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4090
4409
|
throw new CommonMessageException(await response.json());
|
|
4091
4410
|
}
|
|
4092
|
-
throw new
|
|
4411
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4093
4412
|
}
|
|
4094
4413
|
/**
|
|
4095
4414
|
* Deletes an existing schema
|
|
@@ -4116,24 +4435,54 @@ var BackendSchemaTag = class extends TagAbstract32 {
|
|
|
4116
4435
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4117
4436
|
throw new CommonMessageException(await response.json());
|
|
4118
4437
|
}
|
|
4119
|
-
throw new
|
|
4438
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4439
|
+
}
|
|
4440
|
+
/**
|
|
4441
|
+
* Returns a specific schema
|
|
4442
|
+
*
|
|
4443
|
+
* @returns {Promise<BackendSchema>}
|
|
4444
|
+
* @throws {CommonMessageException}
|
|
4445
|
+
* @throws {ClientException}
|
|
4446
|
+
*/
|
|
4447
|
+
async get(schemaId) {
|
|
4448
|
+
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>", {
|
|
4449
|
+
"schema_id": schemaId
|
|
4450
|
+
});
|
|
4451
|
+
let request = {
|
|
4452
|
+
url,
|
|
4453
|
+
method: "GET",
|
|
4454
|
+
headers: {},
|
|
4455
|
+
params: this.parser.query({}, [])
|
|
4456
|
+
};
|
|
4457
|
+
const response = await this.httpClient.request(request);
|
|
4458
|
+
if (response.ok) {
|
|
4459
|
+
return await response.json();
|
|
4460
|
+
}
|
|
4461
|
+
const statusCode = response.status;
|
|
4462
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4463
|
+
throw new CommonMessageException(await response.json());
|
|
4464
|
+
}
|
|
4465
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4120
4466
|
}
|
|
4121
4467
|
/**
|
|
4122
|
-
* Returns a
|
|
4468
|
+
* Returns a paginated list of schemas
|
|
4123
4469
|
*
|
|
4124
|
-
* @returns {Promise<
|
|
4470
|
+
* @returns {Promise<BackendSchemaCollection>}
|
|
4125
4471
|
* @throws {CommonMessageException}
|
|
4126
4472
|
* @throws {ClientException}
|
|
4127
4473
|
*/
|
|
4128
|
-
async
|
|
4129
|
-
const url = this.parser.url("/backend/schema
|
|
4130
|
-
"schema_id": schemaId
|
|
4131
|
-
});
|
|
4474
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
4475
|
+
const url = this.parser.url("/backend/schema", {});
|
|
4132
4476
|
let request = {
|
|
4133
4477
|
url,
|
|
4134
4478
|
method: "GET",
|
|
4135
4479
|
headers: {},
|
|
4136
|
-
params: this.parser.query({
|
|
4480
|
+
params: this.parser.query({
|
|
4481
|
+
"startIndex": startIndex,
|
|
4482
|
+
"count": count,
|
|
4483
|
+
"search": search,
|
|
4484
|
+
"taxonomy": taxonomy
|
|
4485
|
+
}, [])
|
|
4137
4486
|
};
|
|
4138
4487
|
const response = await this.httpClient.request(request);
|
|
4139
4488
|
if (response.ok) {
|
|
@@ -4143,17 +4492,19 @@ var BackendSchemaTag = class extends TagAbstract32 {
|
|
|
4143
4492
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4144
4493
|
throw new CommonMessageException(await response.json());
|
|
4145
4494
|
}
|
|
4146
|
-
throw new
|
|
4495
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4147
4496
|
}
|
|
4148
4497
|
/**
|
|
4149
|
-
* Returns a paginated list of
|
|
4498
|
+
* Returns a paginated list of schema commits
|
|
4150
4499
|
*
|
|
4151
|
-
* @returns {Promise<
|
|
4500
|
+
* @returns {Promise<BackendSchemaCommitCollection>}
|
|
4152
4501
|
* @throws {CommonMessageException}
|
|
4153
4502
|
* @throws {ClientException}
|
|
4154
4503
|
*/
|
|
4155
|
-
async
|
|
4156
|
-
const url = this.parser.url("/backend/schema", {
|
|
4504
|
+
async getCommits(schemaId, startIndex, count, search) {
|
|
4505
|
+
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>/commit", {
|
|
4506
|
+
"schema_id": schemaId
|
|
4507
|
+
});
|
|
4157
4508
|
let request = {
|
|
4158
4509
|
url,
|
|
4159
4510
|
method: "GET",
|
|
@@ -4172,7 +4523,7 @@ var BackendSchemaTag = class extends TagAbstract32 {
|
|
|
4172
4523
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4173
4524
|
throw new CommonMessageException(await response.json());
|
|
4174
4525
|
}
|
|
4175
|
-
throw new
|
|
4526
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4176
4527
|
}
|
|
4177
4528
|
/**
|
|
4178
4529
|
* Returns a HTML preview of the provided schema
|
|
@@ -4199,7 +4550,7 @@ var BackendSchemaTag = class extends TagAbstract32 {
|
|
|
4199
4550
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4200
4551
|
throw new CommonMessageException(await response.json());
|
|
4201
4552
|
}
|
|
4202
|
-
throw new
|
|
4553
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4203
4554
|
}
|
|
4204
4555
|
/**
|
|
4205
4556
|
* Updates an existing schema
|
|
@@ -4229,14 +4580,14 @@ var BackendSchemaTag = class extends TagAbstract32 {
|
|
|
4229
4580
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4230
4581
|
throw new CommonMessageException(await response.json());
|
|
4231
4582
|
}
|
|
4232
|
-
throw new
|
|
4583
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4233
4584
|
}
|
|
4234
4585
|
};
|
|
4235
4586
|
|
|
4236
4587
|
// src/BackendScopeTag.ts
|
|
4237
|
-
import { TagAbstract as
|
|
4238
|
-
import { UnknownStatusCodeException as
|
|
4239
|
-
var BackendScopeTag = class extends
|
|
4588
|
+
import { TagAbstract as TagAbstract36 } from "sdkgen-client";
|
|
4589
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException35 } from "sdkgen-client";
|
|
4590
|
+
var BackendScopeTag = class extends TagAbstract36 {
|
|
4240
4591
|
/**
|
|
4241
4592
|
* Creates a new scope
|
|
4242
4593
|
*
|
|
@@ -4263,7 +4614,7 @@ var BackendScopeTag = class extends TagAbstract33 {
|
|
|
4263
4614
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4264
4615
|
throw new CommonMessageException(await response.json());
|
|
4265
4616
|
}
|
|
4266
|
-
throw new
|
|
4617
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4267
4618
|
}
|
|
4268
4619
|
/**
|
|
4269
4620
|
* Deletes an existing scope
|
|
@@ -4290,7 +4641,7 @@ var BackendScopeTag = class extends TagAbstract33 {
|
|
|
4290
4641
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4291
4642
|
throw new CommonMessageException(await response.json());
|
|
4292
4643
|
}
|
|
4293
|
-
throw new
|
|
4644
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4294
4645
|
}
|
|
4295
4646
|
/**
|
|
4296
4647
|
* Returns a specific scope
|
|
@@ -4317,7 +4668,7 @@ var BackendScopeTag = class extends TagAbstract33 {
|
|
|
4317
4668
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4318
4669
|
throw new CommonMessageException(await response.json());
|
|
4319
4670
|
}
|
|
4320
|
-
throw new
|
|
4671
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4321
4672
|
}
|
|
4322
4673
|
/**
|
|
4323
4674
|
* Returns a paginated list of scopes
|
|
@@ -4346,7 +4697,7 @@ var BackendScopeTag = class extends TagAbstract33 {
|
|
|
4346
4697
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4347
4698
|
throw new CommonMessageException(await response.json());
|
|
4348
4699
|
}
|
|
4349
|
-
throw new
|
|
4700
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4350
4701
|
}
|
|
4351
4702
|
/**
|
|
4352
4703
|
* Returns all available scopes grouped by category
|
|
@@ -4371,7 +4722,7 @@ var BackendScopeTag = class extends TagAbstract33 {
|
|
|
4371
4722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4372
4723
|
throw new CommonMessageException(await response.json());
|
|
4373
4724
|
}
|
|
4374
|
-
throw new
|
|
4725
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4375
4726
|
}
|
|
4376
4727
|
/**
|
|
4377
4728
|
* Updates an existing scope
|
|
@@ -4401,14 +4752,14 @@ var BackendScopeTag = class extends TagAbstract33 {
|
|
|
4401
4752
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4402
4753
|
throw new CommonMessageException(await response.json());
|
|
4403
4754
|
}
|
|
4404
|
-
throw new
|
|
4755
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4405
4756
|
}
|
|
4406
4757
|
};
|
|
4407
4758
|
|
|
4408
4759
|
// src/BackendSdkTag.ts
|
|
4409
|
-
import { TagAbstract as
|
|
4410
|
-
import { UnknownStatusCodeException as
|
|
4411
|
-
var BackendSdkTag = class extends
|
|
4760
|
+
import { TagAbstract as TagAbstract37 } from "sdkgen-client";
|
|
4761
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException36 } from "sdkgen-client";
|
|
4762
|
+
var BackendSdkTag = class extends TagAbstract37 {
|
|
4412
4763
|
/**
|
|
4413
4764
|
* Generates a specific SDK
|
|
4414
4765
|
*
|
|
@@ -4435,7 +4786,7 @@ var BackendSdkTag = class extends TagAbstract34 {
|
|
|
4435
4786
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4436
4787
|
throw new CommonMessageException(await response.json());
|
|
4437
4788
|
}
|
|
4438
|
-
throw new
|
|
4789
|
+
throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
|
|
4439
4790
|
}
|
|
4440
4791
|
/**
|
|
4441
4792
|
* Returns a paginated list of SDKs
|
|
@@ -4460,14 +4811,14 @@ var BackendSdkTag = class extends TagAbstract34 {
|
|
|
4460
4811
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4461
4812
|
throw new CommonMessageException(await response.json());
|
|
4462
4813
|
}
|
|
4463
|
-
throw new
|
|
4814
|
+
throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
|
|
4464
4815
|
}
|
|
4465
4816
|
};
|
|
4466
4817
|
|
|
4467
4818
|
// src/BackendStatisticTag.ts
|
|
4468
|
-
import { TagAbstract as
|
|
4469
|
-
import { UnknownStatusCodeException as
|
|
4470
|
-
var BackendStatisticTag = class extends
|
|
4819
|
+
import { TagAbstract as TagAbstract38 } from "sdkgen-client";
|
|
4820
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
|
|
4821
|
+
var BackendStatisticTag = class extends TagAbstract38 {
|
|
4471
4822
|
/**
|
|
4472
4823
|
* Returns a statistic containing the activities per user
|
|
4473
4824
|
*
|
|
@@ -4506,7 +4857,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4506
4857
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4507
4858
|
throw new CommonMessageException(await response.json());
|
|
4508
4859
|
}
|
|
4509
|
-
throw new
|
|
4860
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4510
4861
|
}
|
|
4511
4862
|
/**
|
|
4512
4863
|
* Returns a statistic containing the request count
|
|
@@ -4546,7 +4897,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4546
4897
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4547
4898
|
throw new CommonMessageException(await response.json());
|
|
4548
4899
|
}
|
|
4549
|
-
throw new
|
|
4900
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4550
4901
|
}
|
|
4551
4902
|
/**
|
|
4552
4903
|
* Returns a statistic containing the errors per operation
|
|
@@ -4586,7 +4937,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4586
4937
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4587
4938
|
throw new CommonMessageException(await response.json());
|
|
4588
4939
|
}
|
|
4589
|
-
throw new
|
|
4940
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4590
4941
|
}
|
|
4591
4942
|
/**
|
|
4592
4943
|
* Returns a statistic containing the incoming requests
|
|
@@ -4626,7 +4977,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4626
4977
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4627
4978
|
throw new CommonMessageException(await response.json());
|
|
4628
4979
|
}
|
|
4629
|
-
throw new
|
|
4980
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4630
4981
|
}
|
|
4631
4982
|
/**
|
|
4632
4983
|
* Returns a statistic containing the incoming transactions
|
|
@@ -4666,7 +5017,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4666
5017
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4667
5018
|
throw new CommonMessageException(await response.json());
|
|
4668
5019
|
}
|
|
4669
|
-
throw new
|
|
5020
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4670
5021
|
}
|
|
4671
5022
|
/**
|
|
4672
5023
|
* Returns a statistic containing the issues tokens
|
|
@@ -4706,7 +5057,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4706
5057
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4707
5058
|
throw new CommonMessageException(await response.json());
|
|
4708
5059
|
}
|
|
4709
|
-
throw new
|
|
5060
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4710
5061
|
}
|
|
4711
5062
|
/**
|
|
4712
5063
|
* Returns a statistic containing the most used activities
|
|
@@ -4746,7 +5097,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4746
5097
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4747
5098
|
throw new CommonMessageException(await response.json());
|
|
4748
5099
|
}
|
|
4749
|
-
throw new
|
|
5100
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4750
5101
|
}
|
|
4751
5102
|
/**
|
|
4752
5103
|
* Returns a statistic containing the most used apps
|
|
@@ -4786,7 +5137,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4786
5137
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4787
5138
|
throw new CommonMessageException(await response.json());
|
|
4788
5139
|
}
|
|
4789
|
-
throw new
|
|
5140
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4790
5141
|
}
|
|
4791
5142
|
/**
|
|
4792
5143
|
* Returns a statistic containing the most used operations
|
|
@@ -4826,7 +5177,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4826
5177
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4827
5178
|
throw new CommonMessageException(await response.json());
|
|
4828
5179
|
}
|
|
4829
|
-
throw new
|
|
5180
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4830
5181
|
}
|
|
4831
5182
|
/**
|
|
4832
5183
|
* Returns a statistic containing the requests per ip
|
|
@@ -4866,7 +5217,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4866
5217
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4867
5218
|
throw new CommonMessageException(await response.json());
|
|
4868
5219
|
}
|
|
4869
|
-
throw new
|
|
5220
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4870
5221
|
}
|
|
4871
5222
|
/**
|
|
4872
5223
|
* Returns a statistic containing the requests per operation
|
|
@@ -4906,7 +5257,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4906
5257
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4907
5258
|
throw new CommonMessageException(await response.json());
|
|
4908
5259
|
}
|
|
4909
|
-
throw new
|
|
5260
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4910
5261
|
}
|
|
4911
5262
|
/**
|
|
4912
5263
|
* Returns a statistic containing the requests per user
|
|
@@ -4946,7 +5297,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4946
5297
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4947
5298
|
throw new CommonMessageException(await response.json());
|
|
4948
5299
|
}
|
|
4949
|
-
throw new
|
|
5300
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4950
5301
|
}
|
|
4951
5302
|
/**
|
|
4952
5303
|
* Returns a statistic containing the test coverage
|
|
@@ -4971,7 +5322,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
4971
5322
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4972
5323
|
throw new CommonMessageException(await response.json());
|
|
4973
5324
|
}
|
|
4974
|
-
throw new
|
|
5325
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4975
5326
|
}
|
|
4976
5327
|
/**
|
|
4977
5328
|
* Returns a statistic containing the time average
|
|
@@ -5011,7 +5362,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
5011
5362
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5012
5363
|
throw new CommonMessageException(await response.json());
|
|
5013
5364
|
}
|
|
5014
|
-
throw new
|
|
5365
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5015
5366
|
}
|
|
5016
5367
|
/**
|
|
5017
5368
|
* Returns a statistic containing the time per operation
|
|
@@ -5051,7 +5402,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
5051
5402
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5052
5403
|
throw new CommonMessageException(await response.json());
|
|
5053
5404
|
}
|
|
5054
|
-
throw new
|
|
5405
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5055
5406
|
}
|
|
5056
5407
|
/**
|
|
5057
5408
|
* Returns a statistic containing the used points
|
|
@@ -5091,7 +5442,7 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
5091
5442
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5092
5443
|
throw new CommonMessageException(await response.json());
|
|
5093
5444
|
}
|
|
5094
|
-
throw new
|
|
5445
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5095
5446
|
}
|
|
5096
5447
|
/**
|
|
5097
5448
|
* Returns a statistic containing the user registrations
|
|
@@ -5131,17 +5482,194 @@ var BackendStatisticTag = class extends TagAbstract35 {
|
|
|
5131
5482
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5132
5483
|
throw new CommonMessageException(await response.json());
|
|
5133
5484
|
}
|
|
5134
|
-
throw new
|
|
5485
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5135
5486
|
}
|
|
5136
5487
|
};
|
|
5137
5488
|
|
|
5138
5489
|
// src/BackendTag.ts
|
|
5139
|
-
import { TagAbstract as
|
|
5490
|
+
import { TagAbstract as TagAbstract48 } from "sdkgen-client";
|
|
5491
|
+
|
|
5492
|
+
// src/BackendTaxonomyTag.ts
|
|
5493
|
+
import { TagAbstract as TagAbstract39 } from "sdkgen-client";
|
|
5494
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
|
|
5495
|
+
var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
5496
|
+
/**
|
|
5497
|
+
* Creates a new taxonomy
|
|
5498
|
+
*
|
|
5499
|
+
* @returns {Promise<CommonMessage>}
|
|
5500
|
+
* @throws {CommonMessageException}
|
|
5501
|
+
* @throws {ClientException}
|
|
5502
|
+
*/
|
|
5503
|
+
async create(payload) {
|
|
5504
|
+
const url = this.parser.url("/backend/taxonomy", {});
|
|
5505
|
+
let request = {
|
|
5506
|
+
url,
|
|
5507
|
+
method: "POST",
|
|
5508
|
+
headers: {
|
|
5509
|
+
"Content-Type": "application/json"
|
|
5510
|
+
},
|
|
5511
|
+
params: this.parser.query({}, []),
|
|
5512
|
+
data: payload
|
|
5513
|
+
};
|
|
5514
|
+
const response = await this.httpClient.request(request);
|
|
5515
|
+
if (response.ok) {
|
|
5516
|
+
return await response.json();
|
|
5517
|
+
}
|
|
5518
|
+
const statusCode = response.status;
|
|
5519
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5520
|
+
throw new CommonMessageException(await response.json());
|
|
5521
|
+
}
|
|
5522
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5523
|
+
}
|
|
5524
|
+
/**
|
|
5525
|
+
* Deletes an existing taxonomy
|
|
5526
|
+
*
|
|
5527
|
+
* @returns {Promise<CommonMessage>}
|
|
5528
|
+
* @throws {CommonMessageException}
|
|
5529
|
+
* @throws {ClientException}
|
|
5530
|
+
*/
|
|
5531
|
+
async delete(taxonomyId) {
|
|
5532
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5533
|
+
"taxonomy_id": taxonomyId
|
|
5534
|
+
});
|
|
5535
|
+
let request = {
|
|
5536
|
+
url,
|
|
5537
|
+
method: "DELETE",
|
|
5538
|
+
headers: {},
|
|
5539
|
+
params: this.parser.query({}, [])
|
|
5540
|
+
};
|
|
5541
|
+
const response = await this.httpClient.request(request);
|
|
5542
|
+
if (response.ok) {
|
|
5543
|
+
return await response.json();
|
|
5544
|
+
}
|
|
5545
|
+
const statusCode = response.status;
|
|
5546
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5547
|
+
throw new CommonMessageException(await response.json());
|
|
5548
|
+
}
|
|
5549
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5550
|
+
}
|
|
5551
|
+
/**
|
|
5552
|
+
* Returns a specific taxonomy
|
|
5553
|
+
*
|
|
5554
|
+
* @returns {Promise<BackendTaxonomy>}
|
|
5555
|
+
* @throws {CommonMessageException}
|
|
5556
|
+
* @throws {ClientException}
|
|
5557
|
+
*/
|
|
5558
|
+
async get(taxonomyId) {
|
|
5559
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5560
|
+
"taxonomy_id": taxonomyId
|
|
5561
|
+
});
|
|
5562
|
+
let request = {
|
|
5563
|
+
url,
|
|
5564
|
+
method: "GET",
|
|
5565
|
+
headers: {},
|
|
5566
|
+
params: this.parser.query({}, [])
|
|
5567
|
+
};
|
|
5568
|
+
const response = await this.httpClient.request(request);
|
|
5569
|
+
if (response.ok) {
|
|
5570
|
+
return await response.json();
|
|
5571
|
+
}
|
|
5572
|
+
const statusCode = response.status;
|
|
5573
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5574
|
+
throw new CommonMessageException(await response.json());
|
|
5575
|
+
}
|
|
5576
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5577
|
+
}
|
|
5578
|
+
/**
|
|
5579
|
+
* Returns a paginated list of taxonomies
|
|
5580
|
+
*
|
|
5581
|
+
* @returns {Promise<BackendTaxonomyCollection>}
|
|
5582
|
+
* @throws {CommonMessageException}
|
|
5583
|
+
* @throws {ClientException}
|
|
5584
|
+
*/
|
|
5585
|
+
async getAll(startIndex, count, search) {
|
|
5586
|
+
const url = this.parser.url("/backend/taxonomy", {});
|
|
5587
|
+
let request = {
|
|
5588
|
+
url,
|
|
5589
|
+
method: "GET",
|
|
5590
|
+
headers: {},
|
|
5591
|
+
params: this.parser.query({
|
|
5592
|
+
"startIndex": startIndex,
|
|
5593
|
+
"count": count,
|
|
5594
|
+
"search": search
|
|
5595
|
+
}, [])
|
|
5596
|
+
};
|
|
5597
|
+
const response = await this.httpClient.request(request);
|
|
5598
|
+
if (response.ok) {
|
|
5599
|
+
return await response.json();
|
|
5600
|
+
}
|
|
5601
|
+
const statusCode = response.status;
|
|
5602
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5603
|
+
throw new CommonMessageException(await response.json());
|
|
5604
|
+
}
|
|
5605
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5606
|
+
}
|
|
5607
|
+
/**
|
|
5608
|
+
* Moves the provided ids to the taxonomy
|
|
5609
|
+
*
|
|
5610
|
+
* @returns {Promise<CommonMessage>}
|
|
5611
|
+
* @throws {CommonMessageException}
|
|
5612
|
+
* @throws {ClientException}
|
|
5613
|
+
*/
|
|
5614
|
+
async move(taxonomyId, payload) {
|
|
5615
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5616
|
+
"taxonomy_id": taxonomyId
|
|
5617
|
+
});
|
|
5618
|
+
let request = {
|
|
5619
|
+
url,
|
|
5620
|
+
method: "POST",
|
|
5621
|
+
headers: {
|
|
5622
|
+
"Content-Type": "application/json"
|
|
5623
|
+
},
|
|
5624
|
+
params: this.parser.query({}, []),
|
|
5625
|
+
data: payload
|
|
5626
|
+
};
|
|
5627
|
+
const response = await this.httpClient.request(request);
|
|
5628
|
+
if (response.ok) {
|
|
5629
|
+
return await response.json();
|
|
5630
|
+
}
|
|
5631
|
+
const statusCode = response.status;
|
|
5632
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5633
|
+
throw new CommonMessageException(await response.json());
|
|
5634
|
+
}
|
|
5635
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5636
|
+
}
|
|
5637
|
+
/**
|
|
5638
|
+
* Updates an existing taxonomy
|
|
5639
|
+
*
|
|
5640
|
+
* @returns {Promise<CommonMessage>}
|
|
5641
|
+
* @throws {CommonMessageException}
|
|
5642
|
+
* @throws {ClientException}
|
|
5643
|
+
*/
|
|
5644
|
+
async update(taxonomyId, payload) {
|
|
5645
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5646
|
+
"taxonomy_id": taxonomyId
|
|
5647
|
+
});
|
|
5648
|
+
let request = {
|
|
5649
|
+
url,
|
|
5650
|
+
method: "PUT",
|
|
5651
|
+
headers: {
|
|
5652
|
+
"Content-Type": "application/json"
|
|
5653
|
+
},
|
|
5654
|
+
params: this.parser.query({}, []),
|
|
5655
|
+
data: payload
|
|
5656
|
+
};
|
|
5657
|
+
const response = await this.httpClient.request(request);
|
|
5658
|
+
if (response.ok) {
|
|
5659
|
+
return await response.json();
|
|
5660
|
+
}
|
|
5661
|
+
const statusCode = response.status;
|
|
5662
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5663
|
+
throw new CommonMessageException(await response.json());
|
|
5664
|
+
}
|
|
5665
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5666
|
+
}
|
|
5667
|
+
};
|
|
5140
5668
|
|
|
5141
5669
|
// src/BackendTenantTag.ts
|
|
5142
|
-
import { TagAbstract as
|
|
5143
|
-
import { UnknownStatusCodeException as
|
|
5144
|
-
var BackendTenantTag = class extends
|
|
5670
|
+
import { TagAbstract as TagAbstract40 } from "sdkgen-client";
|
|
5671
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
|
|
5672
|
+
var BackendTenantTag = class extends TagAbstract40 {
|
|
5145
5673
|
/**
|
|
5146
5674
|
* Removes an existing tenant
|
|
5147
5675
|
*
|
|
@@ -5167,7 +5695,7 @@ var BackendTenantTag = class extends TagAbstract36 {
|
|
|
5167
5695
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5168
5696
|
throw new CommonMessageException(await response.json());
|
|
5169
5697
|
}
|
|
5170
|
-
throw new
|
|
5698
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5171
5699
|
}
|
|
5172
5700
|
/**
|
|
5173
5701
|
* Setup a new tenant
|
|
@@ -5194,14 +5722,14 @@ var BackendTenantTag = class extends TagAbstract36 {
|
|
|
5194
5722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5195
5723
|
throw new CommonMessageException(await response.json());
|
|
5196
5724
|
}
|
|
5197
|
-
throw new
|
|
5725
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5198
5726
|
}
|
|
5199
5727
|
};
|
|
5200
5728
|
|
|
5201
5729
|
// src/BackendTestTag.ts
|
|
5202
|
-
import { TagAbstract as
|
|
5203
|
-
import { UnknownStatusCodeException as
|
|
5204
|
-
var BackendTestTag = class extends
|
|
5730
|
+
import { TagAbstract as TagAbstract41 } from "sdkgen-client";
|
|
5731
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
|
|
5732
|
+
var BackendTestTag = class extends TagAbstract41 {
|
|
5205
5733
|
/**
|
|
5206
5734
|
* Returns a specific test
|
|
5207
5735
|
*
|
|
@@ -5227,7 +5755,7 @@ var BackendTestTag = class extends TagAbstract37 {
|
|
|
5227
5755
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5228
5756
|
throw new CommonMessageException(await response.json());
|
|
5229
5757
|
}
|
|
5230
|
-
throw new
|
|
5758
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5231
5759
|
}
|
|
5232
5760
|
/**
|
|
5233
5761
|
* Returns a paginated list of tests
|
|
@@ -5256,7 +5784,7 @@ var BackendTestTag = class extends TagAbstract37 {
|
|
|
5256
5784
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5257
5785
|
throw new CommonMessageException(await response.json());
|
|
5258
5786
|
}
|
|
5259
|
-
throw new
|
|
5787
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5260
5788
|
}
|
|
5261
5789
|
/**
|
|
5262
5790
|
* Refresh all tests
|
|
@@ -5281,7 +5809,7 @@ var BackendTestTag = class extends TagAbstract37 {
|
|
|
5281
5809
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5282
5810
|
throw new CommonMessageException(await response.json());
|
|
5283
5811
|
}
|
|
5284
|
-
throw new
|
|
5812
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5285
5813
|
}
|
|
5286
5814
|
/**
|
|
5287
5815
|
* Run all tests
|
|
@@ -5306,7 +5834,7 @@ var BackendTestTag = class extends TagAbstract37 {
|
|
|
5306
5834
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5307
5835
|
throw new CommonMessageException(await response.json());
|
|
5308
5836
|
}
|
|
5309
|
-
throw new
|
|
5837
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5310
5838
|
}
|
|
5311
5839
|
/**
|
|
5312
5840
|
* Updates an existing test
|
|
@@ -5336,14 +5864,14 @@ var BackendTestTag = class extends TagAbstract37 {
|
|
|
5336
5864
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5337
5865
|
throw new CommonMessageException(await response.json());
|
|
5338
5866
|
}
|
|
5339
|
-
throw new
|
|
5867
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5340
5868
|
}
|
|
5341
5869
|
};
|
|
5342
5870
|
|
|
5343
5871
|
// src/BackendTokenTag.ts
|
|
5344
|
-
import { TagAbstract as
|
|
5345
|
-
import { UnknownStatusCodeException as
|
|
5346
|
-
var BackendTokenTag = class extends
|
|
5872
|
+
import { TagAbstract as TagAbstract42 } from "sdkgen-client";
|
|
5873
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
|
|
5874
|
+
var BackendTokenTag = class extends TagAbstract42 {
|
|
5347
5875
|
/**
|
|
5348
5876
|
* Returns a specific token
|
|
5349
5877
|
*
|
|
@@ -5369,7 +5897,7 @@ var BackendTokenTag = class extends TagAbstract38 {
|
|
|
5369
5897
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5370
5898
|
throw new CommonMessageException(await response.json());
|
|
5371
5899
|
}
|
|
5372
|
-
throw new
|
|
5900
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5373
5901
|
}
|
|
5374
5902
|
/**
|
|
5375
5903
|
* Returns a paginated list of tokens
|
|
@@ -5405,14 +5933,14 @@ var BackendTokenTag = class extends TagAbstract38 {
|
|
|
5405
5933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5406
5934
|
throw new CommonMessageException(await response.json());
|
|
5407
5935
|
}
|
|
5408
|
-
throw new
|
|
5936
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5409
5937
|
}
|
|
5410
5938
|
};
|
|
5411
5939
|
|
|
5412
5940
|
// src/BackendTransactionTag.ts
|
|
5413
|
-
import { TagAbstract as
|
|
5414
|
-
import { UnknownStatusCodeException as
|
|
5415
|
-
var BackendTransactionTag = class extends
|
|
5941
|
+
import { TagAbstract as TagAbstract43 } from "sdkgen-client";
|
|
5942
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
|
|
5943
|
+
var BackendTransactionTag = class extends TagAbstract43 {
|
|
5416
5944
|
/**
|
|
5417
5945
|
* Returns a specific transaction
|
|
5418
5946
|
*
|
|
@@ -5438,7 +5966,7 @@ var BackendTransactionTag = class extends TagAbstract39 {
|
|
|
5438
5966
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5439
5967
|
throw new CommonMessageException(await response.json());
|
|
5440
5968
|
}
|
|
5441
|
-
throw new
|
|
5969
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
5442
5970
|
}
|
|
5443
5971
|
/**
|
|
5444
5972
|
* Returns a paginated list of transactions
|
|
@@ -5447,7 +5975,7 @@ var BackendTransactionTag = class extends TagAbstract39 {
|
|
|
5447
5975
|
* @throws {CommonMessageException}
|
|
5448
5976
|
* @throws {ClientException}
|
|
5449
5977
|
*/
|
|
5450
|
-
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider) {
|
|
5978
|
+
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider, taxonomy) {
|
|
5451
5979
|
const url = this.parser.url("/backend/transaction", {});
|
|
5452
5980
|
let request = {
|
|
5453
5981
|
url,
|
|
@@ -5463,7 +5991,8 @@ var BackendTransactionTag = class extends TagAbstract39 {
|
|
|
5463
5991
|
"userId": userId,
|
|
5464
5992
|
"appId": appId,
|
|
5465
5993
|
"status": status,
|
|
5466
|
-
"provider": provider
|
|
5994
|
+
"provider": provider,
|
|
5995
|
+
"taxonomy": taxonomy
|
|
5467
5996
|
}, [])
|
|
5468
5997
|
};
|
|
5469
5998
|
const response = await this.httpClient.request(request);
|
|
@@ -5474,14 +6003,14 @@ var BackendTransactionTag = class extends TagAbstract39 {
|
|
|
5474
6003
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5475
6004
|
throw new CommonMessageException(await response.json());
|
|
5476
6005
|
}
|
|
5477
|
-
throw new
|
|
6006
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
5478
6007
|
}
|
|
5479
6008
|
};
|
|
5480
6009
|
|
|
5481
6010
|
// src/BackendTrashTag.ts
|
|
5482
|
-
import { TagAbstract as
|
|
5483
|
-
import { UnknownStatusCodeException as
|
|
5484
|
-
var BackendTrashTag = class extends
|
|
6011
|
+
import { TagAbstract as TagAbstract44 } from "sdkgen-client";
|
|
6012
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
|
|
6013
|
+
var BackendTrashTag = class extends TagAbstract44 {
|
|
5485
6014
|
/**
|
|
5486
6015
|
* Returns all deleted records by trash type
|
|
5487
6016
|
*
|
|
@@ -5511,7 +6040,7 @@ var BackendTrashTag = class extends TagAbstract40 {
|
|
|
5511
6040
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5512
6041
|
throw new CommonMessageException(await response.json());
|
|
5513
6042
|
}
|
|
5514
|
-
throw new
|
|
6043
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5515
6044
|
}
|
|
5516
6045
|
/**
|
|
5517
6046
|
* Returns all trash types
|
|
@@ -5536,7 +6065,7 @@ var BackendTrashTag = class extends TagAbstract40 {
|
|
|
5536
6065
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5537
6066
|
throw new CommonMessageException(await response.json());
|
|
5538
6067
|
}
|
|
5539
|
-
throw new
|
|
6068
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5540
6069
|
}
|
|
5541
6070
|
/**
|
|
5542
6071
|
* Restores a previously deleted record
|
|
@@ -5566,14 +6095,14 @@ var BackendTrashTag = class extends TagAbstract40 {
|
|
|
5566
6095
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5567
6096
|
throw new CommonMessageException(await response.json());
|
|
5568
6097
|
}
|
|
5569
|
-
throw new
|
|
6098
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5570
6099
|
}
|
|
5571
6100
|
};
|
|
5572
6101
|
|
|
5573
6102
|
// src/BackendTriggerTag.ts
|
|
5574
|
-
import { TagAbstract as
|
|
5575
|
-
import { UnknownStatusCodeException as
|
|
5576
|
-
var BackendTriggerTag = class extends
|
|
6103
|
+
import { TagAbstract as TagAbstract45 } from "sdkgen-client";
|
|
6104
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
|
|
6105
|
+
var BackendTriggerTag = class extends TagAbstract45 {
|
|
5577
6106
|
/**
|
|
5578
6107
|
* Creates a new trigger
|
|
5579
6108
|
*
|
|
@@ -5600,7 +6129,7 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5600
6129
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5601
6130
|
throw new CommonMessageException(await response.json());
|
|
5602
6131
|
}
|
|
5603
|
-
throw new
|
|
6132
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5604
6133
|
}
|
|
5605
6134
|
/**
|
|
5606
6135
|
* Deletes an existing trigger
|
|
@@ -5627,7 +6156,7 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5627
6156
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5628
6157
|
throw new CommonMessageException(await response.json());
|
|
5629
6158
|
}
|
|
5630
|
-
throw new
|
|
6159
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5631
6160
|
}
|
|
5632
6161
|
/**
|
|
5633
6162
|
* Returns a specific trigger
|
|
@@ -5654,7 +6183,7 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5654
6183
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5655
6184
|
throw new CommonMessageException(await response.json());
|
|
5656
6185
|
}
|
|
5657
|
-
throw new
|
|
6186
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5658
6187
|
}
|
|
5659
6188
|
/**
|
|
5660
6189
|
* Returns a paginated list of triggers
|
|
@@ -5663,7 +6192,7 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5663
6192
|
* @throws {CommonMessageException}
|
|
5664
6193
|
* @throws {ClientException}
|
|
5665
6194
|
*/
|
|
5666
|
-
async getAll(startIndex, count, search) {
|
|
6195
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
5667
6196
|
const url = this.parser.url("/backend/trigger", {});
|
|
5668
6197
|
let request = {
|
|
5669
6198
|
url,
|
|
@@ -5672,7 +6201,8 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5672
6201
|
params: this.parser.query({
|
|
5673
6202
|
"startIndex": startIndex,
|
|
5674
6203
|
"count": count,
|
|
5675
|
-
"search": search
|
|
6204
|
+
"search": search,
|
|
6205
|
+
"taxonomy": taxonomy
|
|
5676
6206
|
}, [])
|
|
5677
6207
|
};
|
|
5678
6208
|
const response = await this.httpClient.request(request);
|
|
@@ -5683,7 +6213,7 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5683
6213
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5684
6214
|
throw new CommonMessageException(await response.json());
|
|
5685
6215
|
}
|
|
5686
|
-
throw new
|
|
6216
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5687
6217
|
}
|
|
5688
6218
|
/**
|
|
5689
6219
|
* Updates an existing trigger
|
|
@@ -5713,14 +6243,14 @@ var BackendTriggerTag = class extends TagAbstract41 {
|
|
|
5713
6243
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5714
6244
|
throw new CommonMessageException(await response.json());
|
|
5715
6245
|
}
|
|
5716
|
-
throw new
|
|
6246
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5717
6247
|
}
|
|
5718
6248
|
};
|
|
5719
6249
|
|
|
5720
6250
|
// src/BackendUserTag.ts
|
|
5721
|
-
import { TagAbstract as
|
|
5722
|
-
import { UnknownStatusCodeException as
|
|
5723
|
-
var BackendUserTag = class extends
|
|
6251
|
+
import { TagAbstract as TagAbstract46 } from "sdkgen-client";
|
|
6252
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
|
|
6253
|
+
var BackendUserTag = class extends TagAbstract46 {
|
|
5724
6254
|
/**
|
|
5725
6255
|
* Creates a new user
|
|
5726
6256
|
*
|
|
@@ -5747,7 +6277,7 @@ var BackendUserTag = class extends TagAbstract42 {
|
|
|
5747
6277
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5748
6278
|
throw new CommonMessageException(await response.json());
|
|
5749
6279
|
}
|
|
5750
|
-
throw new
|
|
6280
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5751
6281
|
}
|
|
5752
6282
|
/**
|
|
5753
6283
|
* Deletes an existing user
|
|
@@ -5774,7 +6304,7 @@ var BackendUserTag = class extends TagAbstract42 {
|
|
|
5774
6304
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5775
6305
|
throw new CommonMessageException(await response.json());
|
|
5776
6306
|
}
|
|
5777
|
-
throw new
|
|
6307
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5778
6308
|
}
|
|
5779
6309
|
/**
|
|
5780
6310
|
* Returns a specific user
|
|
@@ -5801,7 +6331,7 @@ var BackendUserTag = class extends TagAbstract42 {
|
|
|
5801
6331
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5802
6332
|
throw new CommonMessageException(await response.json());
|
|
5803
6333
|
}
|
|
5804
|
-
throw new
|
|
6334
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5805
6335
|
}
|
|
5806
6336
|
/**
|
|
5807
6337
|
* Returns a paginated list of users
|
|
@@ -5830,7 +6360,7 @@ var BackendUserTag = class extends TagAbstract42 {
|
|
|
5830
6360
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5831
6361
|
throw new CommonMessageException(await response.json());
|
|
5832
6362
|
}
|
|
5833
|
-
throw new
|
|
6363
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5834
6364
|
}
|
|
5835
6365
|
/**
|
|
5836
6366
|
* Resend the activation mail to the provided user
|
|
@@ -5860,7 +6390,7 @@ var BackendUserTag = class extends TagAbstract42 {
|
|
|
5860
6390
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5861
6391
|
throw new CommonMessageException(await response.json());
|
|
5862
6392
|
}
|
|
5863
|
-
throw new
|
|
6393
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5864
6394
|
}
|
|
5865
6395
|
/**
|
|
5866
6396
|
* Updates an existing user
|
|
@@ -5890,14 +6420,14 @@ var BackendUserTag = class extends TagAbstract42 {
|
|
|
5890
6420
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5891
6421
|
throw new CommonMessageException(await response.json());
|
|
5892
6422
|
}
|
|
5893
|
-
throw new
|
|
6423
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5894
6424
|
}
|
|
5895
6425
|
};
|
|
5896
6426
|
|
|
5897
6427
|
// src/BackendWebhookTag.ts
|
|
5898
|
-
import { TagAbstract as
|
|
5899
|
-
import { UnknownStatusCodeException as
|
|
5900
|
-
var BackendWebhookTag = class extends
|
|
6428
|
+
import { TagAbstract as TagAbstract47 } from "sdkgen-client";
|
|
6429
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
|
|
6430
|
+
var BackendWebhookTag = class extends TagAbstract47 {
|
|
5901
6431
|
/**
|
|
5902
6432
|
* Creates a new webhook
|
|
5903
6433
|
*
|
|
@@ -5924,7 +6454,7 @@ var BackendWebhookTag = class extends TagAbstract43 {
|
|
|
5924
6454
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5925
6455
|
throw new CommonMessageException(await response.json());
|
|
5926
6456
|
}
|
|
5927
|
-
throw new
|
|
6457
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
5928
6458
|
}
|
|
5929
6459
|
/**
|
|
5930
6460
|
* Deletes an existing webhook
|
|
@@ -5951,7 +6481,7 @@ var BackendWebhookTag = class extends TagAbstract43 {
|
|
|
5951
6481
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5952
6482
|
throw new CommonMessageException(await response.json());
|
|
5953
6483
|
}
|
|
5954
|
-
throw new
|
|
6484
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
5955
6485
|
}
|
|
5956
6486
|
/**
|
|
5957
6487
|
* Returns a specific webhook
|
|
@@ -5978,7 +6508,7 @@ var BackendWebhookTag = class extends TagAbstract43 {
|
|
|
5978
6508
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5979
6509
|
throw new CommonMessageException(await response.json());
|
|
5980
6510
|
}
|
|
5981
|
-
throw new
|
|
6511
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
5982
6512
|
}
|
|
5983
6513
|
/**
|
|
5984
6514
|
* Returns a paginated list of webhooks
|
|
@@ -6007,7 +6537,7 @@ var BackendWebhookTag = class extends TagAbstract43 {
|
|
|
6007
6537
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6008
6538
|
throw new CommonMessageException(await response.json());
|
|
6009
6539
|
}
|
|
6010
|
-
throw new
|
|
6540
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6011
6541
|
}
|
|
6012
6542
|
/**
|
|
6013
6543
|
* Updates an existing webhook
|
|
@@ -6037,12 +6567,12 @@ var BackendWebhookTag = class extends TagAbstract43 {
|
|
|
6037
6567
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6038
6568
|
throw new CommonMessageException(await response.json());
|
|
6039
6569
|
}
|
|
6040
|
-
throw new
|
|
6570
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6041
6571
|
}
|
|
6042
6572
|
};
|
|
6043
6573
|
|
|
6044
6574
|
// src/BackendTag.ts
|
|
6045
|
-
var BackendTag = class extends
|
|
6575
|
+
var BackendTag = class extends TagAbstract48 {
|
|
6046
6576
|
account() {
|
|
6047
6577
|
return new BackendAccountTag(
|
|
6048
6578
|
this.httpClient,
|
|
@@ -6055,6 +6585,12 @@ var BackendTag = class extends TagAbstract44 {
|
|
|
6055
6585
|
this.parser
|
|
6056
6586
|
);
|
|
6057
6587
|
}
|
|
6588
|
+
agent() {
|
|
6589
|
+
return new BackendAgentTag(
|
|
6590
|
+
this.httpClient,
|
|
6591
|
+
this.parser
|
|
6592
|
+
);
|
|
6593
|
+
}
|
|
6058
6594
|
app() {
|
|
6059
6595
|
return new BackendAppTag(
|
|
6060
6596
|
this.httpClient,
|
|
@@ -6205,6 +6741,12 @@ var BackendTag = class extends TagAbstract44 {
|
|
|
6205
6741
|
this.parser
|
|
6206
6742
|
);
|
|
6207
6743
|
}
|
|
6744
|
+
taxonomy() {
|
|
6745
|
+
return new BackendTaxonomyTag(
|
|
6746
|
+
this.httpClient,
|
|
6747
|
+
this.parser
|
|
6748
|
+
);
|
|
6749
|
+
}
|
|
6208
6750
|
tenant() {
|
|
6209
6751
|
return new BackendTenantTag(
|
|
6210
6752
|
this.httpClient,
|
|
@@ -6260,12 +6802,12 @@ import { ClientAbstract } from "sdkgen-client";
|
|
|
6260
6802
|
import { Anonymous } from "sdkgen-client";
|
|
6261
6803
|
|
|
6262
6804
|
// src/ConsumerTag.ts
|
|
6263
|
-
import { TagAbstract as
|
|
6805
|
+
import { TagAbstract as TagAbstract63 } from "sdkgen-client";
|
|
6264
6806
|
|
|
6265
6807
|
// src/ConsumerAccountTag.ts
|
|
6266
|
-
import { TagAbstract as
|
|
6267
|
-
import { UnknownStatusCodeException as
|
|
6268
|
-
var ConsumerAccountTag = class extends
|
|
6808
|
+
import { TagAbstract as TagAbstract49 } from "sdkgen-client";
|
|
6809
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
|
|
6810
|
+
var ConsumerAccountTag = class extends TagAbstract49 {
|
|
6269
6811
|
/**
|
|
6270
6812
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
6271
6813
|
*
|
|
@@ -6292,7 +6834,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6292
6834
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6293
6835
|
throw new CommonMessageException(await response.json());
|
|
6294
6836
|
}
|
|
6295
|
-
throw new
|
|
6837
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6296
6838
|
}
|
|
6297
6839
|
/**
|
|
6298
6840
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -6320,7 +6862,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6320
6862
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6321
6863
|
throw new CommonMessageException(await response.json());
|
|
6322
6864
|
}
|
|
6323
|
-
throw new
|
|
6865
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6324
6866
|
}
|
|
6325
6867
|
/**
|
|
6326
6868
|
* Change the password for the authenticated user
|
|
@@ -6348,7 +6890,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6348
6890
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6349
6891
|
throw new CommonMessageException(await response.json());
|
|
6350
6892
|
}
|
|
6351
|
-
throw new
|
|
6893
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6352
6894
|
}
|
|
6353
6895
|
/**
|
|
6354
6896
|
* Change the password after the password reset flow was started
|
|
@@ -6376,7 +6918,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6376
6918
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6377
6919
|
throw new CommonMessageException(await response.json());
|
|
6378
6920
|
}
|
|
6379
|
-
throw new
|
|
6921
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6380
6922
|
}
|
|
6381
6923
|
/**
|
|
6382
6924
|
* Returns a user data for the authenticated user
|
|
@@ -6401,7 +6943,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6401
6943
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6402
6944
|
throw new CommonMessageException(await response.json());
|
|
6403
6945
|
}
|
|
6404
|
-
throw new
|
|
6946
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6405
6947
|
}
|
|
6406
6948
|
/**
|
|
6407
6949
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -6429,7 +6971,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6429
6971
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6430
6972
|
throw new CommonMessageException(await response.json());
|
|
6431
6973
|
}
|
|
6432
|
-
throw new
|
|
6974
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6433
6975
|
}
|
|
6434
6976
|
/**
|
|
6435
6977
|
* User login by providing a username and password
|
|
@@ -6457,7 +6999,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6457
6999
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6458
7000
|
throw new CommonMessageException(await response.json());
|
|
6459
7001
|
}
|
|
6460
|
-
throw new
|
|
7002
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6461
7003
|
}
|
|
6462
7004
|
/**
|
|
6463
7005
|
* Refresh a previously obtained access token
|
|
@@ -6485,7 +7027,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6485
7027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6486
7028
|
throw new CommonMessageException(await response.json());
|
|
6487
7029
|
}
|
|
6488
|
-
throw new
|
|
7030
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6489
7031
|
}
|
|
6490
7032
|
/**
|
|
6491
7033
|
* Register a new user account
|
|
@@ -6513,7 +7055,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6513
7055
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6514
7056
|
throw new CommonMessageException(await response.json());
|
|
6515
7057
|
}
|
|
6516
|
-
throw new
|
|
7058
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6517
7059
|
}
|
|
6518
7060
|
/**
|
|
6519
7061
|
* Start the password reset flow
|
|
@@ -6541,7 +7083,7 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6541
7083
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6542
7084
|
throw new CommonMessageException(await response.json());
|
|
6543
7085
|
}
|
|
6544
|
-
throw new
|
|
7086
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6545
7087
|
}
|
|
6546
7088
|
/**
|
|
6547
7089
|
* Updates user data for the authenticated user
|
|
@@ -6569,14 +7111,14 @@ var ConsumerAccountTag = class extends TagAbstract45 {
|
|
|
6569
7111
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6570
7112
|
throw new CommonMessageException(await response.json());
|
|
6571
7113
|
}
|
|
6572
|
-
throw new
|
|
7114
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6573
7115
|
}
|
|
6574
7116
|
};
|
|
6575
7117
|
|
|
6576
7118
|
// src/ConsumerAppTag.ts
|
|
6577
|
-
import { TagAbstract as
|
|
6578
|
-
import { UnknownStatusCodeException as
|
|
6579
|
-
var ConsumerAppTag = class extends
|
|
7119
|
+
import { TagAbstract as TagAbstract50 } from "sdkgen-client";
|
|
7120
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
|
|
7121
|
+
var ConsumerAppTag = class extends TagAbstract50 {
|
|
6580
7122
|
/**
|
|
6581
7123
|
* Creates a new app for the authenticated user
|
|
6582
7124
|
*
|
|
@@ -6603,7 +7145,7 @@ var ConsumerAppTag = class extends TagAbstract46 {
|
|
|
6603
7145
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6604
7146
|
throw new CommonMessageException(await response.json());
|
|
6605
7147
|
}
|
|
6606
|
-
throw new
|
|
7148
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6607
7149
|
}
|
|
6608
7150
|
/**
|
|
6609
7151
|
* Deletes an existing app for the authenticated user
|
|
@@ -6630,7 +7172,7 @@ var ConsumerAppTag = class extends TagAbstract46 {
|
|
|
6630
7172
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6631
7173
|
throw new CommonMessageException(await response.json());
|
|
6632
7174
|
}
|
|
6633
|
-
throw new
|
|
7175
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6634
7176
|
}
|
|
6635
7177
|
/**
|
|
6636
7178
|
* Returns a specific app for the authenticated user
|
|
@@ -6657,7 +7199,7 @@ var ConsumerAppTag = class extends TagAbstract46 {
|
|
|
6657
7199
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6658
7200
|
throw new CommonMessageException(await response.json());
|
|
6659
7201
|
}
|
|
6660
|
-
throw new
|
|
7202
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6661
7203
|
}
|
|
6662
7204
|
/**
|
|
6663
7205
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6686,7 +7228,7 @@ var ConsumerAppTag = class extends TagAbstract46 {
|
|
|
6686
7228
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6687
7229
|
throw new CommonMessageException(await response.json());
|
|
6688
7230
|
}
|
|
6689
|
-
throw new
|
|
7231
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6690
7232
|
}
|
|
6691
7233
|
/**
|
|
6692
7234
|
* Updates an existing app for the authenticated user
|
|
@@ -6716,14 +7258,14 @@ var ConsumerAppTag = class extends TagAbstract46 {
|
|
|
6716
7258
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6717
7259
|
throw new CommonMessageException(await response.json());
|
|
6718
7260
|
}
|
|
6719
|
-
throw new
|
|
7261
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6720
7262
|
}
|
|
6721
7263
|
};
|
|
6722
7264
|
|
|
6723
7265
|
// src/ConsumerEventTag.ts
|
|
6724
|
-
import { TagAbstract as
|
|
6725
|
-
import { UnknownStatusCodeException as
|
|
6726
|
-
var ConsumerEventTag = class extends
|
|
7266
|
+
import { TagAbstract as TagAbstract51 } from "sdkgen-client";
|
|
7267
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
|
|
7268
|
+
var ConsumerEventTag = class extends TagAbstract51 {
|
|
6727
7269
|
/**
|
|
6728
7270
|
* Returns a specific event for the authenticated user
|
|
6729
7271
|
*
|
|
@@ -6749,7 +7291,7 @@ var ConsumerEventTag = class extends TagAbstract47 {
|
|
|
6749
7291
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6750
7292
|
throw new CommonMessageException(await response.json());
|
|
6751
7293
|
}
|
|
6752
|
-
throw new
|
|
7294
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
6753
7295
|
}
|
|
6754
7296
|
/**
|
|
6755
7297
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6778,14 +7320,14 @@ var ConsumerEventTag = class extends TagAbstract47 {
|
|
|
6778
7320
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6779
7321
|
throw new CommonMessageException(await response.json());
|
|
6780
7322
|
}
|
|
6781
|
-
throw new
|
|
7323
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
6782
7324
|
}
|
|
6783
7325
|
};
|
|
6784
7326
|
|
|
6785
7327
|
// src/ConsumerFormTag.ts
|
|
6786
|
-
import { TagAbstract as
|
|
6787
|
-
import { UnknownStatusCodeException as
|
|
6788
|
-
var ConsumerFormTag = class extends
|
|
7328
|
+
import { TagAbstract as TagAbstract52 } from "sdkgen-client";
|
|
7329
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
|
|
7330
|
+
var ConsumerFormTag = class extends TagAbstract52 {
|
|
6789
7331
|
/**
|
|
6790
7332
|
* Returns a specific form for the authenticated user
|
|
6791
7333
|
*
|
|
@@ -6811,7 +7353,7 @@ var ConsumerFormTag = class extends TagAbstract48 {
|
|
|
6811
7353
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6812
7354
|
throw new CommonMessageException(await response.json());
|
|
6813
7355
|
}
|
|
6814
|
-
throw new
|
|
7356
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
6815
7357
|
}
|
|
6816
7358
|
/**
|
|
6817
7359
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -6840,14 +7382,14 @@ var ConsumerFormTag = class extends TagAbstract48 {
|
|
|
6840
7382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6841
7383
|
throw new CommonMessageException(await response.json());
|
|
6842
7384
|
}
|
|
6843
|
-
throw new
|
|
7385
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
6844
7386
|
}
|
|
6845
7387
|
};
|
|
6846
7388
|
|
|
6847
7389
|
// src/ConsumerGrantTag.ts
|
|
6848
|
-
import { TagAbstract as
|
|
6849
|
-
import { UnknownStatusCodeException as
|
|
6850
|
-
var ConsumerGrantTag = class extends
|
|
7390
|
+
import { TagAbstract as TagAbstract53 } from "sdkgen-client";
|
|
7391
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
|
|
7392
|
+
var ConsumerGrantTag = class extends TagAbstract53 {
|
|
6851
7393
|
/**
|
|
6852
7394
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
6853
7395
|
*
|
|
@@ -6873,7 +7415,7 @@ var ConsumerGrantTag = class extends TagAbstract49 {
|
|
|
6873
7415
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6874
7416
|
throw new CommonMessageException(await response.json());
|
|
6875
7417
|
}
|
|
6876
|
-
throw new
|
|
7418
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
6877
7419
|
}
|
|
6878
7420
|
/**
|
|
6879
7421
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -6902,14 +7444,14 @@ var ConsumerGrantTag = class extends TagAbstract49 {
|
|
|
6902
7444
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6903
7445
|
throw new CommonMessageException(await response.json());
|
|
6904
7446
|
}
|
|
6905
|
-
throw new
|
|
7447
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
6906
7448
|
}
|
|
6907
7449
|
};
|
|
6908
7450
|
|
|
6909
7451
|
// src/ConsumerIdentityTag.ts
|
|
6910
|
-
import { TagAbstract as
|
|
6911
|
-
import { UnknownStatusCodeException as
|
|
6912
|
-
var ConsumerIdentityTag = class extends
|
|
7452
|
+
import { TagAbstract as TagAbstract54 } from "sdkgen-client";
|
|
7453
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
|
|
7454
|
+
var ConsumerIdentityTag = class extends TagAbstract54 {
|
|
6913
7455
|
/**
|
|
6914
7456
|
* Identity callback endpoint to exchange an access token
|
|
6915
7457
|
*
|
|
@@ -6935,7 +7477,7 @@ var ConsumerIdentityTag = class extends TagAbstract50 {
|
|
|
6935
7477
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6936
7478
|
throw new CommonMessageException(await response.json());
|
|
6937
7479
|
}
|
|
6938
|
-
throw new
|
|
7480
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6939
7481
|
}
|
|
6940
7482
|
/**
|
|
6941
7483
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -6963,7 +7505,7 @@ var ConsumerIdentityTag = class extends TagAbstract50 {
|
|
|
6963
7505
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6964
7506
|
throw new CommonMessageException(await response.json());
|
|
6965
7507
|
}
|
|
6966
|
-
throw new
|
|
7508
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6967
7509
|
}
|
|
6968
7510
|
/**
|
|
6969
7511
|
* Redirect the user to the configured identity provider
|
|
@@ -6990,14 +7532,14 @@ var ConsumerIdentityTag = class extends TagAbstract50 {
|
|
|
6990
7532
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6991
7533
|
throw new CommonMessageException(await response.json());
|
|
6992
7534
|
}
|
|
6993
|
-
throw new
|
|
7535
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6994
7536
|
}
|
|
6995
7537
|
};
|
|
6996
7538
|
|
|
6997
7539
|
// src/ConsumerLogTag.ts
|
|
6998
|
-
import { TagAbstract as
|
|
6999
|
-
import { UnknownStatusCodeException as
|
|
7000
|
-
var ConsumerLogTag = class extends
|
|
7540
|
+
import { TagAbstract as TagAbstract55 } from "sdkgen-client";
|
|
7541
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
|
|
7542
|
+
var ConsumerLogTag = class extends TagAbstract55 {
|
|
7001
7543
|
/**
|
|
7002
7544
|
* Returns a specific log for the authenticated user
|
|
7003
7545
|
*
|
|
@@ -7023,7 +7565,7 @@ var ConsumerLogTag = class extends TagAbstract51 {
|
|
|
7023
7565
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7024
7566
|
throw new CommonMessageException(await response.json());
|
|
7025
7567
|
}
|
|
7026
|
-
throw new
|
|
7568
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
7027
7569
|
}
|
|
7028
7570
|
/**
|
|
7029
7571
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -7052,14 +7594,14 @@ var ConsumerLogTag = class extends TagAbstract51 {
|
|
|
7052
7594
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7053
7595
|
throw new CommonMessageException(await response.json());
|
|
7054
7596
|
}
|
|
7055
|
-
throw new
|
|
7597
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
7056
7598
|
}
|
|
7057
7599
|
};
|
|
7058
7600
|
|
|
7059
7601
|
// src/ConsumerPageTag.ts
|
|
7060
|
-
import { TagAbstract as
|
|
7061
|
-
import { UnknownStatusCodeException as
|
|
7062
|
-
var ConsumerPageTag = class extends
|
|
7602
|
+
import { TagAbstract as TagAbstract56 } from "sdkgen-client";
|
|
7603
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
|
|
7604
|
+
var ConsumerPageTag = class extends TagAbstract56 {
|
|
7063
7605
|
/**
|
|
7064
7606
|
* Returns a specific page for the authenticated user
|
|
7065
7607
|
*
|
|
@@ -7085,7 +7627,7 @@ var ConsumerPageTag = class extends TagAbstract52 {
|
|
|
7085
7627
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7086
7628
|
throw new CommonMessageException(await response.json());
|
|
7087
7629
|
}
|
|
7088
|
-
throw new
|
|
7630
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7089
7631
|
}
|
|
7090
7632
|
/**
|
|
7091
7633
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -7114,14 +7656,14 @@ var ConsumerPageTag = class extends TagAbstract52 {
|
|
|
7114
7656
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7115
7657
|
throw new CommonMessageException(await response.json());
|
|
7116
7658
|
}
|
|
7117
|
-
throw new
|
|
7659
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7118
7660
|
}
|
|
7119
7661
|
};
|
|
7120
7662
|
|
|
7121
7663
|
// src/ConsumerPaymentTag.ts
|
|
7122
|
-
import { TagAbstract as
|
|
7123
|
-
import { UnknownStatusCodeException as
|
|
7124
|
-
var ConsumerPaymentTag = class extends
|
|
7664
|
+
import { TagAbstract as TagAbstract57 } from "sdkgen-client";
|
|
7665
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
|
|
7666
|
+
var ConsumerPaymentTag = class extends TagAbstract57 {
|
|
7125
7667
|
/**
|
|
7126
7668
|
* Start the checkout process for a specific plan
|
|
7127
7669
|
*
|
|
@@ -7150,7 +7692,7 @@ var ConsumerPaymentTag = class extends TagAbstract53 {
|
|
|
7150
7692
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7151
7693
|
throw new CommonMessageException(await response.json());
|
|
7152
7694
|
}
|
|
7153
|
-
throw new
|
|
7695
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7154
7696
|
}
|
|
7155
7697
|
/**
|
|
7156
7698
|
* Generates a payment portal link for the authenticated user
|
|
@@ -7180,14 +7722,14 @@ var ConsumerPaymentTag = class extends TagAbstract53 {
|
|
|
7180
7722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7181
7723
|
throw new CommonMessageException(await response.json());
|
|
7182
7724
|
}
|
|
7183
|
-
throw new
|
|
7725
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7184
7726
|
}
|
|
7185
7727
|
};
|
|
7186
7728
|
|
|
7187
7729
|
// src/ConsumerPlanTag.ts
|
|
7188
|
-
import { TagAbstract as
|
|
7189
|
-
import { UnknownStatusCodeException as
|
|
7190
|
-
var ConsumerPlanTag = class extends
|
|
7730
|
+
import { TagAbstract as TagAbstract58 } from "sdkgen-client";
|
|
7731
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
|
|
7732
|
+
var ConsumerPlanTag = class extends TagAbstract58 {
|
|
7191
7733
|
/**
|
|
7192
7734
|
* Returns a specific plan for the authenticated user
|
|
7193
7735
|
*
|
|
@@ -7213,7 +7755,7 @@ var ConsumerPlanTag = class extends TagAbstract54 {
|
|
|
7213
7755
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7214
7756
|
throw new CommonMessageException(await response.json());
|
|
7215
7757
|
}
|
|
7216
|
-
throw new
|
|
7758
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7217
7759
|
}
|
|
7218
7760
|
/**
|
|
7219
7761
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -7242,14 +7784,14 @@ var ConsumerPlanTag = class extends TagAbstract54 {
|
|
|
7242
7784
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7243
7785
|
throw new CommonMessageException(await response.json());
|
|
7244
7786
|
}
|
|
7245
|
-
throw new
|
|
7787
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7246
7788
|
}
|
|
7247
7789
|
};
|
|
7248
7790
|
|
|
7249
7791
|
// src/ConsumerScopeTag.ts
|
|
7250
|
-
import { TagAbstract as
|
|
7251
|
-
import { UnknownStatusCodeException as
|
|
7252
|
-
var ConsumerScopeTag = class extends
|
|
7792
|
+
import { TagAbstract as TagAbstract59 } from "sdkgen-client";
|
|
7793
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
|
|
7794
|
+
var ConsumerScopeTag = class extends TagAbstract59 {
|
|
7253
7795
|
/**
|
|
7254
7796
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
7255
7797
|
*
|
|
@@ -7277,7 +7819,7 @@ var ConsumerScopeTag = class extends TagAbstract55 {
|
|
|
7277
7819
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7278
7820
|
throw new CommonMessageException(await response.json());
|
|
7279
7821
|
}
|
|
7280
|
-
throw new
|
|
7822
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7281
7823
|
}
|
|
7282
7824
|
/**
|
|
7283
7825
|
* Returns all scopes by category
|
|
@@ -7302,14 +7844,14 @@ var ConsumerScopeTag = class extends TagAbstract55 {
|
|
|
7302
7844
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7303
7845
|
throw new CommonMessageException(await response.json());
|
|
7304
7846
|
}
|
|
7305
|
-
throw new
|
|
7847
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7306
7848
|
}
|
|
7307
7849
|
};
|
|
7308
7850
|
|
|
7309
7851
|
// src/ConsumerTokenTag.ts
|
|
7310
|
-
import { TagAbstract as
|
|
7311
|
-
import { UnknownStatusCodeException as
|
|
7312
|
-
var ConsumerTokenTag = class extends
|
|
7852
|
+
import { TagAbstract as TagAbstract60 } from "sdkgen-client";
|
|
7853
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException58 } from "sdkgen-client";
|
|
7854
|
+
var ConsumerTokenTag = class extends TagAbstract60 {
|
|
7313
7855
|
/**
|
|
7314
7856
|
* Creates a new token for the authenticated user
|
|
7315
7857
|
*
|
|
@@ -7336,7 +7878,7 @@ var ConsumerTokenTag = class extends TagAbstract56 {
|
|
|
7336
7878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7337
7879
|
throw new CommonMessageException(await response.json());
|
|
7338
7880
|
}
|
|
7339
|
-
throw new
|
|
7881
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7340
7882
|
}
|
|
7341
7883
|
/**
|
|
7342
7884
|
* Deletes an existing token for the authenticated user
|
|
@@ -7363,7 +7905,7 @@ var ConsumerTokenTag = class extends TagAbstract56 {
|
|
|
7363
7905
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7364
7906
|
throw new CommonMessageException(await response.json());
|
|
7365
7907
|
}
|
|
7366
|
-
throw new
|
|
7908
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7367
7909
|
}
|
|
7368
7910
|
/**
|
|
7369
7911
|
* Returns a specific token for the authenticated user
|
|
@@ -7390,7 +7932,7 @@ var ConsumerTokenTag = class extends TagAbstract56 {
|
|
|
7390
7932
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7391
7933
|
throw new CommonMessageException(await response.json());
|
|
7392
7934
|
}
|
|
7393
|
-
throw new
|
|
7935
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7394
7936
|
}
|
|
7395
7937
|
/**
|
|
7396
7938
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -7419,7 +7961,7 @@ var ConsumerTokenTag = class extends TagAbstract56 {
|
|
|
7419
7961
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7420
7962
|
throw new CommonMessageException(await response.json());
|
|
7421
7963
|
}
|
|
7422
|
-
throw new
|
|
7964
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7423
7965
|
}
|
|
7424
7966
|
/**
|
|
7425
7967
|
* Updates an existing token for the authenticated user
|
|
@@ -7449,14 +7991,14 @@ var ConsumerTokenTag = class extends TagAbstract56 {
|
|
|
7449
7991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7450
7992
|
throw new CommonMessageException(await response.json());
|
|
7451
7993
|
}
|
|
7452
|
-
throw new
|
|
7994
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7453
7995
|
}
|
|
7454
7996
|
};
|
|
7455
7997
|
|
|
7456
7998
|
// src/ConsumerTransactionTag.ts
|
|
7457
|
-
import { TagAbstract as
|
|
7458
|
-
import { UnknownStatusCodeException as
|
|
7459
|
-
var ConsumerTransactionTag = class extends
|
|
7999
|
+
import { TagAbstract as TagAbstract61 } from "sdkgen-client";
|
|
8000
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException59 } from "sdkgen-client";
|
|
8001
|
+
var ConsumerTransactionTag = class extends TagAbstract61 {
|
|
7460
8002
|
/**
|
|
7461
8003
|
* Returns a specific transaction for the authenticated user
|
|
7462
8004
|
*
|
|
@@ -7482,7 +8024,7 @@ var ConsumerTransactionTag = class extends TagAbstract57 {
|
|
|
7482
8024
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7483
8025
|
throw new CommonMessageException(await response.json());
|
|
7484
8026
|
}
|
|
7485
|
-
throw new
|
|
8027
|
+
throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
|
|
7486
8028
|
}
|
|
7487
8029
|
/**
|
|
7488
8030
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -7511,14 +8053,14 @@ var ConsumerTransactionTag = class extends TagAbstract57 {
|
|
|
7511
8053
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7512
8054
|
throw new CommonMessageException(await response.json());
|
|
7513
8055
|
}
|
|
7514
|
-
throw new
|
|
8056
|
+
throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
|
|
7515
8057
|
}
|
|
7516
8058
|
};
|
|
7517
8059
|
|
|
7518
8060
|
// src/ConsumerWebhookTag.ts
|
|
7519
|
-
import { TagAbstract as
|
|
7520
|
-
import { UnknownStatusCodeException as
|
|
7521
|
-
var ConsumerWebhookTag = class extends
|
|
8061
|
+
import { TagAbstract as TagAbstract62 } from "sdkgen-client";
|
|
8062
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException60 } from "sdkgen-client";
|
|
8063
|
+
var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
7522
8064
|
/**
|
|
7523
8065
|
* Creates a new webhook for the authenticated user
|
|
7524
8066
|
*
|
|
@@ -7545,7 +8087,7 @@ var ConsumerWebhookTag = class extends TagAbstract58 {
|
|
|
7545
8087
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7546
8088
|
throw new CommonMessageException(await response.json());
|
|
7547
8089
|
}
|
|
7548
|
-
throw new
|
|
8090
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7549
8091
|
}
|
|
7550
8092
|
/**
|
|
7551
8093
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -7572,7 +8114,7 @@ var ConsumerWebhookTag = class extends TagAbstract58 {
|
|
|
7572
8114
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7573
8115
|
throw new CommonMessageException(await response.json());
|
|
7574
8116
|
}
|
|
7575
|
-
throw new
|
|
8117
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7576
8118
|
}
|
|
7577
8119
|
/**
|
|
7578
8120
|
* Returns a specific webhook for the authenticated user
|
|
@@ -7599,7 +8141,7 @@ var ConsumerWebhookTag = class extends TagAbstract58 {
|
|
|
7599
8141
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7600
8142
|
throw new CommonMessageException(await response.json());
|
|
7601
8143
|
}
|
|
7602
|
-
throw new
|
|
8144
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7603
8145
|
}
|
|
7604
8146
|
/**
|
|
7605
8147
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -7628,7 +8170,7 @@ var ConsumerWebhookTag = class extends TagAbstract58 {
|
|
|
7628
8170
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7629
8171
|
throw new CommonMessageException(await response.json());
|
|
7630
8172
|
}
|
|
7631
|
-
throw new
|
|
8173
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7632
8174
|
}
|
|
7633
8175
|
/**
|
|
7634
8176
|
* Updates an existing webhook for the authenticated user
|
|
@@ -7658,12 +8200,12 @@ var ConsumerWebhookTag = class extends TagAbstract58 {
|
|
|
7658
8200
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7659
8201
|
throw new CommonMessageException(await response.json());
|
|
7660
8202
|
}
|
|
7661
|
-
throw new
|
|
8203
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7662
8204
|
}
|
|
7663
8205
|
};
|
|
7664
8206
|
|
|
7665
8207
|
// src/ConsumerTag.ts
|
|
7666
|
-
var ConsumerTag = class extends
|
|
8208
|
+
var ConsumerTag = class extends TagAbstract63 {
|
|
7667
8209
|
account() {
|
|
7668
8210
|
return new ConsumerAccountTag(
|
|
7669
8211
|
this.httpClient,
|
|
@@ -7751,12 +8293,12 @@ var ConsumerTag = class extends TagAbstract59 {
|
|
|
7751
8293
|
};
|
|
7752
8294
|
|
|
7753
8295
|
// src/SystemTag.ts
|
|
7754
|
-
import { TagAbstract as
|
|
8296
|
+
import { TagAbstract as TagAbstract67 } from "sdkgen-client";
|
|
7755
8297
|
|
|
7756
8298
|
// src/SystemConnectionTag.ts
|
|
7757
|
-
import { TagAbstract as
|
|
7758
|
-
import { UnknownStatusCodeException as
|
|
7759
|
-
var SystemConnectionTag = class extends
|
|
8299
|
+
import { TagAbstract as TagAbstract64 } from "sdkgen-client";
|
|
8300
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException61 } from "sdkgen-client";
|
|
8301
|
+
var SystemConnectionTag = class extends TagAbstract64 {
|
|
7760
8302
|
/**
|
|
7761
8303
|
* Connection OAuth2 callback to authorize a connection
|
|
7762
8304
|
*
|
|
@@ -7782,14 +8324,14 @@ var SystemConnectionTag = class extends TagAbstract60 {
|
|
|
7782
8324
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7783
8325
|
throw new CommonMessageException(await response.json());
|
|
7784
8326
|
}
|
|
7785
|
-
throw new
|
|
8327
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7786
8328
|
}
|
|
7787
8329
|
};
|
|
7788
8330
|
|
|
7789
8331
|
// src/SystemMetaTag.ts
|
|
7790
|
-
import { TagAbstract as
|
|
7791
|
-
import { UnknownStatusCodeException as
|
|
7792
|
-
var SystemMetaTag = class extends
|
|
8332
|
+
import { TagAbstract as TagAbstract65 } from "sdkgen-client";
|
|
8333
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException62 } from "sdkgen-client";
|
|
8334
|
+
var SystemMetaTag = class extends TagAbstract65 {
|
|
7793
8335
|
/**
|
|
7794
8336
|
* Returns meta information and links about the current installed Fusio version
|
|
7795
8337
|
*
|
|
@@ -7813,7 +8355,7 @@ var SystemMetaTag = class extends TagAbstract61 {
|
|
|
7813
8355
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7814
8356
|
throw new CommonMessageException(await response.json());
|
|
7815
8357
|
}
|
|
7816
|
-
throw new
|
|
8358
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7817
8359
|
}
|
|
7818
8360
|
/**
|
|
7819
8361
|
* Debug endpoint which returns the provided data
|
|
@@ -7841,7 +8383,7 @@ var SystemMetaTag = class extends TagAbstract61 {
|
|
|
7841
8383
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7842
8384
|
throw new CommonMessageException(await response.json());
|
|
7843
8385
|
}
|
|
7844
|
-
throw new
|
|
8386
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7845
8387
|
}
|
|
7846
8388
|
/**
|
|
7847
8389
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -7866,7 +8408,7 @@ var SystemMetaTag = class extends TagAbstract61 {
|
|
|
7866
8408
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7867
8409
|
throw new CommonMessageException(await response.json());
|
|
7868
8410
|
}
|
|
7869
|
-
throw new
|
|
8411
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7870
8412
|
}
|
|
7871
8413
|
/**
|
|
7872
8414
|
* Returns all available routes
|
|
@@ -7891,7 +8433,7 @@ var SystemMetaTag = class extends TagAbstract61 {
|
|
|
7891
8433
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7892
8434
|
throw new CommonMessageException(await response.json());
|
|
7893
8435
|
}
|
|
7894
|
-
throw new
|
|
8436
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7895
8437
|
}
|
|
7896
8438
|
/**
|
|
7897
8439
|
* Returns details of a specific schema
|
|
@@ -7918,14 +8460,14 @@ var SystemMetaTag = class extends TagAbstract61 {
|
|
|
7918
8460
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7919
8461
|
throw new CommonMessageException(await response.json());
|
|
7920
8462
|
}
|
|
7921
|
-
throw new
|
|
8463
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7922
8464
|
}
|
|
7923
8465
|
};
|
|
7924
8466
|
|
|
7925
8467
|
// src/SystemPaymentTag.ts
|
|
7926
|
-
import { TagAbstract as
|
|
7927
|
-
import { UnknownStatusCodeException as
|
|
7928
|
-
var SystemPaymentTag = class extends
|
|
8468
|
+
import { TagAbstract as TagAbstract66 } from "sdkgen-client";
|
|
8469
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException63 } from "sdkgen-client";
|
|
8470
|
+
var SystemPaymentTag = class extends TagAbstract66 {
|
|
7929
8471
|
/**
|
|
7930
8472
|
* Payment webhook endpoint after successful purchase of a plan
|
|
7931
8473
|
*
|
|
@@ -7951,12 +8493,12 @@ var SystemPaymentTag = class extends TagAbstract62 {
|
|
|
7951
8493
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7952
8494
|
throw new CommonMessageException(await response.json());
|
|
7953
8495
|
}
|
|
7954
|
-
throw new
|
|
8496
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
7955
8497
|
}
|
|
7956
8498
|
};
|
|
7957
8499
|
|
|
7958
8500
|
// src/SystemTag.ts
|
|
7959
|
-
var SystemTag = class extends
|
|
8501
|
+
var SystemTag = class extends TagAbstract67 {
|
|
7960
8502
|
connection() {
|
|
7961
8503
|
return new SystemConnectionTag(
|
|
7962
8504
|
this.httpClient,
|
|
@@ -8011,12 +8553,15 @@ export {
|
|
|
8011
8553
|
AuthorizationTag,
|
|
8012
8554
|
BackendAccountTag,
|
|
8013
8555
|
BackendActionTag,
|
|
8556
|
+
BackendAgentMessageTag,
|
|
8557
|
+
BackendAgentTag,
|
|
8014
8558
|
BackendAppTag,
|
|
8015
8559
|
BackendAuditTag,
|
|
8016
8560
|
BackendBackupTag,
|
|
8017
8561
|
BackendBundleTag,
|
|
8018
8562
|
BackendCategoryTag,
|
|
8019
8563
|
BackendConfigTag,
|
|
8564
|
+
BackendConnectionAgentTag,
|
|
8020
8565
|
BackendConnectionDatabaseTag,
|
|
8021
8566
|
BackendConnectionFilesystemTag,
|
|
8022
8567
|
BackendConnectionHttpTag,
|
|
@@ -8044,6 +8589,7 @@ export {
|
|
|
8044
8589
|
BackendSdkTag,
|
|
8045
8590
|
BackendStatisticTag,
|
|
8046
8591
|
BackendTag,
|
|
8592
|
+
BackendTaxonomyTag,
|
|
8047
8593
|
BackendTenantTag,
|
|
8048
8594
|
BackendTestTag,
|
|
8049
8595
|
BackendTokenTag,
|