fusio-sdk 7.0.7 → 7.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +409 -197
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +146 -1
- package/dist/index.d.ts +146 -1
- package/dist/index.js +402 -193
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4815,10 +4815,69 @@ var BackendSdkTag = class extends TagAbstract37 {
|
|
|
4815
4815
|
}
|
|
4816
4816
|
};
|
|
4817
4817
|
|
|
4818
|
-
// src/
|
|
4818
|
+
// src/BackendSpecificationTag.ts
|
|
4819
4819
|
import { TagAbstract as TagAbstract38 } from "sdkgen-client";
|
|
4820
4820
|
import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
|
|
4821
|
-
var
|
|
4821
|
+
var BackendSpecificationTag = class extends TagAbstract38 {
|
|
4822
|
+
/**
|
|
4823
|
+
* Returns the TypeHub specification
|
|
4824
|
+
*
|
|
4825
|
+
* @returns {Promise<BackendSpecificationGet>}
|
|
4826
|
+
* @throws {CommonMessageException}
|
|
4827
|
+
* @throws {ClientException}
|
|
4828
|
+
*/
|
|
4829
|
+
async get() {
|
|
4830
|
+
const url = this.parser.url("/backend/specification", {});
|
|
4831
|
+
let request = {
|
|
4832
|
+
url,
|
|
4833
|
+
method: "GET",
|
|
4834
|
+
headers: {},
|
|
4835
|
+
params: this.parser.query({}, [])
|
|
4836
|
+
};
|
|
4837
|
+
const response = await this.httpClient.request(request);
|
|
4838
|
+
if (response.ok) {
|
|
4839
|
+
return await response.json();
|
|
4840
|
+
}
|
|
4841
|
+
const statusCode = response.status;
|
|
4842
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4843
|
+
throw new CommonMessageException(await response.json());
|
|
4844
|
+
}
|
|
4845
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4846
|
+
}
|
|
4847
|
+
/**
|
|
4848
|
+
* Publish the specification
|
|
4849
|
+
*
|
|
4850
|
+
* @returns {Promise<CommonMessage>}
|
|
4851
|
+
* @throws {CommonMessageException}
|
|
4852
|
+
* @throws {ClientException}
|
|
4853
|
+
*/
|
|
4854
|
+
async publish(payload) {
|
|
4855
|
+
const url = this.parser.url("/backend/specification", {});
|
|
4856
|
+
let request = {
|
|
4857
|
+
url,
|
|
4858
|
+
method: "POST",
|
|
4859
|
+
headers: {
|
|
4860
|
+
"Content-Type": "application/json"
|
|
4861
|
+
},
|
|
4862
|
+
params: this.parser.query({}, []),
|
|
4863
|
+
data: payload
|
|
4864
|
+
};
|
|
4865
|
+
const response = await this.httpClient.request(request);
|
|
4866
|
+
if (response.ok) {
|
|
4867
|
+
return await response.json();
|
|
4868
|
+
}
|
|
4869
|
+
const statusCode = response.status;
|
|
4870
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4871
|
+
throw new CommonMessageException(await response.json());
|
|
4872
|
+
}
|
|
4873
|
+
throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
|
|
4874
|
+
}
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
// src/BackendStatisticTag.ts
|
|
4878
|
+
import { TagAbstract as TagAbstract39 } from "sdkgen-client";
|
|
4879
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
|
|
4880
|
+
var BackendStatisticTag = class extends TagAbstract39 {
|
|
4822
4881
|
/**
|
|
4823
4882
|
* Returns a statistic containing the activities per user
|
|
4824
4883
|
*
|
|
@@ -4857,7 +4916,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
4857
4916
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4858
4917
|
throw new CommonMessageException(await response.json());
|
|
4859
4918
|
}
|
|
4860
|
-
throw new
|
|
4919
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
4861
4920
|
}
|
|
4862
4921
|
/**
|
|
4863
4922
|
* Returns a statistic containing the request count
|
|
@@ -4897,7 +4956,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
4897
4956
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4898
4957
|
throw new CommonMessageException(await response.json());
|
|
4899
4958
|
}
|
|
4900
|
-
throw new
|
|
4959
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
4901
4960
|
}
|
|
4902
4961
|
/**
|
|
4903
4962
|
* Returns a statistic containing the errors per operation
|
|
@@ -4937,7 +4996,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
4937
4996
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4938
4997
|
throw new CommonMessageException(await response.json());
|
|
4939
4998
|
}
|
|
4940
|
-
throw new
|
|
4999
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
4941
5000
|
}
|
|
4942
5001
|
/**
|
|
4943
5002
|
* Returns a statistic containing the incoming requests
|
|
@@ -4977,7 +5036,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
4977
5036
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4978
5037
|
throw new CommonMessageException(await response.json());
|
|
4979
5038
|
}
|
|
4980
|
-
throw new
|
|
5039
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
4981
5040
|
}
|
|
4982
5041
|
/**
|
|
4983
5042
|
* Returns a statistic containing the incoming transactions
|
|
@@ -5017,7 +5076,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5017
5076
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5018
5077
|
throw new CommonMessageException(await response.json());
|
|
5019
5078
|
}
|
|
5020
|
-
throw new
|
|
5079
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5021
5080
|
}
|
|
5022
5081
|
/**
|
|
5023
5082
|
* Returns a statistic containing the issues tokens
|
|
@@ -5057,7 +5116,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5057
5116
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5058
5117
|
throw new CommonMessageException(await response.json());
|
|
5059
5118
|
}
|
|
5060
|
-
throw new
|
|
5119
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5061
5120
|
}
|
|
5062
5121
|
/**
|
|
5063
5122
|
* Returns a statistic containing the most used activities
|
|
@@ -5097,7 +5156,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5097
5156
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5098
5157
|
throw new CommonMessageException(await response.json());
|
|
5099
5158
|
}
|
|
5100
|
-
throw new
|
|
5159
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5101
5160
|
}
|
|
5102
5161
|
/**
|
|
5103
5162
|
* Returns a statistic containing the most used apps
|
|
@@ -5137,7 +5196,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5137
5196
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5138
5197
|
throw new CommonMessageException(await response.json());
|
|
5139
5198
|
}
|
|
5140
|
-
throw new
|
|
5199
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5141
5200
|
}
|
|
5142
5201
|
/**
|
|
5143
5202
|
* Returns a statistic containing the most used operations
|
|
@@ -5177,7 +5236,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5177
5236
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5178
5237
|
throw new CommonMessageException(await response.json());
|
|
5179
5238
|
}
|
|
5180
|
-
throw new
|
|
5239
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5181
5240
|
}
|
|
5182
5241
|
/**
|
|
5183
5242
|
* Returns a statistic containing the requests per ip
|
|
@@ -5217,7 +5276,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5217
5276
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5218
5277
|
throw new CommonMessageException(await response.json());
|
|
5219
5278
|
}
|
|
5220
|
-
throw new
|
|
5279
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5221
5280
|
}
|
|
5222
5281
|
/**
|
|
5223
5282
|
* Returns a statistic containing the requests per operation
|
|
@@ -5257,7 +5316,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5257
5316
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5258
5317
|
throw new CommonMessageException(await response.json());
|
|
5259
5318
|
}
|
|
5260
|
-
throw new
|
|
5319
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5261
5320
|
}
|
|
5262
5321
|
/**
|
|
5263
5322
|
* Returns a statistic containing the requests per user
|
|
@@ -5297,7 +5356,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5297
5356
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5298
5357
|
throw new CommonMessageException(await response.json());
|
|
5299
5358
|
}
|
|
5300
|
-
throw new
|
|
5359
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5301
5360
|
}
|
|
5302
5361
|
/**
|
|
5303
5362
|
* Returns a statistic containing the test coverage
|
|
@@ -5322,7 +5381,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5322
5381
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5323
5382
|
throw new CommonMessageException(await response.json());
|
|
5324
5383
|
}
|
|
5325
|
-
throw new
|
|
5384
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5326
5385
|
}
|
|
5327
5386
|
/**
|
|
5328
5387
|
* Returns a statistic containing the time average
|
|
@@ -5362,7 +5421,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5362
5421
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5363
5422
|
throw new CommonMessageException(await response.json());
|
|
5364
5423
|
}
|
|
5365
|
-
throw new
|
|
5424
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5366
5425
|
}
|
|
5367
5426
|
/**
|
|
5368
5427
|
* Returns a statistic containing the time per operation
|
|
@@ -5402,7 +5461,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5402
5461
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5403
5462
|
throw new CommonMessageException(await response.json());
|
|
5404
5463
|
}
|
|
5405
|
-
throw new
|
|
5464
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5406
5465
|
}
|
|
5407
5466
|
/**
|
|
5408
5467
|
* Returns a statistic containing the used points
|
|
@@ -5442,7 +5501,7 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5442
5501
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5443
5502
|
throw new CommonMessageException(await response.json());
|
|
5444
5503
|
}
|
|
5445
|
-
throw new
|
|
5504
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5446
5505
|
}
|
|
5447
5506
|
/**
|
|
5448
5507
|
* Returns a statistic containing the user registrations
|
|
@@ -5482,17 +5541,17 @@ var BackendStatisticTag = class extends TagAbstract38 {
|
|
|
5482
5541
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5483
5542
|
throw new CommonMessageException(await response.json());
|
|
5484
5543
|
}
|
|
5485
|
-
throw new
|
|
5544
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5486
5545
|
}
|
|
5487
5546
|
};
|
|
5488
5547
|
|
|
5489
5548
|
// src/BackendTag.ts
|
|
5490
|
-
import { TagAbstract as
|
|
5549
|
+
import { TagAbstract as TagAbstract49 } from "sdkgen-client";
|
|
5491
5550
|
|
|
5492
5551
|
// src/BackendTaxonomyTag.ts
|
|
5493
|
-
import { TagAbstract as
|
|
5494
|
-
import { UnknownStatusCodeException as
|
|
5495
|
-
var BackendTaxonomyTag = class extends
|
|
5552
|
+
import { TagAbstract as TagAbstract40 } from "sdkgen-client";
|
|
5553
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
|
|
5554
|
+
var BackendTaxonomyTag = class extends TagAbstract40 {
|
|
5496
5555
|
/**
|
|
5497
5556
|
* Creates a new taxonomy
|
|
5498
5557
|
*
|
|
@@ -5519,7 +5578,7 @@ var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
|
5519
5578
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5520
5579
|
throw new CommonMessageException(await response.json());
|
|
5521
5580
|
}
|
|
5522
|
-
throw new
|
|
5581
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5523
5582
|
}
|
|
5524
5583
|
/**
|
|
5525
5584
|
* Deletes an existing taxonomy
|
|
@@ -5546,7 +5605,7 @@ var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
|
5546
5605
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5547
5606
|
throw new CommonMessageException(await response.json());
|
|
5548
5607
|
}
|
|
5549
|
-
throw new
|
|
5608
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5550
5609
|
}
|
|
5551
5610
|
/**
|
|
5552
5611
|
* Returns a specific taxonomy
|
|
@@ -5573,7 +5632,7 @@ var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
|
5573
5632
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5574
5633
|
throw new CommonMessageException(await response.json());
|
|
5575
5634
|
}
|
|
5576
|
-
throw new
|
|
5635
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5577
5636
|
}
|
|
5578
5637
|
/**
|
|
5579
5638
|
* Returns a paginated list of taxonomies
|
|
@@ -5602,7 +5661,7 @@ var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
|
5602
5661
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5603
5662
|
throw new CommonMessageException(await response.json());
|
|
5604
5663
|
}
|
|
5605
|
-
throw new
|
|
5664
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5606
5665
|
}
|
|
5607
5666
|
/**
|
|
5608
5667
|
* Moves the provided ids to the taxonomy
|
|
@@ -5632,7 +5691,7 @@ var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
|
5632
5691
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5633
5692
|
throw new CommonMessageException(await response.json());
|
|
5634
5693
|
}
|
|
5635
|
-
throw new
|
|
5694
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5636
5695
|
}
|
|
5637
5696
|
/**
|
|
5638
5697
|
* Updates an existing taxonomy
|
|
@@ -5662,14 +5721,14 @@ var BackendTaxonomyTag = class extends TagAbstract39 {
|
|
|
5662
5721
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5663
5722
|
throw new CommonMessageException(await response.json());
|
|
5664
5723
|
}
|
|
5665
|
-
throw new
|
|
5724
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5666
5725
|
}
|
|
5667
5726
|
};
|
|
5668
5727
|
|
|
5669
5728
|
// src/BackendTenantTag.ts
|
|
5670
|
-
import { TagAbstract as
|
|
5671
|
-
import { UnknownStatusCodeException as
|
|
5672
|
-
var BackendTenantTag = class extends
|
|
5729
|
+
import { TagAbstract as TagAbstract41 } from "sdkgen-client";
|
|
5730
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
|
|
5731
|
+
var BackendTenantTag = class extends TagAbstract41 {
|
|
5673
5732
|
/**
|
|
5674
5733
|
* Removes an existing tenant
|
|
5675
5734
|
*
|
|
@@ -5695,7 +5754,7 @@ var BackendTenantTag = class extends TagAbstract40 {
|
|
|
5695
5754
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5696
5755
|
throw new CommonMessageException(await response.json());
|
|
5697
5756
|
}
|
|
5698
|
-
throw new
|
|
5757
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5699
5758
|
}
|
|
5700
5759
|
/**
|
|
5701
5760
|
* Setup a new tenant
|
|
@@ -5722,14 +5781,14 @@ var BackendTenantTag = class extends TagAbstract40 {
|
|
|
5722
5781
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5723
5782
|
throw new CommonMessageException(await response.json());
|
|
5724
5783
|
}
|
|
5725
|
-
throw new
|
|
5784
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5726
5785
|
}
|
|
5727
5786
|
};
|
|
5728
5787
|
|
|
5729
5788
|
// src/BackendTestTag.ts
|
|
5730
|
-
import { TagAbstract as
|
|
5731
|
-
import { UnknownStatusCodeException as
|
|
5732
|
-
var BackendTestTag = class extends
|
|
5789
|
+
import { TagAbstract as TagAbstract42 } from "sdkgen-client";
|
|
5790
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
|
|
5791
|
+
var BackendTestTag = class extends TagAbstract42 {
|
|
5733
5792
|
/**
|
|
5734
5793
|
* Returns a specific test
|
|
5735
5794
|
*
|
|
@@ -5755,7 +5814,7 @@ var BackendTestTag = class extends TagAbstract41 {
|
|
|
5755
5814
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5756
5815
|
throw new CommonMessageException(await response.json());
|
|
5757
5816
|
}
|
|
5758
|
-
throw new
|
|
5817
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5759
5818
|
}
|
|
5760
5819
|
/**
|
|
5761
5820
|
* Returns a paginated list of tests
|
|
@@ -5784,7 +5843,7 @@ var BackendTestTag = class extends TagAbstract41 {
|
|
|
5784
5843
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5785
5844
|
throw new CommonMessageException(await response.json());
|
|
5786
5845
|
}
|
|
5787
|
-
throw new
|
|
5846
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5788
5847
|
}
|
|
5789
5848
|
/**
|
|
5790
5849
|
* Refresh all tests
|
|
@@ -5809,7 +5868,7 @@ var BackendTestTag = class extends TagAbstract41 {
|
|
|
5809
5868
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5810
5869
|
throw new CommonMessageException(await response.json());
|
|
5811
5870
|
}
|
|
5812
|
-
throw new
|
|
5871
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5813
5872
|
}
|
|
5814
5873
|
/**
|
|
5815
5874
|
* Run all tests
|
|
@@ -5834,7 +5893,7 @@ var BackendTestTag = class extends TagAbstract41 {
|
|
|
5834
5893
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5835
5894
|
throw new CommonMessageException(await response.json());
|
|
5836
5895
|
}
|
|
5837
|
-
throw new
|
|
5896
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5838
5897
|
}
|
|
5839
5898
|
/**
|
|
5840
5899
|
* Updates an existing test
|
|
@@ -5864,14 +5923,14 @@ var BackendTestTag = class extends TagAbstract41 {
|
|
|
5864
5923
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5865
5924
|
throw new CommonMessageException(await response.json());
|
|
5866
5925
|
}
|
|
5867
|
-
throw new
|
|
5926
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5868
5927
|
}
|
|
5869
5928
|
};
|
|
5870
5929
|
|
|
5871
5930
|
// src/BackendTokenTag.ts
|
|
5872
|
-
import { TagAbstract as
|
|
5873
|
-
import { UnknownStatusCodeException as
|
|
5874
|
-
var BackendTokenTag = class extends
|
|
5931
|
+
import { TagAbstract as TagAbstract43 } from "sdkgen-client";
|
|
5932
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
|
|
5933
|
+
var BackendTokenTag = class extends TagAbstract43 {
|
|
5875
5934
|
/**
|
|
5876
5935
|
* Returns a specific token
|
|
5877
5936
|
*
|
|
@@ -5897,7 +5956,7 @@ var BackendTokenTag = class extends TagAbstract42 {
|
|
|
5897
5956
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5898
5957
|
throw new CommonMessageException(await response.json());
|
|
5899
5958
|
}
|
|
5900
|
-
throw new
|
|
5959
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
5901
5960
|
}
|
|
5902
5961
|
/**
|
|
5903
5962
|
* Returns a paginated list of tokens
|
|
@@ -5933,14 +5992,14 @@ var BackendTokenTag = class extends TagAbstract42 {
|
|
|
5933
5992
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5934
5993
|
throw new CommonMessageException(await response.json());
|
|
5935
5994
|
}
|
|
5936
|
-
throw new
|
|
5995
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
5937
5996
|
}
|
|
5938
5997
|
};
|
|
5939
5998
|
|
|
5940
5999
|
// src/BackendTransactionTag.ts
|
|
5941
|
-
import { TagAbstract as
|
|
5942
|
-
import { UnknownStatusCodeException as
|
|
5943
|
-
var BackendTransactionTag = class extends
|
|
6000
|
+
import { TagAbstract as TagAbstract44 } from "sdkgen-client";
|
|
6001
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
|
|
6002
|
+
var BackendTransactionTag = class extends TagAbstract44 {
|
|
5944
6003
|
/**
|
|
5945
6004
|
* Returns a specific transaction
|
|
5946
6005
|
*
|
|
@@ -5966,7 +6025,7 @@ var BackendTransactionTag = class extends TagAbstract43 {
|
|
|
5966
6025
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5967
6026
|
throw new CommonMessageException(await response.json());
|
|
5968
6027
|
}
|
|
5969
|
-
throw new
|
|
6028
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
5970
6029
|
}
|
|
5971
6030
|
/**
|
|
5972
6031
|
* Returns a paginated list of transactions
|
|
@@ -6003,14 +6062,14 @@ var BackendTransactionTag = class extends TagAbstract43 {
|
|
|
6003
6062
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6004
6063
|
throw new CommonMessageException(await response.json());
|
|
6005
6064
|
}
|
|
6006
|
-
throw new
|
|
6065
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
6007
6066
|
}
|
|
6008
6067
|
};
|
|
6009
6068
|
|
|
6010
6069
|
// src/BackendTrashTag.ts
|
|
6011
|
-
import { TagAbstract as
|
|
6012
|
-
import { UnknownStatusCodeException as
|
|
6013
|
-
var BackendTrashTag = class extends
|
|
6070
|
+
import { TagAbstract as TagAbstract45 } from "sdkgen-client";
|
|
6071
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
|
|
6072
|
+
var BackendTrashTag = class extends TagAbstract45 {
|
|
6014
6073
|
/**
|
|
6015
6074
|
* Returns all deleted records by trash type
|
|
6016
6075
|
*
|
|
@@ -6040,7 +6099,7 @@ var BackendTrashTag = class extends TagAbstract44 {
|
|
|
6040
6099
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6041
6100
|
throw new CommonMessageException(await response.json());
|
|
6042
6101
|
}
|
|
6043
|
-
throw new
|
|
6102
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
6044
6103
|
}
|
|
6045
6104
|
/**
|
|
6046
6105
|
* Returns all trash types
|
|
@@ -6065,7 +6124,7 @@ var BackendTrashTag = class extends TagAbstract44 {
|
|
|
6065
6124
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6066
6125
|
throw new CommonMessageException(await response.json());
|
|
6067
6126
|
}
|
|
6068
|
-
throw new
|
|
6127
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
6069
6128
|
}
|
|
6070
6129
|
/**
|
|
6071
6130
|
* Restores a previously deleted record
|
|
@@ -6095,14 +6154,14 @@ var BackendTrashTag = class extends TagAbstract44 {
|
|
|
6095
6154
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6096
6155
|
throw new CommonMessageException(await response.json());
|
|
6097
6156
|
}
|
|
6098
|
-
throw new
|
|
6157
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
6099
6158
|
}
|
|
6100
6159
|
};
|
|
6101
6160
|
|
|
6102
6161
|
// src/BackendTriggerTag.ts
|
|
6103
|
-
import { TagAbstract as
|
|
6104
|
-
import { UnknownStatusCodeException as
|
|
6105
|
-
var BackendTriggerTag = class extends
|
|
6162
|
+
import { TagAbstract as TagAbstract46 } from "sdkgen-client";
|
|
6163
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
|
|
6164
|
+
var BackendTriggerTag = class extends TagAbstract46 {
|
|
6106
6165
|
/**
|
|
6107
6166
|
* Creates a new trigger
|
|
6108
6167
|
*
|
|
@@ -6129,7 +6188,7 @@ var BackendTriggerTag = class extends TagAbstract45 {
|
|
|
6129
6188
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6130
6189
|
throw new CommonMessageException(await response.json());
|
|
6131
6190
|
}
|
|
6132
|
-
throw new
|
|
6191
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6133
6192
|
}
|
|
6134
6193
|
/**
|
|
6135
6194
|
* Deletes an existing trigger
|
|
@@ -6156,7 +6215,7 @@ var BackendTriggerTag = class extends TagAbstract45 {
|
|
|
6156
6215
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6157
6216
|
throw new CommonMessageException(await response.json());
|
|
6158
6217
|
}
|
|
6159
|
-
throw new
|
|
6218
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6160
6219
|
}
|
|
6161
6220
|
/**
|
|
6162
6221
|
* Returns a specific trigger
|
|
@@ -6183,7 +6242,7 @@ var BackendTriggerTag = class extends TagAbstract45 {
|
|
|
6183
6242
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6184
6243
|
throw new CommonMessageException(await response.json());
|
|
6185
6244
|
}
|
|
6186
|
-
throw new
|
|
6245
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6187
6246
|
}
|
|
6188
6247
|
/**
|
|
6189
6248
|
* Returns a paginated list of triggers
|
|
@@ -6213,7 +6272,7 @@ var BackendTriggerTag = class extends TagAbstract45 {
|
|
|
6213
6272
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6214
6273
|
throw new CommonMessageException(await response.json());
|
|
6215
6274
|
}
|
|
6216
|
-
throw new
|
|
6275
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6217
6276
|
}
|
|
6218
6277
|
/**
|
|
6219
6278
|
* Updates an existing trigger
|
|
@@ -6243,14 +6302,14 @@ var BackendTriggerTag = class extends TagAbstract45 {
|
|
|
6243
6302
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6244
6303
|
throw new CommonMessageException(await response.json());
|
|
6245
6304
|
}
|
|
6246
|
-
throw new
|
|
6305
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6247
6306
|
}
|
|
6248
6307
|
};
|
|
6249
6308
|
|
|
6250
6309
|
// src/BackendUserTag.ts
|
|
6251
|
-
import { TagAbstract as
|
|
6252
|
-
import { UnknownStatusCodeException as
|
|
6253
|
-
var BackendUserTag = class extends
|
|
6310
|
+
import { TagAbstract as TagAbstract47 } from "sdkgen-client";
|
|
6311
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
|
|
6312
|
+
var BackendUserTag = class extends TagAbstract47 {
|
|
6254
6313
|
/**
|
|
6255
6314
|
* Creates a new user
|
|
6256
6315
|
*
|
|
@@ -6277,7 +6336,7 @@ var BackendUserTag = class extends TagAbstract46 {
|
|
|
6277
6336
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6278
6337
|
throw new CommonMessageException(await response.json());
|
|
6279
6338
|
}
|
|
6280
|
-
throw new
|
|
6339
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6281
6340
|
}
|
|
6282
6341
|
/**
|
|
6283
6342
|
* Deletes an existing user
|
|
@@ -6304,7 +6363,7 @@ var BackendUserTag = class extends TagAbstract46 {
|
|
|
6304
6363
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6305
6364
|
throw new CommonMessageException(await response.json());
|
|
6306
6365
|
}
|
|
6307
|
-
throw new
|
|
6366
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6308
6367
|
}
|
|
6309
6368
|
/**
|
|
6310
6369
|
* Returns a specific user
|
|
@@ -6331,7 +6390,7 @@ var BackendUserTag = class extends TagAbstract46 {
|
|
|
6331
6390
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6332
6391
|
throw new CommonMessageException(await response.json());
|
|
6333
6392
|
}
|
|
6334
|
-
throw new
|
|
6393
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6335
6394
|
}
|
|
6336
6395
|
/**
|
|
6337
6396
|
* Returns a paginated list of users
|
|
@@ -6360,7 +6419,7 @@ var BackendUserTag = class extends TagAbstract46 {
|
|
|
6360
6419
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6361
6420
|
throw new CommonMessageException(await response.json());
|
|
6362
6421
|
}
|
|
6363
|
-
throw new
|
|
6422
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6364
6423
|
}
|
|
6365
6424
|
/**
|
|
6366
6425
|
* Resend the activation mail to the provided user
|
|
@@ -6390,7 +6449,7 @@ var BackendUserTag = class extends TagAbstract46 {
|
|
|
6390
6449
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6391
6450
|
throw new CommonMessageException(await response.json());
|
|
6392
6451
|
}
|
|
6393
|
-
throw new
|
|
6452
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6394
6453
|
}
|
|
6395
6454
|
/**
|
|
6396
6455
|
* Updates an existing user
|
|
@@ -6420,14 +6479,14 @@ var BackendUserTag = class extends TagAbstract46 {
|
|
|
6420
6479
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6421
6480
|
throw new CommonMessageException(await response.json());
|
|
6422
6481
|
}
|
|
6423
|
-
throw new
|
|
6482
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6424
6483
|
}
|
|
6425
6484
|
};
|
|
6426
6485
|
|
|
6427
6486
|
// src/BackendWebhookTag.ts
|
|
6428
|
-
import { TagAbstract as
|
|
6429
|
-
import { UnknownStatusCodeException as
|
|
6430
|
-
var BackendWebhookTag = class extends
|
|
6487
|
+
import { TagAbstract as TagAbstract48 } from "sdkgen-client";
|
|
6488
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
|
|
6489
|
+
var BackendWebhookTag = class extends TagAbstract48 {
|
|
6431
6490
|
/**
|
|
6432
6491
|
* Creates a new webhook
|
|
6433
6492
|
*
|
|
@@ -6454,7 +6513,7 @@ var BackendWebhookTag = class extends TagAbstract47 {
|
|
|
6454
6513
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6455
6514
|
throw new CommonMessageException(await response.json());
|
|
6456
6515
|
}
|
|
6457
|
-
throw new
|
|
6516
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6458
6517
|
}
|
|
6459
6518
|
/**
|
|
6460
6519
|
* Deletes an existing webhook
|
|
@@ -6481,7 +6540,7 @@ var BackendWebhookTag = class extends TagAbstract47 {
|
|
|
6481
6540
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6482
6541
|
throw new CommonMessageException(await response.json());
|
|
6483
6542
|
}
|
|
6484
|
-
throw new
|
|
6543
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6485
6544
|
}
|
|
6486
6545
|
/**
|
|
6487
6546
|
* Returns a specific webhook
|
|
@@ -6508,7 +6567,7 @@ var BackendWebhookTag = class extends TagAbstract47 {
|
|
|
6508
6567
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6509
6568
|
throw new CommonMessageException(await response.json());
|
|
6510
6569
|
}
|
|
6511
|
-
throw new
|
|
6570
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6512
6571
|
}
|
|
6513
6572
|
/**
|
|
6514
6573
|
* Returns a paginated list of webhooks
|
|
@@ -6537,7 +6596,7 @@ var BackendWebhookTag = class extends TagAbstract47 {
|
|
|
6537
6596
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6538
6597
|
throw new CommonMessageException(await response.json());
|
|
6539
6598
|
}
|
|
6540
|
-
throw new
|
|
6599
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6541
6600
|
}
|
|
6542
6601
|
/**
|
|
6543
6602
|
* Updates an existing webhook
|
|
@@ -6567,12 +6626,12 @@ var BackendWebhookTag = class extends TagAbstract47 {
|
|
|
6567
6626
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6568
6627
|
throw new CommonMessageException(await response.json());
|
|
6569
6628
|
}
|
|
6570
|
-
throw new
|
|
6629
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6571
6630
|
}
|
|
6572
6631
|
};
|
|
6573
6632
|
|
|
6574
6633
|
// src/BackendTag.ts
|
|
6575
|
-
var BackendTag = class extends
|
|
6634
|
+
var BackendTag = class extends TagAbstract49 {
|
|
6576
6635
|
account() {
|
|
6577
6636
|
return new BackendAccountTag(
|
|
6578
6637
|
this.httpClient,
|
|
@@ -6735,6 +6794,12 @@ var BackendTag = class extends TagAbstract48 {
|
|
|
6735
6794
|
this.parser
|
|
6736
6795
|
);
|
|
6737
6796
|
}
|
|
6797
|
+
specification() {
|
|
6798
|
+
return new BackendSpecificationTag(
|
|
6799
|
+
this.httpClient,
|
|
6800
|
+
this.parser
|
|
6801
|
+
);
|
|
6802
|
+
}
|
|
6738
6803
|
statistic() {
|
|
6739
6804
|
return new BackendStatisticTag(
|
|
6740
6805
|
this.httpClient,
|
|
@@ -6802,12 +6867,12 @@ import { ClientAbstract } from "sdkgen-client";
|
|
|
6802
6867
|
import { Anonymous } from "sdkgen-client";
|
|
6803
6868
|
|
|
6804
6869
|
// src/ConsumerTag.ts
|
|
6805
|
-
import { TagAbstract as
|
|
6870
|
+
import { TagAbstract as TagAbstract66 } from "sdkgen-client";
|
|
6806
6871
|
|
|
6807
6872
|
// src/ConsumerAccountTag.ts
|
|
6808
|
-
import { TagAbstract as
|
|
6809
|
-
import { UnknownStatusCodeException as
|
|
6810
|
-
var ConsumerAccountTag = class extends
|
|
6873
|
+
import { TagAbstract as TagAbstract50 } from "sdkgen-client";
|
|
6874
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
|
|
6875
|
+
var ConsumerAccountTag = class extends TagAbstract50 {
|
|
6811
6876
|
/**
|
|
6812
6877
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
6813
6878
|
*
|
|
@@ -6834,7 +6899,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6834
6899
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6835
6900
|
throw new CommonMessageException(await response.json());
|
|
6836
6901
|
}
|
|
6837
|
-
throw new
|
|
6902
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6838
6903
|
}
|
|
6839
6904
|
/**
|
|
6840
6905
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -6862,7 +6927,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6862
6927
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6863
6928
|
throw new CommonMessageException(await response.json());
|
|
6864
6929
|
}
|
|
6865
|
-
throw new
|
|
6930
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6866
6931
|
}
|
|
6867
6932
|
/**
|
|
6868
6933
|
* Change the password for the authenticated user
|
|
@@ -6890,7 +6955,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6890
6955
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6891
6956
|
throw new CommonMessageException(await response.json());
|
|
6892
6957
|
}
|
|
6893
|
-
throw new
|
|
6958
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6894
6959
|
}
|
|
6895
6960
|
/**
|
|
6896
6961
|
* Change the password after the password reset flow was started
|
|
@@ -6918,7 +6983,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6918
6983
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6919
6984
|
throw new CommonMessageException(await response.json());
|
|
6920
6985
|
}
|
|
6921
|
-
throw new
|
|
6986
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6922
6987
|
}
|
|
6923
6988
|
/**
|
|
6924
6989
|
* Returns a user data for the authenticated user
|
|
@@ -6943,7 +7008,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6943
7008
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6944
7009
|
throw new CommonMessageException(await response.json());
|
|
6945
7010
|
}
|
|
6946
|
-
throw new
|
|
7011
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6947
7012
|
}
|
|
6948
7013
|
/**
|
|
6949
7014
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -6971,7 +7036,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6971
7036
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6972
7037
|
throw new CommonMessageException(await response.json());
|
|
6973
7038
|
}
|
|
6974
|
-
throw new
|
|
7039
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6975
7040
|
}
|
|
6976
7041
|
/**
|
|
6977
7042
|
* User login by providing a username and password
|
|
@@ -6999,7 +7064,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
6999
7064
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7000
7065
|
throw new CommonMessageException(await response.json());
|
|
7001
7066
|
}
|
|
7002
|
-
throw new
|
|
7067
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
7003
7068
|
}
|
|
7004
7069
|
/**
|
|
7005
7070
|
* Refresh a previously obtained access token
|
|
@@ -7027,7 +7092,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
7027
7092
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7028
7093
|
throw new CommonMessageException(await response.json());
|
|
7029
7094
|
}
|
|
7030
|
-
throw new
|
|
7095
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
7031
7096
|
}
|
|
7032
7097
|
/**
|
|
7033
7098
|
* Register a new user account
|
|
@@ -7055,7 +7120,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
7055
7120
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7056
7121
|
throw new CommonMessageException(await response.json());
|
|
7057
7122
|
}
|
|
7058
|
-
throw new
|
|
7123
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
7059
7124
|
}
|
|
7060
7125
|
/**
|
|
7061
7126
|
* Start the password reset flow
|
|
@@ -7083,7 +7148,7 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
7083
7148
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7084
7149
|
throw new CommonMessageException(await response.json());
|
|
7085
7150
|
}
|
|
7086
|
-
throw new
|
|
7151
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
7087
7152
|
}
|
|
7088
7153
|
/**
|
|
7089
7154
|
* Updates user data for the authenticated user
|
|
@@ -7111,14 +7176,149 @@ var ConsumerAccountTag = class extends TagAbstract49 {
|
|
|
7111
7176
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7112
7177
|
throw new CommonMessageException(await response.json());
|
|
7113
7178
|
}
|
|
7114
|
-
throw new
|
|
7179
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
7180
|
+
}
|
|
7181
|
+
};
|
|
7182
|
+
|
|
7183
|
+
// src/ConsumerAgentTag.ts
|
|
7184
|
+
import { TagAbstract as TagAbstract52 } from "sdkgen-client";
|
|
7185
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
|
|
7186
|
+
|
|
7187
|
+
// src/ConsumerAgentMessageTag.ts
|
|
7188
|
+
import { TagAbstract as TagAbstract51 } from "sdkgen-client";
|
|
7189
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
|
|
7190
|
+
var ConsumerAgentMessageTag = class extends TagAbstract51 {
|
|
7191
|
+
/**
|
|
7192
|
+
* Returns a paginated list of agent messages
|
|
7193
|
+
*
|
|
7194
|
+
* @returns {Promise<ConsumerAgentMessageCollection>}
|
|
7195
|
+
* @throws {CommonMessageException}
|
|
7196
|
+
* @throws {ClientException}
|
|
7197
|
+
*/
|
|
7198
|
+
async getAll(agentId, chatId) {
|
|
7199
|
+
const url = this.parser.url("/consumer/agent/$agent_id<[0-9]+|^~>/message", {
|
|
7200
|
+
"agent_id": agentId
|
|
7201
|
+
});
|
|
7202
|
+
let request = {
|
|
7203
|
+
url,
|
|
7204
|
+
method: "GET",
|
|
7205
|
+
headers: {},
|
|
7206
|
+
params: this.parser.query({
|
|
7207
|
+
"chat_id": chatId
|
|
7208
|
+
}, [])
|
|
7209
|
+
};
|
|
7210
|
+
const response = await this.httpClient.request(request);
|
|
7211
|
+
if (response.ok) {
|
|
7212
|
+
return await response.json();
|
|
7213
|
+
}
|
|
7214
|
+
const statusCode = response.status;
|
|
7215
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
7216
|
+
throw new CommonMessageException(await response.json());
|
|
7217
|
+
}
|
|
7218
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
7219
|
+
}
|
|
7220
|
+
/**
|
|
7221
|
+
* Submits a new agent message
|
|
7222
|
+
*
|
|
7223
|
+
* @returns {Promise<AgentOutput>}
|
|
7224
|
+
* @throws {CommonMessageException}
|
|
7225
|
+
* @throws {ClientException}
|
|
7226
|
+
*/
|
|
7227
|
+
async submit(agentId, payload) {
|
|
7228
|
+
const url = this.parser.url("/consumer/agent/$agent_id<[0-9]+|^~>/message", {
|
|
7229
|
+
"agent_id": agentId
|
|
7230
|
+
});
|
|
7231
|
+
let request = {
|
|
7232
|
+
url,
|
|
7233
|
+
method: "POST",
|
|
7234
|
+
headers: {
|
|
7235
|
+
"Content-Type": "application/json"
|
|
7236
|
+
},
|
|
7237
|
+
params: this.parser.query({}, []),
|
|
7238
|
+
data: payload
|
|
7239
|
+
};
|
|
7240
|
+
const response = await this.httpClient.request(request);
|
|
7241
|
+
if (response.ok) {
|
|
7242
|
+
return await response.json();
|
|
7243
|
+
}
|
|
7244
|
+
const statusCode = response.status;
|
|
7245
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
7246
|
+
throw new CommonMessageException(await response.json());
|
|
7247
|
+
}
|
|
7248
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
7249
|
+
}
|
|
7250
|
+
};
|
|
7251
|
+
|
|
7252
|
+
// src/ConsumerAgentTag.ts
|
|
7253
|
+
var ConsumerAgentTag = class extends TagAbstract52 {
|
|
7254
|
+
message() {
|
|
7255
|
+
return new ConsumerAgentMessageTag(
|
|
7256
|
+
this.httpClient,
|
|
7257
|
+
this.parser
|
|
7258
|
+
);
|
|
7259
|
+
}
|
|
7260
|
+
/**
|
|
7261
|
+
* Returns a specific agent
|
|
7262
|
+
*
|
|
7263
|
+
* @returns {Promise<ConsumerAgent>}
|
|
7264
|
+
* @throws {CommonMessageException}
|
|
7265
|
+
* @throws {ClientException}
|
|
7266
|
+
*/
|
|
7267
|
+
async get(agentId) {
|
|
7268
|
+
const url = this.parser.url("/consumer/agent/$agent_id<[0-9]+|^~>", {
|
|
7269
|
+
"agent_id": agentId
|
|
7270
|
+
});
|
|
7271
|
+
let request = {
|
|
7272
|
+
url,
|
|
7273
|
+
method: "GET",
|
|
7274
|
+
headers: {},
|
|
7275
|
+
params: this.parser.query({}, [])
|
|
7276
|
+
};
|
|
7277
|
+
const response = await this.httpClient.request(request);
|
|
7278
|
+
if (response.ok) {
|
|
7279
|
+
return await response.json();
|
|
7280
|
+
}
|
|
7281
|
+
const statusCode = response.status;
|
|
7282
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
7283
|
+
throw new CommonMessageException(await response.json());
|
|
7284
|
+
}
|
|
7285
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
7286
|
+
}
|
|
7287
|
+
/**
|
|
7288
|
+
* Returns a paginated list of agents
|
|
7289
|
+
*
|
|
7290
|
+
* @returns {Promise<ConsumerAgentCollection>}
|
|
7291
|
+
* @throws {CommonMessageException}
|
|
7292
|
+
* @throws {ClientException}
|
|
7293
|
+
*/
|
|
7294
|
+
async getAll(startIndex, count, search) {
|
|
7295
|
+
const url = this.parser.url("/consumer/agent", {});
|
|
7296
|
+
let request = {
|
|
7297
|
+
url,
|
|
7298
|
+
method: "GET",
|
|
7299
|
+
headers: {},
|
|
7300
|
+
params: this.parser.query({
|
|
7301
|
+
"startIndex": startIndex,
|
|
7302
|
+
"count": count,
|
|
7303
|
+
"search": search
|
|
7304
|
+
}, [])
|
|
7305
|
+
};
|
|
7306
|
+
const response = await this.httpClient.request(request);
|
|
7307
|
+
if (response.ok) {
|
|
7308
|
+
return await response.json();
|
|
7309
|
+
}
|
|
7310
|
+
const statusCode = response.status;
|
|
7311
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
7312
|
+
throw new CommonMessageException(await response.json());
|
|
7313
|
+
}
|
|
7314
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
7115
7315
|
}
|
|
7116
7316
|
};
|
|
7117
7317
|
|
|
7118
7318
|
// src/ConsumerAppTag.ts
|
|
7119
|
-
import { TagAbstract as
|
|
7120
|
-
import { UnknownStatusCodeException as
|
|
7121
|
-
var ConsumerAppTag = class extends
|
|
7319
|
+
import { TagAbstract as TagAbstract53 } from "sdkgen-client";
|
|
7320
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
|
|
7321
|
+
var ConsumerAppTag = class extends TagAbstract53 {
|
|
7122
7322
|
/**
|
|
7123
7323
|
* Creates a new app for the authenticated user
|
|
7124
7324
|
*
|
|
@@ -7145,7 +7345,7 @@ var ConsumerAppTag = class extends TagAbstract50 {
|
|
|
7145
7345
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7146
7346
|
throw new CommonMessageException(await response.json());
|
|
7147
7347
|
}
|
|
7148
|
-
throw new
|
|
7348
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
7149
7349
|
}
|
|
7150
7350
|
/**
|
|
7151
7351
|
* Deletes an existing app for the authenticated user
|
|
@@ -7172,7 +7372,7 @@ var ConsumerAppTag = class extends TagAbstract50 {
|
|
|
7172
7372
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7173
7373
|
throw new CommonMessageException(await response.json());
|
|
7174
7374
|
}
|
|
7175
|
-
throw new
|
|
7375
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
7176
7376
|
}
|
|
7177
7377
|
/**
|
|
7178
7378
|
* Returns a specific app for the authenticated user
|
|
@@ -7199,7 +7399,7 @@ var ConsumerAppTag = class extends TagAbstract50 {
|
|
|
7199
7399
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7200
7400
|
throw new CommonMessageException(await response.json());
|
|
7201
7401
|
}
|
|
7202
|
-
throw new
|
|
7402
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
7203
7403
|
}
|
|
7204
7404
|
/**
|
|
7205
7405
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -7228,7 +7428,7 @@ var ConsumerAppTag = class extends TagAbstract50 {
|
|
|
7228
7428
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7229
7429
|
throw new CommonMessageException(await response.json());
|
|
7230
7430
|
}
|
|
7231
|
-
throw new
|
|
7431
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
7232
7432
|
}
|
|
7233
7433
|
/**
|
|
7234
7434
|
* Updates an existing app for the authenticated user
|
|
@@ -7258,14 +7458,14 @@ var ConsumerAppTag = class extends TagAbstract50 {
|
|
|
7258
7458
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7259
7459
|
throw new CommonMessageException(await response.json());
|
|
7260
7460
|
}
|
|
7261
|
-
throw new
|
|
7461
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
7262
7462
|
}
|
|
7263
7463
|
};
|
|
7264
7464
|
|
|
7265
7465
|
// src/ConsumerEventTag.ts
|
|
7266
|
-
import { TagAbstract as
|
|
7267
|
-
import { UnknownStatusCodeException as
|
|
7268
|
-
var ConsumerEventTag = class extends
|
|
7466
|
+
import { TagAbstract as TagAbstract54 } from "sdkgen-client";
|
|
7467
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
|
|
7468
|
+
var ConsumerEventTag = class extends TagAbstract54 {
|
|
7269
7469
|
/**
|
|
7270
7470
|
* Returns a specific event for the authenticated user
|
|
7271
7471
|
*
|
|
@@ -7291,7 +7491,7 @@ var ConsumerEventTag = class extends TagAbstract51 {
|
|
|
7291
7491
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7292
7492
|
throw new CommonMessageException(await response.json());
|
|
7293
7493
|
}
|
|
7294
|
-
throw new
|
|
7494
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
7295
7495
|
}
|
|
7296
7496
|
/**
|
|
7297
7497
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -7320,14 +7520,14 @@ var ConsumerEventTag = class extends TagAbstract51 {
|
|
|
7320
7520
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7321
7521
|
throw new CommonMessageException(await response.json());
|
|
7322
7522
|
}
|
|
7323
|
-
throw new
|
|
7523
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
7324
7524
|
}
|
|
7325
7525
|
};
|
|
7326
7526
|
|
|
7327
7527
|
// src/ConsumerFormTag.ts
|
|
7328
|
-
import { TagAbstract as
|
|
7329
|
-
import { UnknownStatusCodeException as
|
|
7330
|
-
var ConsumerFormTag = class extends
|
|
7528
|
+
import { TagAbstract as TagAbstract55 } from "sdkgen-client";
|
|
7529
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
|
|
7530
|
+
var ConsumerFormTag = class extends TagAbstract55 {
|
|
7331
7531
|
/**
|
|
7332
7532
|
* Returns a specific form for the authenticated user
|
|
7333
7533
|
*
|
|
@@ -7353,7 +7553,7 @@ var ConsumerFormTag = class extends TagAbstract52 {
|
|
|
7353
7553
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7354
7554
|
throw new CommonMessageException(await response.json());
|
|
7355
7555
|
}
|
|
7356
|
-
throw new
|
|
7556
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
7357
7557
|
}
|
|
7358
7558
|
/**
|
|
7359
7559
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -7382,14 +7582,14 @@ var ConsumerFormTag = class extends TagAbstract52 {
|
|
|
7382
7582
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7383
7583
|
throw new CommonMessageException(await response.json());
|
|
7384
7584
|
}
|
|
7385
|
-
throw new
|
|
7585
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
7386
7586
|
}
|
|
7387
7587
|
};
|
|
7388
7588
|
|
|
7389
7589
|
// src/ConsumerGrantTag.ts
|
|
7390
|
-
import { TagAbstract as
|
|
7391
|
-
import { UnknownStatusCodeException as
|
|
7392
|
-
var ConsumerGrantTag = class extends
|
|
7590
|
+
import { TagAbstract as TagAbstract56 } from "sdkgen-client";
|
|
7591
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
|
|
7592
|
+
var ConsumerGrantTag = class extends TagAbstract56 {
|
|
7393
7593
|
/**
|
|
7394
7594
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
7395
7595
|
*
|
|
@@ -7415,7 +7615,7 @@ var ConsumerGrantTag = class extends TagAbstract53 {
|
|
|
7415
7615
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7416
7616
|
throw new CommonMessageException(await response.json());
|
|
7417
7617
|
}
|
|
7418
|
-
throw new
|
|
7618
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7419
7619
|
}
|
|
7420
7620
|
/**
|
|
7421
7621
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -7444,14 +7644,14 @@ var ConsumerGrantTag = class extends TagAbstract53 {
|
|
|
7444
7644
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7445
7645
|
throw new CommonMessageException(await response.json());
|
|
7446
7646
|
}
|
|
7447
|
-
throw new
|
|
7647
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7448
7648
|
}
|
|
7449
7649
|
};
|
|
7450
7650
|
|
|
7451
7651
|
// src/ConsumerIdentityTag.ts
|
|
7452
|
-
import { TagAbstract as
|
|
7453
|
-
import { UnknownStatusCodeException as
|
|
7454
|
-
var ConsumerIdentityTag = class extends
|
|
7652
|
+
import { TagAbstract as TagAbstract57 } from "sdkgen-client";
|
|
7653
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
|
|
7654
|
+
var ConsumerIdentityTag = class extends TagAbstract57 {
|
|
7455
7655
|
/**
|
|
7456
7656
|
* Identity callback endpoint to exchange an access token
|
|
7457
7657
|
*
|
|
@@ -7477,7 +7677,7 @@ var ConsumerIdentityTag = class extends TagAbstract54 {
|
|
|
7477
7677
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7478
7678
|
throw new CommonMessageException(await response.json());
|
|
7479
7679
|
}
|
|
7480
|
-
throw new
|
|
7680
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7481
7681
|
}
|
|
7482
7682
|
/**
|
|
7483
7683
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -7505,7 +7705,7 @@ var ConsumerIdentityTag = class extends TagAbstract54 {
|
|
|
7505
7705
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7506
7706
|
throw new CommonMessageException(await response.json());
|
|
7507
7707
|
}
|
|
7508
|
-
throw new
|
|
7708
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7509
7709
|
}
|
|
7510
7710
|
/**
|
|
7511
7711
|
* Redirect the user to the configured identity provider
|
|
@@ -7532,14 +7732,14 @@ var ConsumerIdentityTag = class extends TagAbstract54 {
|
|
|
7532
7732
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7533
7733
|
throw new CommonMessageException(await response.json());
|
|
7534
7734
|
}
|
|
7535
|
-
throw new
|
|
7735
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7536
7736
|
}
|
|
7537
7737
|
};
|
|
7538
7738
|
|
|
7539
7739
|
// src/ConsumerLogTag.ts
|
|
7540
|
-
import { TagAbstract as
|
|
7541
|
-
import { UnknownStatusCodeException as
|
|
7542
|
-
var ConsumerLogTag = class extends
|
|
7740
|
+
import { TagAbstract as TagAbstract58 } from "sdkgen-client";
|
|
7741
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
|
|
7742
|
+
var ConsumerLogTag = class extends TagAbstract58 {
|
|
7543
7743
|
/**
|
|
7544
7744
|
* Returns a specific log for the authenticated user
|
|
7545
7745
|
*
|
|
@@ -7565,7 +7765,7 @@ var ConsumerLogTag = class extends TagAbstract55 {
|
|
|
7565
7765
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7566
7766
|
throw new CommonMessageException(await response.json());
|
|
7567
7767
|
}
|
|
7568
|
-
throw new
|
|
7768
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7569
7769
|
}
|
|
7570
7770
|
/**
|
|
7571
7771
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -7594,14 +7794,14 @@ var ConsumerLogTag = class extends TagAbstract55 {
|
|
|
7594
7794
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7595
7795
|
throw new CommonMessageException(await response.json());
|
|
7596
7796
|
}
|
|
7597
|
-
throw new
|
|
7797
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7598
7798
|
}
|
|
7599
7799
|
};
|
|
7600
7800
|
|
|
7601
7801
|
// src/ConsumerPageTag.ts
|
|
7602
|
-
import { TagAbstract as
|
|
7603
|
-
import { UnknownStatusCodeException as
|
|
7604
|
-
var ConsumerPageTag = class extends
|
|
7802
|
+
import { TagAbstract as TagAbstract59 } from "sdkgen-client";
|
|
7803
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
|
|
7804
|
+
var ConsumerPageTag = class extends TagAbstract59 {
|
|
7605
7805
|
/**
|
|
7606
7806
|
* Returns a specific page for the authenticated user
|
|
7607
7807
|
*
|
|
@@ -7627,7 +7827,7 @@ var ConsumerPageTag = class extends TagAbstract56 {
|
|
|
7627
7827
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7628
7828
|
throw new CommonMessageException(await response.json());
|
|
7629
7829
|
}
|
|
7630
|
-
throw new
|
|
7830
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7631
7831
|
}
|
|
7632
7832
|
/**
|
|
7633
7833
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -7656,14 +7856,14 @@ var ConsumerPageTag = class extends TagAbstract56 {
|
|
|
7656
7856
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7657
7857
|
throw new CommonMessageException(await response.json());
|
|
7658
7858
|
}
|
|
7659
|
-
throw new
|
|
7859
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7660
7860
|
}
|
|
7661
7861
|
};
|
|
7662
7862
|
|
|
7663
7863
|
// src/ConsumerPaymentTag.ts
|
|
7664
|
-
import { TagAbstract as
|
|
7665
|
-
import { UnknownStatusCodeException as
|
|
7666
|
-
var ConsumerPaymentTag = class extends
|
|
7864
|
+
import { TagAbstract as TagAbstract60 } from "sdkgen-client";
|
|
7865
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException58 } from "sdkgen-client";
|
|
7866
|
+
var ConsumerPaymentTag = class extends TagAbstract60 {
|
|
7667
7867
|
/**
|
|
7668
7868
|
* Start the checkout process for a specific plan
|
|
7669
7869
|
*
|
|
@@ -7692,7 +7892,7 @@ var ConsumerPaymentTag = class extends TagAbstract57 {
|
|
|
7692
7892
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7693
7893
|
throw new CommonMessageException(await response.json());
|
|
7694
7894
|
}
|
|
7695
|
-
throw new
|
|
7895
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7696
7896
|
}
|
|
7697
7897
|
/**
|
|
7698
7898
|
* Generates a payment portal link for the authenticated user
|
|
@@ -7722,14 +7922,14 @@ var ConsumerPaymentTag = class extends TagAbstract57 {
|
|
|
7722
7922
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7723
7923
|
throw new CommonMessageException(await response.json());
|
|
7724
7924
|
}
|
|
7725
|
-
throw new
|
|
7925
|
+
throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
|
|
7726
7926
|
}
|
|
7727
7927
|
};
|
|
7728
7928
|
|
|
7729
7929
|
// src/ConsumerPlanTag.ts
|
|
7730
|
-
import { TagAbstract as
|
|
7731
|
-
import { UnknownStatusCodeException as
|
|
7732
|
-
var ConsumerPlanTag = class extends
|
|
7930
|
+
import { TagAbstract as TagAbstract61 } from "sdkgen-client";
|
|
7931
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException59 } from "sdkgen-client";
|
|
7932
|
+
var ConsumerPlanTag = class extends TagAbstract61 {
|
|
7733
7933
|
/**
|
|
7734
7934
|
* Returns a specific plan for the authenticated user
|
|
7735
7935
|
*
|
|
@@ -7755,7 +7955,7 @@ var ConsumerPlanTag = class extends TagAbstract58 {
|
|
|
7755
7955
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7756
7956
|
throw new CommonMessageException(await response.json());
|
|
7757
7957
|
}
|
|
7758
|
-
throw new
|
|
7958
|
+
throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
|
|
7759
7959
|
}
|
|
7760
7960
|
/**
|
|
7761
7961
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -7784,14 +7984,14 @@ var ConsumerPlanTag = class extends TagAbstract58 {
|
|
|
7784
7984
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7785
7985
|
throw new CommonMessageException(await response.json());
|
|
7786
7986
|
}
|
|
7787
|
-
throw new
|
|
7987
|
+
throw new UnknownStatusCodeException59("The server returned an unknown status code: " + statusCode);
|
|
7788
7988
|
}
|
|
7789
7989
|
};
|
|
7790
7990
|
|
|
7791
7991
|
// src/ConsumerScopeTag.ts
|
|
7792
|
-
import { TagAbstract as
|
|
7793
|
-
import { UnknownStatusCodeException as
|
|
7794
|
-
var ConsumerScopeTag = class extends
|
|
7992
|
+
import { TagAbstract as TagAbstract62 } from "sdkgen-client";
|
|
7993
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException60 } from "sdkgen-client";
|
|
7994
|
+
var ConsumerScopeTag = class extends TagAbstract62 {
|
|
7795
7995
|
/**
|
|
7796
7996
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
7797
7997
|
*
|
|
@@ -7819,7 +8019,7 @@ var ConsumerScopeTag = class extends TagAbstract59 {
|
|
|
7819
8019
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7820
8020
|
throw new CommonMessageException(await response.json());
|
|
7821
8021
|
}
|
|
7822
|
-
throw new
|
|
8022
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7823
8023
|
}
|
|
7824
8024
|
/**
|
|
7825
8025
|
* Returns all scopes by category
|
|
@@ -7844,14 +8044,14 @@ var ConsumerScopeTag = class extends TagAbstract59 {
|
|
|
7844
8044
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7845
8045
|
throw new CommonMessageException(await response.json());
|
|
7846
8046
|
}
|
|
7847
|
-
throw new
|
|
8047
|
+
throw new UnknownStatusCodeException60("The server returned an unknown status code: " + statusCode);
|
|
7848
8048
|
}
|
|
7849
8049
|
};
|
|
7850
8050
|
|
|
7851
8051
|
// src/ConsumerTokenTag.ts
|
|
7852
|
-
import { TagAbstract as
|
|
7853
|
-
import { UnknownStatusCodeException as
|
|
7854
|
-
var ConsumerTokenTag = class extends
|
|
8052
|
+
import { TagAbstract as TagAbstract63 } from "sdkgen-client";
|
|
8053
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException61 } from "sdkgen-client";
|
|
8054
|
+
var ConsumerTokenTag = class extends TagAbstract63 {
|
|
7855
8055
|
/**
|
|
7856
8056
|
* Creates a new token for the authenticated user
|
|
7857
8057
|
*
|
|
@@ -7878,7 +8078,7 @@ var ConsumerTokenTag = class extends TagAbstract60 {
|
|
|
7878
8078
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7879
8079
|
throw new CommonMessageException(await response.json());
|
|
7880
8080
|
}
|
|
7881
|
-
throw new
|
|
8081
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7882
8082
|
}
|
|
7883
8083
|
/**
|
|
7884
8084
|
* Deletes an existing token for the authenticated user
|
|
@@ -7905,7 +8105,7 @@ var ConsumerTokenTag = class extends TagAbstract60 {
|
|
|
7905
8105
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7906
8106
|
throw new CommonMessageException(await response.json());
|
|
7907
8107
|
}
|
|
7908
|
-
throw new
|
|
8108
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7909
8109
|
}
|
|
7910
8110
|
/**
|
|
7911
8111
|
* Returns a specific token for the authenticated user
|
|
@@ -7932,7 +8132,7 @@ var ConsumerTokenTag = class extends TagAbstract60 {
|
|
|
7932
8132
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7933
8133
|
throw new CommonMessageException(await response.json());
|
|
7934
8134
|
}
|
|
7935
|
-
throw new
|
|
8135
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7936
8136
|
}
|
|
7937
8137
|
/**
|
|
7938
8138
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -7961,7 +8161,7 @@ var ConsumerTokenTag = class extends TagAbstract60 {
|
|
|
7961
8161
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7962
8162
|
throw new CommonMessageException(await response.json());
|
|
7963
8163
|
}
|
|
7964
|
-
throw new
|
|
8164
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7965
8165
|
}
|
|
7966
8166
|
/**
|
|
7967
8167
|
* Updates an existing token for the authenticated user
|
|
@@ -7991,14 +8191,14 @@ var ConsumerTokenTag = class extends TagAbstract60 {
|
|
|
7991
8191
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7992
8192
|
throw new CommonMessageException(await response.json());
|
|
7993
8193
|
}
|
|
7994
|
-
throw new
|
|
8194
|
+
throw new UnknownStatusCodeException61("The server returned an unknown status code: " + statusCode);
|
|
7995
8195
|
}
|
|
7996
8196
|
};
|
|
7997
8197
|
|
|
7998
8198
|
// src/ConsumerTransactionTag.ts
|
|
7999
|
-
import { TagAbstract as
|
|
8000
|
-
import { UnknownStatusCodeException as
|
|
8001
|
-
var ConsumerTransactionTag = class extends
|
|
8199
|
+
import { TagAbstract as TagAbstract64 } from "sdkgen-client";
|
|
8200
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException62 } from "sdkgen-client";
|
|
8201
|
+
var ConsumerTransactionTag = class extends TagAbstract64 {
|
|
8002
8202
|
/**
|
|
8003
8203
|
* Returns a specific transaction for the authenticated user
|
|
8004
8204
|
*
|
|
@@ -8024,7 +8224,7 @@ var ConsumerTransactionTag = class extends TagAbstract61 {
|
|
|
8024
8224
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8025
8225
|
throw new CommonMessageException(await response.json());
|
|
8026
8226
|
}
|
|
8027
|
-
throw new
|
|
8227
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
8028
8228
|
}
|
|
8029
8229
|
/**
|
|
8030
8230
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -8053,14 +8253,14 @@ var ConsumerTransactionTag = class extends TagAbstract61 {
|
|
|
8053
8253
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8054
8254
|
throw new CommonMessageException(await response.json());
|
|
8055
8255
|
}
|
|
8056
|
-
throw new
|
|
8256
|
+
throw new UnknownStatusCodeException62("The server returned an unknown status code: " + statusCode);
|
|
8057
8257
|
}
|
|
8058
8258
|
};
|
|
8059
8259
|
|
|
8060
8260
|
// src/ConsumerWebhookTag.ts
|
|
8061
|
-
import { TagAbstract as
|
|
8062
|
-
import { UnknownStatusCodeException as
|
|
8063
|
-
var ConsumerWebhookTag = class extends
|
|
8261
|
+
import { TagAbstract as TagAbstract65 } from "sdkgen-client";
|
|
8262
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException63 } from "sdkgen-client";
|
|
8263
|
+
var ConsumerWebhookTag = class extends TagAbstract65 {
|
|
8064
8264
|
/**
|
|
8065
8265
|
* Creates a new webhook for the authenticated user
|
|
8066
8266
|
*
|
|
@@ -8087,7 +8287,7 @@ var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
|
8087
8287
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8088
8288
|
throw new CommonMessageException(await response.json());
|
|
8089
8289
|
}
|
|
8090
|
-
throw new
|
|
8290
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
8091
8291
|
}
|
|
8092
8292
|
/**
|
|
8093
8293
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -8114,7 +8314,7 @@ var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
|
8114
8314
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8115
8315
|
throw new CommonMessageException(await response.json());
|
|
8116
8316
|
}
|
|
8117
|
-
throw new
|
|
8317
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
8118
8318
|
}
|
|
8119
8319
|
/**
|
|
8120
8320
|
* Returns a specific webhook for the authenticated user
|
|
@@ -8141,7 +8341,7 @@ var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
|
8141
8341
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8142
8342
|
throw new CommonMessageException(await response.json());
|
|
8143
8343
|
}
|
|
8144
|
-
throw new
|
|
8344
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
8145
8345
|
}
|
|
8146
8346
|
/**
|
|
8147
8347
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -8170,7 +8370,7 @@ var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
|
8170
8370
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8171
8371
|
throw new CommonMessageException(await response.json());
|
|
8172
8372
|
}
|
|
8173
|
-
throw new
|
|
8373
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
8174
8374
|
}
|
|
8175
8375
|
/**
|
|
8176
8376
|
* Updates an existing webhook for the authenticated user
|
|
@@ -8200,18 +8400,24 @@ var ConsumerWebhookTag = class extends TagAbstract62 {
|
|
|
8200
8400
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8201
8401
|
throw new CommonMessageException(await response.json());
|
|
8202
8402
|
}
|
|
8203
|
-
throw new
|
|
8403
|
+
throw new UnknownStatusCodeException63("The server returned an unknown status code: " + statusCode);
|
|
8204
8404
|
}
|
|
8205
8405
|
};
|
|
8206
8406
|
|
|
8207
8407
|
// src/ConsumerTag.ts
|
|
8208
|
-
var ConsumerTag = class extends
|
|
8408
|
+
var ConsumerTag = class extends TagAbstract66 {
|
|
8209
8409
|
account() {
|
|
8210
8410
|
return new ConsumerAccountTag(
|
|
8211
8411
|
this.httpClient,
|
|
8212
8412
|
this.parser
|
|
8213
8413
|
);
|
|
8214
8414
|
}
|
|
8415
|
+
agent() {
|
|
8416
|
+
return new ConsumerAgentTag(
|
|
8417
|
+
this.httpClient,
|
|
8418
|
+
this.parser
|
|
8419
|
+
);
|
|
8420
|
+
}
|
|
8215
8421
|
app() {
|
|
8216
8422
|
return new ConsumerAppTag(
|
|
8217
8423
|
this.httpClient,
|
|
@@ -8293,12 +8499,12 @@ var ConsumerTag = class extends TagAbstract63 {
|
|
|
8293
8499
|
};
|
|
8294
8500
|
|
|
8295
8501
|
// src/SystemTag.ts
|
|
8296
|
-
import { TagAbstract as
|
|
8502
|
+
import { TagAbstract as TagAbstract70 } from "sdkgen-client";
|
|
8297
8503
|
|
|
8298
8504
|
// src/SystemConnectionTag.ts
|
|
8299
|
-
import { TagAbstract as
|
|
8300
|
-
import { UnknownStatusCodeException as
|
|
8301
|
-
var SystemConnectionTag = class extends
|
|
8505
|
+
import { TagAbstract as TagAbstract67 } from "sdkgen-client";
|
|
8506
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException64 } from "sdkgen-client";
|
|
8507
|
+
var SystemConnectionTag = class extends TagAbstract67 {
|
|
8302
8508
|
/**
|
|
8303
8509
|
* Connection OAuth2 callback to authorize a connection
|
|
8304
8510
|
*
|
|
@@ -8324,14 +8530,14 @@ var SystemConnectionTag = class extends TagAbstract64 {
|
|
|
8324
8530
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8325
8531
|
throw new CommonMessageException(await response.json());
|
|
8326
8532
|
}
|
|
8327
|
-
throw new
|
|
8533
|
+
throw new UnknownStatusCodeException64("The server returned an unknown status code: " + statusCode);
|
|
8328
8534
|
}
|
|
8329
8535
|
};
|
|
8330
8536
|
|
|
8331
8537
|
// src/SystemMetaTag.ts
|
|
8332
|
-
import { TagAbstract as
|
|
8333
|
-
import { UnknownStatusCodeException as
|
|
8334
|
-
var SystemMetaTag = class extends
|
|
8538
|
+
import { TagAbstract as TagAbstract68 } from "sdkgen-client";
|
|
8539
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException65 } from "sdkgen-client";
|
|
8540
|
+
var SystemMetaTag = class extends TagAbstract68 {
|
|
8335
8541
|
/**
|
|
8336
8542
|
* Returns meta information and links about the current installed Fusio version
|
|
8337
8543
|
*
|
|
@@ -8355,7 +8561,7 @@ var SystemMetaTag = class extends TagAbstract65 {
|
|
|
8355
8561
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8356
8562
|
throw new CommonMessageException(await response.json());
|
|
8357
8563
|
}
|
|
8358
|
-
throw new
|
|
8564
|
+
throw new UnknownStatusCodeException65("The server returned an unknown status code: " + statusCode);
|
|
8359
8565
|
}
|
|
8360
8566
|
/**
|
|
8361
8567
|
* Debug endpoint which returns the provided data
|
|
@@ -8383,7 +8589,7 @@ var SystemMetaTag = class extends TagAbstract65 {
|
|
|
8383
8589
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8384
8590
|
throw new CommonMessageException(await response.json());
|
|
8385
8591
|
}
|
|
8386
|
-
throw new
|
|
8592
|
+
throw new UnknownStatusCodeException65("The server returned an unknown status code: " + statusCode);
|
|
8387
8593
|
}
|
|
8388
8594
|
/**
|
|
8389
8595
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -8408,7 +8614,7 @@ var SystemMetaTag = class extends TagAbstract65 {
|
|
|
8408
8614
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8409
8615
|
throw new CommonMessageException(await response.json());
|
|
8410
8616
|
}
|
|
8411
|
-
throw new
|
|
8617
|
+
throw new UnknownStatusCodeException65("The server returned an unknown status code: " + statusCode);
|
|
8412
8618
|
}
|
|
8413
8619
|
/**
|
|
8414
8620
|
* Returns all available routes
|
|
@@ -8433,7 +8639,7 @@ var SystemMetaTag = class extends TagAbstract65 {
|
|
|
8433
8639
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8434
8640
|
throw new CommonMessageException(await response.json());
|
|
8435
8641
|
}
|
|
8436
|
-
throw new
|
|
8642
|
+
throw new UnknownStatusCodeException65("The server returned an unknown status code: " + statusCode);
|
|
8437
8643
|
}
|
|
8438
8644
|
/**
|
|
8439
8645
|
* Returns details of a specific schema
|
|
@@ -8460,14 +8666,14 @@ var SystemMetaTag = class extends TagAbstract65 {
|
|
|
8460
8666
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8461
8667
|
throw new CommonMessageException(await response.json());
|
|
8462
8668
|
}
|
|
8463
|
-
throw new
|
|
8669
|
+
throw new UnknownStatusCodeException65("The server returned an unknown status code: " + statusCode);
|
|
8464
8670
|
}
|
|
8465
8671
|
};
|
|
8466
8672
|
|
|
8467
8673
|
// src/SystemPaymentTag.ts
|
|
8468
|
-
import { TagAbstract as
|
|
8469
|
-
import { UnknownStatusCodeException as
|
|
8470
|
-
var SystemPaymentTag = class extends
|
|
8674
|
+
import { TagAbstract as TagAbstract69 } from "sdkgen-client";
|
|
8675
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException66 } from "sdkgen-client";
|
|
8676
|
+
var SystemPaymentTag = class extends TagAbstract69 {
|
|
8471
8677
|
/**
|
|
8472
8678
|
* Payment webhook endpoint after successful purchase of a plan
|
|
8473
8679
|
*
|
|
@@ -8493,12 +8699,12 @@ var SystemPaymentTag = class extends TagAbstract66 {
|
|
|
8493
8699
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
8494
8700
|
throw new CommonMessageException(await response.json());
|
|
8495
8701
|
}
|
|
8496
|
-
throw new
|
|
8702
|
+
throw new UnknownStatusCodeException66("The server returned an unknown status code: " + statusCode);
|
|
8497
8703
|
}
|
|
8498
8704
|
};
|
|
8499
8705
|
|
|
8500
8706
|
// src/SystemTag.ts
|
|
8501
|
-
var SystemTag = class extends
|
|
8707
|
+
var SystemTag = class extends TagAbstract70 {
|
|
8502
8708
|
connection() {
|
|
8503
8709
|
return new SystemConnectionTag(
|
|
8504
8710
|
this.httpClient,
|
|
@@ -8587,6 +8793,7 @@ export {
|
|
|
8587
8793
|
BackendSchemaTag,
|
|
8588
8794
|
BackendScopeTag,
|
|
8589
8795
|
BackendSdkTag,
|
|
8796
|
+
BackendSpecificationTag,
|
|
8590
8797
|
BackendStatisticTag,
|
|
8591
8798
|
BackendTag,
|
|
8592
8799
|
BackendTaxonomyTag,
|
|
@@ -8601,6 +8808,8 @@ export {
|
|
|
8601
8808
|
Client,
|
|
8602
8809
|
CommonMessageException,
|
|
8603
8810
|
ConsumerAccountTag,
|
|
8811
|
+
ConsumerAgentMessageTag,
|
|
8812
|
+
ConsumerAgentTag,
|
|
8604
8813
|
ConsumerAppTag,
|
|
8605
8814
|
ConsumerEventTag,
|
|
8606
8815
|
ConsumerFormTag,
|