fusio-sdk 6.4.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1015 -465
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +549 -53
- package/dist/index.d.ts +549 -53
- package/dist/index.js +980 -434
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23,12 +23,15 @@ __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,
|
|
29
31
|
BackendBundleTag: () => BackendBundleTag,
|
|
30
32
|
BackendCategoryTag: () => BackendCategoryTag,
|
|
31
33
|
BackendConfigTag: () => BackendConfigTag,
|
|
34
|
+
BackendConnectionAgentTag: () => BackendConnectionAgentTag,
|
|
32
35
|
BackendConnectionDatabaseTag: () => BackendConnectionDatabaseTag,
|
|
33
36
|
BackendConnectionFilesystemTag: () => BackendConnectionFilesystemTag,
|
|
34
37
|
BackendConnectionHttpTag: () => BackendConnectionHttpTag,
|
|
@@ -56,6 +59,7 @@ __export(index_exports, {
|
|
|
56
59
|
BackendSdkTag: () => BackendSdkTag,
|
|
57
60
|
BackendStatisticTag: () => BackendStatisticTag,
|
|
58
61
|
BackendTag: () => BackendTag,
|
|
62
|
+
BackendTaxonomyTag: () => BackendTaxonomyTag,
|
|
59
63
|
BackendTenantTag: () => BackendTenantTag,
|
|
60
64
|
BackendTestTag: () => BackendTestTag,
|
|
61
65
|
BackendTokenTag: () => BackendTokenTag,
|
|
@@ -305,7 +309,7 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
305
309
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
306
310
|
}
|
|
307
311
|
/**
|
|
308
|
-
* Executes a specific action
|
|
312
|
+
* Executes a specific action. This method should be used to test an action configuration
|
|
309
313
|
*
|
|
310
314
|
* @returns {Promise<BackendActionExecuteResponse>}
|
|
311
315
|
* @throws {CommonMessageException}
|
|
@@ -415,6 +419,37 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
415
419
|
}
|
|
416
420
|
throw new import_sdkgen_client7.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
417
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
|
+
}
|
|
418
453
|
/**
|
|
419
454
|
* Returns the action config form
|
|
420
455
|
*
|
|
@@ -474,10 +509,253 @@ var BackendActionTag = class extends import_sdkgen_client6.TagAbstract {
|
|
|
474
509
|
}
|
|
475
510
|
};
|
|
476
511
|
|
|
477
|
-
// src/
|
|
512
|
+
// src/BackendAgentMessageTag.ts
|
|
478
513
|
var import_sdkgen_client8 = require("sdkgen-client");
|
|
479
514
|
var import_sdkgen_client9 = require("sdkgen-client");
|
|
480
|
-
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 {
|
|
481
759
|
/**
|
|
482
760
|
* Creates a new app
|
|
483
761
|
*
|
|
@@ -504,7 +782,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
504
782
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
505
783
|
throw new CommonMessageException(await response.json());
|
|
506
784
|
}
|
|
507
|
-
throw new
|
|
785
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
508
786
|
}
|
|
509
787
|
/**
|
|
510
788
|
* Deletes an existing app
|
|
@@ -531,7 +809,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
531
809
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
532
810
|
throw new CommonMessageException(await response.json());
|
|
533
811
|
}
|
|
534
|
-
throw new
|
|
812
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
535
813
|
}
|
|
536
814
|
/**
|
|
537
815
|
* Deletes an existing token from an app
|
|
@@ -559,7 +837,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
559
837
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
560
838
|
throw new CommonMessageException(await response.json());
|
|
561
839
|
}
|
|
562
|
-
throw new
|
|
840
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
563
841
|
}
|
|
564
842
|
/**
|
|
565
843
|
* Returns a specific app
|
|
@@ -586,7 +864,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
586
864
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
587
865
|
throw new CommonMessageException(await response.json());
|
|
588
866
|
}
|
|
589
|
-
throw new
|
|
867
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
590
868
|
}
|
|
591
869
|
/**
|
|
592
870
|
* Returns a paginated list of apps
|
|
@@ -615,7 +893,7 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
615
893
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
616
894
|
throw new CommonMessageException(await response.json());
|
|
617
895
|
}
|
|
618
|
-
throw new
|
|
896
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
619
897
|
}
|
|
620
898
|
/**
|
|
621
899
|
* Updates an existing app
|
|
@@ -645,14 +923,14 @@ var BackendAppTag = class extends import_sdkgen_client8.TagAbstract {
|
|
|
645
923
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
646
924
|
throw new CommonMessageException(await response.json());
|
|
647
925
|
}
|
|
648
|
-
throw new
|
|
926
|
+
throw new import_sdkgen_client13.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
649
927
|
}
|
|
650
928
|
};
|
|
651
929
|
|
|
652
930
|
// src/BackendAuditTag.ts
|
|
653
|
-
var
|
|
654
|
-
var
|
|
655
|
-
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 {
|
|
656
934
|
/**
|
|
657
935
|
* Returns a specific audit
|
|
658
936
|
*
|
|
@@ -678,7 +956,7 @@ var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
|
|
|
678
956
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
679
957
|
throw new CommonMessageException(await response.json());
|
|
680
958
|
}
|
|
681
|
-
throw new
|
|
959
|
+
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
682
960
|
}
|
|
683
961
|
/**
|
|
684
962
|
* Returns a paginated list of audits
|
|
@@ -714,14 +992,14 @@ var BackendAuditTag = class extends import_sdkgen_client10.TagAbstract {
|
|
|
714
992
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
715
993
|
throw new CommonMessageException(await response.json());
|
|
716
994
|
}
|
|
717
|
-
throw new
|
|
995
|
+
throw new import_sdkgen_client15.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
718
996
|
}
|
|
719
997
|
};
|
|
720
998
|
|
|
721
999
|
// src/BackendBackupTag.ts
|
|
722
|
-
var
|
|
723
|
-
var
|
|
724
|
-
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 {
|
|
725
1003
|
/**
|
|
726
1004
|
* Generates an backup of the current system
|
|
727
1005
|
*
|
|
@@ -745,7 +1023,7 @@ var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
|
|
|
745
1023
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
746
1024
|
throw new CommonMessageException(await response.json());
|
|
747
1025
|
}
|
|
748
|
-
throw new
|
|
1026
|
+
throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
749
1027
|
}
|
|
750
1028
|
/**
|
|
751
1029
|
* Imports an backup to the current system
|
|
@@ -773,14 +1051,14 @@ var BackendBackupTag = class extends import_sdkgen_client12.TagAbstract {
|
|
|
773
1051
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
774
1052
|
throw new CommonMessageException(await response.json());
|
|
775
1053
|
}
|
|
776
|
-
throw new
|
|
1054
|
+
throw new import_sdkgen_client17.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
777
1055
|
}
|
|
778
1056
|
};
|
|
779
1057
|
|
|
780
1058
|
// src/BackendBundleTag.ts
|
|
781
|
-
var
|
|
782
|
-
var
|
|
783
|
-
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 {
|
|
784
1062
|
/**
|
|
785
1063
|
* Creates a new bundle
|
|
786
1064
|
*
|
|
@@ -807,7 +1085,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
807
1085
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
808
1086
|
throw new CommonMessageException(await response.json());
|
|
809
1087
|
}
|
|
810
|
-
throw new
|
|
1088
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
811
1089
|
}
|
|
812
1090
|
/**
|
|
813
1091
|
* Deletes an existing bundle
|
|
@@ -834,7 +1112,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
834
1112
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
835
1113
|
throw new CommonMessageException(await response.json());
|
|
836
1114
|
}
|
|
837
|
-
throw new
|
|
1115
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
838
1116
|
}
|
|
839
1117
|
/**
|
|
840
1118
|
* Returns a specific bundle
|
|
@@ -861,7 +1139,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
861
1139
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
862
1140
|
throw new CommonMessageException(await response.json());
|
|
863
1141
|
}
|
|
864
|
-
throw new
|
|
1142
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
865
1143
|
}
|
|
866
1144
|
/**
|
|
867
1145
|
* Returns a paginated list of bundles
|
|
@@ -890,7 +1168,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
890
1168
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
891
1169
|
throw new CommonMessageException(await response.json());
|
|
892
1170
|
}
|
|
893
|
-
throw new
|
|
1171
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
894
1172
|
}
|
|
895
1173
|
/**
|
|
896
1174
|
* Publish an existing bundle to the marketplace
|
|
@@ -917,7 +1195,7 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
917
1195
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
918
1196
|
throw new CommonMessageException(await response.json());
|
|
919
1197
|
}
|
|
920
|
-
throw new
|
|
1198
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
921
1199
|
}
|
|
922
1200
|
/**
|
|
923
1201
|
* Updates an existing bundle
|
|
@@ -947,14 +1225,14 @@ var BackendBundleTag = class extends import_sdkgen_client14.TagAbstract {
|
|
|
947
1225
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
948
1226
|
throw new CommonMessageException(await response.json());
|
|
949
1227
|
}
|
|
950
|
-
throw new
|
|
1228
|
+
throw new import_sdkgen_client19.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
951
1229
|
}
|
|
952
1230
|
};
|
|
953
1231
|
|
|
954
1232
|
// src/BackendCategoryTag.ts
|
|
955
|
-
var
|
|
956
|
-
var
|
|
957
|
-
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 {
|
|
958
1236
|
/**
|
|
959
1237
|
* Creates a new category
|
|
960
1238
|
*
|
|
@@ -981,7 +1259,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
981
1259
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
982
1260
|
throw new CommonMessageException(await response.json());
|
|
983
1261
|
}
|
|
984
|
-
throw new
|
|
1262
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
985
1263
|
}
|
|
986
1264
|
/**
|
|
987
1265
|
* Deletes an existing category
|
|
@@ -1008,7 +1286,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1008
1286
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1009
1287
|
throw new CommonMessageException(await response.json());
|
|
1010
1288
|
}
|
|
1011
|
-
throw new
|
|
1289
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1012
1290
|
}
|
|
1013
1291
|
/**
|
|
1014
1292
|
* Returns a specific category
|
|
@@ -1035,7 +1313,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1035
1313
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1036
1314
|
throw new CommonMessageException(await response.json());
|
|
1037
1315
|
}
|
|
1038
|
-
throw new
|
|
1316
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1039
1317
|
}
|
|
1040
1318
|
/**
|
|
1041
1319
|
* Returns a paginated list of categories
|
|
@@ -1064,7 +1342,7 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1064
1342
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1065
1343
|
throw new CommonMessageException(await response.json());
|
|
1066
1344
|
}
|
|
1067
|
-
throw new
|
|
1345
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1068
1346
|
}
|
|
1069
1347
|
/**
|
|
1070
1348
|
* Updates an existing category
|
|
@@ -1094,14 +1372,14 @@ var BackendCategoryTag = class extends import_sdkgen_client16.TagAbstract {
|
|
|
1094
1372
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1095
1373
|
throw new CommonMessageException(await response.json());
|
|
1096
1374
|
}
|
|
1097
|
-
throw new
|
|
1375
|
+
throw new import_sdkgen_client21.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1098
1376
|
}
|
|
1099
1377
|
};
|
|
1100
1378
|
|
|
1101
1379
|
// src/BackendConfigTag.ts
|
|
1102
|
-
var
|
|
1103
|
-
var
|
|
1104
|
-
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 {
|
|
1105
1383
|
/**
|
|
1106
1384
|
* Returns a specific config
|
|
1107
1385
|
*
|
|
@@ -1127,7 +1405,7 @@ var BackendConfigTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1127
1405
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1128
1406
|
throw new CommonMessageException(await response.json());
|
|
1129
1407
|
}
|
|
1130
|
-
throw new
|
|
1408
|
+
throw new import_sdkgen_client23.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1131
1409
|
}
|
|
1132
1410
|
/**
|
|
1133
1411
|
* Returns a paginated list of configuration values
|
|
@@ -1156,7 +1434,7 @@ var BackendConfigTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1156
1434
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1157
1435
|
throw new CommonMessageException(await response.json());
|
|
1158
1436
|
}
|
|
1159
|
-
throw new
|
|
1437
|
+
throw new import_sdkgen_client23.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1160
1438
|
}
|
|
1161
1439
|
/**
|
|
1162
1440
|
* Updates an existing config value
|
|
@@ -1186,14 +1464,50 @@ var BackendConfigTag = class extends import_sdkgen_client18.TagAbstract {
|
|
|
1186
1464
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1187
1465
|
throw new CommonMessageException(await response.json());
|
|
1188
1466
|
}
|
|
1189
|
-
throw new
|
|
1467
|
+
throw new import_sdkgen_client23.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1468
|
+
}
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
// src/BackendConnectionAgentTag.ts
|
|
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 {
|
|
1475
|
+
/**
|
|
1476
|
+
* Sends a message to an agent
|
|
1477
|
+
*
|
|
1478
|
+
* @returns {Promise<BackendAgentContent>}
|
|
1479
|
+
* @throws {CommonMessageException}
|
|
1480
|
+
* @throws {ClientException}
|
|
1481
|
+
*/
|
|
1482
|
+
async send(connectionId, payload) {
|
|
1483
|
+
const url = this.parser.url("/backend/connection/:connection_id/agent", {
|
|
1484
|
+
"connection_id": connectionId
|
|
1485
|
+
});
|
|
1486
|
+
let request = {
|
|
1487
|
+
url,
|
|
1488
|
+
method: "POST",
|
|
1489
|
+
headers: {
|
|
1490
|
+
"Content-Type": "application/json"
|
|
1491
|
+
},
|
|
1492
|
+
params: this.parser.query({}, []),
|
|
1493
|
+
data: payload
|
|
1494
|
+
};
|
|
1495
|
+
const response = await this.httpClient.request(request);
|
|
1496
|
+
if (response.ok) {
|
|
1497
|
+
return await response.json();
|
|
1498
|
+
}
|
|
1499
|
+
const statusCode = response.status;
|
|
1500
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
1501
|
+
throw new CommonMessageException(await response.json());
|
|
1502
|
+
}
|
|
1503
|
+
throw new import_sdkgen_client25.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1190
1504
|
}
|
|
1191
1505
|
};
|
|
1192
1506
|
|
|
1193
1507
|
// src/BackendConnectionDatabaseTag.ts
|
|
1194
|
-
var
|
|
1195
|
-
var
|
|
1196
|
-
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 {
|
|
1197
1511
|
/**
|
|
1198
1512
|
* Creates a new row at a table on a database
|
|
1199
1513
|
*
|
|
@@ -1223,7 +1537,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1223
1537
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1224
1538
|
throw new CommonMessageException(await response.json());
|
|
1225
1539
|
}
|
|
1226
|
-
throw new
|
|
1540
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1227
1541
|
}
|
|
1228
1542
|
/**
|
|
1229
1543
|
* Creates a new table on a database
|
|
@@ -1253,7 +1567,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1253
1567
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1254
1568
|
throw new CommonMessageException(await response.json());
|
|
1255
1569
|
}
|
|
1256
|
-
throw new
|
|
1570
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1257
1571
|
}
|
|
1258
1572
|
/**
|
|
1259
1573
|
* Deletes an existing row at a table on a database
|
|
@@ -1282,7 +1596,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1282
1596
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1283
1597
|
throw new CommonMessageException(await response.json());
|
|
1284
1598
|
}
|
|
1285
|
-
throw new
|
|
1599
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1286
1600
|
}
|
|
1287
1601
|
/**
|
|
1288
1602
|
* Deletes an existing table on a database
|
|
@@ -1310,7 +1624,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1310
1624
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1311
1625
|
throw new CommonMessageException(await response.json());
|
|
1312
1626
|
}
|
|
1313
|
-
throw new
|
|
1627
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1314
1628
|
}
|
|
1315
1629
|
/**
|
|
1316
1630
|
* Returns a specific row at a table on a database
|
|
@@ -1339,7 +1653,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1339
1653
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1340
1654
|
throw new CommonMessageException(await response.json());
|
|
1341
1655
|
}
|
|
1342
|
-
throw new
|
|
1656
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1343
1657
|
}
|
|
1344
1658
|
/**
|
|
1345
1659
|
* Returns paginated rows at a table on a database
|
|
@@ -1376,7 +1690,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1376
1690
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1377
1691
|
throw new CommonMessageException(await response.json());
|
|
1378
1692
|
}
|
|
1379
|
-
throw new
|
|
1693
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1380
1694
|
}
|
|
1381
1695
|
/**
|
|
1382
1696
|
* Returns the schema of a specific table on a database
|
|
@@ -1404,7 +1718,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1404
1718
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1405
1719
|
throw new CommonMessageException(await response.json());
|
|
1406
1720
|
}
|
|
1407
|
-
throw new
|
|
1721
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1408
1722
|
}
|
|
1409
1723
|
/**
|
|
1410
1724
|
* Returns all available tables on a database
|
|
@@ -1434,7 +1748,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1434
1748
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1435
1749
|
throw new CommonMessageException(await response.json());
|
|
1436
1750
|
}
|
|
1437
|
-
throw new
|
|
1751
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1438
1752
|
}
|
|
1439
1753
|
/**
|
|
1440
1754
|
* Updates an existing row at a table on a database
|
|
@@ -1466,7 +1780,7 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1466
1780
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1467
1781
|
throw new CommonMessageException(await response.json());
|
|
1468
1782
|
}
|
|
1469
|
-
throw new
|
|
1783
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1470
1784
|
}
|
|
1471
1785
|
/**
|
|
1472
1786
|
* Updates an existing table on a database
|
|
@@ -1497,14 +1811,14 @@ var BackendConnectionDatabaseTag = class extends import_sdkgen_client20.TagAbstr
|
|
|
1497
1811
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1498
1812
|
throw new CommonMessageException(await response.json());
|
|
1499
1813
|
}
|
|
1500
|
-
throw new
|
|
1814
|
+
throw new import_sdkgen_client27.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1501
1815
|
}
|
|
1502
1816
|
};
|
|
1503
1817
|
|
|
1504
1818
|
// src/BackendConnectionFilesystemTag.ts
|
|
1505
|
-
var
|
|
1506
|
-
var
|
|
1507
|
-
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 {
|
|
1508
1822
|
/**
|
|
1509
1823
|
* Uploads one or more files on the filesystem connection
|
|
1510
1824
|
*
|
|
@@ -1531,7 +1845,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client22.TagAbs
|
|
|
1531
1845
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1532
1846
|
throw new CommonMessageException(await response.json());
|
|
1533
1847
|
}
|
|
1534
|
-
throw new
|
|
1848
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1535
1849
|
}
|
|
1536
1850
|
/**
|
|
1537
1851
|
* Deletes an existing file on the filesystem connection
|
|
@@ -1559,7 +1873,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client22.TagAbs
|
|
|
1559
1873
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1560
1874
|
throw new CommonMessageException(await response.json());
|
|
1561
1875
|
}
|
|
1562
|
-
throw new
|
|
1876
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1563
1877
|
}
|
|
1564
1878
|
/**
|
|
1565
1879
|
* Returns the content of the provided file id on the filesystem connection
|
|
@@ -1589,7 +1903,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client22.TagAbs
|
|
|
1589
1903
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1590
1904
|
throw new CommonMessageException(await response.json());
|
|
1591
1905
|
}
|
|
1592
|
-
throw new
|
|
1906
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1593
1907
|
}
|
|
1594
1908
|
/**
|
|
1595
1909
|
* Returns all available files on the filesystem connection
|
|
@@ -1619,7 +1933,7 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client22.TagAbs
|
|
|
1619
1933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1620
1934
|
throw new CommonMessageException(await response.json());
|
|
1621
1935
|
}
|
|
1622
|
-
throw new
|
|
1936
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1623
1937
|
}
|
|
1624
1938
|
/**
|
|
1625
1939
|
* Updates an existing file on the filesystem connection
|
|
@@ -1648,14 +1962,14 @@ var BackendConnectionFilesystemTag = class extends import_sdkgen_client22.TagAbs
|
|
|
1648
1962
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1649
1963
|
throw new CommonMessageException(await response.json());
|
|
1650
1964
|
}
|
|
1651
|
-
throw new
|
|
1965
|
+
throw new import_sdkgen_client29.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1652
1966
|
}
|
|
1653
1967
|
};
|
|
1654
1968
|
|
|
1655
1969
|
// src/BackendConnectionHttpTag.ts
|
|
1656
|
-
var
|
|
1657
|
-
var
|
|
1658
|
-
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 {
|
|
1659
1973
|
/**
|
|
1660
1974
|
* Sends an arbitrary HTTP request to the connection
|
|
1661
1975
|
*
|
|
@@ -1684,14 +1998,14 @@ var BackendConnectionHttpTag = class extends import_sdkgen_client24.TagAbstract
|
|
|
1684
1998
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1685
1999
|
throw new CommonMessageException(await response.json());
|
|
1686
2000
|
}
|
|
1687
|
-
throw new
|
|
2001
|
+
throw new import_sdkgen_client31.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1688
2002
|
}
|
|
1689
2003
|
};
|
|
1690
2004
|
|
|
1691
|
-
// src/BackendConnectionSdkTag.ts
|
|
1692
|
-
var
|
|
1693
|
-
var
|
|
1694
|
-
var BackendConnectionSdkTag = class extends
|
|
2005
|
+
// src/BackendConnectionSdkTag.ts
|
|
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 {
|
|
1695
2009
|
/**
|
|
1696
2010
|
* Returns the SDK specification
|
|
1697
2011
|
*
|
|
@@ -1717,14 +2031,20 @@ var BackendConnectionSdkTag = class extends import_sdkgen_client26.TagAbstract {
|
|
|
1717
2031
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1718
2032
|
throw new CommonMessageException(await response.json());
|
|
1719
2033
|
}
|
|
1720
|
-
throw new
|
|
2034
|
+
throw new import_sdkgen_client33.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1721
2035
|
}
|
|
1722
2036
|
};
|
|
1723
2037
|
|
|
1724
2038
|
// src/BackendConnectionTag.ts
|
|
1725
|
-
var
|
|
1726
|
-
var
|
|
1727
|
-
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 {
|
|
2042
|
+
agent() {
|
|
2043
|
+
return new BackendConnectionAgentTag(
|
|
2044
|
+
this.httpClient,
|
|
2045
|
+
this.parser
|
|
2046
|
+
);
|
|
2047
|
+
}
|
|
1728
2048
|
database() {
|
|
1729
2049
|
return new BackendConnectionDatabaseTag(
|
|
1730
2050
|
this.httpClient,
|
|
@@ -1775,7 +2095,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1775
2095
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1776
2096
|
throw new CommonMessageException(await response.json());
|
|
1777
2097
|
}
|
|
1778
|
-
throw new
|
|
2098
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1779
2099
|
}
|
|
1780
2100
|
/**
|
|
1781
2101
|
* Deletes an existing connection
|
|
@@ -1802,7 +2122,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1802
2122
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1803
2123
|
throw new CommonMessageException(await response.json());
|
|
1804
2124
|
}
|
|
1805
|
-
throw new
|
|
2125
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1806
2126
|
}
|
|
1807
2127
|
/**
|
|
1808
2128
|
* Returns a specific connection
|
|
@@ -1829,7 +2149,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1829
2149
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1830
2150
|
throw new CommonMessageException(await response.json());
|
|
1831
2151
|
}
|
|
1832
|
-
throw new
|
|
2152
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1833
2153
|
}
|
|
1834
2154
|
/**
|
|
1835
2155
|
* Returns a paginated list of connections
|
|
@@ -1859,7 +2179,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1859
2179
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1860
2180
|
throw new CommonMessageException(await response.json());
|
|
1861
2181
|
}
|
|
1862
|
-
throw new
|
|
2182
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1863
2183
|
}
|
|
1864
2184
|
/**
|
|
1865
2185
|
* Returns all available connection classes
|
|
@@ -1884,7 +2204,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1884
2204
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1885
2205
|
throw new CommonMessageException(await response.json());
|
|
1886
2206
|
}
|
|
1887
|
-
throw new
|
|
2207
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1888
2208
|
}
|
|
1889
2209
|
/**
|
|
1890
2210
|
* Returns the connection config form
|
|
@@ -1911,7 +2231,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1911
2231
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1912
2232
|
throw new CommonMessageException(await response.json());
|
|
1913
2233
|
}
|
|
1914
|
-
throw new
|
|
2234
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1915
2235
|
}
|
|
1916
2236
|
/**
|
|
1917
2237
|
* Returns a redirect url to start the OAuth2 authorization flow for the given connection
|
|
@@ -1938,7 +2258,7 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1938
2258
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1939
2259
|
throw new CommonMessageException(await response.json());
|
|
1940
2260
|
}
|
|
1941
|
-
throw new
|
|
2261
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1942
2262
|
}
|
|
1943
2263
|
/**
|
|
1944
2264
|
* Updates an existing connection
|
|
@@ -1968,14 +2288,14 @@ var BackendConnectionTag = class extends import_sdkgen_client28.TagAbstract {
|
|
|
1968
2288
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1969
2289
|
throw new CommonMessageException(await response.json());
|
|
1970
2290
|
}
|
|
1971
|
-
throw new
|
|
2291
|
+
throw new import_sdkgen_client35.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
1972
2292
|
}
|
|
1973
2293
|
};
|
|
1974
2294
|
|
|
1975
2295
|
// src/BackendCronjobTag.ts
|
|
1976
|
-
var
|
|
1977
|
-
var
|
|
1978
|
-
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 {
|
|
1979
2299
|
/**
|
|
1980
2300
|
* Creates a new cronjob
|
|
1981
2301
|
*
|
|
@@ -2002,7 +2322,7 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2002
2322
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2003
2323
|
throw new CommonMessageException(await response.json());
|
|
2004
2324
|
}
|
|
2005
|
-
throw new
|
|
2325
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2006
2326
|
}
|
|
2007
2327
|
/**
|
|
2008
2328
|
* Deletes an existing cronjob
|
|
@@ -2029,7 +2349,7 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2029
2349
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2030
2350
|
throw new CommonMessageException(await response.json());
|
|
2031
2351
|
}
|
|
2032
|
-
throw new
|
|
2352
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2033
2353
|
}
|
|
2034
2354
|
/**
|
|
2035
2355
|
* Returns a specific cronjob
|
|
@@ -2056,7 +2376,7 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2056
2376
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2057
2377
|
throw new CommonMessageException(await response.json());
|
|
2058
2378
|
}
|
|
2059
|
-
throw new
|
|
2379
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2060
2380
|
}
|
|
2061
2381
|
/**
|
|
2062
2382
|
* Returns a paginated list of cronjobs
|
|
@@ -2065,7 +2385,7 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2065
2385
|
* @throws {CommonMessageException}
|
|
2066
2386
|
* @throws {ClientException}
|
|
2067
2387
|
*/
|
|
2068
|
-
async getAll(startIndex, count, search) {
|
|
2388
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2069
2389
|
const url = this.parser.url("/backend/cronjob", {});
|
|
2070
2390
|
let request = {
|
|
2071
2391
|
url,
|
|
@@ -2074,7 +2394,8 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2074
2394
|
params: this.parser.query({
|
|
2075
2395
|
"startIndex": startIndex,
|
|
2076
2396
|
"count": count,
|
|
2077
|
-
"search": search
|
|
2397
|
+
"search": search,
|
|
2398
|
+
"taxonomy": taxonomy
|
|
2078
2399
|
}, [])
|
|
2079
2400
|
};
|
|
2080
2401
|
const response = await this.httpClient.request(request);
|
|
@@ -2085,7 +2406,7 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2085
2406
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2086
2407
|
throw new CommonMessageException(await response.json());
|
|
2087
2408
|
}
|
|
2088
|
-
throw new
|
|
2409
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2089
2410
|
}
|
|
2090
2411
|
/**
|
|
2091
2412
|
* Updates an existing cronjob
|
|
@@ -2115,14 +2436,14 @@ var BackendCronjobTag = class extends import_sdkgen_client30.TagAbstract {
|
|
|
2115
2436
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2116
2437
|
throw new CommonMessageException(await response.json());
|
|
2117
2438
|
}
|
|
2118
|
-
throw new
|
|
2439
|
+
throw new import_sdkgen_client37.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2119
2440
|
}
|
|
2120
2441
|
};
|
|
2121
2442
|
|
|
2122
2443
|
// src/BackendDashboardTag.ts
|
|
2123
|
-
var
|
|
2124
|
-
var
|
|
2125
|
-
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 {
|
|
2126
2447
|
/**
|
|
2127
2448
|
* Returns all available dashboard widgets
|
|
2128
2449
|
*
|
|
@@ -2146,14 +2467,14 @@ var BackendDashboardTag = class extends import_sdkgen_client32.TagAbstract {
|
|
|
2146
2467
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2147
2468
|
throw new CommonMessageException(await response.json());
|
|
2148
2469
|
}
|
|
2149
|
-
throw new
|
|
2470
|
+
throw new import_sdkgen_client39.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2150
2471
|
}
|
|
2151
2472
|
};
|
|
2152
2473
|
|
|
2153
2474
|
// src/BackendEventTag.ts
|
|
2154
|
-
var
|
|
2155
|
-
var
|
|
2156
|
-
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 {
|
|
2157
2478
|
/**
|
|
2158
2479
|
* Creates a new event
|
|
2159
2480
|
*
|
|
@@ -2180,7 +2501,7 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2180
2501
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2181
2502
|
throw new CommonMessageException(await response.json());
|
|
2182
2503
|
}
|
|
2183
|
-
throw new
|
|
2504
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2184
2505
|
}
|
|
2185
2506
|
/**
|
|
2186
2507
|
* Deletes an existing event
|
|
@@ -2207,7 +2528,7 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2207
2528
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2208
2529
|
throw new CommonMessageException(await response.json());
|
|
2209
2530
|
}
|
|
2210
|
-
throw new
|
|
2531
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2211
2532
|
}
|
|
2212
2533
|
/**
|
|
2213
2534
|
* Returns a specific event
|
|
@@ -2234,7 +2555,7 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2234
2555
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2235
2556
|
throw new CommonMessageException(await response.json());
|
|
2236
2557
|
}
|
|
2237
|
-
throw new
|
|
2558
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2238
2559
|
}
|
|
2239
2560
|
/**
|
|
2240
2561
|
* Returns a paginated list of events
|
|
@@ -2243,7 +2564,7 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2243
2564
|
* @throws {CommonMessageException}
|
|
2244
2565
|
* @throws {ClientException}
|
|
2245
2566
|
*/
|
|
2246
|
-
async getAll(startIndex, count, search) {
|
|
2567
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2247
2568
|
const url = this.parser.url("/backend/event", {});
|
|
2248
2569
|
let request = {
|
|
2249
2570
|
url,
|
|
@@ -2252,7 +2573,8 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2252
2573
|
params: this.parser.query({
|
|
2253
2574
|
"startIndex": startIndex,
|
|
2254
2575
|
"count": count,
|
|
2255
|
-
"search": search
|
|
2576
|
+
"search": search,
|
|
2577
|
+
"taxonomy": taxonomy
|
|
2256
2578
|
}, [])
|
|
2257
2579
|
};
|
|
2258
2580
|
const response = await this.httpClient.request(request);
|
|
@@ -2263,7 +2585,7 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2263
2585
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2264
2586
|
throw new CommonMessageException(await response.json());
|
|
2265
2587
|
}
|
|
2266
|
-
throw new
|
|
2588
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2267
2589
|
}
|
|
2268
2590
|
/**
|
|
2269
2591
|
* Updates an existing event
|
|
@@ -2293,14 +2615,14 @@ var BackendEventTag = class extends import_sdkgen_client34.TagAbstract {
|
|
|
2293
2615
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2294
2616
|
throw new CommonMessageException(await response.json());
|
|
2295
2617
|
}
|
|
2296
|
-
throw new
|
|
2618
|
+
throw new import_sdkgen_client41.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2297
2619
|
}
|
|
2298
2620
|
};
|
|
2299
2621
|
|
|
2300
2622
|
// src/BackendFirewallTag.ts
|
|
2301
|
-
var
|
|
2302
|
-
var
|
|
2303
|
-
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 {
|
|
2304
2626
|
/**
|
|
2305
2627
|
* Creates a new firewall rule
|
|
2306
2628
|
*
|
|
@@ -2327,7 +2649,7 @@ var BackendFirewallTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2327
2649
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2328
2650
|
throw new CommonMessageException(await response.json());
|
|
2329
2651
|
}
|
|
2330
|
-
throw new
|
|
2652
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2331
2653
|
}
|
|
2332
2654
|
/**
|
|
2333
2655
|
* Deletes an existing firewall rule
|
|
@@ -2354,7 +2676,7 @@ var BackendFirewallTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2354
2676
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2355
2677
|
throw new CommonMessageException(await response.json());
|
|
2356
2678
|
}
|
|
2357
|
-
throw new
|
|
2679
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2358
2680
|
}
|
|
2359
2681
|
/**
|
|
2360
2682
|
* Returns a specific firewall rule
|
|
@@ -2381,7 +2703,7 @@ var BackendFirewallTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2381
2703
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2382
2704
|
throw new CommonMessageException(await response.json());
|
|
2383
2705
|
}
|
|
2384
|
-
throw new
|
|
2706
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2385
2707
|
}
|
|
2386
2708
|
/**
|
|
2387
2709
|
* Returns a paginated list of firewall rules
|
|
@@ -2410,7 +2732,7 @@ var BackendFirewallTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2410
2732
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2411
2733
|
throw new CommonMessageException(await response.json());
|
|
2412
2734
|
}
|
|
2413
|
-
throw new
|
|
2735
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2414
2736
|
}
|
|
2415
2737
|
/**
|
|
2416
2738
|
* Updates an existing firewall rule
|
|
@@ -2440,14 +2762,14 @@ var BackendFirewallTag = class extends import_sdkgen_client36.TagAbstract {
|
|
|
2440
2762
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2441
2763
|
throw new CommonMessageException(await response.json());
|
|
2442
2764
|
}
|
|
2443
|
-
throw new
|
|
2765
|
+
throw new import_sdkgen_client43.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2444
2766
|
}
|
|
2445
2767
|
};
|
|
2446
2768
|
|
|
2447
2769
|
// src/BackendFormTag.ts
|
|
2448
|
-
var
|
|
2449
|
-
var
|
|
2450
|
-
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 {
|
|
2451
2773
|
/**
|
|
2452
2774
|
* Creates a new form
|
|
2453
2775
|
*
|
|
@@ -2474,7 +2796,7 @@ var BackendFormTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2474
2796
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2475
2797
|
throw new CommonMessageException(await response.json());
|
|
2476
2798
|
}
|
|
2477
|
-
throw new
|
|
2799
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2478
2800
|
}
|
|
2479
2801
|
/**
|
|
2480
2802
|
* Deletes an existing form
|
|
@@ -2501,7 +2823,7 @@ var BackendFormTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2501
2823
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2502
2824
|
throw new CommonMessageException(await response.json());
|
|
2503
2825
|
}
|
|
2504
|
-
throw new
|
|
2826
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2505
2827
|
}
|
|
2506
2828
|
/**
|
|
2507
2829
|
* Returns a specific form
|
|
@@ -2528,7 +2850,7 @@ var BackendFormTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2528
2850
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2529
2851
|
throw new CommonMessageException(await response.json());
|
|
2530
2852
|
}
|
|
2531
|
-
throw new
|
|
2853
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2532
2854
|
}
|
|
2533
2855
|
/**
|
|
2534
2856
|
* Returns a paginated list of forms
|
|
@@ -2557,7 +2879,7 @@ var BackendFormTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2557
2879
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2558
2880
|
throw new CommonMessageException(await response.json());
|
|
2559
2881
|
}
|
|
2560
|
-
throw new
|
|
2882
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2561
2883
|
}
|
|
2562
2884
|
/**
|
|
2563
2885
|
* Updates an existing form
|
|
@@ -2587,14 +2909,14 @@ var BackendFormTag = class extends import_sdkgen_client38.TagAbstract {
|
|
|
2587
2909
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2588
2910
|
throw new CommonMessageException(await response.json());
|
|
2589
2911
|
}
|
|
2590
|
-
throw new
|
|
2912
|
+
throw new import_sdkgen_client45.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2591
2913
|
}
|
|
2592
2914
|
};
|
|
2593
2915
|
|
|
2594
2916
|
// src/BackendGeneratorTag.ts
|
|
2595
|
-
var
|
|
2596
|
-
var
|
|
2597
|
-
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 {
|
|
2598
2920
|
/**
|
|
2599
2921
|
* Executes a generator with the provided config
|
|
2600
2922
|
*
|
|
@@ -2623,7 +2945,7 @@ var BackendGeneratorTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2623
2945
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2624
2946
|
throw new CommonMessageException(await response.json());
|
|
2625
2947
|
}
|
|
2626
|
-
throw new
|
|
2948
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2627
2949
|
}
|
|
2628
2950
|
/**
|
|
2629
2951
|
* Generates a changelog of all potential changes if you execute this generator with the provided config
|
|
@@ -2653,7 +2975,7 @@ var BackendGeneratorTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2653
2975
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2654
2976
|
throw new CommonMessageException(await response.json());
|
|
2655
2977
|
}
|
|
2656
|
-
throw new
|
|
2978
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2657
2979
|
}
|
|
2658
2980
|
/**
|
|
2659
2981
|
* Returns all available generator classes
|
|
@@ -2678,7 +3000,7 @@ var BackendGeneratorTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2678
3000
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2679
3001
|
throw new CommonMessageException(await response.json());
|
|
2680
3002
|
}
|
|
2681
|
-
throw new
|
|
3003
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2682
3004
|
}
|
|
2683
3005
|
/**
|
|
2684
3006
|
* Returns the generator config form
|
|
@@ -2705,14 +3027,14 @@ var BackendGeneratorTag = class extends import_sdkgen_client40.TagAbstract {
|
|
|
2705
3027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2706
3028
|
throw new CommonMessageException(await response.json());
|
|
2707
3029
|
}
|
|
2708
|
-
throw new
|
|
3030
|
+
throw new import_sdkgen_client47.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2709
3031
|
}
|
|
2710
3032
|
};
|
|
2711
3033
|
|
|
2712
3034
|
// src/BackendIdentityTag.ts
|
|
2713
|
-
var
|
|
2714
|
-
var
|
|
2715
|
-
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 {
|
|
2716
3038
|
/**
|
|
2717
3039
|
* Creates a new identity
|
|
2718
3040
|
*
|
|
@@ -2739,7 +3061,7 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2739
3061
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2740
3062
|
throw new CommonMessageException(await response.json());
|
|
2741
3063
|
}
|
|
2742
|
-
throw new
|
|
3064
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2743
3065
|
}
|
|
2744
3066
|
/**
|
|
2745
3067
|
* Deletes an existing identity
|
|
@@ -2766,7 +3088,7 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2766
3088
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2767
3089
|
throw new CommonMessageException(await response.json());
|
|
2768
3090
|
}
|
|
2769
|
-
throw new
|
|
3091
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2770
3092
|
}
|
|
2771
3093
|
/**
|
|
2772
3094
|
* Returns a specific identity
|
|
@@ -2793,7 +3115,7 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2793
3115
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2794
3116
|
throw new CommonMessageException(await response.json());
|
|
2795
3117
|
}
|
|
2796
|
-
throw new
|
|
3118
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2797
3119
|
}
|
|
2798
3120
|
/**
|
|
2799
3121
|
* Returns a paginated list of identities
|
|
@@ -2822,7 +3144,7 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2822
3144
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2823
3145
|
throw new CommonMessageException(await response.json());
|
|
2824
3146
|
}
|
|
2825
|
-
throw new
|
|
3147
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2826
3148
|
}
|
|
2827
3149
|
/**
|
|
2828
3150
|
* Returns all available identity classes
|
|
@@ -2847,7 +3169,7 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2847
3169
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2848
3170
|
throw new CommonMessageException(await response.json());
|
|
2849
3171
|
}
|
|
2850
|
-
throw new
|
|
3172
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2851
3173
|
}
|
|
2852
3174
|
/**
|
|
2853
3175
|
* Returns the identity config form
|
|
@@ -2874,7 +3196,7 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2874
3196
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2875
3197
|
throw new CommonMessageException(await response.json());
|
|
2876
3198
|
}
|
|
2877
|
-
throw new
|
|
3199
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2878
3200
|
}
|
|
2879
3201
|
/**
|
|
2880
3202
|
* Updates an existing identity
|
|
@@ -2904,14 +3226,14 @@ var BackendIdentityTag = class extends import_sdkgen_client42.TagAbstract {
|
|
|
2904
3226
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2905
3227
|
throw new CommonMessageException(await response.json());
|
|
2906
3228
|
}
|
|
2907
|
-
throw new
|
|
3229
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2908
3230
|
}
|
|
2909
3231
|
};
|
|
2910
3232
|
|
|
2911
3233
|
// src/BackendLogTag.ts
|
|
2912
|
-
var
|
|
2913
|
-
var
|
|
2914
|
-
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 {
|
|
2915
3237
|
/**
|
|
2916
3238
|
* Returns a specific log
|
|
2917
3239
|
*
|
|
@@ -2937,7 +3259,7 @@ var BackendLogTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2937
3259
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2938
3260
|
throw new CommonMessageException(await response.json());
|
|
2939
3261
|
}
|
|
2940
|
-
throw new
|
|
3262
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2941
3263
|
}
|
|
2942
3264
|
/**
|
|
2943
3265
|
* Returns a paginated list of logs
|
|
@@ -2977,7 +3299,7 @@ var BackendLogTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
2977
3299
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2978
3300
|
throw new CommonMessageException(await response.json());
|
|
2979
3301
|
}
|
|
2980
|
-
throw new
|
|
3302
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
2981
3303
|
}
|
|
2982
3304
|
/**
|
|
2983
3305
|
* Returns a paginated list of log errors
|
|
@@ -3006,7 +3328,7 @@ var BackendLogTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
3006
3328
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3007
3329
|
throw new CommonMessageException(await response.json());
|
|
3008
3330
|
}
|
|
3009
|
-
throw new
|
|
3331
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3010
3332
|
}
|
|
3011
3333
|
/**
|
|
3012
3334
|
* Returns a specific error
|
|
@@ -3033,14 +3355,14 @@ var BackendLogTag = class extends import_sdkgen_client44.TagAbstract {
|
|
|
3033
3355
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3034
3356
|
throw new CommonMessageException(await response.json());
|
|
3035
3357
|
}
|
|
3036
|
-
throw new
|
|
3358
|
+
throw new import_sdkgen_client51.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3037
3359
|
}
|
|
3038
3360
|
};
|
|
3039
3361
|
|
|
3040
3362
|
// src/BackendMarketplaceActionTag.ts
|
|
3041
|
-
var
|
|
3042
|
-
var
|
|
3043
|
-
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 {
|
|
3044
3366
|
/**
|
|
3045
3367
|
* Returns a specific marketplace action
|
|
3046
3368
|
*
|
|
@@ -3067,7 +3389,7 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client46.TagAbstra
|
|
|
3067
3389
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3068
3390
|
throw new CommonMessageException(await response.json());
|
|
3069
3391
|
}
|
|
3070
|
-
throw new
|
|
3392
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3071
3393
|
}
|
|
3072
3394
|
/**
|
|
3073
3395
|
* Returns a paginated list of marketplace actions
|
|
@@ -3095,7 +3417,7 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client46.TagAbstra
|
|
|
3095
3417
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3096
3418
|
throw new CommonMessageException(await response.json());
|
|
3097
3419
|
}
|
|
3098
|
-
throw new
|
|
3420
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3099
3421
|
}
|
|
3100
3422
|
/**
|
|
3101
3423
|
* Installs an action from the marketplace
|
|
@@ -3123,7 +3445,7 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client46.TagAbstra
|
|
|
3123
3445
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3124
3446
|
throw new CommonMessageException(await response.json());
|
|
3125
3447
|
}
|
|
3126
|
-
throw new
|
|
3448
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3127
3449
|
}
|
|
3128
3450
|
/**
|
|
3129
3451
|
* Upgrades an action from the marketplace
|
|
@@ -3151,14 +3473,14 @@ var BackendMarketplaceActionTag = class extends import_sdkgen_client46.TagAbstra
|
|
|
3151
3473
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3152
3474
|
throw new CommonMessageException(await response.json());
|
|
3153
3475
|
}
|
|
3154
|
-
throw new
|
|
3476
|
+
throw new import_sdkgen_client53.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3155
3477
|
}
|
|
3156
3478
|
};
|
|
3157
3479
|
|
|
3158
3480
|
// src/BackendMarketplaceAppTag.ts
|
|
3159
|
-
var
|
|
3160
|
-
var
|
|
3161
|
-
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 {
|
|
3162
3484
|
/**
|
|
3163
3485
|
* Returns a specific marketplace app
|
|
3164
3486
|
*
|
|
@@ -3185,7 +3507,7 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client48.TagAbstract
|
|
|
3185
3507
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3186
3508
|
throw new CommonMessageException(await response.json());
|
|
3187
3509
|
}
|
|
3188
|
-
throw new
|
|
3510
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3189
3511
|
}
|
|
3190
3512
|
/**
|
|
3191
3513
|
* Returns a paginated list of marketplace apps
|
|
@@ -3213,7 +3535,7 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client48.TagAbstract
|
|
|
3213
3535
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3214
3536
|
throw new CommonMessageException(await response.json());
|
|
3215
3537
|
}
|
|
3216
|
-
throw new
|
|
3538
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3217
3539
|
}
|
|
3218
3540
|
/**
|
|
3219
3541
|
* Installs an app from the marketplace
|
|
@@ -3241,7 +3563,7 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client48.TagAbstract
|
|
|
3241
3563
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3242
3564
|
throw new CommonMessageException(await response.json());
|
|
3243
3565
|
}
|
|
3244
|
-
throw new
|
|
3566
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3245
3567
|
}
|
|
3246
3568
|
/**
|
|
3247
3569
|
* Upgrades an app from the marketplace
|
|
@@ -3269,14 +3591,14 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client48.TagAbstract
|
|
|
3269
3591
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3270
3592
|
throw new CommonMessageException(await response.json());
|
|
3271
3593
|
}
|
|
3272
|
-
throw new
|
|
3594
|
+
throw new import_sdkgen_client55.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3273
3595
|
}
|
|
3274
3596
|
};
|
|
3275
3597
|
|
|
3276
3598
|
// src/BackendMarketplaceBundleTag.ts
|
|
3277
|
-
var
|
|
3278
|
-
var
|
|
3279
|
-
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 {
|
|
3280
3602
|
/**
|
|
3281
3603
|
* Returns a specific marketplace bundle
|
|
3282
3604
|
*
|
|
@@ -3303,7 +3625,7 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client50.TagAbstra
|
|
|
3303
3625
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3304
3626
|
throw new CommonMessageException(await response.json());
|
|
3305
3627
|
}
|
|
3306
|
-
throw new
|
|
3628
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3307
3629
|
}
|
|
3308
3630
|
/**
|
|
3309
3631
|
* Returns a paginated list of marketplace bundles
|
|
@@ -3331,7 +3653,7 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client50.TagAbstra
|
|
|
3331
3653
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3332
3654
|
throw new CommonMessageException(await response.json());
|
|
3333
3655
|
}
|
|
3334
|
-
throw new
|
|
3656
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3335
3657
|
}
|
|
3336
3658
|
/**
|
|
3337
3659
|
* Installs an bundle from the marketplace
|
|
@@ -3359,7 +3681,7 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client50.TagAbstra
|
|
|
3359
3681
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3360
3682
|
throw new CommonMessageException(await response.json());
|
|
3361
3683
|
}
|
|
3362
|
-
throw new
|
|
3684
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3363
3685
|
}
|
|
3364
3686
|
/**
|
|
3365
3687
|
* Upgrades an bundle from the marketplace
|
|
@@ -3387,13 +3709,13 @@ var BackendMarketplaceBundleTag = class extends import_sdkgen_client50.TagAbstra
|
|
|
3387
3709
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3388
3710
|
throw new CommonMessageException(await response.json());
|
|
3389
3711
|
}
|
|
3390
|
-
throw new
|
|
3712
|
+
throw new import_sdkgen_client57.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3391
3713
|
}
|
|
3392
3714
|
};
|
|
3393
3715
|
|
|
3394
3716
|
// src/BackendMarketplaceTag.ts
|
|
3395
|
-
var
|
|
3396
|
-
var BackendMarketplaceTag = class extends
|
|
3717
|
+
var import_sdkgen_client58 = require("sdkgen-client");
|
|
3718
|
+
var BackendMarketplaceTag = class extends import_sdkgen_client58.TagAbstract {
|
|
3397
3719
|
action() {
|
|
3398
3720
|
return new BackendMarketplaceActionTag(
|
|
3399
3721
|
this.httpClient,
|
|
@@ -3415,9 +3737,9 @@ var BackendMarketplaceTag = class extends import_sdkgen_client52.TagAbstract {
|
|
|
3415
3737
|
};
|
|
3416
3738
|
|
|
3417
3739
|
// src/BackendOperationTag.ts
|
|
3418
|
-
var
|
|
3419
|
-
var
|
|
3420
|
-
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 {
|
|
3421
3743
|
/**
|
|
3422
3744
|
* Creates a new operation
|
|
3423
3745
|
*
|
|
@@ -3444,7 +3766,7 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3444
3766
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3445
3767
|
throw new CommonMessageException(await response.json());
|
|
3446
3768
|
}
|
|
3447
|
-
throw new
|
|
3769
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3448
3770
|
}
|
|
3449
3771
|
/**
|
|
3450
3772
|
* Deletes an existing operation
|
|
@@ -3471,7 +3793,7 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3471
3793
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3472
3794
|
throw new CommonMessageException(await response.json());
|
|
3473
3795
|
}
|
|
3474
|
-
throw new
|
|
3796
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3475
3797
|
}
|
|
3476
3798
|
/**
|
|
3477
3799
|
* Returns a specific operation
|
|
@@ -3498,7 +3820,7 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3498
3820
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3499
3821
|
throw new CommonMessageException(await response.json());
|
|
3500
3822
|
}
|
|
3501
|
-
throw new
|
|
3823
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3502
3824
|
}
|
|
3503
3825
|
/**
|
|
3504
3826
|
* Returns a paginated list of operations
|
|
@@ -3507,7 +3829,7 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3507
3829
|
* @throws {CommonMessageException}
|
|
3508
3830
|
* @throws {ClientException}
|
|
3509
3831
|
*/
|
|
3510
|
-
async getAll(startIndex, count, search) {
|
|
3832
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
3511
3833
|
const url = this.parser.url("/backend/operation", {});
|
|
3512
3834
|
let request = {
|
|
3513
3835
|
url,
|
|
@@ -3516,7 +3838,8 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3516
3838
|
params: this.parser.query({
|
|
3517
3839
|
"startIndex": startIndex,
|
|
3518
3840
|
"count": count,
|
|
3519
|
-
"search": search
|
|
3841
|
+
"search": search,
|
|
3842
|
+
"taxonomy": taxonomy
|
|
3520
3843
|
}, [])
|
|
3521
3844
|
};
|
|
3522
3845
|
const response = await this.httpClient.request(request);
|
|
@@ -3527,7 +3850,7 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3527
3850
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3528
3851
|
throw new CommonMessageException(await response.json());
|
|
3529
3852
|
}
|
|
3530
|
-
throw new
|
|
3853
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3531
3854
|
}
|
|
3532
3855
|
/**
|
|
3533
3856
|
* Updates an existing operation
|
|
@@ -3557,14 +3880,14 @@ var BackendOperationTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3557
3880
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3558
3881
|
throw new CommonMessageException(await response.json());
|
|
3559
3882
|
}
|
|
3560
|
-
throw new
|
|
3883
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3561
3884
|
}
|
|
3562
3885
|
};
|
|
3563
3886
|
|
|
3564
3887
|
// src/BackendPageTag.ts
|
|
3565
|
-
var
|
|
3566
|
-
var
|
|
3567
|
-
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 {
|
|
3568
3891
|
/**
|
|
3569
3892
|
* Creates a new page
|
|
3570
3893
|
*
|
|
@@ -3591,7 +3914,7 @@ var BackendPageTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3591
3914
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3592
3915
|
throw new CommonMessageException(await response.json());
|
|
3593
3916
|
}
|
|
3594
|
-
throw new
|
|
3917
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3595
3918
|
}
|
|
3596
3919
|
/**
|
|
3597
3920
|
* Deletes an existing page
|
|
@@ -3618,7 +3941,7 @@ var BackendPageTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3618
3941
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3619
3942
|
throw new CommonMessageException(await response.json());
|
|
3620
3943
|
}
|
|
3621
|
-
throw new
|
|
3944
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3622
3945
|
}
|
|
3623
3946
|
/**
|
|
3624
3947
|
* Returns a specific page
|
|
@@ -3645,7 +3968,7 @@ var BackendPageTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3645
3968
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3646
3969
|
throw new CommonMessageException(await response.json());
|
|
3647
3970
|
}
|
|
3648
|
-
throw new
|
|
3971
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3649
3972
|
}
|
|
3650
3973
|
/**
|
|
3651
3974
|
* Returns a paginated list of pages
|
|
@@ -3674,7 +3997,7 @@ var BackendPageTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3674
3997
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3675
3998
|
throw new CommonMessageException(await response.json());
|
|
3676
3999
|
}
|
|
3677
|
-
throw new
|
|
4000
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3678
4001
|
}
|
|
3679
4002
|
/**
|
|
3680
4003
|
* Updates an existing page
|
|
@@ -3704,14 +4027,14 @@ var BackendPageTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3704
4027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3705
4028
|
throw new CommonMessageException(await response.json());
|
|
3706
4029
|
}
|
|
3707
|
-
throw new
|
|
4030
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3708
4031
|
}
|
|
3709
4032
|
};
|
|
3710
4033
|
|
|
3711
4034
|
// src/BackendPlanTag.ts
|
|
3712
|
-
var
|
|
3713
|
-
var
|
|
3714
|
-
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 {
|
|
3715
4038
|
/**
|
|
3716
4039
|
* Creates a new plan
|
|
3717
4040
|
*
|
|
@@ -3738,7 +4061,7 @@ var BackendPlanTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3738
4061
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3739
4062
|
throw new CommonMessageException(await response.json());
|
|
3740
4063
|
}
|
|
3741
|
-
throw new
|
|
4064
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3742
4065
|
}
|
|
3743
4066
|
/**
|
|
3744
4067
|
* Deletes an existing plan
|
|
@@ -3765,7 +4088,7 @@ var BackendPlanTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3765
4088
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3766
4089
|
throw new CommonMessageException(await response.json());
|
|
3767
4090
|
}
|
|
3768
|
-
throw new
|
|
4091
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3769
4092
|
}
|
|
3770
4093
|
/**
|
|
3771
4094
|
* Returns a specific plan
|
|
@@ -3792,7 +4115,7 @@ var BackendPlanTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3792
4115
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3793
4116
|
throw new CommonMessageException(await response.json());
|
|
3794
4117
|
}
|
|
3795
|
-
throw new
|
|
4118
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3796
4119
|
}
|
|
3797
4120
|
/**
|
|
3798
4121
|
* Returns a paginated list of plans
|
|
@@ -3821,7 +4144,7 @@ var BackendPlanTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3821
4144
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3822
4145
|
throw new CommonMessageException(await response.json());
|
|
3823
4146
|
}
|
|
3824
|
-
throw new
|
|
4147
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3825
4148
|
}
|
|
3826
4149
|
/**
|
|
3827
4150
|
* Updates an existing plan
|
|
@@ -3851,14 +4174,14 @@ var BackendPlanTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3851
4174
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3852
4175
|
throw new CommonMessageException(await response.json());
|
|
3853
4176
|
}
|
|
3854
|
-
throw new
|
|
4177
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3855
4178
|
}
|
|
3856
4179
|
};
|
|
3857
4180
|
|
|
3858
4181
|
// src/BackendRateTag.ts
|
|
3859
|
-
var
|
|
3860
|
-
var
|
|
3861
|
-
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 {
|
|
3862
4185
|
/**
|
|
3863
4186
|
* Creates a new rate limitation
|
|
3864
4187
|
*
|
|
@@ -3885,7 +4208,7 @@ var BackendRateTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3885
4208
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3886
4209
|
throw new CommonMessageException(await response.json());
|
|
3887
4210
|
}
|
|
3888
|
-
throw new
|
|
4211
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3889
4212
|
}
|
|
3890
4213
|
/**
|
|
3891
4214
|
* Deletes an existing rate
|
|
@@ -3912,7 +4235,7 @@ var BackendRateTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3912
4235
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3913
4236
|
throw new CommonMessageException(await response.json());
|
|
3914
4237
|
}
|
|
3915
|
-
throw new
|
|
4238
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3916
4239
|
}
|
|
3917
4240
|
/**
|
|
3918
4241
|
* Returns a specific rate
|
|
@@ -3939,7 +4262,7 @@ var BackendRateTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3939
4262
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3940
4263
|
throw new CommonMessageException(await response.json());
|
|
3941
4264
|
}
|
|
3942
|
-
throw new
|
|
4265
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3943
4266
|
}
|
|
3944
4267
|
/**
|
|
3945
4268
|
* Returns a paginated list of rate limitations
|
|
@@ -3968,7 +4291,7 @@ var BackendRateTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3968
4291
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3969
4292
|
throw new CommonMessageException(await response.json());
|
|
3970
4293
|
}
|
|
3971
|
-
throw new
|
|
4294
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3972
4295
|
}
|
|
3973
4296
|
/**
|
|
3974
4297
|
* Updates an existing rate
|
|
@@ -3998,14 +4321,14 @@ var BackendRateTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3998
4321
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3999
4322
|
throw new CommonMessageException(await response.json());
|
|
4000
4323
|
}
|
|
4001
|
-
throw new
|
|
4324
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4002
4325
|
}
|
|
4003
4326
|
};
|
|
4004
4327
|
|
|
4005
4328
|
// src/BackendRoleTag.ts
|
|
4006
|
-
var
|
|
4007
|
-
var
|
|
4008
|
-
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 {
|
|
4009
4332
|
/**
|
|
4010
4333
|
* Creates a new role
|
|
4011
4334
|
*
|
|
@@ -4032,7 +4355,7 @@ var BackendRoleTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4032
4355
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4033
4356
|
throw new CommonMessageException(await response.json());
|
|
4034
4357
|
}
|
|
4035
|
-
throw new
|
|
4358
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4036
4359
|
}
|
|
4037
4360
|
/**
|
|
4038
4361
|
* Deletes an existing role
|
|
@@ -4059,7 +4382,7 @@ var BackendRoleTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4059
4382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4060
4383
|
throw new CommonMessageException(await response.json());
|
|
4061
4384
|
}
|
|
4062
|
-
throw new
|
|
4385
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4063
4386
|
}
|
|
4064
4387
|
/**
|
|
4065
4388
|
* Returns a specific role
|
|
@@ -4086,7 +4409,7 @@ var BackendRoleTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4086
4409
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4087
4410
|
throw new CommonMessageException(await response.json());
|
|
4088
4411
|
}
|
|
4089
|
-
throw new
|
|
4412
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4090
4413
|
}
|
|
4091
4414
|
/**
|
|
4092
4415
|
* Returns a paginated list of roles
|
|
@@ -4115,7 +4438,7 @@ var BackendRoleTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4115
4438
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4116
4439
|
throw new CommonMessageException(await response.json());
|
|
4117
4440
|
}
|
|
4118
|
-
throw new
|
|
4441
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4119
4442
|
}
|
|
4120
4443
|
/**
|
|
4121
4444
|
* Updates an existing role
|
|
@@ -4145,14 +4468,14 @@ var BackendRoleTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4145
4468
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4146
4469
|
throw new CommonMessageException(await response.json());
|
|
4147
4470
|
}
|
|
4148
|
-
throw new
|
|
4471
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4149
4472
|
}
|
|
4150
4473
|
};
|
|
4151
4474
|
|
|
4152
4475
|
// src/BackendSchemaTag.ts
|
|
4153
|
-
var
|
|
4154
|
-
var
|
|
4155
|
-
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 {
|
|
4156
4479
|
/**
|
|
4157
4480
|
* Creates a new schema
|
|
4158
4481
|
*
|
|
@@ -4179,7 +4502,7 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4179
4502
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4180
4503
|
throw new CommonMessageException(await response.json());
|
|
4181
4504
|
}
|
|
4182
|
-
throw new
|
|
4505
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4183
4506
|
}
|
|
4184
4507
|
/**
|
|
4185
4508
|
* Deletes an existing schema
|
|
@@ -4188,13 +4511,40 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4188
4511
|
* @throws {CommonMessageException}
|
|
4189
4512
|
* @throws {ClientException}
|
|
4190
4513
|
*/
|
|
4191
|
-
async delete(schemaId) {
|
|
4514
|
+
async delete(schemaId) {
|
|
4515
|
+
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>", {
|
|
4516
|
+
"schema_id": schemaId
|
|
4517
|
+
});
|
|
4518
|
+
let request = {
|
|
4519
|
+
url,
|
|
4520
|
+
method: "DELETE",
|
|
4521
|
+
headers: {},
|
|
4522
|
+
params: this.parser.query({}, [])
|
|
4523
|
+
};
|
|
4524
|
+
const response = await this.httpClient.request(request);
|
|
4525
|
+
if (response.ok) {
|
|
4526
|
+
return await response.json();
|
|
4527
|
+
}
|
|
4528
|
+
const statusCode = response.status;
|
|
4529
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4530
|
+
throw new CommonMessageException(await response.json());
|
|
4531
|
+
}
|
|
4532
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4533
|
+
}
|
|
4534
|
+
/**
|
|
4535
|
+
* Returns a specific schema
|
|
4536
|
+
*
|
|
4537
|
+
* @returns {Promise<BackendSchema>}
|
|
4538
|
+
* @throws {CommonMessageException}
|
|
4539
|
+
* @throws {ClientException}
|
|
4540
|
+
*/
|
|
4541
|
+
async get(schemaId) {
|
|
4192
4542
|
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>", {
|
|
4193
4543
|
"schema_id": schemaId
|
|
4194
4544
|
});
|
|
4195
4545
|
let request = {
|
|
4196
4546
|
url,
|
|
4197
|
-
method: "
|
|
4547
|
+
method: "GET",
|
|
4198
4548
|
headers: {},
|
|
4199
4549
|
params: this.parser.query({}, [])
|
|
4200
4550
|
};
|
|
@@ -4206,24 +4556,27 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4206
4556
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4207
4557
|
throw new CommonMessageException(await response.json());
|
|
4208
4558
|
}
|
|
4209
|
-
throw new
|
|
4559
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4210
4560
|
}
|
|
4211
4561
|
/**
|
|
4212
|
-
* Returns a
|
|
4562
|
+
* Returns a paginated list of schemas
|
|
4213
4563
|
*
|
|
4214
|
-
* @returns {Promise<
|
|
4564
|
+
* @returns {Promise<BackendSchemaCollection>}
|
|
4215
4565
|
* @throws {CommonMessageException}
|
|
4216
4566
|
* @throws {ClientException}
|
|
4217
4567
|
*/
|
|
4218
|
-
async
|
|
4219
|
-
const url = this.parser.url("/backend/schema
|
|
4220
|
-
"schema_id": schemaId
|
|
4221
|
-
});
|
|
4568
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
4569
|
+
const url = this.parser.url("/backend/schema", {});
|
|
4222
4570
|
let request = {
|
|
4223
4571
|
url,
|
|
4224
4572
|
method: "GET",
|
|
4225
4573
|
headers: {},
|
|
4226
|
-
params: this.parser.query({
|
|
4574
|
+
params: this.parser.query({
|
|
4575
|
+
"startIndex": startIndex,
|
|
4576
|
+
"count": count,
|
|
4577
|
+
"search": search,
|
|
4578
|
+
"taxonomy": taxonomy
|
|
4579
|
+
}, [])
|
|
4227
4580
|
};
|
|
4228
4581
|
const response = await this.httpClient.request(request);
|
|
4229
4582
|
if (response.ok) {
|
|
@@ -4233,17 +4586,19 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4233
4586
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4234
4587
|
throw new CommonMessageException(await response.json());
|
|
4235
4588
|
}
|
|
4236
|
-
throw new
|
|
4589
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4237
4590
|
}
|
|
4238
4591
|
/**
|
|
4239
|
-
* Returns a paginated list of
|
|
4592
|
+
* Returns a paginated list of schema commits
|
|
4240
4593
|
*
|
|
4241
|
-
* @returns {Promise<
|
|
4594
|
+
* @returns {Promise<BackendSchemaCommitCollection>}
|
|
4242
4595
|
* @throws {CommonMessageException}
|
|
4243
4596
|
* @throws {ClientException}
|
|
4244
4597
|
*/
|
|
4245
|
-
async
|
|
4246
|
-
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
|
+
});
|
|
4247
4602
|
let request = {
|
|
4248
4603
|
url,
|
|
4249
4604
|
method: "GET",
|
|
@@ -4262,7 +4617,7 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4262
4617
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4263
4618
|
throw new CommonMessageException(await response.json());
|
|
4264
4619
|
}
|
|
4265
|
-
throw new
|
|
4620
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4266
4621
|
}
|
|
4267
4622
|
/**
|
|
4268
4623
|
* Returns a HTML preview of the provided schema
|
|
@@ -4289,7 +4644,7 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4289
4644
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4290
4645
|
throw new CommonMessageException(await response.json());
|
|
4291
4646
|
}
|
|
4292
|
-
throw new
|
|
4647
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4293
4648
|
}
|
|
4294
4649
|
/**
|
|
4295
4650
|
* Updates an existing schema
|
|
@@ -4319,14 +4674,14 @@ var BackendSchemaTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4319
4674
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4320
4675
|
throw new CommonMessageException(await response.json());
|
|
4321
4676
|
}
|
|
4322
|
-
throw new
|
|
4677
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4323
4678
|
}
|
|
4324
4679
|
};
|
|
4325
4680
|
|
|
4326
4681
|
// src/BackendScopeTag.ts
|
|
4327
|
-
var
|
|
4328
|
-
var
|
|
4329
|
-
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 {
|
|
4330
4685
|
/**
|
|
4331
4686
|
* Creates a new scope
|
|
4332
4687
|
*
|
|
@@ -4353,7 +4708,7 @@ var BackendScopeTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4353
4708
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4354
4709
|
throw new CommonMessageException(await response.json());
|
|
4355
4710
|
}
|
|
4356
|
-
throw new
|
|
4711
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4357
4712
|
}
|
|
4358
4713
|
/**
|
|
4359
4714
|
* Deletes an existing scope
|
|
@@ -4380,7 +4735,7 @@ var BackendScopeTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4380
4735
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4381
4736
|
throw new CommonMessageException(await response.json());
|
|
4382
4737
|
}
|
|
4383
|
-
throw new
|
|
4738
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4384
4739
|
}
|
|
4385
4740
|
/**
|
|
4386
4741
|
* Returns a specific scope
|
|
@@ -4407,7 +4762,7 @@ var BackendScopeTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4407
4762
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4408
4763
|
throw new CommonMessageException(await response.json());
|
|
4409
4764
|
}
|
|
4410
|
-
throw new
|
|
4765
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4411
4766
|
}
|
|
4412
4767
|
/**
|
|
4413
4768
|
* Returns a paginated list of scopes
|
|
@@ -4436,7 +4791,7 @@ var BackendScopeTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4436
4791
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4437
4792
|
throw new CommonMessageException(await response.json());
|
|
4438
4793
|
}
|
|
4439
|
-
throw new
|
|
4794
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4440
4795
|
}
|
|
4441
4796
|
/**
|
|
4442
4797
|
* Returns all available scopes grouped by category
|
|
@@ -4461,7 +4816,7 @@ var BackendScopeTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4461
4816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4462
4817
|
throw new CommonMessageException(await response.json());
|
|
4463
4818
|
}
|
|
4464
|
-
throw new
|
|
4819
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4465
4820
|
}
|
|
4466
4821
|
/**
|
|
4467
4822
|
* Updates an existing scope
|
|
@@ -4491,14 +4846,14 @@ var BackendScopeTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4491
4846
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4492
4847
|
throw new CommonMessageException(await response.json());
|
|
4493
4848
|
}
|
|
4494
|
-
throw new
|
|
4849
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4495
4850
|
}
|
|
4496
4851
|
};
|
|
4497
4852
|
|
|
4498
4853
|
// src/BackendSdkTag.ts
|
|
4499
|
-
var
|
|
4500
|
-
var
|
|
4501
|
-
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 {
|
|
4502
4857
|
/**
|
|
4503
4858
|
* Generates a specific SDK
|
|
4504
4859
|
*
|
|
@@ -4525,7 +4880,7 @@ var BackendSdkTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4525
4880
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4526
4881
|
throw new CommonMessageException(await response.json());
|
|
4527
4882
|
}
|
|
4528
|
-
throw new
|
|
4883
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4529
4884
|
}
|
|
4530
4885
|
/**
|
|
4531
4886
|
* Returns a paginated list of SDKs
|
|
@@ -4550,14 +4905,14 @@ var BackendSdkTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4550
4905
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4551
4906
|
throw new CommonMessageException(await response.json());
|
|
4552
4907
|
}
|
|
4553
|
-
throw new
|
|
4908
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4554
4909
|
}
|
|
4555
4910
|
};
|
|
4556
4911
|
|
|
4557
4912
|
// src/BackendStatisticTag.ts
|
|
4558
|
-
var
|
|
4559
|
-
var
|
|
4560
|
-
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 {
|
|
4561
4916
|
/**
|
|
4562
4917
|
* Returns a statistic containing the activities per user
|
|
4563
4918
|
*
|
|
@@ -4596,7 +4951,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4596
4951
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4597
4952
|
throw new CommonMessageException(await response.json());
|
|
4598
4953
|
}
|
|
4599
|
-
throw new
|
|
4954
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4600
4955
|
}
|
|
4601
4956
|
/**
|
|
4602
4957
|
* Returns a statistic containing the request count
|
|
@@ -4636,7 +4991,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4636
4991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4637
4992
|
throw new CommonMessageException(await response.json());
|
|
4638
4993
|
}
|
|
4639
|
-
throw new
|
|
4994
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4640
4995
|
}
|
|
4641
4996
|
/**
|
|
4642
4997
|
* Returns a statistic containing the errors per operation
|
|
@@ -4676,7 +5031,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4676
5031
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4677
5032
|
throw new CommonMessageException(await response.json());
|
|
4678
5033
|
}
|
|
4679
|
-
throw new
|
|
5034
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4680
5035
|
}
|
|
4681
5036
|
/**
|
|
4682
5037
|
* Returns a statistic containing the incoming requests
|
|
@@ -4716,7 +5071,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4716
5071
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4717
5072
|
throw new CommonMessageException(await response.json());
|
|
4718
5073
|
}
|
|
4719
|
-
throw new
|
|
5074
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4720
5075
|
}
|
|
4721
5076
|
/**
|
|
4722
5077
|
* Returns a statistic containing the incoming transactions
|
|
@@ -4756,7 +5111,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4756
5111
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4757
5112
|
throw new CommonMessageException(await response.json());
|
|
4758
5113
|
}
|
|
4759
|
-
throw new
|
|
5114
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4760
5115
|
}
|
|
4761
5116
|
/**
|
|
4762
5117
|
* Returns a statistic containing the issues tokens
|
|
@@ -4796,7 +5151,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4796
5151
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4797
5152
|
throw new CommonMessageException(await response.json());
|
|
4798
5153
|
}
|
|
4799
|
-
throw new
|
|
5154
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4800
5155
|
}
|
|
4801
5156
|
/**
|
|
4802
5157
|
* Returns a statistic containing the most used activities
|
|
@@ -4836,7 +5191,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4836
5191
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4837
5192
|
throw new CommonMessageException(await response.json());
|
|
4838
5193
|
}
|
|
4839
|
-
throw new
|
|
5194
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4840
5195
|
}
|
|
4841
5196
|
/**
|
|
4842
5197
|
* Returns a statistic containing the most used apps
|
|
@@ -4876,7 +5231,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4876
5231
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4877
5232
|
throw new CommonMessageException(await response.json());
|
|
4878
5233
|
}
|
|
4879
|
-
throw new
|
|
5234
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4880
5235
|
}
|
|
4881
5236
|
/**
|
|
4882
5237
|
* Returns a statistic containing the most used operations
|
|
@@ -4916,7 +5271,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4916
5271
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4917
5272
|
throw new CommonMessageException(await response.json());
|
|
4918
5273
|
}
|
|
4919
|
-
throw new
|
|
5274
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4920
5275
|
}
|
|
4921
5276
|
/**
|
|
4922
5277
|
* Returns a statistic containing the requests per ip
|
|
@@ -4956,7 +5311,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4956
5311
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4957
5312
|
throw new CommonMessageException(await response.json());
|
|
4958
5313
|
}
|
|
4959
|
-
throw new
|
|
5314
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4960
5315
|
}
|
|
4961
5316
|
/**
|
|
4962
5317
|
* Returns a statistic containing the requests per operation
|
|
@@ -4996,7 +5351,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4996
5351
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4997
5352
|
throw new CommonMessageException(await response.json());
|
|
4998
5353
|
}
|
|
4999
|
-
throw new
|
|
5354
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5000
5355
|
}
|
|
5001
5356
|
/**
|
|
5002
5357
|
* Returns a statistic containing the requests per user
|
|
@@ -5036,7 +5391,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5036
5391
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5037
5392
|
throw new CommonMessageException(await response.json());
|
|
5038
5393
|
}
|
|
5039
|
-
throw new
|
|
5394
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5040
5395
|
}
|
|
5041
5396
|
/**
|
|
5042
5397
|
* Returns a statistic containing the test coverage
|
|
@@ -5061,7 +5416,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5061
5416
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5062
5417
|
throw new CommonMessageException(await response.json());
|
|
5063
5418
|
}
|
|
5064
|
-
throw new
|
|
5419
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5065
5420
|
}
|
|
5066
5421
|
/**
|
|
5067
5422
|
* Returns a statistic containing the time average
|
|
@@ -5101,7 +5456,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5101
5456
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5102
5457
|
throw new CommonMessageException(await response.json());
|
|
5103
5458
|
}
|
|
5104
|
-
throw new
|
|
5459
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5105
5460
|
}
|
|
5106
5461
|
/**
|
|
5107
5462
|
* Returns a statistic containing the time per operation
|
|
@@ -5141,7 +5496,7 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5141
5496
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5142
5497
|
throw new CommonMessageException(await response.json());
|
|
5143
5498
|
}
|
|
5144
|
-
throw new
|
|
5499
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5145
5500
|
}
|
|
5146
5501
|
/**
|
|
5147
5502
|
* Returns a statistic containing the used points
|
|
@@ -5181,37 +5536,217 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5181
5536
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5182
5537
|
throw new CommonMessageException(await response.json());
|
|
5183
5538
|
}
|
|
5184
|
-
throw new
|
|
5539
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5540
|
+
}
|
|
5541
|
+
/**
|
|
5542
|
+
* Returns a statistic containing the user registrations
|
|
5543
|
+
*
|
|
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);
|
|
5185
5730
|
}
|
|
5186
5731
|
/**
|
|
5187
|
-
*
|
|
5732
|
+
* Updates an existing taxonomy
|
|
5188
5733
|
*
|
|
5189
|
-
* @returns {Promise<
|
|
5734
|
+
* @returns {Promise<CommonMessage>}
|
|
5190
5735
|
* @throws {CommonMessageException}
|
|
5191
5736
|
* @throws {ClientException}
|
|
5192
5737
|
*/
|
|
5193
|
-
async
|
|
5194
|
-
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
|
+
});
|
|
5195
5742
|
let request = {
|
|
5196
5743
|
url,
|
|
5197
|
-
method: "
|
|
5198
|
-
headers: {
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
"from": from,
|
|
5204
|
-
"to": to,
|
|
5205
|
-
"operationId": operationId,
|
|
5206
|
-
"appId": appId,
|
|
5207
|
-
"userId": userId,
|
|
5208
|
-
"ip": ip,
|
|
5209
|
-
"userAgent": userAgent,
|
|
5210
|
-
"method": method,
|
|
5211
|
-
"path": path,
|
|
5212
|
-
"header": header,
|
|
5213
|
-
"body": body
|
|
5214
|
-
}, [])
|
|
5744
|
+
method: "PUT",
|
|
5745
|
+
headers: {
|
|
5746
|
+
"Content-Type": "application/json"
|
|
5747
|
+
},
|
|
5748
|
+
params: this.parser.query({}, []),
|
|
5749
|
+
data: payload
|
|
5215
5750
|
};
|
|
5216
5751
|
const response = await this.httpClient.request(request);
|
|
5217
5752
|
if (response.ok) {
|
|
@@ -5221,17 +5756,14 @@ var BackendStatisticTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5221
5756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5222
5757
|
throw new CommonMessageException(await response.json());
|
|
5223
5758
|
}
|
|
5224
|
-
throw new
|
|
5759
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5225
5760
|
}
|
|
5226
5761
|
};
|
|
5227
5762
|
|
|
5228
|
-
// src/BackendTag.ts
|
|
5229
|
-
var import_sdkgen_client87 = require("sdkgen-client");
|
|
5230
|
-
|
|
5231
5763
|
// src/BackendTenantTag.ts
|
|
5232
|
-
var
|
|
5233
|
-
var
|
|
5234
|
-
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 {
|
|
5235
5767
|
/**
|
|
5236
5768
|
* Removes an existing tenant
|
|
5237
5769
|
*
|
|
@@ -5257,7 +5789,7 @@ var BackendTenantTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5257
5789
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5258
5790
|
throw new CommonMessageException(await response.json());
|
|
5259
5791
|
}
|
|
5260
|
-
throw new
|
|
5792
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5261
5793
|
}
|
|
5262
5794
|
/**
|
|
5263
5795
|
* Setup a new tenant
|
|
@@ -5284,14 +5816,14 @@ var BackendTenantTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5284
5816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5285
5817
|
throw new CommonMessageException(await response.json());
|
|
5286
5818
|
}
|
|
5287
|
-
throw new
|
|
5819
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5288
5820
|
}
|
|
5289
5821
|
};
|
|
5290
5822
|
|
|
5291
5823
|
// src/BackendTestTag.ts
|
|
5292
|
-
var
|
|
5293
|
-
var
|
|
5294
|
-
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 {
|
|
5295
5827
|
/**
|
|
5296
5828
|
* Returns a specific test
|
|
5297
5829
|
*
|
|
@@ -5317,7 +5849,7 @@ var BackendTestTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5317
5849
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5318
5850
|
throw new CommonMessageException(await response.json());
|
|
5319
5851
|
}
|
|
5320
|
-
throw new
|
|
5852
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5321
5853
|
}
|
|
5322
5854
|
/**
|
|
5323
5855
|
* Returns a paginated list of tests
|
|
@@ -5346,7 +5878,7 @@ var BackendTestTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5346
5878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5347
5879
|
throw new CommonMessageException(await response.json());
|
|
5348
5880
|
}
|
|
5349
|
-
throw new
|
|
5881
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5350
5882
|
}
|
|
5351
5883
|
/**
|
|
5352
5884
|
* Refresh all tests
|
|
@@ -5371,7 +5903,7 @@ var BackendTestTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5371
5903
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5372
5904
|
throw new CommonMessageException(await response.json());
|
|
5373
5905
|
}
|
|
5374
|
-
throw new
|
|
5906
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5375
5907
|
}
|
|
5376
5908
|
/**
|
|
5377
5909
|
* Run all tests
|
|
@@ -5396,7 +5928,7 @@ var BackendTestTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5396
5928
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5397
5929
|
throw new CommonMessageException(await response.json());
|
|
5398
5930
|
}
|
|
5399
|
-
throw new
|
|
5931
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5400
5932
|
}
|
|
5401
5933
|
/**
|
|
5402
5934
|
* Updates an existing test
|
|
@@ -5426,14 +5958,14 @@ var BackendTestTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5426
5958
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5427
5959
|
throw new CommonMessageException(await response.json());
|
|
5428
5960
|
}
|
|
5429
|
-
throw new
|
|
5961
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5430
5962
|
}
|
|
5431
5963
|
};
|
|
5432
5964
|
|
|
5433
5965
|
// src/BackendTokenTag.ts
|
|
5434
|
-
var
|
|
5435
|
-
var
|
|
5436
|
-
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 {
|
|
5437
5969
|
/**
|
|
5438
5970
|
* Returns a specific token
|
|
5439
5971
|
*
|
|
@@ -5459,7 +5991,7 @@ var BackendTokenTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5459
5991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5460
5992
|
throw new CommonMessageException(await response.json());
|
|
5461
5993
|
}
|
|
5462
|
-
throw new
|
|
5994
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5463
5995
|
}
|
|
5464
5996
|
/**
|
|
5465
5997
|
* Returns a paginated list of tokens
|
|
@@ -5495,14 +6027,14 @@ var BackendTokenTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5495
6027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5496
6028
|
throw new CommonMessageException(await response.json());
|
|
5497
6029
|
}
|
|
5498
|
-
throw new
|
|
6030
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5499
6031
|
}
|
|
5500
6032
|
};
|
|
5501
6033
|
|
|
5502
6034
|
// src/BackendTransactionTag.ts
|
|
5503
|
-
var
|
|
5504
|
-
var
|
|
5505
|
-
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 {
|
|
5506
6038
|
/**
|
|
5507
6039
|
* Returns a specific transaction
|
|
5508
6040
|
*
|
|
@@ -5528,7 +6060,7 @@ var BackendTransactionTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5528
6060
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5529
6061
|
throw new CommonMessageException(await response.json());
|
|
5530
6062
|
}
|
|
5531
|
-
throw new
|
|
6063
|
+
throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5532
6064
|
}
|
|
5533
6065
|
/**
|
|
5534
6066
|
* Returns a paginated list of transactions
|
|
@@ -5537,7 +6069,7 @@ var BackendTransactionTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5537
6069
|
* @throws {CommonMessageException}
|
|
5538
6070
|
* @throws {ClientException}
|
|
5539
6071
|
*/
|
|
5540
|
-
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) {
|
|
5541
6073
|
const url = this.parser.url("/backend/transaction", {});
|
|
5542
6074
|
let request = {
|
|
5543
6075
|
url,
|
|
@@ -5553,7 +6085,8 @@ var BackendTransactionTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5553
6085
|
"userId": userId,
|
|
5554
6086
|
"appId": appId,
|
|
5555
6087
|
"status": status,
|
|
5556
|
-
"provider": provider
|
|
6088
|
+
"provider": provider,
|
|
6089
|
+
"taxonomy": taxonomy
|
|
5557
6090
|
}, [])
|
|
5558
6091
|
};
|
|
5559
6092
|
const response = await this.httpClient.request(request);
|
|
@@ -5564,14 +6097,14 @@ var BackendTransactionTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5564
6097
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5565
6098
|
throw new CommonMessageException(await response.json());
|
|
5566
6099
|
}
|
|
5567
|
-
throw new
|
|
6100
|
+
throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5568
6101
|
}
|
|
5569
6102
|
};
|
|
5570
6103
|
|
|
5571
6104
|
// src/BackendTrashTag.ts
|
|
5572
|
-
var
|
|
5573
|
-
var
|
|
5574
|
-
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 {
|
|
5575
6108
|
/**
|
|
5576
6109
|
* Returns all deleted records by trash type
|
|
5577
6110
|
*
|
|
@@ -5601,7 +6134,7 @@ var BackendTrashTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5601
6134
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5602
6135
|
throw new CommonMessageException(await response.json());
|
|
5603
6136
|
}
|
|
5604
|
-
throw new
|
|
6137
|
+
throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5605
6138
|
}
|
|
5606
6139
|
/**
|
|
5607
6140
|
* Returns all trash types
|
|
@@ -5626,7 +6159,7 @@ var BackendTrashTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5626
6159
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5627
6160
|
throw new CommonMessageException(await response.json());
|
|
5628
6161
|
}
|
|
5629
|
-
throw new
|
|
6162
|
+
throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5630
6163
|
}
|
|
5631
6164
|
/**
|
|
5632
6165
|
* Restores a previously deleted record
|
|
@@ -5656,14 +6189,14 @@ var BackendTrashTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5656
6189
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5657
6190
|
throw new CommonMessageException(await response.json());
|
|
5658
6191
|
}
|
|
5659
|
-
throw new
|
|
6192
|
+
throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5660
6193
|
}
|
|
5661
6194
|
};
|
|
5662
6195
|
|
|
5663
6196
|
// src/BackendTriggerTag.ts
|
|
5664
|
-
var
|
|
5665
|
-
var
|
|
5666
|
-
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 {
|
|
5667
6200
|
/**
|
|
5668
6201
|
* Creates a new trigger
|
|
5669
6202
|
*
|
|
@@ -5690,7 +6223,7 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5690
6223
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5691
6224
|
throw new CommonMessageException(await response.json());
|
|
5692
6225
|
}
|
|
5693
|
-
throw new
|
|
6226
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5694
6227
|
}
|
|
5695
6228
|
/**
|
|
5696
6229
|
* Deletes an existing trigger
|
|
@@ -5717,7 +6250,7 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5717
6250
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5718
6251
|
throw new CommonMessageException(await response.json());
|
|
5719
6252
|
}
|
|
5720
|
-
throw new
|
|
6253
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5721
6254
|
}
|
|
5722
6255
|
/**
|
|
5723
6256
|
* Returns a specific trigger
|
|
@@ -5744,7 +6277,7 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5744
6277
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5745
6278
|
throw new CommonMessageException(await response.json());
|
|
5746
6279
|
}
|
|
5747
|
-
throw new
|
|
6280
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5748
6281
|
}
|
|
5749
6282
|
/**
|
|
5750
6283
|
* Returns a paginated list of triggers
|
|
@@ -5753,7 +6286,7 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5753
6286
|
* @throws {CommonMessageException}
|
|
5754
6287
|
* @throws {ClientException}
|
|
5755
6288
|
*/
|
|
5756
|
-
async getAll(startIndex, count, search) {
|
|
6289
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
5757
6290
|
const url = this.parser.url("/backend/trigger", {});
|
|
5758
6291
|
let request = {
|
|
5759
6292
|
url,
|
|
@@ -5762,7 +6295,8 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5762
6295
|
params: this.parser.query({
|
|
5763
6296
|
"startIndex": startIndex,
|
|
5764
6297
|
"count": count,
|
|
5765
|
-
"search": search
|
|
6298
|
+
"search": search,
|
|
6299
|
+
"taxonomy": taxonomy
|
|
5766
6300
|
}, [])
|
|
5767
6301
|
};
|
|
5768
6302
|
const response = await this.httpClient.request(request);
|
|
@@ -5773,7 +6307,7 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5773
6307
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5774
6308
|
throw new CommonMessageException(await response.json());
|
|
5775
6309
|
}
|
|
5776
|
-
throw new
|
|
6310
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5777
6311
|
}
|
|
5778
6312
|
/**
|
|
5779
6313
|
* Updates an existing trigger
|
|
@@ -5803,14 +6337,14 @@ var BackendTriggerTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5803
6337
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5804
6338
|
throw new CommonMessageException(await response.json());
|
|
5805
6339
|
}
|
|
5806
|
-
throw new
|
|
6340
|
+
throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5807
6341
|
}
|
|
5808
6342
|
};
|
|
5809
6343
|
|
|
5810
6344
|
// src/BackendUserTag.ts
|
|
5811
|
-
var
|
|
5812
|
-
var
|
|
5813
|
-
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 {
|
|
5814
6348
|
/**
|
|
5815
6349
|
* Creates a new user
|
|
5816
6350
|
*
|
|
@@ -5837,7 +6371,7 @@ var BackendUserTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5837
6371
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5838
6372
|
throw new CommonMessageException(await response.json());
|
|
5839
6373
|
}
|
|
5840
|
-
throw new
|
|
6374
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5841
6375
|
}
|
|
5842
6376
|
/**
|
|
5843
6377
|
* Deletes an existing user
|
|
@@ -5864,7 +6398,7 @@ var BackendUserTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5864
6398
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5865
6399
|
throw new CommonMessageException(await response.json());
|
|
5866
6400
|
}
|
|
5867
|
-
throw new
|
|
6401
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5868
6402
|
}
|
|
5869
6403
|
/**
|
|
5870
6404
|
* Returns a specific user
|
|
@@ -5891,7 +6425,7 @@ var BackendUserTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5891
6425
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5892
6426
|
throw new CommonMessageException(await response.json());
|
|
5893
6427
|
}
|
|
5894
|
-
throw new
|
|
6428
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5895
6429
|
}
|
|
5896
6430
|
/**
|
|
5897
6431
|
* Returns a paginated list of users
|
|
@@ -5920,7 +6454,7 @@ var BackendUserTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5920
6454
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5921
6455
|
throw new CommonMessageException(await response.json());
|
|
5922
6456
|
}
|
|
5923
|
-
throw new
|
|
6457
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5924
6458
|
}
|
|
5925
6459
|
/**
|
|
5926
6460
|
* Resend the activation mail to the provided user
|
|
@@ -5950,7 +6484,7 @@ var BackendUserTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5950
6484
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5951
6485
|
throw new CommonMessageException(await response.json());
|
|
5952
6486
|
}
|
|
5953
|
-
throw new
|
|
6487
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5954
6488
|
}
|
|
5955
6489
|
/**
|
|
5956
6490
|
* Updates an existing user
|
|
@@ -5980,14 +6514,14 @@ var BackendUserTag = class extends import_sdkgen_client83.TagAbstract {
|
|
|
5980
6514
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5981
6515
|
throw new CommonMessageException(await response.json());
|
|
5982
6516
|
}
|
|
5983
|
-
throw new
|
|
6517
|
+
throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5984
6518
|
}
|
|
5985
6519
|
};
|
|
5986
6520
|
|
|
5987
6521
|
// src/BackendWebhookTag.ts
|
|
5988
|
-
var
|
|
5989
|
-
var
|
|
5990
|
-
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 {
|
|
5991
6525
|
/**
|
|
5992
6526
|
* Creates a new webhook
|
|
5993
6527
|
*
|
|
@@ -6014,7 +6548,7 @@ var BackendWebhookTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6014
6548
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6015
6549
|
throw new CommonMessageException(await response.json());
|
|
6016
6550
|
}
|
|
6017
|
-
throw new
|
|
6551
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6018
6552
|
}
|
|
6019
6553
|
/**
|
|
6020
6554
|
* Deletes an existing webhook
|
|
@@ -6041,7 +6575,7 @@ var BackendWebhookTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6041
6575
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6042
6576
|
throw new CommonMessageException(await response.json());
|
|
6043
6577
|
}
|
|
6044
|
-
throw new
|
|
6578
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6045
6579
|
}
|
|
6046
6580
|
/**
|
|
6047
6581
|
* Returns a specific webhook
|
|
@@ -6068,7 +6602,7 @@ var BackendWebhookTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6068
6602
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6069
6603
|
throw new CommonMessageException(await response.json());
|
|
6070
6604
|
}
|
|
6071
|
-
throw new
|
|
6605
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6072
6606
|
}
|
|
6073
6607
|
/**
|
|
6074
6608
|
* Returns a paginated list of webhooks
|
|
@@ -6097,7 +6631,7 @@ var BackendWebhookTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6097
6631
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6098
6632
|
throw new CommonMessageException(await response.json());
|
|
6099
6633
|
}
|
|
6100
|
-
throw new
|
|
6634
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6101
6635
|
}
|
|
6102
6636
|
/**
|
|
6103
6637
|
* Updates an existing webhook
|
|
@@ -6127,12 +6661,12 @@ var BackendWebhookTag = class extends import_sdkgen_client85.TagAbstract {
|
|
|
6127
6661
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6128
6662
|
throw new CommonMessageException(await response.json());
|
|
6129
6663
|
}
|
|
6130
|
-
throw new
|
|
6664
|
+
throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6131
6665
|
}
|
|
6132
6666
|
};
|
|
6133
6667
|
|
|
6134
6668
|
// src/BackendTag.ts
|
|
6135
|
-
var BackendTag = class extends
|
|
6669
|
+
var BackendTag = class extends import_sdkgen_client95.TagAbstract {
|
|
6136
6670
|
account() {
|
|
6137
6671
|
return new BackendAccountTag(
|
|
6138
6672
|
this.httpClient,
|
|
@@ -6145,6 +6679,12 @@ var BackendTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6145
6679
|
this.parser
|
|
6146
6680
|
);
|
|
6147
6681
|
}
|
|
6682
|
+
agent() {
|
|
6683
|
+
return new BackendAgentTag(
|
|
6684
|
+
this.httpClient,
|
|
6685
|
+
this.parser
|
|
6686
|
+
);
|
|
6687
|
+
}
|
|
6148
6688
|
app() {
|
|
6149
6689
|
return new BackendAppTag(
|
|
6150
6690
|
this.httpClient,
|
|
@@ -6295,6 +6835,12 @@ var BackendTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6295
6835
|
this.parser
|
|
6296
6836
|
);
|
|
6297
6837
|
}
|
|
6838
|
+
taxonomy() {
|
|
6839
|
+
return new BackendTaxonomyTag(
|
|
6840
|
+
this.httpClient,
|
|
6841
|
+
this.parser
|
|
6842
|
+
);
|
|
6843
|
+
}
|
|
6298
6844
|
tenant() {
|
|
6299
6845
|
return new BackendTenantTag(
|
|
6300
6846
|
this.httpClient,
|
|
@@ -6346,16 +6892,16 @@ var BackendTag = class extends import_sdkgen_client87.TagAbstract {
|
|
|
6346
6892
|
};
|
|
6347
6893
|
|
|
6348
6894
|
// src/Client.ts
|
|
6349
|
-
var
|
|
6350
|
-
var
|
|
6895
|
+
var import_sdkgen_client132 = require("sdkgen-client");
|
|
6896
|
+
var import_sdkgen_client133 = require("sdkgen-client");
|
|
6351
6897
|
|
|
6352
6898
|
// src/ConsumerTag.ts
|
|
6353
|
-
var
|
|
6899
|
+
var import_sdkgen_client124 = require("sdkgen-client");
|
|
6354
6900
|
|
|
6355
6901
|
// src/ConsumerAccountTag.ts
|
|
6356
|
-
var
|
|
6357
|
-
var
|
|
6358
|
-
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 {
|
|
6359
6905
|
/**
|
|
6360
6906
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
6361
6907
|
*
|
|
@@ -6382,7 +6928,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6382
6928
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6383
6929
|
throw new CommonMessageException(await response.json());
|
|
6384
6930
|
}
|
|
6385
|
-
throw new
|
|
6931
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6386
6932
|
}
|
|
6387
6933
|
/**
|
|
6388
6934
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -6410,7 +6956,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6410
6956
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6411
6957
|
throw new CommonMessageException(await response.json());
|
|
6412
6958
|
}
|
|
6413
|
-
throw new
|
|
6959
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6414
6960
|
}
|
|
6415
6961
|
/**
|
|
6416
6962
|
* Change the password for the authenticated user
|
|
@@ -6438,7 +6984,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6438
6984
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6439
6985
|
throw new CommonMessageException(await response.json());
|
|
6440
6986
|
}
|
|
6441
|
-
throw new
|
|
6987
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6442
6988
|
}
|
|
6443
6989
|
/**
|
|
6444
6990
|
* Change the password after the password reset flow was started
|
|
@@ -6466,7 +7012,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6466
7012
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6467
7013
|
throw new CommonMessageException(await response.json());
|
|
6468
7014
|
}
|
|
6469
|
-
throw new
|
|
7015
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6470
7016
|
}
|
|
6471
7017
|
/**
|
|
6472
7018
|
* Returns a user data for the authenticated user
|
|
@@ -6491,7 +7037,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6491
7037
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6492
7038
|
throw new CommonMessageException(await response.json());
|
|
6493
7039
|
}
|
|
6494
|
-
throw new
|
|
7040
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6495
7041
|
}
|
|
6496
7042
|
/**
|
|
6497
7043
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -6519,7 +7065,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6519
7065
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6520
7066
|
throw new CommonMessageException(await response.json());
|
|
6521
7067
|
}
|
|
6522
|
-
throw new
|
|
7068
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6523
7069
|
}
|
|
6524
7070
|
/**
|
|
6525
7071
|
* User login by providing a username and password
|
|
@@ -6547,7 +7093,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6547
7093
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6548
7094
|
throw new CommonMessageException(await response.json());
|
|
6549
7095
|
}
|
|
6550
|
-
throw new
|
|
7096
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6551
7097
|
}
|
|
6552
7098
|
/**
|
|
6553
7099
|
* Refresh a previously obtained access token
|
|
@@ -6575,7 +7121,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6575
7121
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6576
7122
|
throw new CommonMessageException(await response.json());
|
|
6577
7123
|
}
|
|
6578
|
-
throw new
|
|
7124
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6579
7125
|
}
|
|
6580
7126
|
/**
|
|
6581
7127
|
* Register a new user account
|
|
@@ -6603,7 +7149,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6603
7149
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6604
7150
|
throw new CommonMessageException(await response.json());
|
|
6605
7151
|
}
|
|
6606
|
-
throw new
|
|
7152
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6607
7153
|
}
|
|
6608
7154
|
/**
|
|
6609
7155
|
* Start the password reset flow
|
|
@@ -6631,7 +7177,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6631
7177
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6632
7178
|
throw new CommonMessageException(await response.json());
|
|
6633
7179
|
}
|
|
6634
|
-
throw new
|
|
7180
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6635
7181
|
}
|
|
6636
7182
|
/**
|
|
6637
7183
|
* Updates user data for the authenticated user
|
|
@@ -6659,14 +7205,14 @@ var ConsumerAccountTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6659
7205
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6660
7206
|
throw new CommonMessageException(await response.json());
|
|
6661
7207
|
}
|
|
6662
|
-
throw new
|
|
7208
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6663
7209
|
}
|
|
6664
7210
|
};
|
|
6665
7211
|
|
|
6666
7212
|
// src/ConsumerAppTag.ts
|
|
6667
|
-
var
|
|
6668
|
-
var
|
|
6669
|
-
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 {
|
|
6670
7216
|
/**
|
|
6671
7217
|
* Creates a new app for the authenticated user
|
|
6672
7218
|
*
|
|
@@ -6693,7 +7239,7 @@ var ConsumerAppTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6693
7239
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6694
7240
|
throw new CommonMessageException(await response.json());
|
|
6695
7241
|
}
|
|
6696
|
-
throw new
|
|
7242
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6697
7243
|
}
|
|
6698
7244
|
/**
|
|
6699
7245
|
* Deletes an existing app for the authenticated user
|
|
@@ -6720,7 +7266,7 @@ var ConsumerAppTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6720
7266
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6721
7267
|
throw new CommonMessageException(await response.json());
|
|
6722
7268
|
}
|
|
6723
|
-
throw new
|
|
7269
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6724
7270
|
}
|
|
6725
7271
|
/**
|
|
6726
7272
|
* Returns a specific app for the authenticated user
|
|
@@ -6747,7 +7293,7 @@ var ConsumerAppTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6747
7293
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6748
7294
|
throw new CommonMessageException(await response.json());
|
|
6749
7295
|
}
|
|
6750
|
-
throw new
|
|
7296
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6751
7297
|
}
|
|
6752
7298
|
/**
|
|
6753
7299
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6776,7 +7322,7 @@ var ConsumerAppTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6776
7322
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6777
7323
|
throw new CommonMessageException(await response.json());
|
|
6778
7324
|
}
|
|
6779
|
-
throw new
|
|
7325
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6780
7326
|
}
|
|
6781
7327
|
/**
|
|
6782
7328
|
* Updates an existing app for the authenticated user
|
|
@@ -6806,14 +7352,14 @@ var ConsumerAppTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6806
7352
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6807
7353
|
throw new CommonMessageException(await response.json());
|
|
6808
7354
|
}
|
|
6809
|
-
throw new
|
|
7355
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6810
7356
|
}
|
|
6811
7357
|
};
|
|
6812
7358
|
|
|
6813
7359
|
// src/ConsumerEventTag.ts
|
|
6814
|
-
var
|
|
6815
|
-
var
|
|
6816
|
-
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 {
|
|
6817
7363
|
/**
|
|
6818
7364
|
* Returns a specific event for the authenticated user
|
|
6819
7365
|
*
|
|
@@ -6839,7 +7385,7 @@ var ConsumerEventTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6839
7385
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6840
7386
|
throw new CommonMessageException(await response.json());
|
|
6841
7387
|
}
|
|
6842
|
-
throw new
|
|
7388
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6843
7389
|
}
|
|
6844
7390
|
/**
|
|
6845
7391
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6868,14 +7414,14 @@ var ConsumerEventTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6868
7414
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6869
7415
|
throw new CommonMessageException(await response.json());
|
|
6870
7416
|
}
|
|
6871
|
-
throw new
|
|
7417
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6872
7418
|
}
|
|
6873
7419
|
};
|
|
6874
7420
|
|
|
6875
7421
|
// src/ConsumerFormTag.ts
|
|
6876
|
-
var
|
|
6877
|
-
var
|
|
6878
|
-
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 {
|
|
6879
7425
|
/**
|
|
6880
7426
|
* Returns a specific form for the authenticated user
|
|
6881
7427
|
*
|
|
@@ -6901,7 +7447,7 @@ var ConsumerFormTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6901
7447
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6902
7448
|
throw new CommonMessageException(await response.json());
|
|
6903
7449
|
}
|
|
6904
|
-
throw new
|
|
7450
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6905
7451
|
}
|
|
6906
7452
|
/**
|
|
6907
7453
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -6930,14 +7476,14 @@ var ConsumerFormTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6930
7476
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6931
7477
|
throw new CommonMessageException(await response.json());
|
|
6932
7478
|
}
|
|
6933
|
-
throw new
|
|
7479
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6934
7480
|
}
|
|
6935
7481
|
};
|
|
6936
7482
|
|
|
6937
7483
|
// src/ConsumerGrantTag.ts
|
|
6938
|
-
var
|
|
6939
|
-
var
|
|
6940
|
-
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 {
|
|
6941
7487
|
/**
|
|
6942
7488
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
6943
7489
|
*
|
|
@@ -6963,7 +7509,7 @@ var ConsumerGrantTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6963
7509
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6964
7510
|
throw new CommonMessageException(await response.json());
|
|
6965
7511
|
}
|
|
6966
|
-
throw new
|
|
7512
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6967
7513
|
}
|
|
6968
7514
|
/**
|
|
6969
7515
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -6992,14 +7538,14 @@ var ConsumerGrantTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6992
7538
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6993
7539
|
throw new CommonMessageException(await response.json());
|
|
6994
7540
|
}
|
|
6995
|
-
throw new
|
|
7541
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6996
7542
|
}
|
|
6997
7543
|
};
|
|
6998
7544
|
|
|
6999
7545
|
// src/ConsumerIdentityTag.ts
|
|
7000
|
-
var
|
|
7001
|
-
var
|
|
7002
|
-
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 {
|
|
7003
7549
|
/**
|
|
7004
7550
|
* Identity callback endpoint to exchange an access token
|
|
7005
7551
|
*
|
|
@@ -7025,7 +7571,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
7025
7571
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7026
7572
|
throw new CommonMessageException(await response.json());
|
|
7027
7573
|
}
|
|
7028
|
-
throw new
|
|
7574
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7029
7575
|
}
|
|
7030
7576
|
/**
|
|
7031
7577
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -7053,7 +7599,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
7053
7599
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7054
7600
|
throw new CommonMessageException(await response.json());
|
|
7055
7601
|
}
|
|
7056
|
-
throw new
|
|
7602
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7057
7603
|
}
|
|
7058
7604
|
/**
|
|
7059
7605
|
* Redirect the user to the configured identity provider
|
|
@@ -7080,14 +7626,14 @@ var ConsumerIdentityTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
7080
7626
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7081
7627
|
throw new CommonMessageException(await response.json());
|
|
7082
7628
|
}
|
|
7083
|
-
throw new
|
|
7629
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7084
7630
|
}
|
|
7085
7631
|
};
|
|
7086
7632
|
|
|
7087
7633
|
// src/ConsumerLogTag.ts
|
|
7088
|
-
var
|
|
7089
|
-
var
|
|
7090
|
-
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 {
|
|
7091
7637
|
/**
|
|
7092
7638
|
* Returns a specific log for the authenticated user
|
|
7093
7639
|
*
|
|
@@ -7113,7 +7659,7 @@ var ConsumerLogTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
7113
7659
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7114
7660
|
throw new CommonMessageException(await response.json());
|
|
7115
7661
|
}
|
|
7116
|
-
throw new
|
|
7662
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7117
7663
|
}
|
|
7118
7664
|
/**
|
|
7119
7665
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -7142,14 +7688,14 @@ var ConsumerLogTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
7142
7688
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7143
7689
|
throw new CommonMessageException(await response.json());
|
|
7144
7690
|
}
|
|
7145
|
-
throw new
|
|
7691
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7146
7692
|
}
|
|
7147
7693
|
};
|
|
7148
7694
|
|
|
7149
7695
|
// src/ConsumerPageTag.ts
|
|
7150
|
-
var
|
|
7151
|
-
var
|
|
7152
|
-
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 {
|
|
7153
7699
|
/**
|
|
7154
7700
|
* Returns a specific page for the authenticated user
|
|
7155
7701
|
*
|
|
@@ -7175,7 +7721,7 @@ var ConsumerPageTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
7175
7721
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7176
7722
|
throw new CommonMessageException(await response.json());
|
|
7177
7723
|
}
|
|
7178
|
-
throw new
|
|
7724
|
+
throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7179
7725
|
}
|
|
7180
7726
|
/**
|
|
7181
7727
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -7204,14 +7750,14 @@ var ConsumerPageTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
7204
7750
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7205
7751
|
throw new CommonMessageException(await response.json());
|
|
7206
7752
|
}
|
|
7207
|
-
throw new
|
|
7753
|
+
throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7208
7754
|
}
|
|
7209
7755
|
};
|
|
7210
7756
|
|
|
7211
7757
|
// src/ConsumerPaymentTag.ts
|
|
7212
|
-
var
|
|
7213
|
-
var
|
|
7214
|
-
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 {
|
|
7215
7761
|
/**
|
|
7216
7762
|
* Start the checkout process for a specific plan
|
|
7217
7763
|
*
|
|
@@ -7240,7 +7786,7 @@ var ConsumerPaymentTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
7240
7786
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7241
7787
|
throw new CommonMessageException(await response.json());
|
|
7242
7788
|
}
|
|
7243
|
-
throw new
|
|
7789
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7244
7790
|
}
|
|
7245
7791
|
/**
|
|
7246
7792
|
* Generates a payment portal link for the authenticated user
|
|
@@ -7270,14 +7816,14 @@ var ConsumerPaymentTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
7270
7816
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7271
7817
|
throw new CommonMessageException(await response.json());
|
|
7272
7818
|
}
|
|
7273
|
-
throw new
|
|
7819
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7274
7820
|
}
|
|
7275
7821
|
};
|
|
7276
7822
|
|
|
7277
7823
|
// src/ConsumerPlanTag.ts
|
|
7278
|
-
var
|
|
7279
|
-
var
|
|
7280
|
-
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 {
|
|
7281
7827
|
/**
|
|
7282
7828
|
* Returns a specific plan for the authenticated user
|
|
7283
7829
|
*
|
|
@@ -7303,7 +7849,7 @@ var ConsumerPlanTag = class extends import_sdkgen_client106.TagAbstract {
|
|
|
7303
7849
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7304
7850
|
throw new CommonMessageException(await response.json());
|
|
7305
7851
|
}
|
|
7306
|
-
throw new
|
|
7852
|
+
throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7307
7853
|
}
|
|
7308
7854
|
/**
|
|
7309
7855
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -7332,14 +7878,14 @@ var ConsumerPlanTag = class extends import_sdkgen_client106.TagAbstract {
|
|
|
7332
7878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7333
7879
|
throw new CommonMessageException(await response.json());
|
|
7334
7880
|
}
|
|
7335
|
-
throw new
|
|
7881
|
+
throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7336
7882
|
}
|
|
7337
7883
|
};
|
|
7338
7884
|
|
|
7339
7885
|
// src/ConsumerScopeTag.ts
|
|
7340
|
-
var
|
|
7341
|
-
var
|
|
7342
|
-
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 {
|
|
7343
7889
|
/**
|
|
7344
7890
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
7345
7891
|
*
|
|
@@ -7367,7 +7913,7 @@ var ConsumerScopeTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7367
7913
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7368
7914
|
throw new CommonMessageException(await response.json());
|
|
7369
7915
|
}
|
|
7370
|
-
throw new
|
|
7916
|
+
throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7371
7917
|
}
|
|
7372
7918
|
/**
|
|
7373
7919
|
* Returns all scopes by category
|
|
@@ -7392,14 +7938,14 @@ var ConsumerScopeTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7392
7938
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7393
7939
|
throw new CommonMessageException(await response.json());
|
|
7394
7940
|
}
|
|
7395
|
-
throw new
|
|
7941
|
+
throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7396
7942
|
}
|
|
7397
7943
|
};
|
|
7398
7944
|
|
|
7399
7945
|
// src/ConsumerTokenTag.ts
|
|
7400
|
-
var
|
|
7401
|
-
var
|
|
7402
|
-
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 {
|
|
7403
7949
|
/**
|
|
7404
7950
|
* Creates a new token for the authenticated user
|
|
7405
7951
|
*
|
|
@@ -7426,7 +7972,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7426
7972
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7427
7973
|
throw new CommonMessageException(await response.json());
|
|
7428
7974
|
}
|
|
7429
|
-
throw new
|
|
7975
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7430
7976
|
}
|
|
7431
7977
|
/**
|
|
7432
7978
|
* Deletes an existing token for the authenticated user
|
|
@@ -7453,7 +7999,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7453
7999
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7454
8000
|
throw new CommonMessageException(await response.json());
|
|
7455
8001
|
}
|
|
7456
|
-
throw new
|
|
8002
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7457
8003
|
}
|
|
7458
8004
|
/**
|
|
7459
8005
|
* Returns a specific token for the authenticated user
|
|
@@ -7480,7 +8026,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7480
8026
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7481
8027
|
throw new CommonMessageException(await response.json());
|
|
7482
8028
|
}
|
|
7483
|
-
throw new
|
|
8029
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7484
8030
|
}
|
|
7485
8031
|
/**
|
|
7486
8032
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -7509,7 +8055,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7509
8055
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7510
8056
|
throw new CommonMessageException(await response.json());
|
|
7511
8057
|
}
|
|
7512
|
-
throw new
|
|
8058
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7513
8059
|
}
|
|
7514
8060
|
/**
|
|
7515
8061
|
* Updates an existing token for the authenticated user
|
|
@@ -7539,14 +8085,14 @@ var ConsumerTokenTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7539
8085
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7540
8086
|
throw new CommonMessageException(await response.json());
|
|
7541
8087
|
}
|
|
7542
|
-
throw new
|
|
8088
|
+
throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7543
8089
|
}
|
|
7544
8090
|
};
|
|
7545
8091
|
|
|
7546
8092
|
// src/ConsumerTransactionTag.ts
|
|
7547
|
-
var
|
|
7548
|
-
var
|
|
7549
|
-
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 {
|
|
7550
8096
|
/**
|
|
7551
8097
|
* Returns a specific transaction for the authenticated user
|
|
7552
8098
|
*
|
|
@@ -7572,7 +8118,7 @@ var ConsumerTransactionTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7572
8118
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7573
8119
|
throw new CommonMessageException(await response.json());
|
|
7574
8120
|
}
|
|
7575
|
-
throw new
|
|
8121
|
+
throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7576
8122
|
}
|
|
7577
8123
|
/**
|
|
7578
8124
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -7601,14 +8147,14 @@ var ConsumerTransactionTag = class extends import_sdkgen_client112.TagAbstract {
|
|
|
7601
8147
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7602
8148
|
throw new CommonMessageException(await response.json());
|
|
7603
8149
|
}
|
|
7604
|
-
throw new
|
|
8150
|
+
throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7605
8151
|
}
|
|
7606
8152
|
};
|
|
7607
8153
|
|
|
7608
8154
|
// src/ConsumerWebhookTag.ts
|
|
7609
|
-
var
|
|
7610
|
-
var
|
|
7611
|
-
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 {
|
|
7612
8158
|
/**
|
|
7613
8159
|
* Creates a new webhook for the authenticated user
|
|
7614
8160
|
*
|
|
@@ -7635,7 +8181,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7635
8181
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7636
8182
|
throw new CommonMessageException(await response.json());
|
|
7637
8183
|
}
|
|
7638
|
-
throw new
|
|
8184
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7639
8185
|
}
|
|
7640
8186
|
/**
|
|
7641
8187
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -7662,7 +8208,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7662
8208
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7663
8209
|
throw new CommonMessageException(await response.json());
|
|
7664
8210
|
}
|
|
7665
|
-
throw new
|
|
8211
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7666
8212
|
}
|
|
7667
8213
|
/**
|
|
7668
8214
|
* Returns a specific webhook for the authenticated user
|
|
@@ -7689,7 +8235,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7689
8235
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7690
8236
|
throw new CommonMessageException(await response.json());
|
|
7691
8237
|
}
|
|
7692
|
-
throw new
|
|
8238
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7693
8239
|
}
|
|
7694
8240
|
/**
|
|
7695
8241
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -7718,7 +8264,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7718
8264
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7719
8265
|
throw new CommonMessageException(await response.json());
|
|
7720
8266
|
}
|
|
7721
|
-
throw new
|
|
8267
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7722
8268
|
}
|
|
7723
8269
|
/**
|
|
7724
8270
|
* Updates an existing webhook for the authenticated user
|
|
@@ -7748,12 +8294,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client114.TagAbstract {
|
|
|
7748
8294
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7749
8295
|
throw new CommonMessageException(await response.json());
|
|
7750
8296
|
}
|
|
7751
|
-
throw new
|
|
8297
|
+
throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7752
8298
|
}
|
|
7753
8299
|
};
|
|
7754
8300
|
|
|
7755
8301
|
// src/ConsumerTag.ts
|
|
7756
|
-
var ConsumerTag = class extends
|
|
8302
|
+
var ConsumerTag = class extends import_sdkgen_client124.TagAbstract {
|
|
7757
8303
|
account() {
|
|
7758
8304
|
return new ConsumerAccountTag(
|
|
7759
8305
|
this.httpClient,
|
|
@@ -7841,12 +8387,12 @@ var ConsumerTag = class extends import_sdkgen_client116.TagAbstract {
|
|
|
7841
8387
|
};
|
|
7842
8388
|
|
|
7843
8389
|
// src/SystemTag.ts
|
|
7844
|
-
var
|
|
8390
|
+
var import_sdkgen_client131 = require("sdkgen-client");
|
|
7845
8391
|
|
|
7846
8392
|
// src/SystemConnectionTag.ts
|
|
7847
|
-
var
|
|
7848
|
-
var
|
|
7849
|
-
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 {
|
|
7850
8396
|
/**
|
|
7851
8397
|
* Connection OAuth2 callback to authorize a connection
|
|
7852
8398
|
*
|
|
@@ -7872,14 +8418,14 @@ var SystemConnectionTag = class extends import_sdkgen_client117.TagAbstract {
|
|
|
7872
8418
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7873
8419
|
throw new CommonMessageException(await response.json());
|
|
7874
8420
|
}
|
|
7875
|
-
throw new
|
|
8421
|
+
throw new import_sdkgen_client126.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7876
8422
|
}
|
|
7877
8423
|
};
|
|
7878
8424
|
|
|
7879
8425
|
// src/SystemMetaTag.ts
|
|
7880
|
-
var
|
|
7881
|
-
var
|
|
7882
|
-
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 {
|
|
7883
8429
|
/**
|
|
7884
8430
|
* Returns meta information and links about the current installed Fusio version
|
|
7885
8431
|
*
|
|
@@ -7903,7 +8449,7 @@ var SystemMetaTag = class extends import_sdkgen_client119.TagAbstract {
|
|
|
7903
8449
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7904
8450
|
throw new CommonMessageException(await response.json());
|
|
7905
8451
|
}
|
|
7906
|
-
throw new
|
|
8452
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7907
8453
|
}
|
|
7908
8454
|
/**
|
|
7909
8455
|
* Debug endpoint which returns the provided data
|
|
@@ -7931,7 +8477,7 @@ var SystemMetaTag = class extends import_sdkgen_client119.TagAbstract {
|
|
|
7931
8477
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7932
8478
|
throw new CommonMessageException(await response.json());
|
|
7933
8479
|
}
|
|
7934
|
-
throw new
|
|
8480
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7935
8481
|
}
|
|
7936
8482
|
/**
|
|
7937
8483
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -7956,7 +8502,7 @@ var SystemMetaTag = class extends import_sdkgen_client119.TagAbstract {
|
|
|
7956
8502
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7957
8503
|
throw new CommonMessageException(await response.json());
|
|
7958
8504
|
}
|
|
7959
|
-
throw new
|
|
8505
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7960
8506
|
}
|
|
7961
8507
|
/**
|
|
7962
8508
|
* Returns all available routes
|
|
@@ -7981,7 +8527,7 @@ var SystemMetaTag = class extends import_sdkgen_client119.TagAbstract {
|
|
|
7981
8527
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7982
8528
|
throw new CommonMessageException(await response.json());
|
|
7983
8529
|
}
|
|
7984
|
-
throw new
|
|
8530
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7985
8531
|
}
|
|
7986
8532
|
/**
|
|
7987
8533
|
* Returns details of a specific schema
|
|
@@ -8008,14 +8554,14 @@ var SystemMetaTag = class extends import_sdkgen_client119.TagAbstract {
|
|
|
8008
8554
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8009
8555
|
throw new CommonMessageException(await response.json());
|
|
8010
8556
|
}
|
|
8011
|
-
throw new
|
|
8557
|
+
throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8012
8558
|
}
|
|
8013
8559
|
};
|
|
8014
8560
|
|
|
8015
8561
|
// src/SystemPaymentTag.ts
|
|
8016
|
-
var
|
|
8017
|
-
var
|
|
8018
|
-
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 {
|
|
8019
8565
|
/**
|
|
8020
8566
|
* Payment webhook endpoint after successful purchase of a plan
|
|
8021
8567
|
*
|
|
@@ -8041,12 +8587,12 @@ var SystemPaymentTag = class extends import_sdkgen_client121.TagAbstract {
|
|
|
8041
8587
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8042
8588
|
throw new CommonMessageException(await response.json());
|
|
8043
8589
|
}
|
|
8044
|
-
throw new
|
|
8590
|
+
throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
8045
8591
|
}
|
|
8046
8592
|
};
|
|
8047
8593
|
|
|
8048
8594
|
// src/SystemTag.ts
|
|
8049
|
-
var SystemTag = class extends
|
|
8595
|
+
var SystemTag = class extends import_sdkgen_client131.TagAbstract {
|
|
8050
8596
|
connection() {
|
|
8051
8597
|
return new SystemConnectionTag(
|
|
8052
8598
|
this.httpClient,
|
|
@@ -8068,7 +8614,7 @@ var SystemTag = class extends import_sdkgen_client123.TagAbstract {
|
|
|
8068
8614
|
};
|
|
8069
8615
|
|
|
8070
8616
|
// src/Client.ts
|
|
8071
|
-
var Client = class _Client extends
|
|
8617
|
+
var Client = class _Client extends import_sdkgen_client132.ClientAbstract {
|
|
8072
8618
|
authorization() {
|
|
8073
8619
|
return new AuthorizationTag(
|
|
8074
8620
|
this.httpClient,
|
|
@@ -8094,7 +8640,7 @@ var Client = class _Client extends import_sdkgen_client124.ClientAbstract {
|
|
|
8094
8640
|
);
|
|
8095
8641
|
}
|
|
8096
8642
|
static buildAnonymous(baseUrl) {
|
|
8097
|
-
return new _Client(baseUrl, new
|
|
8643
|
+
return new _Client(baseUrl, new import_sdkgen_client133.Anonymous());
|
|
8098
8644
|
}
|
|
8099
8645
|
};
|
|
8100
8646
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -8102,12 +8648,15 @@ var Client = class _Client extends import_sdkgen_client124.ClientAbstract {
|
|
|
8102
8648
|
AuthorizationTag,
|
|
8103
8649
|
BackendAccountTag,
|
|
8104
8650
|
BackendActionTag,
|
|
8651
|
+
BackendAgentMessageTag,
|
|
8652
|
+
BackendAgentTag,
|
|
8105
8653
|
BackendAppTag,
|
|
8106
8654
|
BackendAuditTag,
|
|
8107
8655
|
BackendBackupTag,
|
|
8108
8656
|
BackendBundleTag,
|
|
8109
8657
|
BackendCategoryTag,
|
|
8110
8658
|
BackendConfigTag,
|
|
8659
|
+
BackendConnectionAgentTag,
|
|
8111
8660
|
BackendConnectionDatabaseTag,
|
|
8112
8661
|
BackendConnectionFilesystemTag,
|
|
8113
8662
|
BackendConnectionHttpTag,
|
|
@@ -8135,6 +8684,7 @@ var Client = class _Client extends import_sdkgen_client124.ClientAbstract {
|
|
|
8135
8684
|
BackendSdkTag,
|
|
8136
8685
|
BackendStatisticTag,
|
|
8137
8686
|
BackendTag,
|
|
8687
|
+
BackendTaxonomyTag,
|
|
8138
8688
|
BackendTenantTag,
|
|
8139
8689
|
BackendTestTag,
|
|
8140
8690
|
BackendTokenTag,
|