fusio-sdk 6.4.1 → 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/LICENSE +21 -21
- package/README.md +6 -6
- package/dist/index.cjs +970 -520
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5829 -5533
- package/dist/index.d.ts +5829 -5533
- package/dist/index.js +935 -488
- package/dist/index.js.map +1 -1
- package/package.json +43 -43
package/dist/index.cjs
CHANGED
|
@@ -23,6 +23,8 @@ __export(index_exports, {
|
|
|
23
23
|
AuthorizationTag: () => AuthorizationTag,
|
|
24
24
|
BackendAccountTag: () => BackendAccountTag,
|
|
25
25
|
BackendActionTag: () => BackendActionTag,
|
|
26
|
+
BackendAgentMessageTag: () => BackendAgentMessageTag,
|
|
27
|
+
BackendAgentTag: () => BackendAgentTag,
|
|
26
28
|
BackendAppTag: () => BackendAppTag,
|
|
27
29
|
BackendAuditTag: () => BackendAuditTag,
|
|
28
30
|
BackendBackupTag: () => BackendBackupTag,
|
|
@@ -57,6 +59,7 @@ __export(index_exports, {
|
|
|
57
59
|
BackendSdkTag: () => BackendSdkTag,
|
|
58
60
|
BackendStatisticTag: () => BackendStatisticTag,
|
|
59
61
|
BackendTag: () => BackendTag,
|
|
62
|
+
BackendTaxonomyTag: () => BackendTaxonomyTag,
|
|
60
63
|
BackendTenantTag: () => BackendTenantTag,
|
|
61
64
|
BackendTestTag: () => BackendTestTag,
|
|
62
65
|
BackendTokenTag: () => BackendTokenTag,
|
|
@@ -416,6 +419,37 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
416
419
|
}
|
|
417
420
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
418
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* Returns a paginated list of action commits
|
|
424
|
+
*
|
|
425
|
+
* @returns {Promise<BackendActionCommitCollection>}
|
|
426
|
+
* @throws {CommonMessageException}
|
|
427
|
+
* @throws {ClientException}
|
|
428
|
+
*/
|
|
429
|
+
async getCommits(actionId, startIndex, count, search) {
|
|
430
|
+
const url = this.parser.url("/backend/action/$action_id<[0-9]+|^~>/commit", {
|
|
431
|
+
"action_id": actionId
|
|
432
|
+
});
|
|
433
|
+
let request = {
|
|
434
|
+
url,
|
|
435
|
+
method: "GET",
|
|
436
|
+
headers: {},
|
|
437
|
+
params: this.parser.query({
|
|
438
|
+
"startIndex": startIndex,
|
|
439
|
+
"count": count,
|
|
440
|
+
"search": search
|
|
441
|
+
}, [])
|
|
442
|
+
};
|
|
443
|
+
const response = await this.httpClient.request(request);
|
|
444
|
+
if (response.ok) {
|
|
445
|
+
return await response.json();
|
|
446
|
+
}
|
|
447
|
+
const statusCode = response.status;
|
|
448
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
449
|
+
throw new CommonMessageException(await response.json());
|
|
450
|
+
}
|
|
451
|
+
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
452
|
+
}
|
|
419
453
|
/**
|
|
420
454
|
* Returns the action config form
|
|
421
455
|
*
|
|
@@ -475,10 +509,253 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
475
509
|
}
|
|
476
510
|
};
|
|
477
511
|
|
|
478
|
-
// src/
|
|
512
|
+
// src/BackendAgentMessageTag.ts
|
|
479
513
|
var import_sdkgen_client8 = require("sdkgen-client");
|
|
480
514
|
var import_sdkgen_client9 = require("sdkgen-client");
|
|
481
|
-
var
|
|
515
|
+
var BackendAgentMessageTag = class extends import_sdkgen_client8.TagAbstract {
|
|
516
|
+
/**
|
|
517
|
+
* Returns a paginated list of agent messages
|
|
518
|
+
*
|
|
519
|
+
* @returns {Promise<BackendAgentMessageCollection>}
|
|
520
|
+
* @throws {CommonMessageException}
|
|
521
|
+
* @throws {ClientException}
|
|
522
|
+
*/
|
|
523
|
+
async getAll(agentId, parent) {
|
|
524
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
525
|
+
"agent_id": agentId
|
|
526
|
+
});
|
|
527
|
+
let request = {
|
|
528
|
+
url,
|
|
529
|
+
method: "GET",
|
|
530
|
+
headers: {},
|
|
531
|
+
params: this.parser.query({
|
|
532
|
+
"parent": parent
|
|
533
|
+
}, [])
|
|
534
|
+
};
|
|
535
|
+
const response = await this.httpClient.request(request);
|
|
536
|
+
if (response.ok) {
|
|
537
|
+
return await response.json();
|
|
538
|
+
}
|
|
539
|
+
const statusCode = response.status;
|
|
540
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
541
|
+
throw new CommonMessageException(await response.json());
|
|
542
|
+
}
|
|
543
|
+
throw new import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Submits a new agent message
|
|
547
|
+
*
|
|
548
|
+
* @returns {Promise<BackendAgentMessage>}
|
|
549
|
+
* @throws {CommonMessageException}
|
|
550
|
+
* @throws {ClientException}
|
|
551
|
+
*/
|
|
552
|
+
async submit(agentId, payload) {
|
|
553
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
554
|
+
"agent_id": agentId
|
|
555
|
+
});
|
|
556
|
+
let request = {
|
|
557
|
+
url,
|
|
558
|
+
method: "POST",
|
|
559
|
+
headers: {
|
|
560
|
+
"Content-Type": "application/json"
|
|
561
|
+
},
|
|
562
|
+
params: this.parser.query({}, []),
|
|
563
|
+
data: payload
|
|
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 import_sdkgen_client9.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
// src/BackendAgentTag.ts
|
|
578
|
+
var import_sdkgen_client10 = require("sdkgen-client");
|
|
579
|
+
var import_sdkgen_client11 = require("sdkgen-client");
|
|
580
|
+
var BackendAgentTag = class extends import_sdkgen_client10.TagAbstract {
|
|
581
|
+
message() {
|
|
582
|
+
return new BackendAgentMessageTag(
|
|
583
|
+
this.httpClient,
|
|
584
|
+
this.parser
|
|
585
|
+
);
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Creates a new agent
|
|
589
|
+
*
|
|
590
|
+
* @returns {Promise<CommonMessage>}
|
|
591
|
+
* @throws {CommonMessageException}
|
|
592
|
+
* @throws {ClientException}
|
|
593
|
+
*/
|
|
594
|
+
async create(payload) {
|
|
595
|
+
const url = this.parser.url("/backend/agent", {});
|
|
596
|
+
let request = {
|
|
597
|
+
url,
|
|
598
|
+
method: "POST",
|
|
599
|
+
headers: {
|
|
600
|
+
"Content-Type": "application/json"
|
|
601
|
+
},
|
|
602
|
+
params: this.parser.query({}, []),
|
|
603
|
+
data: payload
|
|
604
|
+
};
|
|
605
|
+
const response = await this.httpClient.request(request);
|
|
606
|
+
if (response.ok) {
|
|
607
|
+
return await response.json();
|
|
608
|
+
}
|
|
609
|
+
const statusCode = response.status;
|
|
610
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
611
|
+
throw new CommonMessageException(await response.json());
|
|
612
|
+
}
|
|
613
|
+
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* Deletes an existing agent
|
|
617
|
+
*
|
|
618
|
+
* @returns {Promise<CommonMessage>}
|
|
619
|
+
* @throws {CommonMessageException}
|
|
620
|
+
* @throws {ClientException}
|
|
621
|
+
*/
|
|
622
|
+
async delete(agentId) {
|
|
623
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
624
|
+
"agent_id": agentId
|
|
625
|
+
});
|
|
626
|
+
let request = {
|
|
627
|
+
url,
|
|
628
|
+
method: "DELETE",
|
|
629
|
+
headers: {},
|
|
630
|
+
params: this.parser.query({}, [])
|
|
631
|
+
};
|
|
632
|
+
const response = await this.httpClient.request(request);
|
|
633
|
+
if (response.ok) {
|
|
634
|
+
return await response.json();
|
|
635
|
+
}
|
|
636
|
+
const statusCode = response.status;
|
|
637
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
638
|
+
throw new CommonMessageException(await response.json());
|
|
639
|
+
}
|
|
640
|
+
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Returns a specific agent
|
|
644
|
+
*
|
|
645
|
+
* @returns {Promise<BackendAgent>}
|
|
646
|
+
* @throws {CommonMessageException}
|
|
647
|
+
* @throws {ClientException}
|
|
648
|
+
*/
|
|
649
|
+
async get(agentId) {
|
|
650
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
651
|
+
"agent_id": agentId
|
|
652
|
+
});
|
|
653
|
+
let request = {
|
|
654
|
+
url,
|
|
655
|
+
method: "GET",
|
|
656
|
+
headers: {},
|
|
657
|
+
params: this.parser.query({}, [])
|
|
658
|
+
};
|
|
659
|
+
const response = await this.httpClient.request(request);
|
|
660
|
+
if (response.ok) {
|
|
661
|
+
return await response.json();
|
|
662
|
+
}
|
|
663
|
+
const statusCode = response.status;
|
|
664
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
665
|
+
throw new CommonMessageException(await response.json());
|
|
666
|
+
}
|
|
667
|
+
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* Returns a paginated list of agents
|
|
671
|
+
*
|
|
672
|
+
* @returns {Promise<BackendAgentCollection>}
|
|
673
|
+
* @throws {CommonMessageException}
|
|
674
|
+
* @throws {ClientException}
|
|
675
|
+
*/
|
|
676
|
+
async getAll(startIndex, count, search) {
|
|
677
|
+
const url = this.parser.url("/backend/agent", {});
|
|
678
|
+
let request = {
|
|
679
|
+
url,
|
|
680
|
+
method: "GET",
|
|
681
|
+
headers: {},
|
|
682
|
+
params: this.parser.query({
|
|
683
|
+
"startIndex": startIndex,
|
|
684
|
+
"count": count,
|
|
685
|
+
"search": search
|
|
686
|
+
}, [])
|
|
687
|
+
};
|
|
688
|
+
const response = await this.httpClient.request(request);
|
|
689
|
+
if (response.ok) {
|
|
690
|
+
return await response.json();
|
|
691
|
+
}
|
|
692
|
+
const statusCode = response.status;
|
|
693
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
694
|
+
throw new CommonMessageException(await response.json());
|
|
695
|
+
}
|
|
696
|
+
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Returns available tools for an agent
|
|
700
|
+
*
|
|
701
|
+
* @returns {Promise<BackendAgentTools>}
|
|
702
|
+
* @throws {CommonMessageException}
|
|
703
|
+
* @throws {ClientException}
|
|
704
|
+
*/
|
|
705
|
+
async getTools() {
|
|
706
|
+
const url = this.parser.url("/backend/agent/tools", {});
|
|
707
|
+
let request = {
|
|
708
|
+
url,
|
|
709
|
+
method: "GET",
|
|
710
|
+
headers: {},
|
|
711
|
+
params: this.parser.query({}, [])
|
|
712
|
+
};
|
|
713
|
+
const response = await this.httpClient.request(request);
|
|
714
|
+
if (response.ok) {
|
|
715
|
+
return await response.json();
|
|
716
|
+
}
|
|
717
|
+
const statusCode = response.status;
|
|
718
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
719
|
+
throw new CommonMessageException(await response.json());
|
|
720
|
+
}
|
|
721
|
+
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* Updates an existing agent
|
|
725
|
+
*
|
|
726
|
+
* @returns {Promise<CommonMessage>}
|
|
727
|
+
* @throws {CommonMessageException}
|
|
728
|
+
* @throws {ClientException}
|
|
729
|
+
*/
|
|
730
|
+
async update(agentId, payload) {
|
|
731
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
732
|
+
"agent_id": agentId
|
|
733
|
+
});
|
|
734
|
+
let request = {
|
|
735
|
+
url,
|
|
736
|
+
method: "PUT",
|
|
737
|
+
headers: {
|
|
738
|
+
"Content-Type": "application/json"
|
|
739
|
+
},
|
|
740
|
+
params: this.parser.query({}, []),
|
|
741
|
+
data: payload
|
|
742
|
+
};
|
|
743
|
+
const response = await this.httpClient.request(request);
|
|
744
|
+
if (response.ok) {
|
|
745
|
+
return await response.json();
|
|
746
|
+
}
|
|
747
|
+
const statusCode = response.status;
|
|
748
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
749
|
+
throw new CommonMessageException(await response.json());
|
|
750
|
+
}
|
|
751
|
+
throw new import_sdkgen_client11.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
752
|
+
}
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
// src/BackendAppTag.ts
|
|
756
|
+
var import_sdkgen_client12 = require("sdkgen-client");
|
|
757
|
+
var import_sdkgen_client13 = require("sdkgen-client");
|
|
758
|
+
var BackendAppTag = class extends import_sdkgen_client12.TagAbstract {
|
|
482
759
|
/**
|
|
483
760
|
* Creates a new app
|
|
484
761
|
*
|
|
@@ -505,7 +782,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
505
782
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
506
783
|
throw new CommonMessageException(await response.json());
|
|
507
784
|
}
|
|
508
|
-
throw new
|
|
785
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
509
786
|
}
|
|
510
787
|
/**
|
|
511
788
|
* Deletes an existing app
|
|
@@ -532,7 +809,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
532
809
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
533
810
|
throw new CommonMessageException(await response.json());
|
|
534
811
|
}
|
|
535
|
-
throw new
|
|
812
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
536
813
|
}
|
|
537
814
|
/**
|
|
538
815
|
* Deletes an existing token from an app
|
|
@@ -560,7 +837,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
560
837
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
561
838
|
throw new CommonMessageException(await response.json());
|
|
562
839
|
}
|
|
563
|
-
throw new
|
|
840
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
564
841
|
}
|
|
565
842
|
/**
|
|
566
843
|
* Returns a specific app
|
|
@@ -587,7 +864,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
587
864
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
588
865
|
throw new CommonMessageException(await response.json());
|
|
589
866
|
}
|
|
590
|
-
throw new
|
|
867
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
591
868
|
}
|
|
592
869
|
/**
|
|
593
870
|
* Returns a paginated list of apps
|
|
@@ -616,7 +893,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
616
893
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
617
894
|
throw new CommonMessageException(await response.json());
|
|
618
895
|
}
|
|
619
|
-
throw new
|
|
896
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
620
897
|
}
|
|
621
898
|
/**
|
|
622
899
|
* Updates an existing app
|
|
@@ -646,14 +923,14 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
646
923
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
647
924
|
throw new CommonMessageException(await response.json());
|
|
648
925
|
}
|
|
649
|
-
throw new
|
|
926
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
650
927
|
}
|
|
651
928
|
};
|
|
652
929
|
|
|
653
930
|
// src/BackendAuditTag.ts
|
|
654
|
-
var
|
|
655
|
-
var
|
|
656
|
-
var BackendAuditTag = class extends
|
|
931
|
+
var import_sdkgen_client14 = require("sdkgen-client");
|
|
932
|
+
var import_sdkgen_client15 = require("sdkgen-client");
|
|
933
|
+
var BackendAuditTag = class extends import_sdkgen_client14.TagAbstract {
|
|
657
934
|
/**
|
|
658
935
|
* Returns a specific audit
|
|
659
936
|
*
|
|
@@ -679,7 +956,7 @@ var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
|
|
|
679
956
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
680
957
|
throw new CommonMessageException(await response.json());
|
|
681
958
|
}
|
|
682
|
-
throw new
|
|
959
|
+
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
683
960
|
}
|
|
684
961
|
/**
|
|
685
962
|
* Returns a paginated list of audits
|
|
@@ -715,14 +992,14 @@ var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
|
|
|
715
992
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
716
993
|
throw new CommonMessageException(await response.json());
|
|
717
994
|
}
|
|
718
|
-
throw new
|
|
995
|
+
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
719
996
|
}
|
|
720
997
|
};
|
|
721
998
|
|
|
722
999
|
// src/BackendBackupTag.ts
|
|
723
|
-
var
|
|
724
|
-
var
|
|
725
|
-
var BackendBackupTag = class extends
|
|
1000
|
+
var import_sdkgen_client16 = require("sdkgen-client");
|
|
1001
|
+
var import_sdkgen_client17 = require("sdkgen-client");
|
|
1002
|
+
var BackendBackupTag = class extends import_sdkgen_client16.TagAbstract {
|
|
726
1003
|
/**
|
|
727
1004
|
* Generates an backup of the current system
|
|
728
1005
|
*
|
|
@@ -746,7 +1023,7 @@ var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
|
|
|
746
1023
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
747
1024
|
throw new CommonMessageException(await response.json());
|
|
748
1025
|
}
|
|
749
|
-
throw new
|
|
1026
|
+
throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
750
1027
|
}
|
|
751
1028
|
/**
|
|
752
1029
|
* Imports an backup to the current system
|
|
@@ -774,14 +1051,14 @@ var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
|
|
|
774
1051
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
775
1052
|
throw new CommonMessageException(await response.json());
|
|
776
1053
|
}
|
|
777
|
-
throw new
|
|
1054
|
+
throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
778
1055
|
}
|
|
779
1056
|
};
|
|
780
1057
|
|
|
781
1058
|
// src/BackendBundleTag.ts
|
|
782
|
-
var
|
|
783
|
-
var
|
|
784
|
-
var BackendBundleTag = class extends
|
|
1059
|
+
var import_sdkgen_client18 = require("sdkgen-client");
|
|
1060
|
+
var import_sdkgen_client19 = require("sdkgen-client");
|
|
1061
|
+
var BackendBundleTag = class extends import_sdkgen_client18.TagAbstract {
|
|
785
1062
|
/**
|
|
786
1063
|
* Creates a new bundle
|
|
787
1064
|
*
|
|
@@ -808,7 +1085,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
808
1085
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
809
1086
|
throw new CommonMessageException(await response.json());
|
|
810
1087
|
}
|
|
811
|
-
throw new
|
|
1088
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
812
1089
|
}
|
|
813
1090
|
/**
|
|
814
1091
|
* Deletes an existing bundle
|
|
@@ -835,7 +1112,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
835
1112
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
836
1113
|
throw new CommonMessageException(await response.json());
|
|
837
1114
|
}
|
|
838
|
-
throw new
|
|
1115
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
839
1116
|
}
|
|
840
1117
|
/**
|
|
841
1118
|
* Returns a specific bundle
|
|
@@ -862,7 +1139,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
862
1139
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
863
1140
|
throw new CommonMessageException(await response.json());
|
|
864
1141
|
}
|
|
865
|
-
throw new
|
|
1142
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
866
1143
|
}
|
|
867
1144
|
/**
|
|
868
1145
|
* Returns a paginated list of bundles
|
|
@@ -891,7 +1168,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
891
1168
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
892
1169
|
throw new CommonMessageException(await response.json());
|
|
893
1170
|
}
|
|
894
|
-
throw new
|
|
1171
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
895
1172
|
}
|
|
896
1173
|
/**
|
|
897
1174
|
* Publish an existing bundle to the marketplace
|
|
@@ -918,7 +1195,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
918
1195
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
919
1196
|
throw new CommonMessageException(await response.json());
|
|
920
1197
|
}
|
|
921
|
-
throw new
|
|
1198
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
922
1199
|
}
|
|
923
1200
|
/**
|
|
924
1201
|
* Updates an existing bundle
|
|
@@ -948,14 +1225,14 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
948
1225
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
949
1226
|
throw new CommonMessageException(await response.json());
|
|
950
1227
|
}
|
|
951
|
-
throw new
|
|
1228
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
952
1229
|
}
|
|
953
1230
|
};
|
|
954
1231
|
|
|
955
1232
|
// src/BackendCategoryTag.ts
|
|
956
|
-
var
|
|
957
|
-
var
|
|
958
|
-
var BackendCategoryTag = class extends
|
|
1233
|
+
var import_sdkgen_client20 = require("sdkgen-client");
|
|
1234
|
+
var import_sdkgen_client21 = require("sdkgen-client");
|
|
1235
|
+
var BackendCategoryTag = class extends import_sdkgen_client20.TagAbstract {
|
|
959
1236
|
/**
|
|
960
1237
|
* Creates a new category
|
|
961
1238
|
*
|
|
@@ -982,7 +1259,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
982
1259
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
983
1260
|
throw new CommonMessageException(await response.json());
|
|
984
1261
|
}
|
|
985
|
-
throw new
|
|
1262
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
986
1263
|
}
|
|
987
1264
|
/**
|
|
988
1265
|
* Deletes an existing category
|
|
@@ -1009,7 +1286,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1009
1286
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1010
1287
|
throw new CommonMessageException(await response.json());
|
|
1011
1288
|
}
|
|
1012
|
-
throw new
|
|
1289
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1013
1290
|
}
|
|
1014
1291
|
/**
|
|
1015
1292
|
* Returns a specific category
|
|
@@ -1036,7 +1313,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1036
1313
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1037
1314
|
throw new CommonMessageException(await response.json());
|
|
1038
1315
|
}
|
|
1039
|
-
throw new
|
|
1316
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1040
1317
|
}
|
|
1041
1318
|
/**
|
|
1042
1319
|
* Returns a paginated list of categories
|
|
@@ -1065,7 +1342,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1065
1342
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1066
1343
|
throw new CommonMessageException(await response.json());
|
|
1067
1344
|
}
|
|
1068
|
-
throw new
|
|
1345
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1069
1346
|
}
|
|
1070
1347
|
/**
|
|
1071
1348
|
* Updates an existing category
|
|
@@ -1095,14 +1372,14 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1095
1372
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1096
1373
|
throw new CommonMessageException(await response.json());
|
|
1097
1374
|
}
|
|
1098
|
-
throw new
|
|
1375
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1099
1376
|
}
|
|
1100
1377
|
};
|
|
1101
1378
|
|
|
1102
1379
|
// src/BackendConfigTag.ts
|
|
1103
|
-
var
|
|
1104
|
-
var
|
|
1105
|
-
var BackendConfigTag = class extends
|
|
1380
|
+
var import_sdkgen_client22 = require("sdkgen-client");
|
|
1381
|
+
var import_sdkgen_client23 = require("sdkgen-client");
|
|
1382
|
+
var BackendConfigTag = class extends import_sdkgen_client22.TagAbstract {
|
|
1106
1383
|
/**
|
|
1107
1384
|
* Returns a specific config
|
|
1108
1385
|
*
|
|
@@ -1128,7 +1405,7 @@ var BackendConfigTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1128
1405
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1129
1406
|
throw new CommonMessageException(await response.json());
|
|
1130
1407
|
}
|
|
1131
|
-
throw new
|
|
1408
|
+
throw new import_sdkgen_client23.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1132
1409
|
}
|
|
1133
1410
|
/**
|
|
1134
1411
|
* Returns a paginated list of configuration values
|
|
@@ -1157,7 +1434,7 @@ var BackendConfigTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1157
1434
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1158
1435
|
throw new CommonMessageException(await response.json());
|
|
1159
1436
|
}
|
|
1160
|
-
throw new
|
|
1437
|
+
throw new import_sdkgen_client23.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1161
1438
|
}
|
|
1162
1439
|
/**
|
|
1163
1440
|
* Updates an existing config value
|
|
@@ -1187,74 +1464,18 @@ var BackendConfigTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1187
1464
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1188
1465
|
throw new CommonMessageException(await response.json());
|
|
1189
1466
|
}
|
|
1190
|
-
throw new
|
|
1467
|
+
throw new import_sdkgen_client23.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1191
1468
|
}
|
|
1192
1469
|
};
|
|
1193
1470
|
|
|
1194
1471
|
// src/BackendConnectionAgentTag.ts
|
|
1195
|
-
var
|
|
1196
|
-
var
|
|
1197
|
-
var BackendConnectionAgentTag = class extends
|
|
1198
|
-
/**
|
|
1199
|
-
* Returns all previous sent messages
|
|
1200
|
-
*
|
|
1201
|
-
* @returns {Promise<BackendAgentCollection>}
|
|
1202
|
-
* @throws {CommonMessageException}
|
|
1203
|
-
* @throws {ClientException}
|
|
1204
|
-
*/
|
|
1205
|
-
async get(connectionId, intent) {
|
|
1206
|
-
const url = this.parser.url("/backend/connection/:connection_id/agent", {
|
|
1207
|
-
"connection_id": connectionId
|
|
1208
|
-
});
|
|
1209
|
-
let request = {
|
|
1210
|
-
url,
|
|
1211
|
-
method: "GET",
|
|
1212
|
-
headers: {},
|
|
1213
|
-
params: this.parser.query({
|
|
1214
|
-
"intent": intent
|
|
1215
|
-
}, [])
|
|
1216
|
-
};
|
|
1217
|
-
const response = await this.httpClient.request(request);
|
|
1218
|
-
if (response.ok) {
|
|
1219
|
-
return await response.json();
|
|
1220
|
-
}
|
|
1221
|
-
const statusCode = response.status;
|
|
1222
|
-
if (statusCode >= 0 && statusCode <= 999) {
|
|
1223
|
-
throw new CommonMessageException(await response.json());
|
|
1224
|
-
}
|
|
1225
|
-
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* Resets all agent messages
|
|
1229
|
-
*
|
|
1230
|
-
* @returns {Promise<CommonMessage>}
|
|
1231
|
-
* @throws {CommonMessageException}
|
|
1232
|
-
* @throws {ClientException}
|
|
1233
|
-
*/
|
|
1234
|
-
async reset(connectionId) {
|
|
1235
|
-
const url = this.parser.url("/backend/connection/:connection_id/agent", {
|
|
1236
|
-
"connection_id": connectionId
|
|
1237
|
-
});
|
|
1238
|
-
let request = {
|
|
1239
|
-
url,
|
|
1240
|
-
method: "DELETE",
|
|
1241
|
-
headers: {},
|
|
1242
|
-
params: this.parser.query({}, [])
|
|
1243
|
-
};
|
|
1244
|
-
const response = await this.httpClient.request(request);
|
|
1245
|
-
if (response.ok) {
|
|
1246
|
-
return await response.json();
|
|
1247
|
-
}
|
|
1248
|
-
const statusCode = response.status;
|
|
1249
|
-
if (statusCode >= 0 && statusCode <= 999) {
|
|
1250
|
-
throw new CommonMessageException(await response.json());
|
|
1251
|
-
}
|
|
1252
|
-
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1253
|
-
}
|
|
1472
|
+
var import_sdkgen_client24 = require("sdkgen-client");
|
|
1473
|
+
var import_sdkgen_client25 = require("sdkgen-client");
|
|
1474
|
+
var BackendConnectionAgentTag = class extends import_sdkgen_client24.TagAbstract {
|
|
1254
1475
|
/**
|
|
1255
1476
|
* Sends a message to an agent
|
|
1256
1477
|
*
|
|
1257
|
-
* @returns {Promise<
|
|
1478
|
+
* @returns {Promise<BackendAgentContent>}
|
|
1258
1479
|
* @throws {CommonMessageException}
|
|
1259
1480
|
* @throws {ClientException}
|
|
1260
1481
|
*/
|
|
@@ -1279,14 +1500,14 @@ var BackendConnectionAgentTag = class extends import_sdkgen_client20.TagAbstract
|
|
|
1279
1500
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1280
1501
|
throw new CommonMessageException(await response.json());
|
|
1281
1502
|
}
|
|
1282
|
-
throw new
|
|
1503
|
+
throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1283
1504
|
}
|
|
1284
1505
|
};
|
|
1285
1506
|
|
|
1286
1507
|
// src/BackendConnectionDatabaseTag.ts
|
|
1287
|
-
var
|
|
1288
|
-
var
|
|
1289
|
-
var BackendConnectionDatabaseTag = class extends
|
|
1508
|
+
var import_sdkgen_client26 = require("sdkgen-client");
|
|
1509
|
+
var import_sdkgen_client27 = require("sdkgen-client");
|
|
1510
|
+
var BackendConnectionDatabaseTag = class extends import_sdkgen_client26.TagAbstract {
|
|
1290
1511
|
/**
|
|
1291
1512
|
* Creates a new row at a table on a database
|
|
1292
1513
|
*
|
|
@@ -1316,7 +1537,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1316
1537
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1317
1538
|
throw new CommonMessageException(await response.json());
|
|
1318
1539
|
}
|
|
1319
|
-
throw new
|
|
1540
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1320
1541
|
}
|
|
1321
1542
|
/**
|
|
1322
1543
|
* Creates a new table on a database
|
|
@@ -1346,7 +1567,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1346
1567
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1347
1568
|
throw new CommonMessageException(await response.json());
|
|
1348
1569
|
}
|
|
1349
|
-
throw new
|
|
1570
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1350
1571
|
}
|
|
1351
1572
|
/**
|
|
1352
1573
|
* Deletes an existing row at a table on a database
|
|
@@ -1375,7 +1596,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1375
1596
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1376
1597
|
throw new CommonMessageException(await response.json());
|
|
1377
1598
|
}
|
|
1378
|
-
throw new
|
|
1599
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1379
1600
|
}
|
|
1380
1601
|
/**
|
|
1381
1602
|
* Deletes an existing table on a database
|
|
@@ -1403,7 +1624,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1403
1624
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1404
1625
|
throw new CommonMessageException(await response.json());
|
|
1405
1626
|
}
|
|
1406
|
-
throw new
|
|
1627
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1407
1628
|
}
|
|
1408
1629
|
/**
|
|
1409
1630
|
* Returns a specific row at a table on a database
|
|
@@ -1432,7 +1653,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1432
1653
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1433
1654
|
throw new CommonMessageException(await response.json());
|
|
1434
1655
|
}
|
|
1435
|
-
throw new
|
|
1656
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1436
1657
|
}
|
|
1437
1658
|
/**
|
|
1438
1659
|
* Returns paginated rows at a table on a database
|
|
@@ -1469,7 +1690,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1469
1690
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1470
1691
|
throw new CommonMessageException(await response.json());
|
|
1471
1692
|
}
|
|
1472
|
-
throw new
|
|
1693
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1473
1694
|
}
|
|
1474
1695
|
/**
|
|
1475
1696
|
* Returns the schema of a specific table on a database
|
|
@@ -1497,7 +1718,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1497
1718
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1498
1719
|
throw new CommonMessageException(await response.json());
|
|
1499
1720
|
}
|
|
1500
|
-
throw new
|
|
1721
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1501
1722
|
}
|
|
1502
1723
|
/**
|
|
1503
1724
|
* Returns all available tables on a database
|
|
@@ -1527,7 +1748,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1527
1748
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1528
1749
|
throw new CommonMessageException(await response.json());
|
|
1529
1750
|
}
|
|
1530
|
-
throw new
|
|
1751
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1531
1752
|
}
|
|
1532
1753
|
/**
|
|
1533
1754
|
* Updates an existing row at a table on a database
|
|
@@ -1559,7 +1780,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1559
1780
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1560
1781
|
throw new CommonMessageException(await response.json());
|
|
1561
1782
|
}
|
|
1562
|
-
throw new
|
|
1783
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1563
1784
|
}
|
|
1564
1785
|
/**
|
|
1565
1786
|
* Updates an existing table on a database
|
|
@@ -1590,14 +1811,14 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client22.TagAbstr
|
|
|
1590
1811
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1591
1812
|
throw new CommonMessageException(await response.json());
|
|
1592
1813
|
}
|
|
1593
|
-
throw new
|
|
1814
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1594
1815
|
}
|
|
1595
1816
|
};
|
|
1596
1817
|
|
|
1597
1818
|
// src/BackendConnectionFilesystemTag.ts
|
|
1598
|
-
var
|
|
1599
|
-
var
|
|
1600
|
-
var BackendConnectionFilesystemTag = class extends
|
|
1819
|
+
var import_sdkgen_client28 = require("sdkgen-client");
|
|
1820
|
+
var import_sdkgen_client29 = require("sdkgen-client");
|
|
1821
|
+
var BackendConnectionFilesystemTag = class extends import_sdkgen_client28.TagAbstract {
|
|
1601
1822
|
/**
|
|
1602
1823
|
* Uploads one or more files on the filesystem connection
|
|
1603
1824
|
*
|
|
@@ -1624,7 +1845,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client24.TagAbs
|
|
|
1624
1845
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1625
1846
|
throw new CommonMessageException(await response.json());
|
|
1626
1847
|
}
|
|
1627
|
-
throw new
|
|
1848
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1628
1849
|
}
|
|
1629
1850
|
/**
|
|
1630
1851
|
* Deletes an existing file on the filesystem connection
|
|
@@ -1652,7 +1873,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client24.TagAbs
|
|
|
1652
1873
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1653
1874
|
throw new CommonMessageException(await response.json());
|
|
1654
1875
|
}
|
|
1655
|
-
throw new
|
|
1876
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1656
1877
|
}
|
|
1657
1878
|
/**
|
|
1658
1879
|
* Returns the content of the provided file id on the filesystem connection
|
|
@@ -1682,7 +1903,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client24.TagAbs
|
|
|
1682
1903
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1683
1904
|
throw new CommonMessageException(await response.json());
|
|
1684
1905
|
}
|
|
1685
|
-
throw new
|
|
1906
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1686
1907
|
}
|
|
1687
1908
|
/**
|
|
1688
1909
|
* Returns all available files on the filesystem connection
|
|
@@ -1712,7 +1933,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client24.TagAbs
|
|
|
1712
1933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1713
1934
|
throw new CommonMessageException(await response.json());
|
|
1714
1935
|
}
|
|
1715
|
-
throw new
|
|
1936
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1716
1937
|
}
|
|
1717
1938
|
/**
|
|
1718
1939
|
* Updates an existing file on the filesystem connection
|
|
@@ -1741,14 +1962,14 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client24.TagAbs
|
|
|
1741
1962
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1742
1963
|
throw new CommonMessageException(await response.json());
|
|
1743
1964
|
}
|
|
1744
|
-
throw new
|
|
1965
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1745
1966
|
}
|
|
1746
1967
|
};
|
|
1747
1968
|
|
|
1748
1969
|
// src/BackendConnectionHttpTag.ts
|
|
1749
|
-
var
|
|
1750
|
-
var
|
|
1751
|
-
var BackendConnectionHttpTag = class extends
|
|
1970
|
+
var import_sdkgen_client30 = require("sdkgen-client");
|
|
1971
|
+
var import_sdkgen_client31 = require("sdkgen-client");
|
|
1972
|
+
var BackendConnectionHttpTag = class extends import_sdkgen_client30.TagAbstract {
|
|
1752
1973
|
/**
|
|
1753
1974
|
* Sends an arbitrary HTTP request to the connection
|
|
1754
1975
|
*
|
|
@@ -1777,14 +1998,14 @@ var BackendConnectionHttpTag = class extends import_sdkgen_client26.TagAbstract
|
|
|
1777
1998
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1778
1999
|
throw new CommonMessageException(await response.json());
|
|
1779
2000
|
}
|
|
1780
|
-
throw new
|
|
2001
|
+
throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1781
2002
|
}
|
|
1782
2003
|
};
|
|
1783
2004
|
|
|
1784
2005
|
// src/BackendConnectionSdkTag.ts
|
|
1785
|
-
var
|
|
1786
|
-
var
|
|
1787
|
-
var BackendConnectionSdkTag = class extends
|
|
2006
|
+
var import_sdkgen_client32 = require("sdkgen-client");
|
|
2007
|
+
var import_sdkgen_client33 = require("sdkgen-client");
|
|
2008
|
+
var BackendConnectionSdkTag = class extends import_sdkgen_client32.TagAbstract {
|
|
1788
2009
|
/**
|
|
1789
2010
|
* Returns the SDK specification
|
|
1790
2011
|
*
|
|
@@ -1810,14 +2031,14 @@ var BackendConnectionSdkTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1810
2031
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1811
2032
|
throw new CommonMessageException(await response.json());
|
|
1812
2033
|
}
|
|
1813
|
-
throw new
|
|
2034
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1814
2035
|
}
|
|
1815
2036
|
};
|
|
1816
2037
|
|
|
1817
2038
|
// src/BackendConnectionTag.ts
|
|
1818
|
-
var
|
|
1819
|
-
var
|
|
1820
|
-
var BackendConnectionTag = class extends
|
|
2039
|
+
var import_sdkgen_client34 = require("sdkgen-client");
|
|
2040
|
+
var import_sdkgen_client35 = require("sdkgen-client");
|
|
2041
|
+
var BackendConnectionTag = class extends import_sdkgen_client34.TagAbstract {
|
|
1821
2042
|
agent() {
|
|
1822
2043
|
return new BackendConnectionAgentTag(
|
|
1823
2044
|
this.httpClient,
|
|
@@ -1874,7 +2095,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1874
2095
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1875
2096
|
throw new CommonMessageException(await response.json());
|
|
1876
2097
|
}
|
|
1877
|
-
throw new
|
|
2098
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1878
2099
|
}
|
|
1879
2100
|
/**
|
|
1880
2101
|
* Deletes an existing connection
|
|
@@ -1901,7 +2122,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1901
2122
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1902
2123
|
throw new CommonMessageException(await response.json());
|
|
1903
2124
|
}
|
|
1904
|
-
throw new
|
|
2125
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1905
2126
|
}
|
|
1906
2127
|
/**
|
|
1907
2128
|
* Returns a specific connection
|
|
@@ -1928,7 +2149,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1928
2149
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1929
2150
|
throw new CommonMessageException(await response.json());
|
|
1930
2151
|
}
|
|
1931
|
-
throw new
|
|
2152
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1932
2153
|
}
|
|
1933
2154
|
/**
|
|
1934
2155
|
* Returns a paginated list of connections
|
|
@@ -1958,7 +2179,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1958
2179
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1959
2180
|
throw new CommonMessageException(await response.json());
|
|
1960
2181
|
}
|
|
1961
|
-
throw new
|
|
2182
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1962
2183
|
}
|
|
1963
2184
|
/**
|
|
1964
2185
|
* Returns all available connection classes
|
|
@@ -1983,7 +2204,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
1983
2204
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1984
2205
|
throw new CommonMessageException(await response.json());
|
|
1985
2206
|
}
|
|
1986
|
-
throw new
|
|
2207
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1987
2208
|
}
|
|
1988
2209
|
/**
|
|
1989
2210
|
* Returns the connection config form
|
|
@@ -2010,7 +2231,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2010
2231
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2011
2232
|
throw new CommonMessageException(await response.json());
|
|
2012
2233
|
}
|
|
2013
|
-
throw new
|
|
2234
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2014
2235
|
}
|
|
2015
2236
|
/**
|
|
2016
2237
|
* Returns a redirect url to start the OAuth2 authorization flow for the given connection
|
|
@@ -2037,7 +2258,7 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2037
2258
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2038
2259
|
throw new CommonMessageException(await response.json());
|
|
2039
2260
|
}
|
|
2040
|
-
throw new
|
|
2261
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2041
2262
|
}
|
|
2042
2263
|
/**
|
|
2043
2264
|
* Updates an existing connection
|
|
@@ -2067,14 +2288,14 @@ var BackendConnectionTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2067
2288
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2068
2289
|
throw new CommonMessageException(await response.json());
|
|
2069
2290
|
}
|
|
2070
|
-
throw new
|
|
2291
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2071
2292
|
}
|
|
2072
2293
|
};
|
|
2073
2294
|
|
|
2074
2295
|
// src/BackendCronjobTag.ts
|
|
2075
|
-
var
|
|
2076
|
-
var
|
|
2077
|
-
var BackendCronjobTag = class extends
|
|
2296
|
+
var import_sdkgen_client36 = require("sdkgen-client");
|
|
2297
|
+
var import_sdkgen_client37 = require("sdkgen-client");
|
|
2298
|
+
var BackendCronjobTag = class extends import_sdkgen_client36.TagAbstract {
|
|
2078
2299
|
/**
|
|
2079
2300
|
* Creates a new cronjob
|
|
2080
2301
|
*
|
|
@@ -2101,7 +2322,7 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2101
2322
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2102
2323
|
throw new CommonMessageException(await response.json());
|
|
2103
2324
|
}
|
|
2104
|
-
throw new
|
|
2325
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2105
2326
|
}
|
|
2106
2327
|
/**
|
|
2107
2328
|
* Deletes an existing cronjob
|
|
@@ -2128,7 +2349,7 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2128
2349
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2129
2350
|
throw new CommonMessageException(await response.json());
|
|
2130
2351
|
}
|
|
2131
|
-
throw new
|
|
2352
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2132
2353
|
}
|
|
2133
2354
|
/**
|
|
2134
2355
|
* Returns a specific cronjob
|
|
@@ -2155,7 +2376,7 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2155
2376
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2156
2377
|
throw new CommonMessageException(await response.json());
|
|
2157
2378
|
}
|
|
2158
|
-
throw new
|
|
2379
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2159
2380
|
}
|
|
2160
2381
|
/**
|
|
2161
2382
|
* Returns a paginated list of cronjobs
|
|
@@ -2164,7 +2385,7 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2164
2385
|
* @throws {CommonMessageException}
|
|
2165
2386
|
* @throws {ClientException}
|
|
2166
2387
|
*/
|
|
2167
|
-
async getAll(startIndex, count, search) {
|
|
2388
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2168
2389
|
const url = this.parser.url("/backend/cronjob", {});
|
|
2169
2390
|
let request = {
|
|
2170
2391
|
url,
|
|
@@ -2173,7 +2394,8 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2173
2394
|
params: this.parser.query({
|
|
2174
2395
|
"startIndex": startIndex,
|
|
2175
2396
|
"count": count,
|
|
2176
|
-
"search": search
|
|
2397
|
+
"search": search,
|
|
2398
|
+
"taxonomy": taxonomy
|
|
2177
2399
|
}, [])
|
|
2178
2400
|
};
|
|
2179
2401
|
const response = await this.httpClient.request(request);
|
|
@@ -2184,7 +2406,7 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2184
2406
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2185
2407
|
throw new CommonMessageException(await response.json());
|
|
2186
2408
|
}
|
|
2187
|
-
throw new
|
|
2409
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2188
2410
|
}
|
|
2189
2411
|
/**
|
|
2190
2412
|
* Updates an existing cronjob
|
|
@@ -2214,14 +2436,14 @@ var BackendCronjobTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2214
2436
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2215
2437
|
throw new CommonMessageException(await response.json());
|
|
2216
2438
|
}
|
|
2217
|
-
throw new
|
|
2439
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2218
2440
|
}
|
|
2219
2441
|
};
|
|
2220
2442
|
|
|
2221
2443
|
// src/BackendDashboardTag.ts
|
|
2222
|
-
var
|
|
2223
|
-
var
|
|
2224
|
-
var BackendDashboardTag = class extends
|
|
2444
|
+
var import_sdkgen_client38 = require("sdkgen-client");
|
|
2445
|
+
var import_sdkgen_client39 = require("sdkgen-client");
|
|
2446
|
+
var BackendDashboardTag = class extends import_sdkgen_client38.TagAbstract {
|
|
2225
2447
|
/**
|
|
2226
2448
|
* Returns all available dashboard widgets
|
|
2227
2449
|
*
|
|
@@ -2245,14 +2467,14 @@ var BackendDashboardTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2245
2467
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2246
2468
|
throw new CommonMessageException(await response.json());
|
|
2247
2469
|
}
|
|
2248
|
-
throw new
|
|
2470
|
+
throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2249
2471
|
}
|
|
2250
2472
|
};
|
|
2251
2473
|
|
|
2252
2474
|
// src/BackendEventTag.ts
|
|
2253
|
-
var
|
|
2254
|
-
var
|
|
2255
|
-
var BackendEventTag = class extends
|
|
2475
|
+
var import_sdkgen_client40 = require("sdkgen-client");
|
|
2476
|
+
var import_sdkgen_client41 = require("sdkgen-client");
|
|
2477
|
+
var BackendEventTag = class extends import_sdkgen_client40.TagAbstract {
|
|
2256
2478
|
/**
|
|
2257
2479
|
* Creates a new event
|
|
2258
2480
|
*
|
|
@@ -2279,7 +2501,7 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2279
2501
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2280
2502
|
throw new CommonMessageException(await response.json());
|
|
2281
2503
|
}
|
|
2282
|
-
throw new
|
|
2504
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2283
2505
|
}
|
|
2284
2506
|
/**
|
|
2285
2507
|
* Deletes an existing event
|
|
@@ -2306,7 +2528,7 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2306
2528
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2307
2529
|
throw new CommonMessageException(await response.json());
|
|
2308
2530
|
}
|
|
2309
|
-
throw new
|
|
2531
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2310
2532
|
}
|
|
2311
2533
|
/**
|
|
2312
2534
|
* Returns a specific event
|
|
@@ -2333,7 +2555,7 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2333
2555
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2334
2556
|
throw new CommonMessageException(await response.json());
|
|
2335
2557
|
}
|
|
2336
|
-
throw new
|
|
2558
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2337
2559
|
}
|
|
2338
2560
|
/**
|
|
2339
2561
|
* Returns a paginated list of events
|
|
@@ -2342,7 +2564,7 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2342
2564
|
* @throws {CommonMessageException}
|
|
2343
2565
|
* @throws {ClientException}
|
|
2344
2566
|
*/
|
|
2345
|
-
async getAll(startIndex, count, search) {
|
|
2567
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2346
2568
|
const url = this.parser.url("/backend/event", {});
|
|
2347
2569
|
let request = {
|
|
2348
2570
|
url,
|
|
@@ -2351,7 +2573,8 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2351
2573
|
params: this.parser.query({
|
|
2352
2574
|
"startIndex": startIndex,
|
|
2353
2575
|
"count": count,
|
|
2354
|
-
"search": search
|
|
2576
|
+
"search": search,
|
|
2577
|
+
"taxonomy": taxonomy
|
|
2355
2578
|
}, [])
|
|
2356
2579
|
};
|
|
2357
2580
|
const response = await this.httpClient.request(request);
|
|
@@ -2362,7 +2585,7 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2362
2585
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2363
2586
|
throw new CommonMessageException(await response.json());
|
|
2364
2587
|
}
|
|
2365
|
-
throw new
|
|
2588
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2366
2589
|
}
|
|
2367
2590
|
/**
|
|
2368
2591
|
* Updates an existing event
|
|
@@ -2392,14 +2615,14 @@ var BackendEventTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2392
2615
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2393
2616
|
throw new CommonMessageException(await response.json());
|
|
2394
2617
|
}
|
|
2395
|
-
throw new
|
|
2618
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2396
2619
|
}
|
|
2397
2620
|
};
|
|
2398
2621
|
|
|
2399
2622
|
// src/BackendFirewallTag.ts
|
|
2400
|
-
var
|
|
2401
|
-
var
|
|
2402
|
-
var BackendFirewallTag = class extends
|
|
2623
|
+
var import_sdkgen_client42 = require("sdkgen-client");
|
|
2624
|
+
var import_sdkgen_client43 = require("sdkgen-client");
|
|
2625
|
+
var BackendFirewallTag = class extends import_sdkgen_client42.TagAbstract {
|
|
2403
2626
|
/**
|
|
2404
2627
|
* Creates a new firewall rule
|
|
2405
2628
|
*
|
|
@@ -2426,7 +2649,7 @@ var BackendFirewallTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2426
2649
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2427
2650
|
throw new CommonMessageException(await response.json());
|
|
2428
2651
|
}
|
|
2429
|
-
throw new
|
|
2652
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2430
2653
|
}
|
|
2431
2654
|
/**
|
|
2432
2655
|
* Deletes an existing firewall rule
|
|
@@ -2453,7 +2676,7 @@ var BackendFirewallTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2453
2676
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2454
2677
|
throw new CommonMessageException(await response.json());
|
|
2455
2678
|
}
|
|
2456
|
-
throw new
|
|
2679
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2457
2680
|
}
|
|
2458
2681
|
/**
|
|
2459
2682
|
* Returns a specific firewall rule
|
|
@@ -2480,7 +2703,7 @@ var BackendFirewallTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2480
2703
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2481
2704
|
throw new CommonMessageException(await response.json());
|
|
2482
2705
|
}
|
|
2483
|
-
throw new
|
|
2706
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2484
2707
|
}
|
|
2485
2708
|
/**
|
|
2486
2709
|
* Returns a paginated list of firewall rules
|
|
@@ -2509,7 +2732,7 @@ var BackendFirewallTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2509
2732
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2510
2733
|
throw new CommonMessageException(await response.json());
|
|
2511
2734
|
}
|
|
2512
|
-
throw new
|
|
2735
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2513
2736
|
}
|
|
2514
2737
|
/**
|
|
2515
2738
|
* Updates an existing firewall rule
|
|
@@ -2539,14 +2762,14 @@ var BackendFirewallTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2539
2762
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2540
2763
|
throw new CommonMessageException(await response.json());
|
|
2541
2764
|
}
|
|
2542
|
-
throw new
|
|
2765
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2543
2766
|
}
|
|
2544
2767
|
};
|
|
2545
2768
|
|
|
2546
2769
|
// src/BackendFormTag.ts
|
|
2547
|
-
var
|
|
2548
|
-
var
|
|
2549
|
-
var BackendFormTag = class extends
|
|
2770
|
+
var import_sdkgen_client44 = require("sdkgen-client");
|
|
2771
|
+
var import_sdkgen_client45 = require("sdkgen-client");
|
|
2772
|
+
var BackendFormTag = class extends import_sdkgen_client44.TagAbstract {
|
|
2550
2773
|
/**
|
|
2551
2774
|
* Creates a new form
|
|
2552
2775
|
*
|
|
@@ -2573,7 +2796,7 @@ var BackendFormTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2573
2796
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2574
2797
|
throw new CommonMessageException(await response.json());
|
|
2575
2798
|
}
|
|
2576
|
-
throw new
|
|
2799
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2577
2800
|
}
|
|
2578
2801
|
/**
|
|
2579
2802
|
* Deletes an existing form
|
|
@@ -2600,7 +2823,7 @@ var BackendFormTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2600
2823
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2601
2824
|
throw new CommonMessageException(await response.json());
|
|
2602
2825
|
}
|
|
2603
|
-
throw new
|
|
2826
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2604
2827
|
}
|
|
2605
2828
|
/**
|
|
2606
2829
|
* Returns a specific form
|
|
@@ -2627,7 +2850,7 @@ var BackendFormTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2627
2850
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2628
2851
|
throw new CommonMessageException(await response.json());
|
|
2629
2852
|
}
|
|
2630
|
-
throw new
|
|
2853
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2631
2854
|
}
|
|
2632
2855
|
/**
|
|
2633
2856
|
* Returns a paginated list of forms
|
|
@@ -2656,7 +2879,7 @@ var BackendFormTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2656
2879
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2657
2880
|
throw new CommonMessageException(await response.json());
|
|
2658
2881
|
}
|
|
2659
|
-
throw new
|
|
2882
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2660
2883
|
}
|
|
2661
2884
|
/**
|
|
2662
2885
|
* Updates an existing form
|
|
@@ -2686,14 +2909,14 @@ var BackendFormTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2686
2909
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2687
2910
|
throw new CommonMessageException(await response.json());
|
|
2688
2911
|
}
|
|
2689
|
-
throw new
|
|
2912
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2690
2913
|
}
|
|
2691
2914
|
};
|
|
2692
2915
|
|
|
2693
2916
|
// src/BackendGeneratorTag.ts
|
|
2694
|
-
var
|
|
2695
|
-
var
|
|
2696
|
-
var BackendGeneratorTag = class extends
|
|
2917
|
+
var import_sdkgen_client46 = require("sdkgen-client");
|
|
2918
|
+
var import_sdkgen_client47 = require("sdkgen-client");
|
|
2919
|
+
var BackendGeneratorTag = class extends import_sdkgen_client46.TagAbstract {
|
|
2697
2920
|
/**
|
|
2698
2921
|
* Executes a generator with the provided config
|
|
2699
2922
|
*
|
|
@@ -2722,7 +2945,7 @@ var BackendGeneratorTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2722
2945
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2723
2946
|
throw new CommonMessageException(await response.json());
|
|
2724
2947
|
}
|
|
2725
|
-
throw new
|
|
2948
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2726
2949
|
}
|
|
2727
2950
|
/**
|
|
2728
2951
|
* Generates a changelog of all potential changes if you execute this generator with the provided config
|
|
@@ -2752,7 +2975,7 @@ var BackendGeneratorTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2752
2975
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2753
2976
|
throw new CommonMessageException(await response.json());
|
|
2754
2977
|
}
|
|
2755
|
-
throw new
|
|
2978
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2756
2979
|
}
|
|
2757
2980
|
/**
|
|
2758
2981
|
* Returns all available generator classes
|
|
@@ -2777,7 +3000,7 @@ var BackendGeneratorTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2777
3000
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2778
3001
|
throw new CommonMessageException(await response.json());
|
|
2779
3002
|
}
|
|
2780
|
-
throw new
|
|
3003
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2781
3004
|
}
|
|
2782
3005
|
/**
|
|
2783
3006
|
* Returns the generator config form
|
|
@@ -2804,14 +3027,14 @@ var BackendGeneratorTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2804
3027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2805
3028
|
throw new CommonMessageException(await response.json());
|
|
2806
3029
|
}
|
|
2807
|
-
throw new
|
|
3030
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2808
3031
|
}
|
|
2809
3032
|
};
|
|
2810
3033
|
|
|
2811
3034
|
// src/BackendIdentityTag.ts
|
|
2812
|
-
var
|
|
2813
|
-
var
|
|
2814
|
-
var BackendIdentityTag = class extends
|
|
3035
|
+
var import_sdkgen_client48 = require("sdkgen-client");
|
|
3036
|
+
var import_sdkgen_client49 = require("sdkgen-client");
|
|
3037
|
+
var BackendIdentityTag = class extends import_sdkgen_client48.TagAbstract {
|
|
2815
3038
|
/**
|
|
2816
3039
|
* Creates a new identity
|
|
2817
3040
|
*
|
|
@@ -2838,7 +3061,7 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2838
3061
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2839
3062
|
throw new CommonMessageException(await response.json());
|
|
2840
3063
|
}
|
|
2841
|
-
throw new
|
|
3064
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2842
3065
|
}
|
|
2843
3066
|
/**
|
|
2844
3067
|
* Deletes an existing identity
|
|
@@ -2865,7 +3088,7 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2865
3088
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2866
3089
|
throw new CommonMessageException(await response.json());
|
|
2867
3090
|
}
|
|
2868
|
-
throw new
|
|
3091
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2869
3092
|
}
|
|
2870
3093
|
/**
|
|
2871
3094
|
* Returns a specific identity
|
|
@@ -2892,7 +3115,7 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2892
3115
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2893
3116
|
throw new CommonMessageException(await response.json());
|
|
2894
3117
|
}
|
|
2895
|
-
throw new
|
|
3118
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2896
3119
|
}
|
|
2897
3120
|
/**
|
|
2898
3121
|
* Returns a paginated list of identities
|
|
@@ -2921,7 +3144,7 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2921
3144
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2922
3145
|
throw new CommonMessageException(await response.json());
|
|
2923
3146
|
}
|
|
2924
|
-
throw new
|
|
3147
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2925
3148
|
}
|
|
2926
3149
|
/**
|
|
2927
3150
|
* Returns all available identity classes
|
|
@@ -2946,7 +3169,7 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2946
3169
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2947
3170
|
throw new CommonMessageException(await response.json());
|
|
2948
3171
|
}
|
|
2949
|
-
throw new
|
|
3172
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2950
3173
|
}
|
|
2951
3174
|
/**
|
|
2952
3175
|
* Returns the identity config form
|
|
@@ -2973,7 +3196,7 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2973
3196
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2974
3197
|
throw new CommonMessageException(await response.json());
|
|
2975
3198
|
}
|
|
2976
|
-
throw new
|
|
3199
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2977
3200
|
}
|
|
2978
3201
|
/**
|
|
2979
3202
|
* Updates an existing identity
|
|
@@ -3003,14 +3226,14 @@ var BackendIdentityTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
3003
3226
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3004
3227
|
throw new CommonMessageException(await response.json());
|
|
3005
3228
|
}
|
|
3006
|
-
throw new
|
|
3229
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3007
3230
|
}
|
|
3008
3231
|
};
|
|
3009
3232
|
|
|
3010
3233
|
// src/BackendLogTag.ts
|
|
3011
|
-
var
|
|
3012
|
-
var
|
|
3013
|
-
var BackendLogTag = class extends
|
|
3234
|
+
var import_sdkgen_client50 = require("sdkgen-client");
|
|
3235
|
+
var import_sdkgen_client51 = require("sdkgen-client");
|
|
3236
|
+
var BackendLogTag = class extends import_sdkgen_client50.TagAbstract {
|
|
3014
3237
|
/**
|
|
3015
3238
|
* Returns a specific log
|
|
3016
3239
|
*
|
|
@@ -3036,7 +3259,7 @@ var BackendLogTag = class extends import_sdkgen_client46.TagAbstract {
|
|
|
3036
3259
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3037
3260
|
throw new CommonMessageException(await response.json());
|
|
3038
3261
|
}
|
|
3039
|
-
throw new
|
|
3262
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3040
3263
|
}
|
|
3041
3264
|
/**
|
|
3042
3265
|
* Returns a paginated list of logs
|
|
@@ -3076,7 +3299,7 @@ var BackendLogTag = class extends import_sdkgen_client46.TagAbstract {
|
|
|
3076
3299
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3077
3300
|
throw new CommonMessageException(await response.json());
|
|
3078
3301
|
}
|
|
3079
|
-
throw new
|
|
3302
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3080
3303
|
}
|
|
3081
3304
|
/**
|
|
3082
3305
|
* Returns a paginated list of log errors
|
|
@@ -3105,7 +3328,7 @@ var BackendLogTag = class extends import_sdkgen_client46.TagAbstract {
|
|
|
3105
3328
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3106
3329
|
throw new CommonMessageException(await response.json());
|
|
3107
3330
|
}
|
|
3108
|
-
throw new
|
|
3331
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3109
3332
|
}
|
|
3110
3333
|
/**
|
|
3111
3334
|
* Returns a specific error
|
|
@@ -3132,14 +3355,14 @@ var BackendLogTag = class extends import_sdkgen_client46.TagAbstract {
|
|
|
3132
3355
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3133
3356
|
throw new CommonMessageException(await response.json());
|
|
3134
3357
|
}
|
|
3135
|
-
throw new
|
|
3358
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3136
3359
|
}
|
|
3137
3360
|
};
|
|
3138
3361
|
|
|
3139
3362
|
// src/BackendMarketplaceActionTag.ts
|
|
3140
|
-
var
|
|
3141
|
-
var
|
|
3142
|
-
var BackendMarketplaceActionTag = class extends
|
|
3363
|
+
var import_sdkgen_client52 = require("sdkgen-client");
|
|
3364
|
+
var import_sdkgen_client53 = require("sdkgen-client");
|
|
3365
|
+
var BackendMarketplaceActionTag = class extends import_sdkgen_client52.TagAbstract {
|
|
3143
3366
|
/**
|
|
3144
3367
|
* Returns a specific marketplace action
|
|
3145
3368
|
*
|
|
@@ -3166,7 +3389,7 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client48.TagAbstra
|
|
|
3166
3389
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3167
3390
|
throw new CommonMessageException(await response.json());
|
|
3168
3391
|
}
|
|
3169
|
-
throw new
|
|
3392
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3170
3393
|
}
|
|
3171
3394
|
/**
|
|
3172
3395
|
* Returns a paginated list of marketplace actions
|
|
@@ -3194,7 +3417,7 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client48.TagAbstra
|
|
|
3194
3417
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3195
3418
|
throw new CommonMessageException(await response.json());
|
|
3196
3419
|
}
|
|
3197
|
-
throw new
|
|
3420
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3198
3421
|
}
|
|
3199
3422
|
/**
|
|
3200
3423
|
* Installs an action from the marketplace
|
|
@@ -3222,7 +3445,7 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client48.TagAbstra
|
|
|
3222
3445
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3223
3446
|
throw new CommonMessageException(await response.json());
|
|
3224
3447
|
}
|
|
3225
|
-
throw new
|
|
3448
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3226
3449
|
}
|
|
3227
3450
|
/**
|
|
3228
3451
|
* Upgrades an action from the marketplace
|
|
@@ -3250,14 +3473,14 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client48.TagAbstra
|
|
|
3250
3473
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3251
3474
|
throw new CommonMessageException(await response.json());
|
|
3252
3475
|
}
|
|
3253
|
-
throw new
|
|
3476
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3254
3477
|
}
|
|
3255
3478
|
};
|
|
3256
3479
|
|
|
3257
3480
|
// src/BackendMarketplaceAppTag.ts
|
|
3258
|
-
var
|
|
3259
|
-
var
|
|
3260
|
-
var BackendMarketplaceAppTag = class extends
|
|
3481
|
+
var import_sdkgen_client54 = require("sdkgen-client");
|
|
3482
|
+
var import_sdkgen_client55 = require("sdkgen-client");
|
|
3483
|
+
var BackendMarketplaceAppTag = class extends import_sdkgen_client54.TagAbstract {
|
|
3261
3484
|
/**
|
|
3262
3485
|
* Returns a specific marketplace app
|
|
3263
3486
|
*
|
|
@@ -3284,7 +3507,7 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client50.TagAbstract
|
|
|
3284
3507
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3285
3508
|
throw new CommonMessageException(await response.json());
|
|
3286
3509
|
}
|
|
3287
|
-
throw new
|
|
3510
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3288
3511
|
}
|
|
3289
3512
|
/**
|
|
3290
3513
|
* Returns a paginated list of marketplace apps
|
|
@@ -3312,7 +3535,7 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client50.TagAbstract
|
|
|
3312
3535
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3313
3536
|
throw new CommonMessageException(await response.json());
|
|
3314
3537
|
}
|
|
3315
|
-
throw new
|
|
3538
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3316
3539
|
}
|
|
3317
3540
|
/**
|
|
3318
3541
|
* Installs an app from the marketplace
|
|
@@ -3340,7 +3563,7 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client50.TagAbstract
|
|
|
3340
3563
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3341
3564
|
throw new CommonMessageException(await response.json());
|
|
3342
3565
|
}
|
|
3343
|
-
throw new
|
|
3566
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3344
3567
|
}
|
|
3345
3568
|
/**
|
|
3346
3569
|
* Upgrades an app from the marketplace
|
|
@@ -3368,14 +3591,14 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client50.TagAbstract
|
|
|
3368
3591
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3369
3592
|
throw new CommonMessageException(await response.json());
|
|
3370
3593
|
}
|
|
3371
|
-
throw new
|
|
3594
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3372
3595
|
}
|
|
3373
3596
|
};
|
|
3374
3597
|
|
|
3375
3598
|
// src/BackendMarketplaceBundleTag.ts
|
|
3376
|
-
var
|
|
3377
|
-
var
|
|
3378
|
-
var BackendMarketplaceBundleTag = class extends
|
|
3599
|
+
var import_sdkgen_client56 = require("sdkgen-client");
|
|
3600
|
+
var import_sdkgen_client57 = require("sdkgen-client");
|
|
3601
|
+
var BackendMarketplaceBundleTag = class extends import_sdkgen_client56.TagAbstract {
|
|
3379
3602
|
/**
|
|
3380
3603
|
* Returns a specific marketplace bundle
|
|
3381
3604
|
*
|
|
@@ -3402,7 +3625,7 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client52.TagAbstra
|
|
|
3402
3625
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3403
3626
|
throw new CommonMessageException(await response.json());
|
|
3404
3627
|
}
|
|
3405
|
-
throw new
|
|
3628
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3406
3629
|
}
|
|
3407
3630
|
/**
|
|
3408
3631
|
* Returns a paginated list of marketplace bundles
|
|
@@ -3430,7 +3653,7 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client52.TagAbstra
|
|
|
3430
3653
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3431
3654
|
throw new CommonMessageException(await response.json());
|
|
3432
3655
|
}
|
|
3433
|
-
throw new
|
|
3656
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3434
3657
|
}
|
|
3435
3658
|
/**
|
|
3436
3659
|
* Installs an bundle from the marketplace
|
|
@@ -3458,7 +3681,7 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client52.TagAbstra
|
|
|
3458
3681
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3459
3682
|
throw new CommonMessageException(await response.json());
|
|
3460
3683
|
}
|
|
3461
|
-
throw new
|
|
3684
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3462
3685
|
}
|
|
3463
3686
|
/**
|
|
3464
3687
|
* Upgrades an bundle from the marketplace
|
|
@@ -3486,13 +3709,13 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client52.TagAbstra
|
|
|
3486
3709
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3487
3710
|
throw new CommonMessageException(await response.json());
|
|
3488
3711
|
}
|
|
3489
|
-
throw new
|
|
3712
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3490
3713
|
}
|
|
3491
3714
|
};
|
|
3492
3715
|
|
|
3493
3716
|
// src/BackendMarketplaceTag.ts
|
|
3494
|
-
var
|
|
3495
|
-
var BackendMarketplaceTag = class extends
|
|
3717
|
+
var import_sdkgen_client58 = require("sdkgen-client");
|
|
3718
|
+
var BackendMarketplaceTag = class extends import_sdkgen_client58.TagAbstract {
|
|
3496
3719
|
action() {
|
|
3497
3720
|
return new BackendMarketplaceActionTag(
|
|
3498
3721
|
this.httpClient,
|
|
@@ -3514,9 +3737,9 @@ var BackendMarketplaceTag = class extends import_sdkgen_client54.TagAbstract {
|
|
|
3514
3737
|
};
|
|
3515
3738
|
|
|
3516
3739
|
// src/BackendOperationTag.ts
|
|
3517
|
-
var
|
|
3518
|
-
var
|
|
3519
|
-
var BackendOperationTag = class extends
|
|
3740
|
+
var import_sdkgen_client59 = require("sdkgen-client");
|
|
3741
|
+
var import_sdkgen_client60 = require("sdkgen-client");
|
|
3742
|
+
var BackendOperationTag = class extends import_sdkgen_client59.TagAbstract {
|
|
3520
3743
|
/**
|
|
3521
3744
|
* Creates a new operation
|
|
3522
3745
|
*
|
|
@@ -3543,7 +3766,7 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3543
3766
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3544
3767
|
throw new CommonMessageException(await response.json());
|
|
3545
3768
|
}
|
|
3546
|
-
throw new
|
|
3769
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3547
3770
|
}
|
|
3548
3771
|
/**
|
|
3549
3772
|
* Deletes an existing operation
|
|
@@ -3570,7 +3793,7 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3570
3793
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3571
3794
|
throw new CommonMessageException(await response.json());
|
|
3572
3795
|
}
|
|
3573
|
-
throw new
|
|
3796
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3574
3797
|
}
|
|
3575
3798
|
/**
|
|
3576
3799
|
* Returns a specific operation
|
|
@@ -3597,7 +3820,7 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3597
3820
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3598
3821
|
throw new CommonMessageException(await response.json());
|
|
3599
3822
|
}
|
|
3600
|
-
throw new
|
|
3823
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3601
3824
|
}
|
|
3602
3825
|
/**
|
|
3603
3826
|
* Returns a paginated list of operations
|
|
@@ -3606,7 +3829,7 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3606
3829
|
* @throws {CommonMessageException}
|
|
3607
3830
|
* @throws {ClientException}
|
|
3608
3831
|
*/
|
|
3609
|
-
async getAll(startIndex, count, search) {
|
|
3832
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
3610
3833
|
const url = this.parser.url("/backend/operation", {});
|
|
3611
3834
|
let request = {
|
|
3612
3835
|
url,
|
|
@@ -3615,7 +3838,8 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3615
3838
|
params: this.parser.query({
|
|
3616
3839
|
"startIndex": startIndex,
|
|
3617
3840
|
"count": count,
|
|
3618
|
-
"search": search
|
|
3841
|
+
"search": search,
|
|
3842
|
+
"taxonomy": taxonomy
|
|
3619
3843
|
}, [])
|
|
3620
3844
|
};
|
|
3621
3845
|
const response = await this.httpClient.request(request);
|
|
@@ -3626,7 +3850,7 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3626
3850
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3627
3851
|
throw new CommonMessageException(await response.json());
|
|
3628
3852
|
}
|
|
3629
|
-
throw new
|
|
3853
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3630
3854
|
}
|
|
3631
3855
|
/**
|
|
3632
3856
|
* Updates an existing operation
|
|
@@ -3656,14 +3880,14 @@ var BackendOperationTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3656
3880
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3657
3881
|
throw new CommonMessageException(await response.json());
|
|
3658
3882
|
}
|
|
3659
|
-
throw new
|
|
3883
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3660
3884
|
}
|
|
3661
3885
|
};
|
|
3662
3886
|
|
|
3663
3887
|
// src/BackendPageTag.ts
|
|
3664
|
-
var
|
|
3665
|
-
var
|
|
3666
|
-
var BackendPageTag = class extends
|
|
3888
|
+
var import_sdkgen_client61 = require("sdkgen-client");
|
|
3889
|
+
var import_sdkgen_client62 = require("sdkgen-client");
|
|
3890
|
+
var BackendPageTag = class extends import_sdkgen_client61.TagAbstract {
|
|
3667
3891
|
/**
|
|
3668
3892
|
* Creates a new page
|
|
3669
3893
|
*
|
|
@@ -3690,7 +3914,7 @@ var BackendPageTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3690
3914
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3691
3915
|
throw new CommonMessageException(await response.json());
|
|
3692
3916
|
}
|
|
3693
|
-
throw new
|
|
3917
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3694
3918
|
}
|
|
3695
3919
|
/**
|
|
3696
3920
|
* Deletes an existing page
|
|
@@ -3717,7 +3941,7 @@ var BackendPageTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3717
3941
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3718
3942
|
throw new CommonMessageException(await response.json());
|
|
3719
3943
|
}
|
|
3720
|
-
throw new
|
|
3944
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3721
3945
|
}
|
|
3722
3946
|
/**
|
|
3723
3947
|
* Returns a specific page
|
|
@@ -3744,7 +3968,7 @@ var BackendPageTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3744
3968
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3745
3969
|
throw new CommonMessageException(await response.json());
|
|
3746
3970
|
}
|
|
3747
|
-
throw new
|
|
3971
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3748
3972
|
}
|
|
3749
3973
|
/**
|
|
3750
3974
|
* Returns a paginated list of pages
|
|
@@ -3773,7 +3997,7 @@ var BackendPageTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3773
3997
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3774
3998
|
throw new CommonMessageException(await response.json());
|
|
3775
3999
|
}
|
|
3776
|
-
throw new
|
|
4000
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3777
4001
|
}
|
|
3778
4002
|
/**
|
|
3779
4003
|
* Updates an existing page
|
|
@@ -3803,14 +4027,14 @@ var BackendPageTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3803
4027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3804
4028
|
throw new CommonMessageException(await response.json());
|
|
3805
4029
|
}
|
|
3806
|
-
throw new
|
|
4030
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3807
4031
|
}
|
|
3808
4032
|
};
|
|
3809
4033
|
|
|
3810
4034
|
// src/BackendPlanTag.ts
|
|
3811
|
-
var
|
|
3812
|
-
var
|
|
3813
|
-
var BackendPlanTag = class extends
|
|
4035
|
+
var import_sdkgen_client63 = require("sdkgen-client");
|
|
4036
|
+
var import_sdkgen_client64 = require("sdkgen-client");
|
|
4037
|
+
var BackendPlanTag = class extends import_sdkgen_client63.TagAbstract {
|
|
3814
4038
|
/**
|
|
3815
4039
|
* Creates a new plan
|
|
3816
4040
|
*
|
|
@@ -3837,7 +4061,7 @@ var BackendPlanTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3837
4061
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3838
4062
|
throw new CommonMessageException(await response.json());
|
|
3839
4063
|
}
|
|
3840
|
-
throw new
|
|
4064
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3841
4065
|
}
|
|
3842
4066
|
/**
|
|
3843
4067
|
* Deletes an existing plan
|
|
@@ -3864,7 +4088,7 @@ var BackendPlanTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3864
4088
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3865
4089
|
throw new CommonMessageException(await response.json());
|
|
3866
4090
|
}
|
|
3867
|
-
throw new
|
|
4091
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3868
4092
|
}
|
|
3869
4093
|
/**
|
|
3870
4094
|
* Returns a specific plan
|
|
@@ -3891,7 +4115,7 @@ var BackendPlanTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3891
4115
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3892
4116
|
throw new CommonMessageException(await response.json());
|
|
3893
4117
|
}
|
|
3894
|
-
throw new
|
|
4118
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3895
4119
|
}
|
|
3896
4120
|
/**
|
|
3897
4121
|
* Returns a paginated list of plans
|
|
@@ -3920,7 +4144,7 @@ var BackendPlanTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3920
4144
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3921
4145
|
throw new CommonMessageException(await response.json());
|
|
3922
4146
|
}
|
|
3923
|
-
throw new
|
|
4147
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3924
4148
|
}
|
|
3925
4149
|
/**
|
|
3926
4150
|
* Updates an existing plan
|
|
@@ -3950,14 +4174,14 @@ var BackendPlanTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3950
4174
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3951
4175
|
throw new CommonMessageException(await response.json());
|
|
3952
4176
|
}
|
|
3953
|
-
throw new
|
|
4177
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3954
4178
|
}
|
|
3955
4179
|
};
|
|
3956
4180
|
|
|
3957
4181
|
// src/BackendRateTag.ts
|
|
3958
|
-
var
|
|
3959
|
-
var
|
|
3960
|
-
var BackendRateTag = class extends
|
|
4182
|
+
var import_sdkgen_client65 = require("sdkgen-client");
|
|
4183
|
+
var import_sdkgen_client66 = require("sdkgen-client");
|
|
4184
|
+
var BackendRateTag = class extends import_sdkgen_client65.TagAbstract {
|
|
3961
4185
|
/**
|
|
3962
4186
|
* Creates a new rate limitation
|
|
3963
4187
|
*
|
|
@@ -3984,7 +4208,7 @@ var BackendRateTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
3984
4208
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3985
4209
|
throw new CommonMessageException(await response.json());
|
|
3986
4210
|
}
|
|
3987
|
-
throw new
|
|
4211
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3988
4212
|
}
|
|
3989
4213
|
/**
|
|
3990
4214
|
* Deletes an existing rate
|
|
@@ -4011,7 +4235,7 @@ var BackendRateTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4011
4235
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4012
4236
|
throw new CommonMessageException(await response.json());
|
|
4013
4237
|
}
|
|
4014
|
-
throw new
|
|
4238
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4015
4239
|
}
|
|
4016
4240
|
/**
|
|
4017
4241
|
* Returns a specific rate
|
|
@@ -4038,7 +4262,7 @@ var BackendRateTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4038
4262
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4039
4263
|
throw new CommonMessageException(await response.json());
|
|
4040
4264
|
}
|
|
4041
|
-
throw new
|
|
4265
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4042
4266
|
}
|
|
4043
4267
|
/**
|
|
4044
4268
|
* Returns a paginated list of rate limitations
|
|
@@ -4067,7 +4291,7 @@ var BackendRateTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4067
4291
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4068
4292
|
throw new CommonMessageException(await response.json());
|
|
4069
4293
|
}
|
|
4070
|
-
throw new
|
|
4294
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4071
4295
|
}
|
|
4072
4296
|
/**
|
|
4073
4297
|
* Updates an existing rate
|
|
@@ -4097,14 +4321,14 @@ var BackendRateTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4097
4321
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4098
4322
|
throw new CommonMessageException(await response.json());
|
|
4099
4323
|
}
|
|
4100
|
-
throw new
|
|
4324
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4101
4325
|
}
|
|
4102
4326
|
};
|
|
4103
4327
|
|
|
4104
4328
|
// src/BackendRoleTag.ts
|
|
4105
|
-
var
|
|
4106
|
-
var
|
|
4107
|
-
var BackendRoleTag = class extends
|
|
4329
|
+
var import_sdkgen_client67 = require("sdkgen-client");
|
|
4330
|
+
var import_sdkgen_client68 = require("sdkgen-client");
|
|
4331
|
+
var BackendRoleTag = class extends import_sdkgen_client67.TagAbstract {
|
|
4108
4332
|
/**
|
|
4109
4333
|
* Creates a new role
|
|
4110
4334
|
*
|
|
@@ -4131,7 +4355,7 @@ var BackendRoleTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4131
4355
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4132
4356
|
throw new CommonMessageException(await response.json());
|
|
4133
4357
|
}
|
|
4134
|
-
throw new
|
|
4358
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4135
4359
|
}
|
|
4136
4360
|
/**
|
|
4137
4361
|
* Deletes an existing role
|
|
@@ -4158,7 +4382,7 @@ var BackendRoleTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4158
4382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4159
4383
|
throw new CommonMessageException(await response.json());
|
|
4160
4384
|
}
|
|
4161
|
-
throw new
|
|
4385
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4162
4386
|
}
|
|
4163
4387
|
/**
|
|
4164
4388
|
* Returns a specific role
|
|
@@ -4185,7 +4409,7 @@ var BackendRoleTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4185
4409
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4186
4410
|
throw new CommonMessageException(await response.json());
|
|
4187
4411
|
}
|
|
4188
|
-
throw new
|
|
4412
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4189
4413
|
}
|
|
4190
4414
|
/**
|
|
4191
4415
|
* Returns a paginated list of roles
|
|
@@ -4214,7 +4438,7 @@ var BackendRoleTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4214
4438
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4215
4439
|
throw new CommonMessageException(await response.json());
|
|
4216
4440
|
}
|
|
4217
|
-
throw new
|
|
4441
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4218
4442
|
}
|
|
4219
4443
|
/**
|
|
4220
4444
|
* Updates an existing role
|
|
@@ -4244,14 +4468,14 @@ var BackendRoleTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4244
4468
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4245
4469
|
throw new CommonMessageException(await response.json());
|
|
4246
4470
|
}
|
|
4247
|
-
throw new
|
|
4471
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4248
4472
|
}
|
|
4249
4473
|
};
|
|
4250
4474
|
|
|
4251
4475
|
// src/BackendSchemaTag.ts
|
|
4252
|
-
var
|
|
4253
|
-
var
|
|
4254
|
-
var BackendSchemaTag = class extends
|
|
4476
|
+
var import_sdkgen_client69 = require("sdkgen-client");
|
|
4477
|
+
var import_sdkgen_client70 = require("sdkgen-client");
|
|
4478
|
+
var BackendSchemaTag = class extends import_sdkgen_client69.TagAbstract {
|
|
4255
4479
|
/**
|
|
4256
4480
|
* Creates a new schema
|
|
4257
4481
|
*
|
|
@@ -4278,7 +4502,7 @@ var BackendSchemaTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4278
4502
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4279
4503
|
throw new CommonMessageException(await response.json());
|
|
4280
4504
|
}
|
|
4281
|
-
throw new
|
|
4505
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4282
4506
|
}
|
|
4283
4507
|
/**
|
|
4284
4508
|
* Deletes an existing schema
|
|
@@ -4305,24 +4529,54 @@ var BackendSchemaTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4305
4529
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4306
4530
|
throw new CommonMessageException(await response.json());
|
|
4307
4531
|
}
|
|
4308
|
-
throw new
|
|
4532
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4309
4533
|
}
|
|
4310
4534
|
/**
|
|
4311
4535
|
* Returns a specific schema
|
|
4312
4536
|
*
|
|
4313
|
-
* @returns {Promise<BackendSchema>}
|
|
4537
|
+
* @returns {Promise<BackendSchema>}
|
|
4538
|
+
* @throws {CommonMessageException}
|
|
4539
|
+
* @throws {ClientException}
|
|
4540
|
+
*/
|
|
4541
|
+
async get(schemaId) {
|
|
4542
|
+
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>", {
|
|
4543
|
+
"schema_id": schemaId
|
|
4544
|
+
});
|
|
4545
|
+
let request = {
|
|
4546
|
+
url,
|
|
4547
|
+
method: "GET",
|
|
4548
|
+
headers: {},
|
|
4549
|
+
params: this.parser.query({}, [])
|
|
4550
|
+
};
|
|
4551
|
+
const response = await this.httpClient.request(request);
|
|
4552
|
+
if (response.ok) {
|
|
4553
|
+
return await response.json();
|
|
4554
|
+
}
|
|
4555
|
+
const statusCode = response.status;
|
|
4556
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4557
|
+
throw new CommonMessageException(await response.json());
|
|
4558
|
+
}
|
|
4559
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4560
|
+
}
|
|
4561
|
+
/**
|
|
4562
|
+
* Returns a paginated list of schemas
|
|
4563
|
+
*
|
|
4564
|
+
* @returns {Promise<BackendSchemaCollection>}
|
|
4314
4565
|
* @throws {CommonMessageException}
|
|
4315
4566
|
* @throws {ClientException}
|
|
4316
4567
|
*/
|
|
4317
|
-
async
|
|
4318
|
-
const url = this.parser.url("/backend/schema
|
|
4319
|
-
"schema_id": schemaId
|
|
4320
|
-
});
|
|
4568
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
4569
|
+
const url = this.parser.url("/backend/schema", {});
|
|
4321
4570
|
let request = {
|
|
4322
4571
|
url,
|
|
4323
4572
|
method: "GET",
|
|
4324
4573
|
headers: {},
|
|
4325
|
-
params: this.parser.query({
|
|
4574
|
+
params: this.parser.query({
|
|
4575
|
+
"startIndex": startIndex,
|
|
4576
|
+
"count": count,
|
|
4577
|
+
"search": search,
|
|
4578
|
+
"taxonomy": taxonomy
|
|
4579
|
+
}, [])
|
|
4326
4580
|
};
|
|
4327
4581
|
const response = await this.httpClient.request(request);
|
|
4328
4582
|
if (response.ok) {
|
|
@@ -4332,17 +4586,19 @@ var BackendSchemaTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4332
4586
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4333
4587
|
throw new CommonMessageException(await response.json());
|
|
4334
4588
|
}
|
|
4335
|
-
throw new
|
|
4589
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4336
4590
|
}
|
|
4337
4591
|
/**
|
|
4338
|
-
* Returns a paginated list of
|
|
4592
|
+
* Returns a paginated list of schema commits
|
|
4339
4593
|
*
|
|
4340
|
-
* @returns {Promise<
|
|
4594
|
+
* @returns {Promise<BackendSchemaCommitCollection>}
|
|
4341
4595
|
* @throws {CommonMessageException}
|
|
4342
4596
|
* @throws {ClientException}
|
|
4343
4597
|
*/
|
|
4344
|
-
async
|
|
4345
|
-
const url = this.parser.url("/backend/schema", {
|
|
4598
|
+
async getCommits(schemaId, startIndex, count, search) {
|
|
4599
|
+
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>/commit", {
|
|
4600
|
+
"schema_id": schemaId
|
|
4601
|
+
});
|
|
4346
4602
|
let request = {
|
|
4347
4603
|
url,
|
|
4348
4604
|
method: "GET",
|
|
@@ -4361,7 +4617,7 @@ var BackendSchemaTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4361
4617
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4362
4618
|
throw new CommonMessageException(await response.json());
|
|
4363
4619
|
}
|
|
4364
|
-
throw new
|
|
4620
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4365
4621
|
}
|
|
4366
4622
|
/**
|
|
4367
4623
|
* Returns a HTML preview of the provided schema
|
|
@@ -4388,7 +4644,7 @@ var BackendSchemaTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4388
4644
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4389
4645
|
throw new CommonMessageException(await response.json());
|
|
4390
4646
|
}
|
|
4391
|
-
throw new
|
|
4647
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4392
4648
|
}
|
|
4393
4649
|
/**
|
|
4394
4650
|
* Updates an existing schema
|
|
@@ -4418,14 +4674,14 @@ var BackendSchemaTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4418
4674
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4419
4675
|
throw new CommonMessageException(await response.json());
|
|
4420
4676
|
}
|
|
4421
|
-
throw new
|
|
4677
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4422
4678
|
}
|
|
4423
4679
|
};
|
|
4424
4680
|
|
|
4425
4681
|
// src/BackendScopeTag.ts
|
|
4426
|
-
var
|
|
4427
|
-
var
|
|
4428
|
-
var BackendScopeTag = class extends
|
|
4682
|
+
var import_sdkgen_client71 = require("sdkgen-client");
|
|
4683
|
+
var import_sdkgen_client72 = require("sdkgen-client");
|
|
4684
|
+
var BackendScopeTag = class extends import_sdkgen_client71.TagAbstract {
|
|
4429
4685
|
/**
|
|
4430
4686
|
* Creates a new scope
|
|
4431
4687
|
*
|
|
@@ -4452,7 +4708,7 @@ var BackendScopeTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4452
4708
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4453
4709
|
throw new CommonMessageException(await response.json());
|
|
4454
4710
|
}
|
|
4455
|
-
throw new
|
|
4711
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4456
4712
|
}
|
|
4457
4713
|
/**
|
|
4458
4714
|
* Deletes an existing scope
|
|
@@ -4479,7 +4735,7 @@ var BackendScopeTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4479
4735
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4480
4736
|
throw new CommonMessageException(await response.json());
|
|
4481
4737
|
}
|
|
4482
|
-
throw new
|
|
4738
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4483
4739
|
}
|
|
4484
4740
|
/**
|
|
4485
4741
|
* Returns a specific scope
|
|
@@ -4506,7 +4762,7 @@ var BackendScopeTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4506
4762
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4507
4763
|
throw new CommonMessageException(await response.json());
|
|
4508
4764
|
}
|
|
4509
|
-
throw new
|
|
4765
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4510
4766
|
}
|
|
4511
4767
|
/**
|
|
4512
4768
|
* Returns a paginated list of scopes
|
|
@@ -4535,7 +4791,7 @@ var BackendScopeTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4535
4791
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4536
4792
|
throw new CommonMessageException(await response.json());
|
|
4537
4793
|
}
|
|
4538
|
-
throw new
|
|
4794
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4539
4795
|
}
|
|
4540
4796
|
/**
|
|
4541
4797
|
* Returns all available scopes grouped by category
|
|
@@ -4560,7 +4816,7 @@ var BackendScopeTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4560
4816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4561
4817
|
throw new CommonMessageException(await response.json());
|
|
4562
4818
|
}
|
|
4563
|
-
throw new
|
|
4819
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4564
4820
|
}
|
|
4565
4821
|
/**
|
|
4566
4822
|
* Updates an existing scope
|
|
@@ -4590,14 +4846,14 @@ var BackendScopeTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4590
4846
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4591
4847
|
throw new CommonMessageException(await response.json());
|
|
4592
4848
|
}
|
|
4593
|
-
throw new
|
|
4849
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4594
4850
|
}
|
|
4595
4851
|
};
|
|
4596
4852
|
|
|
4597
4853
|
// src/BackendSdkTag.ts
|
|
4598
|
-
var
|
|
4599
|
-
var
|
|
4600
|
-
var BackendSdkTag = class extends
|
|
4854
|
+
var import_sdkgen_client73 = require("sdkgen-client");
|
|
4855
|
+
var import_sdkgen_client74 = require("sdkgen-client");
|
|
4856
|
+
var BackendSdkTag = class extends import_sdkgen_client73.TagAbstract {
|
|
4601
4857
|
/**
|
|
4602
4858
|
* Generates a specific SDK
|
|
4603
4859
|
*
|
|
@@ -4624,7 +4880,7 @@ var BackendSdkTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4624
4880
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4625
4881
|
throw new CommonMessageException(await response.json());
|
|
4626
4882
|
}
|
|
4627
|
-
throw new
|
|
4883
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4628
4884
|
}
|
|
4629
4885
|
/**
|
|
4630
4886
|
* Returns a paginated list of SDKs
|
|
@@ -4649,14 +4905,14 @@ var BackendSdkTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4649
4905
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4650
4906
|
throw new CommonMessageException(await response.json());
|
|
4651
4907
|
}
|
|
4652
|
-
throw new
|
|
4908
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4653
4909
|
}
|
|
4654
4910
|
};
|
|
4655
4911
|
|
|
4656
4912
|
// src/BackendStatisticTag.ts
|
|
4657
|
-
var
|
|
4658
|
-
var
|
|
4659
|
-
var BackendStatisticTag = class extends
|
|
4913
|
+
var import_sdkgen_client75 = require("sdkgen-client");
|
|
4914
|
+
var import_sdkgen_client76 = require("sdkgen-client");
|
|
4915
|
+
var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
|
|
4660
4916
|
/**
|
|
4661
4917
|
* Returns a statistic containing the activities per user
|
|
4662
4918
|
*
|
|
@@ -4695,7 +4951,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4695
4951
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4696
4952
|
throw new CommonMessageException(await response.json());
|
|
4697
4953
|
}
|
|
4698
|
-
throw new
|
|
4954
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4699
4955
|
}
|
|
4700
4956
|
/**
|
|
4701
4957
|
* Returns a statistic containing the request count
|
|
@@ -4735,7 +4991,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4735
4991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4736
4992
|
throw new CommonMessageException(await response.json());
|
|
4737
4993
|
}
|
|
4738
|
-
throw new
|
|
4994
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4739
4995
|
}
|
|
4740
4996
|
/**
|
|
4741
4997
|
* Returns a statistic containing the errors per operation
|
|
@@ -4775,7 +5031,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4775
5031
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4776
5032
|
throw new CommonMessageException(await response.json());
|
|
4777
5033
|
}
|
|
4778
|
-
throw new
|
|
5034
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4779
5035
|
}
|
|
4780
5036
|
/**
|
|
4781
5037
|
* Returns a statistic containing the incoming requests
|
|
@@ -4815,7 +5071,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4815
5071
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4816
5072
|
throw new CommonMessageException(await response.json());
|
|
4817
5073
|
}
|
|
4818
|
-
throw new
|
|
5074
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4819
5075
|
}
|
|
4820
5076
|
/**
|
|
4821
5077
|
* Returns a statistic containing the incoming transactions
|
|
@@ -4855,7 +5111,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4855
5111
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4856
5112
|
throw new CommonMessageException(await response.json());
|
|
4857
5113
|
}
|
|
4858
|
-
throw new
|
|
5114
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4859
5115
|
}
|
|
4860
5116
|
/**
|
|
4861
5117
|
* Returns a statistic containing the issues tokens
|
|
@@ -4895,7 +5151,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4895
5151
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4896
5152
|
throw new CommonMessageException(await response.json());
|
|
4897
5153
|
}
|
|
4898
|
-
throw new
|
|
5154
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4899
5155
|
}
|
|
4900
5156
|
/**
|
|
4901
5157
|
* Returns a statistic containing the most used activities
|
|
@@ -4935,7 +5191,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4935
5191
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4936
5192
|
throw new CommonMessageException(await response.json());
|
|
4937
5193
|
}
|
|
4938
|
-
throw new
|
|
5194
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4939
5195
|
}
|
|
4940
5196
|
/**
|
|
4941
5197
|
* Returns a statistic containing the most used apps
|
|
@@ -4975,7 +5231,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
4975
5231
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4976
5232
|
throw new CommonMessageException(await response.json());
|
|
4977
5233
|
}
|
|
4978
|
-
throw new
|
|
5234
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4979
5235
|
}
|
|
4980
5236
|
/**
|
|
4981
5237
|
* Returns a statistic containing the most used operations
|
|
@@ -5015,7 +5271,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5015
5271
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5016
5272
|
throw new CommonMessageException(await response.json());
|
|
5017
5273
|
}
|
|
5018
|
-
throw new
|
|
5274
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5019
5275
|
}
|
|
5020
5276
|
/**
|
|
5021
5277
|
* Returns a statistic containing the requests per ip
|
|
@@ -5055,7 +5311,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5055
5311
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5056
5312
|
throw new CommonMessageException(await response.json());
|
|
5057
5313
|
}
|
|
5058
|
-
throw new
|
|
5314
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5059
5315
|
}
|
|
5060
5316
|
/**
|
|
5061
5317
|
* Returns a statistic containing the requests per operation
|
|
@@ -5095,7 +5351,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5095
5351
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5096
5352
|
throw new CommonMessageException(await response.json());
|
|
5097
5353
|
}
|
|
5098
|
-
throw new
|
|
5354
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5099
5355
|
}
|
|
5100
5356
|
/**
|
|
5101
5357
|
* Returns a statistic containing the requests per user
|
|
@@ -5135,7 +5391,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5135
5391
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5136
5392
|
throw new CommonMessageException(await response.json());
|
|
5137
5393
|
}
|
|
5138
|
-
throw new
|
|
5394
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5139
5395
|
}
|
|
5140
5396
|
/**
|
|
5141
5397
|
* Returns a statistic containing the test coverage
|
|
@@ -5160,7 +5416,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5160
5416
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5161
5417
|
throw new CommonMessageException(await response.json());
|
|
5162
5418
|
}
|
|
5163
|
-
throw new
|
|
5419
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5164
5420
|
}
|
|
5165
5421
|
/**
|
|
5166
5422
|
* Returns a statistic containing the time average
|
|
@@ -5200,7 +5456,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5200
5456
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5201
5457
|
throw new CommonMessageException(await response.json());
|
|
5202
5458
|
}
|
|
5203
|
-
throw new
|
|
5459
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5204
5460
|
}
|
|
5205
5461
|
/**
|
|
5206
5462
|
* Returns a statistic containing the time per operation
|
|
@@ -5240,7 +5496,7 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5240
5496
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5241
5497
|
throw new CommonMessageException(await response.json());
|
|
5242
5498
|
}
|
|
5243
|
-
throw new
|
|
5499
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5244
5500
|
}
|
|
5245
5501
|
/**
|
|
5246
5502
|
* Returns a statistic containing the used points
|
|
@@ -5280,37 +5536,217 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5280
5536
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5281
5537
|
throw new CommonMessageException(await response.json());
|
|
5282
5538
|
}
|
|
5283
|
-
throw new
|
|
5539
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5284
5540
|
}
|
|
5285
5541
|
/**
|
|
5286
5542
|
* Returns a statistic containing the user registrations
|
|
5287
5543
|
*
|
|
5288
|
-
* @returns {Promise<BackendStatisticChart>}
|
|
5544
|
+
* @returns {Promise<BackendStatisticChart>}
|
|
5545
|
+
* @throws {CommonMessageException}
|
|
5546
|
+
* @throws {ClientException}
|
|
5547
|
+
*/
|
|
5548
|
+
async getUserRegistrations(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
5549
|
+
const url = this.parser.url("/backend/statistic/user_registrations", {});
|
|
5550
|
+
let request = {
|
|
5551
|
+
url,
|
|
5552
|
+
method: "GET",
|
|
5553
|
+
headers: {},
|
|
5554
|
+
params: this.parser.query({
|
|
5555
|
+
"startIndex": startIndex,
|
|
5556
|
+
"count": count,
|
|
5557
|
+
"search": search,
|
|
5558
|
+
"from": from,
|
|
5559
|
+
"to": to,
|
|
5560
|
+
"operationId": operationId,
|
|
5561
|
+
"appId": appId,
|
|
5562
|
+
"userId": userId,
|
|
5563
|
+
"ip": ip,
|
|
5564
|
+
"userAgent": userAgent,
|
|
5565
|
+
"method": method,
|
|
5566
|
+
"path": path,
|
|
5567
|
+
"header": header,
|
|
5568
|
+
"body": body
|
|
5569
|
+
}, [])
|
|
5570
|
+
};
|
|
5571
|
+
const response = await this.httpClient.request(request);
|
|
5572
|
+
if (response.ok) {
|
|
5573
|
+
return await response.json();
|
|
5574
|
+
}
|
|
5575
|
+
const statusCode = response.status;
|
|
5576
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5577
|
+
throw new CommonMessageException(await response.json());
|
|
5578
|
+
}
|
|
5579
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5580
|
+
}
|
|
5581
|
+
};
|
|
5582
|
+
|
|
5583
|
+
// src/BackendTag.ts
|
|
5584
|
+
var import_sdkgen_client95 = require("sdkgen-client");
|
|
5585
|
+
|
|
5586
|
+
// src/BackendTaxonomyTag.ts
|
|
5587
|
+
var import_sdkgen_client77 = require("sdkgen-client");
|
|
5588
|
+
var import_sdkgen_client78 = require("sdkgen-client");
|
|
5589
|
+
var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
|
|
5590
|
+
/**
|
|
5591
|
+
* Creates a new taxonomy
|
|
5592
|
+
*
|
|
5593
|
+
* @returns {Promise<CommonMessage>}
|
|
5594
|
+
* @throws {CommonMessageException}
|
|
5595
|
+
* @throws {ClientException}
|
|
5596
|
+
*/
|
|
5597
|
+
async create(payload) {
|
|
5598
|
+
const url = this.parser.url("/backend/taxonomy", {});
|
|
5599
|
+
let request = {
|
|
5600
|
+
url,
|
|
5601
|
+
method: "POST",
|
|
5602
|
+
headers: {
|
|
5603
|
+
"Content-Type": "application/json"
|
|
5604
|
+
},
|
|
5605
|
+
params: this.parser.query({}, []),
|
|
5606
|
+
data: payload
|
|
5607
|
+
};
|
|
5608
|
+
const response = await this.httpClient.request(request);
|
|
5609
|
+
if (response.ok) {
|
|
5610
|
+
return await response.json();
|
|
5611
|
+
}
|
|
5612
|
+
const statusCode = response.status;
|
|
5613
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5614
|
+
throw new CommonMessageException(await response.json());
|
|
5615
|
+
}
|
|
5616
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5617
|
+
}
|
|
5618
|
+
/**
|
|
5619
|
+
* Deletes an existing taxonomy
|
|
5620
|
+
*
|
|
5621
|
+
* @returns {Promise<CommonMessage>}
|
|
5622
|
+
* @throws {CommonMessageException}
|
|
5623
|
+
* @throws {ClientException}
|
|
5624
|
+
*/
|
|
5625
|
+
async delete(taxonomyId) {
|
|
5626
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5627
|
+
"taxonomy_id": taxonomyId
|
|
5628
|
+
});
|
|
5629
|
+
let request = {
|
|
5630
|
+
url,
|
|
5631
|
+
method: "DELETE",
|
|
5632
|
+
headers: {},
|
|
5633
|
+
params: this.parser.query({}, [])
|
|
5634
|
+
};
|
|
5635
|
+
const response = await this.httpClient.request(request);
|
|
5636
|
+
if (response.ok) {
|
|
5637
|
+
return await response.json();
|
|
5638
|
+
}
|
|
5639
|
+
const statusCode = response.status;
|
|
5640
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5641
|
+
throw new CommonMessageException(await response.json());
|
|
5642
|
+
}
|
|
5643
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5644
|
+
}
|
|
5645
|
+
/**
|
|
5646
|
+
* Returns a specific taxonomy
|
|
5647
|
+
*
|
|
5648
|
+
* @returns {Promise<BackendTaxonomy>}
|
|
5649
|
+
* @throws {CommonMessageException}
|
|
5650
|
+
* @throws {ClientException}
|
|
5651
|
+
*/
|
|
5652
|
+
async get(taxonomyId) {
|
|
5653
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5654
|
+
"taxonomy_id": taxonomyId
|
|
5655
|
+
});
|
|
5656
|
+
let request = {
|
|
5657
|
+
url,
|
|
5658
|
+
method: "GET",
|
|
5659
|
+
headers: {},
|
|
5660
|
+
params: this.parser.query({}, [])
|
|
5661
|
+
};
|
|
5662
|
+
const response = await this.httpClient.request(request);
|
|
5663
|
+
if (response.ok) {
|
|
5664
|
+
return await response.json();
|
|
5665
|
+
}
|
|
5666
|
+
const statusCode = response.status;
|
|
5667
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5668
|
+
throw new CommonMessageException(await response.json());
|
|
5669
|
+
}
|
|
5670
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5671
|
+
}
|
|
5672
|
+
/**
|
|
5673
|
+
* Returns a paginated list of taxonomies
|
|
5674
|
+
*
|
|
5675
|
+
* @returns {Promise<BackendTaxonomyCollection>}
|
|
5676
|
+
* @throws {CommonMessageException}
|
|
5677
|
+
* @throws {ClientException}
|
|
5678
|
+
*/
|
|
5679
|
+
async getAll(startIndex, count, search) {
|
|
5680
|
+
const url = this.parser.url("/backend/taxonomy", {});
|
|
5681
|
+
let request = {
|
|
5682
|
+
url,
|
|
5683
|
+
method: "GET",
|
|
5684
|
+
headers: {},
|
|
5685
|
+
params: this.parser.query({
|
|
5686
|
+
"startIndex": startIndex,
|
|
5687
|
+
"count": count,
|
|
5688
|
+
"search": search
|
|
5689
|
+
}, [])
|
|
5690
|
+
};
|
|
5691
|
+
const response = await this.httpClient.request(request);
|
|
5692
|
+
if (response.ok) {
|
|
5693
|
+
return await response.json();
|
|
5694
|
+
}
|
|
5695
|
+
const statusCode = response.status;
|
|
5696
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5697
|
+
throw new CommonMessageException(await response.json());
|
|
5698
|
+
}
|
|
5699
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5700
|
+
}
|
|
5701
|
+
/**
|
|
5702
|
+
* Moves the provided ids to the taxonomy
|
|
5703
|
+
*
|
|
5704
|
+
* @returns {Promise<CommonMessage>}
|
|
5705
|
+
* @throws {CommonMessageException}
|
|
5706
|
+
* @throws {ClientException}
|
|
5707
|
+
*/
|
|
5708
|
+
async move(taxonomyId, payload) {
|
|
5709
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5710
|
+
"taxonomy_id": taxonomyId
|
|
5711
|
+
});
|
|
5712
|
+
let request = {
|
|
5713
|
+
url,
|
|
5714
|
+
method: "POST",
|
|
5715
|
+
headers: {
|
|
5716
|
+
"Content-Type": "application/json"
|
|
5717
|
+
},
|
|
5718
|
+
params: this.parser.query({}, []),
|
|
5719
|
+
data: payload
|
|
5720
|
+
};
|
|
5721
|
+
const response = await this.httpClient.request(request);
|
|
5722
|
+
if (response.ok) {
|
|
5723
|
+
return await response.json();
|
|
5724
|
+
}
|
|
5725
|
+
const statusCode = response.status;
|
|
5726
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5727
|
+
throw new CommonMessageException(await response.json());
|
|
5728
|
+
}
|
|
5729
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5730
|
+
}
|
|
5731
|
+
/**
|
|
5732
|
+
* Updates an existing taxonomy
|
|
5733
|
+
*
|
|
5734
|
+
* @returns {Promise<CommonMessage>}
|
|
5289
5735
|
* @throws {CommonMessageException}
|
|
5290
5736
|
* @throws {ClientException}
|
|
5291
5737
|
*/
|
|
5292
|
-
async
|
|
5293
|
-
const url = this.parser.url("/backend/
|
|
5738
|
+
async update(taxonomyId, payload) {
|
|
5739
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5740
|
+
"taxonomy_id": taxonomyId
|
|
5741
|
+
});
|
|
5294
5742
|
let request = {
|
|
5295
5743
|
url,
|
|
5296
|
-
method: "
|
|
5297
|
-
headers: {
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
"from": from,
|
|
5303
|
-
"to": to,
|
|
5304
|
-
"operationId": operationId,
|
|
5305
|
-
"appId": appId,
|
|
5306
|
-
"userId": userId,
|
|
5307
|
-
"ip": ip,
|
|
5308
|
-
"userAgent": userAgent,
|
|
5309
|
-
"method": method,
|
|
5310
|
-
"path": path,
|
|
5311
|
-
"header": header,
|
|
5312
|
-
"body": body
|
|
5313
|
-
}, [])
|
|
5744
|
+
method: "PUT",
|
|
5745
|
+
headers: {
|
|
5746
|
+
"Content-Type": "application/json"
|
|
5747
|
+
},
|
|
5748
|
+
params: this.parser.query({}, []),
|
|
5749
|
+
data: payload
|
|
5314
5750
|
};
|
|
5315
5751
|
const response = await this.httpClient.request(request);
|
|
5316
5752
|
if (response.ok) {
|
|
@@ -5320,17 +5756,14 @@ var BackendStatisticTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5320
5756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5321
5757
|
throw new CommonMessageException(await response.json());
|
|
5322
5758
|
}
|
|
5323
|
-
throw new
|
|
5759
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5324
5760
|
}
|
|
5325
5761
|
};
|
|
5326
5762
|
|
|
5327
|
-
// src/BackendTag.ts
|
|
5328
|
-
var import_sdkgen_client89 = require("sdkgen-client");
|
|
5329
|
-
|
|
5330
5763
|
// src/BackendTenantTag.ts
|
|
5331
|
-
var
|
|
5332
|
-
var
|
|
5333
|
-
var BackendTenantTag = class extends
|
|
5764
|
+
var import_sdkgen_client79 = require("sdkgen-client");
|
|
5765
|
+
var import_sdkgen_client80 = require("sdkgen-client");
|
|
5766
|
+
var BackendTenantTag = class extends import_sdkgen_client79.TagAbstract {
|
|
5334
5767
|
/**
|
|
5335
5768
|
* Removes an existing tenant
|
|
5336
5769
|
*
|
|
@@ -5356,7 +5789,7 @@ var BackendTenantTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5356
5789
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5357
5790
|
throw new CommonMessageException(await response.json());
|
|
5358
5791
|
}
|
|
5359
|
-
throw new
|
|
5792
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5360
5793
|
}
|
|
5361
5794
|
/**
|
|
5362
5795
|
* Setup a new tenant
|
|
@@ -5383,14 +5816,14 @@ var BackendTenantTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5383
5816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5384
5817
|
throw new CommonMessageException(await response.json());
|
|
5385
5818
|
}
|
|
5386
|
-
throw new
|
|
5819
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5387
5820
|
}
|
|
5388
5821
|
};
|
|
5389
5822
|
|
|
5390
5823
|
// src/BackendTestTag.ts
|
|
5391
|
-
var
|
|
5392
|
-
var
|
|
5393
|
-
var BackendTestTag = class extends
|
|
5824
|
+
var import_sdkgen_client81 = require("sdkgen-client");
|
|
5825
|
+
var import_sdkgen_client82 = require("sdkgen-client");
|
|
5826
|
+
var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
|
|
5394
5827
|
/**
|
|
5395
5828
|
* Returns a specific test
|
|
5396
5829
|
*
|
|
@@ -5416,7 +5849,7 @@ var BackendTestTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5416
5849
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5417
5850
|
throw new CommonMessageException(await response.json());
|
|
5418
5851
|
}
|
|
5419
|
-
throw new
|
|
5852
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5420
5853
|
}
|
|
5421
5854
|
/**
|
|
5422
5855
|
* Returns a paginated list of tests
|
|
@@ -5445,7 +5878,7 @@ var BackendTestTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5445
5878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5446
5879
|
throw new CommonMessageException(await response.json());
|
|
5447
5880
|
}
|
|
5448
|
-
throw new
|
|
5881
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5449
5882
|
}
|
|
5450
5883
|
/**
|
|
5451
5884
|
* Refresh all tests
|
|
@@ -5470,7 +5903,7 @@ var BackendTestTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5470
5903
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5471
5904
|
throw new CommonMessageException(await response.json());
|
|
5472
5905
|
}
|
|
5473
|
-
throw new
|
|
5906
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5474
5907
|
}
|
|
5475
5908
|
/**
|
|
5476
5909
|
* Run all tests
|
|
@@ -5495,7 +5928,7 @@ var BackendTestTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5495
5928
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5496
5929
|
throw new CommonMessageException(await response.json());
|
|
5497
5930
|
}
|
|
5498
|
-
throw new
|
|
5931
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5499
5932
|
}
|
|
5500
5933
|
/**
|
|
5501
5934
|
* Updates an existing test
|
|
@@ -5525,14 +5958,14 @@ var BackendTestTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5525
5958
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5526
5959
|
throw new CommonMessageException(await response.json());
|
|
5527
5960
|
}
|
|
5528
|
-
throw new
|
|
5961
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5529
5962
|
}
|
|
5530
5963
|
};
|
|
5531
5964
|
|
|
5532
5965
|
// src/BackendTokenTag.ts
|
|
5533
|
-
var
|
|
5534
|
-
var
|
|
5535
|
-
var BackendTokenTag = class extends
|
|
5966
|
+
var import_sdkgen_client83 = require("sdkgen-client");
|
|
5967
|
+
var import_sdkgen_client84 = require("sdkgen-client");
|
|
5968
|
+
var BackendTokenTag = class extends import_sdkgen_client83.TagAbstract {
|
|
5536
5969
|
/**
|
|
5537
5970
|
* Returns a specific token
|
|
5538
5971
|
*
|
|
@@ -5558,7 +5991,7 @@ var BackendTokenTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5558
5991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5559
5992
|
throw new CommonMessageException(await response.json());
|
|
5560
5993
|
}
|
|
5561
|
-
throw new
|
|
5994
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5562
5995
|
}
|
|
5563
5996
|
/**
|
|
5564
5997
|
* Returns a paginated list of tokens
|
|
@@ -5594,14 +6027,14 @@ var BackendTokenTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5594
6027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5595
6028
|
throw new CommonMessageException(await response.json());
|
|
5596
6029
|
}
|
|
5597
|
-
throw new
|
|
6030
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5598
6031
|
}
|
|
5599
6032
|
};
|
|
5600
6033
|
|
|
5601
6034
|
// src/BackendTransactionTag.ts
|
|
5602
|
-
var
|
|
5603
|
-
var
|
|
5604
|
-
var BackendTransactionTag = class extends
|
|
6035
|
+
var import_sdkgen_client85 = require("sdkgen-client");
|
|
6036
|
+
var import_sdkgen_client86 = require("sdkgen-client");
|
|
6037
|
+
var BackendTransactionTag = class extends import_sdkgen_client85.TagAbstract {
|
|
5605
6038
|
/**
|
|
5606
6039
|
* Returns a specific transaction
|
|
5607
6040
|
*
|
|
@@ -5627,7 +6060,7 @@ var BackendTransactionTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5627
6060
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5628
6061
|
throw new CommonMessageException(await response.json());
|
|
5629
6062
|
}
|
|
5630
|
-
throw new
|
|
6063
|
+
throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5631
6064
|
}
|
|
5632
6065
|
/**
|
|
5633
6066
|
* Returns a paginated list of transactions
|
|
@@ -5636,7 +6069,7 @@ var BackendTransactionTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5636
6069
|
* @throws {CommonMessageException}
|
|
5637
6070
|
* @throws {ClientException}
|
|
5638
6071
|
*/
|
|
5639
|
-
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider) {
|
|
6072
|
+
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider, taxonomy) {
|
|
5640
6073
|
const url = this.parser.url("/backend/transaction", {});
|
|
5641
6074
|
let request = {
|
|
5642
6075
|
url,
|
|
@@ -5652,7 +6085,8 @@ var BackendTransactionTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5652
6085
|
"userId": userId,
|
|
5653
6086
|
"appId": appId,
|
|
5654
6087
|
"status": status,
|
|
5655
|
-
"provider": provider
|
|
6088
|
+
"provider": provider,
|
|
6089
|
+
"taxonomy": taxonomy
|
|
5656
6090
|
}, [])
|
|
5657
6091
|
};
|
|
5658
6092
|
const response = await this.httpClient.request(request);
|
|
@@ -5663,14 +6097,14 @@ var BackendTransactionTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5663
6097
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5664
6098
|
throw new CommonMessageException(await response.json());
|
|
5665
6099
|
}
|
|
5666
|
-
throw new
|
|
6100
|
+
throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5667
6101
|
}
|
|
5668
6102
|
};
|
|
5669
6103
|
|
|
5670
6104
|
// src/BackendTrashTag.ts
|
|
5671
|
-
var
|
|
5672
|
-
var
|
|
5673
|
-
var BackendTrashTag = class extends
|
|
6105
|
+
var import_sdkgen_client87 = require("sdkgen-client");
|
|
6106
|
+
var import_sdkgen_client88 = require("sdkgen-client");
|
|
6107
|
+
var BackendTrashTag = class extends import_sdkgen_client87.TagAbstract {
|
|
5674
6108
|
/**
|
|
5675
6109
|
* Returns all deleted records by trash type
|
|
5676
6110
|
*
|
|
@@ -5700,7 +6134,7 @@ var BackendTrashTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5700
6134
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5701
6135
|
throw new CommonMessageException(await response.json());
|
|
5702
6136
|
}
|
|
5703
|
-
throw new
|
|
6137
|
+
throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5704
6138
|
}
|
|
5705
6139
|
/**
|
|
5706
6140
|
* Returns all trash types
|
|
@@ -5725,7 +6159,7 @@ var BackendTrashTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5725
6159
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5726
6160
|
throw new CommonMessageException(await response.json());
|
|
5727
6161
|
}
|
|
5728
|
-
throw new
|
|
6162
|
+
throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5729
6163
|
}
|
|
5730
6164
|
/**
|
|
5731
6165
|
* Restores a previously deleted record
|
|
@@ -5755,14 +6189,14 @@ var BackendTrashTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5755
6189
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5756
6190
|
throw new CommonMessageException(await response.json());
|
|
5757
6191
|
}
|
|
5758
|
-
throw new
|
|
6192
|
+
throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5759
6193
|
}
|
|
5760
6194
|
};
|
|
5761
6195
|
|
|
5762
6196
|
// src/BackendTriggerTag.ts
|
|
5763
|
-
var
|
|
5764
|
-
var
|
|
5765
|
-
var BackendTriggerTag = class extends
|
|
6197
|
+
var import_sdkgen_client89 = require("sdkgen-client");
|
|
6198
|
+
var import_sdkgen_client90 = require("sdkgen-client");
|
|
6199
|
+
var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
|
|
5766
6200
|
/**
|
|
5767
6201
|
* Creates a new trigger
|
|
5768
6202
|
*
|
|
@@ -5789,7 +6223,7 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5789
6223
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5790
6224
|
throw new CommonMessageException(await response.json());
|
|
5791
6225
|
}
|
|
5792
|
-
throw new
|
|
6226
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5793
6227
|
}
|
|
5794
6228
|
/**
|
|
5795
6229
|
* Deletes an existing trigger
|
|
@@ -5816,7 +6250,7 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5816
6250
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5817
6251
|
throw new CommonMessageException(await response.json());
|
|
5818
6252
|
}
|
|
5819
|
-
throw new
|
|
6253
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5820
6254
|
}
|
|
5821
6255
|
/**
|
|
5822
6256
|
* Returns a specific trigger
|
|
@@ -5843,7 +6277,7 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5843
6277
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5844
6278
|
throw new CommonMessageException(await response.json());
|
|
5845
6279
|
}
|
|
5846
|
-
throw new
|
|
6280
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5847
6281
|
}
|
|
5848
6282
|
/**
|
|
5849
6283
|
* Returns a paginated list of triggers
|
|
@@ -5852,7 +6286,7 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5852
6286
|
* @throws {CommonMessageException}
|
|
5853
6287
|
* @throws {ClientException}
|
|
5854
6288
|
*/
|
|
5855
|
-
async getAll(startIndex, count, search) {
|
|
6289
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
5856
6290
|
const url = this.parser.url("/backend/trigger", {});
|
|
5857
6291
|
let request = {
|
|
5858
6292
|
url,
|
|
@@ -5861,7 +6295,8 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5861
6295
|
params: this.parser.query({
|
|
5862
6296
|
"startIndex": startIndex,
|
|
5863
6297
|
"count": count,
|
|
5864
|
-
"search": search
|
|
6298
|
+
"search": search,
|
|
6299
|
+
"taxonomy": taxonomy
|
|
5865
6300
|
}, [])
|
|
5866
6301
|
};
|
|
5867
6302
|
const response = await this.httpClient.request(request);
|
|
@@ -5872,7 +6307,7 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5872
6307
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5873
6308
|
throw new CommonMessageException(await response.json());
|
|
5874
6309
|
}
|
|
5875
|
-
throw new
|
|
6310
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5876
6311
|
}
|
|
5877
6312
|
/**
|
|
5878
6313
|
* Updates an existing trigger
|
|
@@ -5902,14 +6337,14 @@ var BackendTriggerTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5902
6337
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5903
6338
|
throw new CommonMessageException(await response.json());
|
|
5904
6339
|
}
|
|
5905
|
-
throw new
|
|
6340
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5906
6341
|
}
|
|
5907
6342
|
};
|
|
5908
6343
|
|
|
5909
6344
|
// src/BackendUserTag.ts
|
|
5910
|
-
var
|
|
5911
|
-
var
|
|
5912
|
-
var BackendUserTag = class extends
|
|
6345
|
+
var import_sdkgen_client91 = require("sdkgen-client");
|
|
6346
|
+
var import_sdkgen_client92 = require("sdkgen-client");
|
|
6347
|
+
var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
|
|
5913
6348
|
/**
|
|
5914
6349
|
* Creates a new user
|
|
5915
6350
|
*
|
|
@@ -5936,7 +6371,7 @@ var BackendUserTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
5936
6371
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5937
6372
|
throw new CommonMessageException(await response.json());
|
|
5938
6373
|
}
|
|
5939
|
-
throw new
|
|
6374
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5940
6375
|
}
|
|
5941
6376
|
/**
|
|
5942
6377
|
* Deletes an existing user
|
|
@@ -5963,7 +6398,7 @@ var BackendUserTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
5963
6398
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5964
6399
|
throw new CommonMessageException(await response.json());
|
|
5965
6400
|
}
|
|
5966
|
-
throw new
|
|
6401
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5967
6402
|
}
|
|
5968
6403
|
/**
|
|
5969
6404
|
* Returns a specific user
|
|
@@ -5990,7 +6425,7 @@ var BackendUserTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
5990
6425
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5991
6426
|
throw new CommonMessageException(await response.json());
|
|
5992
6427
|
}
|
|
5993
|
-
throw new
|
|
6428
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5994
6429
|
}
|
|
5995
6430
|
/**
|
|
5996
6431
|
* Returns a paginated list of users
|
|
@@ -6019,7 +6454,7 @@ var BackendUserTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6019
6454
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6020
6455
|
throw new CommonMessageException(await response.json());
|
|
6021
6456
|
}
|
|
6022
|
-
throw new
|
|
6457
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6023
6458
|
}
|
|
6024
6459
|
/**
|
|
6025
6460
|
* Resend the activation mail to the provided user
|
|
@@ -6049,7 +6484,7 @@ var BackendUserTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6049
6484
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6050
6485
|
throw new CommonMessageException(await response.json());
|
|
6051
6486
|
}
|
|
6052
|
-
throw new
|
|
6487
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6053
6488
|
}
|
|
6054
6489
|
/**
|
|
6055
6490
|
* Updates an existing user
|
|
@@ -6079,14 +6514,14 @@ var BackendUserTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6079
6514
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6080
6515
|
throw new CommonMessageException(await response.json());
|
|
6081
6516
|
}
|
|
6082
|
-
throw new
|
|
6517
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6083
6518
|
}
|
|
6084
6519
|
};
|
|
6085
6520
|
|
|
6086
6521
|
// src/BackendWebhookTag.ts
|
|
6087
|
-
var
|
|
6088
|
-
var
|
|
6089
|
-
var BackendWebhookTag = class extends
|
|
6522
|
+
var import_sdkgen_client93 = require("sdkgen-client");
|
|
6523
|
+
var import_sdkgen_client94 = require("sdkgen-client");
|
|
6524
|
+
var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
|
|
6090
6525
|
/**
|
|
6091
6526
|
* Creates a new webhook
|
|
6092
6527
|
*
|
|
@@ -6113,7 +6548,7 @@ var BackendWebhookTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6113
6548
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6114
6549
|
throw new CommonMessageException(await response.json());
|
|
6115
6550
|
}
|
|
6116
|
-
throw new
|
|
6551
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6117
6552
|
}
|
|
6118
6553
|
/**
|
|
6119
6554
|
* Deletes an existing webhook
|
|
@@ -6140,7 +6575,7 @@ var BackendWebhookTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6140
6575
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6141
6576
|
throw new CommonMessageException(await response.json());
|
|
6142
6577
|
}
|
|
6143
|
-
throw new
|
|
6578
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6144
6579
|
}
|
|
6145
6580
|
/**
|
|
6146
6581
|
* Returns a specific webhook
|
|
@@ -6167,7 +6602,7 @@ var BackendWebhookTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6167
6602
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6168
6603
|
throw new CommonMessageException(await response.json());
|
|
6169
6604
|
}
|
|
6170
|
-
throw new
|
|
6605
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6171
6606
|
}
|
|
6172
6607
|
/**
|
|
6173
6608
|
* Returns a paginated list of webhooks
|
|
@@ -6196,7 +6631,7 @@ var BackendWebhookTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6196
6631
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6197
6632
|
throw new CommonMessageException(await response.json());
|
|
6198
6633
|
}
|
|
6199
|
-
throw new
|
|
6634
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6200
6635
|
}
|
|
6201
6636
|
/**
|
|
6202
6637
|
* Updates an existing webhook
|
|
@@ -6226,12 +6661,12 @@ var BackendWebhookTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6226
6661
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6227
6662
|
throw new CommonMessageException(await response.json());
|
|
6228
6663
|
}
|
|
6229
|
-
throw new
|
|
6664
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6230
6665
|
}
|
|
6231
6666
|
};
|
|
6232
6667
|
|
|
6233
6668
|
// src/BackendTag.ts
|
|
6234
|
-
var BackendTag = class extends
|
|
6669
|
+
var BackendTag = class extends import_sdkgen_client95.TagAbstract {
|
|
6235
6670
|
account() {
|
|
6236
6671
|
return new BackendAccountTag(
|
|
6237
6672
|
this.httpClient,
|
|
@@ -6244,6 +6679,12 @@ var BackendTag = class extends import_sdkgen_client89.TagAbstract {
|
|
|
6244
6679
|
this.parser
|
|
6245
6680
|
);
|
|
6246
6681
|
}
|
|
6682
|
+
agent() {
|
|
6683
|
+
return new BackendAgentTag(
|
|
6684
|
+
this.httpClient,
|
|
6685
|
+
this.parser
|
|
6686
|
+
);
|
|
6687
|
+
}
|
|
6247
6688
|
app() {
|
|
6248
6689
|
return new BackendAppTag(
|
|
6249
6690
|
this.httpClient,
|
|
@@ -6394,6 +6835,12 @@ var BackendTag = class extends import_sdkgen_client89.TagAbstract {
|
|
|
6394
6835
|
this.parser
|
|
6395
6836
|
);
|
|
6396
6837
|
}
|
|
6838
|
+
taxonomy() {
|
|
6839
|
+
return new BackendTaxonomyTag(
|
|
6840
|
+
this.httpClient,
|
|
6841
|
+
this.parser
|
|
6842
|
+
);
|
|
6843
|
+
}
|
|
6397
6844
|
tenant() {
|
|
6398
6845
|
return new BackendTenantTag(
|
|
6399
6846
|
this.httpClient,
|
|
@@ -6445,16 +6892,16 @@ var BackendTag = class extends import_sdkgen_client89.TagAbstract {
|
|
|
6445
6892
|
};
|
|
6446
6893
|
|
|
6447
6894
|
// src/Client.ts
|
|
6448
|
-
var
|
|
6449
|
-
var
|
|
6895
|
+
var import_sdkgen_client132 = require("sdkgen-client");
|
|
6896
|
+
var import_sdkgen_client133 = require("sdkgen-client");
|
|
6450
6897
|
|
|
6451
6898
|
// src/ConsumerTag.ts
|
|
6452
|
-
var
|
|
6899
|
+
var import_sdkgen_client124 = require("sdkgen-client");
|
|
6453
6900
|
|
|
6454
6901
|
// src/ConsumerAccountTag.ts
|
|
6455
|
-
var
|
|
6456
|
-
var
|
|
6457
|
-
var ConsumerAccountTag = class extends
|
|
6902
|
+
var import_sdkgen_client96 = require("sdkgen-client");
|
|
6903
|
+
var import_sdkgen_client97 = require("sdkgen-client");
|
|
6904
|
+
var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
|
|
6458
6905
|
/**
|
|
6459
6906
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
6460
6907
|
*
|
|
@@ -6481,7 +6928,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6481
6928
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6482
6929
|
throw new CommonMessageException(await response.json());
|
|
6483
6930
|
}
|
|
6484
|
-
throw new
|
|
6931
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6485
6932
|
}
|
|
6486
6933
|
/**
|
|
6487
6934
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -6509,7 +6956,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6509
6956
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6510
6957
|
throw new CommonMessageException(await response.json());
|
|
6511
6958
|
}
|
|
6512
|
-
throw new
|
|
6959
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6513
6960
|
}
|
|
6514
6961
|
/**
|
|
6515
6962
|
* Change the password for the authenticated user
|
|
@@ -6537,7 +6984,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6537
6984
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6538
6985
|
throw new CommonMessageException(await response.json());
|
|
6539
6986
|
}
|
|
6540
|
-
throw new
|
|
6987
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6541
6988
|
}
|
|
6542
6989
|
/**
|
|
6543
6990
|
* Change the password after the password reset flow was started
|
|
@@ -6565,7 +7012,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6565
7012
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6566
7013
|
throw new CommonMessageException(await response.json());
|
|
6567
7014
|
}
|
|
6568
|
-
throw new
|
|
7015
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6569
7016
|
}
|
|
6570
7017
|
/**
|
|
6571
7018
|
* Returns a user data for the authenticated user
|
|
@@ -6590,7 +7037,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6590
7037
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6591
7038
|
throw new CommonMessageException(await response.json());
|
|
6592
7039
|
}
|
|
6593
|
-
throw new
|
|
7040
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6594
7041
|
}
|
|
6595
7042
|
/**
|
|
6596
7043
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -6618,7 +7065,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6618
7065
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6619
7066
|
throw new CommonMessageException(await response.json());
|
|
6620
7067
|
}
|
|
6621
|
-
throw new
|
|
7068
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6622
7069
|
}
|
|
6623
7070
|
/**
|
|
6624
7071
|
* User login by providing a username and password
|
|
@@ -6646,7 +7093,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6646
7093
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6647
7094
|
throw new CommonMessageException(await response.json());
|
|
6648
7095
|
}
|
|
6649
|
-
throw new
|
|
7096
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6650
7097
|
}
|
|
6651
7098
|
/**
|
|
6652
7099
|
* Refresh a previously obtained access token
|
|
@@ -6674,7 +7121,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6674
7121
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6675
7122
|
throw new CommonMessageException(await response.json());
|
|
6676
7123
|
}
|
|
6677
|
-
throw new
|
|
7124
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6678
7125
|
}
|
|
6679
7126
|
/**
|
|
6680
7127
|
* Register a new user account
|
|
@@ -6702,7 +7149,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6702
7149
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6703
7150
|
throw new CommonMessageException(await response.json());
|
|
6704
7151
|
}
|
|
6705
|
-
throw new
|
|
7152
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6706
7153
|
}
|
|
6707
7154
|
/**
|
|
6708
7155
|
* Start the password reset flow
|
|
@@ -6730,7 +7177,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6730
7177
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6731
7178
|
throw new CommonMessageException(await response.json());
|
|
6732
7179
|
}
|
|
6733
|
-
throw new
|
|
7180
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6734
7181
|
}
|
|
6735
7182
|
/**
|
|
6736
7183
|
* Updates user data for the authenticated user
|
|
@@ -6758,14 +7205,14 @@ var ConsumerAccountTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6758
7205
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6759
7206
|
throw new CommonMessageException(await response.json());
|
|
6760
7207
|
}
|
|
6761
|
-
throw new
|
|
7208
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6762
7209
|
}
|
|
6763
7210
|
};
|
|
6764
7211
|
|
|
6765
7212
|
// src/ConsumerAppTag.ts
|
|
6766
|
-
var
|
|
6767
|
-
var
|
|
6768
|
-
var ConsumerAppTag = class extends
|
|
7213
|
+
var import_sdkgen_client98 = require("sdkgen-client");
|
|
7214
|
+
var import_sdkgen_client99 = require("sdkgen-client");
|
|
7215
|
+
var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
|
|
6769
7216
|
/**
|
|
6770
7217
|
* Creates a new app for the authenticated user
|
|
6771
7218
|
*
|
|
@@ -6792,7 +7239,7 @@ var ConsumerAppTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6792
7239
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6793
7240
|
throw new CommonMessageException(await response.json());
|
|
6794
7241
|
}
|
|
6795
|
-
throw new
|
|
7242
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6796
7243
|
}
|
|
6797
7244
|
/**
|
|
6798
7245
|
* Deletes an existing app for the authenticated user
|
|
@@ -6819,7 +7266,7 @@ var ConsumerAppTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6819
7266
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6820
7267
|
throw new CommonMessageException(await response.json());
|
|
6821
7268
|
}
|
|
6822
|
-
throw new
|
|
7269
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6823
7270
|
}
|
|
6824
7271
|
/**
|
|
6825
7272
|
* Returns a specific app for the authenticated user
|
|
@@ -6846,7 +7293,7 @@ var ConsumerAppTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6846
7293
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6847
7294
|
throw new CommonMessageException(await response.json());
|
|
6848
7295
|
}
|
|
6849
|
-
throw new
|
|
7296
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6850
7297
|
}
|
|
6851
7298
|
/**
|
|
6852
7299
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6875,7 +7322,7 @@ var ConsumerAppTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6875
7322
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6876
7323
|
throw new CommonMessageException(await response.json());
|
|
6877
7324
|
}
|
|
6878
|
-
throw new
|
|
7325
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6879
7326
|
}
|
|
6880
7327
|
/**
|
|
6881
7328
|
* Updates an existing app for the authenticated user
|
|
@@ -6905,14 +7352,14 @@ var ConsumerAppTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6905
7352
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6906
7353
|
throw new CommonMessageException(await response.json());
|
|
6907
7354
|
}
|
|
6908
|
-
throw new
|
|
7355
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6909
7356
|
}
|
|
6910
7357
|
};
|
|
6911
7358
|
|
|
6912
7359
|
// src/ConsumerEventTag.ts
|
|
6913
|
-
var
|
|
6914
|
-
var
|
|
6915
|
-
var ConsumerEventTag = class extends
|
|
7360
|
+
var import_sdkgen_client100 = require("sdkgen-client");
|
|
7361
|
+
var import_sdkgen_client101 = require("sdkgen-client");
|
|
7362
|
+
var ConsumerEventTag = class extends import_sdkgen_client100.TagAbstract {
|
|
6916
7363
|
/**
|
|
6917
7364
|
* Returns a specific event for the authenticated user
|
|
6918
7365
|
*
|
|
@@ -6938,7 +7385,7 @@ var ConsumerEventTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6938
7385
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6939
7386
|
throw new CommonMessageException(await response.json());
|
|
6940
7387
|
}
|
|
6941
|
-
throw new
|
|
7388
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6942
7389
|
}
|
|
6943
7390
|
/**
|
|
6944
7391
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6967,14 +7414,14 @@ var ConsumerEventTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6967
7414
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6968
7415
|
throw new CommonMessageException(await response.json());
|
|
6969
7416
|
}
|
|
6970
|
-
throw new
|
|
7417
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6971
7418
|
}
|
|
6972
7419
|
};
|
|
6973
7420
|
|
|
6974
7421
|
// src/ConsumerFormTag.ts
|
|
6975
|
-
var
|
|
6976
|
-
var
|
|
6977
|
-
var ConsumerFormTag = class extends
|
|
7422
|
+
var import_sdkgen_client102 = require("sdkgen-client");
|
|
7423
|
+
var import_sdkgen_client103 = require("sdkgen-client");
|
|
7424
|
+
var ConsumerFormTag = class extends import_sdkgen_client102.TagAbstract {
|
|
6978
7425
|
/**
|
|
6979
7426
|
* Returns a specific form for the authenticated user
|
|
6980
7427
|
*
|
|
@@ -7000,7 +7447,7 @@ var ConsumerFormTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
7000
7447
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7001
7448
|
throw new CommonMessageException(await response.json());
|
|
7002
7449
|
}
|
|
7003
|
-
throw new
|
|
7450
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7004
7451
|
}
|
|
7005
7452
|
/**
|
|
7006
7453
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -7029,14 +7476,14 @@ var ConsumerFormTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
7029
7476
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7030
7477
|
throw new CommonMessageException(await response.json());
|
|
7031
7478
|
}
|
|
7032
|
-
throw new
|
|
7479
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7033
7480
|
}
|
|
7034
7481
|
};
|
|
7035
7482
|
|
|
7036
7483
|
// src/ConsumerGrantTag.ts
|
|
7037
|
-
var
|
|
7038
|
-
var
|
|
7039
|
-
var ConsumerGrantTag = class extends
|
|
7484
|
+
var import_sdkgen_client104 = require("sdkgen-client");
|
|
7485
|
+
var import_sdkgen_client105 = require("sdkgen-client");
|
|
7486
|
+
var ConsumerGrantTag = class extends import_sdkgen_client104.TagAbstract {
|
|
7040
7487
|
/**
|
|
7041
7488
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
7042
7489
|
*
|
|
@@ -7062,7 +7509,7 @@ var ConsumerGrantTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
7062
7509
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7063
7510
|
throw new CommonMessageException(await response.json());
|
|
7064
7511
|
}
|
|
7065
|
-
throw new
|
|
7512
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7066
7513
|
}
|
|
7067
7514
|
/**
|
|
7068
7515
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -7091,14 +7538,14 @@ var ConsumerGrantTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
7091
7538
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7092
7539
|
throw new CommonMessageException(await response.json());
|
|
7093
7540
|
}
|
|
7094
|
-
throw new
|
|
7541
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7095
7542
|
}
|
|
7096
7543
|
};
|
|
7097
7544
|
|
|
7098
7545
|
// src/ConsumerIdentityTag.ts
|
|
7099
|
-
var
|
|
7100
|
-
var
|
|
7101
|
-
var ConsumerIdentityTag = class extends
|
|
7546
|
+
var import_sdkgen_client106 = require("sdkgen-client");
|
|
7547
|
+
var import_sdkgen_client107 = require("sdkgen-client");
|
|
7548
|
+
var ConsumerIdentityTag = class extends import_sdkgen_client106.TagAbstract {
|
|
7102
7549
|
/**
|
|
7103
7550
|
* Identity callback endpoint to exchange an access token
|
|
7104
7551
|
*
|
|
@@ -7124,7 +7571,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
7124
7571
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7125
7572
|
throw new CommonMessageException(await response.json());
|
|
7126
7573
|
}
|
|
7127
|
-
throw new
|
|
7574
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7128
7575
|
}
|
|
7129
7576
|
/**
|
|
7130
7577
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -7152,7 +7599,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
7152
7599
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7153
7600
|
throw new CommonMessageException(await response.json());
|
|
7154
7601
|
}
|
|
7155
|
-
throw new
|
|
7602
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7156
7603
|
}
|
|
7157
7604
|
/**
|
|
7158
7605
|
* Redirect the user to the configured identity provider
|
|
@@ -7179,14 +7626,14 @@ var ConsumerIdentityTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
7179
7626
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7180
7627
|
throw new CommonMessageException(await response.json());
|
|
7181
7628
|
}
|
|
7182
|
-
throw new
|
|
7629
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7183
7630
|
}
|
|
7184
7631
|
};
|
|
7185
7632
|
|
|
7186
7633
|
// src/ConsumerLogTag.ts
|
|
7187
|
-
var
|
|
7188
|
-
var
|
|
7189
|
-
var ConsumerLogTag = class extends
|
|
7634
|
+
var import_sdkgen_client108 = require("sdkgen-client");
|
|
7635
|
+
var import_sdkgen_client109 = require("sdkgen-client");
|
|
7636
|
+
var ConsumerLogTag = class extends import_sdkgen_client108.TagAbstract {
|
|
7190
7637
|
/**
|
|
7191
7638
|
* Returns a specific log for the authenticated user
|
|
7192
7639
|
*
|
|
@@ -7212,7 +7659,7 @@ var ConsumerLogTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
7212
7659
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7213
7660
|
throw new CommonMessageException(await response.json());
|
|
7214
7661
|
}
|
|
7215
|
-
throw new
|
|
7662
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7216
7663
|
}
|
|
7217
7664
|
/**
|
|
7218
7665
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -7241,14 +7688,14 @@ var ConsumerLogTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
7241
7688
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7242
7689
|
throw new CommonMessageException(await response.json());
|
|
7243
7690
|
}
|
|
7244
|
-
throw new
|
|
7691
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7245
7692
|
}
|
|
7246
7693
|
};
|
|
7247
7694
|
|
|
7248
7695
|
// src/ConsumerPageTag.ts
|
|
7249
|
-
var
|
|
7250
|
-
var
|
|
7251
|
-
var ConsumerPageTag = class extends
|
|
7696
|
+
var import_sdkgen_client110 = require("sdkgen-client");
|
|
7697
|
+
var import_sdkgen_client111 = require("sdkgen-client");
|
|
7698
|
+
var ConsumerPageTag = class extends import_sdkgen_client110.TagAbstract {
|
|
7252
7699
|
/**
|
|
7253
7700
|
* Returns a specific page for the authenticated user
|
|
7254
7701
|
*
|
|
@@ -7274,7 +7721,7 @@ var ConsumerPageTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
7274
7721
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7275
7722
|
throw new CommonMessageException(await response.json());
|
|
7276
7723
|
}
|
|
7277
|
-
throw new
|
|
7724
|
+
throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7278
7725
|
}
|
|
7279
7726
|
/**
|
|
7280
7727
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -7303,14 +7750,14 @@ var ConsumerPageTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
7303
7750
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7304
7751
|
throw new CommonMessageException(await response.json());
|
|
7305
7752
|
}
|
|
7306
|
-
throw new
|
|
7753
|
+
throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7307
7754
|
}
|
|
7308
7755
|
};
|
|
7309
7756
|
|
|
7310
7757
|
// src/ConsumerPaymentTag.ts
|
|
7311
|
-
var
|
|
7312
|
-
var
|
|
7313
|
-
var ConsumerPaymentTag = class extends
|
|
7758
|
+
var import_sdkgen_client112 = require("sdkgen-client");
|
|
7759
|
+
var import_sdkgen_client113 = require("sdkgen-client");
|
|
7760
|
+
var ConsumerPaymentTag = class extends import_sdkgen_client112.TagAbstract {
|
|
7314
7761
|
/**
|
|
7315
7762
|
* Start the checkout process for a specific plan
|
|
7316
7763
|
*
|
|
@@ -7339,7 +7786,7 @@ var ConsumerPaymentTag = class extends import_sdkgen_client106.TagAbstract {
|
|
|
7339
7786
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7340
7787
|
throw new CommonMessageException(await response.json());
|
|
7341
7788
|
}
|
|
7342
|
-
throw new
|
|
7789
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7343
7790
|
}
|
|
7344
7791
|
/**
|
|
7345
7792
|
* Generates a payment portal link for the authenticated user
|
|
@@ -7369,14 +7816,14 @@ var ConsumerPaymentTag = class extends import_sdkgen_client106.TagAbstract {
|
|
|
7369
7816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7370
7817
|
throw new CommonMessageException(await response.json());
|
|
7371
7818
|
}
|
|
7372
|
-
throw new
|
|
7819
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7373
7820
|
}
|
|
7374
7821
|
};
|
|
7375
7822
|
|
|
7376
7823
|
// src/ConsumerPlanTag.ts
|
|
7377
|
-
var
|
|
7378
|
-
var
|
|
7379
|
-
var ConsumerPlanTag = class extends
|
|
7824
|
+
var import_sdkgen_client114 = require("sdkgen-client");
|
|
7825
|
+
var import_sdkgen_client115 = require("sdkgen-client");
|
|
7826
|
+
var ConsumerPlanTag = class extends import_sdkgen_client114.TagAbstract {
|
|
7380
7827
|
/**
|
|
7381
7828
|
* Returns a specific plan for the authenticated user
|
|
7382
7829
|
*
|
|
@@ -7402,7 +7849,7 @@ var ConsumerPlanTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7402
7849
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7403
7850
|
throw new CommonMessageException(await response.json());
|
|
7404
7851
|
}
|
|
7405
|
-
throw new
|
|
7852
|
+
throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7406
7853
|
}
|
|
7407
7854
|
/**
|
|
7408
7855
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -7431,14 +7878,14 @@ var ConsumerPlanTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7431
7878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7432
7879
|
throw new CommonMessageException(await response.json());
|
|
7433
7880
|
}
|
|
7434
|
-
throw new
|
|
7881
|
+
throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7435
7882
|
}
|
|
7436
7883
|
};
|
|
7437
7884
|
|
|
7438
7885
|
// src/ConsumerScopeTag.ts
|
|
7439
|
-
var
|
|
7440
|
-
var
|
|
7441
|
-
var ConsumerScopeTag = class extends
|
|
7886
|
+
var import_sdkgen_client116 = require("sdkgen-client");
|
|
7887
|
+
var import_sdkgen_client117 = require("sdkgen-client");
|
|
7888
|
+
var ConsumerScopeTag = class extends import_sdkgen_client116.TagAbstract {
|
|
7442
7889
|
/**
|
|
7443
7890
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
7444
7891
|
*
|
|
@@ -7466,7 +7913,7 @@ var ConsumerScopeTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7466
7913
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7467
7914
|
throw new CommonMessageException(await response.json());
|
|
7468
7915
|
}
|
|
7469
|
-
throw new
|
|
7916
|
+
throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7470
7917
|
}
|
|
7471
7918
|
/**
|
|
7472
7919
|
* Returns all scopes by category
|
|
@@ -7491,14 +7938,14 @@ var ConsumerScopeTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7491
7938
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7492
7939
|
throw new CommonMessageException(await response.json());
|
|
7493
7940
|
}
|
|
7494
|
-
throw new
|
|
7941
|
+
throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7495
7942
|
}
|
|
7496
7943
|
};
|
|
7497
7944
|
|
|
7498
7945
|
// src/ConsumerTokenTag.ts
|
|
7499
|
-
var
|
|
7500
|
-
var
|
|
7501
|
-
var ConsumerTokenTag = class extends
|
|
7946
|
+
var import_sdkgen_client118 = require("sdkgen-client");
|
|
7947
|
+
var import_sdkgen_client119 = require("sdkgen-client");
|
|
7948
|
+
var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
|
|
7502
7949
|
/**
|
|
7503
7950
|
* Creates a new token for the authenticated user
|
|
7504
7951
|
*
|
|
@@ -7525,7 +7972,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7525
7972
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7526
7973
|
throw new CommonMessageException(await response.json());
|
|
7527
7974
|
}
|
|
7528
|
-
throw new
|
|
7975
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7529
7976
|
}
|
|
7530
7977
|
/**
|
|
7531
7978
|
* Deletes an existing token for the authenticated user
|
|
@@ -7552,7 +7999,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7552
7999
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7553
8000
|
throw new CommonMessageException(await response.json());
|
|
7554
8001
|
}
|
|
7555
|
-
throw new
|
|
8002
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7556
8003
|
}
|
|
7557
8004
|
/**
|
|
7558
8005
|
* Returns a specific token for the authenticated user
|
|
@@ -7579,7 +8026,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7579
8026
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7580
8027
|
throw new CommonMessageException(await response.json());
|
|
7581
8028
|
}
|
|
7582
|
-
throw new
|
|
8029
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7583
8030
|
}
|
|
7584
8031
|
/**
|
|
7585
8032
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -7608,7 +8055,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7608
8055
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7609
8056
|
throw new CommonMessageException(await response.json());
|
|
7610
8057
|
}
|
|
7611
|
-
throw new
|
|
8058
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7612
8059
|
}
|
|
7613
8060
|
/**
|
|
7614
8061
|
* Updates an existing token for the authenticated user
|
|
@@ -7638,14 +8085,14 @@ var ConsumerTokenTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7638
8085
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7639
8086
|
throw new CommonMessageException(await response.json());
|
|
7640
8087
|
}
|
|
7641
|
-
throw new
|
|
8088
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7642
8089
|
}
|
|
7643
8090
|
};
|
|
7644
8091
|
|
|
7645
8092
|
// src/ConsumerTransactionTag.ts
|
|
7646
|
-
var
|
|
7647
|
-
var
|
|
7648
|
-
var ConsumerTransactionTag = class extends
|
|
8093
|
+
var import_sdkgen_client120 = require("sdkgen-client");
|
|
8094
|
+
var import_sdkgen_client121 = require("sdkgen-client");
|
|
8095
|
+
var ConsumerTransactionTag = class extends import_sdkgen_client120.TagAbstract {
|
|
7649
8096
|
/**
|
|
7650
8097
|
* Returns a specific transaction for the authenticated user
|
|
7651
8098
|
*
|
|
@@ -7671,7 +8118,7 @@ var ConsumerTransactionTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7671
8118
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7672
8119
|
throw new CommonMessageException(await response.json());
|
|
7673
8120
|
}
|
|
7674
|
-
throw new
|
|
8121
|
+
throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7675
8122
|
}
|
|
7676
8123
|
/**
|
|
7677
8124
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -7700,14 +8147,14 @@ var ConsumerTransactionTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7700
8147
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7701
8148
|
throw new CommonMessageException(await response.json());
|
|
7702
8149
|
}
|
|
7703
|
-
throw new
|
|
8150
|
+
throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7704
8151
|
}
|
|
7705
8152
|
};
|
|
7706
8153
|
|
|
7707
8154
|
// src/ConsumerWebhookTag.ts
|
|
7708
|
-
var
|
|
7709
|
-
var
|
|
7710
|
-
var ConsumerWebhookTag = class extends
|
|
8155
|
+
var import_sdkgen_client122 = require("sdkgen-client");
|
|
8156
|
+
var import_sdkgen_client123 = require("sdkgen-client");
|
|
8157
|
+
var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
|
|
7711
8158
|
/**
|
|
7712
8159
|
* Creates a new webhook for the authenticated user
|
|
7713
8160
|
*
|
|
@@ -7734,7 +8181,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client116.TagAbstract {
|
|
|
7734
8181
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7735
8182
|
throw new CommonMessageException(await response.json());
|
|
7736
8183
|
}
|
|
7737
|
-
throw new
|
|
8184
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7738
8185
|
}
|
|
7739
8186
|
/**
|
|
7740
8187
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -7761,7 +8208,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client116.TagAbstract {
|
|
|
7761
8208
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7762
8209
|
throw new CommonMessageException(await response.json());
|
|
7763
8210
|
}
|
|
7764
|
-
throw new
|
|
8211
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7765
8212
|
}
|
|
7766
8213
|
/**
|
|
7767
8214
|
* Returns a specific webhook for the authenticated user
|
|
@@ -7788,7 +8235,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client116.TagAbstract {
|
|
|
7788
8235
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7789
8236
|
throw new CommonMessageException(await response.json());
|
|
7790
8237
|
}
|
|
7791
|
-
throw new
|
|
8238
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7792
8239
|
}
|
|
7793
8240
|
/**
|
|
7794
8241
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -7817,7 +8264,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client116.TagAbstract {
|
|
|
7817
8264
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7818
8265
|
throw new CommonMessageException(await response.json());
|
|
7819
8266
|
}
|
|
7820
|
-
throw new
|
|
8267
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7821
8268
|
}
|
|
7822
8269
|
/**
|
|
7823
8270
|
* Updates an existing webhook for the authenticated user
|
|
@@ -7847,12 +8294,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client116.TagAbstract {
|
|
|
7847
8294
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7848
8295
|
throw new CommonMessageException(await response.json());
|
|
7849
8296
|
}
|
|
7850
|
-
throw new
|
|
8297
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7851
8298
|
}
|
|
7852
8299
|
};
|
|
7853
8300
|
|
|
7854
8301
|
// src/ConsumerTag.ts
|
|
7855
|
-
var ConsumerTag = class extends
|
|
8302
|
+
var ConsumerTag = class extends import_sdkgen_client124.TagAbstract {
|
|
7856
8303
|
account() {
|
|
7857
8304
|
return new ConsumerAccountTag(
|
|
7858
8305
|
this.httpClient,
|
|
@@ -7940,12 +8387,12 @@ var ConsumerTag = class extends import_sdkgen_client118.TagAbstract {
|
|
|
7940
8387
|
};
|
|
7941
8388
|
|
|
7942
8389
|
// src/SystemTag.ts
|
|
7943
|
-
var
|
|
8390
|
+
var import_sdkgen_client131 = require("sdkgen-client");
|
|
7944
8391
|
|
|
7945
8392
|
// src/SystemConnectionTag.ts
|
|
7946
|
-
var
|
|
7947
|
-
var
|
|
7948
|
-
var SystemConnectionTag = class extends
|
|
8393
|
+
var import_sdkgen_client125 = require("sdkgen-client");
|
|
8394
|
+
var import_sdkgen_client126 = require("sdkgen-client");
|
|
8395
|
+
var SystemConnectionTag = class extends import_sdkgen_client125.TagAbstract {
|
|
7949
8396
|
/**
|
|
7950
8397
|
* Connection OAuth2 callback to authorize a connection
|
|
7951
8398
|
*
|
|
@@ -7971,14 +8418,14 @@ var SystemConnectionTag = class extends import_sdkgen_client119.TagAbstract {
|
|
|
7971
8418
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7972
8419
|
throw new CommonMessageException(await response.json());
|
|
7973
8420
|
}
|
|
7974
|
-
throw new
|
|
8421
|
+
throw new import_sdkgen_client126.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7975
8422
|
}
|
|
7976
8423
|
};
|
|
7977
8424
|
|
|
7978
8425
|
// src/SystemMetaTag.ts
|
|
7979
|
-
var
|
|
7980
|
-
var
|
|
7981
|
-
var SystemMetaTag = class extends
|
|
8426
|
+
var import_sdkgen_client127 = require("sdkgen-client");
|
|
8427
|
+
var import_sdkgen_client128 = require("sdkgen-client");
|
|
8428
|
+
var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
|
|
7982
8429
|
/**
|
|
7983
8430
|
* Returns meta information and links about the current installed Fusio version
|
|
7984
8431
|
*
|
|
@@ -8002,7 +8449,7 @@ var SystemMetaTag = class extends import_sdkgen_client121.TagAbstract {
|
|
|
8002
8449
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8003
8450
|
throw new CommonMessageException(await response.json());
|
|
8004
8451
|
}
|
|
8005
|
-
throw new
|
|
8452
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8006
8453
|
}
|
|
8007
8454
|
/**
|
|
8008
8455
|
* Debug endpoint which returns the provided data
|
|
@@ -8030,7 +8477,7 @@ var SystemMetaTag = class extends import_sdkgen_client121.TagAbstract {
|
|
|
8030
8477
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8031
8478
|
throw new CommonMessageException(await response.json());
|
|
8032
8479
|
}
|
|
8033
|
-
throw new
|
|
8480
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8034
8481
|
}
|
|
8035
8482
|
/**
|
|
8036
8483
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -8055,7 +8502,7 @@ var SystemMetaTag = class extends import_sdkgen_client121.TagAbstract {
|
|
|
8055
8502
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8056
8503
|
throw new CommonMessageException(await response.json());
|
|
8057
8504
|
}
|
|
8058
|
-
throw new
|
|
8505
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8059
8506
|
}
|
|
8060
8507
|
/**
|
|
8061
8508
|
* Returns all available routes
|
|
@@ -8080,7 +8527,7 @@ var SystemMetaTag = class extends import_sdkgen_client121.TagAbstract {
|
|
|
8080
8527
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8081
8528
|
throw new CommonMessageException(await response.json());
|
|
8082
8529
|
}
|
|
8083
|
-
throw new
|
|
8530
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8084
8531
|
}
|
|
8085
8532
|
/**
|
|
8086
8533
|
* Returns details of a specific schema
|
|
@@ -8107,14 +8554,14 @@ var SystemMetaTag = class extends import_sdkgen_client121.TagAbstract {
|
|
|
8107
8554
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8108
8555
|
throw new CommonMessageException(await response.json());
|
|
8109
8556
|
}
|
|
8110
|
-
throw new
|
|
8557
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8111
8558
|
}
|
|
8112
8559
|
};
|
|
8113
8560
|
|
|
8114
8561
|
// src/SystemPaymentTag.ts
|
|
8115
|
-
var
|
|
8116
|
-
var
|
|
8117
|
-
var SystemPaymentTag = class extends
|
|
8562
|
+
var import_sdkgen_client129 = require("sdkgen-client");
|
|
8563
|
+
var import_sdkgen_client130 = require("sdkgen-client");
|
|
8564
|
+
var SystemPaymentTag = class extends import_sdkgen_client129.TagAbstract {
|
|
8118
8565
|
/**
|
|
8119
8566
|
* Payment webhook endpoint after successful purchase of a plan
|
|
8120
8567
|
*
|
|
@@ -8140,12 +8587,12 @@ var SystemPaymentTag = class extends import_sdkgen_client123.TagAbstract {
|
|
|
8140
8587
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8141
8588
|
throw new CommonMessageException(await response.json());
|
|
8142
8589
|
}
|
|
8143
|
-
throw new
|
|
8590
|
+
throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8144
8591
|
}
|
|
8145
8592
|
};
|
|
8146
8593
|
|
|
8147
8594
|
// src/SystemTag.ts
|
|
8148
|
-
var SystemTag = class extends
|
|
8595
|
+
var SystemTag = class extends import_sdkgen_client131.TagAbstract {
|
|
8149
8596
|
connection() {
|
|
8150
8597
|
return new SystemConnectionTag(
|
|
8151
8598
|
this.httpClient,
|
|
@@ -8167,7 +8614,7 @@ var SystemTag = class extends import_sdkgen_client125.TagAbstract {
|
|
|
8167
8614
|
};
|
|
8168
8615
|
|
|
8169
8616
|
// src/Client.ts
|
|
8170
|
-
var Client = class _Client extends
|
|
8617
|
+
var Client = class _Client extends import_sdkgen_client132.ClientAbstract {
|
|
8171
8618
|
authorization() {
|
|
8172
8619
|
return new AuthorizationTag(
|
|
8173
8620
|
this.httpClient,
|
|
@@ -8193,7 +8640,7 @@ var Client = class _Client extends import_sdkgen_client126.ClientAbstract {
|
|
|
8193
8640
|
);
|
|
8194
8641
|
}
|
|
8195
8642
|
static buildAnonymous(baseUrl) {
|
|
8196
|
-
return new _Client(baseUrl, new
|
|
8643
|
+
return new _Client(baseUrl, new import_sdkgen_client133.Anonymous());
|
|
8197
8644
|
}
|
|
8198
8645
|
};
|
|
8199
8646
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -8201,6 +8648,8 @@ var Client = class _Client extends import_sdkgen_client126.ClientAbstract {
|
|
|
8201
8648
|
AuthorizationTag,
|
|
8202
8649
|
BackendAccountTag,
|
|
8203
8650
|
BackendActionTag,
|
|
8651
|
+
BackendAgentMessageTag,
|
|
8652
|
+
BackendAgentTag,
|
|
8204
8653
|
BackendAppTag,
|
|
8205
8654
|
BackendAuditTag,
|
|
8206
8655
|
BackendBackupTag,
|
|
@@ -8235,6 +8684,7 @@ var Client = class _Client extends import_sdkgen_client126.ClientAbstract {
|
|
|
8235
8684
|
BackendSdkTag,
|
|
8236
8685
|
BackendStatisticTag,
|
|
8237
8686
|
BackendTag,
|
|
8687
|
+
BackendTaxonomyTag,
|
|
8238
8688
|
BackendTenantTag,
|
|
8239
8689
|
BackendTestTag,
|
|
8240
8690
|
BackendTokenTag,
|