fusio-sdk 6.4.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +6 -6
- package/dist/index.cjs +970 -520
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5829 -5533
- package/dist/index.d.ts +5829 -5533
- package/dist/index.js +935 -488
- package/dist/index.js.map +1 -1
- package/package.json +43 -43
package/dist/index.js
CHANGED
|
@@ -325,6 +325,37 @@ var BackendActionTag = class extends TagAbstract3 {
|
|
|
325
325
|
}
|
|
326
326
|
throw new UnknownStatusCodeException3("The server returned an unknown status code: " + statusCode);
|
|
327
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Returns a paginated list of action commits
|
|
330
|
+
*
|
|
331
|
+
* @returns {Promise<BackendActionCommitCollection>}
|
|
332
|
+
* @throws {CommonMessageException}
|
|
333
|
+
* @throws {ClientException}
|
|
334
|
+
*/
|
|
335
|
+
async getCommits(actionId, startIndex, count, search) {
|
|
336
|
+
const url = this.parser.url("/backend/action/$action_id<[0-9]+|^~>/commit", {
|
|
337
|
+
"action_id": actionId
|
|
338
|
+
});
|
|
339
|
+
let request = {
|
|
340
|
+
url,
|
|
341
|
+
method: "GET",
|
|
342
|
+
headers: {},
|
|
343
|
+
params: this.parser.query({
|
|
344
|
+
"startIndex": startIndex,
|
|
345
|
+
"count": count,
|
|
346
|
+
"search": search
|
|
347
|
+
}, [])
|
|
348
|
+
};
|
|
349
|
+
const response = await this.httpClient.request(request);
|
|
350
|
+
if (response.ok) {
|
|
351
|
+
return await response.json();
|
|
352
|
+
}
|
|
353
|
+
const statusCode = response.status;
|
|
354
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
355
|
+
throw new CommonMessageException(await response.json());
|
|
356
|
+
}
|
|
357
|
+
throw new UnknownStatusCodeException3("The server returned an unknown status code: " + statusCode);
|
|
358
|
+
}
|
|
328
359
|
/**
|
|
329
360
|
* Returns the action config form
|
|
330
361
|
*
|
|
@@ -384,10 +415,253 @@ var BackendActionTag = class extends TagAbstract3 {
|
|
|
384
415
|
}
|
|
385
416
|
};
|
|
386
417
|
|
|
387
|
-
// src/
|
|
418
|
+
// src/BackendAgentMessageTag.ts
|
|
388
419
|
import { TagAbstract as TagAbstract4 } from "sdkgen-client";
|
|
389
420
|
import { UnknownStatusCodeException as UnknownStatusCodeException4 } from "sdkgen-client";
|
|
390
|
-
var
|
|
421
|
+
var BackendAgentMessageTag = class extends TagAbstract4 {
|
|
422
|
+
/**
|
|
423
|
+
* Returns a paginated list of agent messages
|
|
424
|
+
*
|
|
425
|
+
* @returns {Promise<BackendAgentMessageCollection>}
|
|
426
|
+
* @throws {CommonMessageException}
|
|
427
|
+
* @throws {ClientException}
|
|
428
|
+
*/
|
|
429
|
+
async getAll(agentId, parent) {
|
|
430
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
431
|
+
"agent_id": agentId
|
|
432
|
+
});
|
|
433
|
+
let request = {
|
|
434
|
+
url,
|
|
435
|
+
method: "GET",
|
|
436
|
+
headers: {},
|
|
437
|
+
params: this.parser.query({
|
|
438
|
+
"parent": parent
|
|
439
|
+
}, [])
|
|
440
|
+
};
|
|
441
|
+
const response = await this.httpClient.request(request);
|
|
442
|
+
if (response.ok) {
|
|
443
|
+
return await response.json();
|
|
444
|
+
}
|
|
445
|
+
const statusCode = response.status;
|
|
446
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
447
|
+
throw new CommonMessageException(await response.json());
|
|
448
|
+
}
|
|
449
|
+
throw new UnknownStatusCodeException4("The server returned an unknown status code: " + statusCode);
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Submits a new agent message
|
|
453
|
+
*
|
|
454
|
+
* @returns {Promise<BackendAgentMessage>}
|
|
455
|
+
* @throws {CommonMessageException}
|
|
456
|
+
* @throws {ClientException}
|
|
457
|
+
*/
|
|
458
|
+
async submit(agentId, payload) {
|
|
459
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>/message", {
|
|
460
|
+
"agent_id": agentId
|
|
461
|
+
});
|
|
462
|
+
let request = {
|
|
463
|
+
url,
|
|
464
|
+
method: "POST",
|
|
465
|
+
headers: {
|
|
466
|
+
"Content-Type": "application/json"
|
|
467
|
+
},
|
|
468
|
+
params: this.parser.query({}, []),
|
|
469
|
+
data: payload
|
|
470
|
+
};
|
|
471
|
+
const response = await this.httpClient.request(request);
|
|
472
|
+
if (response.ok) {
|
|
473
|
+
return await response.json();
|
|
474
|
+
}
|
|
475
|
+
const statusCode = response.status;
|
|
476
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
477
|
+
throw new CommonMessageException(await response.json());
|
|
478
|
+
}
|
|
479
|
+
throw new UnknownStatusCodeException4("The server returned an unknown status code: " + statusCode);
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
// src/BackendAgentTag.ts
|
|
484
|
+
import { TagAbstract as TagAbstract5 } from "sdkgen-client";
|
|
485
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException5 } from "sdkgen-client";
|
|
486
|
+
var BackendAgentTag = class extends TagAbstract5 {
|
|
487
|
+
message() {
|
|
488
|
+
return new BackendAgentMessageTag(
|
|
489
|
+
this.httpClient,
|
|
490
|
+
this.parser
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Creates a new agent
|
|
495
|
+
*
|
|
496
|
+
* @returns {Promise<CommonMessage>}
|
|
497
|
+
* @throws {CommonMessageException}
|
|
498
|
+
* @throws {ClientException}
|
|
499
|
+
*/
|
|
500
|
+
async create(payload) {
|
|
501
|
+
const url = this.parser.url("/backend/agent", {});
|
|
502
|
+
let request = {
|
|
503
|
+
url,
|
|
504
|
+
method: "POST",
|
|
505
|
+
headers: {
|
|
506
|
+
"Content-Type": "application/json"
|
|
507
|
+
},
|
|
508
|
+
params: this.parser.query({}, []),
|
|
509
|
+
data: payload
|
|
510
|
+
};
|
|
511
|
+
const response = await this.httpClient.request(request);
|
|
512
|
+
if (response.ok) {
|
|
513
|
+
return await response.json();
|
|
514
|
+
}
|
|
515
|
+
const statusCode = response.status;
|
|
516
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
517
|
+
throw new CommonMessageException(await response.json());
|
|
518
|
+
}
|
|
519
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Deletes an existing agent
|
|
523
|
+
*
|
|
524
|
+
* @returns {Promise<CommonMessage>}
|
|
525
|
+
* @throws {CommonMessageException}
|
|
526
|
+
* @throws {ClientException}
|
|
527
|
+
*/
|
|
528
|
+
async delete(agentId) {
|
|
529
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
530
|
+
"agent_id": agentId
|
|
531
|
+
});
|
|
532
|
+
let request = {
|
|
533
|
+
url,
|
|
534
|
+
method: "DELETE",
|
|
535
|
+
headers: {},
|
|
536
|
+
params: this.parser.query({}, [])
|
|
537
|
+
};
|
|
538
|
+
const response = await this.httpClient.request(request);
|
|
539
|
+
if (response.ok) {
|
|
540
|
+
return await response.json();
|
|
541
|
+
}
|
|
542
|
+
const statusCode = response.status;
|
|
543
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
544
|
+
throw new CommonMessageException(await response.json());
|
|
545
|
+
}
|
|
546
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Returns a specific agent
|
|
550
|
+
*
|
|
551
|
+
* @returns {Promise<BackendAgent>}
|
|
552
|
+
* @throws {CommonMessageException}
|
|
553
|
+
* @throws {ClientException}
|
|
554
|
+
*/
|
|
555
|
+
async get(agentId) {
|
|
556
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
557
|
+
"agent_id": agentId
|
|
558
|
+
});
|
|
559
|
+
let request = {
|
|
560
|
+
url,
|
|
561
|
+
method: "GET",
|
|
562
|
+
headers: {},
|
|
563
|
+
params: this.parser.query({}, [])
|
|
564
|
+
};
|
|
565
|
+
const response = await this.httpClient.request(request);
|
|
566
|
+
if (response.ok) {
|
|
567
|
+
return await response.json();
|
|
568
|
+
}
|
|
569
|
+
const statusCode = response.status;
|
|
570
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
571
|
+
throw new CommonMessageException(await response.json());
|
|
572
|
+
}
|
|
573
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Returns a paginated list of agents
|
|
577
|
+
*
|
|
578
|
+
* @returns {Promise<BackendAgentCollection>}
|
|
579
|
+
* @throws {CommonMessageException}
|
|
580
|
+
* @throws {ClientException}
|
|
581
|
+
*/
|
|
582
|
+
async getAll(startIndex, count, search) {
|
|
583
|
+
const url = this.parser.url("/backend/agent", {});
|
|
584
|
+
let request = {
|
|
585
|
+
url,
|
|
586
|
+
method: "GET",
|
|
587
|
+
headers: {},
|
|
588
|
+
params: this.parser.query({
|
|
589
|
+
"startIndex": startIndex,
|
|
590
|
+
"count": count,
|
|
591
|
+
"search": search
|
|
592
|
+
}, [])
|
|
593
|
+
};
|
|
594
|
+
const response = await this.httpClient.request(request);
|
|
595
|
+
if (response.ok) {
|
|
596
|
+
return await response.json();
|
|
597
|
+
}
|
|
598
|
+
const statusCode = response.status;
|
|
599
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
600
|
+
throw new CommonMessageException(await response.json());
|
|
601
|
+
}
|
|
602
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Returns available tools for an agent
|
|
606
|
+
*
|
|
607
|
+
* @returns {Promise<BackendAgentTools>}
|
|
608
|
+
* @throws {CommonMessageException}
|
|
609
|
+
* @throws {ClientException}
|
|
610
|
+
*/
|
|
611
|
+
async getTools() {
|
|
612
|
+
const url = this.parser.url("/backend/agent/tools", {});
|
|
613
|
+
let request = {
|
|
614
|
+
url,
|
|
615
|
+
method: "GET",
|
|
616
|
+
headers: {},
|
|
617
|
+
params: this.parser.query({}, [])
|
|
618
|
+
};
|
|
619
|
+
const response = await this.httpClient.request(request);
|
|
620
|
+
if (response.ok) {
|
|
621
|
+
return await response.json();
|
|
622
|
+
}
|
|
623
|
+
const statusCode = response.status;
|
|
624
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
625
|
+
throw new CommonMessageException(await response.json());
|
|
626
|
+
}
|
|
627
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* Updates an existing agent
|
|
631
|
+
*
|
|
632
|
+
* @returns {Promise<CommonMessage>}
|
|
633
|
+
* @throws {CommonMessageException}
|
|
634
|
+
* @throws {ClientException}
|
|
635
|
+
*/
|
|
636
|
+
async update(agentId, payload) {
|
|
637
|
+
const url = this.parser.url("/backend/agent/$agent_id<[0-9]+|^~>", {
|
|
638
|
+
"agent_id": agentId
|
|
639
|
+
});
|
|
640
|
+
let request = {
|
|
641
|
+
url,
|
|
642
|
+
method: "PUT",
|
|
643
|
+
headers: {
|
|
644
|
+
"Content-Type": "application/json"
|
|
645
|
+
},
|
|
646
|
+
params: this.parser.query({}, []),
|
|
647
|
+
data: payload
|
|
648
|
+
};
|
|
649
|
+
const response = await this.httpClient.request(request);
|
|
650
|
+
if (response.ok) {
|
|
651
|
+
return await response.json();
|
|
652
|
+
}
|
|
653
|
+
const statusCode = response.status;
|
|
654
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
655
|
+
throw new CommonMessageException(await response.json());
|
|
656
|
+
}
|
|
657
|
+
throw new UnknownStatusCodeException5("The server returned an unknown status code: " + statusCode);
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
// src/BackendAppTag.ts
|
|
662
|
+
import { TagAbstract as TagAbstract6 } from "sdkgen-client";
|
|
663
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException6 } from "sdkgen-client";
|
|
664
|
+
var BackendAppTag = class extends TagAbstract6 {
|
|
391
665
|
/**
|
|
392
666
|
* Creates a new app
|
|
393
667
|
*
|
|
@@ -414,7 +688,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
414
688
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
415
689
|
throw new CommonMessageException(await response.json());
|
|
416
690
|
}
|
|
417
|
-
throw new
|
|
691
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
418
692
|
}
|
|
419
693
|
/**
|
|
420
694
|
* Deletes an existing app
|
|
@@ -441,7 +715,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
441
715
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
442
716
|
throw new CommonMessageException(await response.json());
|
|
443
717
|
}
|
|
444
|
-
throw new
|
|
718
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
445
719
|
}
|
|
446
720
|
/**
|
|
447
721
|
* Deletes an existing token from an app
|
|
@@ -469,7 +743,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
469
743
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
470
744
|
throw new CommonMessageException(await response.json());
|
|
471
745
|
}
|
|
472
|
-
throw new
|
|
746
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
473
747
|
}
|
|
474
748
|
/**
|
|
475
749
|
* Returns a specific app
|
|
@@ -496,7 +770,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
496
770
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
497
771
|
throw new CommonMessageException(await response.json());
|
|
498
772
|
}
|
|
499
|
-
throw new
|
|
773
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
500
774
|
}
|
|
501
775
|
/**
|
|
502
776
|
* Returns a paginated list of apps
|
|
@@ -525,7 +799,7 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
525
799
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
526
800
|
throw new CommonMessageException(await response.json());
|
|
527
801
|
}
|
|
528
|
-
throw new
|
|
802
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
529
803
|
}
|
|
530
804
|
/**
|
|
531
805
|
* Updates an existing app
|
|
@@ -555,14 +829,14 @@ var BackendAppTag = class extends TagAbstract4 {
|
|
|
555
829
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
556
830
|
throw new CommonMessageException(await response.json());
|
|
557
831
|
}
|
|
558
|
-
throw new
|
|
832
|
+
throw new UnknownStatusCodeException6("The server returned an unknown status code: " + statusCode);
|
|
559
833
|
}
|
|
560
834
|
};
|
|
561
835
|
|
|
562
836
|
// src/BackendAuditTag.ts
|
|
563
|
-
import { TagAbstract as
|
|
564
|
-
import { UnknownStatusCodeException as
|
|
565
|
-
var BackendAuditTag = class extends
|
|
837
|
+
import { TagAbstract as TagAbstract7 } from "sdkgen-client";
|
|
838
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException7 } from "sdkgen-client";
|
|
839
|
+
var BackendAuditTag = class extends TagAbstract7 {
|
|
566
840
|
/**
|
|
567
841
|
* Returns a specific audit
|
|
568
842
|
*
|
|
@@ -588,7 +862,7 @@ var BackendAuditTag = class extends TagAbstract5 {
|
|
|
588
862
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
589
863
|
throw new CommonMessageException(await response.json());
|
|
590
864
|
}
|
|
591
|
-
throw new
|
|
865
|
+
throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
|
|
592
866
|
}
|
|
593
867
|
/**
|
|
594
868
|
* Returns a paginated list of audits
|
|
@@ -624,14 +898,14 @@ var BackendAuditTag = class extends TagAbstract5 {
|
|
|
624
898
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
625
899
|
throw new CommonMessageException(await response.json());
|
|
626
900
|
}
|
|
627
|
-
throw new
|
|
901
|
+
throw new UnknownStatusCodeException7("The server returned an unknown status code: " + statusCode);
|
|
628
902
|
}
|
|
629
903
|
};
|
|
630
904
|
|
|
631
905
|
// src/BackendBackupTag.ts
|
|
632
|
-
import { TagAbstract as
|
|
633
|
-
import { UnknownStatusCodeException as
|
|
634
|
-
var BackendBackupTag = class extends
|
|
906
|
+
import { TagAbstract as TagAbstract8 } from "sdkgen-client";
|
|
907
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException8 } from "sdkgen-client";
|
|
908
|
+
var BackendBackupTag = class extends TagAbstract8 {
|
|
635
909
|
/**
|
|
636
910
|
* Generates an backup of the current system
|
|
637
911
|
*
|
|
@@ -655,7 +929,7 @@ var BackendBackupTag = class extends TagAbstract6 {
|
|
|
655
929
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
656
930
|
throw new CommonMessageException(await response.json());
|
|
657
931
|
}
|
|
658
|
-
throw new
|
|
932
|
+
throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
|
|
659
933
|
}
|
|
660
934
|
/**
|
|
661
935
|
* Imports an backup to the current system
|
|
@@ -683,14 +957,14 @@ var BackendBackupTag = class extends TagAbstract6 {
|
|
|
683
957
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
684
958
|
throw new CommonMessageException(await response.json());
|
|
685
959
|
}
|
|
686
|
-
throw new
|
|
960
|
+
throw new UnknownStatusCodeException8("The server returned an unknown status code: " + statusCode);
|
|
687
961
|
}
|
|
688
962
|
};
|
|
689
963
|
|
|
690
964
|
// src/BackendBundleTag.ts
|
|
691
|
-
import { TagAbstract as
|
|
692
|
-
import { UnknownStatusCodeException as
|
|
693
|
-
var BackendBundleTag = class extends
|
|
965
|
+
import { TagAbstract as TagAbstract9 } from "sdkgen-client";
|
|
966
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException9 } from "sdkgen-client";
|
|
967
|
+
var BackendBundleTag = class extends TagAbstract9 {
|
|
694
968
|
/**
|
|
695
969
|
* Creates a new bundle
|
|
696
970
|
*
|
|
@@ -717,7 +991,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
717
991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
718
992
|
throw new CommonMessageException(await response.json());
|
|
719
993
|
}
|
|
720
|
-
throw new
|
|
994
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
721
995
|
}
|
|
722
996
|
/**
|
|
723
997
|
* Deletes an existing bundle
|
|
@@ -744,7 +1018,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
744
1018
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
745
1019
|
throw new CommonMessageException(await response.json());
|
|
746
1020
|
}
|
|
747
|
-
throw new
|
|
1021
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
748
1022
|
}
|
|
749
1023
|
/**
|
|
750
1024
|
* Returns a specific bundle
|
|
@@ -771,7 +1045,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
771
1045
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
772
1046
|
throw new CommonMessageException(await response.json());
|
|
773
1047
|
}
|
|
774
|
-
throw new
|
|
1048
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
775
1049
|
}
|
|
776
1050
|
/**
|
|
777
1051
|
* Returns a paginated list of bundles
|
|
@@ -800,7 +1074,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
800
1074
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
801
1075
|
throw new CommonMessageException(await response.json());
|
|
802
1076
|
}
|
|
803
|
-
throw new
|
|
1077
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
804
1078
|
}
|
|
805
1079
|
/**
|
|
806
1080
|
* Publish an existing bundle to the marketplace
|
|
@@ -827,7 +1101,7 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
827
1101
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
828
1102
|
throw new CommonMessageException(await response.json());
|
|
829
1103
|
}
|
|
830
|
-
throw new
|
|
1104
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
831
1105
|
}
|
|
832
1106
|
/**
|
|
833
1107
|
* Updates an existing bundle
|
|
@@ -857,14 +1131,14 @@ var BackendBundleTag = class extends TagAbstract7 {
|
|
|
857
1131
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
858
1132
|
throw new CommonMessageException(await response.json());
|
|
859
1133
|
}
|
|
860
|
-
throw new
|
|
1134
|
+
throw new UnknownStatusCodeException9("The server returned an unknown status code: " + statusCode);
|
|
861
1135
|
}
|
|
862
1136
|
};
|
|
863
1137
|
|
|
864
1138
|
// src/BackendCategoryTag.ts
|
|
865
|
-
import { TagAbstract as
|
|
866
|
-
import { UnknownStatusCodeException as
|
|
867
|
-
var BackendCategoryTag = class extends
|
|
1139
|
+
import { TagAbstract as TagAbstract10 } from "sdkgen-client";
|
|
1140
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException10 } from "sdkgen-client";
|
|
1141
|
+
var BackendCategoryTag = class extends TagAbstract10 {
|
|
868
1142
|
/**
|
|
869
1143
|
* Creates a new category
|
|
870
1144
|
*
|
|
@@ -891,7 +1165,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
891
1165
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
892
1166
|
throw new CommonMessageException(await response.json());
|
|
893
1167
|
}
|
|
894
|
-
throw new
|
|
1168
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
895
1169
|
}
|
|
896
1170
|
/**
|
|
897
1171
|
* Deletes an existing category
|
|
@@ -918,7 +1192,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
918
1192
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
919
1193
|
throw new CommonMessageException(await response.json());
|
|
920
1194
|
}
|
|
921
|
-
throw new
|
|
1195
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
922
1196
|
}
|
|
923
1197
|
/**
|
|
924
1198
|
* Returns a specific category
|
|
@@ -945,7 +1219,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
945
1219
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
946
1220
|
throw new CommonMessageException(await response.json());
|
|
947
1221
|
}
|
|
948
|
-
throw new
|
|
1222
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
949
1223
|
}
|
|
950
1224
|
/**
|
|
951
1225
|
* Returns a paginated list of categories
|
|
@@ -974,7 +1248,7 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
974
1248
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
975
1249
|
throw new CommonMessageException(await response.json());
|
|
976
1250
|
}
|
|
977
|
-
throw new
|
|
1251
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
978
1252
|
}
|
|
979
1253
|
/**
|
|
980
1254
|
* Updates an existing category
|
|
@@ -1004,14 +1278,14 @@ var BackendCategoryTag = class extends TagAbstract8 {
|
|
|
1004
1278
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1005
1279
|
throw new CommonMessageException(await response.json());
|
|
1006
1280
|
}
|
|
1007
|
-
throw new
|
|
1281
|
+
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
1008
1282
|
}
|
|
1009
1283
|
};
|
|
1010
1284
|
|
|
1011
1285
|
// src/BackendConfigTag.ts
|
|
1012
|
-
import { TagAbstract as
|
|
1013
|
-
import { UnknownStatusCodeException as
|
|
1014
|
-
var BackendConfigTag = class extends
|
|
1286
|
+
import { TagAbstract as TagAbstract11 } from "sdkgen-client";
|
|
1287
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException11 } from "sdkgen-client";
|
|
1288
|
+
var BackendConfigTag = class extends TagAbstract11 {
|
|
1015
1289
|
/**
|
|
1016
1290
|
* Returns a specific config
|
|
1017
1291
|
*
|
|
@@ -1037,7 +1311,7 @@ var BackendConfigTag = class extends TagAbstract9 {
|
|
|
1037
1311
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1038
1312
|
throw new CommonMessageException(await response.json());
|
|
1039
1313
|
}
|
|
1040
|
-
throw new
|
|
1314
|
+
throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
|
|
1041
1315
|
}
|
|
1042
1316
|
/**
|
|
1043
1317
|
* Returns a paginated list of configuration values
|
|
@@ -1066,7 +1340,7 @@ var BackendConfigTag = class extends TagAbstract9 {
|
|
|
1066
1340
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1067
1341
|
throw new CommonMessageException(await response.json());
|
|
1068
1342
|
}
|
|
1069
|
-
throw new
|
|
1343
|
+
throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
|
|
1070
1344
|
}
|
|
1071
1345
|
/**
|
|
1072
1346
|
* Updates an existing config value
|
|
@@ -1096,74 +1370,18 @@ var BackendConfigTag = class extends TagAbstract9 {
|
|
|
1096
1370
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1097
1371
|
throw new CommonMessageException(await response.json());
|
|
1098
1372
|
}
|
|
1099
|
-
throw new
|
|
1373
|
+
throw new UnknownStatusCodeException11("The server returned an unknown status code: " + statusCode);
|
|
1100
1374
|
}
|
|
1101
1375
|
};
|
|
1102
1376
|
|
|
1103
1377
|
// src/BackendConnectionAgentTag.ts
|
|
1104
|
-
import { TagAbstract as
|
|
1105
|
-
import { UnknownStatusCodeException as
|
|
1106
|
-
var BackendConnectionAgentTag = class extends
|
|
1107
|
-
/**
|
|
1108
|
-
* Returns all previous sent messages
|
|
1109
|
-
*
|
|
1110
|
-
* @returns {Promise<BackendAgentCollection>}
|
|
1111
|
-
* @throws {CommonMessageException}
|
|
1112
|
-
* @throws {ClientException}
|
|
1113
|
-
*/
|
|
1114
|
-
async get(connectionId, intent) {
|
|
1115
|
-
const url = this.parser.url("/backend/connection/:connection_id/agent", {
|
|
1116
|
-
"connection_id": connectionId
|
|
1117
|
-
});
|
|
1118
|
-
let request = {
|
|
1119
|
-
url,
|
|
1120
|
-
method: "GET",
|
|
1121
|
-
headers: {},
|
|
1122
|
-
params: this.parser.query({
|
|
1123
|
-
"intent": intent
|
|
1124
|
-
}, [])
|
|
1125
|
-
};
|
|
1126
|
-
const response = await this.httpClient.request(request);
|
|
1127
|
-
if (response.ok) {
|
|
1128
|
-
return await response.json();
|
|
1129
|
-
}
|
|
1130
|
-
const statusCode = response.status;
|
|
1131
|
-
if (statusCode >= 0 && statusCode <= 999) {
|
|
1132
|
-
throw new CommonMessageException(await response.json());
|
|
1133
|
-
}
|
|
1134
|
-
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
1135
|
-
}
|
|
1136
|
-
/**
|
|
1137
|
-
* Resets all agent messages
|
|
1138
|
-
*
|
|
1139
|
-
* @returns {Promise<CommonMessage>}
|
|
1140
|
-
* @throws {CommonMessageException}
|
|
1141
|
-
* @throws {ClientException}
|
|
1142
|
-
*/
|
|
1143
|
-
async reset(connectionId) {
|
|
1144
|
-
const url = this.parser.url("/backend/connection/:connection_id/agent", {
|
|
1145
|
-
"connection_id": connectionId
|
|
1146
|
-
});
|
|
1147
|
-
let request = {
|
|
1148
|
-
url,
|
|
1149
|
-
method: "DELETE",
|
|
1150
|
-
headers: {},
|
|
1151
|
-
params: this.parser.query({}, [])
|
|
1152
|
-
};
|
|
1153
|
-
const response = await this.httpClient.request(request);
|
|
1154
|
-
if (response.ok) {
|
|
1155
|
-
return await response.json();
|
|
1156
|
-
}
|
|
1157
|
-
const statusCode = response.status;
|
|
1158
|
-
if (statusCode >= 0 && statusCode <= 999) {
|
|
1159
|
-
throw new CommonMessageException(await response.json());
|
|
1160
|
-
}
|
|
1161
|
-
throw new UnknownStatusCodeException10("The server returned an unknown status code: " + statusCode);
|
|
1162
|
-
}
|
|
1378
|
+
import { TagAbstract as TagAbstract12 } from "sdkgen-client";
|
|
1379
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException12 } from "sdkgen-client";
|
|
1380
|
+
var BackendConnectionAgentTag = class extends TagAbstract12 {
|
|
1163
1381
|
/**
|
|
1164
1382
|
* Sends a message to an agent
|
|
1165
1383
|
*
|
|
1166
|
-
* @returns {Promise<
|
|
1384
|
+
* @returns {Promise<BackendAgentContent>}
|
|
1167
1385
|
* @throws {CommonMessageException}
|
|
1168
1386
|
* @throws {ClientException}
|
|
1169
1387
|
*/
|
|
@@ -1188,14 +1406,14 @@ var BackendConnectionAgentTag = class extends TagAbstract10 {
|
|
|
1188
1406
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1189
1407
|
throw new CommonMessageException(await response.json());
|
|
1190
1408
|
}
|
|
1191
|
-
throw new
|
|
1409
|
+
throw new UnknownStatusCodeException12("The server returned an unknown status code: " + statusCode);
|
|
1192
1410
|
}
|
|
1193
1411
|
};
|
|
1194
1412
|
|
|
1195
1413
|
// src/BackendConnectionDatabaseTag.ts
|
|
1196
|
-
import { TagAbstract as
|
|
1197
|
-
import { UnknownStatusCodeException as
|
|
1198
|
-
var BackendConnectionDatabaseTag = class extends
|
|
1414
|
+
import { TagAbstract as TagAbstract13 } from "sdkgen-client";
|
|
1415
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException13 } from "sdkgen-client";
|
|
1416
|
+
var BackendConnectionDatabaseTag = class extends TagAbstract13 {
|
|
1199
1417
|
/**
|
|
1200
1418
|
* Creates a new row at a table on a database
|
|
1201
1419
|
*
|
|
@@ -1225,7 +1443,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1225
1443
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1226
1444
|
throw new CommonMessageException(await response.json());
|
|
1227
1445
|
}
|
|
1228
|
-
throw new
|
|
1446
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1229
1447
|
}
|
|
1230
1448
|
/**
|
|
1231
1449
|
* Creates a new table on a database
|
|
@@ -1255,7 +1473,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1255
1473
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1256
1474
|
throw new CommonMessageException(await response.json());
|
|
1257
1475
|
}
|
|
1258
|
-
throw new
|
|
1476
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1259
1477
|
}
|
|
1260
1478
|
/**
|
|
1261
1479
|
* Deletes an existing row at a table on a database
|
|
@@ -1284,7 +1502,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1284
1502
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1285
1503
|
throw new CommonMessageException(await response.json());
|
|
1286
1504
|
}
|
|
1287
|
-
throw new
|
|
1505
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1288
1506
|
}
|
|
1289
1507
|
/**
|
|
1290
1508
|
* Deletes an existing table on a database
|
|
@@ -1312,7 +1530,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1312
1530
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1313
1531
|
throw new CommonMessageException(await response.json());
|
|
1314
1532
|
}
|
|
1315
|
-
throw new
|
|
1533
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1316
1534
|
}
|
|
1317
1535
|
/**
|
|
1318
1536
|
* Returns a specific row at a table on a database
|
|
@@ -1341,7 +1559,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1341
1559
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1342
1560
|
throw new CommonMessageException(await response.json());
|
|
1343
1561
|
}
|
|
1344
|
-
throw new
|
|
1562
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1345
1563
|
}
|
|
1346
1564
|
/**
|
|
1347
1565
|
* Returns paginated rows at a table on a database
|
|
@@ -1378,7 +1596,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1378
1596
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1379
1597
|
throw new CommonMessageException(await response.json());
|
|
1380
1598
|
}
|
|
1381
|
-
throw new
|
|
1599
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1382
1600
|
}
|
|
1383
1601
|
/**
|
|
1384
1602
|
* Returns the schema of a specific table on a database
|
|
@@ -1406,7 +1624,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1406
1624
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1407
1625
|
throw new CommonMessageException(await response.json());
|
|
1408
1626
|
}
|
|
1409
|
-
throw new
|
|
1627
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1410
1628
|
}
|
|
1411
1629
|
/**
|
|
1412
1630
|
* Returns all available tables on a database
|
|
@@ -1436,7 +1654,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1436
1654
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1437
1655
|
throw new CommonMessageException(await response.json());
|
|
1438
1656
|
}
|
|
1439
|
-
throw new
|
|
1657
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1440
1658
|
}
|
|
1441
1659
|
/**
|
|
1442
1660
|
* Updates an existing row at a table on a database
|
|
@@ -1468,7 +1686,7 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1468
1686
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1469
1687
|
throw new CommonMessageException(await response.json());
|
|
1470
1688
|
}
|
|
1471
|
-
throw new
|
|
1689
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1472
1690
|
}
|
|
1473
1691
|
/**
|
|
1474
1692
|
* Updates an existing table on a database
|
|
@@ -1499,14 +1717,14 @@ var BackendConnectionDatabaseTag = class extends TagAbstract11 {
|
|
|
1499
1717
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1500
1718
|
throw new CommonMessageException(await response.json());
|
|
1501
1719
|
}
|
|
1502
|
-
throw new
|
|
1720
|
+
throw new UnknownStatusCodeException13("The server returned an unknown status code: " + statusCode);
|
|
1503
1721
|
}
|
|
1504
1722
|
};
|
|
1505
1723
|
|
|
1506
1724
|
// src/BackendConnectionFilesystemTag.ts
|
|
1507
|
-
import { TagAbstract as
|
|
1508
|
-
import { UnknownStatusCodeException as
|
|
1509
|
-
var BackendConnectionFilesystemTag = class extends
|
|
1725
|
+
import { TagAbstract as TagAbstract14 } from "sdkgen-client";
|
|
1726
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException14 } from "sdkgen-client";
|
|
1727
|
+
var BackendConnectionFilesystemTag = class extends TagAbstract14 {
|
|
1510
1728
|
/**
|
|
1511
1729
|
* Uploads one or more files on the filesystem connection
|
|
1512
1730
|
*
|
|
@@ -1533,7 +1751,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract12 {
|
|
|
1533
1751
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1534
1752
|
throw new CommonMessageException(await response.json());
|
|
1535
1753
|
}
|
|
1536
|
-
throw new
|
|
1754
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1537
1755
|
}
|
|
1538
1756
|
/**
|
|
1539
1757
|
* Deletes an existing file on the filesystem connection
|
|
@@ -1561,7 +1779,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract12 {
|
|
|
1561
1779
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1562
1780
|
throw new CommonMessageException(await response.json());
|
|
1563
1781
|
}
|
|
1564
|
-
throw new
|
|
1782
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1565
1783
|
}
|
|
1566
1784
|
/**
|
|
1567
1785
|
* Returns the content of the provided file id on the filesystem connection
|
|
@@ -1591,7 +1809,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract12 {
|
|
|
1591
1809
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1592
1810
|
throw new CommonMessageException(await response.json());
|
|
1593
1811
|
}
|
|
1594
|
-
throw new
|
|
1812
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1595
1813
|
}
|
|
1596
1814
|
/**
|
|
1597
1815
|
* Returns all available files on the filesystem connection
|
|
@@ -1621,7 +1839,7 @@ var BackendConnectionFilesystemTag = class extends TagAbstract12 {
|
|
|
1621
1839
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1622
1840
|
throw new CommonMessageException(await response.json());
|
|
1623
1841
|
}
|
|
1624
|
-
throw new
|
|
1842
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1625
1843
|
}
|
|
1626
1844
|
/**
|
|
1627
1845
|
* Updates an existing file on the filesystem connection
|
|
@@ -1650,14 +1868,14 @@ var BackendConnectionFilesystemTag = class extends TagAbstract12 {
|
|
|
1650
1868
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1651
1869
|
throw new CommonMessageException(await response.json());
|
|
1652
1870
|
}
|
|
1653
|
-
throw new
|
|
1871
|
+
throw new UnknownStatusCodeException14("The server returned an unknown status code: " + statusCode);
|
|
1654
1872
|
}
|
|
1655
1873
|
};
|
|
1656
1874
|
|
|
1657
1875
|
// src/BackendConnectionHttpTag.ts
|
|
1658
|
-
import { TagAbstract as
|
|
1659
|
-
import { UnknownStatusCodeException as
|
|
1660
|
-
var BackendConnectionHttpTag = class extends
|
|
1876
|
+
import { TagAbstract as TagAbstract15 } from "sdkgen-client";
|
|
1877
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException15 } from "sdkgen-client";
|
|
1878
|
+
var BackendConnectionHttpTag = class extends TagAbstract15 {
|
|
1661
1879
|
/**
|
|
1662
1880
|
* Sends an arbitrary HTTP request to the connection
|
|
1663
1881
|
*
|
|
@@ -1686,14 +1904,14 @@ var BackendConnectionHttpTag = class extends TagAbstract13 {
|
|
|
1686
1904
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1687
1905
|
throw new CommonMessageException(await response.json());
|
|
1688
1906
|
}
|
|
1689
|
-
throw new
|
|
1907
|
+
throw new UnknownStatusCodeException15("The server returned an unknown status code: " + statusCode);
|
|
1690
1908
|
}
|
|
1691
1909
|
};
|
|
1692
1910
|
|
|
1693
1911
|
// src/BackendConnectionSdkTag.ts
|
|
1694
|
-
import { TagAbstract as
|
|
1695
|
-
import { UnknownStatusCodeException as
|
|
1696
|
-
var BackendConnectionSdkTag = class extends
|
|
1912
|
+
import { TagAbstract as TagAbstract16 } from "sdkgen-client";
|
|
1913
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException16 } from "sdkgen-client";
|
|
1914
|
+
var BackendConnectionSdkTag = class extends TagAbstract16 {
|
|
1697
1915
|
/**
|
|
1698
1916
|
* Returns the SDK specification
|
|
1699
1917
|
*
|
|
@@ -1719,14 +1937,14 @@ var BackendConnectionSdkTag = class extends TagAbstract14 {
|
|
|
1719
1937
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1720
1938
|
throw new CommonMessageException(await response.json());
|
|
1721
1939
|
}
|
|
1722
|
-
throw new
|
|
1940
|
+
throw new UnknownStatusCodeException16("The server returned an unknown status code: " + statusCode);
|
|
1723
1941
|
}
|
|
1724
1942
|
};
|
|
1725
1943
|
|
|
1726
1944
|
// src/BackendConnectionTag.ts
|
|
1727
|
-
import { TagAbstract as
|
|
1728
|
-
import { UnknownStatusCodeException as
|
|
1729
|
-
var BackendConnectionTag = class extends
|
|
1945
|
+
import { TagAbstract as TagAbstract17 } from "sdkgen-client";
|
|
1946
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException17 } from "sdkgen-client";
|
|
1947
|
+
var BackendConnectionTag = class extends TagAbstract17 {
|
|
1730
1948
|
agent() {
|
|
1731
1949
|
return new BackendConnectionAgentTag(
|
|
1732
1950
|
this.httpClient,
|
|
@@ -1783,7 +2001,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1783
2001
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1784
2002
|
throw new CommonMessageException(await response.json());
|
|
1785
2003
|
}
|
|
1786
|
-
throw new
|
|
2004
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1787
2005
|
}
|
|
1788
2006
|
/**
|
|
1789
2007
|
* Deletes an existing connection
|
|
@@ -1810,7 +2028,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1810
2028
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1811
2029
|
throw new CommonMessageException(await response.json());
|
|
1812
2030
|
}
|
|
1813
|
-
throw new
|
|
2031
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1814
2032
|
}
|
|
1815
2033
|
/**
|
|
1816
2034
|
* Returns a specific connection
|
|
@@ -1837,7 +2055,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1837
2055
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1838
2056
|
throw new CommonMessageException(await response.json());
|
|
1839
2057
|
}
|
|
1840
|
-
throw new
|
|
2058
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1841
2059
|
}
|
|
1842
2060
|
/**
|
|
1843
2061
|
* Returns a paginated list of connections
|
|
@@ -1867,7 +2085,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1867
2085
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1868
2086
|
throw new CommonMessageException(await response.json());
|
|
1869
2087
|
}
|
|
1870
|
-
throw new
|
|
2088
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1871
2089
|
}
|
|
1872
2090
|
/**
|
|
1873
2091
|
* Returns all available connection classes
|
|
@@ -1892,7 +2110,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1892
2110
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1893
2111
|
throw new CommonMessageException(await response.json());
|
|
1894
2112
|
}
|
|
1895
|
-
throw new
|
|
2113
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1896
2114
|
}
|
|
1897
2115
|
/**
|
|
1898
2116
|
* Returns the connection config form
|
|
@@ -1919,7 +2137,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1919
2137
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1920
2138
|
throw new CommonMessageException(await response.json());
|
|
1921
2139
|
}
|
|
1922
|
-
throw new
|
|
2140
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1923
2141
|
}
|
|
1924
2142
|
/**
|
|
1925
2143
|
* Returns a redirect url to start the OAuth2 authorization flow for the given connection
|
|
@@ -1946,7 +2164,7 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1946
2164
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1947
2165
|
throw new CommonMessageException(await response.json());
|
|
1948
2166
|
}
|
|
1949
|
-
throw new
|
|
2167
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1950
2168
|
}
|
|
1951
2169
|
/**
|
|
1952
2170
|
* Updates an existing connection
|
|
@@ -1976,14 +2194,14 @@ var BackendConnectionTag = class extends TagAbstract15 {
|
|
|
1976
2194
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
1977
2195
|
throw new CommonMessageException(await response.json());
|
|
1978
2196
|
}
|
|
1979
|
-
throw new
|
|
2197
|
+
throw new UnknownStatusCodeException17("The server returned an unknown status code: " + statusCode);
|
|
1980
2198
|
}
|
|
1981
2199
|
};
|
|
1982
2200
|
|
|
1983
2201
|
// src/BackendCronjobTag.ts
|
|
1984
|
-
import { TagAbstract as
|
|
1985
|
-
import { UnknownStatusCodeException as
|
|
1986
|
-
var BackendCronjobTag = class extends
|
|
2202
|
+
import { TagAbstract as TagAbstract18 } from "sdkgen-client";
|
|
2203
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException18 } from "sdkgen-client";
|
|
2204
|
+
var BackendCronjobTag = class extends TagAbstract18 {
|
|
1987
2205
|
/**
|
|
1988
2206
|
* Creates a new cronjob
|
|
1989
2207
|
*
|
|
@@ -2010,7 +2228,7 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2010
2228
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2011
2229
|
throw new CommonMessageException(await response.json());
|
|
2012
2230
|
}
|
|
2013
|
-
throw new
|
|
2231
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
2014
2232
|
}
|
|
2015
2233
|
/**
|
|
2016
2234
|
* Deletes an existing cronjob
|
|
@@ -2037,7 +2255,7 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2037
2255
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2038
2256
|
throw new CommonMessageException(await response.json());
|
|
2039
2257
|
}
|
|
2040
|
-
throw new
|
|
2258
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
2041
2259
|
}
|
|
2042
2260
|
/**
|
|
2043
2261
|
* Returns a specific cronjob
|
|
@@ -2064,7 +2282,7 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2064
2282
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2065
2283
|
throw new CommonMessageException(await response.json());
|
|
2066
2284
|
}
|
|
2067
|
-
throw new
|
|
2285
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
2068
2286
|
}
|
|
2069
2287
|
/**
|
|
2070
2288
|
* Returns a paginated list of cronjobs
|
|
@@ -2073,7 +2291,7 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2073
2291
|
* @throws {CommonMessageException}
|
|
2074
2292
|
* @throws {ClientException}
|
|
2075
2293
|
*/
|
|
2076
|
-
async getAll(startIndex, count, search) {
|
|
2294
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2077
2295
|
const url = this.parser.url("/backend/cronjob", {});
|
|
2078
2296
|
let request = {
|
|
2079
2297
|
url,
|
|
@@ -2082,7 +2300,8 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2082
2300
|
params: this.parser.query({
|
|
2083
2301
|
"startIndex": startIndex,
|
|
2084
2302
|
"count": count,
|
|
2085
|
-
"search": search
|
|
2303
|
+
"search": search,
|
|
2304
|
+
"taxonomy": taxonomy
|
|
2086
2305
|
}, [])
|
|
2087
2306
|
};
|
|
2088
2307
|
const response = await this.httpClient.request(request);
|
|
@@ -2093,7 +2312,7 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2093
2312
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2094
2313
|
throw new CommonMessageException(await response.json());
|
|
2095
2314
|
}
|
|
2096
|
-
throw new
|
|
2315
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
2097
2316
|
}
|
|
2098
2317
|
/**
|
|
2099
2318
|
* Updates an existing cronjob
|
|
@@ -2123,14 +2342,14 @@ var BackendCronjobTag = class extends TagAbstract16 {
|
|
|
2123
2342
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2124
2343
|
throw new CommonMessageException(await response.json());
|
|
2125
2344
|
}
|
|
2126
|
-
throw new
|
|
2345
|
+
throw new UnknownStatusCodeException18("The server returned an unknown status code: " + statusCode);
|
|
2127
2346
|
}
|
|
2128
2347
|
};
|
|
2129
2348
|
|
|
2130
2349
|
// src/BackendDashboardTag.ts
|
|
2131
|
-
import { TagAbstract as
|
|
2132
|
-
import { UnknownStatusCodeException as
|
|
2133
|
-
var BackendDashboardTag = class extends
|
|
2350
|
+
import { TagAbstract as TagAbstract19 } from "sdkgen-client";
|
|
2351
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException19 } from "sdkgen-client";
|
|
2352
|
+
var BackendDashboardTag = class extends TagAbstract19 {
|
|
2134
2353
|
/**
|
|
2135
2354
|
* Returns all available dashboard widgets
|
|
2136
2355
|
*
|
|
@@ -2154,14 +2373,14 @@ var BackendDashboardTag = class extends TagAbstract17 {
|
|
|
2154
2373
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2155
2374
|
throw new CommonMessageException(await response.json());
|
|
2156
2375
|
}
|
|
2157
|
-
throw new
|
|
2376
|
+
throw new UnknownStatusCodeException19("The server returned an unknown status code: " + statusCode);
|
|
2158
2377
|
}
|
|
2159
2378
|
};
|
|
2160
2379
|
|
|
2161
2380
|
// src/BackendEventTag.ts
|
|
2162
|
-
import { TagAbstract as
|
|
2163
|
-
import { UnknownStatusCodeException as
|
|
2164
|
-
var BackendEventTag = class extends
|
|
2381
|
+
import { TagAbstract as TagAbstract20 } from "sdkgen-client";
|
|
2382
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException20 } from "sdkgen-client";
|
|
2383
|
+
var BackendEventTag = class extends TagAbstract20 {
|
|
2165
2384
|
/**
|
|
2166
2385
|
* Creates a new event
|
|
2167
2386
|
*
|
|
@@ -2188,7 +2407,7 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2188
2407
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2189
2408
|
throw new CommonMessageException(await response.json());
|
|
2190
2409
|
}
|
|
2191
|
-
throw new
|
|
2410
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2192
2411
|
}
|
|
2193
2412
|
/**
|
|
2194
2413
|
* Deletes an existing event
|
|
@@ -2215,7 +2434,7 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2215
2434
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2216
2435
|
throw new CommonMessageException(await response.json());
|
|
2217
2436
|
}
|
|
2218
|
-
throw new
|
|
2437
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2219
2438
|
}
|
|
2220
2439
|
/**
|
|
2221
2440
|
* Returns a specific event
|
|
@@ -2242,7 +2461,7 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2242
2461
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2243
2462
|
throw new CommonMessageException(await response.json());
|
|
2244
2463
|
}
|
|
2245
|
-
throw new
|
|
2464
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2246
2465
|
}
|
|
2247
2466
|
/**
|
|
2248
2467
|
* Returns a paginated list of events
|
|
@@ -2251,7 +2470,7 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2251
2470
|
* @throws {CommonMessageException}
|
|
2252
2471
|
* @throws {ClientException}
|
|
2253
2472
|
*/
|
|
2254
|
-
async getAll(startIndex, count, search) {
|
|
2473
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
2255
2474
|
const url = this.parser.url("/backend/event", {});
|
|
2256
2475
|
let request = {
|
|
2257
2476
|
url,
|
|
@@ -2260,7 +2479,8 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2260
2479
|
params: this.parser.query({
|
|
2261
2480
|
"startIndex": startIndex,
|
|
2262
2481
|
"count": count,
|
|
2263
|
-
"search": search
|
|
2482
|
+
"search": search,
|
|
2483
|
+
"taxonomy": taxonomy
|
|
2264
2484
|
}, [])
|
|
2265
2485
|
};
|
|
2266
2486
|
const response = await this.httpClient.request(request);
|
|
@@ -2271,7 +2491,7 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2271
2491
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2272
2492
|
throw new CommonMessageException(await response.json());
|
|
2273
2493
|
}
|
|
2274
|
-
throw new
|
|
2494
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2275
2495
|
}
|
|
2276
2496
|
/**
|
|
2277
2497
|
* Updates an existing event
|
|
@@ -2301,14 +2521,14 @@ var BackendEventTag = class extends TagAbstract18 {
|
|
|
2301
2521
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2302
2522
|
throw new CommonMessageException(await response.json());
|
|
2303
2523
|
}
|
|
2304
|
-
throw new
|
|
2524
|
+
throw new UnknownStatusCodeException20("The server returned an unknown status code: " + statusCode);
|
|
2305
2525
|
}
|
|
2306
2526
|
};
|
|
2307
2527
|
|
|
2308
2528
|
// src/BackendFirewallTag.ts
|
|
2309
|
-
import { TagAbstract as
|
|
2310
|
-
import { UnknownStatusCodeException as
|
|
2311
|
-
var BackendFirewallTag = class extends
|
|
2529
|
+
import { TagAbstract as TagAbstract21 } from "sdkgen-client";
|
|
2530
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException21 } from "sdkgen-client";
|
|
2531
|
+
var BackendFirewallTag = class extends TagAbstract21 {
|
|
2312
2532
|
/**
|
|
2313
2533
|
* Creates a new firewall rule
|
|
2314
2534
|
*
|
|
@@ -2335,7 +2555,7 @@ var BackendFirewallTag = class extends TagAbstract19 {
|
|
|
2335
2555
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2336
2556
|
throw new CommonMessageException(await response.json());
|
|
2337
2557
|
}
|
|
2338
|
-
throw new
|
|
2558
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2339
2559
|
}
|
|
2340
2560
|
/**
|
|
2341
2561
|
* Deletes an existing firewall rule
|
|
@@ -2362,7 +2582,7 @@ var BackendFirewallTag = class extends TagAbstract19 {
|
|
|
2362
2582
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2363
2583
|
throw new CommonMessageException(await response.json());
|
|
2364
2584
|
}
|
|
2365
|
-
throw new
|
|
2585
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2366
2586
|
}
|
|
2367
2587
|
/**
|
|
2368
2588
|
* Returns a specific firewall rule
|
|
@@ -2389,7 +2609,7 @@ var BackendFirewallTag = class extends TagAbstract19 {
|
|
|
2389
2609
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2390
2610
|
throw new CommonMessageException(await response.json());
|
|
2391
2611
|
}
|
|
2392
|
-
throw new
|
|
2612
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2393
2613
|
}
|
|
2394
2614
|
/**
|
|
2395
2615
|
* Returns a paginated list of firewall rules
|
|
@@ -2418,7 +2638,7 @@ var BackendFirewallTag = class extends TagAbstract19 {
|
|
|
2418
2638
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2419
2639
|
throw new CommonMessageException(await response.json());
|
|
2420
2640
|
}
|
|
2421
|
-
throw new
|
|
2641
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2422
2642
|
}
|
|
2423
2643
|
/**
|
|
2424
2644
|
* Updates an existing firewall rule
|
|
@@ -2448,14 +2668,14 @@ var BackendFirewallTag = class extends TagAbstract19 {
|
|
|
2448
2668
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2449
2669
|
throw new CommonMessageException(await response.json());
|
|
2450
2670
|
}
|
|
2451
|
-
throw new
|
|
2671
|
+
throw new UnknownStatusCodeException21("The server returned an unknown status code: " + statusCode);
|
|
2452
2672
|
}
|
|
2453
2673
|
};
|
|
2454
2674
|
|
|
2455
2675
|
// src/BackendFormTag.ts
|
|
2456
|
-
import { TagAbstract as
|
|
2457
|
-
import { UnknownStatusCodeException as
|
|
2458
|
-
var BackendFormTag = class extends
|
|
2676
|
+
import { TagAbstract as TagAbstract22 } from "sdkgen-client";
|
|
2677
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException22 } from "sdkgen-client";
|
|
2678
|
+
var BackendFormTag = class extends TagAbstract22 {
|
|
2459
2679
|
/**
|
|
2460
2680
|
* Creates a new form
|
|
2461
2681
|
*
|
|
@@ -2482,7 +2702,7 @@ var BackendFormTag = class extends TagAbstract20 {
|
|
|
2482
2702
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2483
2703
|
throw new CommonMessageException(await response.json());
|
|
2484
2704
|
}
|
|
2485
|
-
throw new
|
|
2705
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2486
2706
|
}
|
|
2487
2707
|
/**
|
|
2488
2708
|
* Deletes an existing form
|
|
@@ -2509,7 +2729,7 @@ var BackendFormTag = class extends TagAbstract20 {
|
|
|
2509
2729
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2510
2730
|
throw new CommonMessageException(await response.json());
|
|
2511
2731
|
}
|
|
2512
|
-
throw new
|
|
2732
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2513
2733
|
}
|
|
2514
2734
|
/**
|
|
2515
2735
|
* Returns a specific form
|
|
@@ -2536,7 +2756,7 @@ var BackendFormTag = class extends TagAbstract20 {
|
|
|
2536
2756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2537
2757
|
throw new CommonMessageException(await response.json());
|
|
2538
2758
|
}
|
|
2539
|
-
throw new
|
|
2759
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2540
2760
|
}
|
|
2541
2761
|
/**
|
|
2542
2762
|
* Returns a paginated list of forms
|
|
@@ -2565,7 +2785,7 @@ var BackendFormTag = class extends TagAbstract20 {
|
|
|
2565
2785
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2566
2786
|
throw new CommonMessageException(await response.json());
|
|
2567
2787
|
}
|
|
2568
|
-
throw new
|
|
2788
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2569
2789
|
}
|
|
2570
2790
|
/**
|
|
2571
2791
|
* Updates an existing form
|
|
@@ -2595,14 +2815,14 @@ var BackendFormTag = class extends TagAbstract20 {
|
|
|
2595
2815
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2596
2816
|
throw new CommonMessageException(await response.json());
|
|
2597
2817
|
}
|
|
2598
|
-
throw new
|
|
2818
|
+
throw new UnknownStatusCodeException22("The server returned an unknown status code: " + statusCode);
|
|
2599
2819
|
}
|
|
2600
2820
|
};
|
|
2601
2821
|
|
|
2602
2822
|
// src/BackendGeneratorTag.ts
|
|
2603
|
-
import { TagAbstract as
|
|
2604
|
-
import { UnknownStatusCodeException as
|
|
2605
|
-
var BackendGeneratorTag = class extends
|
|
2823
|
+
import { TagAbstract as TagAbstract23 } from "sdkgen-client";
|
|
2824
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException23 } from "sdkgen-client";
|
|
2825
|
+
var BackendGeneratorTag = class extends TagAbstract23 {
|
|
2606
2826
|
/**
|
|
2607
2827
|
* Executes a generator with the provided config
|
|
2608
2828
|
*
|
|
@@ -2631,7 +2851,7 @@ var BackendGeneratorTag = class extends TagAbstract21 {
|
|
|
2631
2851
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2632
2852
|
throw new CommonMessageException(await response.json());
|
|
2633
2853
|
}
|
|
2634
|
-
throw new
|
|
2854
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2635
2855
|
}
|
|
2636
2856
|
/**
|
|
2637
2857
|
* Generates a changelog of all potential changes if you execute this generator with the provided config
|
|
@@ -2661,7 +2881,7 @@ var BackendGeneratorTag = class extends TagAbstract21 {
|
|
|
2661
2881
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2662
2882
|
throw new CommonMessageException(await response.json());
|
|
2663
2883
|
}
|
|
2664
|
-
throw new
|
|
2884
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2665
2885
|
}
|
|
2666
2886
|
/**
|
|
2667
2887
|
* Returns all available generator classes
|
|
@@ -2686,7 +2906,7 @@ var BackendGeneratorTag = class extends TagAbstract21 {
|
|
|
2686
2906
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2687
2907
|
throw new CommonMessageException(await response.json());
|
|
2688
2908
|
}
|
|
2689
|
-
throw new
|
|
2909
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2690
2910
|
}
|
|
2691
2911
|
/**
|
|
2692
2912
|
* Returns the generator config form
|
|
@@ -2713,14 +2933,14 @@ var BackendGeneratorTag = class extends TagAbstract21 {
|
|
|
2713
2933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2714
2934
|
throw new CommonMessageException(await response.json());
|
|
2715
2935
|
}
|
|
2716
|
-
throw new
|
|
2936
|
+
throw new UnknownStatusCodeException23("The server returned an unknown status code: " + statusCode);
|
|
2717
2937
|
}
|
|
2718
2938
|
};
|
|
2719
2939
|
|
|
2720
2940
|
// src/BackendIdentityTag.ts
|
|
2721
|
-
import { TagAbstract as
|
|
2722
|
-
import { UnknownStatusCodeException as
|
|
2723
|
-
var BackendIdentityTag = class extends
|
|
2941
|
+
import { TagAbstract as TagAbstract24 } from "sdkgen-client";
|
|
2942
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException24 } from "sdkgen-client";
|
|
2943
|
+
var BackendIdentityTag = class extends TagAbstract24 {
|
|
2724
2944
|
/**
|
|
2725
2945
|
* Creates a new identity
|
|
2726
2946
|
*
|
|
@@ -2747,7 +2967,7 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2747
2967
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2748
2968
|
throw new CommonMessageException(await response.json());
|
|
2749
2969
|
}
|
|
2750
|
-
throw new
|
|
2970
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2751
2971
|
}
|
|
2752
2972
|
/**
|
|
2753
2973
|
* Deletes an existing identity
|
|
@@ -2774,7 +2994,7 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2774
2994
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2775
2995
|
throw new CommonMessageException(await response.json());
|
|
2776
2996
|
}
|
|
2777
|
-
throw new
|
|
2997
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2778
2998
|
}
|
|
2779
2999
|
/**
|
|
2780
3000
|
* Returns a specific identity
|
|
@@ -2801,7 +3021,7 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2801
3021
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2802
3022
|
throw new CommonMessageException(await response.json());
|
|
2803
3023
|
}
|
|
2804
|
-
throw new
|
|
3024
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2805
3025
|
}
|
|
2806
3026
|
/**
|
|
2807
3027
|
* Returns a paginated list of identities
|
|
@@ -2830,7 +3050,7 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2830
3050
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2831
3051
|
throw new CommonMessageException(await response.json());
|
|
2832
3052
|
}
|
|
2833
|
-
throw new
|
|
3053
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2834
3054
|
}
|
|
2835
3055
|
/**
|
|
2836
3056
|
* Returns all available identity classes
|
|
@@ -2855,7 +3075,7 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2855
3075
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2856
3076
|
throw new CommonMessageException(await response.json());
|
|
2857
3077
|
}
|
|
2858
|
-
throw new
|
|
3078
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2859
3079
|
}
|
|
2860
3080
|
/**
|
|
2861
3081
|
* Returns the identity config form
|
|
@@ -2882,7 +3102,7 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2882
3102
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2883
3103
|
throw new CommonMessageException(await response.json());
|
|
2884
3104
|
}
|
|
2885
|
-
throw new
|
|
3105
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2886
3106
|
}
|
|
2887
3107
|
/**
|
|
2888
3108
|
* Updates an existing identity
|
|
@@ -2912,14 +3132,14 @@ var BackendIdentityTag = class extends TagAbstract22 {
|
|
|
2912
3132
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2913
3133
|
throw new CommonMessageException(await response.json());
|
|
2914
3134
|
}
|
|
2915
|
-
throw new
|
|
3135
|
+
throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
|
|
2916
3136
|
}
|
|
2917
3137
|
};
|
|
2918
3138
|
|
|
2919
3139
|
// src/BackendLogTag.ts
|
|
2920
|
-
import { TagAbstract as
|
|
2921
|
-
import { UnknownStatusCodeException as
|
|
2922
|
-
var BackendLogTag = class extends
|
|
3140
|
+
import { TagAbstract as TagAbstract25 } from "sdkgen-client";
|
|
3141
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException25 } from "sdkgen-client";
|
|
3142
|
+
var BackendLogTag = class extends TagAbstract25 {
|
|
2923
3143
|
/**
|
|
2924
3144
|
* Returns a specific log
|
|
2925
3145
|
*
|
|
@@ -2945,7 +3165,7 @@ var BackendLogTag = class extends TagAbstract23 {
|
|
|
2945
3165
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2946
3166
|
throw new CommonMessageException(await response.json());
|
|
2947
3167
|
}
|
|
2948
|
-
throw new
|
|
3168
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
2949
3169
|
}
|
|
2950
3170
|
/**
|
|
2951
3171
|
* Returns a paginated list of logs
|
|
@@ -2985,7 +3205,7 @@ var BackendLogTag = class extends TagAbstract23 {
|
|
|
2985
3205
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
2986
3206
|
throw new CommonMessageException(await response.json());
|
|
2987
3207
|
}
|
|
2988
|
-
throw new
|
|
3208
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
2989
3209
|
}
|
|
2990
3210
|
/**
|
|
2991
3211
|
* Returns a paginated list of log errors
|
|
@@ -3014,7 +3234,7 @@ var BackendLogTag = class extends TagAbstract23 {
|
|
|
3014
3234
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3015
3235
|
throw new CommonMessageException(await response.json());
|
|
3016
3236
|
}
|
|
3017
|
-
throw new
|
|
3237
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
3018
3238
|
}
|
|
3019
3239
|
/**
|
|
3020
3240
|
* Returns a specific error
|
|
@@ -3041,14 +3261,14 @@ var BackendLogTag = class extends TagAbstract23 {
|
|
|
3041
3261
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3042
3262
|
throw new CommonMessageException(await response.json());
|
|
3043
3263
|
}
|
|
3044
|
-
throw new
|
|
3264
|
+
throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
|
|
3045
3265
|
}
|
|
3046
3266
|
};
|
|
3047
3267
|
|
|
3048
3268
|
// src/BackendMarketplaceActionTag.ts
|
|
3049
|
-
import { TagAbstract as
|
|
3050
|
-
import { UnknownStatusCodeException as
|
|
3051
|
-
var BackendMarketplaceActionTag = class extends
|
|
3269
|
+
import { TagAbstract as TagAbstract26 } from "sdkgen-client";
|
|
3270
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException26 } from "sdkgen-client";
|
|
3271
|
+
var BackendMarketplaceActionTag = class extends TagAbstract26 {
|
|
3052
3272
|
/**
|
|
3053
3273
|
* Returns a specific marketplace action
|
|
3054
3274
|
*
|
|
@@ -3075,7 +3295,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract24 {
|
|
|
3075
3295
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3076
3296
|
throw new CommonMessageException(await response.json());
|
|
3077
3297
|
}
|
|
3078
|
-
throw new
|
|
3298
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3079
3299
|
}
|
|
3080
3300
|
/**
|
|
3081
3301
|
* Returns a paginated list of marketplace actions
|
|
@@ -3103,7 +3323,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract24 {
|
|
|
3103
3323
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3104
3324
|
throw new CommonMessageException(await response.json());
|
|
3105
3325
|
}
|
|
3106
|
-
throw new
|
|
3326
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3107
3327
|
}
|
|
3108
3328
|
/**
|
|
3109
3329
|
* Installs an action from the marketplace
|
|
@@ -3131,7 +3351,7 @@ var BackendMarketplaceActionTag = class extends TagAbstract24 {
|
|
|
3131
3351
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3132
3352
|
throw new CommonMessageException(await response.json());
|
|
3133
3353
|
}
|
|
3134
|
-
throw new
|
|
3354
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3135
3355
|
}
|
|
3136
3356
|
/**
|
|
3137
3357
|
* Upgrades an action from the marketplace
|
|
@@ -3159,14 +3379,14 @@ var BackendMarketplaceActionTag = class extends TagAbstract24 {
|
|
|
3159
3379
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3160
3380
|
throw new CommonMessageException(await response.json());
|
|
3161
3381
|
}
|
|
3162
|
-
throw new
|
|
3382
|
+
throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
|
|
3163
3383
|
}
|
|
3164
3384
|
};
|
|
3165
3385
|
|
|
3166
3386
|
// src/BackendMarketplaceAppTag.ts
|
|
3167
|
-
import { TagAbstract as
|
|
3168
|
-
import { UnknownStatusCodeException as
|
|
3169
|
-
var BackendMarketplaceAppTag = class extends
|
|
3387
|
+
import { TagAbstract as TagAbstract27 } from "sdkgen-client";
|
|
3388
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException27 } from "sdkgen-client";
|
|
3389
|
+
var BackendMarketplaceAppTag = class extends TagAbstract27 {
|
|
3170
3390
|
/**
|
|
3171
3391
|
* Returns a specific marketplace app
|
|
3172
3392
|
*
|
|
@@ -3193,7 +3413,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract25 {
|
|
|
3193
3413
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3194
3414
|
throw new CommonMessageException(await response.json());
|
|
3195
3415
|
}
|
|
3196
|
-
throw new
|
|
3416
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3197
3417
|
}
|
|
3198
3418
|
/**
|
|
3199
3419
|
* Returns a paginated list of marketplace apps
|
|
@@ -3221,7 +3441,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract25 {
|
|
|
3221
3441
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3222
3442
|
throw new CommonMessageException(await response.json());
|
|
3223
3443
|
}
|
|
3224
|
-
throw new
|
|
3444
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3225
3445
|
}
|
|
3226
3446
|
/**
|
|
3227
3447
|
* Installs an app from the marketplace
|
|
@@ -3249,7 +3469,7 @@ var BackendMarketplaceAppTag = class extends TagAbstract25 {
|
|
|
3249
3469
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3250
3470
|
throw new CommonMessageException(await response.json());
|
|
3251
3471
|
}
|
|
3252
|
-
throw new
|
|
3472
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3253
3473
|
}
|
|
3254
3474
|
/**
|
|
3255
3475
|
* Upgrades an app from the marketplace
|
|
@@ -3277,14 +3497,14 @@ var BackendMarketplaceAppTag = class extends TagAbstract25 {
|
|
|
3277
3497
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3278
3498
|
throw new CommonMessageException(await response.json());
|
|
3279
3499
|
}
|
|
3280
|
-
throw new
|
|
3500
|
+
throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
|
|
3281
3501
|
}
|
|
3282
3502
|
};
|
|
3283
3503
|
|
|
3284
3504
|
// src/BackendMarketplaceBundleTag.ts
|
|
3285
|
-
import { TagAbstract as
|
|
3286
|
-
import { UnknownStatusCodeException as
|
|
3287
|
-
var BackendMarketplaceBundleTag = class extends
|
|
3505
|
+
import { TagAbstract as TagAbstract28 } from "sdkgen-client";
|
|
3506
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException28 } from "sdkgen-client";
|
|
3507
|
+
var BackendMarketplaceBundleTag = class extends TagAbstract28 {
|
|
3288
3508
|
/**
|
|
3289
3509
|
* Returns a specific marketplace bundle
|
|
3290
3510
|
*
|
|
@@ -3311,7 +3531,7 @@ var BackendMarketplaceBundleTag = class extends TagAbstract26 {
|
|
|
3311
3531
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3312
3532
|
throw new CommonMessageException(await response.json());
|
|
3313
3533
|
}
|
|
3314
|
-
throw new
|
|
3534
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3315
3535
|
}
|
|
3316
3536
|
/**
|
|
3317
3537
|
* Returns a paginated list of marketplace bundles
|
|
@@ -3339,7 +3559,7 @@ var BackendMarketplaceBundleTag = class extends TagAbstract26 {
|
|
|
3339
3559
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3340
3560
|
throw new CommonMessageException(await response.json());
|
|
3341
3561
|
}
|
|
3342
|
-
throw new
|
|
3562
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3343
3563
|
}
|
|
3344
3564
|
/**
|
|
3345
3565
|
* Installs an bundle from the marketplace
|
|
@@ -3367,7 +3587,7 @@ var BackendMarketplaceBundleTag = class extends TagAbstract26 {
|
|
|
3367
3587
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3368
3588
|
throw new CommonMessageException(await response.json());
|
|
3369
3589
|
}
|
|
3370
|
-
throw new
|
|
3590
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3371
3591
|
}
|
|
3372
3592
|
/**
|
|
3373
3593
|
* Upgrades an bundle from the marketplace
|
|
@@ -3395,13 +3615,13 @@ var BackendMarketplaceBundleTag = class extends TagAbstract26 {
|
|
|
3395
3615
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3396
3616
|
throw new CommonMessageException(await response.json());
|
|
3397
3617
|
}
|
|
3398
|
-
throw new
|
|
3618
|
+
throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
|
|
3399
3619
|
}
|
|
3400
3620
|
};
|
|
3401
3621
|
|
|
3402
3622
|
// src/BackendMarketplaceTag.ts
|
|
3403
|
-
import { TagAbstract as
|
|
3404
|
-
var BackendMarketplaceTag = class extends
|
|
3623
|
+
import { TagAbstract as TagAbstract29 } from "sdkgen-client";
|
|
3624
|
+
var BackendMarketplaceTag = class extends TagAbstract29 {
|
|
3405
3625
|
action() {
|
|
3406
3626
|
return new BackendMarketplaceActionTag(
|
|
3407
3627
|
this.httpClient,
|
|
@@ -3423,9 +3643,9 @@ var BackendMarketplaceTag = class extends TagAbstract27 {
|
|
|
3423
3643
|
};
|
|
3424
3644
|
|
|
3425
3645
|
// src/BackendOperationTag.ts
|
|
3426
|
-
import { TagAbstract as
|
|
3427
|
-
import { UnknownStatusCodeException as
|
|
3428
|
-
var BackendOperationTag = class extends
|
|
3646
|
+
import { TagAbstract as TagAbstract30 } from "sdkgen-client";
|
|
3647
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException29 } from "sdkgen-client";
|
|
3648
|
+
var BackendOperationTag = class extends TagAbstract30 {
|
|
3429
3649
|
/**
|
|
3430
3650
|
* Creates a new operation
|
|
3431
3651
|
*
|
|
@@ -3452,7 +3672,7 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3452
3672
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3453
3673
|
throw new CommonMessageException(await response.json());
|
|
3454
3674
|
}
|
|
3455
|
-
throw new
|
|
3675
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3456
3676
|
}
|
|
3457
3677
|
/**
|
|
3458
3678
|
* Deletes an existing operation
|
|
@@ -3479,7 +3699,7 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3479
3699
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3480
3700
|
throw new CommonMessageException(await response.json());
|
|
3481
3701
|
}
|
|
3482
|
-
throw new
|
|
3702
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3483
3703
|
}
|
|
3484
3704
|
/**
|
|
3485
3705
|
* Returns a specific operation
|
|
@@ -3506,7 +3726,7 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3506
3726
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3507
3727
|
throw new CommonMessageException(await response.json());
|
|
3508
3728
|
}
|
|
3509
|
-
throw new
|
|
3729
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3510
3730
|
}
|
|
3511
3731
|
/**
|
|
3512
3732
|
* Returns a paginated list of operations
|
|
@@ -3515,7 +3735,7 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3515
3735
|
* @throws {CommonMessageException}
|
|
3516
3736
|
* @throws {ClientException}
|
|
3517
3737
|
*/
|
|
3518
|
-
async getAll(startIndex, count, search) {
|
|
3738
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
3519
3739
|
const url = this.parser.url("/backend/operation", {});
|
|
3520
3740
|
let request = {
|
|
3521
3741
|
url,
|
|
@@ -3524,7 +3744,8 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3524
3744
|
params: this.parser.query({
|
|
3525
3745
|
"startIndex": startIndex,
|
|
3526
3746
|
"count": count,
|
|
3527
|
-
"search": search
|
|
3747
|
+
"search": search,
|
|
3748
|
+
"taxonomy": taxonomy
|
|
3528
3749
|
}, [])
|
|
3529
3750
|
};
|
|
3530
3751
|
const response = await this.httpClient.request(request);
|
|
@@ -3535,7 +3756,7 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3535
3756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3536
3757
|
throw new CommonMessageException(await response.json());
|
|
3537
3758
|
}
|
|
3538
|
-
throw new
|
|
3759
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3539
3760
|
}
|
|
3540
3761
|
/**
|
|
3541
3762
|
* Updates an existing operation
|
|
@@ -3565,14 +3786,14 @@ var BackendOperationTag = class extends TagAbstract28 {
|
|
|
3565
3786
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3566
3787
|
throw new CommonMessageException(await response.json());
|
|
3567
3788
|
}
|
|
3568
|
-
throw new
|
|
3789
|
+
throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
|
|
3569
3790
|
}
|
|
3570
3791
|
};
|
|
3571
3792
|
|
|
3572
3793
|
// src/BackendPageTag.ts
|
|
3573
|
-
import { TagAbstract as
|
|
3574
|
-
import { UnknownStatusCodeException as
|
|
3575
|
-
var BackendPageTag = class extends
|
|
3794
|
+
import { TagAbstract as TagAbstract31 } from "sdkgen-client";
|
|
3795
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException30 } from "sdkgen-client";
|
|
3796
|
+
var BackendPageTag = class extends TagAbstract31 {
|
|
3576
3797
|
/**
|
|
3577
3798
|
* Creates a new page
|
|
3578
3799
|
*
|
|
@@ -3599,7 +3820,7 @@ var BackendPageTag = class extends TagAbstract29 {
|
|
|
3599
3820
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3600
3821
|
throw new CommonMessageException(await response.json());
|
|
3601
3822
|
}
|
|
3602
|
-
throw new
|
|
3823
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3603
3824
|
}
|
|
3604
3825
|
/**
|
|
3605
3826
|
* Deletes an existing page
|
|
@@ -3626,7 +3847,7 @@ var BackendPageTag = class extends TagAbstract29 {
|
|
|
3626
3847
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3627
3848
|
throw new CommonMessageException(await response.json());
|
|
3628
3849
|
}
|
|
3629
|
-
throw new
|
|
3850
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3630
3851
|
}
|
|
3631
3852
|
/**
|
|
3632
3853
|
* Returns a specific page
|
|
@@ -3653,7 +3874,7 @@ var BackendPageTag = class extends TagAbstract29 {
|
|
|
3653
3874
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3654
3875
|
throw new CommonMessageException(await response.json());
|
|
3655
3876
|
}
|
|
3656
|
-
throw new
|
|
3877
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3657
3878
|
}
|
|
3658
3879
|
/**
|
|
3659
3880
|
* Returns a paginated list of pages
|
|
@@ -3682,7 +3903,7 @@ var BackendPageTag = class extends TagAbstract29 {
|
|
|
3682
3903
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3683
3904
|
throw new CommonMessageException(await response.json());
|
|
3684
3905
|
}
|
|
3685
|
-
throw new
|
|
3906
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3686
3907
|
}
|
|
3687
3908
|
/**
|
|
3688
3909
|
* Updates an existing page
|
|
@@ -3712,14 +3933,14 @@ var BackendPageTag = class extends TagAbstract29 {
|
|
|
3712
3933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3713
3934
|
throw new CommonMessageException(await response.json());
|
|
3714
3935
|
}
|
|
3715
|
-
throw new
|
|
3936
|
+
throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
|
|
3716
3937
|
}
|
|
3717
3938
|
};
|
|
3718
3939
|
|
|
3719
3940
|
// src/BackendPlanTag.ts
|
|
3720
|
-
import { TagAbstract as
|
|
3721
|
-
import { UnknownStatusCodeException as
|
|
3722
|
-
var BackendPlanTag = class extends
|
|
3941
|
+
import { TagAbstract as TagAbstract32 } from "sdkgen-client";
|
|
3942
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException31 } from "sdkgen-client";
|
|
3943
|
+
var BackendPlanTag = class extends TagAbstract32 {
|
|
3723
3944
|
/**
|
|
3724
3945
|
* Creates a new plan
|
|
3725
3946
|
*
|
|
@@ -3746,7 +3967,7 @@ var BackendPlanTag = class extends TagAbstract30 {
|
|
|
3746
3967
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3747
3968
|
throw new CommonMessageException(await response.json());
|
|
3748
3969
|
}
|
|
3749
|
-
throw new
|
|
3970
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3750
3971
|
}
|
|
3751
3972
|
/**
|
|
3752
3973
|
* Deletes an existing plan
|
|
@@ -3773,7 +3994,7 @@ var BackendPlanTag = class extends TagAbstract30 {
|
|
|
3773
3994
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3774
3995
|
throw new CommonMessageException(await response.json());
|
|
3775
3996
|
}
|
|
3776
|
-
throw new
|
|
3997
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3777
3998
|
}
|
|
3778
3999
|
/**
|
|
3779
4000
|
* Returns a specific plan
|
|
@@ -3800,7 +4021,7 @@ var BackendPlanTag = class extends TagAbstract30 {
|
|
|
3800
4021
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3801
4022
|
throw new CommonMessageException(await response.json());
|
|
3802
4023
|
}
|
|
3803
|
-
throw new
|
|
4024
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3804
4025
|
}
|
|
3805
4026
|
/**
|
|
3806
4027
|
* Returns a paginated list of plans
|
|
@@ -3829,7 +4050,7 @@ var BackendPlanTag = class extends TagAbstract30 {
|
|
|
3829
4050
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3830
4051
|
throw new CommonMessageException(await response.json());
|
|
3831
4052
|
}
|
|
3832
|
-
throw new
|
|
4053
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3833
4054
|
}
|
|
3834
4055
|
/**
|
|
3835
4056
|
* Updates an existing plan
|
|
@@ -3859,14 +4080,14 @@ var BackendPlanTag = class extends TagAbstract30 {
|
|
|
3859
4080
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3860
4081
|
throw new CommonMessageException(await response.json());
|
|
3861
4082
|
}
|
|
3862
|
-
throw new
|
|
4083
|
+
throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
|
|
3863
4084
|
}
|
|
3864
4085
|
};
|
|
3865
4086
|
|
|
3866
4087
|
// src/BackendRateTag.ts
|
|
3867
|
-
import { TagAbstract as
|
|
3868
|
-
import { UnknownStatusCodeException as
|
|
3869
|
-
var BackendRateTag = class extends
|
|
4088
|
+
import { TagAbstract as TagAbstract33 } from "sdkgen-client";
|
|
4089
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException32 } from "sdkgen-client";
|
|
4090
|
+
var BackendRateTag = class extends TagAbstract33 {
|
|
3870
4091
|
/**
|
|
3871
4092
|
* Creates a new rate limitation
|
|
3872
4093
|
*
|
|
@@ -3893,7 +4114,7 @@ var BackendRateTag = class extends TagAbstract31 {
|
|
|
3893
4114
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3894
4115
|
throw new CommonMessageException(await response.json());
|
|
3895
4116
|
}
|
|
3896
|
-
throw new
|
|
4117
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3897
4118
|
}
|
|
3898
4119
|
/**
|
|
3899
4120
|
* Deletes an existing rate
|
|
@@ -3920,7 +4141,7 @@ var BackendRateTag = class extends TagAbstract31 {
|
|
|
3920
4141
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3921
4142
|
throw new CommonMessageException(await response.json());
|
|
3922
4143
|
}
|
|
3923
|
-
throw new
|
|
4144
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3924
4145
|
}
|
|
3925
4146
|
/**
|
|
3926
4147
|
* Returns a specific rate
|
|
@@ -3947,7 +4168,7 @@ var BackendRateTag = class extends TagAbstract31 {
|
|
|
3947
4168
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3948
4169
|
throw new CommonMessageException(await response.json());
|
|
3949
4170
|
}
|
|
3950
|
-
throw new
|
|
4171
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3951
4172
|
}
|
|
3952
4173
|
/**
|
|
3953
4174
|
* Returns a paginated list of rate limitations
|
|
@@ -3976,7 +4197,7 @@ var BackendRateTag = class extends TagAbstract31 {
|
|
|
3976
4197
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3977
4198
|
throw new CommonMessageException(await response.json());
|
|
3978
4199
|
}
|
|
3979
|
-
throw new
|
|
4200
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
3980
4201
|
}
|
|
3981
4202
|
/**
|
|
3982
4203
|
* Updates an existing rate
|
|
@@ -4006,14 +4227,14 @@ var BackendRateTag = class extends TagAbstract31 {
|
|
|
4006
4227
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4007
4228
|
throw new CommonMessageException(await response.json());
|
|
4008
4229
|
}
|
|
4009
|
-
throw new
|
|
4230
|
+
throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
|
|
4010
4231
|
}
|
|
4011
4232
|
};
|
|
4012
4233
|
|
|
4013
4234
|
// src/BackendRoleTag.ts
|
|
4014
|
-
import { TagAbstract as
|
|
4015
|
-
import { UnknownStatusCodeException as
|
|
4016
|
-
var BackendRoleTag = class extends
|
|
4235
|
+
import { TagAbstract as TagAbstract34 } from "sdkgen-client";
|
|
4236
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException33 } from "sdkgen-client";
|
|
4237
|
+
var BackendRoleTag = class extends TagAbstract34 {
|
|
4017
4238
|
/**
|
|
4018
4239
|
* Creates a new role
|
|
4019
4240
|
*
|
|
@@ -4040,7 +4261,7 @@ var BackendRoleTag = class extends TagAbstract32 {
|
|
|
4040
4261
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4041
4262
|
throw new CommonMessageException(await response.json());
|
|
4042
4263
|
}
|
|
4043
|
-
throw new
|
|
4264
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4044
4265
|
}
|
|
4045
4266
|
/**
|
|
4046
4267
|
* Deletes an existing role
|
|
@@ -4067,7 +4288,7 @@ var BackendRoleTag = class extends TagAbstract32 {
|
|
|
4067
4288
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4068
4289
|
throw new CommonMessageException(await response.json());
|
|
4069
4290
|
}
|
|
4070
|
-
throw new
|
|
4291
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4071
4292
|
}
|
|
4072
4293
|
/**
|
|
4073
4294
|
* Returns a specific role
|
|
@@ -4094,7 +4315,7 @@ var BackendRoleTag = class extends TagAbstract32 {
|
|
|
4094
4315
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4095
4316
|
throw new CommonMessageException(await response.json());
|
|
4096
4317
|
}
|
|
4097
|
-
throw new
|
|
4318
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4098
4319
|
}
|
|
4099
4320
|
/**
|
|
4100
4321
|
* Returns a paginated list of roles
|
|
@@ -4123,7 +4344,7 @@ var BackendRoleTag = class extends TagAbstract32 {
|
|
|
4123
4344
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4124
4345
|
throw new CommonMessageException(await response.json());
|
|
4125
4346
|
}
|
|
4126
|
-
throw new
|
|
4347
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4127
4348
|
}
|
|
4128
4349
|
/**
|
|
4129
4350
|
* Updates an existing role
|
|
@@ -4153,14 +4374,14 @@ var BackendRoleTag = class extends TagAbstract32 {
|
|
|
4153
4374
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4154
4375
|
throw new CommonMessageException(await response.json());
|
|
4155
4376
|
}
|
|
4156
|
-
throw new
|
|
4377
|
+
throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
|
|
4157
4378
|
}
|
|
4158
4379
|
};
|
|
4159
4380
|
|
|
4160
4381
|
// src/BackendSchemaTag.ts
|
|
4161
|
-
import { TagAbstract as
|
|
4162
|
-
import { UnknownStatusCodeException as
|
|
4163
|
-
var BackendSchemaTag = class extends
|
|
4382
|
+
import { TagAbstract as TagAbstract35 } from "sdkgen-client";
|
|
4383
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException34 } from "sdkgen-client";
|
|
4384
|
+
var BackendSchemaTag = class extends TagAbstract35 {
|
|
4164
4385
|
/**
|
|
4165
4386
|
* Creates a new schema
|
|
4166
4387
|
*
|
|
@@ -4187,7 +4408,7 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4187
4408
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4188
4409
|
throw new CommonMessageException(await response.json());
|
|
4189
4410
|
}
|
|
4190
|
-
throw new
|
|
4411
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4191
4412
|
}
|
|
4192
4413
|
/**
|
|
4193
4414
|
* Deletes an existing schema
|
|
@@ -4214,7 +4435,7 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4214
4435
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4215
4436
|
throw new CommonMessageException(await response.json());
|
|
4216
4437
|
}
|
|
4217
|
-
throw new
|
|
4438
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4218
4439
|
}
|
|
4219
4440
|
/**
|
|
4220
4441
|
* Returns a specific schema
|
|
@@ -4231,7 +4452,37 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4231
4452
|
url,
|
|
4232
4453
|
method: "GET",
|
|
4233
4454
|
headers: {},
|
|
4234
|
-
params: this.parser.query({}, [])
|
|
4455
|
+
params: this.parser.query({}, [])
|
|
4456
|
+
};
|
|
4457
|
+
const response = await this.httpClient.request(request);
|
|
4458
|
+
if (response.ok) {
|
|
4459
|
+
return await response.json();
|
|
4460
|
+
}
|
|
4461
|
+
const statusCode = response.status;
|
|
4462
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4463
|
+
throw new CommonMessageException(await response.json());
|
|
4464
|
+
}
|
|
4465
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4466
|
+
}
|
|
4467
|
+
/**
|
|
4468
|
+
* Returns a paginated list of schemas
|
|
4469
|
+
*
|
|
4470
|
+
* @returns {Promise<BackendSchemaCollection>}
|
|
4471
|
+
* @throws {CommonMessageException}
|
|
4472
|
+
* @throws {ClientException}
|
|
4473
|
+
*/
|
|
4474
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
4475
|
+
const url = this.parser.url("/backend/schema", {});
|
|
4476
|
+
let request = {
|
|
4477
|
+
url,
|
|
4478
|
+
method: "GET",
|
|
4479
|
+
headers: {},
|
|
4480
|
+
params: this.parser.query({
|
|
4481
|
+
"startIndex": startIndex,
|
|
4482
|
+
"count": count,
|
|
4483
|
+
"search": search,
|
|
4484
|
+
"taxonomy": taxonomy
|
|
4485
|
+
}, [])
|
|
4235
4486
|
};
|
|
4236
4487
|
const response = await this.httpClient.request(request);
|
|
4237
4488
|
if (response.ok) {
|
|
@@ -4241,17 +4492,19 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4241
4492
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4242
4493
|
throw new CommonMessageException(await response.json());
|
|
4243
4494
|
}
|
|
4244
|
-
throw new
|
|
4495
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4245
4496
|
}
|
|
4246
4497
|
/**
|
|
4247
|
-
* Returns a paginated list of
|
|
4498
|
+
* Returns a paginated list of schema commits
|
|
4248
4499
|
*
|
|
4249
|
-
* @returns {Promise<
|
|
4500
|
+
* @returns {Promise<BackendSchemaCommitCollection>}
|
|
4250
4501
|
* @throws {CommonMessageException}
|
|
4251
4502
|
* @throws {ClientException}
|
|
4252
4503
|
*/
|
|
4253
|
-
async
|
|
4254
|
-
const url = this.parser.url("/backend/schema", {
|
|
4504
|
+
async getCommits(schemaId, startIndex, count, search) {
|
|
4505
|
+
const url = this.parser.url("/backend/schema/$schema_id<[0-9]+|^~>/commit", {
|
|
4506
|
+
"schema_id": schemaId
|
|
4507
|
+
});
|
|
4255
4508
|
let request = {
|
|
4256
4509
|
url,
|
|
4257
4510
|
method: "GET",
|
|
@@ -4270,7 +4523,7 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4270
4523
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4271
4524
|
throw new CommonMessageException(await response.json());
|
|
4272
4525
|
}
|
|
4273
|
-
throw new
|
|
4526
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4274
4527
|
}
|
|
4275
4528
|
/**
|
|
4276
4529
|
* Returns a HTML preview of the provided schema
|
|
@@ -4297,7 +4550,7 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4297
4550
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4298
4551
|
throw new CommonMessageException(await response.json());
|
|
4299
4552
|
}
|
|
4300
|
-
throw new
|
|
4553
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4301
4554
|
}
|
|
4302
4555
|
/**
|
|
4303
4556
|
* Updates an existing schema
|
|
@@ -4327,14 +4580,14 @@ var BackendSchemaTag = class extends TagAbstract33 {
|
|
|
4327
4580
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4328
4581
|
throw new CommonMessageException(await response.json());
|
|
4329
4582
|
}
|
|
4330
|
-
throw new
|
|
4583
|
+
throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
|
|
4331
4584
|
}
|
|
4332
4585
|
};
|
|
4333
4586
|
|
|
4334
4587
|
// src/BackendScopeTag.ts
|
|
4335
|
-
import { TagAbstract as
|
|
4336
|
-
import { UnknownStatusCodeException as
|
|
4337
|
-
var BackendScopeTag = class extends
|
|
4588
|
+
import { TagAbstract as TagAbstract36 } from "sdkgen-client";
|
|
4589
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException35 } from "sdkgen-client";
|
|
4590
|
+
var BackendScopeTag = class extends TagAbstract36 {
|
|
4338
4591
|
/**
|
|
4339
4592
|
* Creates a new scope
|
|
4340
4593
|
*
|
|
@@ -4361,7 +4614,7 @@ var BackendScopeTag = class extends TagAbstract34 {
|
|
|
4361
4614
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4362
4615
|
throw new CommonMessageException(await response.json());
|
|
4363
4616
|
}
|
|
4364
|
-
throw new
|
|
4617
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4365
4618
|
}
|
|
4366
4619
|
/**
|
|
4367
4620
|
* Deletes an existing scope
|
|
@@ -4388,7 +4641,7 @@ var BackendScopeTag = class extends TagAbstract34 {
|
|
|
4388
4641
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4389
4642
|
throw new CommonMessageException(await response.json());
|
|
4390
4643
|
}
|
|
4391
|
-
throw new
|
|
4644
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4392
4645
|
}
|
|
4393
4646
|
/**
|
|
4394
4647
|
* Returns a specific scope
|
|
@@ -4415,7 +4668,7 @@ var BackendScopeTag = class extends TagAbstract34 {
|
|
|
4415
4668
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4416
4669
|
throw new CommonMessageException(await response.json());
|
|
4417
4670
|
}
|
|
4418
|
-
throw new
|
|
4671
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4419
4672
|
}
|
|
4420
4673
|
/**
|
|
4421
4674
|
* Returns a paginated list of scopes
|
|
@@ -4444,7 +4697,7 @@ var BackendScopeTag = class extends TagAbstract34 {
|
|
|
4444
4697
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4445
4698
|
throw new CommonMessageException(await response.json());
|
|
4446
4699
|
}
|
|
4447
|
-
throw new
|
|
4700
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4448
4701
|
}
|
|
4449
4702
|
/**
|
|
4450
4703
|
* Returns all available scopes grouped by category
|
|
@@ -4469,7 +4722,7 @@ var BackendScopeTag = class extends TagAbstract34 {
|
|
|
4469
4722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4470
4723
|
throw new CommonMessageException(await response.json());
|
|
4471
4724
|
}
|
|
4472
|
-
throw new
|
|
4725
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4473
4726
|
}
|
|
4474
4727
|
/**
|
|
4475
4728
|
* Updates an existing scope
|
|
@@ -4499,14 +4752,14 @@ var BackendScopeTag = class extends TagAbstract34 {
|
|
|
4499
4752
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4500
4753
|
throw new CommonMessageException(await response.json());
|
|
4501
4754
|
}
|
|
4502
|
-
throw new
|
|
4755
|
+
throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
|
|
4503
4756
|
}
|
|
4504
4757
|
};
|
|
4505
4758
|
|
|
4506
4759
|
// src/BackendSdkTag.ts
|
|
4507
|
-
import { TagAbstract as
|
|
4508
|
-
import { UnknownStatusCodeException as
|
|
4509
|
-
var BackendSdkTag = class extends
|
|
4760
|
+
import { TagAbstract as TagAbstract37 } from "sdkgen-client";
|
|
4761
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException36 } from "sdkgen-client";
|
|
4762
|
+
var BackendSdkTag = class extends TagAbstract37 {
|
|
4510
4763
|
/**
|
|
4511
4764
|
* Generates a specific SDK
|
|
4512
4765
|
*
|
|
@@ -4533,7 +4786,7 @@ var BackendSdkTag = class extends TagAbstract35 {
|
|
|
4533
4786
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4534
4787
|
throw new CommonMessageException(await response.json());
|
|
4535
4788
|
}
|
|
4536
|
-
throw new
|
|
4789
|
+
throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
|
|
4537
4790
|
}
|
|
4538
4791
|
/**
|
|
4539
4792
|
* Returns a paginated list of SDKs
|
|
@@ -4558,14 +4811,14 @@ var BackendSdkTag = class extends TagAbstract35 {
|
|
|
4558
4811
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4559
4812
|
throw new CommonMessageException(await response.json());
|
|
4560
4813
|
}
|
|
4561
|
-
throw new
|
|
4814
|
+
throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
|
|
4562
4815
|
}
|
|
4563
4816
|
};
|
|
4564
4817
|
|
|
4565
4818
|
// src/BackendStatisticTag.ts
|
|
4566
|
-
import { TagAbstract as
|
|
4567
|
-
import { UnknownStatusCodeException as
|
|
4568
|
-
var BackendStatisticTag = class extends
|
|
4819
|
+
import { TagAbstract as TagAbstract38 } from "sdkgen-client";
|
|
4820
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
|
|
4821
|
+
var BackendStatisticTag = class extends TagAbstract38 {
|
|
4569
4822
|
/**
|
|
4570
4823
|
* Returns a statistic containing the activities per user
|
|
4571
4824
|
*
|
|
@@ -4604,7 +4857,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4604
4857
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4605
4858
|
throw new CommonMessageException(await response.json());
|
|
4606
4859
|
}
|
|
4607
|
-
throw new
|
|
4860
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4608
4861
|
}
|
|
4609
4862
|
/**
|
|
4610
4863
|
* Returns a statistic containing the request count
|
|
@@ -4644,7 +4897,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4644
4897
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4645
4898
|
throw new CommonMessageException(await response.json());
|
|
4646
4899
|
}
|
|
4647
|
-
throw new
|
|
4900
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4648
4901
|
}
|
|
4649
4902
|
/**
|
|
4650
4903
|
* Returns a statistic containing the errors per operation
|
|
@@ -4684,7 +4937,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4684
4937
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4685
4938
|
throw new CommonMessageException(await response.json());
|
|
4686
4939
|
}
|
|
4687
|
-
throw new
|
|
4940
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4688
4941
|
}
|
|
4689
4942
|
/**
|
|
4690
4943
|
* Returns a statistic containing the incoming requests
|
|
@@ -4724,7 +4977,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4724
4977
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4725
4978
|
throw new CommonMessageException(await response.json());
|
|
4726
4979
|
}
|
|
4727
|
-
throw new
|
|
4980
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4728
4981
|
}
|
|
4729
4982
|
/**
|
|
4730
4983
|
* Returns a statistic containing the incoming transactions
|
|
@@ -4764,7 +5017,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4764
5017
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4765
5018
|
throw new CommonMessageException(await response.json());
|
|
4766
5019
|
}
|
|
4767
|
-
throw new
|
|
5020
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4768
5021
|
}
|
|
4769
5022
|
/**
|
|
4770
5023
|
* Returns a statistic containing the issues tokens
|
|
@@ -4804,7 +5057,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4804
5057
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4805
5058
|
throw new CommonMessageException(await response.json());
|
|
4806
5059
|
}
|
|
4807
|
-
throw new
|
|
5060
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4808
5061
|
}
|
|
4809
5062
|
/**
|
|
4810
5063
|
* Returns a statistic containing the most used activities
|
|
@@ -4844,7 +5097,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4844
5097
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4845
5098
|
throw new CommonMessageException(await response.json());
|
|
4846
5099
|
}
|
|
4847
|
-
throw new
|
|
5100
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4848
5101
|
}
|
|
4849
5102
|
/**
|
|
4850
5103
|
* Returns a statistic containing the most used apps
|
|
@@ -4884,7 +5137,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4884
5137
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4885
5138
|
throw new CommonMessageException(await response.json());
|
|
4886
5139
|
}
|
|
4887
|
-
throw new
|
|
5140
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4888
5141
|
}
|
|
4889
5142
|
/**
|
|
4890
5143
|
* Returns a statistic containing the most used operations
|
|
@@ -4924,7 +5177,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4924
5177
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4925
5178
|
throw new CommonMessageException(await response.json());
|
|
4926
5179
|
}
|
|
4927
|
-
throw new
|
|
5180
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4928
5181
|
}
|
|
4929
5182
|
/**
|
|
4930
5183
|
* Returns a statistic containing the requests per ip
|
|
@@ -4964,7 +5217,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
4964
5217
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4965
5218
|
throw new CommonMessageException(await response.json());
|
|
4966
5219
|
}
|
|
4967
|
-
throw new
|
|
5220
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4968
5221
|
}
|
|
4969
5222
|
/**
|
|
4970
5223
|
* Returns a statistic containing the requests per operation
|
|
@@ -5004,7 +5257,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5004
5257
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5005
5258
|
throw new CommonMessageException(await response.json());
|
|
5006
5259
|
}
|
|
5007
|
-
throw new
|
|
5260
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5008
5261
|
}
|
|
5009
5262
|
/**
|
|
5010
5263
|
* Returns a statistic containing the requests per user
|
|
@@ -5044,7 +5297,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5044
5297
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5045
5298
|
throw new CommonMessageException(await response.json());
|
|
5046
5299
|
}
|
|
5047
|
-
throw new
|
|
5300
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5048
5301
|
}
|
|
5049
5302
|
/**
|
|
5050
5303
|
* Returns a statistic containing the test coverage
|
|
@@ -5069,7 +5322,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5069
5322
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5070
5323
|
throw new CommonMessageException(await response.json());
|
|
5071
5324
|
}
|
|
5072
|
-
throw new
|
|
5325
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5073
5326
|
}
|
|
5074
5327
|
/**
|
|
5075
5328
|
* Returns a statistic containing the time average
|
|
@@ -5109,7 +5362,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5109
5362
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5110
5363
|
throw new CommonMessageException(await response.json());
|
|
5111
5364
|
}
|
|
5112
|
-
throw new
|
|
5365
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5113
5366
|
}
|
|
5114
5367
|
/**
|
|
5115
5368
|
* Returns a statistic containing the time per operation
|
|
@@ -5149,7 +5402,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5149
5402
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5150
5403
|
throw new CommonMessageException(await response.json());
|
|
5151
5404
|
}
|
|
5152
|
-
throw new
|
|
5405
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5153
5406
|
}
|
|
5154
5407
|
/**
|
|
5155
5408
|
* Returns a statistic containing the used points
|
|
@@ -5189,7 +5442,7 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5189
5442
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5190
5443
|
throw new CommonMessageException(await response.json());
|
|
5191
5444
|
}
|
|
5192
|
-
throw new
|
|
5445
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5193
5446
|
}
|
|
5194
5447
|
/**
|
|
5195
5448
|
* Returns a statistic containing the user registrations
|
|
@@ -5229,17 +5482,194 @@ var BackendStatisticTag = class extends TagAbstract36 {
|
|
|
5229
5482
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5230
5483
|
throw new CommonMessageException(await response.json());
|
|
5231
5484
|
}
|
|
5232
|
-
throw new
|
|
5485
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
5233
5486
|
}
|
|
5234
5487
|
};
|
|
5235
5488
|
|
|
5236
5489
|
// src/BackendTag.ts
|
|
5237
|
-
import { TagAbstract as
|
|
5490
|
+
import { TagAbstract as TagAbstract48 } from "sdkgen-client";
|
|
5491
|
+
|
|
5492
|
+
// src/BackendTaxonomyTag.ts
|
|
5493
|
+
import { TagAbstract as TagAbstract39 } from "sdkgen-client";
|
|
5494
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
|
|
5495
|
+
var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
5496
|
+
/**
|
|
5497
|
+
* Creates a new taxonomy
|
|
5498
|
+
*
|
|
5499
|
+
* @returns {Promise<CommonMessage>}
|
|
5500
|
+
* @throws {CommonMessageException}
|
|
5501
|
+
* @throws {ClientException}
|
|
5502
|
+
*/
|
|
5503
|
+
async create(payload) {
|
|
5504
|
+
const url = this.parser.url("/backend/taxonomy", {});
|
|
5505
|
+
let request = {
|
|
5506
|
+
url,
|
|
5507
|
+
method: "POST",
|
|
5508
|
+
headers: {
|
|
5509
|
+
"Content-Type": "application/json"
|
|
5510
|
+
},
|
|
5511
|
+
params: this.parser.query({}, []),
|
|
5512
|
+
data: payload
|
|
5513
|
+
};
|
|
5514
|
+
const response = await this.httpClient.request(request);
|
|
5515
|
+
if (response.ok) {
|
|
5516
|
+
return await response.json();
|
|
5517
|
+
}
|
|
5518
|
+
const statusCode = response.status;
|
|
5519
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5520
|
+
throw new CommonMessageException(await response.json());
|
|
5521
|
+
}
|
|
5522
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5523
|
+
}
|
|
5524
|
+
/**
|
|
5525
|
+
* Deletes an existing taxonomy
|
|
5526
|
+
*
|
|
5527
|
+
* @returns {Promise<CommonMessage>}
|
|
5528
|
+
* @throws {CommonMessageException}
|
|
5529
|
+
* @throws {ClientException}
|
|
5530
|
+
*/
|
|
5531
|
+
async delete(taxonomyId) {
|
|
5532
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5533
|
+
"taxonomy_id": taxonomyId
|
|
5534
|
+
});
|
|
5535
|
+
let request = {
|
|
5536
|
+
url,
|
|
5537
|
+
method: "DELETE",
|
|
5538
|
+
headers: {},
|
|
5539
|
+
params: this.parser.query({}, [])
|
|
5540
|
+
};
|
|
5541
|
+
const response = await this.httpClient.request(request);
|
|
5542
|
+
if (response.ok) {
|
|
5543
|
+
return await response.json();
|
|
5544
|
+
}
|
|
5545
|
+
const statusCode = response.status;
|
|
5546
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5547
|
+
throw new CommonMessageException(await response.json());
|
|
5548
|
+
}
|
|
5549
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5550
|
+
}
|
|
5551
|
+
/**
|
|
5552
|
+
* Returns a specific taxonomy
|
|
5553
|
+
*
|
|
5554
|
+
* @returns {Promise<BackendTaxonomy>}
|
|
5555
|
+
* @throws {CommonMessageException}
|
|
5556
|
+
* @throws {ClientException}
|
|
5557
|
+
*/
|
|
5558
|
+
async get(taxonomyId) {
|
|
5559
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5560
|
+
"taxonomy_id": taxonomyId
|
|
5561
|
+
});
|
|
5562
|
+
let request = {
|
|
5563
|
+
url,
|
|
5564
|
+
method: "GET",
|
|
5565
|
+
headers: {},
|
|
5566
|
+
params: this.parser.query({}, [])
|
|
5567
|
+
};
|
|
5568
|
+
const response = await this.httpClient.request(request);
|
|
5569
|
+
if (response.ok) {
|
|
5570
|
+
return await response.json();
|
|
5571
|
+
}
|
|
5572
|
+
const statusCode = response.status;
|
|
5573
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5574
|
+
throw new CommonMessageException(await response.json());
|
|
5575
|
+
}
|
|
5576
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5577
|
+
}
|
|
5578
|
+
/**
|
|
5579
|
+
* Returns a paginated list of taxonomies
|
|
5580
|
+
*
|
|
5581
|
+
* @returns {Promise<BackendTaxonomyCollection>}
|
|
5582
|
+
* @throws {CommonMessageException}
|
|
5583
|
+
* @throws {ClientException}
|
|
5584
|
+
*/
|
|
5585
|
+
async getAll(startIndex, count, search) {
|
|
5586
|
+
const url = this.parser.url("/backend/taxonomy", {});
|
|
5587
|
+
let request = {
|
|
5588
|
+
url,
|
|
5589
|
+
method: "GET",
|
|
5590
|
+
headers: {},
|
|
5591
|
+
params: this.parser.query({
|
|
5592
|
+
"startIndex": startIndex,
|
|
5593
|
+
"count": count,
|
|
5594
|
+
"search": search
|
|
5595
|
+
}, [])
|
|
5596
|
+
};
|
|
5597
|
+
const response = await this.httpClient.request(request);
|
|
5598
|
+
if (response.ok) {
|
|
5599
|
+
return await response.json();
|
|
5600
|
+
}
|
|
5601
|
+
const statusCode = response.status;
|
|
5602
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5603
|
+
throw new CommonMessageException(await response.json());
|
|
5604
|
+
}
|
|
5605
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5606
|
+
}
|
|
5607
|
+
/**
|
|
5608
|
+
* Moves the provided ids to the taxonomy
|
|
5609
|
+
*
|
|
5610
|
+
* @returns {Promise<CommonMessage>}
|
|
5611
|
+
* @throws {CommonMessageException}
|
|
5612
|
+
* @throws {ClientException}
|
|
5613
|
+
*/
|
|
5614
|
+
async move(taxonomyId, payload) {
|
|
5615
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5616
|
+
"taxonomy_id": taxonomyId
|
|
5617
|
+
});
|
|
5618
|
+
let request = {
|
|
5619
|
+
url,
|
|
5620
|
+
method: "POST",
|
|
5621
|
+
headers: {
|
|
5622
|
+
"Content-Type": "application/json"
|
|
5623
|
+
},
|
|
5624
|
+
params: this.parser.query({}, []),
|
|
5625
|
+
data: payload
|
|
5626
|
+
};
|
|
5627
|
+
const response = await this.httpClient.request(request);
|
|
5628
|
+
if (response.ok) {
|
|
5629
|
+
return await response.json();
|
|
5630
|
+
}
|
|
5631
|
+
const statusCode = response.status;
|
|
5632
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5633
|
+
throw new CommonMessageException(await response.json());
|
|
5634
|
+
}
|
|
5635
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5636
|
+
}
|
|
5637
|
+
/**
|
|
5638
|
+
* Updates an existing taxonomy
|
|
5639
|
+
*
|
|
5640
|
+
* @returns {Promise<CommonMessage>}
|
|
5641
|
+
* @throws {CommonMessageException}
|
|
5642
|
+
* @throws {ClientException}
|
|
5643
|
+
*/
|
|
5644
|
+
async update(taxonomyId, payload) {
|
|
5645
|
+
const url = this.parser.url("/backend/taxonomy/$taxonomy_id<[0-9]+|^~>", {
|
|
5646
|
+
"taxonomy_id": taxonomyId
|
|
5647
|
+
});
|
|
5648
|
+
let request = {
|
|
5649
|
+
url,
|
|
5650
|
+
method: "PUT",
|
|
5651
|
+
headers: {
|
|
5652
|
+
"Content-Type": "application/json"
|
|
5653
|
+
},
|
|
5654
|
+
params: this.parser.query({}, []),
|
|
5655
|
+
data: payload
|
|
5656
|
+
};
|
|
5657
|
+
const response = await this.httpClient.request(request);
|
|
5658
|
+
if (response.ok) {
|
|
5659
|
+
return await response.json();
|
|
5660
|
+
}
|
|
5661
|
+
const statusCode = response.status;
|
|
5662
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5663
|
+
throw new CommonMessageException(await response.json());
|
|
5664
|
+
}
|
|
5665
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5666
|
+
}
|
|
5667
|
+
};
|
|
5238
5668
|
|
|
5239
5669
|
// src/BackendTenantTag.ts
|
|
5240
|
-
import { TagAbstract as
|
|
5241
|
-
import { UnknownStatusCodeException as
|
|
5242
|
-
var BackendTenantTag = class extends
|
|
5670
|
+
import { TagAbstract as TagAbstract40 } from "sdkgen-client";
|
|
5671
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
|
|
5672
|
+
var BackendTenantTag = class extends TagAbstract40 {
|
|
5243
5673
|
/**
|
|
5244
5674
|
* Removes an existing tenant
|
|
5245
5675
|
*
|
|
@@ -5265,7 +5695,7 @@ var BackendTenantTag = class extends TagAbstract37 {
|
|
|
5265
5695
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5266
5696
|
throw new CommonMessageException(await response.json());
|
|
5267
5697
|
}
|
|
5268
|
-
throw new
|
|
5698
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5269
5699
|
}
|
|
5270
5700
|
/**
|
|
5271
5701
|
* Setup a new tenant
|
|
@@ -5292,14 +5722,14 @@ var BackendTenantTag = class extends TagAbstract37 {
|
|
|
5292
5722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5293
5723
|
throw new CommonMessageException(await response.json());
|
|
5294
5724
|
}
|
|
5295
|
-
throw new
|
|
5725
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5296
5726
|
}
|
|
5297
5727
|
};
|
|
5298
5728
|
|
|
5299
5729
|
// src/BackendTestTag.ts
|
|
5300
|
-
import { TagAbstract as
|
|
5301
|
-
import { UnknownStatusCodeException as
|
|
5302
|
-
var BackendTestTag = class extends
|
|
5730
|
+
import { TagAbstract as TagAbstract41 } from "sdkgen-client";
|
|
5731
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
|
|
5732
|
+
var BackendTestTag = class extends TagAbstract41 {
|
|
5303
5733
|
/**
|
|
5304
5734
|
* Returns a specific test
|
|
5305
5735
|
*
|
|
@@ -5325,7 +5755,7 @@ var BackendTestTag = class extends TagAbstract38 {
|
|
|
5325
5755
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5326
5756
|
throw new CommonMessageException(await response.json());
|
|
5327
5757
|
}
|
|
5328
|
-
throw new
|
|
5758
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5329
5759
|
}
|
|
5330
5760
|
/**
|
|
5331
5761
|
* Returns a paginated list of tests
|
|
@@ -5354,7 +5784,7 @@ var BackendTestTag = class extends TagAbstract38 {
|
|
|
5354
5784
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5355
5785
|
throw new CommonMessageException(await response.json());
|
|
5356
5786
|
}
|
|
5357
|
-
throw new
|
|
5787
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5358
5788
|
}
|
|
5359
5789
|
/**
|
|
5360
5790
|
* Refresh all tests
|
|
@@ -5379,7 +5809,7 @@ var BackendTestTag = class extends TagAbstract38 {
|
|
|
5379
5809
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5380
5810
|
throw new CommonMessageException(await response.json());
|
|
5381
5811
|
}
|
|
5382
|
-
throw new
|
|
5812
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5383
5813
|
}
|
|
5384
5814
|
/**
|
|
5385
5815
|
* Run all tests
|
|
@@ -5404,7 +5834,7 @@ var BackendTestTag = class extends TagAbstract38 {
|
|
|
5404
5834
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5405
5835
|
throw new CommonMessageException(await response.json());
|
|
5406
5836
|
}
|
|
5407
|
-
throw new
|
|
5837
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5408
5838
|
}
|
|
5409
5839
|
/**
|
|
5410
5840
|
* Updates an existing test
|
|
@@ -5434,14 +5864,14 @@ var BackendTestTag = class extends TagAbstract38 {
|
|
|
5434
5864
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5435
5865
|
throw new CommonMessageException(await response.json());
|
|
5436
5866
|
}
|
|
5437
|
-
throw new
|
|
5867
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5438
5868
|
}
|
|
5439
5869
|
};
|
|
5440
5870
|
|
|
5441
5871
|
// src/BackendTokenTag.ts
|
|
5442
|
-
import { TagAbstract as
|
|
5443
|
-
import { UnknownStatusCodeException as
|
|
5444
|
-
var BackendTokenTag = class extends
|
|
5872
|
+
import { TagAbstract as TagAbstract42 } from "sdkgen-client";
|
|
5873
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
|
|
5874
|
+
var BackendTokenTag = class extends TagAbstract42 {
|
|
5445
5875
|
/**
|
|
5446
5876
|
* Returns a specific token
|
|
5447
5877
|
*
|
|
@@ -5467,7 +5897,7 @@ var BackendTokenTag = class extends TagAbstract39 {
|
|
|
5467
5897
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5468
5898
|
throw new CommonMessageException(await response.json());
|
|
5469
5899
|
}
|
|
5470
|
-
throw new
|
|
5900
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5471
5901
|
}
|
|
5472
5902
|
/**
|
|
5473
5903
|
* Returns a paginated list of tokens
|
|
@@ -5503,14 +5933,14 @@ var BackendTokenTag = class extends TagAbstract39 {
|
|
|
5503
5933
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5504
5934
|
throw new CommonMessageException(await response.json());
|
|
5505
5935
|
}
|
|
5506
|
-
throw new
|
|
5936
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5507
5937
|
}
|
|
5508
5938
|
};
|
|
5509
5939
|
|
|
5510
5940
|
// src/BackendTransactionTag.ts
|
|
5511
|
-
import { TagAbstract as
|
|
5512
|
-
import { UnknownStatusCodeException as
|
|
5513
|
-
var BackendTransactionTag = class extends
|
|
5941
|
+
import { TagAbstract as TagAbstract43 } from "sdkgen-client";
|
|
5942
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
|
|
5943
|
+
var BackendTransactionTag = class extends TagAbstract43 {
|
|
5514
5944
|
/**
|
|
5515
5945
|
* Returns a specific transaction
|
|
5516
5946
|
*
|
|
@@ -5536,7 +5966,7 @@ var BackendTransactionTag = class extends TagAbstract40 {
|
|
|
5536
5966
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5537
5967
|
throw new CommonMessageException(await response.json());
|
|
5538
5968
|
}
|
|
5539
|
-
throw new
|
|
5969
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
5540
5970
|
}
|
|
5541
5971
|
/**
|
|
5542
5972
|
* Returns a paginated list of transactions
|
|
@@ -5545,7 +5975,7 @@ var BackendTransactionTag = class extends TagAbstract40 {
|
|
|
5545
5975
|
* @throws {CommonMessageException}
|
|
5546
5976
|
* @throws {ClientException}
|
|
5547
5977
|
*/
|
|
5548
|
-
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider) {
|
|
5978
|
+
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider, taxonomy) {
|
|
5549
5979
|
const url = this.parser.url("/backend/transaction", {});
|
|
5550
5980
|
let request = {
|
|
5551
5981
|
url,
|
|
@@ -5561,7 +5991,8 @@ var BackendTransactionTag = class extends TagAbstract40 {
|
|
|
5561
5991
|
"userId": userId,
|
|
5562
5992
|
"appId": appId,
|
|
5563
5993
|
"status": status,
|
|
5564
|
-
"provider": provider
|
|
5994
|
+
"provider": provider,
|
|
5995
|
+
"taxonomy": taxonomy
|
|
5565
5996
|
}, [])
|
|
5566
5997
|
};
|
|
5567
5998
|
const response = await this.httpClient.request(request);
|
|
@@ -5572,14 +6003,14 @@ var BackendTransactionTag = class extends TagAbstract40 {
|
|
|
5572
6003
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5573
6004
|
throw new CommonMessageException(await response.json());
|
|
5574
6005
|
}
|
|
5575
|
-
throw new
|
|
6006
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
5576
6007
|
}
|
|
5577
6008
|
};
|
|
5578
6009
|
|
|
5579
6010
|
// src/BackendTrashTag.ts
|
|
5580
|
-
import { TagAbstract as
|
|
5581
|
-
import { UnknownStatusCodeException as
|
|
5582
|
-
var BackendTrashTag = class extends
|
|
6011
|
+
import { TagAbstract as TagAbstract44 } from "sdkgen-client";
|
|
6012
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
|
|
6013
|
+
var BackendTrashTag = class extends TagAbstract44 {
|
|
5583
6014
|
/**
|
|
5584
6015
|
* Returns all deleted records by trash type
|
|
5585
6016
|
*
|
|
@@ -5609,7 +6040,7 @@ var BackendTrashTag = class extends TagAbstract41 {
|
|
|
5609
6040
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5610
6041
|
throw new CommonMessageException(await response.json());
|
|
5611
6042
|
}
|
|
5612
|
-
throw new
|
|
6043
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5613
6044
|
}
|
|
5614
6045
|
/**
|
|
5615
6046
|
* Returns all trash types
|
|
@@ -5634,7 +6065,7 @@ var BackendTrashTag = class extends TagAbstract41 {
|
|
|
5634
6065
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5635
6066
|
throw new CommonMessageException(await response.json());
|
|
5636
6067
|
}
|
|
5637
|
-
throw new
|
|
6068
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5638
6069
|
}
|
|
5639
6070
|
/**
|
|
5640
6071
|
* Restores a previously deleted record
|
|
@@ -5664,14 +6095,14 @@ var BackendTrashTag = class extends TagAbstract41 {
|
|
|
5664
6095
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5665
6096
|
throw new CommonMessageException(await response.json());
|
|
5666
6097
|
}
|
|
5667
|
-
throw new
|
|
6098
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5668
6099
|
}
|
|
5669
6100
|
};
|
|
5670
6101
|
|
|
5671
6102
|
// src/BackendTriggerTag.ts
|
|
5672
|
-
import { TagAbstract as
|
|
5673
|
-
import { UnknownStatusCodeException as
|
|
5674
|
-
var BackendTriggerTag = class extends
|
|
6103
|
+
import { TagAbstract as TagAbstract45 } from "sdkgen-client";
|
|
6104
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
|
|
6105
|
+
var BackendTriggerTag = class extends TagAbstract45 {
|
|
5675
6106
|
/**
|
|
5676
6107
|
* Creates a new trigger
|
|
5677
6108
|
*
|
|
@@ -5698,7 +6129,7 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5698
6129
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5699
6130
|
throw new CommonMessageException(await response.json());
|
|
5700
6131
|
}
|
|
5701
|
-
throw new
|
|
6132
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5702
6133
|
}
|
|
5703
6134
|
/**
|
|
5704
6135
|
* Deletes an existing trigger
|
|
@@ -5725,7 +6156,7 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5725
6156
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5726
6157
|
throw new CommonMessageException(await response.json());
|
|
5727
6158
|
}
|
|
5728
|
-
throw new
|
|
6159
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5729
6160
|
}
|
|
5730
6161
|
/**
|
|
5731
6162
|
* Returns a specific trigger
|
|
@@ -5752,7 +6183,7 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5752
6183
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5753
6184
|
throw new CommonMessageException(await response.json());
|
|
5754
6185
|
}
|
|
5755
|
-
throw new
|
|
6186
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5756
6187
|
}
|
|
5757
6188
|
/**
|
|
5758
6189
|
* Returns a paginated list of triggers
|
|
@@ -5761,7 +6192,7 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5761
6192
|
* @throws {CommonMessageException}
|
|
5762
6193
|
* @throws {ClientException}
|
|
5763
6194
|
*/
|
|
5764
|
-
async getAll(startIndex, count, search) {
|
|
6195
|
+
async getAll(startIndex, count, search, taxonomy) {
|
|
5765
6196
|
const url = this.parser.url("/backend/trigger", {});
|
|
5766
6197
|
let request = {
|
|
5767
6198
|
url,
|
|
@@ -5770,7 +6201,8 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5770
6201
|
params: this.parser.query({
|
|
5771
6202
|
"startIndex": startIndex,
|
|
5772
6203
|
"count": count,
|
|
5773
|
-
"search": search
|
|
6204
|
+
"search": search,
|
|
6205
|
+
"taxonomy": taxonomy
|
|
5774
6206
|
}, [])
|
|
5775
6207
|
};
|
|
5776
6208
|
const response = await this.httpClient.request(request);
|
|
@@ -5781,7 +6213,7 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5781
6213
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5782
6214
|
throw new CommonMessageException(await response.json());
|
|
5783
6215
|
}
|
|
5784
|
-
throw new
|
|
6216
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5785
6217
|
}
|
|
5786
6218
|
/**
|
|
5787
6219
|
* Updates an existing trigger
|
|
@@ -5811,14 +6243,14 @@ var BackendTriggerTag = class extends TagAbstract42 {
|
|
|
5811
6243
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5812
6244
|
throw new CommonMessageException(await response.json());
|
|
5813
6245
|
}
|
|
5814
|
-
throw new
|
|
6246
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
5815
6247
|
}
|
|
5816
6248
|
};
|
|
5817
6249
|
|
|
5818
6250
|
// src/BackendUserTag.ts
|
|
5819
|
-
import { TagAbstract as
|
|
5820
|
-
import { UnknownStatusCodeException as
|
|
5821
|
-
var BackendUserTag = class extends
|
|
6251
|
+
import { TagAbstract as TagAbstract46 } from "sdkgen-client";
|
|
6252
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
|
|
6253
|
+
var BackendUserTag = class extends TagAbstract46 {
|
|
5822
6254
|
/**
|
|
5823
6255
|
* Creates a new user
|
|
5824
6256
|
*
|
|
@@ -5845,7 +6277,7 @@ var BackendUserTag = class extends TagAbstract43 {
|
|
|
5845
6277
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5846
6278
|
throw new CommonMessageException(await response.json());
|
|
5847
6279
|
}
|
|
5848
|
-
throw new
|
|
6280
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5849
6281
|
}
|
|
5850
6282
|
/**
|
|
5851
6283
|
* Deletes an existing user
|
|
@@ -5872,7 +6304,7 @@ var BackendUserTag = class extends TagAbstract43 {
|
|
|
5872
6304
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5873
6305
|
throw new CommonMessageException(await response.json());
|
|
5874
6306
|
}
|
|
5875
|
-
throw new
|
|
6307
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5876
6308
|
}
|
|
5877
6309
|
/**
|
|
5878
6310
|
* Returns a specific user
|
|
@@ -5899,7 +6331,7 @@ var BackendUserTag = class extends TagAbstract43 {
|
|
|
5899
6331
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5900
6332
|
throw new CommonMessageException(await response.json());
|
|
5901
6333
|
}
|
|
5902
|
-
throw new
|
|
6334
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5903
6335
|
}
|
|
5904
6336
|
/**
|
|
5905
6337
|
* Returns a paginated list of users
|
|
@@ -5928,7 +6360,7 @@ var BackendUserTag = class extends TagAbstract43 {
|
|
|
5928
6360
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5929
6361
|
throw new CommonMessageException(await response.json());
|
|
5930
6362
|
}
|
|
5931
|
-
throw new
|
|
6363
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5932
6364
|
}
|
|
5933
6365
|
/**
|
|
5934
6366
|
* Resend the activation mail to the provided user
|
|
@@ -5958,7 +6390,7 @@ var BackendUserTag = class extends TagAbstract43 {
|
|
|
5958
6390
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5959
6391
|
throw new CommonMessageException(await response.json());
|
|
5960
6392
|
}
|
|
5961
|
-
throw new
|
|
6393
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5962
6394
|
}
|
|
5963
6395
|
/**
|
|
5964
6396
|
* Updates an existing user
|
|
@@ -5988,14 +6420,14 @@ var BackendUserTag = class extends TagAbstract43 {
|
|
|
5988
6420
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5989
6421
|
throw new CommonMessageException(await response.json());
|
|
5990
6422
|
}
|
|
5991
|
-
throw new
|
|
6423
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
5992
6424
|
}
|
|
5993
6425
|
};
|
|
5994
6426
|
|
|
5995
6427
|
// src/BackendWebhookTag.ts
|
|
5996
|
-
import { TagAbstract as
|
|
5997
|
-
import { UnknownStatusCodeException as
|
|
5998
|
-
var BackendWebhookTag = class extends
|
|
6428
|
+
import { TagAbstract as TagAbstract47 } from "sdkgen-client";
|
|
6429
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
|
|
6430
|
+
var BackendWebhookTag = class extends TagAbstract47 {
|
|
5999
6431
|
/**
|
|
6000
6432
|
* Creates a new webhook
|
|
6001
6433
|
*
|
|
@@ -6022,7 +6454,7 @@ var BackendWebhookTag = class extends TagAbstract44 {
|
|
|
6022
6454
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6023
6455
|
throw new CommonMessageException(await response.json());
|
|
6024
6456
|
}
|
|
6025
|
-
throw new
|
|
6457
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6026
6458
|
}
|
|
6027
6459
|
/**
|
|
6028
6460
|
* Deletes an existing webhook
|
|
@@ -6049,7 +6481,7 @@ var BackendWebhookTag = class extends TagAbstract44 {
|
|
|
6049
6481
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6050
6482
|
throw new CommonMessageException(await response.json());
|
|
6051
6483
|
}
|
|
6052
|
-
throw new
|
|
6484
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6053
6485
|
}
|
|
6054
6486
|
/**
|
|
6055
6487
|
* Returns a specific webhook
|
|
@@ -6076,7 +6508,7 @@ var BackendWebhookTag = class extends TagAbstract44 {
|
|
|
6076
6508
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6077
6509
|
throw new CommonMessageException(await response.json());
|
|
6078
6510
|
}
|
|
6079
|
-
throw new
|
|
6511
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6080
6512
|
}
|
|
6081
6513
|
/**
|
|
6082
6514
|
* Returns a paginated list of webhooks
|
|
@@ -6105,7 +6537,7 @@ var BackendWebhookTag = class extends TagAbstract44 {
|
|
|
6105
6537
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6106
6538
|
throw new CommonMessageException(await response.json());
|
|
6107
6539
|
}
|
|
6108
|
-
throw new
|
|
6540
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6109
6541
|
}
|
|
6110
6542
|
/**
|
|
6111
6543
|
* Updates an existing webhook
|
|
@@ -6135,12 +6567,12 @@ var BackendWebhookTag = class extends TagAbstract44 {
|
|
|
6135
6567
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6136
6568
|
throw new CommonMessageException(await response.json());
|
|
6137
6569
|
}
|
|
6138
|
-
throw new
|
|
6570
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6139
6571
|
}
|
|
6140
6572
|
};
|
|
6141
6573
|
|
|
6142
6574
|
// src/BackendTag.ts
|
|
6143
|
-
var BackendTag = class extends
|
|
6575
|
+
var BackendTag = class extends TagAbstract48 {
|
|
6144
6576
|
account() {
|
|
6145
6577
|
return new BackendAccountTag(
|
|
6146
6578
|
this.httpClient,
|
|
@@ -6153,6 +6585,12 @@ var BackendTag = class extends TagAbstract45 {
|
|
|
6153
6585
|
this.parser
|
|
6154
6586
|
);
|
|
6155
6587
|
}
|
|
6588
|
+
agent() {
|
|
6589
|
+
return new BackendAgentTag(
|
|
6590
|
+
this.httpClient,
|
|
6591
|
+
this.parser
|
|
6592
|
+
);
|
|
6593
|
+
}
|
|
6156
6594
|
app() {
|
|
6157
6595
|
return new BackendAppTag(
|
|
6158
6596
|
this.httpClient,
|
|
@@ -6303,6 +6741,12 @@ var BackendTag = class extends TagAbstract45 {
|
|
|
6303
6741
|
this.parser
|
|
6304
6742
|
);
|
|
6305
6743
|
}
|
|
6744
|
+
taxonomy() {
|
|
6745
|
+
return new BackendTaxonomyTag(
|
|
6746
|
+
this.httpClient,
|
|
6747
|
+
this.parser
|
|
6748
|
+
);
|
|
6749
|
+
}
|
|
6306
6750
|
tenant() {
|
|
6307
6751
|
return new BackendTenantTag(
|
|
6308
6752
|
this.httpClient,
|
|
@@ -6358,12 +6802,12 @@ import { ClientAbstract } from "sdkgen-client";
|
|
|
6358
6802
|
import { Anonymous } from "sdkgen-client";
|
|
6359
6803
|
|
|
6360
6804
|
// src/ConsumerTag.ts
|
|
6361
|
-
import { TagAbstract as
|
|
6805
|
+
import { TagAbstract as TagAbstract63 } from "sdkgen-client";
|
|
6362
6806
|
|
|
6363
6807
|
// src/ConsumerAccountTag.ts
|
|
6364
|
-
import { TagAbstract as
|
|
6365
|
-
import { UnknownStatusCodeException as
|
|
6366
|
-
var ConsumerAccountTag = class extends
|
|
6808
|
+
import { TagAbstract as TagAbstract49 } from "sdkgen-client";
|
|
6809
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
|
|
6810
|
+
var ConsumerAccountTag = class extends TagAbstract49 {
|
|
6367
6811
|
/**
|
|
6368
6812
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
6369
6813
|
*
|
|
@@ -6390,7 +6834,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6390
6834
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6391
6835
|
throw new CommonMessageException(await response.json());
|
|
6392
6836
|
}
|
|
6393
|
-
throw new
|
|
6837
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6394
6838
|
}
|
|
6395
6839
|
/**
|
|
6396
6840
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -6418,7 +6862,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6418
6862
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6419
6863
|
throw new CommonMessageException(await response.json());
|
|
6420
6864
|
}
|
|
6421
|
-
throw new
|
|
6865
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6422
6866
|
}
|
|
6423
6867
|
/**
|
|
6424
6868
|
* Change the password for the authenticated user
|
|
@@ -6446,7 +6890,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6446
6890
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6447
6891
|
throw new CommonMessageException(await response.json());
|
|
6448
6892
|
}
|
|
6449
|
-
throw new
|
|
6893
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6450
6894
|
}
|
|
6451
6895
|
/**
|
|
6452
6896
|
* Change the password after the password reset flow was started
|
|
@@ -6474,7 +6918,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6474
6918
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6475
6919
|
throw new CommonMessageException(await response.json());
|
|
6476
6920
|
}
|
|
6477
|
-
throw new
|
|
6921
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6478
6922
|
}
|
|
6479
6923
|
/**
|
|
6480
6924
|
* Returns a user data for the authenticated user
|
|
@@ -6499,7 +6943,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6499
6943
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6500
6944
|
throw new CommonMessageException(await response.json());
|
|
6501
6945
|
}
|
|
6502
|
-
throw new
|
|
6946
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6503
6947
|
}
|
|
6504
6948
|
/**
|
|
6505
6949
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -6527,7 +6971,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6527
6971
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6528
6972
|
throw new CommonMessageException(await response.json());
|
|
6529
6973
|
}
|
|
6530
|
-
throw new
|
|
6974
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6531
6975
|
}
|
|
6532
6976
|
/**
|
|
6533
6977
|
* User login by providing a username and password
|
|
@@ -6555,7 +6999,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6555
6999
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6556
7000
|
throw new CommonMessageException(await response.json());
|
|
6557
7001
|
}
|
|
6558
|
-
throw new
|
|
7002
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6559
7003
|
}
|
|
6560
7004
|
/**
|
|
6561
7005
|
* Refresh a previously obtained access token
|
|
@@ -6583,7 +7027,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6583
7027
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6584
7028
|
throw new CommonMessageException(await response.json());
|
|
6585
7029
|
}
|
|
6586
|
-
throw new
|
|
7030
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6587
7031
|
}
|
|
6588
7032
|
/**
|
|
6589
7033
|
* Register a new user account
|
|
@@ -6611,7 +7055,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6611
7055
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6612
7056
|
throw new CommonMessageException(await response.json());
|
|
6613
7057
|
}
|
|
6614
|
-
throw new
|
|
7058
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6615
7059
|
}
|
|
6616
7060
|
/**
|
|
6617
7061
|
* Start the password reset flow
|
|
@@ -6639,7 +7083,7 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6639
7083
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6640
7084
|
throw new CommonMessageException(await response.json());
|
|
6641
7085
|
}
|
|
6642
|
-
throw new
|
|
7086
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6643
7087
|
}
|
|
6644
7088
|
/**
|
|
6645
7089
|
* Updates user data for the authenticated user
|
|
@@ -6667,14 +7111,14 @@ var ConsumerAccountTag = class extends TagAbstract46 {
|
|
|
6667
7111
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6668
7112
|
throw new CommonMessageException(await response.json());
|
|
6669
7113
|
}
|
|
6670
|
-
throw new
|
|
7114
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6671
7115
|
}
|
|
6672
7116
|
};
|
|
6673
7117
|
|
|
6674
7118
|
// src/ConsumerAppTag.ts
|
|
6675
|
-
import { TagAbstract as
|
|
6676
|
-
import { UnknownStatusCodeException as
|
|
6677
|
-
var ConsumerAppTag = class extends
|
|
7119
|
+
import { TagAbstract as TagAbstract50 } from "sdkgen-client";
|
|
7120
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
|
|
7121
|
+
var ConsumerAppTag = class extends TagAbstract50 {
|
|
6678
7122
|
/**
|
|
6679
7123
|
* Creates a new app for the authenticated user
|
|
6680
7124
|
*
|
|
@@ -6701,7 +7145,7 @@ var ConsumerAppTag = class extends TagAbstract47 {
|
|
|
6701
7145
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6702
7146
|
throw new CommonMessageException(await response.json());
|
|
6703
7147
|
}
|
|
6704
|
-
throw new
|
|
7148
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6705
7149
|
}
|
|
6706
7150
|
/**
|
|
6707
7151
|
* Deletes an existing app for the authenticated user
|
|
@@ -6728,7 +7172,7 @@ var ConsumerAppTag = class extends TagAbstract47 {
|
|
|
6728
7172
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6729
7173
|
throw new CommonMessageException(await response.json());
|
|
6730
7174
|
}
|
|
6731
|
-
throw new
|
|
7175
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6732
7176
|
}
|
|
6733
7177
|
/**
|
|
6734
7178
|
* Returns a specific app for the authenticated user
|
|
@@ -6755,7 +7199,7 @@ var ConsumerAppTag = class extends TagAbstract47 {
|
|
|
6755
7199
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6756
7200
|
throw new CommonMessageException(await response.json());
|
|
6757
7201
|
}
|
|
6758
|
-
throw new
|
|
7202
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6759
7203
|
}
|
|
6760
7204
|
/**
|
|
6761
7205
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6784,7 +7228,7 @@ var ConsumerAppTag = class extends TagAbstract47 {
|
|
|
6784
7228
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6785
7229
|
throw new CommonMessageException(await response.json());
|
|
6786
7230
|
}
|
|
6787
|
-
throw new
|
|
7231
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6788
7232
|
}
|
|
6789
7233
|
/**
|
|
6790
7234
|
* Updates an existing app for the authenticated user
|
|
@@ -6814,14 +7258,14 @@ var ConsumerAppTag = class extends TagAbstract47 {
|
|
|
6814
7258
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6815
7259
|
throw new CommonMessageException(await response.json());
|
|
6816
7260
|
}
|
|
6817
|
-
throw new
|
|
7261
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6818
7262
|
}
|
|
6819
7263
|
};
|
|
6820
7264
|
|
|
6821
7265
|
// src/ConsumerEventTag.ts
|
|
6822
|
-
import { TagAbstract as
|
|
6823
|
-
import { UnknownStatusCodeException as
|
|
6824
|
-
var ConsumerEventTag = class extends
|
|
7266
|
+
import { TagAbstract as TagAbstract51 } from "sdkgen-client";
|
|
7267
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
|
|
7268
|
+
var ConsumerEventTag = class extends TagAbstract51 {
|
|
6825
7269
|
/**
|
|
6826
7270
|
* Returns a specific event for the authenticated user
|
|
6827
7271
|
*
|
|
@@ -6847,7 +7291,7 @@ var ConsumerEventTag = class extends TagAbstract48 {
|
|
|
6847
7291
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6848
7292
|
throw new CommonMessageException(await response.json());
|
|
6849
7293
|
}
|
|
6850
|
-
throw new
|
|
7294
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
6851
7295
|
}
|
|
6852
7296
|
/**
|
|
6853
7297
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6876,14 +7320,14 @@ var ConsumerEventTag = class extends TagAbstract48 {
|
|
|
6876
7320
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6877
7321
|
throw new CommonMessageException(await response.json());
|
|
6878
7322
|
}
|
|
6879
|
-
throw new
|
|
7323
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
6880
7324
|
}
|
|
6881
7325
|
};
|
|
6882
7326
|
|
|
6883
7327
|
// src/ConsumerFormTag.ts
|
|
6884
|
-
import { TagAbstract as
|
|
6885
|
-
import { UnknownStatusCodeException as
|
|
6886
|
-
var ConsumerFormTag = class extends
|
|
7328
|
+
import { TagAbstract as TagAbstract52 } from "sdkgen-client";
|
|
7329
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
|
|
7330
|
+
var ConsumerFormTag = class extends TagAbstract52 {
|
|
6887
7331
|
/**
|
|
6888
7332
|
* Returns a specific form for the authenticated user
|
|
6889
7333
|
*
|
|
@@ -6909,7 +7353,7 @@ var ConsumerFormTag = class extends TagAbstract49 {
|
|
|
6909
7353
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6910
7354
|
throw new CommonMessageException(await response.json());
|
|
6911
7355
|
}
|
|
6912
|
-
throw new
|
|
7356
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
6913
7357
|
}
|
|
6914
7358
|
/**
|
|
6915
7359
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -6938,14 +7382,14 @@ var ConsumerFormTag = class extends TagAbstract49 {
|
|
|
6938
7382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6939
7383
|
throw new CommonMessageException(await response.json());
|
|
6940
7384
|
}
|
|
6941
|
-
throw new
|
|
7385
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
6942
7386
|
}
|
|
6943
7387
|
};
|
|
6944
7388
|
|
|
6945
7389
|
// src/ConsumerGrantTag.ts
|
|
6946
|
-
import { TagAbstract as
|
|
6947
|
-
import { UnknownStatusCodeException as
|
|
6948
|
-
var ConsumerGrantTag = class extends
|
|
7390
|
+
import { TagAbstract as TagAbstract53 } from "sdkgen-client";
|
|
7391
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
|
|
7392
|
+
var ConsumerGrantTag = class extends TagAbstract53 {
|
|
6949
7393
|
/**
|
|
6950
7394
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
6951
7395
|
*
|
|
@@ -6971,7 +7415,7 @@ var ConsumerGrantTag = class extends TagAbstract50 {
|
|
|
6971
7415
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6972
7416
|
throw new CommonMessageException(await response.json());
|
|
6973
7417
|
}
|
|
6974
|
-
throw new
|
|
7418
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
6975
7419
|
}
|
|
6976
7420
|
/**
|
|
6977
7421
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -7000,14 +7444,14 @@ var ConsumerGrantTag = class extends TagAbstract50 {
|
|
|
7000
7444
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7001
7445
|
throw new CommonMessageException(await response.json());
|
|
7002
7446
|
}
|
|
7003
|
-
throw new
|
|
7447
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
7004
7448
|
}
|
|
7005
7449
|
};
|
|
7006
7450
|
|
|
7007
7451
|
// src/ConsumerIdentityTag.ts
|
|
7008
|
-
import { TagAbstract as
|
|
7009
|
-
import { UnknownStatusCodeException as
|
|
7010
|
-
var ConsumerIdentityTag = class extends
|
|
7452
|
+
import { TagAbstract as TagAbstract54 } from "sdkgen-client";
|
|
7453
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
|
|
7454
|
+
var ConsumerIdentityTag = class extends TagAbstract54 {
|
|
7011
7455
|
/**
|
|
7012
7456
|
* Identity callback endpoint to exchange an access token
|
|
7013
7457
|
*
|
|
@@ -7033,7 +7477,7 @@ var ConsumerIdentityTag = class extends TagAbstract51 {
|
|
|
7033
7477
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7034
7478
|
throw new CommonMessageException(await response.json());
|
|
7035
7479
|
}
|
|
7036
|
-
throw new
|
|
7480
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
7037
7481
|
}
|
|
7038
7482
|
/**
|
|
7039
7483
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -7061,7 +7505,7 @@ var ConsumerIdentityTag = class extends TagAbstract51 {
|
|
|
7061
7505
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7062
7506
|
throw new CommonMessageException(await response.json());
|
|
7063
7507
|
}
|
|
7064
|
-
throw new
|
|
7508
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
7065
7509
|
}
|
|
7066
7510
|
/**
|
|
7067
7511
|
* Redirect the user to the configured identity provider
|
|
@@ -7088,14 +7532,14 @@ var ConsumerIdentityTag = class extends TagAbstract51 {
|
|
|
7088
7532
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7089
7533
|
throw new CommonMessageException(await response.json());
|
|
7090
7534
|
}
|
|
7091
|
-
throw new
|
|
7535
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
7092
7536
|
}
|
|
7093
7537
|
};
|
|
7094
7538
|
|
|
7095
7539
|
// src/ConsumerLogTag.ts
|
|
7096
|
-
import { TagAbstract as
|
|
7097
|
-
import { UnknownStatusCodeException as
|
|
7098
|
-
var ConsumerLogTag = class extends
|
|
7540
|
+
import { TagAbstract as TagAbstract55 } from "sdkgen-client";
|
|
7541
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
|
|
7542
|
+
var ConsumerLogTag = class extends TagAbstract55 {
|
|
7099
7543
|
/**
|
|
7100
7544
|
* Returns a specific log for the authenticated user
|
|
7101
7545
|
*
|
|
@@ -7121,7 +7565,7 @@ var ConsumerLogTag = class extends TagAbstract52 {
|
|
|
7121
7565
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7122
7566
|
throw new CommonMessageException(await response.json());
|
|
7123
7567
|
}
|
|
7124
|
-
throw new
|
|
7568
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
7125
7569
|
}
|
|
7126
7570
|
/**
|
|
7127
7571
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -7150,14 +7594,14 @@ var ConsumerLogTag = class extends TagAbstract52 {
|
|
|
7150
7594
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7151
7595
|
throw new CommonMessageException(await response.json());
|
|
7152
7596
|
}
|
|
7153
|
-
throw new
|
|
7597
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
7154
7598
|
}
|
|
7155
7599
|
};
|
|
7156
7600
|
|
|
7157
7601
|
// src/ConsumerPageTag.ts
|
|
7158
|
-
import { TagAbstract as
|
|
7159
|
-
import { UnknownStatusCodeException as
|
|
7160
|
-
var ConsumerPageTag = class extends
|
|
7602
|
+
import { TagAbstract as TagAbstract56 } from "sdkgen-client";
|
|
7603
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
|
|
7604
|
+
var ConsumerPageTag = class extends TagAbstract56 {
|
|
7161
7605
|
/**
|
|
7162
7606
|
* Returns a specific page for the authenticated user
|
|
7163
7607
|
*
|
|
@@ -7183,7 +7627,7 @@ var ConsumerPageTag = class extends TagAbstract53 {
|
|
|
7183
7627
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7184
7628
|
throw new CommonMessageException(await response.json());
|
|
7185
7629
|
}
|
|
7186
|
-
throw new
|
|
7630
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7187
7631
|
}
|
|
7188
7632
|
/**
|
|
7189
7633
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -7212,14 +7656,14 @@ var ConsumerPageTag = class extends TagAbstract53 {
|
|
|
7212
7656
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7213
7657
|
throw new CommonMessageException(await response.json());
|
|
7214
7658
|
}
|
|
7215
|
-
throw new
|
|
7659
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7216
7660
|
}
|
|
7217
7661
|
};
|
|
7218
7662
|
|
|
7219
7663
|
// src/ConsumerPaymentTag.ts
|
|
7220
|
-
import { TagAbstract as
|
|
7221
|
-
import { UnknownStatusCodeException as
|
|
7222
|
-
var ConsumerPaymentTag = class extends
|
|
7664
|
+
import { TagAbstract as TagAbstract57 } from "sdkgen-client";
|
|
7665
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
|
|
7666
|
+
var ConsumerPaymentTag = class extends TagAbstract57 {
|
|
7223
7667
|
/**
|
|
7224
7668
|
* Start the checkout process for a specific plan
|
|
7225
7669
|
*
|
|
@@ -7248,7 +7692,7 @@ var ConsumerPaymentTag = class extends TagAbstract54 {
|
|
|
7248
7692
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7249
7693
|
throw new CommonMessageException(await response.json());
|
|
7250
7694
|
}
|
|
7251
|
-
throw new
|
|
7695
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7252
7696
|
}
|
|
7253
7697
|
/**
|
|
7254
7698
|
* Generates a payment portal link for the authenticated user
|
|
@@ -7278,14 +7722,14 @@ var ConsumerPaymentTag = class extends TagAbstract54 {
|
|
|
7278
7722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7279
7723
|
throw new CommonMessageException(await response.json());
|
|
7280
7724
|
}
|
|
7281
|
-
throw new
|
|
7725
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7282
7726
|
}
|
|
7283
7727
|
};
|
|
7284
7728
|
|
|
7285
7729
|
// src/ConsumerPlanTag.ts
|
|
7286
|
-
import { TagAbstract as
|
|
7287
|
-
import { UnknownStatusCodeException as
|
|
7288
|
-
var ConsumerPlanTag = class extends
|
|
7730
|
+
import { TagAbstract as TagAbstract58 } from "sdkgen-client";
|
|
7731
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
|
|
7732
|
+
var ConsumerPlanTag = class extends TagAbstract58 {
|
|
7289
7733
|
/**
|
|
7290
7734
|
* Returns a specific plan for the authenticated user
|
|
7291
7735
|
*
|
|
@@ -7311,7 +7755,7 @@ var ConsumerPlanTag = class extends TagAbstract55 {
|
|
|
7311
7755
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7312
7756
|
throw new CommonMessageException(await response.json());
|
|
7313
7757
|
}
|
|
7314
|
-
throw new
|
|
7758
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7315
7759
|
}
|
|
7316
7760
|
/**
|
|
7317
7761
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -7340,14 +7784,14 @@ var ConsumerPlanTag = class extends TagAbstract55 {
|
|
|
7340
7784
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7341
7785
|
throw new CommonMessageException(await response.json());
|
|
7342
7786
|
}
|
|
7343
|
-
throw new
|
|
7787
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7344
7788
|
}
|
|
7345
7789
|
};
|
|
7346
7790
|
|
|
7347
7791
|
// src/ConsumerScopeTag.ts
|
|
7348
|
-
import { TagAbstract as
|
|
7349
|
-
import { UnknownStatusCodeException as
|
|
7350
|
-
var ConsumerScopeTag = class extends
|
|
7792
|
+
import { TagAbstract as TagAbstract59 } from "sdkgen-client";
|
|
7793
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
|
|
7794
|
+
var ConsumerScopeTag = class extends TagAbstract59 {
|
|
7351
7795
|
/**
|
|
7352
7796
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
7353
7797
|
*
|
|
@@ -7375,7 +7819,7 @@ var ConsumerScopeTag = class extends TagAbstract56 {
|
|
|
7375
7819
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7376
7820
|
throw new CommonMessageException(await response.json());
|
|
7377
7821
|
}
|
|
7378
|
-
throw new
|
|
7822
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7379
7823
|
}
|
|
7380
7824
|
/**
|
|
7381
7825
|
* Returns all scopes by category
|
|
@@ -7400,14 +7844,14 @@ var ConsumerScopeTag = class extends TagAbstract56 {
|
|
|
7400
7844
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7401
7845
|
throw new CommonMessageException(await response.json());
|
|
7402
7846
|
}
|
|
7403
|
-
throw new
|
|
7847
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7404
7848
|
}
|
|
7405
7849
|
};
|
|
7406
7850
|
|
|
7407
7851
|
// src/ConsumerTokenTag.ts
|
|
7408
|
-
import { TagAbstract as
|
|
7409
|
-
import { UnknownStatusCodeException as
|
|
7410
|
-
var ConsumerTokenTag = class extends
|
|
7852
|
+
import { TagAbstract as TagAbstract60 } from "sdkgen-client";
|
|
7853
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException58 } from "sdkgen-client";
|
|
7854
|
+
var ConsumerTokenTag = class extends TagAbstract60 {
|
|
7411
7855
|
/**
|
|
7412
7856
|
* Creates a new token for the authenticated user
|
|
7413
7857
|
*
|
|
@@ -7434,7 +7878,7 @@ var ConsumerTokenTag = class extends TagAbstract57 {
|
|
|
7434
7878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7435
7879
|
throw new CommonMessageException(await response.json());
|
|
7436
7880
|
}
|
|
7437
|
-
throw new
|
|
7881
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7438
7882
|
}
|
|
7439
7883
|
/**
|
|
7440
7884
|
* Deletes an existing token for the authenticated user
|
|
@@ -7461,7 +7905,7 @@ var ConsumerTokenTag = class extends TagAbstract57 {
|
|
|
7461
7905
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7462
7906
|
throw new CommonMessageException(await response.json());
|
|
7463
7907
|
}
|
|
7464
|
-
throw new
|
|
7908
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7465
7909
|
}
|
|
7466
7910
|
/**
|
|
7467
7911
|
* Returns a specific token for the authenticated user
|
|
@@ -7488,7 +7932,7 @@ var ConsumerTokenTag = class extends TagAbstract57 {
|
|
|
7488
7932
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7489
7933
|
throw new CommonMessageException(await response.json());
|
|
7490
7934
|
}
|
|
7491
|
-
throw new
|
|
7935
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7492
7936
|
}
|
|
7493
7937
|
/**
|
|
7494
7938
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -7517,7 +7961,7 @@ var ConsumerTokenTag = class extends TagAbstract57 {
|
|
|
7517
7961
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7518
7962
|
throw new CommonMessageException(await response.json());
|
|
7519
7963
|
}
|
|
7520
|
-
throw new
|
|
7964
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7521
7965
|
}
|
|
7522
7966
|
/**
|
|
7523
7967
|
* Updates an existing token for the authenticated user
|
|
@@ -7547,14 +7991,14 @@ var ConsumerTokenTag = class extends TagAbstract57 {
|
|
|
7547
7991
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7548
7992
|
throw new CommonMessageException(await response.json());
|
|
7549
7993
|
}
|
|
7550
|
-
throw new
|
|
7994
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7551
7995
|
}
|
|
7552
7996
|
};
|
|
7553
7997
|
|
|
7554
7998
|
// src/ConsumerTransactionTag.ts
|
|
7555
|
-
import { TagAbstract as
|
|
7556
|
-
import { UnknownStatusCodeException as
|
|
7557
|
-
var ConsumerTransactionTag = class extends
|
|
7999
|
+
import { TagAbstract as TagAbstract61 } from "sdkgen-client";
|
|
8000
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException59 } from "sdkgen-client";
|
|
8001
|
+
var ConsumerTransactionTag = class extends TagAbstract61 {
|
|
7558
8002
|
/**
|
|
7559
8003
|
* Returns a specific transaction for the authenticated user
|
|
7560
8004
|
*
|
|
@@ -7580,7 +8024,7 @@ var ConsumerTransactionTag = class extends TagAbstract58 {
|
|
|
7580
8024
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7581
8025
|
throw new CommonMessageException(await response.json());
|
|
7582
8026
|
}
|
|
7583
|
-
throw new
|
|
8027
|
+
throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
|
|
7584
8028
|
}
|
|
7585
8029
|
/**
|
|
7586
8030
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -7609,14 +8053,14 @@ var ConsumerTransactionTag = class extends TagAbstract58 {
|
|
|
7609
8053
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7610
8054
|
throw new CommonMessageException(await response.json());
|
|
7611
8055
|
}
|
|
7612
|
-
throw new
|
|
8056
|
+
throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
|
|
7613
8057
|
}
|
|
7614
8058
|
};
|
|
7615
8059
|
|
|
7616
8060
|
// src/ConsumerWebhookTag.ts
|
|
7617
|
-
import { TagAbstract as
|
|
7618
|
-
import { UnknownStatusCodeException as
|
|
7619
|
-
var ConsumerWebhookTag = class extends
|
|
8061
|
+
import { TagAbstract as TagAbstract62 } from "sdkgen-client";
|
|
8062
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException60 } from "sdkgen-client";
|
|
8063
|
+
var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
7620
8064
|
/**
|
|
7621
8065
|
* Creates a new webhook for the authenticated user
|
|
7622
8066
|
*
|
|
@@ -7643,7 +8087,7 @@ var ConsumerWebhookTag = class extends TagAbstract59 {
|
|
|
7643
8087
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7644
8088
|
throw new CommonMessageException(await response.json());
|
|
7645
8089
|
}
|
|
7646
|
-
throw new
|
|
8090
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7647
8091
|
}
|
|
7648
8092
|
/**
|
|
7649
8093
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -7670,7 +8114,7 @@ var ConsumerWebhookTag = class extends TagAbstract59 {
|
|
|
7670
8114
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7671
8115
|
throw new CommonMessageException(await response.json());
|
|
7672
8116
|
}
|
|
7673
|
-
throw new
|
|
8117
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7674
8118
|
}
|
|
7675
8119
|
/**
|
|
7676
8120
|
* Returns a specific webhook for the authenticated user
|
|
@@ -7697,7 +8141,7 @@ var ConsumerWebhookTag = class extends TagAbstract59 {
|
|
|
7697
8141
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7698
8142
|
throw new CommonMessageException(await response.json());
|
|
7699
8143
|
}
|
|
7700
|
-
throw new
|
|
8144
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7701
8145
|
}
|
|
7702
8146
|
/**
|
|
7703
8147
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -7726,7 +8170,7 @@ var ConsumerWebhookTag = class extends TagAbstract59 {
|
|
|
7726
8170
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7727
8171
|
throw new CommonMessageException(await response.json());
|
|
7728
8172
|
}
|
|
7729
|
-
throw new
|
|
8173
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7730
8174
|
}
|
|
7731
8175
|
/**
|
|
7732
8176
|
* Updates an existing webhook for the authenticated user
|
|
@@ -7756,12 +8200,12 @@ var ConsumerWebhookTag = class extends TagAbstract59 {
|
|
|
7756
8200
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7757
8201
|
throw new CommonMessageException(await response.json());
|
|
7758
8202
|
}
|
|
7759
|
-
throw new
|
|
8203
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7760
8204
|
}
|
|
7761
8205
|
};
|
|
7762
8206
|
|
|
7763
8207
|
// src/ConsumerTag.ts
|
|
7764
|
-
var ConsumerTag = class extends
|
|
8208
|
+
var ConsumerTag = class extends TagAbstract63 {
|
|
7765
8209
|
account() {
|
|
7766
8210
|
return new ConsumerAccountTag(
|
|
7767
8211
|
this.httpClient,
|
|
@@ -7849,12 +8293,12 @@ var ConsumerTag = class extends TagAbstract60 {
|
|
|
7849
8293
|
};
|
|
7850
8294
|
|
|
7851
8295
|
// src/SystemTag.ts
|
|
7852
|
-
import { TagAbstract as
|
|
8296
|
+
import { TagAbstract as TagAbstract67 } from "sdkgen-client";
|
|
7853
8297
|
|
|
7854
8298
|
// src/SystemConnectionTag.ts
|
|
7855
|
-
import { TagAbstract as
|
|
7856
|
-
import { UnknownStatusCodeException as
|
|
7857
|
-
var SystemConnectionTag = class extends
|
|
8299
|
+
import { TagAbstract as TagAbstract64 } from "sdkgen-client";
|
|
8300
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException61 } from "sdkgen-client";
|
|
8301
|
+
var SystemConnectionTag = class extends TagAbstract64 {
|
|
7858
8302
|
/**
|
|
7859
8303
|
* Connection OAuth2 callback to authorize a connection
|
|
7860
8304
|
*
|
|
@@ -7880,14 +8324,14 @@ var SystemConnectionTag = class extends TagAbstract61 {
|
|
|
7880
8324
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7881
8325
|
throw new CommonMessageException(await response.json());
|
|
7882
8326
|
}
|
|
7883
|
-
throw new
|
|
8327
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7884
8328
|
}
|
|
7885
8329
|
};
|
|
7886
8330
|
|
|
7887
8331
|
// src/SystemMetaTag.ts
|
|
7888
|
-
import { TagAbstract as
|
|
7889
|
-
import { UnknownStatusCodeException as
|
|
7890
|
-
var SystemMetaTag = class extends
|
|
8332
|
+
import { TagAbstract as TagAbstract65 } from "sdkgen-client";
|
|
8333
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException62 } from "sdkgen-client";
|
|
8334
|
+
var SystemMetaTag = class extends TagAbstract65 {
|
|
7891
8335
|
/**
|
|
7892
8336
|
* Returns meta information and links about the current installed Fusio version
|
|
7893
8337
|
*
|
|
@@ -7911,7 +8355,7 @@ var SystemMetaTag = class extends TagAbstract62 {
|
|
|
7911
8355
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7912
8356
|
throw new CommonMessageException(await response.json());
|
|
7913
8357
|
}
|
|
7914
|
-
throw new
|
|
8358
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7915
8359
|
}
|
|
7916
8360
|
/**
|
|
7917
8361
|
* Debug endpoint which returns the provided data
|
|
@@ -7939,7 +8383,7 @@ var SystemMetaTag = class extends TagAbstract62 {
|
|
|
7939
8383
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7940
8384
|
throw new CommonMessageException(await response.json());
|
|
7941
8385
|
}
|
|
7942
|
-
throw new
|
|
8386
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7943
8387
|
}
|
|
7944
8388
|
/**
|
|
7945
8389
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -7964,7 +8408,7 @@ var SystemMetaTag = class extends TagAbstract62 {
|
|
|
7964
8408
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7965
8409
|
throw new CommonMessageException(await response.json());
|
|
7966
8410
|
}
|
|
7967
|
-
throw new
|
|
8411
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7968
8412
|
}
|
|
7969
8413
|
/**
|
|
7970
8414
|
* Returns all available routes
|
|
@@ -7989,7 +8433,7 @@ var SystemMetaTag = class extends TagAbstract62 {
|
|
|
7989
8433
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7990
8434
|
throw new CommonMessageException(await response.json());
|
|
7991
8435
|
}
|
|
7992
|
-
throw new
|
|
8436
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
7993
8437
|
}
|
|
7994
8438
|
/**
|
|
7995
8439
|
* Returns details of a specific schema
|
|
@@ -8016,14 +8460,14 @@ var SystemMetaTag = class extends TagAbstract62 {
|
|
|
8016
8460
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8017
8461
|
throw new CommonMessageException(await response.json());
|
|
8018
8462
|
}
|
|
8019
|
-
throw new
|
|
8463
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
8020
8464
|
}
|
|
8021
8465
|
};
|
|
8022
8466
|
|
|
8023
8467
|
// src/SystemPaymentTag.ts
|
|
8024
|
-
import { TagAbstract as
|
|
8025
|
-
import { UnknownStatusCodeException as
|
|
8026
|
-
var SystemPaymentTag = class extends
|
|
8468
|
+
import { TagAbstract as TagAbstract66 } from "sdkgen-client";
|
|
8469
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException63 } from "sdkgen-client";
|
|
8470
|
+
var SystemPaymentTag = class extends TagAbstract66 {
|
|
8027
8471
|
/**
|
|
8028
8472
|
* Payment webhook endpoint after successful purchase of a plan
|
|
8029
8473
|
*
|
|
@@ -8049,12 +8493,12 @@ var SystemPaymentTag = class extends TagAbstract63 {
|
|
|
8049
8493
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8050
8494
|
throw new CommonMessageException(await response.json());
|
|
8051
8495
|
}
|
|
8052
|
-
throw new
|
|
8496
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
8053
8497
|
}
|
|
8054
8498
|
};
|
|
8055
8499
|
|
|
8056
8500
|
// src/SystemTag.ts
|
|
8057
|
-
var SystemTag = class extends
|
|
8501
|
+
var SystemTag = class extends TagAbstract67 {
|
|
8058
8502
|
connection() {
|
|
8059
8503
|
return new SystemConnectionTag(
|
|
8060
8504
|
this.httpClient,
|
|
@@ -8109,6 +8553,8 @@ export {
|
|
|
8109
8553
|
AuthorizationTag,
|
|
8110
8554
|
BackendAccountTag,
|
|
8111
8555
|
BackendActionTag,
|
|
8556
|
+
BackendAgentMessageTag,
|
|
8557
|
+
BackendAgentTag,
|
|
8112
8558
|
BackendAppTag,
|
|
8113
8559
|
BackendAuditTag,
|
|
8114
8560
|
BackendBackupTag,
|
|
@@ -8143,6 +8589,7 @@ export {
|
|
|
8143
8589
|
BackendSdkTag,
|
|
8144
8590
|
BackendStatisticTag,
|
|
8145
8591
|
BackendTag,
|
|
8592
|
+
BackendTaxonomyTag,
|
|
8146
8593
|
BackendTenantTag,
|
|
8147
8594
|
BackendTestTag,
|
|
8148
8595
|
BackendTokenTag,
|