fusio-sdk 7.0.7 → 7.0.8

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 CHANGED
@@ -57,6 +57,7 @@ __export(index_exports, {
57
57
  BackendSchemaTag: () => BackendSchemaTag,
58
58
  BackendScopeTag: () => BackendScopeTag,
59
59
  BackendSdkTag: () => BackendSdkTag,
60
+ BackendSpecificationTag: () => BackendSpecificationTag,
60
61
  BackendStatisticTag: () => BackendStatisticTag,
61
62
  BackendTag: () => BackendTag,
62
63
  BackendTaxonomyTag: () => BackendTaxonomyTag,
@@ -4909,10 +4910,69 @@ var BackendSdkTag = class extends import_sdkgen_client73.TagAbstract {
4909
4910
  }
4910
4911
  };
4911
4912
 
4912
- // src/BackendStatisticTag.ts
4913
+ // src/BackendSpecificationTag.ts
4913
4914
  var import_sdkgen_client75 = require("sdkgen-client");
4914
4915
  var import_sdkgen_client76 = require("sdkgen-client");
4915
- var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
4916
+ var BackendSpecificationTag = class extends import_sdkgen_client75.TagAbstract {
4917
+ /**
4918
+ * Returns the TypeHub specification
4919
+ *
4920
+ * @returns {Promise<BackendSpecificationGet>}
4921
+ * @throws {CommonMessageException}
4922
+ * @throws {ClientException}
4923
+ */
4924
+ async get() {
4925
+ const url = this.parser.url("/backend/specification", {});
4926
+ let request = {
4927
+ url,
4928
+ method: "GET",
4929
+ headers: {},
4930
+ params: this.parser.query({}, [])
4931
+ };
4932
+ const response = await this.httpClient.request(request);
4933
+ if (response.ok) {
4934
+ return await response.json();
4935
+ }
4936
+ const statusCode = response.status;
4937
+ if (statusCode >= 0 && statusCode <= 999) {
4938
+ throw new CommonMessageException(await response.json());
4939
+ }
4940
+ throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4941
+ }
4942
+ /**
4943
+ * Publish the specification
4944
+ *
4945
+ * @returns {Promise<CommonMessage>}
4946
+ * @throws {CommonMessageException}
4947
+ * @throws {ClientException}
4948
+ */
4949
+ async publish(payload) {
4950
+ const url = this.parser.url("/backend/specification", {});
4951
+ let request = {
4952
+ url,
4953
+ method: "POST",
4954
+ headers: {
4955
+ "Content-Type": "application/json"
4956
+ },
4957
+ params: this.parser.query({}, []),
4958
+ data: payload
4959
+ };
4960
+ const response = await this.httpClient.request(request);
4961
+ if (response.ok) {
4962
+ return await response.json();
4963
+ }
4964
+ const statusCode = response.status;
4965
+ if (statusCode >= 0 && statusCode <= 999) {
4966
+ throw new CommonMessageException(await response.json());
4967
+ }
4968
+ throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4969
+ }
4970
+ };
4971
+
4972
+ // src/BackendStatisticTag.ts
4973
+ var import_sdkgen_client77 = require("sdkgen-client");
4974
+ var import_sdkgen_client78 = require("sdkgen-client");
4975
+ var BackendStatisticTag = class extends import_sdkgen_client77.TagAbstract {
4916
4976
  /**
4917
4977
  * Returns a statistic containing the activities per user
4918
4978
  *
@@ -4951,7 +5011,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
4951
5011
  if (statusCode >= 0 && statusCode <= 999) {
4952
5012
  throw new CommonMessageException(await response.json());
4953
5013
  }
4954
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5014
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4955
5015
  }
4956
5016
  /**
4957
5017
  * Returns a statistic containing the request count
@@ -4991,7 +5051,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
4991
5051
  if (statusCode >= 0 && statusCode <= 999) {
4992
5052
  throw new CommonMessageException(await response.json());
4993
5053
  }
4994
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5054
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
4995
5055
  }
4996
5056
  /**
4997
5057
  * Returns a statistic containing the errors per operation
@@ -5031,7 +5091,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5031
5091
  if (statusCode >= 0 && statusCode <= 999) {
5032
5092
  throw new CommonMessageException(await response.json());
5033
5093
  }
5034
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5094
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5035
5095
  }
5036
5096
  /**
5037
5097
  * Returns a statistic containing the incoming requests
@@ -5071,7 +5131,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5071
5131
  if (statusCode >= 0 && statusCode <= 999) {
5072
5132
  throw new CommonMessageException(await response.json());
5073
5133
  }
5074
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5134
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5075
5135
  }
5076
5136
  /**
5077
5137
  * Returns a statistic containing the incoming transactions
@@ -5111,7 +5171,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5111
5171
  if (statusCode >= 0 && statusCode <= 999) {
5112
5172
  throw new CommonMessageException(await response.json());
5113
5173
  }
5114
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5174
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5115
5175
  }
5116
5176
  /**
5117
5177
  * Returns a statistic containing the issues tokens
@@ -5151,7 +5211,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5151
5211
  if (statusCode >= 0 && statusCode <= 999) {
5152
5212
  throw new CommonMessageException(await response.json());
5153
5213
  }
5154
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5214
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5155
5215
  }
5156
5216
  /**
5157
5217
  * Returns a statistic containing the most used activities
@@ -5191,7 +5251,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5191
5251
  if (statusCode >= 0 && statusCode <= 999) {
5192
5252
  throw new CommonMessageException(await response.json());
5193
5253
  }
5194
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5254
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5195
5255
  }
5196
5256
  /**
5197
5257
  * Returns a statistic containing the most used apps
@@ -5231,7 +5291,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5231
5291
  if (statusCode >= 0 && statusCode <= 999) {
5232
5292
  throw new CommonMessageException(await response.json());
5233
5293
  }
5234
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5294
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5235
5295
  }
5236
5296
  /**
5237
5297
  * Returns a statistic containing the most used operations
@@ -5271,7 +5331,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5271
5331
  if (statusCode >= 0 && statusCode <= 999) {
5272
5332
  throw new CommonMessageException(await response.json());
5273
5333
  }
5274
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5334
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5275
5335
  }
5276
5336
  /**
5277
5337
  * Returns a statistic containing the requests per ip
@@ -5311,7 +5371,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5311
5371
  if (statusCode >= 0 && statusCode <= 999) {
5312
5372
  throw new CommonMessageException(await response.json());
5313
5373
  }
5314
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5374
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5315
5375
  }
5316
5376
  /**
5317
5377
  * Returns a statistic containing the requests per operation
@@ -5351,7 +5411,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5351
5411
  if (statusCode >= 0 && statusCode <= 999) {
5352
5412
  throw new CommonMessageException(await response.json());
5353
5413
  }
5354
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5414
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5355
5415
  }
5356
5416
  /**
5357
5417
  * Returns a statistic containing the requests per user
@@ -5391,7 +5451,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5391
5451
  if (statusCode >= 0 && statusCode <= 999) {
5392
5452
  throw new CommonMessageException(await response.json());
5393
5453
  }
5394
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5454
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5395
5455
  }
5396
5456
  /**
5397
5457
  * Returns a statistic containing the test coverage
@@ -5416,7 +5476,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5416
5476
  if (statusCode >= 0 && statusCode <= 999) {
5417
5477
  throw new CommonMessageException(await response.json());
5418
5478
  }
5419
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5479
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5420
5480
  }
5421
5481
  /**
5422
5482
  * Returns a statistic containing the time average
@@ -5456,7 +5516,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5456
5516
  if (statusCode >= 0 && statusCode <= 999) {
5457
5517
  throw new CommonMessageException(await response.json());
5458
5518
  }
5459
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5519
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5460
5520
  }
5461
5521
  /**
5462
5522
  * Returns a statistic containing the time per operation
@@ -5496,7 +5556,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5496
5556
  if (statusCode >= 0 && statusCode <= 999) {
5497
5557
  throw new CommonMessageException(await response.json());
5498
5558
  }
5499
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5559
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5500
5560
  }
5501
5561
  /**
5502
5562
  * Returns a statistic containing the used points
@@ -5536,7 +5596,7 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5536
5596
  if (statusCode >= 0 && statusCode <= 999) {
5537
5597
  throw new CommonMessageException(await response.json());
5538
5598
  }
5539
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5599
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5540
5600
  }
5541
5601
  /**
5542
5602
  * Returns a statistic containing the user registrations
@@ -5576,17 +5636,17 @@ var BackendStatisticTag = class extends import_sdkgen_client75.TagAbstract {
5576
5636
  if (statusCode >= 0 && statusCode <= 999) {
5577
5637
  throw new CommonMessageException(await response.json());
5578
5638
  }
5579
- throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5639
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5580
5640
  }
5581
5641
  };
5582
5642
 
5583
5643
  // src/BackendTag.ts
5584
- var import_sdkgen_client95 = require("sdkgen-client");
5644
+ var import_sdkgen_client97 = require("sdkgen-client");
5585
5645
 
5586
5646
  // src/BackendTaxonomyTag.ts
5587
- var import_sdkgen_client77 = require("sdkgen-client");
5588
- var import_sdkgen_client78 = require("sdkgen-client");
5589
- var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5647
+ var import_sdkgen_client79 = require("sdkgen-client");
5648
+ var import_sdkgen_client80 = require("sdkgen-client");
5649
+ var BackendTaxonomyTag = class extends import_sdkgen_client79.TagAbstract {
5590
5650
  /**
5591
5651
  * Creates a new taxonomy
5592
5652
  *
@@ -5613,7 +5673,7 @@ var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5613
5673
  if (statusCode >= 0 && statusCode <= 999) {
5614
5674
  throw new CommonMessageException(await response.json());
5615
5675
  }
5616
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5676
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5617
5677
  }
5618
5678
  /**
5619
5679
  * Deletes an existing taxonomy
@@ -5640,7 +5700,7 @@ var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5640
5700
  if (statusCode >= 0 && statusCode <= 999) {
5641
5701
  throw new CommonMessageException(await response.json());
5642
5702
  }
5643
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5703
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5644
5704
  }
5645
5705
  /**
5646
5706
  * Returns a specific taxonomy
@@ -5667,7 +5727,7 @@ var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5667
5727
  if (statusCode >= 0 && statusCode <= 999) {
5668
5728
  throw new CommonMessageException(await response.json());
5669
5729
  }
5670
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5730
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5671
5731
  }
5672
5732
  /**
5673
5733
  * Returns a paginated list of taxonomies
@@ -5696,7 +5756,7 @@ var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5696
5756
  if (statusCode >= 0 && statusCode <= 999) {
5697
5757
  throw new CommonMessageException(await response.json());
5698
5758
  }
5699
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5759
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5700
5760
  }
5701
5761
  /**
5702
5762
  * Moves the provided ids to the taxonomy
@@ -5726,7 +5786,7 @@ var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5726
5786
  if (statusCode >= 0 && statusCode <= 999) {
5727
5787
  throw new CommonMessageException(await response.json());
5728
5788
  }
5729
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5789
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5730
5790
  }
5731
5791
  /**
5732
5792
  * Updates an existing taxonomy
@@ -5756,14 +5816,14 @@ var BackendTaxonomyTag = class extends import_sdkgen_client77.TagAbstract {
5756
5816
  if (statusCode >= 0 && statusCode <= 999) {
5757
5817
  throw new CommonMessageException(await response.json());
5758
5818
  }
5759
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5819
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5760
5820
  }
5761
5821
  };
5762
5822
 
5763
5823
  // src/BackendTenantTag.ts
5764
- var import_sdkgen_client79 = require("sdkgen-client");
5765
- var import_sdkgen_client80 = require("sdkgen-client");
5766
- var BackendTenantTag = class extends import_sdkgen_client79.TagAbstract {
5824
+ var import_sdkgen_client81 = require("sdkgen-client");
5825
+ var import_sdkgen_client82 = require("sdkgen-client");
5826
+ var BackendTenantTag = class extends import_sdkgen_client81.TagAbstract {
5767
5827
  /**
5768
5828
  * Removes an existing tenant
5769
5829
  *
@@ -5789,7 +5849,7 @@ var BackendTenantTag = class extends import_sdkgen_client79.TagAbstract {
5789
5849
  if (statusCode >= 0 && statusCode <= 999) {
5790
5850
  throw new CommonMessageException(await response.json());
5791
5851
  }
5792
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5852
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5793
5853
  }
5794
5854
  /**
5795
5855
  * Setup a new tenant
@@ -5816,14 +5876,14 @@ var BackendTenantTag = class extends import_sdkgen_client79.TagAbstract {
5816
5876
  if (statusCode >= 0 && statusCode <= 999) {
5817
5877
  throw new CommonMessageException(await response.json());
5818
5878
  }
5819
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5879
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5820
5880
  }
5821
5881
  };
5822
5882
 
5823
5883
  // src/BackendTestTag.ts
5824
- var import_sdkgen_client81 = require("sdkgen-client");
5825
- var import_sdkgen_client82 = require("sdkgen-client");
5826
- var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
5884
+ var import_sdkgen_client83 = require("sdkgen-client");
5885
+ var import_sdkgen_client84 = require("sdkgen-client");
5886
+ var BackendTestTag = class extends import_sdkgen_client83.TagAbstract {
5827
5887
  /**
5828
5888
  * Returns a specific test
5829
5889
  *
@@ -5849,7 +5909,7 @@ var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
5849
5909
  if (statusCode >= 0 && statusCode <= 999) {
5850
5910
  throw new CommonMessageException(await response.json());
5851
5911
  }
5852
- throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5912
+ throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5853
5913
  }
5854
5914
  /**
5855
5915
  * Returns a paginated list of tests
@@ -5878,7 +5938,7 @@ var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
5878
5938
  if (statusCode >= 0 && statusCode <= 999) {
5879
5939
  throw new CommonMessageException(await response.json());
5880
5940
  }
5881
- throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5941
+ throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5882
5942
  }
5883
5943
  /**
5884
5944
  * Refresh all tests
@@ -5903,7 +5963,7 @@ var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
5903
5963
  if (statusCode >= 0 && statusCode <= 999) {
5904
5964
  throw new CommonMessageException(await response.json());
5905
5965
  }
5906
- throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5966
+ throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5907
5967
  }
5908
5968
  /**
5909
5969
  * Run all tests
@@ -5928,7 +5988,7 @@ var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
5928
5988
  if (statusCode >= 0 && statusCode <= 999) {
5929
5989
  throw new CommonMessageException(await response.json());
5930
5990
  }
5931
- throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5991
+ throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5932
5992
  }
5933
5993
  /**
5934
5994
  * Updates an existing test
@@ -5958,14 +6018,14 @@ var BackendTestTag = class extends import_sdkgen_client81.TagAbstract {
5958
6018
  if (statusCode >= 0 && statusCode <= 999) {
5959
6019
  throw new CommonMessageException(await response.json());
5960
6020
  }
5961
- throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6021
+ throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5962
6022
  }
5963
6023
  };
5964
6024
 
5965
6025
  // src/BackendTokenTag.ts
5966
- var import_sdkgen_client83 = require("sdkgen-client");
5967
- var import_sdkgen_client84 = require("sdkgen-client");
5968
- var BackendTokenTag = class extends import_sdkgen_client83.TagAbstract {
6026
+ var import_sdkgen_client85 = require("sdkgen-client");
6027
+ var import_sdkgen_client86 = require("sdkgen-client");
6028
+ var BackendTokenTag = class extends import_sdkgen_client85.TagAbstract {
5969
6029
  /**
5970
6030
  * Returns a specific token
5971
6031
  *
@@ -5991,7 +6051,7 @@ var BackendTokenTag = class extends import_sdkgen_client83.TagAbstract {
5991
6051
  if (statusCode >= 0 && statusCode <= 999) {
5992
6052
  throw new CommonMessageException(await response.json());
5993
6053
  }
5994
- throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6054
+ throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5995
6055
  }
5996
6056
  /**
5997
6057
  * Returns a paginated list of tokens
@@ -6027,14 +6087,14 @@ var BackendTokenTag = class extends import_sdkgen_client83.TagAbstract {
6027
6087
  if (statusCode >= 0 && statusCode <= 999) {
6028
6088
  throw new CommonMessageException(await response.json());
6029
6089
  }
6030
- throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6090
+ throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6031
6091
  }
6032
6092
  };
6033
6093
 
6034
6094
  // src/BackendTransactionTag.ts
6035
- var import_sdkgen_client85 = require("sdkgen-client");
6036
- var import_sdkgen_client86 = require("sdkgen-client");
6037
- var BackendTransactionTag = class extends import_sdkgen_client85.TagAbstract {
6095
+ var import_sdkgen_client87 = require("sdkgen-client");
6096
+ var import_sdkgen_client88 = require("sdkgen-client");
6097
+ var BackendTransactionTag = class extends import_sdkgen_client87.TagAbstract {
6038
6098
  /**
6039
6099
  * Returns a specific transaction
6040
6100
  *
@@ -6060,7 +6120,7 @@ var BackendTransactionTag = class extends import_sdkgen_client85.TagAbstract {
6060
6120
  if (statusCode >= 0 && statusCode <= 999) {
6061
6121
  throw new CommonMessageException(await response.json());
6062
6122
  }
6063
- throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6123
+ throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6064
6124
  }
6065
6125
  /**
6066
6126
  * Returns a paginated list of transactions
@@ -6097,14 +6157,14 @@ var BackendTransactionTag = class extends import_sdkgen_client85.TagAbstract {
6097
6157
  if (statusCode >= 0 && statusCode <= 999) {
6098
6158
  throw new CommonMessageException(await response.json());
6099
6159
  }
6100
- throw new import_sdkgen_client86.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6160
+ throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6101
6161
  }
6102
6162
  };
6103
6163
 
6104
6164
  // src/BackendTrashTag.ts
6105
- var import_sdkgen_client87 = require("sdkgen-client");
6106
- var import_sdkgen_client88 = require("sdkgen-client");
6107
- var BackendTrashTag = class extends import_sdkgen_client87.TagAbstract {
6165
+ var import_sdkgen_client89 = require("sdkgen-client");
6166
+ var import_sdkgen_client90 = require("sdkgen-client");
6167
+ var BackendTrashTag = class extends import_sdkgen_client89.TagAbstract {
6108
6168
  /**
6109
6169
  * Returns all deleted records by trash type
6110
6170
  *
@@ -6134,7 +6194,7 @@ var BackendTrashTag = class extends import_sdkgen_client87.TagAbstract {
6134
6194
  if (statusCode >= 0 && statusCode <= 999) {
6135
6195
  throw new CommonMessageException(await response.json());
6136
6196
  }
6137
- throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6197
+ throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6138
6198
  }
6139
6199
  /**
6140
6200
  * Returns all trash types
@@ -6159,7 +6219,7 @@ var BackendTrashTag = class extends import_sdkgen_client87.TagAbstract {
6159
6219
  if (statusCode >= 0 && statusCode <= 999) {
6160
6220
  throw new CommonMessageException(await response.json());
6161
6221
  }
6162
- throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6222
+ throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6163
6223
  }
6164
6224
  /**
6165
6225
  * Restores a previously deleted record
@@ -6189,14 +6249,14 @@ var BackendTrashTag = class extends import_sdkgen_client87.TagAbstract {
6189
6249
  if (statusCode >= 0 && statusCode <= 999) {
6190
6250
  throw new CommonMessageException(await response.json());
6191
6251
  }
6192
- throw new import_sdkgen_client88.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6252
+ throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6193
6253
  }
6194
6254
  };
6195
6255
 
6196
6256
  // src/BackendTriggerTag.ts
6197
- var import_sdkgen_client89 = require("sdkgen-client");
6198
- var import_sdkgen_client90 = require("sdkgen-client");
6199
- var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
6257
+ var import_sdkgen_client91 = require("sdkgen-client");
6258
+ var import_sdkgen_client92 = require("sdkgen-client");
6259
+ var BackendTriggerTag = class extends import_sdkgen_client91.TagAbstract {
6200
6260
  /**
6201
6261
  * Creates a new trigger
6202
6262
  *
@@ -6223,7 +6283,7 @@ var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
6223
6283
  if (statusCode >= 0 && statusCode <= 999) {
6224
6284
  throw new CommonMessageException(await response.json());
6225
6285
  }
6226
- throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6286
+ throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6227
6287
  }
6228
6288
  /**
6229
6289
  * Deletes an existing trigger
@@ -6250,7 +6310,7 @@ var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
6250
6310
  if (statusCode >= 0 && statusCode <= 999) {
6251
6311
  throw new CommonMessageException(await response.json());
6252
6312
  }
6253
- throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6313
+ throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6254
6314
  }
6255
6315
  /**
6256
6316
  * Returns a specific trigger
@@ -6277,7 +6337,7 @@ var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
6277
6337
  if (statusCode >= 0 && statusCode <= 999) {
6278
6338
  throw new CommonMessageException(await response.json());
6279
6339
  }
6280
- throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6340
+ throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6281
6341
  }
6282
6342
  /**
6283
6343
  * Returns a paginated list of triggers
@@ -6307,7 +6367,7 @@ var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
6307
6367
  if (statusCode >= 0 && statusCode <= 999) {
6308
6368
  throw new CommonMessageException(await response.json());
6309
6369
  }
6310
- throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6370
+ throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6311
6371
  }
6312
6372
  /**
6313
6373
  * Updates an existing trigger
@@ -6337,14 +6397,14 @@ var BackendTriggerTag = class extends import_sdkgen_client89.TagAbstract {
6337
6397
  if (statusCode >= 0 && statusCode <= 999) {
6338
6398
  throw new CommonMessageException(await response.json());
6339
6399
  }
6340
- throw new import_sdkgen_client90.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6400
+ throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6341
6401
  }
6342
6402
  };
6343
6403
 
6344
6404
  // src/BackendUserTag.ts
6345
- var import_sdkgen_client91 = require("sdkgen-client");
6346
- var import_sdkgen_client92 = require("sdkgen-client");
6347
- var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6405
+ var import_sdkgen_client93 = require("sdkgen-client");
6406
+ var import_sdkgen_client94 = require("sdkgen-client");
6407
+ var BackendUserTag = class extends import_sdkgen_client93.TagAbstract {
6348
6408
  /**
6349
6409
  * Creates a new user
6350
6410
  *
@@ -6371,7 +6431,7 @@ var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6371
6431
  if (statusCode >= 0 && statusCode <= 999) {
6372
6432
  throw new CommonMessageException(await response.json());
6373
6433
  }
6374
- throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6434
+ throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6375
6435
  }
6376
6436
  /**
6377
6437
  * Deletes an existing user
@@ -6398,7 +6458,7 @@ var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6398
6458
  if (statusCode >= 0 && statusCode <= 999) {
6399
6459
  throw new CommonMessageException(await response.json());
6400
6460
  }
6401
- throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6461
+ throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6402
6462
  }
6403
6463
  /**
6404
6464
  * Returns a specific user
@@ -6425,7 +6485,7 @@ var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6425
6485
  if (statusCode >= 0 && statusCode <= 999) {
6426
6486
  throw new CommonMessageException(await response.json());
6427
6487
  }
6428
- throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6488
+ throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6429
6489
  }
6430
6490
  /**
6431
6491
  * Returns a paginated list of users
@@ -6454,7 +6514,7 @@ var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6454
6514
  if (statusCode >= 0 && statusCode <= 999) {
6455
6515
  throw new CommonMessageException(await response.json());
6456
6516
  }
6457
- throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6517
+ throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6458
6518
  }
6459
6519
  /**
6460
6520
  * Resend the activation mail to the provided user
@@ -6484,7 +6544,7 @@ var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6484
6544
  if (statusCode >= 0 && statusCode <= 999) {
6485
6545
  throw new CommonMessageException(await response.json());
6486
6546
  }
6487
- throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6547
+ throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6488
6548
  }
6489
6549
  /**
6490
6550
  * Updates an existing user
@@ -6514,14 +6574,14 @@ var BackendUserTag = class extends import_sdkgen_client91.TagAbstract {
6514
6574
  if (statusCode >= 0 && statusCode <= 999) {
6515
6575
  throw new CommonMessageException(await response.json());
6516
6576
  }
6517
- throw new import_sdkgen_client92.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6577
+ throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6518
6578
  }
6519
6579
  };
6520
6580
 
6521
6581
  // src/BackendWebhookTag.ts
6522
- var import_sdkgen_client93 = require("sdkgen-client");
6523
- var import_sdkgen_client94 = require("sdkgen-client");
6524
- var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
6582
+ var import_sdkgen_client95 = require("sdkgen-client");
6583
+ var import_sdkgen_client96 = require("sdkgen-client");
6584
+ var BackendWebhookTag = class extends import_sdkgen_client95.TagAbstract {
6525
6585
  /**
6526
6586
  * Creates a new webhook
6527
6587
  *
@@ -6548,7 +6608,7 @@ var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
6548
6608
  if (statusCode >= 0 && statusCode <= 999) {
6549
6609
  throw new CommonMessageException(await response.json());
6550
6610
  }
6551
- throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6611
+ throw new import_sdkgen_client96.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6552
6612
  }
6553
6613
  /**
6554
6614
  * Deletes an existing webhook
@@ -6575,7 +6635,7 @@ var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
6575
6635
  if (statusCode >= 0 && statusCode <= 999) {
6576
6636
  throw new CommonMessageException(await response.json());
6577
6637
  }
6578
- throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6638
+ throw new import_sdkgen_client96.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6579
6639
  }
6580
6640
  /**
6581
6641
  * Returns a specific webhook
@@ -6602,7 +6662,7 @@ var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
6602
6662
  if (statusCode >= 0 && statusCode <= 999) {
6603
6663
  throw new CommonMessageException(await response.json());
6604
6664
  }
6605
- throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6665
+ throw new import_sdkgen_client96.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6606
6666
  }
6607
6667
  /**
6608
6668
  * Returns a paginated list of webhooks
@@ -6631,7 +6691,7 @@ var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
6631
6691
  if (statusCode >= 0 && statusCode <= 999) {
6632
6692
  throw new CommonMessageException(await response.json());
6633
6693
  }
6634
- throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6694
+ throw new import_sdkgen_client96.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6635
6695
  }
6636
6696
  /**
6637
6697
  * Updates an existing webhook
@@ -6661,12 +6721,12 @@ var BackendWebhookTag = class extends import_sdkgen_client93.TagAbstract {
6661
6721
  if (statusCode >= 0 && statusCode <= 999) {
6662
6722
  throw new CommonMessageException(await response.json());
6663
6723
  }
6664
- throw new import_sdkgen_client94.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6724
+ throw new import_sdkgen_client96.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6665
6725
  }
6666
6726
  };
6667
6727
 
6668
6728
  // src/BackendTag.ts
6669
- var BackendTag = class extends import_sdkgen_client95.TagAbstract {
6729
+ var BackendTag = class extends import_sdkgen_client97.TagAbstract {
6670
6730
  account() {
6671
6731
  return new BackendAccountTag(
6672
6732
  this.httpClient,
@@ -6829,6 +6889,12 @@ var BackendTag = class extends import_sdkgen_client95.TagAbstract {
6829
6889
  this.parser
6830
6890
  );
6831
6891
  }
6892
+ specification() {
6893
+ return new BackendSpecificationTag(
6894
+ this.httpClient,
6895
+ this.parser
6896
+ );
6897
+ }
6832
6898
  statistic() {
6833
6899
  return new BackendStatisticTag(
6834
6900
  this.httpClient,
@@ -6892,16 +6958,16 @@ var BackendTag = class extends import_sdkgen_client95.TagAbstract {
6892
6958
  };
6893
6959
 
6894
6960
  // src/Client.ts
6895
- var import_sdkgen_client132 = require("sdkgen-client");
6896
- var import_sdkgen_client133 = require("sdkgen-client");
6961
+ var import_sdkgen_client134 = require("sdkgen-client");
6962
+ var import_sdkgen_client135 = require("sdkgen-client");
6897
6963
 
6898
6964
  // src/ConsumerTag.ts
6899
- var import_sdkgen_client124 = require("sdkgen-client");
6965
+ var import_sdkgen_client126 = require("sdkgen-client");
6900
6966
 
6901
6967
  // src/ConsumerAccountTag.ts
6902
- var import_sdkgen_client96 = require("sdkgen-client");
6903
- var import_sdkgen_client97 = require("sdkgen-client");
6904
- var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
6968
+ var import_sdkgen_client98 = require("sdkgen-client");
6969
+ var import_sdkgen_client99 = require("sdkgen-client");
6970
+ var ConsumerAccountTag = class extends import_sdkgen_client98.TagAbstract {
6905
6971
  /**
6906
6972
  * Activates an previously registered account through a token which was provided to the user via email
6907
6973
  *
@@ -6928,7 +6994,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
6928
6994
  if (statusCode >= 0 && statusCode <= 999) {
6929
6995
  throw new CommonMessageException(await response.json());
6930
6996
  }
6931
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6997
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6932
6998
  }
6933
6999
  /**
6934
7000
  * Authorizes the access of a specific app for the authenticated user
@@ -6956,7 +7022,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
6956
7022
  if (statusCode >= 0 && statusCode <= 999) {
6957
7023
  throw new CommonMessageException(await response.json());
6958
7024
  }
6959
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7025
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6960
7026
  }
6961
7027
  /**
6962
7028
  * Change the password for the authenticated user
@@ -6984,7 +7050,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
6984
7050
  if (statusCode >= 0 && statusCode <= 999) {
6985
7051
  throw new CommonMessageException(await response.json());
6986
7052
  }
6987
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7053
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6988
7054
  }
6989
7055
  /**
6990
7056
  * Change the password after the password reset flow was started
@@ -7012,7 +7078,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7012
7078
  if (statusCode >= 0 && statusCode <= 999) {
7013
7079
  throw new CommonMessageException(await response.json());
7014
7080
  }
7015
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7081
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7016
7082
  }
7017
7083
  /**
7018
7084
  * Returns a user data for the authenticated user
@@ -7037,7 +7103,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7037
7103
  if (statusCode >= 0 && statusCode <= 999) {
7038
7104
  throw new CommonMessageException(await response.json());
7039
7105
  }
7040
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7106
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7041
7107
  }
7042
7108
  /**
7043
7109
  * Returns information about a specific app to start the OAuth2 authorization code flow
@@ -7065,7 +7131,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7065
7131
  if (statusCode >= 0 && statusCode <= 999) {
7066
7132
  throw new CommonMessageException(await response.json());
7067
7133
  }
7068
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7134
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7069
7135
  }
7070
7136
  /**
7071
7137
  * User login by providing a username and password
@@ -7093,7 +7159,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7093
7159
  if (statusCode >= 0 && statusCode <= 999) {
7094
7160
  throw new CommonMessageException(await response.json());
7095
7161
  }
7096
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7162
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7097
7163
  }
7098
7164
  /**
7099
7165
  * Refresh a previously obtained access token
@@ -7121,7 +7187,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7121
7187
  if (statusCode >= 0 && statusCode <= 999) {
7122
7188
  throw new CommonMessageException(await response.json());
7123
7189
  }
7124
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7190
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7125
7191
  }
7126
7192
  /**
7127
7193
  * Register a new user account
@@ -7149,7 +7215,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7149
7215
  if (statusCode >= 0 && statusCode <= 999) {
7150
7216
  throw new CommonMessageException(await response.json());
7151
7217
  }
7152
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7218
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7153
7219
  }
7154
7220
  /**
7155
7221
  * Start the password reset flow
@@ -7177,7 +7243,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7177
7243
  if (statusCode >= 0 && statusCode <= 999) {
7178
7244
  throw new CommonMessageException(await response.json());
7179
7245
  }
7180
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7246
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7181
7247
  }
7182
7248
  /**
7183
7249
  * Updates user data for the authenticated user
@@ -7205,14 +7271,14 @@ var ConsumerAccountTag = class extends import_sdkgen_client96.TagAbstract {
7205
7271
  if (statusCode >= 0 && statusCode <= 999) {
7206
7272
  throw new CommonMessageException(await response.json());
7207
7273
  }
7208
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7274
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7209
7275
  }
7210
7276
  };
7211
7277
 
7212
7278
  // src/ConsumerAppTag.ts
7213
- var import_sdkgen_client98 = require("sdkgen-client");
7214
- var import_sdkgen_client99 = require("sdkgen-client");
7215
- var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
7279
+ var import_sdkgen_client100 = require("sdkgen-client");
7280
+ var import_sdkgen_client101 = require("sdkgen-client");
7281
+ var ConsumerAppTag = class extends import_sdkgen_client100.TagAbstract {
7216
7282
  /**
7217
7283
  * Creates a new app for the authenticated user
7218
7284
  *
@@ -7239,7 +7305,7 @@ var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
7239
7305
  if (statusCode >= 0 && statusCode <= 999) {
7240
7306
  throw new CommonMessageException(await response.json());
7241
7307
  }
7242
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7308
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7243
7309
  }
7244
7310
  /**
7245
7311
  * Deletes an existing app for the authenticated user
@@ -7266,7 +7332,7 @@ var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
7266
7332
  if (statusCode >= 0 && statusCode <= 999) {
7267
7333
  throw new CommonMessageException(await response.json());
7268
7334
  }
7269
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7335
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7270
7336
  }
7271
7337
  /**
7272
7338
  * Returns a specific app for the authenticated user
@@ -7293,7 +7359,7 @@ var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
7293
7359
  if (statusCode >= 0 && statusCode <= 999) {
7294
7360
  throw new CommonMessageException(await response.json());
7295
7361
  }
7296
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7362
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7297
7363
  }
7298
7364
  /**
7299
7365
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -7322,7 +7388,7 @@ var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
7322
7388
  if (statusCode >= 0 && statusCode <= 999) {
7323
7389
  throw new CommonMessageException(await response.json());
7324
7390
  }
7325
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7391
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7326
7392
  }
7327
7393
  /**
7328
7394
  * Updates an existing app for the authenticated user
@@ -7352,14 +7418,14 @@ var ConsumerAppTag = class extends import_sdkgen_client98.TagAbstract {
7352
7418
  if (statusCode >= 0 && statusCode <= 999) {
7353
7419
  throw new CommonMessageException(await response.json());
7354
7420
  }
7355
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7421
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7356
7422
  }
7357
7423
  };
7358
7424
 
7359
7425
  // src/ConsumerEventTag.ts
7360
- var import_sdkgen_client100 = require("sdkgen-client");
7361
- var import_sdkgen_client101 = require("sdkgen-client");
7362
- var ConsumerEventTag = class extends import_sdkgen_client100.TagAbstract {
7426
+ var import_sdkgen_client102 = require("sdkgen-client");
7427
+ var import_sdkgen_client103 = require("sdkgen-client");
7428
+ var ConsumerEventTag = class extends import_sdkgen_client102.TagAbstract {
7363
7429
  /**
7364
7430
  * Returns a specific event for the authenticated user
7365
7431
  *
@@ -7385,7 +7451,7 @@ var ConsumerEventTag = class extends import_sdkgen_client100.TagAbstract {
7385
7451
  if (statusCode >= 0 && statusCode <= 999) {
7386
7452
  throw new CommonMessageException(await response.json());
7387
7453
  }
7388
- throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7454
+ throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7389
7455
  }
7390
7456
  /**
7391
7457
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -7414,14 +7480,14 @@ var ConsumerEventTag = class extends import_sdkgen_client100.TagAbstract {
7414
7480
  if (statusCode >= 0 && statusCode <= 999) {
7415
7481
  throw new CommonMessageException(await response.json());
7416
7482
  }
7417
- throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7483
+ throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7418
7484
  }
7419
7485
  };
7420
7486
 
7421
7487
  // src/ConsumerFormTag.ts
7422
- var import_sdkgen_client102 = require("sdkgen-client");
7423
- var import_sdkgen_client103 = require("sdkgen-client");
7424
- var ConsumerFormTag = class extends import_sdkgen_client102.TagAbstract {
7488
+ var import_sdkgen_client104 = require("sdkgen-client");
7489
+ var import_sdkgen_client105 = require("sdkgen-client");
7490
+ var ConsumerFormTag = class extends import_sdkgen_client104.TagAbstract {
7425
7491
  /**
7426
7492
  * Returns a specific form for the authenticated user
7427
7493
  *
@@ -7447,7 +7513,7 @@ var ConsumerFormTag = class extends import_sdkgen_client102.TagAbstract {
7447
7513
  if (statusCode >= 0 && statusCode <= 999) {
7448
7514
  throw new CommonMessageException(await response.json());
7449
7515
  }
7450
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7516
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7451
7517
  }
7452
7518
  /**
7453
7519
  * Returns a paginated list of forms which are relevant to the authenticated user
@@ -7476,14 +7542,14 @@ var ConsumerFormTag = class extends import_sdkgen_client102.TagAbstract {
7476
7542
  if (statusCode >= 0 && statusCode <= 999) {
7477
7543
  throw new CommonMessageException(await response.json());
7478
7544
  }
7479
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7545
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7480
7546
  }
7481
7547
  };
7482
7548
 
7483
7549
  // src/ConsumerGrantTag.ts
7484
- var import_sdkgen_client104 = require("sdkgen-client");
7485
- var import_sdkgen_client105 = require("sdkgen-client");
7486
- var ConsumerGrantTag = class extends import_sdkgen_client104.TagAbstract {
7550
+ var import_sdkgen_client106 = require("sdkgen-client");
7551
+ var import_sdkgen_client107 = require("sdkgen-client");
7552
+ var ConsumerGrantTag = class extends import_sdkgen_client106.TagAbstract {
7487
7553
  /**
7488
7554
  * Deletes an existing grant for an app which was created by the authenticated user
7489
7555
  *
@@ -7509,7 +7575,7 @@ var ConsumerGrantTag = class extends import_sdkgen_client104.TagAbstract {
7509
7575
  if (statusCode >= 0 && statusCode <= 999) {
7510
7576
  throw new CommonMessageException(await response.json());
7511
7577
  }
7512
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7578
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7513
7579
  }
7514
7580
  /**
7515
7581
  * Returns a paginated list of grants which are assigned to the authenticated user
@@ -7538,14 +7604,14 @@ var ConsumerGrantTag = class extends import_sdkgen_client104.TagAbstract {
7538
7604
  if (statusCode >= 0 && statusCode <= 999) {
7539
7605
  throw new CommonMessageException(await response.json());
7540
7606
  }
7541
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7607
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7542
7608
  }
7543
7609
  };
7544
7610
 
7545
7611
  // src/ConsumerIdentityTag.ts
7546
- var import_sdkgen_client106 = require("sdkgen-client");
7547
- var import_sdkgen_client107 = require("sdkgen-client");
7548
- var ConsumerIdentityTag = class extends import_sdkgen_client106.TagAbstract {
7612
+ var import_sdkgen_client108 = require("sdkgen-client");
7613
+ var import_sdkgen_client109 = require("sdkgen-client");
7614
+ var ConsumerIdentityTag = class extends import_sdkgen_client108.TagAbstract {
7549
7615
  /**
7550
7616
  * Identity callback endpoint to exchange an access token
7551
7617
  *
@@ -7571,7 +7637,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client106.TagAbstract {
7571
7637
  if (statusCode >= 0 && statusCode <= 999) {
7572
7638
  throw new CommonMessageException(await response.json());
7573
7639
  }
7574
- throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7640
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7575
7641
  }
7576
7642
  /**
7577
7643
  * Returns a paginated list of identities which are relevant to the authenticated user
@@ -7599,7 +7665,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client106.TagAbstract {
7599
7665
  if (statusCode >= 0 && statusCode <= 999) {
7600
7666
  throw new CommonMessageException(await response.json());
7601
7667
  }
7602
- throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7668
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7603
7669
  }
7604
7670
  /**
7605
7671
  * Redirect the user to the configured identity provider
@@ -7626,14 +7692,14 @@ var ConsumerIdentityTag = class extends import_sdkgen_client106.TagAbstract {
7626
7692
  if (statusCode >= 0 && statusCode <= 999) {
7627
7693
  throw new CommonMessageException(await response.json());
7628
7694
  }
7629
- throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7695
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7630
7696
  }
7631
7697
  };
7632
7698
 
7633
7699
  // src/ConsumerLogTag.ts
7634
- var import_sdkgen_client108 = require("sdkgen-client");
7635
- var import_sdkgen_client109 = require("sdkgen-client");
7636
- var ConsumerLogTag = class extends import_sdkgen_client108.TagAbstract {
7700
+ var import_sdkgen_client110 = require("sdkgen-client");
7701
+ var import_sdkgen_client111 = require("sdkgen-client");
7702
+ var ConsumerLogTag = class extends import_sdkgen_client110.TagAbstract {
7637
7703
  /**
7638
7704
  * Returns a specific log for the authenticated user
7639
7705
  *
@@ -7659,7 +7725,7 @@ var ConsumerLogTag = class extends import_sdkgen_client108.TagAbstract {
7659
7725
  if (statusCode >= 0 && statusCode <= 999) {
7660
7726
  throw new CommonMessageException(await response.json());
7661
7727
  }
7662
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7728
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7663
7729
  }
7664
7730
  /**
7665
7731
  * Returns a paginated list of logs which are assigned to the authenticated user
@@ -7688,14 +7754,14 @@ var ConsumerLogTag = class extends import_sdkgen_client108.TagAbstract {
7688
7754
  if (statusCode >= 0 && statusCode <= 999) {
7689
7755
  throw new CommonMessageException(await response.json());
7690
7756
  }
7691
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7757
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7692
7758
  }
7693
7759
  };
7694
7760
 
7695
7761
  // src/ConsumerPageTag.ts
7696
- var import_sdkgen_client110 = require("sdkgen-client");
7697
- var import_sdkgen_client111 = require("sdkgen-client");
7698
- var ConsumerPageTag = class extends import_sdkgen_client110.TagAbstract {
7762
+ var import_sdkgen_client112 = require("sdkgen-client");
7763
+ var import_sdkgen_client113 = require("sdkgen-client");
7764
+ var ConsumerPageTag = class extends import_sdkgen_client112.TagAbstract {
7699
7765
  /**
7700
7766
  * Returns a specific page for the authenticated user
7701
7767
  *
@@ -7721,7 +7787,7 @@ var ConsumerPageTag = class extends import_sdkgen_client110.TagAbstract {
7721
7787
  if (statusCode >= 0 && statusCode <= 999) {
7722
7788
  throw new CommonMessageException(await response.json());
7723
7789
  }
7724
- throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7790
+ throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7725
7791
  }
7726
7792
  /**
7727
7793
  * Returns a paginated list of pages which are relevant to the authenticated user
@@ -7750,14 +7816,14 @@ var ConsumerPageTag = class extends import_sdkgen_client110.TagAbstract {
7750
7816
  if (statusCode >= 0 && statusCode <= 999) {
7751
7817
  throw new CommonMessageException(await response.json());
7752
7818
  }
7753
- throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7819
+ throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7754
7820
  }
7755
7821
  };
7756
7822
 
7757
7823
  // src/ConsumerPaymentTag.ts
7758
- var import_sdkgen_client112 = require("sdkgen-client");
7759
- var import_sdkgen_client113 = require("sdkgen-client");
7760
- var ConsumerPaymentTag = class extends import_sdkgen_client112.TagAbstract {
7824
+ var import_sdkgen_client114 = require("sdkgen-client");
7825
+ var import_sdkgen_client115 = require("sdkgen-client");
7826
+ var ConsumerPaymentTag = class extends import_sdkgen_client114.TagAbstract {
7761
7827
  /**
7762
7828
  * Start the checkout process for a specific plan
7763
7829
  *
@@ -7786,7 +7852,7 @@ var ConsumerPaymentTag = class extends import_sdkgen_client112.TagAbstract {
7786
7852
  if (statusCode >= 0 && statusCode <= 999) {
7787
7853
  throw new CommonMessageException(await response.json());
7788
7854
  }
7789
- throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7855
+ throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7790
7856
  }
7791
7857
  /**
7792
7858
  * Generates a payment portal link for the authenticated user
@@ -7816,14 +7882,14 @@ var ConsumerPaymentTag = class extends import_sdkgen_client112.TagAbstract {
7816
7882
  if (statusCode >= 0 && statusCode <= 999) {
7817
7883
  throw new CommonMessageException(await response.json());
7818
7884
  }
7819
- throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7885
+ throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7820
7886
  }
7821
7887
  };
7822
7888
 
7823
7889
  // src/ConsumerPlanTag.ts
7824
- var import_sdkgen_client114 = require("sdkgen-client");
7825
- var import_sdkgen_client115 = require("sdkgen-client");
7826
- var ConsumerPlanTag = class extends import_sdkgen_client114.TagAbstract {
7890
+ var import_sdkgen_client116 = require("sdkgen-client");
7891
+ var import_sdkgen_client117 = require("sdkgen-client");
7892
+ var ConsumerPlanTag = class extends import_sdkgen_client116.TagAbstract {
7827
7893
  /**
7828
7894
  * Returns a specific plan for the authenticated user
7829
7895
  *
@@ -7849,7 +7915,7 @@ var ConsumerPlanTag = class extends import_sdkgen_client114.TagAbstract {
7849
7915
  if (statusCode >= 0 && statusCode <= 999) {
7850
7916
  throw new CommonMessageException(await response.json());
7851
7917
  }
7852
- throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7918
+ throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7853
7919
  }
7854
7920
  /**
7855
7921
  * Returns a paginated list of plans which are relevant to the authenticated user
@@ -7878,14 +7944,14 @@ var ConsumerPlanTag = class extends import_sdkgen_client114.TagAbstract {
7878
7944
  if (statusCode >= 0 && statusCode <= 999) {
7879
7945
  throw new CommonMessageException(await response.json());
7880
7946
  }
7881
- throw new import_sdkgen_client115.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7947
+ throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7882
7948
  }
7883
7949
  };
7884
7950
 
7885
7951
  // src/ConsumerScopeTag.ts
7886
- var import_sdkgen_client116 = require("sdkgen-client");
7887
- var import_sdkgen_client117 = require("sdkgen-client");
7888
- var ConsumerScopeTag = class extends import_sdkgen_client116.TagAbstract {
7952
+ var import_sdkgen_client118 = require("sdkgen-client");
7953
+ var import_sdkgen_client119 = require("sdkgen-client");
7954
+ var ConsumerScopeTag = class extends import_sdkgen_client118.TagAbstract {
7889
7955
  /**
7890
7956
  * Returns a paginated list of scopes which are assigned to the authenticated user
7891
7957
  *
@@ -7913,7 +7979,7 @@ var ConsumerScopeTag = class extends import_sdkgen_client116.TagAbstract {
7913
7979
  if (statusCode >= 0 && statusCode <= 999) {
7914
7980
  throw new CommonMessageException(await response.json());
7915
7981
  }
7916
- throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7982
+ throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7917
7983
  }
7918
7984
  /**
7919
7985
  * Returns all scopes by category
@@ -7938,14 +8004,14 @@ var ConsumerScopeTag = class extends import_sdkgen_client116.TagAbstract {
7938
8004
  if (statusCode >= 0 && statusCode <= 999) {
7939
8005
  throw new CommonMessageException(await response.json());
7940
8006
  }
7941
- throw new import_sdkgen_client117.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8007
+ throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7942
8008
  }
7943
8009
  };
7944
8010
 
7945
8011
  // src/ConsumerTokenTag.ts
7946
- var import_sdkgen_client118 = require("sdkgen-client");
7947
- var import_sdkgen_client119 = require("sdkgen-client");
7948
- var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
8012
+ var import_sdkgen_client120 = require("sdkgen-client");
8013
+ var import_sdkgen_client121 = require("sdkgen-client");
8014
+ var ConsumerTokenTag = class extends import_sdkgen_client120.TagAbstract {
7949
8015
  /**
7950
8016
  * Creates a new token for the authenticated user
7951
8017
  *
@@ -7972,7 +8038,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
7972
8038
  if (statusCode >= 0 && statusCode <= 999) {
7973
8039
  throw new CommonMessageException(await response.json());
7974
8040
  }
7975
- throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8041
+ throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7976
8042
  }
7977
8043
  /**
7978
8044
  * Deletes an existing token for the authenticated user
@@ -7999,7 +8065,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
7999
8065
  if (statusCode >= 0 && statusCode <= 999) {
8000
8066
  throw new CommonMessageException(await response.json());
8001
8067
  }
8002
- throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8068
+ throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8003
8069
  }
8004
8070
  /**
8005
8071
  * Returns a specific token for the authenticated user
@@ -8026,7 +8092,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
8026
8092
  if (statusCode >= 0 && statusCode <= 999) {
8027
8093
  throw new CommonMessageException(await response.json());
8028
8094
  }
8029
- throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8095
+ throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8030
8096
  }
8031
8097
  /**
8032
8098
  * Returns a paginated list of tokens which are assigned to the authenticated user
@@ -8055,7 +8121,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
8055
8121
  if (statusCode >= 0 && statusCode <= 999) {
8056
8122
  throw new CommonMessageException(await response.json());
8057
8123
  }
8058
- throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8124
+ throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8059
8125
  }
8060
8126
  /**
8061
8127
  * Updates an existing token for the authenticated user
@@ -8085,14 +8151,14 @@ var ConsumerTokenTag = class extends import_sdkgen_client118.TagAbstract {
8085
8151
  if (statusCode >= 0 && statusCode <= 999) {
8086
8152
  throw new CommonMessageException(await response.json());
8087
8153
  }
8088
- throw new import_sdkgen_client119.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8154
+ throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8089
8155
  }
8090
8156
  };
8091
8157
 
8092
8158
  // src/ConsumerTransactionTag.ts
8093
- var import_sdkgen_client120 = require("sdkgen-client");
8094
- var import_sdkgen_client121 = require("sdkgen-client");
8095
- var ConsumerTransactionTag = class extends import_sdkgen_client120.TagAbstract {
8159
+ var import_sdkgen_client122 = require("sdkgen-client");
8160
+ var import_sdkgen_client123 = require("sdkgen-client");
8161
+ var ConsumerTransactionTag = class extends import_sdkgen_client122.TagAbstract {
8096
8162
  /**
8097
8163
  * Returns a specific transaction for the authenticated user
8098
8164
  *
@@ -8118,7 +8184,7 @@ var ConsumerTransactionTag = class extends import_sdkgen_client120.TagAbstract {
8118
8184
  if (statusCode >= 0 && statusCode <= 999) {
8119
8185
  throw new CommonMessageException(await response.json());
8120
8186
  }
8121
- throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8187
+ throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8122
8188
  }
8123
8189
  /**
8124
8190
  * Returns a paginated list of transactions which are assigned to the authenticated user
@@ -8147,14 +8213,14 @@ var ConsumerTransactionTag = class extends import_sdkgen_client120.TagAbstract {
8147
8213
  if (statusCode >= 0 && statusCode <= 999) {
8148
8214
  throw new CommonMessageException(await response.json());
8149
8215
  }
8150
- throw new import_sdkgen_client121.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8216
+ throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8151
8217
  }
8152
8218
  };
8153
8219
 
8154
8220
  // src/ConsumerWebhookTag.ts
8155
- var import_sdkgen_client122 = require("sdkgen-client");
8156
- var import_sdkgen_client123 = require("sdkgen-client");
8157
- var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
8221
+ var import_sdkgen_client124 = require("sdkgen-client");
8222
+ var import_sdkgen_client125 = require("sdkgen-client");
8223
+ var ConsumerWebhookTag = class extends import_sdkgen_client124.TagAbstract {
8158
8224
  /**
8159
8225
  * Creates a new webhook for the authenticated user
8160
8226
  *
@@ -8181,7 +8247,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
8181
8247
  if (statusCode >= 0 && statusCode <= 999) {
8182
8248
  throw new CommonMessageException(await response.json());
8183
8249
  }
8184
- throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8250
+ throw new import_sdkgen_client125.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8185
8251
  }
8186
8252
  /**
8187
8253
  * Deletes an existing webhook for the authenticated user
@@ -8208,7 +8274,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
8208
8274
  if (statusCode >= 0 && statusCode <= 999) {
8209
8275
  throw new CommonMessageException(await response.json());
8210
8276
  }
8211
- throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8277
+ throw new import_sdkgen_client125.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8212
8278
  }
8213
8279
  /**
8214
8280
  * Returns a specific webhook for the authenticated user
@@ -8235,7 +8301,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
8235
8301
  if (statusCode >= 0 && statusCode <= 999) {
8236
8302
  throw new CommonMessageException(await response.json());
8237
8303
  }
8238
- throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8304
+ throw new import_sdkgen_client125.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8239
8305
  }
8240
8306
  /**
8241
8307
  * Returns a paginated list of webhooks which are assigned to the authenticated user
@@ -8264,7 +8330,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
8264
8330
  if (statusCode >= 0 && statusCode <= 999) {
8265
8331
  throw new CommonMessageException(await response.json());
8266
8332
  }
8267
- throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8333
+ throw new import_sdkgen_client125.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8268
8334
  }
8269
8335
  /**
8270
8336
  * Updates an existing webhook for the authenticated user
@@ -8294,12 +8360,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client122.TagAbstract {
8294
8360
  if (statusCode >= 0 && statusCode <= 999) {
8295
8361
  throw new CommonMessageException(await response.json());
8296
8362
  }
8297
- throw new import_sdkgen_client123.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8363
+ throw new import_sdkgen_client125.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8298
8364
  }
8299
8365
  };
8300
8366
 
8301
8367
  // src/ConsumerTag.ts
8302
- var ConsumerTag = class extends import_sdkgen_client124.TagAbstract {
8368
+ var ConsumerTag = class extends import_sdkgen_client126.TagAbstract {
8303
8369
  account() {
8304
8370
  return new ConsumerAccountTag(
8305
8371
  this.httpClient,
@@ -8387,12 +8453,12 @@ var ConsumerTag = class extends import_sdkgen_client124.TagAbstract {
8387
8453
  };
8388
8454
 
8389
8455
  // src/SystemTag.ts
8390
- var import_sdkgen_client131 = require("sdkgen-client");
8456
+ var import_sdkgen_client133 = require("sdkgen-client");
8391
8457
 
8392
8458
  // src/SystemConnectionTag.ts
8393
- var import_sdkgen_client125 = require("sdkgen-client");
8394
- var import_sdkgen_client126 = require("sdkgen-client");
8395
- var SystemConnectionTag = class extends import_sdkgen_client125.TagAbstract {
8459
+ var import_sdkgen_client127 = require("sdkgen-client");
8460
+ var import_sdkgen_client128 = require("sdkgen-client");
8461
+ var SystemConnectionTag = class extends import_sdkgen_client127.TagAbstract {
8396
8462
  /**
8397
8463
  * Connection OAuth2 callback to authorize a connection
8398
8464
  *
@@ -8418,14 +8484,14 @@ var SystemConnectionTag = class extends import_sdkgen_client125.TagAbstract {
8418
8484
  if (statusCode >= 0 && statusCode <= 999) {
8419
8485
  throw new CommonMessageException(await response.json());
8420
8486
  }
8421
- throw new import_sdkgen_client126.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8487
+ throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8422
8488
  }
8423
8489
  };
8424
8490
 
8425
8491
  // src/SystemMetaTag.ts
8426
- var import_sdkgen_client127 = require("sdkgen-client");
8427
- var import_sdkgen_client128 = require("sdkgen-client");
8428
- var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
8492
+ var import_sdkgen_client129 = require("sdkgen-client");
8493
+ var import_sdkgen_client130 = require("sdkgen-client");
8494
+ var SystemMetaTag = class extends import_sdkgen_client129.TagAbstract {
8429
8495
  /**
8430
8496
  * Returns meta information and links about the current installed Fusio version
8431
8497
  *
@@ -8449,7 +8515,7 @@ var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
8449
8515
  if (statusCode >= 0 && statusCode <= 999) {
8450
8516
  throw new CommonMessageException(await response.json());
8451
8517
  }
8452
- throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8518
+ throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8453
8519
  }
8454
8520
  /**
8455
8521
  * Debug endpoint which returns the provided data
@@ -8477,7 +8543,7 @@ var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
8477
8543
  if (statusCode >= 0 && statusCode <= 999) {
8478
8544
  throw new CommonMessageException(await response.json());
8479
8545
  }
8480
- throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8546
+ throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8481
8547
  }
8482
8548
  /**
8483
8549
  * Health check endpoint which returns information about the health status of the system
@@ -8502,7 +8568,7 @@ var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
8502
8568
  if (statusCode >= 0 && statusCode <= 999) {
8503
8569
  throw new CommonMessageException(await response.json());
8504
8570
  }
8505
- throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8571
+ throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8506
8572
  }
8507
8573
  /**
8508
8574
  * Returns all available routes
@@ -8527,7 +8593,7 @@ var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
8527
8593
  if (statusCode >= 0 && statusCode <= 999) {
8528
8594
  throw new CommonMessageException(await response.json());
8529
8595
  }
8530
- throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8596
+ throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8531
8597
  }
8532
8598
  /**
8533
8599
  * Returns details of a specific schema
@@ -8554,14 +8620,14 @@ var SystemMetaTag = class extends import_sdkgen_client127.TagAbstract {
8554
8620
  if (statusCode >= 0 && statusCode <= 999) {
8555
8621
  throw new CommonMessageException(await response.json());
8556
8622
  }
8557
- throw new import_sdkgen_client128.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8623
+ throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8558
8624
  }
8559
8625
  };
8560
8626
 
8561
8627
  // src/SystemPaymentTag.ts
8562
- var import_sdkgen_client129 = require("sdkgen-client");
8563
- var import_sdkgen_client130 = require("sdkgen-client");
8564
- var SystemPaymentTag = class extends import_sdkgen_client129.TagAbstract {
8628
+ var import_sdkgen_client131 = require("sdkgen-client");
8629
+ var import_sdkgen_client132 = require("sdkgen-client");
8630
+ var SystemPaymentTag = class extends import_sdkgen_client131.TagAbstract {
8565
8631
  /**
8566
8632
  * Payment webhook endpoint after successful purchase of a plan
8567
8633
  *
@@ -8587,12 +8653,12 @@ var SystemPaymentTag = class extends import_sdkgen_client129.TagAbstract {
8587
8653
  if (statusCode >= 0 && statusCode <= 999) {
8588
8654
  throw new CommonMessageException(await response.json());
8589
8655
  }
8590
- throw new import_sdkgen_client130.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8656
+ throw new import_sdkgen_client132.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
8591
8657
  }
8592
8658
  };
8593
8659
 
8594
8660
  // src/SystemTag.ts
8595
- var SystemTag = class extends import_sdkgen_client131.TagAbstract {
8661
+ var SystemTag = class extends import_sdkgen_client133.TagAbstract {
8596
8662
  connection() {
8597
8663
  return new SystemConnectionTag(
8598
8664
  this.httpClient,
@@ -8614,7 +8680,7 @@ var SystemTag = class extends import_sdkgen_client131.TagAbstract {
8614
8680
  };
8615
8681
 
8616
8682
  // src/Client.ts
8617
- var Client = class _Client extends import_sdkgen_client132.ClientAbstract {
8683
+ var Client = class _Client extends import_sdkgen_client134.ClientAbstract {
8618
8684
  authorization() {
8619
8685
  return new AuthorizationTag(
8620
8686
  this.httpClient,
@@ -8640,7 +8706,7 @@ var Client = class _Client extends import_sdkgen_client132.ClientAbstract {
8640
8706
  );
8641
8707
  }
8642
8708
  static buildAnonymous(baseUrl) {
8643
- return new _Client(baseUrl, new import_sdkgen_client133.Anonymous());
8709
+ return new _Client(baseUrl, new import_sdkgen_client135.Anonymous());
8644
8710
  }
8645
8711
  };
8646
8712
  // Annotate the CommonJS export names for ESM import in node:
@@ -8682,6 +8748,7 @@ var Client = class _Client extends import_sdkgen_client132.ClientAbstract {
8682
8748
  BackendSchemaTag,
8683
8749
  BackendScopeTag,
8684
8750
  BackendSdkTag,
8751
+ BackendSpecificationTag,
8685
8752
  BackendStatisticTag,
8686
8753
  BackendTag,
8687
8754
  BackendTaxonomyTag,