fusio-sdk 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -59,6 +59,7 @@ __export(index_exports, {
59
59
  BackendTokenTag: () => BackendTokenTag,
60
60
  BackendTransactionTag: () => BackendTransactionTag,
61
61
  BackendTrashTag: () => BackendTrashTag,
62
+ BackendTriggerTag: () => BackendTriggerTag,
62
63
  BackendUserTag: () => BackendUserTag,
63
64
  BackendWebhookTag: () => BackendWebhookTag,
64
65
  Client: () => Client,
@@ -4805,7 +4806,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
4805
4806
  };
4806
4807
 
4807
4808
  // src/BackendTag.ts
4808
- var import_sdkgen_client81 = require("sdkgen-client");
4809
+ var import_sdkgen_client83 = require("sdkgen-client");
4809
4810
 
4810
4811
  // src/BackendTenantTag.ts
4811
4812
  var import_sdkgen_client67 = require("sdkgen-client");
@@ -5239,10 +5240,157 @@ var BackendTrashTag = class extends import_sdkgen_client75.TagAbstract {
5239
5240
  }
5240
5241
  };
5241
5242
 
5242
- // src/BackendUserTag.ts
5243
+ // src/BackendTriggerTag.ts
5243
5244
  var import_sdkgen_client77 = require("sdkgen-client");
5244
5245
  var import_sdkgen_client78 = require("sdkgen-client");
