fusio-sdk 6.0.0 → 6.2.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.js CHANGED
@@ -3009,9 +3009,127 @@ var BackendMarketplaceAppTag = class extends TagAbstract23 {
3009
3009
  }
3010
3010
  };
3011
3011
 
3012
- // src/BackendMarketplaceTag.ts
3012
+ // src/BackendMarketplaceBundleTag.ts
3013
3013
  import { TagAbstract as TagAbstract24 } from "sdkgen-client";
3014
- var BackendMarketplaceTag = class extends TagAbstract24 {
3014
+ import { UnknownStatusCodeException as UnknownStatusCodeException24 } from "sdkgen-client";
3015
+ var BackendMarketplaceBundleTag = class extends TagAbstract24 {
3016
+ /**
3017
+ * Returns a specific marketplace bundle
3018
+ *
3019
+ * @returns {Promise<MarketplaceBundle>}
3020
+ * @throws {CommonMessageException}
3021
+ * @throws {ClientException}
3022
+ */
3023
+ async get(user, name) {
3024
+ const url = this.parser.url("/backend/marketplace/bundle/:user/:name", {
3025
+ "user": user,
3026
+ "name": name
3027
+ });
3028
+ let request = {
3029
+ url,
3030
+ method: "GET",
3031
+ headers: {},
3032
+ params: this.parser.query({}, [])
3033
+ };
3034
+ const response = await this.httpClient.request(request);
3035
+ if (response.ok) {
3036
+ return await response.json();
3037
+ }
3038
+ const statusCode = response.status;
3039
+ if (statusCode >= 0 && statusCode <= 999) {
3040
+ throw new CommonMessageException(await response.json());
3041
+ }
3042
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3043
+ }
3044
+ /**
3045
+ * Returns a paginated list of marketplace bundles
3046
+ *
3047
+ * @returns {Promise<MarketplaceBundleCollection>}
3048
+ * @throws {CommonMessageException}
3049
+ * @throws {ClientException}
3050
+ */
3051
+ async getAll(startIndex, query) {
3052
+ const url = this.parser.url("/backend/marketplace/bundle", {});
3053
+ let request = {
3054
+ url,
3055
+ method: "GET",
3056
+ headers: {},
3057
+ params: this.parser.query({
3058
+ "startIndex": startIndex,
3059
+ "query": query
3060
+ }, [])
3061
+ };
3062
+ const response = await this.httpClient.request(request);
3063
+ if (response.ok) {
3064
+ return await response.json();
3065
+ }
3066
+ const statusCode = response.status;
3067
+ if (statusCode >= 0 && statusCode <= 999) {
3068
+ throw new CommonMessageException(await response.json());
3069
+ }
3070
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3071
+ }
3072
+ /**
3073
+ * Installs an bundle from the marketplace
3074
+ *
3075
+ * @returns {Promise<MarketplaceMessage>}
3076
+ * @throws {CommonMessageException}
3077
+ * @throws {ClientException}
3078
+ */
3079
+ async install(payload) {
3080
+ const url = this.parser.url("/backend/marketplace/bundle", {});
3081
+ let request = {
3082
+ url,
3083
+ method: "POST",
3084
+ headers: {
3085
+ "Content-Type": "application/json"
3086
+ },
3087
+ params: this.parser.query({}, []),
3088
+ data: payload
3089
+ };
3090
+ const response = await this.httpClient.request(request);
3091
+ if (response.ok) {
3092
+ return await response.json();
3093
+ }
3094
+ const statusCode = response.status;
3095
+ if (statusCode >= 0 && statusCode <= 999) {
3096
+ throw new CommonMessageException(await response.json());
3097
+ }
3098
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3099
+ }
3100
+ /**
3101
+ * Upgrades an bundle from the marketplace
3102
+ *
3103
+ * @returns {Promise<MarketplaceMessage>}
3104
+ * @throws {CommonMessageException}
3105
+ * @throws {ClientException}
3106
+ */
3107
+ async upgrade(user, name) {
3108
+ const url = this.parser.url("/backend/marketplace/bundle/:user/:name", {
3109
+ "user": user,
3110
+ "name": name
3111
+ });
3112
+ let request = {
3113
+ url,
3114
+ method: "PUT",
3115
+ headers: {},
3116
+ params: this.parser.query({}, [])
3117
+ };
3118
+ const response = await this.httpClient.request(request);
3119
+ if (response.ok) {
3120
+ return await response.json();
3121
+ }
3122
+ const statusCode = response.status;
3123
+ if (statusCode >= 0 && statusCode <= 999) {
3124
+ throw new CommonMessageException(await response.json());
3125
+ }
3126
+ throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3127
+ }
3128
+ };
3129
+
3130
+ // src/BackendMarketplaceTag.ts
3131
+ import { TagAbstract as TagAbstract25 } from "sdkgen-client";
3132
+ var BackendMarketplaceTag = class extends TagAbstract25 {
3015
3133
  action() {
3016
3134
  return new BackendMarketplaceActionTag(
3017
3135
  this.httpClient,
@@ -3024,12 +3142,18 @@ var BackendMarketplaceTag = class extends TagAbstract24 {
3024
3142
  this.parser
3025
3143
  );
3026
3144
  }
3145
+ bundle() {
3146
+ return new BackendMarketplaceBundleTag(
3147
+ this.httpClient,
3148
+ this.parser
3149
+ );
3150
+ }
3027
3151
  };
3028
3152
 
3029
3153
  // src/BackendOperationTag.ts
3030
- import { TagAbstract as TagAbstract25 } from "sdkgen-client";
3031
- import { UnknownStatusCodeException as UnknownStatusCodeException24 } from "sdkgen-client";
3032
- var BackendOperationTag = class extends TagAbstract25 {
3154
+ import { TagAbstract as TagAbstract26 } from "sdkgen-client";
3155
+ import { UnknownStatusCodeException as UnknownStatusCodeException25 } from "sdkgen-client";
3156
+ var BackendOperationTag = class extends TagAbstract26 {
3033
3157
  /**
3034
3158
  * Creates a new operation
3035
3159
  *
@@ -3056,7 +3180,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3056
3180
  if (statusCode >= 0 && statusCode <= 999) {
3057
3181
  throw new CommonMessageException(await response.json());
3058
3182
  }
3059
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3183
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3060
3184
  }
3061
3185
  /**
3062
3186
  * Deletes an existing operation
@@ -3083,7 +3207,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3083
3207
  if (statusCode >= 0 && statusCode <= 999) {
3084
3208
  throw new CommonMessageException(await response.json());
3085
3209
  }
3086
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3210
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3087
3211
  }
3088
3212
  /**
3089
3213
  * Returns a specific operation
@@ -3110,7 +3234,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3110
3234
  if (statusCode >= 0 && statusCode <= 999) {
3111
3235
  throw new CommonMessageException(await response.json());
3112
3236
  }
3113
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3237
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3114
3238
  }
3115
3239
  /**
3116
3240
  * Returns a paginated list of operations
@@ -3139,7 +3263,7 @@ var BackendOperationTag = class extends TagAbstract25 {
3139
3263
  if (statusCode >= 0 && statusCode <= 999) {
3140
3264
  throw new CommonMessageException(await response.json());
3141
3265
  }
3142
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3266
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3143
3267
  }
3144
3268
  /**
3145
3269
  * Updates an existing operation
@@ -3169,14 +3293,14 @@ var BackendOperationTag = class extends TagAbstract25 {
3169
3293
  if (statusCode >= 0 && statusCode <= 999) {
3170
3294
  throw new CommonMessageException(await response.json());
3171
3295
  }
3172
- throw new UnknownStatusCodeException24("The server returned an unknown status code: " + statusCode);
3296
+ throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3173
3297
  }
3174
3298
  };
3175
3299
 
3176
3300
  // src/BackendPageTag.ts
3177
- import { TagAbstract as TagAbstract26 } from "sdkgen-client";
3178
- import { UnknownStatusCodeException as UnknownStatusCodeException25 } from "sdkgen-client";
3179
- var BackendPageTag = class extends TagAbstract26 {
3301
+ import { TagAbstract as TagAbstract27 } from "sdkgen-client";
3302
+ import { UnknownStatusCodeException as UnknownStatusCodeException26 } from "sdkgen-client";
3303
+ var BackendPageTag = class extends TagAbstract27 {
3180
3304
  /**
3181
3305
  * Creates a new page
3182
3306
  *
@@ -3203,7 +3327,7 @@ var BackendPageTag = class extends TagAbstract26 {
3203
3327
  if (statusCode >= 0 && statusCode <= 999) {
3204
3328
  throw new CommonMessageException(await response.json());
3205
3329
  }
3206
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3330
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3207
3331
  }
3208
3332
  /**
3209
3333
  * Deletes an existing page
@@ -3230,7 +3354,7 @@ var BackendPageTag = class extends TagAbstract26 {
3230
3354
  if (statusCode >= 0 && statusCode <= 999) {
3231
3355
  throw new CommonMessageException(await response.json());
3232
3356
  }
3233
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3357
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3234
3358
  }
3235
3359
  /**
3236
3360
  * Returns a specific page
@@ -3257,7 +3381,7 @@ var BackendPageTag = class extends TagAbstract26 {
3257
3381
  if (statusCode >= 0 && statusCode <= 999) {
3258
3382
  throw new CommonMessageException(await response.json());
3259
3383
  }
3260
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3384
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3261
3385
  }
3262
3386
  /**
3263
3387
  * Returns a paginated list of pages
@@ -3286,7 +3410,7 @@ var BackendPageTag = class extends TagAbstract26 {
3286
3410
  if (statusCode >= 0 && statusCode <= 999) {
3287
3411
  throw new CommonMessageException(await response.json());
3288
3412
  }
3289
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3413
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3290
3414
  }
3291
3415
  /**
3292
3416
  * Updates an existing page
@@ -3316,14 +3440,14 @@ var BackendPageTag = class extends TagAbstract26 {
3316
3440
  if (statusCode >= 0 && statusCode <= 999) {
3317
3441
  throw new CommonMessageException(await response.json());
3318
3442
  }
3319
- throw new UnknownStatusCodeException25("The server returned an unknown status code: " + statusCode);
3443
+ throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3320
3444
  }
3321
3445
  };
3322
3446
 
3323
3447
  // src/BackendPlanTag.ts
3324
- import { TagAbstract as TagAbstract27 } from "sdkgen-client";
3325
- import { UnknownStatusCodeException as UnknownStatusCodeException26 } from "sdkgen-client";
3326
- var BackendPlanTag = class extends TagAbstract27 {
3448
+ import { TagAbstract as TagAbstract28 } from "sdkgen-client";
3449
+ import { UnknownStatusCodeException as UnknownStatusCodeException27 } from "sdkgen-client";
3450
+ var BackendPlanTag = class extends TagAbstract28 {
3327
3451
  /**
3328
3452
  * Creates a new plan
3329
3453
  *
@@ -3350,7 +3474,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3350
3474
  if (statusCode >= 0 && statusCode <= 999) {
3351
3475
  throw new CommonMessageException(await response.json());
3352
3476
  }
3353
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3477
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3354
3478
  }
3355
3479
  /**
3356
3480
  * Deletes an existing plan
@@ -3377,7 +3501,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3377
3501
  if (statusCode >= 0 && statusCode <= 999) {
3378
3502
  throw new CommonMessageException(await response.json());
3379
3503
  }
3380
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3504
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3381
3505
  }
3382
3506
  /**
3383
3507
  * Returns a specific plan
@@ -3404,7 +3528,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3404
3528
  if (statusCode >= 0 && statusCode <= 999) {
3405
3529
  throw new CommonMessageException(await response.json());
3406
3530
  }
3407
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3531
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3408
3532
  }
3409
3533
  /**
3410
3534
  * Returns a paginated list of plans
@@ -3433,7 +3557,7 @@ var BackendPlanTag = class extends TagAbstract27 {
3433
3557
  if (statusCode >= 0 && statusCode <= 999) {
3434
3558
  throw new CommonMessageException(await response.json());
3435
3559
  }
3436
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3560
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3437
3561
  }
3438
3562
  /**
3439
3563
  * Updates an existing plan
@@ -3463,14 +3587,14 @@ var BackendPlanTag = class extends TagAbstract27 {
3463
3587
  if (statusCode >= 0 && statusCode <= 999) {
3464
3588
  throw new CommonMessageException(await response.json());
3465
3589
  }
3466
- throw new UnknownStatusCodeException26("The server returned an unknown status code: " + statusCode);
3590
+ throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3467
3591
  }
3468
3592
  };
3469
3593
 
3470
3594
  // src/BackendRateTag.ts
3471
- import { TagAbstract as TagAbstract28 } from "sdkgen-client";
3472
- import { UnknownStatusCodeException as UnknownStatusCodeException27 } from "sdkgen-client";
3473
- var BackendRateTag = class extends TagAbstract28 {
3595
+ import { TagAbstract as TagAbstract29 } from "sdkgen-client";
3596
+ import { UnknownStatusCodeException as UnknownStatusCodeException28 } from "sdkgen-client";
3597
+ var BackendRateTag = class extends TagAbstract29 {
3474
3598
  /**
3475
3599
  * Creates a new rate limitation
3476
3600
  *
@@ -3497,7 +3621,7 @@ var BackendRateTag = class extends TagAbstract28 {
3497
3621
  if (statusCode >= 0 && statusCode <= 999) {
3498
3622
  throw new CommonMessageException(await response.json());
3499
3623
  }
3500
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3624
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3501
3625
  }
3502
3626
  /**
3503
3627
  * Deletes an existing rate
@@ -3524,7 +3648,7 @@ var BackendRateTag = class extends TagAbstract28 {
3524
3648
  if (statusCode >= 0 && statusCode <= 999) {
3525
3649
  throw new CommonMessageException(await response.json());
3526
3650
  }
3527
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3651
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3528
3652
  }
3529
3653
  /**
3530
3654
  * Returns a specific rate
@@ -3551,7 +3675,7 @@ var BackendRateTag = class extends TagAbstract28 {
3551
3675
  if (statusCode >= 0 && statusCode <= 999) {
3552
3676
  throw new CommonMessageException(await response.json());
3553
3677
  }
3554
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3678
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3555
3679
  }
3556
3680
  /**
3557
3681
  * Returns a paginated list of rate limitations
@@ -3580,7 +3704,7 @@ var BackendRateTag = class extends TagAbstract28 {
3580
3704
  if (statusCode >= 0 && statusCode <= 999) {
3581
3705
  throw new CommonMessageException(await response.json());
3582
3706
  }
3583
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3707
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3584
3708
  }
3585
3709
  /**
3586
3710
  * Updates an existing rate
@@ -3610,14 +3734,14 @@ var BackendRateTag = class extends TagAbstract28 {
3610
3734
  if (statusCode >= 0 && statusCode <= 999) {
3611
3735
  throw new CommonMessageException(await response.json());
3612
3736
  }
3613
- throw new UnknownStatusCodeException27("The server returned an unknown status code: " + statusCode);
3737
+ throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3614
3738
  }
3615
3739
  };
3616
3740
 
3617
3741
  // src/BackendRoleTag.ts
3618
- import { TagAbstract as TagAbstract29 } from "sdkgen-client";
3619
- import { UnknownStatusCodeException as UnknownStatusCodeException28 } from "sdkgen-client";
3620
- var BackendRoleTag = class extends TagAbstract29 {
3742
+ import { TagAbstract as TagAbstract30 } from "sdkgen-client";
3743
+ import { UnknownStatusCodeException as UnknownStatusCodeException29 } from "sdkgen-client";
3744
+ var BackendRoleTag = class extends TagAbstract30 {
3621
3745
  /**
3622
3746
  * Creates a new role
3623
3747
  *
@@ -3644,7 +3768,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3644
3768
  if (statusCode >= 0 && statusCode <= 999) {
3645
3769
  throw new CommonMessageException(await response.json());
3646
3770
  }
3647
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3771
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3648
3772
  }
3649
3773
  /**
3650
3774
  * Deletes an existing role
@@ -3671,7 +3795,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3671
3795
  if (statusCode >= 0 && statusCode <= 999) {
3672
3796
  throw new CommonMessageException(await response.json());
3673
3797
  }
3674
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3798
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3675
3799
  }
3676
3800
  /**
3677
3801
  * Returns a specific role
@@ -3698,7 +3822,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3698
3822
  if (statusCode >= 0 && statusCode <= 999) {
3699
3823
  throw new CommonMessageException(await response.json());
3700
3824
  }
3701
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3825
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3702
3826
  }
3703
3827
  /**
3704
3828
  * Returns a paginated list of roles
@@ -3727,7 +3851,7 @@ var BackendRoleTag = class extends TagAbstract29 {
3727
3851
  if (statusCode >= 0 && statusCode <= 999) {
3728
3852
  throw new CommonMessageException(await response.json());
3729
3853
  }
3730
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3854
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3731
3855
  }
3732
3856
  /**
3733
3857
  * Updates an existing role
@@ -3757,14 +3881,14 @@ var BackendRoleTag = class extends TagAbstract29 {
3757
3881
  if (statusCode >= 0 && statusCode <= 999) {
3758
3882
  throw new CommonMessageException(await response.json());
3759
3883
  }
3760
- throw new UnknownStatusCodeException28("The server returned an unknown status code: " + statusCode);
3884
+ throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3761
3885
  }
3762
3886
  };
3763
3887
 
3764
3888
  // src/BackendSchemaTag.ts
3765
- import { TagAbstract as TagAbstract30 } from "sdkgen-client";
3766
- import { UnknownStatusCodeException as UnknownStatusCodeException29 } from "sdkgen-client";
3767
- var BackendSchemaTag = class extends TagAbstract30 {
3889
+ import { TagAbstract as TagAbstract31 } from "sdkgen-client";
3890
+ import { UnknownStatusCodeException as UnknownStatusCodeException30 } from "sdkgen-client";
3891
+ var BackendSchemaTag = class extends TagAbstract31 {
3768
3892
  /**
3769
3893
  * Creates a new schema
3770
3894
  *
@@ -3791,7 +3915,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3791
3915
  if (statusCode >= 0 && statusCode <= 999) {
3792
3916
  throw new CommonMessageException(await response.json());
3793
3917
  }
3794
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3918
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3795
3919
  }
3796
3920
  /**
3797
3921
  * Deletes an existing schema
@@ -3818,7 +3942,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3818
3942
  if (statusCode >= 0 && statusCode <= 999) {
3819
3943
  throw new CommonMessageException(await response.json());
3820
3944
  }
3821
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3945
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3822
3946
  }
3823
3947
  /**
3824
3948
  * Returns a specific schema
@@ -3845,7 +3969,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3845
3969
  if (statusCode >= 0 && statusCode <= 999) {
3846
3970
  throw new CommonMessageException(await response.json());
3847
3971
  }
3848
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
3972
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3849
3973
  }
3850
3974
  /**
3851
3975
  * Returns a paginated list of schemas
@@ -3874,7 +3998,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3874
3998
  if (statusCode >= 0 && statusCode <= 999) {
3875
3999
  throw new CommonMessageException(await response.json());
3876
4000
  }
3877
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4001
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3878
4002
  }
3879
4003
  /**
3880
4004
  * Returns a HTML preview of the provided schema
@@ -3901,7 +4025,7 @@ var BackendSchemaTag = class extends TagAbstract30 {
3901
4025
  if (statusCode >= 0 && statusCode <= 999) {
3902
4026
  throw new CommonMessageException(await response.json());
3903
4027
  }
3904
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4028
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3905
4029
  }
3906
4030
  /**
3907
4031
  * Updates an existing schema
@@ -3931,14 +4055,14 @@ var BackendSchemaTag = class extends TagAbstract30 {
3931
4055
  if (statusCode >= 0 && statusCode <= 999) {
3932
4056
  throw new CommonMessageException(await response.json());
3933
4057
  }
3934
- throw new UnknownStatusCodeException29("The server returned an unknown status code: " + statusCode);
4058
+ throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
3935
4059
  }
3936
4060
  };
3937
4061
 
3938
4062
  // src/BackendScopeTag.ts
3939
- import { TagAbstract as TagAbstract31 } from "sdkgen-client";
3940
- import { UnknownStatusCodeException as UnknownStatusCodeException30 } from "sdkgen-client";
3941
- var BackendScopeTag = class extends TagAbstract31 {
4063
+ import { TagAbstract as TagAbstract32 } from "sdkgen-client";
4064
+ import { UnknownStatusCodeException as UnknownStatusCodeException31 } from "sdkgen-client";
4065
+ var BackendScopeTag = class extends TagAbstract32 {
3942
4066
  /**
3943
4067
  * Creates a new scope
3944
4068
  *
@@ -3965,7 +4089,7 @@ var BackendScopeTag = class extends TagAbstract31 {
3965
4089
  if (statusCode >= 0 && statusCode <= 999) {
3966
4090
  throw new CommonMessageException(await response.json());
3967
4091
  }
3968
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4092
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3969
4093
  }
3970
4094
  /**
3971
4095
  * Deletes an existing scope
@@ -3992,7 +4116,7 @@ var BackendScopeTag = class extends TagAbstract31 {
3992
4116
  if (statusCode >= 0 && statusCode <= 999) {
3993
4117
  throw new CommonMessageException(await response.json());
3994
4118
  }
3995
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4119
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
3996
4120
  }
3997
4121
  /**
3998
4122
  * Returns a specific scope
@@ -4019,7 +4143,7 @@ var BackendScopeTag = class extends TagAbstract31 {
4019
4143
  if (statusCode >= 0 && statusCode <= 999) {
4020
4144
  throw new CommonMessageException(await response.json());
4021
4145
  }
4022
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4146
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4023
4147
  }
4024
4148
  /**
4025
4149
  * Returns a paginated list of scopes
@@ -4048,7 +4172,7 @@ var BackendScopeTag = class extends TagAbstract31 {
4048
4172
  if (statusCode >= 0 && statusCode <= 999) {
4049
4173
  throw new CommonMessageException(await response.json());
4050
4174
  }
4051
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4175
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4052
4176
  }
4053
4177
  /**
4054
4178
  * Returns all available scopes grouped by category
@@ -4073,7 +4197,7 @@ var BackendScopeTag = class extends TagAbstract31 {
4073
4197
  if (statusCode >= 0 && statusCode <= 999) {
4074
4198
  throw new CommonMessageException(await response.json());
4075
4199
  }
4076
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4200
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4077
4201
  }
4078
4202
  /**
4079
4203
  * Updates an existing scope
@@ -4103,14 +4227,14 @@ var BackendScopeTag = class extends TagAbstract31 {
4103
4227
  if (statusCode >= 0 && statusCode <= 999) {
4104
4228
  throw new CommonMessageException(await response.json());
4105
4229
  }
4106
- throw new UnknownStatusCodeException30("The server returned an unknown status code: " + statusCode);
4230
+ throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4107
4231
  }
4108
4232
  };
4109
4233
 
4110
4234
  // src/BackendSdkTag.ts
4111
- import { TagAbstract as TagAbstract32 } from "sdkgen-client";
4112
- import { UnknownStatusCodeException as UnknownStatusCodeException31 } from "sdkgen-client";
4113
- var BackendSdkTag = class extends TagAbstract32 {
4235
+ import { TagAbstract as TagAbstract33 } from "sdkgen-client";
4236
+ import { UnknownStatusCodeException as UnknownStatusCodeException32 } from "sdkgen-client";
4237
+ var BackendSdkTag = class extends TagAbstract33 {
4114
4238
  /**
4115
4239
  * Generates a specific SDK
4116
4240
  *
@@ -4137,7 +4261,7 @@ var BackendSdkTag = class extends TagAbstract32 {
4137
4261
  if (statusCode >= 0 && statusCode <= 999) {
4138
4262
  throw new CommonMessageException(await response.json());
4139
4263
  }
4140
- throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4264
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4141
4265
  }
4142
4266
  /**
4143
4267
  * Returns a paginated list of SDKs
@@ -4162,14 +4286,14 @@ var BackendSdkTag = class extends TagAbstract32 {
4162
4286
  if (statusCode >= 0 && statusCode <= 999) {
4163
4287
  throw new CommonMessageException(await response.json());
4164
4288
  }
4165
- throw new UnknownStatusCodeException31("The server returned an unknown status code: " + statusCode);
4289
+ throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4166
4290
  }
4167
4291
  };
4168
4292
 
4169
4293
  // src/BackendStatisticTag.ts
4170
- import { TagAbstract as TagAbstract33 } from "sdkgen-client";
4171
- import { UnknownStatusCodeException as UnknownStatusCodeException32 } from "sdkgen-client";
4172
- var BackendStatisticTag = class extends TagAbstract33 {
4294
+ import { TagAbstract as TagAbstract34 } from "sdkgen-client";
4295
+ import { UnknownStatusCodeException as UnknownStatusCodeException33 } from "sdkgen-client";
4296
+ var BackendStatisticTag = class extends TagAbstract34 {
4173
4297
  /**
4174
4298
  * Returns a statistic containing the activities per user
4175
4299
  *
@@ -4208,7 +4332,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4208
4332
  if (statusCode >= 0 && statusCode <= 999) {
4209
4333
  throw new CommonMessageException(await response.json());
4210
4334
  }
4211
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4335
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4212
4336
  }
4213
4337
  /**
4214
4338
  * Returns a statistic containing the request count
@@ -4248,7 +4372,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4248
4372
  if (statusCode >= 0 && statusCode <= 999) {
4249
4373
  throw new CommonMessageException(await response.json());
4250
4374
  }
4251
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4375
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4252
4376
  }
4253
4377
  /**
4254
4378
  * Returns a statistic containing the errors per operation
@@ -4288,7 +4412,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4288
4412
  if (statusCode >= 0 && statusCode <= 999) {
4289
4413
  throw new CommonMessageException(await response.json());
4290
4414
  }
4291
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4415
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4292
4416
  }
4293
4417
  /**
4294
4418
  * Returns a statistic containing the incoming requests
@@ -4328,7 +4452,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4328
4452
  if (statusCode >= 0 && statusCode <= 999) {
4329
4453
  throw new CommonMessageException(await response.json());
4330
4454
  }
4331
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4455
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4332
4456
  }
4333
4457
  /**
4334
4458
  * Returns a statistic containing the incoming transactions
@@ -4368,7 +4492,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4368
4492
  if (statusCode >= 0 && statusCode <= 999) {
4369
4493
  throw new CommonMessageException(await response.json());
4370
4494
  }
4371
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4495
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4372
4496
  }
4373
4497
  /**
4374
4498
  * Returns a statistic containing the issues tokens
@@ -4408,7 +4532,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4408
4532
  if (statusCode >= 0 && statusCode <= 999) {
4409
4533
  throw new CommonMessageException(await response.json());
4410
4534
  }
4411
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4535
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4412
4536
  }
4413
4537
  /**
4414
4538
  * Returns a statistic containing the most used activities
@@ -4448,7 +4572,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4448
4572
  if (statusCode >= 0 && statusCode <= 999) {
4449
4573
  throw new CommonMessageException(await response.json());
4450
4574
  }
4451
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4575
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4452
4576
  }
4453
4577
  /**
4454
4578
  * Returns a statistic containing the most used apps
@@ -4488,7 +4612,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4488
4612
  if (statusCode >= 0 && statusCode <= 999) {
4489
4613
  throw new CommonMessageException(await response.json());
4490
4614
  }
4491
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4615
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4492
4616
  }
4493
4617
  /**
4494
4618
  * Returns a statistic containing the most used operations
@@ -4528,32 +4652,152 @@ var BackendStatisticTag = class extends TagAbstract33 {
4528
4652
  if (statusCode >= 0 && statusCode <= 999) {
4529
4653
  throw new CommonMessageException(await response.json());
4530
4654
  }
4531
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4655
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4532
4656
  }
4533
4657
  /**
4534
- * Returns a statistic containing the test coverage
4658
+ * Returns a statistic containing the requests per ip
4535
4659
  *
4536
4660
  * @returns {Promise<BackendStatisticChart>}
4537
4661
  * @throws {CommonMessageException}
4538
4662
  * @throws {ClientException}
4539
4663
  */
4540
- async getTestCoverage() {
4541
- const url = this.parser.url("/backend/statistic/test_coverage", {});
4664
+ async getRequestsPerIP(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
4665
+ const url = this.parser.url("/backend/statistic/requests_per_ip", {});
4542
4666
  let request = {
4543
4667
  url,
4544
4668
  method: "GET",
4545
4669
  headers: {},
4546
- params: this.parser.query({}, [])
4547
- };
4548
- const response = await this.httpClient.request(request);
4549
- if (response.ok) {
4550
- return await response.json();
4551
- }
4552
- const statusCode = response.status;
4553
- if (statusCode >= 0 && statusCode <= 999) {
4554
- throw new CommonMessageException(await response.json());
4670
+ params: this.parser.query({
4671
+ "startIndex": startIndex,
4672
+ "count": count,
4673
+ "search": search,
4674
+ "from": from,
4675
+ "to": to,
4676
+ "operationId": operationId,
4677
+ "appId": appId,
4678
+ "userId": userId,
4679
+ "ip": ip,
4680
+ "userAgent": userAgent,
4681
+ "method": method,
4682
+ "path": path,
4683
+ "header": header,
4684
+ "body": body
4685
+ }, [])
4686
+ };
4687
+ const response = await this.httpClient.request(request);
4688
+ if (response.ok) {
4689
+ return await response.json();
4555
4690
  }
4556
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4691
+ const statusCode = response.status;
4692
+ if (statusCode >= 0 && statusCode <= 999) {
4693
+ throw new CommonMessageException(await response.json());
4694
+ }
4695
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4696
+ }
4697
+ /**
4698
+ * Returns a statistic containing the requests per operation
4699
+ *
4700
+ * @returns {Promise<BackendStatisticChart>}
4701
+ * @throws {CommonMessageException}
4702
+ * @throws {ClientException}
4703
+ */
4704
+ async getRequestsPerOperation(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
4705
+ const url = this.parser.url("/backend/statistic/requests_per_operation", {});
4706
+ let request = {
4707
+ url,
4708
+ method: "GET",
4709
+ headers: {},
4710
+ params: this.parser.query({
4711
+ "startIndex": startIndex,
4712
+ "count": count,
4713
+ "search": search,
4714
+ "from": from,
4715
+ "to": to,
4716
+ "operationId": operationId,
4717
+ "appId": appId,
4718
+ "userId": userId,
4719
+ "ip": ip,
4720
+ "userAgent": userAgent,
4721
+ "method": method,
4722
+ "path": path,
4723
+ "header": header,
4724
+ "body": body
4725
+ }, [])
4726
+ };
4727
+ const response = await this.httpClient.request(request);
4728
+ if (response.ok) {
4729
+ return await response.json();
4730
+ }
4731
+ const statusCode = response.status;
4732
+ if (statusCode >= 0 && statusCode <= 999) {
4733
+ throw new CommonMessageException(await response.json());
4734
+ }
4735
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4736
+ }
4737
+ /**
4738
+ * Returns a statistic containing the requests per user
4739
+ *
4740
+ * @returns {Promise<BackendStatisticChart>}
4741
+ * @throws {CommonMessageException}
4742
+ * @throws {ClientException}
4743
+ */
4744
+ async getRequestsPerUser(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
4745
+ const url = this.parser.url("/backend/statistic/requests_per_user", {});
4746
+ let request = {
4747
+ url,
4748
+ method: "GET",
4749
+ headers: {},
4750
+ params: this.parser.query({
4751
+ "startIndex": startIndex,
4752
+ "count": count,
4753
+ "search": search,
4754
+ "from": from,
4755
+ "to": to,
4756
+ "operationId": operationId,
4757
+ "appId": appId,
4758
+ "userId": userId,
4759
+ "ip": ip,
4760
+ "userAgent": userAgent,
4761
+ "method": method,
4762
+ "path": path,
4763
+ "header": header,
4764
+ "body": body
4765
+ }, [])
4766
+ };
4767
+ const response = await this.httpClient.request(request);
4768
+ if (response.ok) {
4769
+ return await response.json();
4770
+ }
4771
+ const statusCode = response.status;
4772
+ if (statusCode >= 0 && statusCode <= 999) {
4773
+ throw new CommonMessageException(await response.json());
4774
+ }
4775
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4776
+ }
4777
+ /**
4778
+ * Returns a statistic containing the test coverage
4779
+ *
4780
+ * @returns {Promise<BackendStatisticChart>}
4781
+ * @throws {CommonMessageException}
4782
+ * @throws {ClientException}
4783
+ */
4784
+ async getTestCoverage() {
4785
+ const url = this.parser.url("/backend/statistic/test_coverage", {});
4786
+ let request = {
4787
+ url,
4788
+ method: "GET",
4789
+ headers: {},
4790
+ params: this.parser.query({}, [])
4791
+ };
4792
+ const response = await this.httpClient.request(request);
4793
+ if (response.ok) {
4794
+ return await response.json();
4795
+ }
4796
+ const statusCode = response.status;
4797
+ if (statusCode >= 0 && statusCode <= 999) {
4798
+ throw new CommonMessageException(await response.json());
4799
+ }
4800
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4557
4801
  }
4558
4802
  /**
4559
4803
  * Returns a statistic containing the time average
@@ -4593,7 +4837,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4593
4837
  if (statusCode >= 0 && statusCode <= 999) {
4594
4838
  throw new CommonMessageException(await response.json());
4595
4839
  }
4596
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4840
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4597
4841
  }
4598
4842
  /**
4599
4843
  * Returns a statistic containing the time per operation
@@ -4633,7 +4877,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4633
4877
  if (statusCode >= 0 && statusCode <= 999) {
4634
4878
  throw new CommonMessageException(await response.json());
4635
4879
  }
4636
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4880
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4637
4881
  }
4638
4882
  /**
4639
4883
  * Returns a statistic containing the used points
@@ -4673,7 +4917,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
4673
4917
  if (statusCode >= 0 && statusCode <= 999) {
4674
4918
  throw new CommonMessageException(await response.json());
4675
4919
  }
4676
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4920
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4677
4921
  }
4678
4922
  /**
4679
4923
  * Returns a statistic containing the user registrations
@@ -4713,17 +4957,17 @@ var BackendStatisticTag = class extends TagAbstract33 {
4713
4957
  if (statusCode >= 0 && statusCode <= 999) {
4714
4958
  throw new CommonMessageException(await response.json());
4715
4959
  }
4716
- throw new UnknownStatusCodeException32("The server returned an unknown status code: " + statusCode);
4960
+ throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4717
4961
  }
4718
4962
  };
4719
4963
 
4720
4964
  // src/BackendTag.ts
4721
- import { TagAbstract as TagAbstract41 } from "sdkgen-client";
4965
+ import { TagAbstract as TagAbstract43 } from "sdkgen-client";
4722
4966
 
4723
4967
  // src/BackendTenantTag.ts
4724
- import { TagAbstract as TagAbstract34 } from "sdkgen-client";
4725
- import { UnknownStatusCodeException as UnknownStatusCodeException33 } from "sdkgen-client";
4726
- var BackendTenantTag = class extends TagAbstract34 {
4968
+ import { TagAbstract as TagAbstract35 } from "sdkgen-client";
4969
+ import { UnknownStatusCodeException as UnknownStatusCodeException34 } from "sdkgen-client";
4970
+ var BackendTenantTag = class extends TagAbstract35 {
4727
4971
  /**
4728
4972
  * Removes an existing tenant
4729
4973
  *
@@ -4749,7 +4993,7 @@ var BackendTenantTag = class extends TagAbstract34 {
4749
4993
  if (statusCode >= 0 && statusCode <= 999) {
4750
4994
  throw new CommonMessageException(await response.json());
4751
4995
  }
4752
- throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
4996
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4753
4997
  }
4754
4998
  /**
4755
4999
  * Setup a new tenant
@@ -4776,14 +5020,14 @@ var BackendTenantTag = class extends TagAbstract34 {
4776
5020
  if (statusCode >= 0 && statusCode <= 999) {
4777
5021
  throw new CommonMessageException(await response.json());
4778
5022
  }
4779
- throw new UnknownStatusCodeException33("The server returned an unknown status code: " + statusCode);
5023
+ throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
4780
5024
  }
4781
5025
  };
4782
5026
 
4783
5027
  // src/BackendTestTag.ts
4784
- import { TagAbstract as TagAbstract35 } from "sdkgen-client";
4785
- import { UnknownStatusCodeException as UnknownStatusCodeException34 } from "sdkgen-client";
4786
- var BackendTestTag = class extends TagAbstract35 {
5028
+ import { TagAbstract as TagAbstract36 } from "sdkgen-client";
5029
+ import { UnknownStatusCodeException as UnknownStatusCodeException35 } from "sdkgen-client";
5030
+ var BackendTestTag = class extends TagAbstract36 {
4787
5031
  /**
4788
5032
  * Returns a specific test
4789
5033
  *
@@ -4809,7 +5053,7 @@ var BackendTestTag = class extends TagAbstract35 {
4809
5053
  if (statusCode >= 0 && statusCode <= 999) {
4810
5054
  throw new CommonMessageException(await response.json());
4811
5055
  }
4812
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5056
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4813
5057
  }
4814
5058
  /**
4815
5059
  * Returns a paginated list of tests
@@ -4838,7 +5082,7 @@ var BackendTestTag = class extends TagAbstract35 {
4838
5082
  if (statusCode >= 0 && statusCode <= 999) {
4839
5083
  throw new CommonMessageException(await response.json());
4840
5084
  }
4841
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5085
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4842
5086
  }
4843
5087
  /**
4844
5088
  * Refresh all tests
@@ -4863,7 +5107,7 @@ var BackendTestTag = class extends TagAbstract35 {
4863
5107
  if (statusCode >= 0 && statusCode <= 999) {
4864
5108
  throw new CommonMessageException(await response.json());
4865
5109
  }
4866
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5110
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4867
5111
  }
4868
5112
  /**
4869
5113
  * Run all tests
@@ -4888,7 +5132,7 @@ var BackendTestTag = class extends TagAbstract35 {
4888
5132
  if (statusCode >= 0 && statusCode <= 999) {
4889
5133
  throw new CommonMessageException(await response.json());
4890
5134
  }
4891
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5135
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4892
5136
  }
4893
5137
  /**
4894
5138
  * Updates an existing test
@@ -4918,14 +5162,14 @@ var BackendTestTag = class extends TagAbstract35 {
4918
5162
  if (statusCode >= 0 && statusCode <= 999) {
4919
5163
  throw new CommonMessageException(await response.json());
4920
5164
  }
4921
- throw new UnknownStatusCodeException34("The server returned an unknown status code: " + statusCode);
5165
+ throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
4922
5166
  }
4923
5167
  };
4924
5168
 
4925
5169
  // src/BackendTokenTag.ts
4926
- import { TagAbstract as TagAbstract36 } from "sdkgen-client";
4927
- import { UnknownStatusCodeException as UnknownStatusCodeException35 } from "sdkgen-client";
4928
- var BackendTokenTag = class extends TagAbstract36 {
5170
+ import { TagAbstract as TagAbstract37 } from "sdkgen-client";
5171
+ import { UnknownStatusCodeException as UnknownStatusCodeException36 } from "sdkgen-client";
5172
+ var BackendTokenTag = class extends TagAbstract37 {
4929
5173
  /**
4930
5174
  * Returns a specific token
4931
5175
  *
@@ -4951,7 +5195,7 @@ var BackendTokenTag = class extends TagAbstract36 {
4951
5195
  if (statusCode >= 0 && statusCode <= 999) {
4952
5196
  throw new CommonMessageException(await response.json());
4953
5197
  }
4954
- throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
5198
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4955
5199
  }
4956
5200
  /**
4957
5201
  * Returns a paginated list of tokens
@@ -4987,14 +5231,14 @@ var BackendTokenTag = class extends TagAbstract36 {
4987
5231
  if (statusCode >= 0 && statusCode <= 999) {
4988
5232
  throw new CommonMessageException(await response.json());
4989
5233
  }
4990
- throw new UnknownStatusCodeException35("The server returned an unknown status code: " + statusCode);
5234
+ throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
4991
5235
  }
4992
5236
  };
4993
5237
 
4994
5238
  // src/BackendTransactionTag.ts
4995
- import { TagAbstract as TagAbstract37 } from "sdkgen-client";
4996
- import { UnknownStatusCodeException as UnknownStatusCodeException36 } from "sdkgen-client";
4997
- var BackendTransactionTag = class extends TagAbstract37 {
5239
+ import { TagAbstract as TagAbstract38 } from "sdkgen-client";
5240
+ import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
5241
+ var BackendTransactionTag = class extends TagAbstract38 {
4998
5242
  /**
4999
5243
  * Returns a specific transaction
5000
5244
  *
@@ -5020,7 +5264,7 @@ var BackendTransactionTag = class extends TagAbstract37 {
5020
5264
  if (statusCode >= 0 && statusCode <= 999) {
5021
5265
  throw new CommonMessageException(await response.json());
5022
5266
  }
5023
- throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
5267
+ throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5024
5268
  }
5025
5269
  /**
5026
5270
  * Returns a paginated list of transactions
@@ -5056,14 +5300,14 @@ var BackendTransactionTag = class extends TagAbstract37 {
5056
5300
  if (statusCode >= 0 && statusCode <= 999) {
5057
5301
  throw new CommonMessageException(await response.json());
5058
5302
  }
5059
- throw new UnknownStatusCodeException36("The server returned an unknown status code: " + statusCode);
5303
+ throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5060
5304
  }
5061
5305
  };
5062
5306
 
5063
5307
  // src/BackendTrashTag.ts
5064
- import { TagAbstract as TagAbstract38 } from "sdkgen-client";
5065
- import { UnknownStatusCodeException as UnknownStatusCodeException37 } from "sdkgen-client";
5066
- var BackendTrashTag = class extends TagAbstract38 {
5308
+ import { TagAbstract as TagAbstract39 } from "sdkgen-client";
5309
+ import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
5310
+ var BackendTrashTag = class extends TagAbstract39 {
5067
5311
  /**
5068
5312
  * Returns all deleted records by trash type
5069
5313
  *
@@ -5093,22 +5337,169 @@ var BackendTrashTag = class extends TagAbstract38 {
5093
5337
  if (statusCode >= 0 && statusCode <= 999) {
5094
5338
  throw new CommonMessageException(await response.json());
5095
5339
  }
5096
- throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5340
+ throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5341
+ }
5342
+ /**
5343
+ * Returns all trash types
5344
+ *
5345
+ * @returns {Promise<BackendTrashTypes>}
5346
+ * @throws {CommonMessageException}
5347
+ * @throws {ClientException}
5348
+ */
5349
+ async getTypes() {
5350
+ const url = this.parser.url("/backend/trash", {});
5351
+ let request = {
5352
+ url,
5353
+ method: "GET",
5354
+ headers: {},
5355
+ params: this.parser.query({}, [])
5356
+ };
5357
+ const response = await this.httpClient.request(request);
5358
+ if (response.ok) {
5359
+ return await response.json();
5360
+ }
5361
+ const statusCode = response.status;
5362
+ if (statusCode >= 0 && statusCode <= 999) {
5363
+ throw new CommonMessageException(await response.json());
5364
+ }
5365
+ throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5366
+ }
5367
+ /**
5368
+ * Restores a previously deleted record
5369
+ *
5370
+ * @returns {Promise<CommonMessage>}
5371
+ * @throws {CommonMessageException}
5372
+ * @throws {ClientException}
5373
+ */
5374
+ async restore(type, payload) {
5375
+ const url = this.parser.url("/backend/trash/:type", {
5376
+ "type": type
5377
+ });
5378
+ let request = {
5379
+ url,
5380
+ method: "POST",
5381
+ headers: {
5382
+ "Content-Type": "application/json"
5383
+ },
5384
+ params: this.parser.query({}, []),
5385
+ data: payload
5386
+ };
5387
+ const response = await this.httpClient.request(request);
5388
+ if (response.ok) {
5389
+ return await response.json();
5390
+ }
5391
+ const statusCode = response.status;
5392
+ if (statusCode >= 0 && statusCode <= 999) {
5393
+ throw new CommonMessageException(await response.json());
5394
+ }
5395
+ throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5396
+ }
5397
+ };
5398
+
5399
+ // src/BackendTriggerTag.ts
5400
+ import { TagAbstract as TagAbstract40 } from "sdkgen-client";
5401
+ import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
5402
+ var BackendTriggerTag = class extends TagAbstract40 {
5403
+ /**
5404
+ * Creates a new trigger
5405
+ *
5406
+ * @returns {Promise<CommonMessage>}
5407
+ * @throws {CommonMessageException}
5408
+ * @throws {ClientException}
5409
+ */
5410
+ async create(payload) {
5411
+ const url = this.parser.url("/backend/trigger", {});
5412
+ let request = {
5413
+ url,
5414
+ method: "POST",
5415
+ headers: {
5416
+ "Content-Type": "application/json"
5417
+ },
5418
+ params: this.parser.query({}, []),
5419
+ data: payload
5420
+ };
5421
+ const response = await this.httpClient.request(request);
5422
+ if (response.ok) {
5423
+ return await response.json();
5424
+ }
5425
+ const statusCode = response.status;
5426
+ if (statusCode >= 0 && statusCode <= 999) {
5427
+ throw new CommonMessageException(await response.json());
5428
+ }
5429
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5430
+ }
5431
+ /**
5432
+ * Deletes an existing trigger
5433
+ *
5434
+ * @returns {Promise<CommonMessage>}
5435
+ * @throws {CommonMessageException}
5436
+ * @throws {ClientException}
5437
+ */
5438
+ async delete(triggerId) {
5439
+ const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
5440
+ "trigger_id": triggerId
5441
+ });
5442
+ let request = {
5443
+ url,
5444
+ method: "DELETE",
5445
+ headers: {},
5446
+ params: this.parser.query({}, [])
5447
+ };
5448
+ const response = await this.httpClient.request(request);
5449
+ if (response.ok) {
5450
+ return await response.json();
5451
+ }
5452
+ const statusCode = response.status;
5453
+ if (statusCode >= 0 && statusCode <= 999) {
5454
+ throw new CommonMessageException(await response.json());
5455
+ }
5456
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5457
+ }
5458
+ /**
5459
+ * Returns a specific trigger
5460
+ *
5461
+ * @returns {Promise<BackendTrigger>}
5462
+ * @throws {CommonMessageException}
5463
+ * @throws {ClientException}
5464
+ */
5465
+ async get(triggerId) {
5466
+ const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
5467
+ "trigger_id": triggerId
5468
+ });
5469
+ let request = {
5470
+ url,
5471
+ method: "GET",
5472
+ headers: {},
5473
+ params: this.parser.query({}, [])
5474
+ };
5475
+ const response = await this.httpClient.request(request);
5476
+ if (response.ok) {
5477
+ return await response.json();
5478
+ }
5479
+ const statusCode = response.status;
5480
+ if (statusCode >= 0 && statusCode <= 999) {
5481
+ throw new CommonMessageException(await response.json());
5482
+ }
5483
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5097
5484
  }
5098
5485
  /**
5099
- * Returns all trash types
5486
+ * Returns a paginated list of triggers
5100
5487
  *
5101
- * @returns {Promise<BackendTrashTypes>}
5488
+ * @returns {Promise<BackendTriggerCollection>}
5102
5489
  * @throws {CommonMessageException}
5103
5490
  * @throws {ClientException}
5104
5491
  */
5105
- async getTypes() {
5106
- const url = this.parser.url("/backend/trash", {});
5492
+ async getAll(startIndex, count, search) {
5493
+ const url = this.parser.url("/backend/trigger", {});
5107
5494
  let request = {
5108
5495
  url,
5109
5496
  method: "GET",
5110
5497
  headers: {},
5111
- params: this.parser.query({}, [])
5498
+ params: this.parser.query({
5499
+ "startIndex": startIndex,
5500
+ "count": count,
5501
+ "search": search
5502
+ }, [])
5112
5503
  };
5113
5504
  const response = await this.httpClient.request(request);
5114
5505
  if (response.ok) {
@@ -5118,22 +5509,22 @@ var BackendTrashTag = class extends TagAbstract38 {
5118
5509
  if (statusCode >= 0 && statusCode <= 999) {
5119
5510
  throw new CommonMessageException(await response.json());
5120
5511
  }
5121
- throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5512
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5122
5513
  }
5123
5514
  /**
5124
- * Restores a previously deleted record
5515
+ * Updates an existing trigger
5125
5516
  *
5126
5517
  * @returns {Promise<CommonMessage>}
5127
5518
  * @throws {CommonMessageException}
5128
5519
  * @throws {ClientException}
5129
5520
  */
5130
- async restore(type, payload) {
5131
- const url = this.parser.url("/backend/trash/:type", {
5132
- "type": type
5521
+ async update(triggerId, payload) {
5522
+ const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
5523
+ "trigger_id": triggerId
5133
5524
  });
5134
5525
  let request = {
5135
5526
  url,
5136
- method: "POST",
5527
+ method: "PUT",
5137
5528
  headers: {
5138
5529
  "Content-Type": "application/json"
5139
5530
  },
@@ -5148,14 +5539,14 @@ var BackendTrashTag = class extends TagAbstract38 {
5148
5539
  if (statusCode >= 0 && statusCode <= 999) {
5149
5540
  throw new CommonMessageException(await response.json());
5150
5541
  }
5151
- throw new UnknownStatusCodeException37("The server returned an unknown status code: " + statusCode);
5542
+ throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5152
5543
  }
5153
5544
  };
5154
5545
 
5155
5546
  // src/BackendUserTag.ts
5156
- import { TagAbstract as TagAbstract39 } from "sdkgen-client";
5157
- import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
5158
- var BackendUserTag = class extends TagAbstract39 {
5547
+ import { TagAbstract as TagAbstract41 } from "sdkgen-client";
5548
+ import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
5549
+ var BackendUserTag = class extends TagAbstract41 {
5159
5550
  /**
5160
5551
  * Creates a new user
5161
5552
  *
@@ -5182,7 +5573,7 @@ var BackendUserTag = class extends TagAbstract39 {
5182
5573
  if (statusCode >= 0 && statusCode <= 999) {
5183
5574
  throw new CommonMessageException(await response.json());
5184
5575
  }
5185
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5576
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5186
5577
  }
5187
5578
  /**
5188
5579
  * Deletes an existing user
@@ -5209,7 +5600,7 @@ var BackendUserTag = class extends TagAbstract39 {
5209
5600
  if (statusCode >= 0 && statusCode <= 999) {
5210
5601
  throw new CommonMessageException(await response.json());
5211
5602
  }
5212
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5603
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5213
5604
  }
5214
5605
  /**
5215
5606
  * Returns a specific user
@@ -5236,7 +5627,7 @@ var BackendUserTag = class extends TagAbstract39 {
5236
5627
  if (statusCode >= 0 && statusCode <= 999) {
5237
5628
  throw new CommonMessageException(await response.json());
5238
5629
  }
5239
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5630
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5240
5631
  }
5241
5632
  /**
5242
5633
  * Returns a paginated list of users
@@ -5265,7 +5656,37 @@ var BackendUserTag = class extends TagAbstract39 {
5265
5656
  if (statusCode >= 0 && statusCode <= 999) {
5266
5657
  throw new CommonMessageException(await response.json());
5267
5658
  }
5268
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5659
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5660
+ }
5661
+ /**
5662
+ * Resend the activation mail to the provided user
5663
+ *
5664
+ * @returns {Promise<CommonMessage>}
5665
+ * @throws {CommonMessageException}
5666
+ * @throws {ClientException}
5667
+ */
5668
+ async resend(userId, payload) {
5669
+ const url = this.parser.url("/backend/user/$user_id<[0-9]+|^~>/resend", {
5670
+ "user_id": userId
5671
+ });
5672
+ let request = {
5673
+ url,
5674
+ method: "POST",
5675
+ headers: {
5676
+ "Content-Type": "application/json"
5677
+ },
5678
+ params: this.parser.query({}, []),
5679
+ data: payload
5680
+ };
5681
+ const response = await this.httpClient.request(request);
5682
+ if (response.ok) {
5683
+ return await response.json();
5684
+ }
5685
+ const statusCode = response.status;
5686
+ if (statusCode >= 0 && statusCode <= 999) {
5687
+ throw new CommonMessageException(await response.json());
5688
+ }
5689
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5269
5690
  }
5270
5691
  /**
5271
5692
  * Updates an existing user
@@ -5295,14 +5716,14 @@ var BackendUserTag = class extends TagAbstract39 {
5295
5716
  if (statusCode >= 0 && statusCode <= 999) {
5296
5717
  throw new CommonMessageException(await response.json());
5297
5718
  }
5298
- throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
5719
+ throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
5299
5720
  }
5300
5721
  };
5301
5722
 
5302
5723
  // src/BackendWebhookTag.ts
5303
- import { TagAbstract as TagAbstract40 } from "sdkgen-client";
5304
- import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
5305
- var BackendWebhookTag = class extends TagAbstract40 {
5724
+ import { TagAbstract as TagAbstract42 } from "sdkgen-client";
5725
+ import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
5726
+ var BackendWebhookTag = class extends TagAbstract42 {
5306
5727
  /**
5307
5728
  * Creates a new webhook
5308
5729
  *
@@ -5329,7 +5750,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
5329
5750
  if (statusCode >= 0 && statusCode <= 999) {
5330
5751
  throw new CommonMessageException(await response.json());
5331
5752
  }
5332
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5753
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5333
5754
  }
5334
5755
  /**
5335
5756
  * Deletes an existing webhook
@@ -5356,7 +5777,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
5356
5777
  if (statusCode >= 0 && statusCode <= 999) {
5357
5778
  throw new CommonMessageException(await response.json());
5358
5779
  }
5359
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5780
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5360
5781
  }
5361
5782
  /**
5362
5783
  * Returns a specific webhook
@@ -5383,7 +5804,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
5383
5804
  if (statusCode >= 0 && statusCode <= 999) {
5384
5805
  throw new CommonMessageException(await response.json());
5385
5806
  }
5386
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5807
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5387
5808
  }
5388
5809
  /**
5389
5810
  * Returns a paginated list of webhooks
@@ -5412,7 +5833,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
5412
5833
  if (statusCode >= 0 && statusCode <= 999) {
5413
5834
  throw new CommonMessageException(await response.json());
5414
5835
  }
5415
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5836
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5416
5837
  }
5417
5838
  /**
5418
5839
  * Updates an existing webhook
@@ -5442,12 +5863,12 @@ var BackendWebhookTag = class extends TagAbstract40 {
5442
5863
  if (statusCode >= 0 && statusCode <= 999) {
5443
5864
  throw new CommonMessageException(await response.json());
5444
5865
  }
5445
- throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
5866
+ throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
5446
5867
  }
5447
5868
  };
5448
5869
 
5449
5870
  // src/BackendTag.ts
5450
- var BackendTag = class extends TagAbstract41 {
5871
+ var BackendTag = class extends TagAbstract43 {
5451
5872
  account() {
5452
5873
  return new BackendAccountTag(
5453
5874
  this.httpClient,
@@ -5634,6 +6055,12 @@ var BackendTag = class extends TagAbstract41 {
5634
6055
  this.parser
5635
6056
  );
5636
6057
  }
6058
+ trigger() {
6059
+ return new BackendTriggerTag(
6060
+ this.httpClient,
6061
+ this.parser
6062
+ );
6063
+ }
5637
6064
  user() {
5638
6065
  return new BackendUserTag(
5639
6066
  this.httpClient,
@@ -5653,12 +6080,12 @@ import { ClientAbstract } from "sdkgen-client";
5653
6080
  import { Anonymous } from "sdkgen-client";
5654
6081
 
5655
6082
  // src/ConsumerTag.ts
5656
- import { TagAbstract as TagAbstract56 } from "sdkgen-client";
6083
+ import { TagAbstract as TagAbstract58 } from "sdkgen-client";
5657
6084
 
5658
6085
  // src/ConsumerAccountTag.ts
5659
- import { TagAbstract as TagAbstract42 } from "sdkgen-client";
5660
- import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
5661
- var ConsumerAccountTag = class extends TagAbstract42 {
6086
+ import { TagAbstract as TagAbstract44 } from "sdkgen-client";
6087
+ import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
6088
+ var ConsumerAccountTag = class extends TagAbstract44 {
5662
6089
  /**
5663
6090
  * Activates an previously registered account through a token which was provided to the user via email
5664
6091
  *
@@ -5685,7 +6112,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5685
6112
  if (statusCode >= 0 && statusCode <= 999) {
5686
6113
  throw new CommonMessageException(await response.json());
5687
6114
  }
5688
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6115
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5689
6116
  }
5690
6117
  /**
5691
6118
  * Authorizes the access of a specific app for the authenticated user
@@ -5713,7 +6140,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5713
6140
  if (statusCode >= 0 && statusCode <= 999) {
5714
6141
  throw new CommonMessageException(await response.json());
5715
6142
  }
5716
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6143
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5717
6144
  }
5718
6145
  /**
5719
6146
  * Change the password for the authenticated user
@@ -5741,7 +6168,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5741
6168
  if (statusCode >= 0 && statusCode <= 999) {
5742
6169
  throw new CommonMessageException(await response.json());
5743
6170
  }
5744
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6171
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5745
6172
  }
5746
6173
  /**
5747
6174
  * Change the password after the password reset flow was started
@@ -5769,7 +6196,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5769
6196
  if (statusCode >= 0 && statusCode <= 999) {
5770
6197
  throw new CommonMessageException(await response.json());
5771
6198
  }
5772
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6199
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5773
6200
  }
5774
6201
  /**
5775
6202
  * Returns a user data for the authenticated user
@@ -5794,7 +6221,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5794
6221
  if (statusCode >= 0 && statusCode <= 999) {
5795
6222
  throw new CommonMessageException(await response.json());
5796
6223
  }
5797
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6224
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5798
6225
  }
5799
6226
  /**
5800
6227
  * Returns information about a specific app to start the OAuth2 authorization code flow
@@ -5822,7 +6249,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5822
6249
  if (statusCode >= 0 && statusCode <= 999) {
5823
6250
  throw new CommonMessageException(await response.json());
5824
6251
  }
5825
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6252
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5826
6253
  }
5827
6254
  /**
5828
6255
  * User login by providing a username and password
@@ -5850,7 +6277,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5850
6277
  if (statusCode >= 0 && statusCode <= 999) {
5851
6278
  throw new CommonMessageException(await response.json());
5852
6279
  }
5853
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6280
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5854
6281
  }
5855
6282
  /**
5856
6283
  * Refresh a previously obtained access token
@@ -5878,7 +6305,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5878
6305
  if (statusCode >= 0 && statusCode <= 999) {
5879
6306
  throw new CommonMessageException(await response.json());
5880
6307
  }
5881
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6308
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5882
6309
  }
5883
6310
  /**
5884
6311
  * Register a new user account
@@ -5906,7 +6333,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5906
6333
  if (statusCode >= 0 && statusCode <= 999) {
5907
6334
  throw new CommonMessageException(await response.json());
5908
6335
  }
5909
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6336
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5910
6337
  }
5911
6338
  /**
5912
6339
  * Start the password reset flow
@@ -5934,7 +6361,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5934
6361
  if (statusCode >= 0 && statusCode <= 999) {
5935
6362
  throw new CommonMessageException(await response.json());
5936
6363
  }
5937
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6364
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5938
6365
  }
5939
6366
  /**
5940
6367
  * Updates user data for the authenticated user
@@ -5962,14 +6389,14 @@ var ConsumerAccountTag = class extends TagAbstract42 {
5962
6389
  if (statusCode >= 0 && statusCode <= 999) {
5963
6390
  throw new CommonMessageException(await response.json());
5964
6391
  }
5965
- throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
6392
+ throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
5966
6393
  }
5967
6394
  };
5968
6395
 
5969
6396
  // src/ConsumerAppTag.ts
5970
- import { TagAbstract as TagAbstract43 } from "sdkgen-client";
5971
- import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
5972
- var ConsumerAppTag = class extends TagAbstract43 {
6397
+ import { TagAbstract as TagAbstract45 } from "sdkgen-client";
6398
+ import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
6399
+ var ConsumerAppTag = class extends TagAbstract45 {
5973
6400
  /**
5974
6401
  * Creates a new app for the authenticated user
5975
6402
  *
@@ -5996,7 +6423,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
5996
6423
  if (statusCode >= 0 && statusCode <= 999) {
5997
6424
  throw new CommonMessageException(await response.json());
5998
6425
  }
5999
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6426
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6000
6427
  }
6001
6428
  /**
6002
6429
  * Deletes an existing app for the authenticated user
@@ -6023,7 +6450,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
6023
6450
  if (statusCode >= 0 && statusCode <= 999) {
6024
6451
  throw new CommonMessageException(await response.json());
6025
6452
  }
6026
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6453
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6027
6454
  }
6028
6455
  /**
6029
6456
  * Returns a specific app for the authenticated user
@@ -6050,7 +6477,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
6050
6477
  if (statusCode >= 0 && statusCode <= 999) {
6051
6478
  throw new CommonMessageException(await response.json());
6052
6479
  }
6053
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6480
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6054
6481
  }
6055
6482
  /**
6056
6483
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -6079,7 +6506,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
6079
6506
  if (statusCode >= 0 && statusCode <= 999) {
6080
6507
  throw new CommonMessageException(await response.json());
6081
6508
  }
6082
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6509
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6083
6510
  }
6084
6511
  /**
6085
6512
  * Updates an existing app for the authenticated user
@@ -6109,14 +6536,14 @@ var ConsumerAppTag = class extends TagAbstract43 {
6109
6536
  if (statusCode >= 0 && statusCode <= 999) {
6110
6537
  throw new CommonMessageException(await response.json());
6111
6538
  }
6112
- throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
6539
+ throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6113
6540
  }
6114
6541
  };
6115
6542
 
6116
6543
  // src/ConsumerEventTag.ts
6117
- import { TagAbstract as TagAbstract44 } from "sdkgen-client";
6118
- import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
6119
- var ConsumerEventTag = class extends TagAbstract44 {
6544
+ import { TagAbstract as TagAbstract46 } from "sdkgen-client";
6545
+ import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
6546
+ var ConsumerEventTag = class extends TagAbstract46 {
6120
6547
  /**
6121
6548
  * Returns a specific event for the authenticated user
6122
6549
  *
@@ -6142,7 +6569,7 @@ var ConsumerEventTag = class extends TagAbstract44 {
6142
6569
  if (statusCode >= 0 && statusCode <= 999) {
6143
6570
  throw new CommonMessageException(await response.json());
6144
6571
  }
6145
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6572
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6146
6573
  }
6147
6574
  /**
6148
6575
  * Returns a paginated list of apps which are assigned to the authenticated user
@@ -6171,14 +6598,14 @@ var ConsumerEventTag = class extends TagAbstract44 {
6171
6598
  if (statusCode >= 0 && statusCode <= 999) {
6172
6599
  throw new CommonMessageException(await response.json());
6173
6600
  }
6174
- throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
6601
+ throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6175
6602
  }
6176
6603
  };
6177
6604
 
6178
6605
  // src/ConsumerFormTag.ts
6179
- import { TagAbstract as TagAbstract45 } from "sdkgen-client";
6180
- import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
6181
- var ConsumerFormTag = class extends TagAbstract45 {
6606
+ import { TagAbstract as TagAbstract47 } from "sdkgen-client";
6607
+ import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
6608
+ var ConsumerFormTag = class extends TagAbstract47 {
6182
6609
  /**
6183
6610
  * Returns a specific form for the authenticated user
6184
6611
  *
@@ -6204,7 +6631,7 @@ var ConsumerFormTag = class extends TagAbstract45 {
6204
6631
  if (statusCode >= 0 && statusCode <= 999) {
6205
6632
  throw new CommonMessageException(await response.json());
6206
6633
  }
6207
- throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6634
+ throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6208
6635
  }
6209
6636
  /**
6210
6637
  * Returns a paginated list of forms which are relevant to the authenticated user
@@ -6233,14 +6660,14 @@ var ConsumerFormTag = class extends TagAbstract45 {
6233
6660
  if (statusCode >= 0 && statusCode <= 999) {
6234
6661
  throw new CommonMessageException(await response.json());
6235
6662
  }
6236
- throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
6663
+ throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6237
6664
  }
6238
6665
  };
6239
6666
 
6240
6667
  // src/ConsumerGrantTag.ts
6241
- import { TagAbstract as TagAbstract46 } from "sdkgen-client";
6242
- import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
6243
- var ConsumerGrantTag = class extends TagAbstract46 {
6668
+ import { TagAbstract as TagAbstract48 } from "sdkgen-client";
6669
+ import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
6670
+ var ConsumerGrantTag = class extends TagAbstract48 {
6244
6671
  /**
6245
6672
  * Deletes an existing grant for an app which was created by the authenticated user
6246
6673
  *
@@ -6266,7 +6693,7 @@ var ConsumerGrantTag = class extends TagAbstract46 {
6266
6693
  if (statusCode >= 0 && statusCode <= 999) {
6267
6694
  throw new CommonMessageException(await response.json());
6268
6695
  }
6269
- throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6696
+ throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6270
6697
  }
6271
6698
  /**
6272
6699
  * Returns a paginated list of grants which are assigned to the authenticated user
@@ -6295,14 +6722,14 @@ var ConsumerGrantTag = class extends TagAbstract46 {
6295
6722
  if (statusCode >= 0 && statusCode <= 999) {
6296
6723
  throw new CommonMessageException(await response.json());
6297
6724
  }
6298
- throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
6725
+ throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6299
6726
  }
6300
6727
  };
6301
6728
 
6302
6729
  // src/ConsumerIdentityTag.ts
6303
- import { TagAbstract as TagAbstract47 } from "sdkgen-client";
6304
- import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
6305
- var ConsumerIdentityTag = class extends TagAbstract47 {
6730
+ import { TagAbstract as TagAbstract49 } from "sdkgen-client";
6731
+ import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
6732
+ var ConsumerIdentityTag = class extends TagAbstract49 {
6306
6733
  /**
6307
6734
  * Identity callback endpoint to exchange an access token
6308
6735
  *
@@ -6328,7 +6755,7 @@ var ConsumerIdentityTag = class extends TagAbstract47 {
6328
6755
  if (statusCode >= 0 && statusCode <= 999) {
6329
6756
  throw new CommonMessageException(await response.json());
6330
6757
  }
6331
- throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6758
+ throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6332
6759
  }
6333
6760
  /**
6334
6761
  * Returns a paginated list of identities which are relevant to the authenticated user
@@ -6356,7 +6783,7 @@ var ConsumerIdentityTag = class extends TagAbstract47 {
6356
6783
  if (statusCode >= 0 && statusCode <= 999) {
6357
6784
  throw new CommonMessageException(await response.json());
6358
6785
  }
6359
- throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6786
+ throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6360
6787
  }
6361
6788
  /**
6362
6789
  * Redirect the user to the configured identity provider
@@ -6383,14 +6810,14 @@ var ConsumerIdentityTag = class extends TagAbstract47 {
6383
6810
  if (statusCode >= 0 && statusCode <= 999) {
6384
6811
  throw new CommonMessageException(await response.json());
6385
6812
  }
6386
- throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
6813
+ throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6387
6814
  }
6388
6815
  };
6389
6816
 
6390
6817
  // src/ConsumerLogTag.ts
6391
- import { TagAbstract as TagAbstract48 } from "sdkgen-client";
6392
- import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
6393
- var ConsumerLogTag = class extends TagAbstract48 {
6818
+ import { TagAbstract as TagAbstract50 } from "sdkgen-client";
6819
+ import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
6820
+ var ConsumerLogTag = class extends TagAbstract50 {
6394
6821
  /**
6395
6822
  * Returns a specific log for the authenticated user
6396
6823
  *
@@ -6416,7 +6843,7 @@ var ConsumerLogTag = class extends TagAbstract48 {
6416
6843
  if (statusCode >= 0 && statusCode <= 999) {
6417
6844
  throw new CommonMessageException(await response.json());
6418
6845
  }
6419
- throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6846
+ throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
6420
6847
  }
6421
6848
  /**
6422
6849
  * Returns a paginated list of logs which are assigned to the authenticated user
@@ -6445,14 +6872,14 @@ var ConsumerLogTag = class extends TagAbstract48 {
6445
6872
  if (statusCode >= 0 && statusCode <= 999) {
6446
6873
  throw new CommonMessageException(await response.json());
6447
6874
  }
6448
- throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
6875
+ throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
6449
6876
  }
6450
6877
  };
6451
6878
 
6452
6879
  // src/ConsumerPageTag.ts
6453
- import { TagAbstract as TagAbstract49 } from "sdkgen-client";
6454
- import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
6455
- var ConsumerPageTag = class extends TagAbstract49 {
6880
+ import { TagAbstract as TagAbstract51 } from "sdkgen-client";
6881
+ import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
6882
+ var ConsumerPageTag = class extends TagAbstract51 {
6456
6883
  /**
6457
6884
  * Returns a specific page for the authenticated user
6458
6885
  *
@@ -6478,7 +6905,7 @@ var ConsumerPageTag = class extends TagAbstract49 {
6478
6905
  if (statusCode >= 0 && statusCode <= 999) {
6479
6906
  throw new CommonMessageException(await response.json());
6480
6907
  }
6481
- throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6908
+ throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
6482
6909
  }
6483
6910
  /**
6484
6911
  * Returns a paginated list of pages which are relevant to the authenticated user
@@ -6507,14 +6934,14 @@ var ConsumerPageTag = class extends TagAbstract49 {
6507
6934
  if (statusCode >= 0 && statusCode <= 999) {
6508
6935
  throw new CommonMessageException(await response.json());
6509
6936
  }
6510
- throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
6937
+ throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
6511
6938
  }
6512
6939
  };
6513
6940
 
6514
6941
  // src/ConsumerPaymentTag.ts
6515
- import { TagAbstract as TagAbstract50 } from "sdkgen-client";
6516
- import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
6517
- var ConsumerPaymentTag = class extends TagAbstract50 {
6942
+ import { TagAbstract as TagAbstract52 } from "sdkgen-client";
6943
+ import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
6944
+ var ConsumerPaymentTag = class extends TagAbstract52 {
6518
6945
  /**
6519
6946
  * Start the checkout process for a specific plan
6520
6947
  *
@@ -6543,7 +6970,7 @@ var ConsumerPaymentTag = class extends TagAbstract50 {
6543
6970
  if (statusCode >= 0 && statusCode <= 999) {
6544
6971
  throw new CommonMessageException(await response.json());
6545
6972
  }
6546
- throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
6973
+ throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
6547
6974
  }
6548
6975
  /**
6549
6976
  * Generates a payment portal link for the authenticated user
@@ -6573,14 +7000,14 @@ var ConsumerPaymentTag = class extends TagAbstract50 {
6573
7000
  if (statusCode >= 0 && statusCode <= 999) {
6574
7001
  throw new CommonMessageException(await response.json());
6575
7002
  }
6576
- throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
7003
+ throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
6577
7004
  }
6578
7005
  };
6579
7006
 
6580
7007
  // src/ConsumerPlanTag.ts
6581
- import { TagAbstract as TagAbstract51 } from "sdkgen-client";
6582
- import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
6583
- var ConsumerPlanTag = class extends TagAbstract51 {
7008
+ import { TagAbstract as TagAbstract53 } from "sdkgen-client";
7009
+ import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
7010
+ var ConsumerPlanTag = class extends TagAbstract53 {
6584
7011
  /**
6585
7012
  * Returns a specific plan for the authenticated user
6586
7013
  *
@@ -6606,7 +7033,7 @@ var ConsumerPlanTag = class extends TagAbstract51 {
6606
7033
  if (statusCode >= 0 && statusCode <= 999) {
6607
7034
  throw new CommonMessageException(await response.json());
6608
7035
  }
6609
- throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
7036
+ throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
6610
7037
  }
6611
7038
  /**
6612
7039
  * Returns a paginated list of plans which are relevant to the authenticated user
@@ -6635,14 +7062,14 @@ var ConsumerPlanTag = class extends TagAbstract51 {
6635
7062
  if (statusCode >= 0 && statusCode <= 999) {
6636
7063
  throw new CommonMessageException(await response.json());
6637
7064
  }
6638
- throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
7065
+ throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
6639
7066
  }
6640
7067
  };
6641
7068
 
6642
7069
  // src/ConsumerScopeTag.ts
6643
- import { TagAbstract as TagAbstract52 } from "sdkgen-client";
6644
- import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
6645
- var ConsumerScopeTag = class extends TagAbstract52 {
7070
+ import { TagAbstract as TagAbstract54 } from "sdkgen-client";
7071
+ import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
7072
+ var ConsumerScopeTag = class extends TagAbstract54 {
6646
7073
  /**
6647
7074
  * Returns a paginated list of scopes which are assigned to the authenticated user
6648
7075
  *
@@ -6670,7 +7097,7 @@ var ConsumerScopeTag = class extends TagAbstract52 {
6670
7097
  if (statusCode >= 0 && statusCode <= 999) {
6671
7098
  throw new CommonMessageException(await response.json());
6672
7099
  }
6673
- throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
7100
+ throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
6674
7101
  }
6675
7102
  /**
6676
7103
  * Returns all scopes by category
@@ -6695,14 +7122,14 @@ var ConsumerScopeTag = class extends TagAbstract52 {
6695
7122
  if (statusCode >= 0 && statusCode <= 999) {
6696
7123
  throw new CommonMessageException(await response.json());
6697
7124
  }
6698
- throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
7125
+ throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
6699
7126
  }
6700
7127
  };
6701
7128
 
6702
7129
  // src/ConsumerTokenTag.ts
6703
- import { TagAbstract as TagAbstract53 } from "sdkgen-client";
6704
- import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
6705
- var ConsumerTokenTag = class extends TagAbstract53 {
7130
+ import { TagAbstract as TagAbstract55 } from "sdkgen-client";
7131
+ import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
7132
+ var ConsumerTokenTag = class extends TagAbstract55 {
6706
7133
  /**
6707
7134
  * Creates a new token for the authenticated user
6708
7135
  *
@@ -6729,7 +7156,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
6729
7156
  if (statusCode >= 0 && statusCode <= 999) {
6730
7157
  throw new CommonMessageException(await response.json());
6731
7158
  }
6732
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7159
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6733
7160
  }
6734
7161
  /**
6735
7162
  * Deletes an existing token for the authenticated user
@@ -6756,7 +7183,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
6756
7183
  if (statusCode >= 0 && statusCode <= 999) {
6757
7184
  throw new CommonMessageException(await response.json());
6758
7185
  }
6759
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7186
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6760
7187
  }
6761
7188
  /**
6762
7189
  * Returns a specific token for the authenticated user
@@ -6783,7 +7210,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
6783
7210
  if (statusCode >= 0 && statusCode <= 999) {
6784
7211
  throw new CommonMessageException(await response.json());
6785
7212
  }
6786
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7213
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6787
7214
  }
6788
7215
  /**
6789
7216
  * Returns a paginated list of tokens which are assigned to the authenticated user
@@ -6812,7 +7239,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
6812
7239
  if (statusCode >= 0 && statusCode <= 999) {
6813
7240
  throw new CommonMessageException(await response.json());
6814
7241
  }
6815
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7242
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6816
7243
  }
6817
7244
  /**
6818
7245
  * Updates an existing token for the authenticated user
@@ -6842,14 +7269,14 @@ var ConsumerTokenTag = class extends TagAbstract53 {
6842
7269
  if (statusCode >= 0 && statusCode <= 999) {
6843
7270
  throw new CommonMessageException(await response.json());
6844
7271
  }
6845
- throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
7272
+ throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
6846
7273
  }
6847
7274
  };
6848
7275
 
6849
7276
  // src/ConsumerTransactionTag.ts
6850
- import { TagAbstract as TagAbstract54 } from "sdkgen-client";
6851
- import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
6852
- var ConsumerTransactionTag = class extends TagAbstract54 {
7277
+ import { TagAbstract as TagAbstract56 } from "sdkgen-client";
7278
+ import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
7279
+ var ConsumerTransactionTag = class extends TagAbstract56 {
6853
7280
  /**
6854
7281
  * Returns a specific transaction for the authenticated user
6855
7282
  *
@@ -6875,7 +7302,7 @@ var ConsumerTransactionTag = class extends TagAbstract54 {
6875
7302
  if (statusCode >= 0 && statusCode <= 999) {
6876
7303
  throw new CommonMessageException(await response.json());
6877
7304
  }
6878
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7305
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
6879
7306
  }
6880
7307
  /**
6881
7308
  * Returns a paginated list of transactions which are assigned to the authenticated user
@@ -6904,14 +7331,14 @@ var ConsumerTransactionTag = class extends TagAbstract54 {
6904
7331
  if (statusCode >= 0 && statusCode <= 999) {
6905
7332
  throw new CommonMessageException(await response.json());
6906
7333
  }
6907
- throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
7334
+ throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
6908
7335
  }
6909
7336
  };
6910
7337
 
6911
7338
  // src/ConsumerWebhookTag.ts
6912
- import { TagAbstract as TagAbstract55 } from "sdkgen-client";
6913
- import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
6914
- var ConsumerWebhookTag = class extends TagAbstract55 {
7339
+ import { TagAbstract as TagAbstract57 } from "sdkgen-client";
7340
+ import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
7341
+ var ConsumerWebhookTag = class extends TagAbstract57 {
6915
7342
  /**
6916
7343
  * Creates a new webhook for the authenticated user
6917
7344
  *
@@ -6938,7 +7365,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
6938
7365
  if (statusCode >= 0 && statusCode <= 999) {
6939
7366
  throw new CommonMessageException(await response.json());
6940
7367
  }
6941
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7368
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
6942
7369
  }
6943
7370
  /**
6944
7371
  * Deletes an existing webhook for the authenticated user
@@ -6965,7 +7392,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
6965
7392
  if (statusCode >= 0 && statusCode <= 999) {
6966
7393
  throw new CommonMessageException(await response.json());
6967
7394
  }
6968
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7395
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
6969
7396
  }
6970
7397
  /**
6971
7398
  * Returns a specific webhook for the authenticated user
@@ -6992,7 +7419,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
6992
7419
  if (statusCode >= 0 && statusCode <= 999) {
6993
7420
  throw new CommonMessageException(await response.json());
6994
7421
  }
6995
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7422
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
6996
7423
  }
6997
7424
  /**
6998
7425
  * Returns a paginated list of webhooks which are assigned to the authenticated user
@@ -7021,7 +7448,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
7021
7448
  if (statusCode >= 0 && statusCode <= 999) {
7022
7449
  throw new CommonMessageException(await response.json());
7023
7450
  }
7024
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7451
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7025
7452
  }
7026
7453
  /**
7027
7454
  * Updates an existing webhook for the authenticated user
@@ -7051,12 +7478,12 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
7051
7478
  if (statusCode >= 0 && statusCode <= 999) {
7052
7479
  throw new CommonMessageException(await response.json());
7053
7480
  }
7054
- throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
7481
+ throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7055
7482
  }
7056
7483
  };
7057
7484
 
7058
7485
  // src/ConsumerTag.ts
7059
- var ConsumerTag = class extends TagAbstract56 {
7486
+ var ConsumerTag = class extends TagAbstract58 {
7060
7487
  account() {
7061
7488
  return new ConsumerAccountTag(
7062
7489
  this.httpClient,
@@ -7144,12 +7571,12 @@ var ConsumerTag = class extends TagAbstract56 {
7144
7571
  };
7145
7572
 
7146
7573
  // src/SystemTag.ts
7147
- import { TagAbstract as TagAbstract60 } from "sdkgen-client";
7574
+ import { TagAbstract as TagAbstract62 } from "sdkgen-client";
7148
7575
 
7149
7576
  // src/SystemConnectionTag.ts
7150
- import { TagAbstract as TagAbstract57 } from "sdkgen-client";
7151
- import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
7152
- var SystemConnectionTag = class extends TagAbstract57 {
7577
+ import { TagAbstract as TagAbstract59 } from "sdkgen-client";
7578
+ import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
7579
+ var SystemConnectionTag = class extends TagAbstract59 {
7153
7580
  /**
7154
7581
  * Connection OAuth2 callback to authorize a connection
7155
7582
  *
@@ -7175,14 +7602,14 @@ var SystemConnectionTag = class extends TagAbstract57 {
7175
7602
  if (statusCode >= 0 && statusCode <= 999) {
7176
7603
  throw new CommonMessageException(await response.json());
7177
7604
  }
7178
- throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
7605
+ throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7179
7606
  }
7180
7607
  };
7181
7608
 
7182
7609
  // src/SystemMetaTag.ts
7183
- import { TagAbstract as TagAbstract58 } from "sdkgen-client";
7184
- import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
7185
- var SystemMetaTag = class extends TagAbstract58 {
7610
+ import { TagAbstract as TagAbstract60 } from "sdkgen-client";
7611
+ import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
7612
+ var SystemMetaTag = class extends TagAbstract60 {
7186
7613
  /**
7187
7614
  * Returns meta information and links about the current installed Fusio version
7188
7615
  *
@@ -7206,7 +7633,7 @@ var SystemMetaTag = class extends TagAbstract58 {
7206
7633
  if (statusCode >= 0 && statusCode <= 999) {
7207
7634
  throw new CommonMessageException(await response.json());
7208
7635
  }
7209
- throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7636
+ throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7210
7637
  }
7211
7638
  /**
7212
7639
  * Debug endpoint which returns the provided data
@@ -7234,7 +7661,7 @@ var SystemMetaTag = class extends TagAbstract58 {
7234
7661
  if (statusCode >= 0 && statusCode <= 999) {
7235
7662
  throw new CommonMessageException(await response.json());
7236
7663
  }
7237
- throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7664
+ throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7238
7665
  }
7239
7666
  /**
7240
7667
  * Health check endpoint which returns information about the health status of the system
@@ -7259,7 +7686,7 @@ var SystemMetaTag = class extends TagAbstract58 {
7259
7686
  if (statusCode >= 0 && statusCode <= 999) {
7260
7687
  throw new CommonMessageException(await response.json());
7261
7688
  }
7262
- throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7689
+ throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7263
7690
  }
7264
7691
  /**
7265
7692
  * Returns all available routes
@@ -7284,7 +7711,7 @@ var SystemMetaTag = class extends TagAbstract58 {
7284
7711
  if (statusCode >= 0 && statusCode <= 999) {
7285
7712
  throw new CommonMessageException(await response.json());
7286
7713
  }
7287
- throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7714
+ throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7288
7715
  }
7289
7716
  /**
7290
7717
  * Returns details of a specific schema
@@ -7311,14 +7738,14 @@ var SystemMetaTag = class extends TagAbstract58 {
7311
7738
  if (statusCode >= 0 && statusCode <= 999) {
7312
7739
  throw new CommonMessageException(await response.json());
7313
7740
  }
7314
- throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
7741
+ throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
7315
7742
  }
7316
7743
  };
7317
7744
 
7318
7745
  // src/SystemPaymentTag.ts
7319
- import { TagAbstract as TagAbstract59 } from "sdkgen-client";
7320
- import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
7321
- var SystemPaymentTag = class extends TagAbstract59 {
7746
+ import { TagAbstract as TagAbstract61 } from "sdkgen-client";
7747
+ import { UnknownStatusCodeException as UnknownStatusCodeException58 } from "sdkgen-client";
7748
+ var SystemPaymentTag = class extends TagAbstract61 {
7322
7749
  /**
7323
7750
  * Payment webhook endpoint after successful purchase of a plan
7324
7751
  *
@@ -7344,12 +7771,12 @@ var SystemPaymentTag = class extends TagAbstract59 {
7344
7771
  if (statusCode >= 0 && statusCode <= 999) {
7345
7772
  throw new CommonMessageException(await response.json());
7346
7773
  }
7347
- throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
7774
+ throw new UnknownStatusCodeException58("The server returned an unknown status code: " + statusCode);
7348
7775
  }
7349
7776
  };
7350
7777
 
7351
7778
  // src/SystemTag.ts
7352
- var SystemTag = class extends TagAbstract60 {
7779
+ var SystemTag = class extends TagAbstract62 {
7353
7780
  connection() {
7354
7781
  return new SystemConnectionTag(
7355
7782
  this.httpClient,
@@ -7424,6 +7851,7 @@ export {
7424
7851
  BackendLogTag,
7425
7852
  BackendMarketplaceActionTag,
7426
7853
  BackendMarketplaceAppTag,
7854
+ BackendMarketplaceBundleTag,
7427
7855
  BackendMarketplaceTag,
7428
7856
  BackendOperationTag,
7429
7857
  BackendPageTag,
@@ -7440,6 +7868,7 @@ export {
7440
7868
  BackendTokenTag,
7441
7869
  BackendTransactionTag,
7442
7870
  BackendTrashTag,
7871
+ BackendTriggerTag,
7443
7872
  BackendUserTag,
7444
7873
  BackendWebhookTag,
7445
7874
  Client,