5245
- var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
5246
+ var BackendTriggerTag = class extends import_sdkgen_client77.TagAbstract {
5247
+ /**
5248
+ * Creates a new trigger
5249
+ *
5250
+ * @returns {Promise<CommonMessage>}
5251
+ * @throws {CommonMessageException}
5252
+ * @throws {ClientException}
5253
+ */
5254
+ async create(payload) {
5255
+ const url = this.parser.url("/backend/trigger", {});
5256
+ let request = {
5257
+ url,
5258
+ method: "POST",
5259
+ headers: {
5260
+ "Content-Type": "application/json"
5261
+ },
5262
+ params: this.parser.query({}, []),
5263
+ data: payload
5264
+ };
5265
+ const response = await this.httpClient.request(request);
5266
+ if (response.ok) {
5267
+ return await response.json();
5268
+ }
5269
+ const statusCode = response.status;
5270
+ if (statusCode >= 0 && statusCode <= 999) {
5271
+ throw new CommonMessageException(await response.json());
5272
+ }
5273
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5274
+ }
5275
+ /**
5276
+ * Deletes an existing trigger
5277
+ *
5278
+ * @returns {Promise<CommonMessage>}
5279
+ * @throws {CommonMessageException}
5280
+ * @throws {ClientException}
5281
+ */
5282
+ async delete(triggerId) {
5283
+ const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
5284
+ "trigger_id": triggerId
5285
+ });
5286
+ let request = {
5287
+ url,
5288
+ method: "DELETE",
5289
+ headers: {},
5290
+ params: this.parser.query({}, [])
5291
+ };
5292
+ const response = await this.httpClient.request(request);
5293
+ if (response.ok) {
5294
+ return await response.json();
5295
+ }
5296
+ const statusCode = response.status;
5297
+ if (statusCode >= 0 && statusCode <= 999) {
5298
+ throw new CommonMessageException(await response.json());
5299
+ }
5300
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5301
+ }
5302
+ /**
5303
+ * Returns a specific trigger
5304
+ *
5305
+ * @returns {Promise<BackendTrigger>}
5306
+ * @throws {CommonMessageException}
5307
+ * @throws {ClientException}
5308
+ */
5309
+ async get(triggerId) {
5310
+ const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
5311
+ "trigger_id": triggerId
5312
+ });
5313
+ let request = {
5314
+ url,
5315
+ method: "GET",
5316
+ headers: {},
5317
+ params: this.parser.query({}, [])
5318
+ };
5319
+ const response = await this.httpClient.request(request);
5320
+ if (response.ok) {
5321
+ return await response.json();
5322
+ }
5323
+ const statusCode = response.status;
5324
+ if (statusCode >= 0 && statusCode <= 999) {
5325
+ throw new CommonMessageException(await response.json());
5326
+ }
5327
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5328
+ }
5329
+ /**
5330
+ * Returns a paginated list of triggers
5331
+ *
5332
+ * @returns {Promise<BackendTriggerCollection>}
5333
+ * @throws {CommonMessageException}
5334
+ * @throws {ClientException}
5335
+ */
5336
+ async getAll(startIndex, count, search) {
5337
+ const url = this.parser.url("/backend/trigger", {});
5338
+ let request = {
5339
+ url,
5340
+ method: "GET",
5341
+ headers: {},
5342
+ params: this.parser.query({
5343
+ "startIndex": startIndex,
5344
+ "count": count,
5345
+ "search": search
5346
+ }, [])
5347
+ };
5348
+ const response = await this.httpClient.request(request);
5349
+ if (response.ok) {
5350
+ return await response.json();
5351
+ }
5352
+ const statusCode = response.status;
5353
+ if (statusCode >= 0 && statusCode <= 999) {
5354
+ throw new CommonMessageException(await response.json());
5355
+ }
5356
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5357
+ }
5358
+ /**
5359
+ * Updates an existing trigger
5360
+ *
5361
+ * @returns {Promise<CommonMessage>}
5362
+ * @throws {CommonMessageException}
5363
+ * @throws {ClientException}
5364
+ */
5365
+ async update(triggerId, payload) {
5366
+ const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
5367
+ "trigger_id": triggerId
5368
+ });
5369
+ let request = {
5370
+ url,
5371
+ method: "PUT",
5372
+ headers: {
5373
+ "Content-Type": "application/json"
5374
+ },
5375
+ params: this.parser.query({}, []),
5376
+ data: payload
5377
+ };
5378
+ const response = await this.httpClient.request(request);
5379
+ if (response.ok) {
5380
+ return await response.json();
5381
+ }
5382
+ const statusCode = response.status;
5383
+ if (statusCode >= 0 && statusCode <= 999) {
5384
+ throw new CommonMessageException(await response.json());
5385
+ }
5386
+ throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5387
+ }
5388
+ };
5389
+
5390
+ // src/BackendUserTag.ts
5391
+ var import_sdkgen_client79 = require("sdkgen-client");
5392
+ var import_sdkgen_client80 = require("sdkgen-client");
5393
+ var BackendUserTag = class extends import_sdkgen_client79.TagAbstract {
5246
5394
  /**
5247
5395
  * Creates a new user
5248
5396
  *
@@ -5269,7 +5417,7 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
5269
5417
  if (statusCode >= 0 && statusCode <= 999) {
5270
5418
  throw new CommonMessageException(await response.json());
5271
5419
  }
5272
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5420
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5273
5421
  }
5274
5422
  /**
5275
5423
  * Deletes an existing user
@@ -5296,7 +5444,7 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
5296
5444
  if (statusCode >= 0 && statusCode <= 999) {
5297
5445
  throw new CommonMessageException(await response.json());
5298
5446
  }
5299
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5447
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5300
5448
  }
5301
5449
  /**
5302
5450
  * Returns a specific user
@@ -5323,7 +5471,7 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
5323
5471
  if (statusCode >= 0 && statusCode <= 999) {
5324
5472
  throw new CommonMessageException(await response.json());
5325
5473
  }
5326
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5474
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5327
5475
  }
5328
5476
  /**
5329
5477
  * Returns a paginated list of users
@@ -5352,7 +5500,37 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
5352
5500
  if (statusCode >= 0 && statusCode <= 999) {
5353
5501
  throw new CommonMessageException(await response.json());
5354
5502
  }
5355
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5503
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5504
+ }
5505
+ /**
5506
+ * Resend the activation mail to the provided user
5507
+ *
5508
+ * @returns {Promise<CommonMessage>}
5509
+ * @throws {CommonMessageException}
5510
+ * @throws {ClientException}
5511
+ */
5512
+ async resend(userId, payload) {
5513
+ const url = this.parser.url("/backend/user/$user_id<[0-9]+|^~>/resend", {
5514
+ "user_id": userId
5515
+ });
5516
+ let request = {
5517
+ url,
5518
+ method: "POST",
5519
+ headers: {
5520
+ "Content-Type": "application/json"
5521
+ },
5522
+ params: this.parser.query({}, []),
5523
+ data: payload
5524
+ };
5525
+ const response = await this.httpClient.request(request);
5526
+ if (response.ok) {
5527
+ return await response.json();
5528
+ }
5529
+ const statusCode = response.status;
5530
+ if (statusCode >= 0 && statusCode <= 999) {
5531
+ throw new CommonMessageException(await response.json());
5532
+ }
5533
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5356
5534
  }
5357
5535
  /**
5358
5536
  * Updates an existing user
@@ -5382,14 +5560,14 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
5382
5560
  if (statusCode >= 0 && statusCode <= 999) {
5383
5561
  throw new CommonMessageException(await response.json());
5384
5562
  }
5385
- throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5563
+ throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5386
5564
  }
5387
5565
  };
5388
5566
 
5389
5567
  // src/BackendWebhookTag.ts
5390
- var import_sdkgen_client79 = require("sdkgen-client");
5391
- var import_sdkgen_client80 = require("sdkgen-client");
5392
- var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
5568
+ var import_sdkgen_client81 = require("sdkgen-client");
5569
+ var import_sdkgen_client82 = require("sdkgen-client");
5570
+ var BackendWebhookTag = class extends import_sdkgen_client81.TagAbstract {
5393
5571
  /**
5394
5572
  * Creates a new webhook
5395
5573
  *
@@ -5416,7 +5594,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
5416
5594
  if (statusCode >= 0 && statusCode <= 999) {
5417
5595
  throw new CommonMessageException(await response.json());
5418
5596
  }
5419
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5597
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5420
5598
  }
5421
5599
  /**
5422
5600
  * Deletes an existing webhook
@@ -5443,7 +5621,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
5443
5621
  if (statusCode >= 0 && statusCode <= 999) {
5444
5622
  throw new CommonMessageException(await response.json());
5445
5623
  }
5446
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5624
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5447
5625
  }
5448
5626
  /**
5449
5627
  * Returns a specific webhook
@@ -5470,7 +5648,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
5470
5648
  if (statusCode >= 0 && statusCode <= 999) {
5471
5649
  throw new CommonMessageException(await response.json());
5472
5650
  }
5473
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5651
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5474
5652
  }
5475
5653
  /**
5476
5654
  * Returns a paginated list of webhooks
@@ -5499,7 +5677,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
5499
5677
  if (statusCode >= 0 && statusCode <= 999) {
5500
5678
  throw new CommonMessageException(await response.json());
5501
5679
  }
5502
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5680
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5503
5681
  }
5504
5682
  /**
5505
5683
  * Updates an existing webhook
@@ -5529,12 +5707,12 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
5529
5707
  if (statusCode >= 0 && statusCode <= 999) {
5530
5708
  throw new CommonMessageException(await response.json());
5531
5709
  }
5532
- throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5710
+ throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5533
5711
  }
5534
5712
  };
5535
5713
 
5536
5714
  // src/BackendTag.ts
5537
- var BackendTag = class extends import_sdkgen_client81.TagAbstract {
5715
+ var BackendTag = class extends import_sdkgen_client83.TagAbstract {
5538
5716
  account() {
5539
5717
  return new BackendAccountTag(
5540
5718
  this.httpClient,
@@ -5721,6 +5899,12 @@ var BackendTag = class extends import_sdkgen_client81.TagAbstract {
5721
5899
  this.parser
5722
5900
  );
5723
5901
  }
5902
+ trigger() {
5903
+ return new BackendTriggerTag(
5904
+ this.httpClient,
5905
+ this.parser
5906
+ );
5907
+ }
5724
5908
  user() {
5725
5909
  return new BackendUserTag(
5726
5910
  this.httpClient,
@@ -5736,16 +5920,16 @@ var BackendTag = class extends import_sdkgen_client81.TagAbstract {
5736
5920
  };
5737
5921
 
5738
5922
  // src/Client.ts
5739
- var import_sdkgen_client118 = require("sdkgen-client");
5740
- var import_sdkgen_client119 = require("sdkgen-client");
5923
+ var import_sdkgen_client120 = require("sdkgen-client");
5924
+ var import_sdkgen_client121 = require("sdkgen-client");
5741
5925
 
5742
5926
  // src/ConsumerTag.ts
5743
- var import_sdkgen_client110 = require("sdkgen-client");
5927
+ var import_sdkgen_client112 = require("sdkgen-client");
5744
5928
 
5745
5929
  // src/ConsumerAccountTag.ts
5746
- var import_sdkgen_client82 = require("sdkgen-client");
5747
- var import_sdkgen_client83 = require("sdkgen-client");
5748
- var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5930
+ var import_sdkgen_client84 = require("sdkgen-client");
5931
+ var import_sdkgen_client85 = require("sdkgen-client");
5932
+ var ConsumerAccountTag = class extends import_sdkgen_client84.TagAbstract {
5749
5933
  /**
5750
5934
  * Activates an previously registered account through a token which was provided to the user via email
5751
5935
  *
@@ -5772,7 +5956,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5772
5956
  if (statusCode >= 0 && statusCode <= 999) {
5773
5957
  throw new CommonMessageException(await response.json());
5774
5958
  }
5775
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5959
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5776
5960
  }
5777
5961
  /**
5778
5962
  * Authorizes the access of a specific app for the authenticated user
@@ -5800,7 +5984,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5800
5984
  if (statusCode >= 0 && statusCode <= 999) {
5801
5985
  throw new CommonMessageException(await response.json());
5802
5986
  }
5803
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5987
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5804
5988
  }
5805
5989
  /**
5806
5990
  * Change the password for the authenticated user
@@ -5828,7 +6012,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5828
6012
  if (statusCode >= 0 && statusCode <= 999) {
5829
6013
  throw new CommonMessageException(await response.json());
5830
6014
  }
5831
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6015
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5832
6016
  }
5833
6017
  /**
5834
6018
  * Change the password after the password reset flow was started
@@ -5856,7 +6040,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5856
6040
  if (statusCode >= 0 && statusCode <= 999) {
5857
6041
  throw new CommonMessageException(await response.json());
5858
6042
  }
5859
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6043
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5860
6044
  }
5861
6045
  /**
5862
6046
  * Returns a user data for the authenticated user
@@ -5881,7 +6065,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5881
6065
  if (statusCode >= 0 && statusCode <= 999) {
5882
6066
  throw new CommonMessageException(await response.json());
5883
6067
  }
5884
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6068
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5885
6069
  }
5886
6070
  /**
5887
6071
  * Returns information about a specific app to start the OAuth2 authorization code flow
@@ -5909,7 +6093,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5909
6093
  if (statusCode >= 0 && statusCode <= 999) {
5910
6094
  throw new CommonMessageException(await response.json());
5911
6095
  }
5912
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6096
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5913
6097
  }
5914
6098
  /**
5915
6099
  * User login by providing a username and password
@@ -5937,7 +6121,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5937
6121
  if (statusCode >= 0 && statusCode <= 999) {
5938
6122
  throw new CommonMessageException(await response.json());
5939
6123
  }
5940
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6124
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5941
6125
  }
5942
6126
  /**
5943
6127
  * Refresh a previously obtained access token
@@ -5965,7 +6149,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5965
6149
  if (statusCode >= 0 && statusCode <= 999) {
5966
6150
  throw new CommonMessageException(await response.json());
5967
6151
  }
5968
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6152
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5969
6153
  }
5970
6154
  /**
5971
6155
  * Register a new user account
@@ -5993,7 +6177,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
5993
6177
  if (statusCode >= 0 && statusCode <= 999) {
5994
6178
  throw new CommonMessageException(await response.json());
5995
6179
  }
5996
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6180
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
5997
6181
  }
5998
6182
  /**
5999
6183
  * Start the password reset flow
@@ -6021,7 +6205,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
6021
6205
  if (statusCode >= 0 && statusCode <= 999) {
6022
6206
  throw new CommonMessageException(await response.json());
6023
6207
  }
6024
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6208
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6025
6209
  }
6026
6210
  /**
6027
6211
  * Updates user data for the authenticated user
@@ -6049,14 +6233,14 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
6049
6233
  if (statusCode >= 0 && statusCode <= 999) {
6050
6234
  throw new CommonMessageException(await response.json());
6051
6235
  }
6052
- throw new import_sdkgen_client83.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6236
+ throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6053
6237
  }
6054
6238
  };
6055
6239
 
6056
6240
  // src/ConsumerAppTag.ts
6057
- var import_sdkgen_client84 = require("sdkgen-client");
6058
- var import_sdkgen_client85 = require("sdkgen-client");
6059
- var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
6241
+ var import_sdkgen_client86 = require("sdkgen-client");
6242
+ var import_sdkgen_client87 = require("sdkgen-client");
6243
+ var ConsumerAppTag = class extends import_sdkgen_client86.TagAbstract {
6060
6244
  /**
6061
6245
  * Creates a new app for the authenticated user
6062
6246
  *
@@ -6083,7 +6267,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
6083
6267
  if (statusCode >= 0 && statusCode <= 999) {
6084
6268
  throw new CommonMessageException(await response.json());
6085
6269
  }
6086
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6270
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6087
6271
  }
6088
6272
  /**
6089
6273
  * Deletes an existing app for the authenticated user
@@ -6110,7 +6294,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
6110
6294
  if (statusCode >= 0 && statusCode <= 999) {
6111
6295
  throw new CommonMessageException(await response.json());
6112
6296
  }
6113
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6297
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6114
6298
  }
6115
6299
  /**
6116
6300
  * Returns a specific app for the authenticated user
@@ -6137,7 +6321,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
6137
6321
  if (statusCode >= 0 && statusCode <= 999) {
6138
6322
  throw new CommonMessageException(await response.json());
6139
6323
  }
6140
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6324
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6141
6325
  }
6142
6326
  /**
6143
6327
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -6166,7 +6350,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
6166
6350
  if (statusCode >= 0 && statusCode <= 999) {
6167
6351
  throw new CommonMessageException(await response.json());
6168
6352
  }
6169
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6353
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6170
6354
  }
6171
6355
  /**
6172
6356
  * Updates an existing app for the authenticated user
@@ -6196,14 +6380,14 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
6196
6380
  if (statusCode >= 0 && statusCode <= 999) {
6197
6381
  throw new CommonMessageException(await response.json());
6198
6382
  }
6199
- throw new import_sdkgen_client85.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6383
+ throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6200
6384
  }
6201
6385
  };
6202
6386
 
6203
6387
  // src/ConsumerEventTag.ts
6204
- var import_sdkgen_client86 = require("sdkgen-client");
6205
- var import_sdkgen_client87 = require("sdkgen-client");
6206
- var ConsumerEventTag = class extends import_sdkgen_client86.TagAbstract {
6388
+ var import_sdkgen_client88 = require("sdkgen-client");
6389
+ var import_sdkgen_client89 = require("sdkgen-client");
6390
+ var ConsumerEventTag = class extends import_sdkgen_client88.TagAbstract {
6207
6391
  /**
6208
6392
  * Returns a specific event for the authenticated user
6209
6393
  *
@@ -6229,7 +6413,7 @@ var ConsumerEventTag = class extends import_sdkgen_client86.TagAbstract {
6229
6413
  if (statusCode >= 0 && statusCode <= 999) {
6230
6414
  throw new CommonMessageException(await response.json());
6231
6415
  }
6232
- throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6416
+ throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6233
6417
  }
6234
6418
  /**
6235
6419
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -6258,14 +6442,14 @@ var ConsumerEventTag = class extends import_sdkgen_client86.TagAbstract {
6258
6442
  if (statusCode >= 0 && statusCode <= 999) {
6259
6443
  throw new CommonMessageException(await response.json());
6260
6444
  }
6261
- throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6445
+ throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6262
6446
  }
6263
6447
  };
6264
6448
 
6265
6449
  // src/ConsumerFormTag.ts
6266
- var import_sdkgen_client88 = require("sdkgen-client");
6267
- var import_sdkgen_client89 = require("sdkgen-client");
6268
- var ConsumerFormTag = class extends import_sdkgen_client88.TagAbstract {
6450
+ var import_sdkgen_client90 = require("sdkgen-client");
6451
+ var import_sdkgen_client91 = require("sdkgen-client");
6452
+ var ConsumerFormTag = class extends import_sdkgen_client90.TagAbstract {
6269
6453
  /**
6270
6454
  * Returns a specific form for the authenticated user
6271
6455
  *
@@ -6291,7 +6475,7 @@ var ConsumerFormTag = class extends import_sdkgen_client88.TagAbstract {
6291
6475
  if (statusCode >= 0 && statusCode <= 999) {
6292
6476
  throw new CommonMessageException(await response.json());
6293
6477
  }
6294
- throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6478
+ throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6295
6479
  }
6296
6480
  /**
6297
6481
  * Returns a paginated list of forms which are relevant to the authenticated user
@@ -6320,14 +6504,14 @@ var ConsumerFormTag = class extends import_sdkgen_client88.TagAbstract {
6320
6504
  if (statusCode >= 0 && statusCode <= 999) {
6321
6505
  throw new CommonMessageException(await response.json());
6322
6506
  }
6323
- throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6507
+ throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6324
6508
  }
6325
6509
  };
6326
6510
 
6327
6511
  // src/ConsumerGrantTag.ts
6328
- var import_sdkgen_client90 = require("sdkgen-client");
6329
- var import_sdkgen_client91 = require("sdkgen-client");
6330
- var ConsumerGrantTag = class extends import_sdkgen_client90.TagAbstract {
6512
+ var import_sdkgen_client92 = require("sdkgen-client");
6513
+ var import_sdkgen_client93 = require("sdkgen-client");
6514
+ var ConsumerGrantTag = class extends import_sdkgen_client92.TagAbstract {
6331
6515
  /**
6332
6516
  * Deletes an existing grant for an app which was created by the authenticated user
6333
6517
  *
@@ -6353,7 +6537,7 @@ var ConsumerGrantTag = class extends import_sdkgen_client90.TagAbstract {
6353
6537
  if (statusCode >= 0 && statusCode <= 999) {
6354
6538
  throw new CommonMessageException(await response.json());
6355
6539
  }
6356
- throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6540
+ throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6357
6541
  }
6358
6542
  /**
6359
6543
  * Returns a paginated list of grants which are assigned to the authenticated user
@@ -6382,14 +6566,14 @@ var ConsumerGrantTag = class extends import_sdkgen_client90.TagAbstract {
6382
6566
  if (statusCode >= 0 && statusCode <= 999) {
6383
6567
  throw new CommonMessageException(await response.json());
6384
6568
  }
6385
- throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6569
+ throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6386
6570
  }
6387
6571
  };
6388
6572
 
6389
6573
  // src/ConsumerIdentityTag.ts
6390
- var import_sdkgen_client92 = require("sdkgen-client");
6391
- var import_sdkgen_client93 = require("sdkgen-client");
6392
- var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
6574
+ var import_sdkgen_client94 = require("sdkgen-client");
6575
+ var import_sdkgen_client95 = require("sdkgen-client");
6576
+ var ConsumerIdentityTag = class extends import_sdkgen_client94.TagAbstract {
6393
6577
  /**
6394
6578
  * Identity callback endpoint to exchange an access token
6395
6579
  *
@@ -6415,7 +6599,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
6415
6599
  if (statusCode >= 0 && statusCode <= 999) {
6416
6600
  throw new CommonMessageException(await response.json());
6417
6601
  }
6418
- throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6602
+ throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6419
6603
  }
6420
6604
  /**
6421
6605
  * Returns a paginated list of identities which are relevant to the authenticated user
@@ -6443,7 +6627,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
6443
6627
  if (statusCode >= 0 && statusCode <= 999) {
6444
6628
  throw new CommonMessageException(await response.json());
6445
6629
  }
6446
- throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6630
+ throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6447
6631
  }
6448
6632
  /**
6449
6633
  * Redirect the user to the configured identity provider
@@ -6470,14 +6654,14 @@ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
6470
6654
  if (statusCode >= 0 && statusCode <= 999) {
6471
6655
  throw new CommonMessageException(await response.json());
6472
6656
  }
6473
- throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6657
+ throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6474
6658
  }
6475
6659
  };
6476
6660
 
6477
6661
  // src/ConsumerLogTag.ts
6478
- var import_sdkgen_client94 = require("sdkgen-client");
6479
- var import_sdkgen_client95 = require("sdkgen-client");
6480
- var ConsumerLogTag = class extends import_sdkgen_client94.TagAbstract {
6662
+ var import_sdkgen_client96 = require("sdkgen-client");
6663
+ var import_sdkgen_client97 = require("sdkgen-client");
6664
+ var ConsumerLogTag = class extends import_sdkgen_client96.TagAbstract {
6481
6665
  /**
6482
6666
  * Returns a specific log for the authenticated user
6483
6667
  *
@@ -6503,7 +6687,7 @@ var ConsumerLogTag = class extends import_sdkgen_client94.TagAbstract {
6503
6687
  if (statusCode >= 0 && statusCode <= 999) {
6504
6688
  throw new CommonMessageException(await response.json());
6505
6689
  }
6506
- throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6690
+ throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6507
6691
  }
6508
6692
  /**
6509
6693
  * Returns a paginated list of logs which are assigned to the authenticated user
@@ -6532,14 +6716,14 @@ var ConsumerLogTag = class extends import_sdkgen_client94.TagAbstract {
6532
6716
  if (statusCode >= 0 && statusCode <= 999) {
6533
6717
  throw new CommonMessageException(await response.json());
6534
6718
  }
6535
- throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6719
+ throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6536
6720
  }
6537
6721
  };
6538
6722
 
6539
6723
  // src/ConsumerPageTag.ts
6540
- var import_sdkgen_client96 = require("sdkgen-client");
6541
- var import_sdkgen_client97 = require("sdkgen-client");
6542
- var ConsumerPageTag = class extends import_sdkgen_client96.TagAbstract {
6724
+ var import_sdkgen_client98 = require("sdkgen-client");
6725
+ var import_sdkgen_client99 = require("sdkgen-client");
6726
+ var ConsumerPageTag = class extends import_sdkgen_client98.TagAbstract {
6543
6727
  /**
6544
6728
  * Returns a specific page for the authenticated user
6545
6729
  *
@@ -6565,7 +6749,7 @@ var ConsumerPageTag = class extends import_sdkgen_client96.TagAbstract {
6565
6749
  if (statusCode >= 0 && statusCode <= 999) {
6566
6750
  throw new CommonMessageException(await response.json());
6567
6751
  }
6568
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6752
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6569
6753
  }
6570
6754
  /**
6571
6755
  * Returns a paginated list of pages which are relevant to the authenticated user
@@ -6594,14 +6778,14 @@ var ConsumerPageTag = class extends import_sdkgen_client96.TagAbstract {
6594
6778
  if (statusCode >= 0 && statusCode <= 999) {
6595
6779
  throw new CommonMessageException(await response.json());
6596
6780
  }
6597
- throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6781
+ throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6598
6782
  }
6599
6783
  };
6600
6784
 
6601
6785
  // src/ConsumerPaymentTag.ts
6602
- var import_sdkgen_client98 = require("sdkgen-client");
6603
- var import_sdkgen_client99 = require("sdkgen-client");
6604
- var ConsumerPaymentTag = class extends import_sdkgen_client98.TagAbstract {
6786
+ var import_sdkgen_client100 = require("sdkgen-client");
6787
+ var import_sdkgen_client101 = require("sdkgen-client");
6788
+ var ConsumerPaymentTag = class extends import_sdkgen_client100.TagAbstract {
6605
6789
  /**
6606
6790
  * Start the checkout process for a specific plan
6607
6791
  *
@@ -6630,7 +6814,7 @@ var ConsumerPaymentTag = class extends import_sdkgen_client98.TagAbstract {
6630
6814
  if (statusCode >= 0 && statusCode <= 999) {
6631
6815
  throw new CommonMessageException(await response.json());
6632
6816
  }
6633
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6817
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6634
6818
  }
6635
6819
  /**
6636
6820
  * Generates a payment portal link for the authenticated user
@@ -6660,14 +6844,14 @@ var ConsumerPaymentTag = class extends import_sdkgen_client98.TagAbstract {
6660
6844
  if (statusCode >= 0 && statusCode <= 999) {
6661
6845
  throw new CommonMessageException(await response.json());
6662
6846
  }
6663
- throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6847
+ throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6664
6848
  }
6665
6849
  };
6666
6850
 
6667
6851
  // src/ConsumerPlanTag.ts
6668
- var import_sdkgen_client100 = require("sdkgen-client");
6669
- var import_sdkgen_client101 = require("sdkgen-client");
6670
- var ConsumerPlanTag = class extends import_sdkgen_client100.TagAbstract {
6852
+ var import_sdkgen_client102 = require("sdkgen-client");
6853
+ var import_sdkgen_client103 = require("sdkgen-client");
6854
+ var ConsumerPlanTag = class extends import_sdkgen_client102.TagAbstract {
6671
6855
  /**
6672
6856
  * Returns a specific plan for the authenticated user
6673
6857
  *
@@ -6693,7 +6877,7 @@ var ConsumerPlanTag = class extends import_sdkgen_client100.TagAbstract {
6693
6877
  if (statusCode >= 0 && statusCode <= 999) {
6694
6878
  throw new CommonMessageException(await response.json());
6695
6879
  }
6696
- throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6880
+ throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6697
6881
  }
6698
6882
  /**
6699
6883
  * Returns a paginated list of plans which are relevant to the authenticated user
@@ -6722,14 +6906,14 @@ var ConsumerPlanTag = class extends import_sdkgen_client100.TagAbstract {
6722
6906
  if (statusCode >= 0 && statusCode <= 999) {
6723
6907
  throw new CommonMessageException(await response.json());
6724
6908
  }
6725
- throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6909
+ throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6726
6910
  }
6727
6911
  };
6728
6912
 
6729
6913
  // src/ConsumerScopeTag.ts
6730
- var import_sdkgen_client102 = require("sdkgen-client");
6731
- var import_sdkgen_client103 = require("sdkgen-client");
6732
- var ConsumerScopeTag = class extends import_sdkgen_client102.TagAbstract {
6914
+ var import_sdkgen_client104 = require("sdkgen-client");
6915
+ var import_sdkgen_client105 = require("sdkgen-client");
6916
+ var ConsumerScopeTag = class extends import_sdkgen_client104.TagAbstract {
6733
6917
  /**
6734
6918
  * Returns a paginated list of scopes which are assigned to the authenticated user
6735
6919
  *
@@ -6757,7 +6941,7 @@ var ConsumerScopeTag = class extends import_sdkgen_client102.TagAbstract {
6757
6941
  if (statusCode >= 0 && statusCode <= 999) {
6758
6942
  throw new CommonMessageException(await response.json());
6759
6943
  }
6760
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6944
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6761
6945
  }
6762
6946
  /**
6763
6947
  * Returns all scopes by category
@@ -6782,14 +6966,14 @@ var ConsumerScopeTag = class extends import_sdkgen_client102.TagAbstract {
6782
6966
  if (statusCode >= 0 && statusCode <= 999) {
6783
6967
  throw new CommonMessageException(await response.json());
6784
6968
  }
6785
- throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6969
+ throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6786
6970
  }
6787
6971
  };
6788
6972
 
6789
6973
  // src/ConsumerTokenTag.ts
6790
- var import_sdkgen_client104 = require("sdkgen-client");
6791
- var import_sdkgen_client105 = require("sdkgen-client");
6792
- var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6974
+ var import_sdkgen_client106 = require("sdkgen-client");
6975
+ var import_sdkgen_client107 = require("sdkgen-client");
6976
+ var ConsumerTokenTag = class extends import_sdkgen_client106.TagAbstract {
6793
6977
  /**
6794
6978
  * Creates a new token for the authenticated user
6795
6979
  *
@@ -6816,7 +7000,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6816
7000
  if (statusCode >= 0 && statusCode <= 999) {
6817
7001
  throw new CommonMessageException(await response.json());
6818
7002
  }
6819
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7003
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6820
7004
  }
6821
7005
  /**
6822
7006
  * Deletes an existing token for the authenticated user
@@ -6843,7 +7027,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6843
7027
  if (statusCode >= 0 && statusCode <= 999) {
6844
7028
  throw new CommonMessageException(await response.json());
6845
7029
  }
6846
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7030
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6847
7031
  }
6848
7032
  /**
6849
7033
  * Returns a specific token for the authenticated user
@@ -6870,7 +7054,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6870
7054
  if (statusCode >= 0 && statusCode <= 999) {
6871
7055
  throw new CommonMessageException(await response.json());
6872
7056
  }
6873
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7057
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6874
7058
  }
6875
7059
  /**
6876
7060
  * Returns a paginated list of tokens which are assigned to the authenticated user
@@ -6899,7 +7083,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6899
7083
  if (statusCode >= 0 && statusCode <= 999) {
6900
7084
  throw new CommonMessageException(await response.json());
6901
7085
  }
6902
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7086
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6903
7087
  }
6904
7088
  /**
6905
7089
  * Updates an existing token for the authenticated user
@@ -6929,14 +7113,14 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
6929
7113
  if (statusCode >= 0 && statusCode <= 999) {
6930
7114
  throw new CommonMessageException(await response.json());
6931
7115
  }
6932
- throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7116
+ throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6933
7117
  }
6934
7118
  };
6935
7119
 
6936
7120
  // src/ConsumerTransactionTag.ts
6937
- var import_sdkgen_client106 = require("sdkgen-client");
6938
- var import_sdkgen_client107 = require("sdkgen-client");
6939
- var ConsumerTransactionTag = class extends import_sdkgen_client106.TagAbstract {
7121
+ var import_sdkgen_client108 = require("sdkgen-client");
7122
+ var import_sdkgen_client109 = require("sdkgen-client");
7123
+ var ConsumerTransactionTag = class extends import_sdkgen_client108.TagAbstract {
6940
7124
  /**
6941
7125
  * Returns a specific transaction for the authenticated user
6942
7126
  *
@@ -6962,7 +7146,7 @@ var ConsumerTransactionTag = class extends import_sdkgen_client106.TagAbstract {
6962
7146
  if (statusCode >= 0 && statusCode <= 999) {
6963
7147
  throw new CommonMessageException(await response.json());
6964
7148
  }
6965
- throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7149
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6966
7150
  }
6967
7151
  /**
6968
7152
  * Returns a paginated list of transactions which are assigned to the authenticated user
@@ -6991,14 +7175,14 @@ var ConsumerTransactionTag = class extends import_sdkgen_client106.TagAbstract {
6991
7175
  if (statusCode >= 0 && statusCode <= 999) {
6992
7176
  throw new CommonMessageException(await response.json());
6993
7177
  }
6994
- throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7178
+ throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
6995
7179
  }
6996
7180
  };
6997
7181
 
6998
7182
  // src/ConsumerWebhookTag.ts
6999
- var import_sdkgen_client108 = require("sdkgen-client");
7000
- var import_sdkgen_client109 = require("sdkgen-client");
7001
- var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
7183
+ var import_sdkgen_client110 = require("sdkgen-client");
7184
+ var import_sdkgen_client111 = require("sdkgen-client");
7185
+ var ConsumerWebhookTag = class extends import_sdkgen_client110.TagAbstract {
7002
7186
  /**
7003
7187
  * Creates a new webhook for the authenticated user
7004
7188
  *
@@ -7025,7 +7209,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
7025
7209
  if (statusCode >= 0 && statusCode <= 999) {
7026
7210
  throw new CommonMessageException(await response.json());
7027
7211
  }
7028
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7212
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7029
7213
  }
7030
7214
  /**
7031
7215
  * Deletes an existing webhook for the authenticated user
@@ -7052,7 +7236,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
7052
7236
  if (statusCode >= 0 && statusCode <= 999) {
7053
7237
  throw new CommonMessageException(await response.json());
7054
7238
  }
7055
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7239
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7056
7240
  }
7057
7241
  /**
7058
7242
  * Returns a specific webhook for the authenticated user
@@ -7079,7 +7263,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
7079
7263
  if (statusCode >= 0 && statusCode <= 999) {
7080
7264
  throw new CommonMessageException(await response.json());
7081
7265
  }
7082
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7266
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7083
7267
  }
7084
7268
  /**
7085
7269
  * Returns a paginated list of webhooks which are assigned to the authenticated user
@@ -7108,7 +7292,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
7108
7292
  if (statusCode >= 0 && statusCode <= 999) {
7109
7293
  throw new CommonMessageException(await response.json());
7110
7294
  }
7111
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7295
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7112
7296
  }
7113
7297
  /**
7114
7298
  * Updates an existing webhook for the authenticated user
@@ -7138,12 +7322,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
7138
7322
  if (statusCode >= 0 && statusCode <= 999) {
7139
7323
  throw new CommonMessageException(await response.json());
7140
7324
  }
7141
- throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7325
+ throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7142
7326
  }
7143
7327
  };
7144
7328
 
7145
7329
  // src/ConsumerTag.ts
7146
- var ConsumerTag = class extends import_sdkgen_client110.TagAbstract {
7330
+ var ConsumerTag = class extends import_sdkgen_client112.TagAbstract {
7147
7331
  account() {
7148
7332
  return new ConsumerAccountTag(
7149
7333
  this.httpClient,
@@ -7231,12 +7415,12 @@ var ConsumerTag = class extends import_sdkgen_client110.TagAbstract {
7231
7415
  };
7232
7416
 
7233
7417
  // src/SystemTag.ts
7234
- var import_sdkgen_client117 = require("sdkgen-client");
7418
+ var import_sdkgen_client119 = require("sdkgen-client");
7235
7419
 
7236
7420
  // src/SystemConnectionTag.ts
7237
- var import_sdkgen_client111 = require("sdkgen-client");
7238
- var import_sdkgen_client112 = require("sdkgen-client");
7239
- var SystemConnectionTag = class extends import_sdkgen_client111.TagAbstract {
7421
+ var import_sdkgen_client113 = require("sdkgen-client");
7422
+ var import_sdkgen_client114 = require("sdkgen-client");
7423
+ var SystemConnectionTag = class extends import_sdkgen_client113.TagAbstract {
7240
7424
  /**
7241
7425
  * Connection OAuth2 callback to authorize a connection
7242
7426
  *
@@ -7262,14 +7446,14 @@ var SystemConnectionTag = class extends import_sdkgen_client111.TagAbstract {
7262
7446
  if (statusCode >= 0 && statusCode <= 999) {
7263
7447
  throw new CommonMessageException(await response.json());
7264
7448
  }
7265
- throw new import_sdkgen_client112.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7449
+ throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7266
7450
  }
7267
7451
  };
7268
7452
 
7269
7453
  // src/SystemMetaTag.ts
7270
- var import_sdkgen_client113 = require("sdkgen-client");
7271
- var import_sdkgen_client114 = require("sdkgen-client");
7272
- var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
7454
+ var import_sdkgen_client115 = require("sdkgen-client");
7455
+ var import_sdkgen_client116 = require("sdkgen-client");
7456
+ var SystemMetaTag = class extends import_sdkgen_client115.TagAbstract {
7273
7457
  /**
7274
7458
  * Returns meta information and links about the current installed Fusio version
7275
7459
  *
@@ -7293,7 +7477,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
7293
7477
  if (statusCode >= 0 && statusCode <= 999) {
7294
7478
  throw new CommonMessageException(await response.json());
7295
7479
  }
7296
- throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7480
+ throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7297
7481
  }
7298
7482
  /**
7299
7483
  * Debug endpoint which returns the provided data
@@ -7321,7 +7505,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
7321
7505
  if (statusCode >= 0 && statusCode <= 999) {
7322
7506
  throw new CommonMessageException(await response.json());
7323
7507
  }
7324
- throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7508
+ throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7325
7509
  }
7326
7510
  /**
7327
7511
  * Health check endpoint which returns information about the health status of the system
@@ -7346,7 +7530,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
7346
7530
  if (statusCode >= 0 && statusCode <= 999) {
7347
7531
  throw new CommonMessageException(await response.json());
7348
7532
  }
7349
- throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7533
+ throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7350
7534
  }
7351
7535
  /**
7352
7536
  * Returns all available routes
@@ -7371,7 +7555,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
7371
7555
  if (statusCode >= 0 && statusCode <= 999) {
7372
7556
  throw new CommonMessageException(await response.json());
7373
7557
  }
7374
- throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7558
+ throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7375
7559
  }
7376
7560
  /**
7377
7561
  * Returns details of a specific schema
@@ -7398,14 +7582,14 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
7398
7582
  if (statusCode >= 0 && statusCode <= 999) {
7399
7583
  throw new CommonMessageException(await response.json());
7400
7584
  }
7401
- throw new import_sdkgen_client114.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7585
+ throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7402
7586
  }
7403
7587
  };
7404
7588
 
7405
7589
  // src/SystemPaymentTag.ts
7406
- var import_sdkgen_client115 = require("sdkgen-client");
7407
- var import_sdkgen_client116 = require("sdkgen-client");
7408
- var SystemPaymentTag = class extends import_sdkgen_client115.TagAbstract {
7590
+ var import_sdkgen_client117 = require("sdkgen-client");
7591
+ var import_sdkgen_client118 = require("sdkgen-client");
7592
+ var SystemPaymentTag = class extends import_sdkgen_client117.TagAbstract {
7409
7593
  /**
7410
7594
  * Payment webhook endpoint after successful purchase of a plan
7411
7595
  *
@@ -7431,12 +7615,12 @@ var SystemPaymentTag = class extends import_sdkgen_client115.TagAbstract {
7431
7615
  if (statusCode >= 0 && statusCode <= 999) {
7432
7616
  throw new CommonMessageException(await response.json());
7433
7617
  }
7434
- throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7618
+ throw new import_sdkgen_client118.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
7435
7619
  }
7436
7620
  };
7437
7621
 
7438
7622
  // src/SystemTag.ts
7439
- var SystemTag = class extends import_sdkgen_client117.TagAbstract {
7623
+ var SystemTag = class extends import_sdkgen_client119.TagAbstract {
7440
7624
  connection() {
7441
7625
  return new SystemConnectionTag(
7442
7626
  this.httpClient,
@@ -7458,7 +7642,7 @@ var SystemTag = class extends import_sdkgen_client117.TagAbstract {
7458
7642
  };
7459
7643
 
7460
7644
  // src/Client.ts
7461
- var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
7645
+ var Client = class _Client extends import_sdkgen_client120.ClientAbstract {
7462
7646
  authorization() {
7463
7647
  return new AuthorizationTag(
7464
7648
  this.httpClient,
@@ -7484,7 +7668,7 @@ var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
7484
7668
  );
7485
7669
  }
7486
7670
  static buildAnonymous(baseUrl) {
7487
- return new _Client(baseUrl, new import_sdkgen_client119.Anonymous());
7671
+ return new _Client(baseUrl, new import_sdkgen_client121.Anonymous());
7488
7672
  }
7489
7673
  };
7490
7674
  // Annotate the CommonJS export names for ESM import in node:
@@ -7528,6 +7712,7 @@ var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
7528
7712
  BackendTokenTag,
7529
7713
  BackendTransactionTag,
7530
7714
  BackendTrashTag,
7715
+ BackendTriggerTag,
7531
7716
  BackendUserTag,
7532
7717
  BackendWebhookTag,
7533
7718
  Client,