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/LICENSE +21 -21
- package/README.md +6 -6
- package/dist/index.cjs +717 -286
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5223 -4963
- package/dist/index.d.ts +5223 -4963
- package/dist/index.js +689 -260
- package/dist/index.js.map +1 -1
- package/package.json +42 -42
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,7 @@ __export(index_exports, {
|
|
|
43
43
|
BackendLogTag: () => BackendLogTag,
|
|
44
44
|
BackendMarketplaceActionTag: () => BackendMarketplaceActionTag,
|
|
45
45
|
BackendMarketplaceAppTag: () => BackendMarketplaceAppTag,
|
|
46
|
+
BackendMarketplaceBundleTag: () => BackendMarketplaceBundleTag,
|
|
46
47
|
BackendMarketplaceTag: () => BackendMarketplaceTag,
|
|
47
48
|
BackendOperationTag: () => BackendOperationTag,
|
|
48
49
|
BackendPageTag: () => BackendPageTag,
|
|
@@ -59,6 +60,7 @@ __export(index_exports, {
|
|
|
59
60
|
BackendTokenTag: () => BackendTokenTag,
|
|
60
61
|
BackendTransactionTag: () => BackendTransactionTag,
|
|
61
62
|
BackendTrashTag: () => BackendTrashTag,
|
|
63
|
+
BackendTriggerTag: () => BackendTriggerTag,
|
|
62
64
|
BackendUserTag: () => BackendUserTag,
|
|
63
65
|
BackendWebhookTag: () => BackendWebhookTag,
|
|
64
66
|
Client: () => Client,
|
|
@@ -3096,9 +3098,127 @@ var BackendMarketplaceAppTag = class extends import_sdkgen_client46.TagAbstract
|
|
|
3096
3098
|
}
|
|
3097
3099
|
};
|
|
3098
3100
|
|
|
3099
|
-
// src/
|
|
3101
|
+
// src/BackendMarketplaceBundleTag.ts
|
|
3100
3102
|
var import_sdkgen_client48 = require("sdkgen-client");
|
|
3101
|
-
var
|
|
3103
|
+
var import_sdkgen_client49 = require("sdkgen-client");
|
|
3104
|
+
var BackendMarketplaceBundleTag = class extends import_sdkgen_client48.TagAbstract {
|
|
3105
|
+
/**
|
|
3106
|
+
* Returns a specific marketplace bundle
|
|
3107
|
+
*
|
|
3108
|
+
* @returns {Promise<MarketplaceBundle>}
|
|
3109
|
+
* @throws {CommonMessageException}
|
|
3110
|
+
* @throws {ClientException}
|
|
3111
|
+
*/
|
|
3112
|
+
async get(user, name) {
|
|
3113
|
+
const url = this.parser.url("/backend/marketplace/bundle/:user/:name", {
|
|
3114
|
+
"user": user,
|
|
3115
|
+
"name": name
|
|
3116
|
+
});
|
|
3117
|
+
let request = {
|
|
3118
|
+
url,
|
|
3119
|
+
method: "GET",
|
|
3120
|
+
headers: {},
|
|
3121
|
+
params: this.parser.query({}, [])
|
|
3122
|
+
};
|
|
3123
|
+
const response = await this.httpClient.request(request);
|
|
3124
|
+
if (response.ok) {
|
|
3125
|
+
return await response.json();
|
|
3126
|
+
}
|
|
3127
|
+
const statusCode = response.status;
|
|
3128
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
3129
|
+
throw new CommonMessageException(await response.json());
|
|
3130
|
+
}
|
|
3131
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* Returns a paginated list of marketplace bundles
|
|
3135
|
+
*
|
|
3136
|
+
* @returns {Promise<MarketplaceBundleCollection>}
|
|
3137
|
+
* @throws {CommonMessageException}
|
|
3138
|
+
* @throws {ClientException}
|
|
3139
|
+
*/
|
|
3140
|
+
async getAll(startIndex, query) {
|
|
3141
|
+
const url = this.parser.url("/backend/marketplace/bundle", {});
|
|
3142
|
+
let request = {
|
|
3143
|
+
url,
|
|
3144
|
+
method: "GET",
|
|
3145
|
+
headers: {},
|
|
3146
|
+
params: this.parser.query({
|
|
3147
|
+
"startIndex": startIndex,
|
|
3148
|
+
"query": query
|
|
3149
|
+
}, [])
|
|
3150
|
+
};
|
|
3151
|
+
const response = await this.httpClient.request(request);
|
|
3152
|
+
if (response.ok) {
|
|
3153
|
+
return await response.json();
|
|
3154
|
+
}
|
|
3155
|
+
const statusCode = response.status;
|
|
3156
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
3157
|
+
throw new CommonMessageException(await response.json());
|
|
3158
|
+
}
|
|
3159
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3160
|
+
}
|
|
3161
|
+
/**
|
|
3162
|
+
* Installs an bundle from the marketplace
|
|
3163
|
+
*
|
|
3164
|
+
* @returns {Promise<MarketplaceMessage>}
|
|
3165
|
+
* @throws {CommonMessageException}
|
|
3166
|
+
* @throws {ClientException}
|
|
3167
|
+
*/
|
|
3168
|
+
async install(payload) {
|
|
3169
|
+
const url = this.parser.url("/backend/marketplace/bundle", {});
|
|
3170
|
+
let request = {
|
|
3171
|
+
url,
|
|
3172
|
+
method: "POST",
|
|
3173
|
+
headers: {
|
|
3174
|
+
"Content-Type": "application/json"
|
|
3175
|
+
},
|
|
3176
|
+
params: this.parser.query({}, []),
|
|
3177
|
+
data: payload
|
|
3178
|
+
};
|
|
3179
|
+
const response = await this.httpClient.request(request);
|
|
3180
|
+
if (response.ok) {
|
|
3181
|
+
return await response.json();
|
|
3182
|
+
}
|
|
3183
|
+
const statusCode = response.status;
|
|
3184
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
3185
|
+
throw new CommonMessageException(await response.json());
|
|
3186
|
+
}
|
|
3187
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3188
|
+
}
|
|
3189
|
+
/**
|
|
3190
|
+
* Upgrades an bundle from the marketplace
|
|
3191
|
+
*
|
|
3192
|
+
* @returns {Promise<MarketplaceMessage>}
|
|
3193
|
+
* @throws {CommonMessageException}
|
|
3194
|
+
* @throws {ClientException}
|
|
3195
|
+
*/
|
|
3196
|
+
async upgrade(user, name) {
|
|
3197
|
+
const url = this.parser.url("/backend/marketplace/bundle/:user/:name", {
|
|
3198
|
+
"user": user,
|
|
3199
|
+
"name": name
|
|
3200
|
+
});
|
|
3201
|
+
let request = {
|
|
3202
|
+
url,
|
|
3203
|
+
method: "PUT",
|
|
3204
|
+
headers: {},
|
|
3205
|
+
params: this.parser.query({}, [])
|
|
3206
|
+
};
|
|
3207
|
+
const response = await this.httpClient.request(request);
|
|
3208
|
+
if (response.ok) {
|
|
3209
|
+
return await response.json();
|
|
3210
|
+
}
|
|
3211
|
+
const statusCode = response.status;
|
|
3212
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
3213
|
+
throw new CommonMessageException(await response.json());
|
|
3214
|
+
}
|
|
3215
|
+
throw new import_sdkgen_client49.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3216
|
+
}
|
|
3217
|
+
};
|
|
3218
|
+
|
|
3219
|
+
// src/BackendMarketplaceTag.ts
|
|
3220
|
+
var import_sdkgen_client50 = require("sdkgen-client");
|
|
3221
|
+
var BackendMarketplaceTag = class extends import_sdkgen_client50.TagAbstract {
|
|
3102
3222
|
action() {
|
|
3103
3223
|
return new BackendMarketplaceActionTag(
|
|
3104
3224
|
this.httpClient,
|
|
@@ -3111,12 +3231,18 @@ var BackendMarketplaceTag = class extends import_sdkgen_client48.TagAbstract {
|
|
|
3111
3231
|
this.parser
|
|
3112
3232
|
);
|
|
3113
3233
|
}
|
|
3234
|
+
bundle() {
|
|
3235
|
+
return new BackendMarketplaceBundleTag(
|
|
3236
|
+
this.httpClient,
|
|
3237
|
+
this.parser
|
|
3238
|
+
);
|
|
3239
|
+
}
|
|
3114
3240
|
};
|
|
3115
3241
|
|
|
3116
3242
|
// src/BackendOperationTag.ts
|
|
3117
|
-
var
|
|
3118
|
-
var
|
|
3119
|
-
var BackendOperationTag = class extends
|
|
3243
|
+
var import_sdkgen_client51 = require("sdkgen-client");
|
|
3244
|
+
var import_sdkgen_client52 = require("sdkgen-client");
|
|
3245
|
+
var BackendOperationTag = class extends import_sdkgen_client51.TagAbstract {
|
|
3120
3246
|
/**
|
|
3121
3247
|
* Creates a new operation
|
|
3122
3248
|
*
|
|
@@ -3143,7 +3269,7 @@ var BackendOperationTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3143
3269
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3144
3270
|
throw new CommonMessageException(await response.json());
|
|
3145
3271
|
}
|
|
3146
|
-
throw new
|
|
3272
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3147
3273
|
}
|
|
3148
3274
|
/**
|
|
3149
3275
|
* Deletes an existing operation
|
|
@@ -3170,7 +3296,7 @@ var BackendOperationTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3170
3296
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3171
3297
|
throw new CommonMessageException(await response.json());
|
|
3172
3298
|
}
|
|
3173
|
-
throw new
|
|
3299
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3174
3300
|
}
|
|
3175
3301
|
/**
|
|
3176
3302
|
* Returns a specific operation
|
|
@@ -3197,7 +3323,7 @@ var BackendOperationTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3197
3323
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3198
3324
|
throw new CommonMessageException(await response.json());
|
|
3199
3325
|
}
|
|
3200
|
-
throw new
|
|
3326
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3201
3327
|
}
|
|
3202
3328
|
/**
|
|
3203
3329
|
* Returns a paginated list of operations
|
|
@@ -3226,7 +3352,7 @@ var BackendOperationTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3226
3352
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3227
3353
|
throw new CommonMessageException(await response.json());
|
|
3228
3354
|
}
|
|
3229
|
-
throw new
|
|
3355
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3230
3356
|
}
|
|
3231
3357
|
/**
|
|
3232
3358
|
* Updates an existing operation
|
|
@@ -3256,14 +3382,14 @@ var BackendOperationTag = class extends import_sdkgen_client49.TagAbstract {
|
|
|
3256
3382
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3257
3383
|
throw new CommonMessageException(await response.json());
|
|
3258
3384
|
}
|
|
3259
|
-
throw new
|
|
3385
|
+
throw new import_sdkgen_client52.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3260
3386
|
}
|
|
3261
3387
|
};
|
|
3262
3388
|
|
|
3263
3389
|
// src/BackendPageTag.ts
|
|
3264
|
-
var
|
|
3265
|
-
var
|
|
3266
|
-
var BackendPageTag = class extends
|
|
3390
|
+
var import_sdkgen_client53 = require("sdkgen-client");
|
|
3391
|
+
var import_sdkgen_client54 = require("sdkgen-client");
|
|
3392
|
+
var BackendPageTag = class extends import_sdkgen_client53.TagAbstract {
|
|
3267
3393
|
/**
|
|
3268
3394
|
* Creates a new page
|
|
3269
3395
|
*
|
|
@@ -3290,7 +3416,7 @@ var BackendPageTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3290
3416
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3291
3417
|
throw new CommonMessageException(await response.json());
|
|
3292
3418
|
}
|
|
3293
|
-
throw new
|
|
3419
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3294
3420
|
}
|
|
3295
3421
|
/**
|
|
3296
3422
|
* Deletes an existing page
|
|
@@ -3317,7 +3443,7 @@ var BackendPageTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3317
3443
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3318
3444
|
throw new CommonMessageException(await response.json());
|
|
3319
3445
|
}
|
|
3320
|
-
throw new
|
|
3446
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3321
3447
|
}
|
|
3322
3448
|
/**
|
|
3323
3449
|
* Returns a specific page
|
|
@@ -3344,7 +3470,7 @@ var BackendPageTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3344
3470
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3345
3471
|
throw new CommonMessageException(await response.json());
|
|
3346
3472
|
}
|
|
3347
|
-
throw new
|
|
3473
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3348
3474
|
}
|
|
3349
3475
|
/**
|
|
3350
3476
|
* Returns a paginated list of pages
|
|
@@ -3373,7 +3499,7 @@ var BackendPageTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3373
3499
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3374
3500
|
throw new CommonMessageException(await response.json());
|
|
3375
3501
|
}
|
|
3376
|
-
throw new
|
|
3502
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3377
3503
|
}
|
|
3378
3504
|
/**
|
|
3379
3505
|
* Updates an existing page
|
|
@@ -3403,14 +3529,14 @@ var BackendPageTag = class extends import_sdkgen_client51.TagAbstract {
|
|
|
3403
3529
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3404
3530
|
throw new CommonMessageException(await response.json());
|
|
3405
3531
|
}
|
|
3406
|
-
throw new
|
|
3532
|
+
throw new import_sdkgen_client54.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3407
3533
|
}
|
|
3408
3534
|
};
|
|
3409
3535
|
|
|
3410
3536
|
// src/BackendPlanTag.ts
|
|
3411
|
-
var
|
|
3412
|
-
var
|
|
3413
|
-
var BackendPlanTag = class extends
|
|
3537
|
+
var import_sdkgen_client55 = require("sdkgen-client");
|
|
3538
|
+
var import_sdkgen_client56 = require("sdkgen-client");
|
|
3539
|
+
var BackendPlanTag = class extends import_sdkgen_client55.TagAbstract {
|
|
3414
3540
|
/**
|
|
3415
3541
|
* Creates a new plan
|
|
3416
3542
|
*
|
|
@@ -3437,7 +3563,7 @@ var BackendPlanTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3437
3563
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3438
3564
|
throw new CommonMessageException(await response.json());
|
|
3439
3565
|
}
|
|
3440
|
-
throw new
|
|
3566
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3441
3567
|
}
|
|
3442
3568
|
/**
|
|
3443
3569
|
* Deletes an existing plan
|
|
@@ -3464,7 +3590,7 @@ var BackendPlanTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3464
3590
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3465
3591
|
throw new CommonMessageException(await response.json());
|
|
3466
3592
|
}
|
|
3467
|
-
throw new
|
|
3593
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3468
3594
|
}
|
|
3469
3595
|
/**
|
|
3470
3596
|
* Returns a specific plan
|
|
@@ -3491,7 +3617,7 @@ var BackendPlanTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3491
3617
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3492
3618
|
throw new CommonMessageException(await response.json());
|
|
3493
3619
|
}
|
|
3494
|
-
throw new
|
|
3620
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3495
3621
|
}
|
|
3496
3622
|
/**
|
|
3497
3623
|
* Returns a paginated list of plans
|
|
@@ -3520,7 +3646,7 @@ var BackendPlanTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3520
3646
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3521
3647
|
throw new CommonMessageException(await response.json());
|
|
3522
3648
|
}
|
|
3523
|
-
throw new
|
|
3649
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3524
3650
|
}
|
|
3525
3651
|
/**
|
|
3526
3652
|
* Updates an existing plan
|
|
@@ -3550,14 +3676,14 @@ var BackendPlanTag = class extends import_sdkgen_client53.TagAbstract {
|
|
|
3550
3676
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3551
3677
|
throw new CommonMessageException(await response.json());
|
|
3552
3678
|
}
|
|
3553
|
-
throw new
|
|
3679
|
+
throw new import_sdkgen_client56.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3554
3680
|
}
|
|
3555
3681
|
};
|
|
3556
3682
|
|
|
3557
3683
|
// src/BackendRateTag.ts
|
|
3558
|
-
var
|
|
3559
|
-
var
|
|
3560
|
-
var BackendRateTag = class extends
|
|
3684
|
+
var import_sdkgen_client57 = require("sdkgen-client");
|
|
3685
|
+
var import_sdkgen_client58 = require("sdkgen-client");
|
|
3686
|
+
var BackendRateTag = class extends import_sdkgen_client57.TagAbstract {
|
|
3561
3687
|
/**
|
|
3562
3688
|
* Creates a new rate limitation
|
|
3563
3689
|
*
|
|
@@ -3584,7 +3710,7 @@ var BackendRateTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3584
3710
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3585
3711
|
throw new CommonMessageException(await response.json());
|
|
3586
3712
|
}
|
|
3587
|
-
throw new
|
|
3713
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3588
3714
|
}
|
|
3589
3715
|
/**
|
|
3590
3716
|
* Deletes an existing rate
|
|
@@ -3611,7 +3737,7 @@ var BackendRateTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3611
3737
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3612
3738
|
throw new CommonMessageException(await response.json());
|
|
3613
3739
|
}
|
|
3614
|
-
throw new
|
|
3740
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3615
3741
|
}
|
|
3616
3742
|
/**
|
|
3617
3743
|
* Returns a specific rate
|
|
@@ -3638,7 +3764,7 @@ var BackendRateTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3638
3764
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3639
3765
|
throw new CommonMessageException(await response.json());
|
|
3640
3766
|
}
|
|
3641
|
-
throw new
|
|
3767
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3642
3768
|
}
|
|
3643
3769
|
/**
|
|
3644
3770
|
* Returns a paginated list of rate limitations
|
|
@@ -3667,7 +3793,7 @@ var BackendRateTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3667
3793
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3668
3794
|
throw new CommonMessageException(await response.json());
|
|
3669
3795
|
}
|
|
3670
|
-
throw new
|
|
3796
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3671
3797
|
}
|
|
3672
3798
|
/**
|
|
3673
3799
|
* Updates an existing rate
|
|
@@ -3697,14 +3823,14 @@ var BackendRateTag = class extends import_sdkgen_client55.TagAbstract {
|
|
|
3697
3823
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3698
3824
|
throw new CommonMessageException(await response.json());
|
|
3699
3825
|
}
|
|
3700
|
-
throw new
|
|
3826
|
+
throw new import_sdkgen_client58.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3701
3827
|
}
|
|
3702
3828
|
};
|
|
3703
3829
|
|
|
3704
3830
|
// src/BackendRoleTag.ts
|
|
3705
|
-
var
|
|
3706
|
-
var
|
|
3707
|
-
var BackendRoleTag = class extends
|
|
3831
|
+
var import_sdkgen_client59 = require("sdkgen-client");
|
|
3832
|
+
var import_sdkgen_client60 = require("sdkgen-client");
|
|
3833
|
+
var BackendRoleTag = class extends import_sdkgen_client59.TagAbstract {
|
|
3708
3834
|
/**
|
|
3709
3835
|
* Creates a new role
|
|
3710
3836
|
*
|
|
@@ -3731,7 +3857,7 @@ var BackendRoleTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3731
3857
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3732
3858
|
throw new CommonMessageException(await response.json());
|
|
3733
3859
|
}
|
|
3734
|
-
throw new
|
|
3860
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3735
3861
|
}
|
|
3736
3862
|
/**
|
|
3737
3863
|
* Deletes an existing role
|
|
@@ -3758,7 +3884,7 @@ var BackendRoleTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3758
3884
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3759
3885
|
throw new CommonMessageException(await response.json());
|
|
3760
3886
|
}
|
|
3761
|
-
throw new
|
|
3887
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3762
3888
|
}
|
|
3763
3889
|
/**
|
|
3764
3890
|
* Returns a specific role
|
|
@@ -3785,7 +3911,7 @@ var BackendRoleTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3785
3911
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3786
3912
|
throw new CommonMessageException(await response.json());
|
|
3787
3913
|
}
|
|
3788
|
-
throw new
|
|
3914
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3789
3915
|
}
|
|
3790
3916
|
/**
|
|
3791
3917
|
* Returns a paginated list of roles
|
|
@@ -3814,7 +3940,7 @@ var BackendRoleTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3814
3940
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3815
3941
|
throw new CommonMessageException(await response.json());
|
|
3816
3942
|
}
|
|
3817
|
-
throw new
|
|
3943
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3818
3944
|
}
|
|
3819
3945
|
/**
|
|
3820
3946
|
* Updates an existing role
|
|
@@ -3844,14 +3970,14 @@ var BackendRoleTag = class extends import_sdkgen_client57.TagAbstract {
|
|
|
3844
3970
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3845
3971
|
throw new CommonMessageException(await response.json());
|
|
3846
3972
|
}
|
|
3847
|
-
throw new
|
|
3973
|
+
throw new import_sdkgen_client60.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3848
3974
|
}
|
|
3849
3975
|
};
|
|
3850
3976
|
|
|
3851
3977
|
// src/BackendSchemaTag.ts
|
|
3852
|
-
var
|
|
3853
|
-
var
|
|
3854
|
-
var BackendSchemaTag = class extends
|
|
3978
|
+
var import_sdkgen_client61 = require("sdkgen-client");
|
|
3979
|
+
var import_sdkgen_client62 = require("sdkgen-client");
|
|
3980
|
+
var BackendSchemaTag = class extends import_sdkgen_client61.TagAbstract {
|
|
3855
3981
|
/**
|
|
3856
3982
|
* Creates a new schema
|
|
3857
3983
|
*
|
|
@@ -3878,7 +4004,7 @@ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3878
4004
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3879
4005
|
throw new CommonMessageException(await response.json());
|
|
3880
4006
|
}
|
|
3881
|
-
throw new
|
|
4007
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3882
4008
|
}
|
|
3883
4009
|
/**
|
|
3884
4010
|
* Deletes an existing schema
|
|
@@ -3905,7 +4031,7 @@ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3905
4031
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3906
4032
|
throw new CommonMessageException(await response.json());
|
|
3907
4033
|
}
|
|
3908
|
-
throw new
|
|
4034
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3909
4035
|
}
|
|
3910
4036
|
/**
|
|
3911
4037
|
* Returns a specific schema
|
|
@@ -3932,7 +4058,7 @@ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3932
4058
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3933
4059
|
throw new CommonMessageException(await response.json());
|
|
3934
4060
|
}
|
|
3935
|
-
throw new
|
|
4061
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3936
4062
|
}
|
|
3937
4063
|
/**
|
|
3938
4064
|
* Returns a paginated list of schemas
|
|
@@ -3961,7 +4087,7 @@ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3961
4087
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3962
4088
|
throw new CommonMessageException(await response.json());
|
|
3963
4089
|
}
|
|
3964
|
-
throw new
|
|
4090
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3965
4091
|
}
|
|
3966
4092
|
/**
|
|
3967
4093
|
* Returns a HTML preview of the provided schema
|
|
@@ -3988,7 +4114,7 @@ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
3988
4114
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
3989
4115
|
throw new CommonMessageException(await response.json());
|
|
3990
4116
|
}
|
|
3991
|
-
throw new
|
|
4117
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
3992
4118
|
}
|
|
3993
4119
|
/**
|
|
3994
4120
|
* Updates an existing schema
|
|
@@ -4018,14 +4144,14 @@ var BackendSchemaTag = class extends import_sdkgen_client59.TagAbstract {
|
|
|
4018
4144
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4019
4145
|
throw new CommonMessageException(await response.json());
|
|
4020
4146
|
}
|
|
4021
|
-
throw new
|
|
4147
|
+
throw new import_sdkgen_client62.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4022
4148
|
}
|
|
4023
4149
|
};
|
|
4024
4150
|
|
|
4025
4151
|
// src/BackendScopeTag.ts
|
|
4026
|
-
var
|
|
4027
|
-
var
|
|
4028
|
-
var BackendScopeTag = class extends
|
|
4152
|
+
var import_sdkgen_client63 = require("sdkgen-client");
|
|
4153
|
+
var import_sdkgen_client64 = require("sdkgen-client");
|
|
4154
|
+
var BackendScopeTag = class extends import_sdkgen_client63.TagAbstract {
|
|
4029
4155
|
/**
|
|
4030
4156
|
* Creates a new scope
|
|
4031
4157
|
*
|
|
@@ -4052,7 +4178,7 @@ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4052
4178
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4053
4179
|
throw new CommonMessageException(await response.json());
|
|
4054
4180
|
}
|
|
4055
|
-
throw new
|
|
4181
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4056
4182
|
}
|
|
4057
4183
|
/**
|
|
4058
4184
|
* Deletes an existing scope
|
|
@@ -4079,7 +4205,7 @@ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4079
4205
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4080
4206
|
throw new CommonMessageException(await response.json());
|
|
4081
4207
|
}
|
|
4082
|
-
throw new
|
|
4208
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4083
4209
|
}
|
|
4084
4210
|
/**
|
|
4085
4211
|
* Returns a specific scope
|
|
@@ -4106,7 +4232,7 @@ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4106
4232
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4107
4233
|
throw new CommonMessageException(await response.json());
|
|
4108
4234
|
}
|
|
4109
|
-
throw new
|
|
4235
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4110
4236
|
}
|
|
4111
4237
|
/**
|
|
4112
4238
|
* Returns a paginated list of scopes
|
|
@@ -4135,7 +4261,7 @@ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4135
4261
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4136
4262
|
throw new CommonMessageException(await response.json());
|
|
4137
4263
|
}
|
|
4138
|
-
throw new
|
|
4264
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4139
4265
|
}
|
|
4140
4266
|
/**
|
|
4141
4267
|
* Returns all available scopes grouped by category
|
|
@@ -4160,7 +4286,7 @@ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4160
4286
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4161
4287
|
throw new CommonMessageException(await response.json());
|
|
4162
4288
|
}
|
|
4163
|
-
throw new
|
|
4289
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4164
4290
|
}
|
|
4165
4291
|
/**
|
|
4166
4292
|
* Updates an existing scope
|
|
@@ -4190,14 +4316,14 @@ var BackendScopeTag = class extends import_sdkgen_client61.TagAbstract {
|
|
|
4190
4316
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4191
4317
|
throw new CommonMessageException(await response.json());
|
|
4192
4318
|
}
|
|
4193
|
-
throw new
|
|
4319
|
+
throw new import_sdkgen_client64.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4194
4320
|
}
|
|
4195
4321
|
};
|
|
4196
4322
|
|
|
4197
4323
|
// src/BackendSdkTag.ts
|
|
4198
|
-
var
|
|
4199
|
-
var
|
|
4200
|
-
var BackendSdkTag = class extends
|
|
4324
|
+
var import_sdkgen_client65 = require("sdkgen-client");
|
|
4325
|
+
var import_sdkgen_client66 = require("sdkgen-client");
|
|
4326
|
+
var BackendSdkTag = class extends import_sdkgen_client65.TagAbstract {
|
|
4201
4327
|
/**
|
|
4202
4328
|
* Generates a specific SDK
|
|
4203
4329
|
*
|
|
@@ -4224,7 +4350,7 @@ var BackendSdkTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4224
4350
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4225
4351
|
throw new CommonMessageException(await response.json());
|
|
4226
4352
|
}
|
|
4227
|
-
throw new
|
|
4353
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4228
4354
|
}
|
|
4229
4355
|
/**
|
|
4230
4356
|
* Returns a paginated list of SDKs
|
|
@@ -4249,14 +4375,14 @@ var BackendSdkTag = class extends import_sdkgen_client63.TagAbstract {
|
|
|
4249
4375
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4250
4376
|
throw new CommonMessageException(await response.json());
|
|
4251
4377
|
}
|
|
4252
|
-
throw new
|
|
4378
|
+
throw new import_sdkgen_client66.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4253
4379
|
}
|
|
4254
4380
|
};
|
|
4255
4381
|
|
|
4256
4382
|
// src/BackendStatisticTag.ts
|
|
4257
|
-
var
|
|
4258
|
-
var
|
|
4259
|
-
var BackendStatisticTag = class extends
|
|
4383
|
+
var import_sdkgen_client67 = require("sdkgen-client");
|
|
4384
|
+
var import_sdkgen_client68 = require("sdkgen-client");
|
|
4385
|
+
var BackendStatisticTag = class extends import_sdkgen_client67.TagAbstract {
|
|
4260
4386
|
/**
|
|
4261
4387
|
* Returns a statistic containing the activities per user
|
|
4262
4388
|
*
|
|
@@ -4295,7 +4421,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4295
4421
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4296
4422
|
throw new CommonMessageException(await response.json());
|
|
4297
4423
|
}
|
|
4298
|
-
throw new
|
|
4424
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4299
4425
|
}
|
|
4300
4426
|
/**
|
|
4301
4427
|
* Returns a statistic containing the request count
|
|
@@ -4335,7 +4461,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4335
4461
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4336
4462
|
throw new CommonMessageException(await response.json());
|
|
4337
4463
|
}
|
|
4338
|
-
throw new
|
|
4464
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4339
4465
|
}
|
|
4340
4466
|
/**
|
|
4341
4467
|
* Returns a statistic containing the errors per operation
|
|
@@ -4375,7 +4501,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4375
4501
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4376
4502
|
throw new CommonMessageException(await response.json());
|
|
4377
4503
|
}
|
|
4378
|
-
throw new
|
|
4504
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4379
4505
|
}
|
|
4380
4506
|
/**
|
|
4381
4507
|
* Returns a statistic containing the incoming requests
|
|
@@ -4415,7 +4541,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4415
4541
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4416
4542
|
throw new CommonMessageException(await response.json());
|
|
4417
4543
|
}
|
|
4418
|
-
throw new
|
|
4544
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4419
4545
|
}
|
|
4420
4546
|
/**
|
|
4421
4547
|
* Returns a statistic containing the incoming transactions
|
|
@@ -4455,7 +4581,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4455
4581
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4456
4582
|
throw new CommonMessageException(await response.json());
|
|
4457
4583
|
}
|
|
4458
|
-
throw new
|
|
4584
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4459
4585
|
}
|
|
4460
4586
|
/**
|
|
4461
4587
|
* Returns a statistic containing the issues tokens
|
|
@@ -4495,7 +4621,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4495
4621
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4496
4622
|
throw new CommonMessageException(await response.json());
|
|
4497
4623
|
}
|
|
4498
|
-
throw new
|
|
4624
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4499
4625
|
}
|
|
4500
4626
|
/**
|
|
4501
4627
|
* Returns a statistic containing the most used activities
|
|
@@ -4535,7 +4661,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4535
4661
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4536
4662
|
throw new CommonMessageException(await response.json());
|
|
4537
4663
|
}
|
|
4538
|
-
throw new
|
|
4664
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4539
4665
|
}
|
|
4540
4666
|
/**
|
|
4541
4667
|
* Returns a statistic containing the most used apps
|
|
@@ -4575,7 +4701,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4575
4701
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4576
4702
|
throw new CommonMessageException(await response.json());
|
|
4577
4703
|
}
|
|
4578
|
-
throw new
|
|
4704
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4579
4705
|
}
|
|
4580
4706
|
/**
|
|
4581
4707
|
* Returns a statistic containing the most used operations
|
|
@@ -4615,22 +4741,37 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4615
4741
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4616
4742
|
throw new CommonMessageException(await response.json());
|
|
4617
4743
|
}
|
|
4618
|
-
throw new
|
|
4744
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4619
4745
|
}
|
|
4620
4746
|
/**
|
|
4621
|
-
* Returns a statistic containing the
|
|
4747
|
+
* Returns a statistic containing the requests per ip
|
|
4622
4748
|
*
|
|
4623
4749
|
* @returns {Promise<BackendStatisticChart>}
|
|
4624
4750
|
* @throws {CommonMessageException}
|
|
4625
4751
|
* @throws {ClientException}
|
|
4626
4752
|
*/
|
|
4627
|
-
async
|
|
4628
|
-
const url = this.parser.url("/backend/statistic/
|
|
4753
|
+
async getRequestsPerIP(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
4754
|
+
const url = this.parser.url("/backend/statistic/requests_per_ip", {});
|
|
4629
4755
|
let request = {
|
|
4630
4756
|
url,
|
|
4631
4757
|
method: "GET",
|
|
4632
4758
|
headers: {},
|
|
4633
|
-
params: this.parser.query({
|
|
4759
|
+
params: this.parser.query({
|
|
4760
|
+
"startIndex": startIndex,
|
|
4761
|
+
"count": count,
|
|
4762
|
+
"search": search,
|
|
4763
|
+
"from": from,
|
|
4764
|
+
"to": to,
|
|
4765
|
+
"operationId": operationId,
|
|
4766
|
+
"appId": appId,
|
|
4767
|
+
"userId": userId,
|
|
4768
|
+
"ip": ip,
|
|
4769
|
+
"userAgent": userAgent,
|
|
4770
|
+
"method": method,
|
|
4771
|
+
"path": path,
|
|
4772
|
+
"header": header,
|
|
4773
|
+
"body": body
|
|
4774
|
+
}, [])
|
|
4634
4775
|
};
|
|
4635
4776
|
const response = await this.httpClient.request(request);
|
|
4636
4777
|
if (response.ok) {
|
|
@@ -4640,7 +4781,112 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4640
4781
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4641
4782
|
throw new CommonMessageException(await response.json());
|
|
4642
4783
|
}
|
|
4643
|
-
throw new
|
|
4784
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4785
|
+
}
|
|
4786
|
+
/**
|
|
4787
|
+
* Returns a statistic containing the requests per operation
|
|
4788
|
+
*
|
|
4789
|
+
* @returns {Promise<BackendStatisticChart>}
|
|
4790
|
+
* @throws {CommonMessageException}
|
|
4791
|
+
* @throws {ClientException}
|
|
4792
|
+
*/
|
|
4793
|
+
async getRequestsPerOperation(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
4794
|
+
const url = this.parser.url("/backend/statistic/requests_per_operation", {});
|
|
4795
|
+
let request = {
|
|
4796
|
+
url,
|
|
4797
|
+
method: "GET",
|
|
4798
|
+
headers: {},
|
|
4799
|
+
params: this.parser.query({
|
|
4800
|
+
"startIndex": startIndex,
|
|
4801
|
+
"count": count,
|
|
4802
|
+
"search": search,
|
|
4803
|
+
"from": from,
|
|
4804
|
+
"to": to,
|
|
4805
|
+
"operationId": operationId,
|
|
4806
|
+
"appId": appId,
|
|
4807
|
+
"userId": userId,
|
|
4808
|
+
"ip": ip,
|
|
4809
|
+
"userAgent": userAgent,
|
|
4810
|
+
"method": method,
|
|
4811
|
+
"path": path,
|
|
4812
|
+
"header": header,
|
|
4813
|
+
"body": body
|
|
4814
|
+
}, [])
|
|
4815
|
+
};
|
|
4816
|
+
const response = await this.httpClient.request(request);
|
|
4817
|
+
if (response.ok) {
|
|
4818
|
+
return await response.json();
|
|
4819
|
+
}
|
|
4820
|
+
const statusCode = response.status;
|
|
4821
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4822
|
+
throw new CommonMessageException(await response.json());
|
|
4823
|
+
}
|
|
4824
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4825
|
+
}
|
|
4826
|
+
/**
|
|
4827
|
+
* Returns a statistic containing the requests per user
|
|
4828
|
+
*
|
|
4829
|
+
* @returns {Promise<BackendStatisticChart>}
|
|
4830
|
+
* @throws {CommonMessageException}
|
|
4831
|
+
* @throws {ClientException}
|
|
4832
|
+
*/
|
|
4833
|
+
async getRequestsPerUser(startIndex, count, search, from, to, operationId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
4834
|
+
const url = this.parser.url("/backend/statistic/requests_per_user", {});
|
|
4835
|
+
let request = {
|
|
4836
|
+
url,
|
|
4837
|
+
method: "GET",
|
|
4838
|
+
headers: {},
|
|
4839
|
+
params: this.parser.query({
|
|
4840
|
+
"startIndex": startIndex,
|
|
4841
|
+
"count": count,
|
|
4842
|
+
"search": search,
|
|
4843
|
+
"from": from,
|
|
4844
|
+
"to": to,
|
|
4845
|
+
"operationId": operationId,
|
|
4846
|
+
"appId": appId,
|
|
4847
|
+
"userId": userId,
|
|
4848
|
+
"ip": ip,
|
|
4849
|
+
"userAgent": userAgent,
|
|
4850
|
+
"method": method,
|
|
4851
|
+
"path": path,
|
|
4852
|
+
"header": header,
|
|
4853
|
+
"body": body
|
|
4854
|
+
}, [])
|
|
4855
|
+
};
|
|
4856
|
+
const response = await this.httpClient.request(request);
|
|
4857
|
+
if (response.ok) {
|
|
4858
|
+
return await response.json();
|
|
4859
|
+
}
|
|
4860
|
+
const statusCode = response.status;
|
|
4861
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4862
|
+
throw new CommonMessageException(await response.json());
|
|
4863
|
+
}
|
|
4864
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4865
|
+
}
|
|
4866
|
+
/**
|
|
4867
|
+
* Returns a statistic containing the test coverage
|
|
4868
|
+
*
|
|
4869
|
+
* @returns {Promise<BackendStatisticChart>}
|
|
4870
|
+
* @throws {CommonMessageException}
|
|
4871
|
+
* @throws {ClientException}
|
|
4872
|
+
*/
|
|
4873
|
+
async getTestCoverage() {
|
|
4874
|
+
const url = this.parser.url("/backend/statistic/test_coverage", {});
|
|
4875
|
+
let request = {
|
|
4876
|
+
url,
|
|
4877
|
+
method: "GET",
|
|
4878
|
+
headers: {},
|
|
4879
|
+
params: this.parser.query({}, [])
|
|
4880
|
+
};
|
|
4881
|
+
const response = await this.httpClient.request(request);
|
|
4882
|
+
if (response.ok) {
|
|
4883
|
+
return await response.json();
|
|
4884
|
+
}
|
|
4885
|
+
const statusCode = response.status;
|
|
4886
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
4887
|
+
throw new CommonMessageException(await response.json());
|
|
4888
|
+
}
|
|
4889
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4644
4890
|
}
|
|
4645
4891
|
/**
|
|
4646
4892
|
* Returns a statistic containing the time average
|
|
@@ -4680,7 +4926,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4680
4926
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4681
4927
|
throw new CommonMessageException(await response.json());
|
|
4682
4928
|
}
|
|
4683
|
-
throw new
|
|
4929
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4684
4930
|
}
|
|
4685
4931
|
/**
|
|
4686
4932
|
* Returns a statistic containing the time per operation
|
|
@@ -4720,7 +4966,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4720
4966
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4721
4967
|
throw new CommonMessageException(await response.json());
|
|
4722
4968
|
}
|
|
4723
|
-
throw new
|
|
4969
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4724
4970
|
}
|
|
4725
4971
|
/**
|
|
4726
4972
|
* Returns a statistic containing the used points
|
|
@@ -4760,7 +5006,7 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4760
5006
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4761
5007
|
throw new CommonMessageException(await response.json());
|
|
4762
5008
|
}
|
|
4763
|
-
throw new
|
|
5009
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4764
5010
|
}
|
|
4765
5011
|
/**
|
|
4766
5012
|
* Returns a statistic containing the user registrations
|
|
@@ -4800,17 +5046,17 @@ var BackendStatisticTag = class extends import_sdkgen_client65.TagAbstract {
|
|
|
4800
5046
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4801
5047
|
throw new CommonMessageException(await response.json());
|
|
4802
5048
|
}
|
|
4803
|
-
throw new
|
|
5049
|
+
throw new import_sdkgen_client68.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4804
5050
|
}
|
|
4805
5051
|
};
|
|
4806
5052
|
|
|
4807
5053
|
// src/BackendTag.ts
|
|
4808
|
-
var
|
|
5054
|
+
var import_sdkgen_client85 = require("sdkgen-client");
|
|
4809
5055
|
|
|
4810
5056
|
// src/BackendTenantTag.ts
|
|
4811
|
-
var
|
|
4812
|
-
var
|
|
4813
|
-
var BackendTenantTag = class extends
|
|
5057
|
+
var import_sdkgen_client69 = require("sdkgen-client");
|
|
5058
|
+
var import_sdkgen_client70 = require("sdkgen-client");
|
|
5059
|
+
var BackendTenantTag = class extends import_sdkgen_client69.TagAbstract {
|
|
4814
5060
|
/**
|
|
4815
5061
|
* Removes an existing tenant
|
|
4816
5062
|
*
|
|
@@ -4836,7 +5082,7 @@ var BackendTenantTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4836
5082
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4837
5083
|
throw new CommonMessageException(await response.json());
|
|
4838
5084
|
}
|
|
4839
|
-
throw new
|
|
5085
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4840
5086
|
}
|
|
4841
5087
|
/**
|
|
4842
5088
|
* Setup a new tenant
|
|
@@ -4863,14 +5109,14 @@ var BackendTenantTag = class extends import_sdkgen_client67.TagAbstract {
|
|
|
4863
5109
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4864
5110
|
throw new CommonMessageException(await response.json());
|
|
4865
5111
|
}
|
|
4866
|
-
throw new
|
|
5112
|
+
throw new import_sdkgen_client70.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4867
5113
|
}
|
|
4868
5114
|
};
|
|
4869
5115
|
|
|
4870
5116
|
// src/BackendTestTag.ts
|
|
4871
|
-
var
|
|
4872
|
-
var
|
|
4873
|
-
var BackendTestTag = class extends
|
|
5117
|
+
var import_sdkgen_client71 = require("sdkgen-client");
|
|
5118
|
+
var import_sdkgen_client72 = require("sdkgen-client");
|
|
5119
|
+
var BackendTestTag = class extends import_sdkgen_client71.TagAbstract {
|
|
4874
5120
|
/**
|
|
4875
5121
|
* Returns a specific test
|
|
4876
5122
|
*
|
|
@@ -4896,7 +5142,7 @@ var BackendTestTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4896
5142
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4897
5143
|
throw new CommonMessageException(await response.json());
|
|
4898
5144
|
}
|
|
4899
|
-
throw new
|
|
5145
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4900
5146
|
}
|
|
4901
5147
|
/**
|
|
4902
5148
|
* Returns a paginated list of tests
|
|
@@ -4925,7 +5171,7 @@ var BackendTestTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4925
5171
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4926
5172
|
throw new CommonMessageException(await response.json());
|
|
4927
5173
|
}
|
|
4928
|
-
throw new
|
|
5174
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4929
5175
|
}
|
|
4930
5176
|
/**
|
|
4931
5177
|
* Refresh all tests
|
|
@@ -4950,7 +5196,7 @@ var BackendTestTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4950
5196
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4951
5197
|
throw new CommonMessageException(await response.json());
|
|
4952
5198
|
}
|
|
4953
|
-
throw new
|
|
5199
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4954
5200
|
}
|
|
4955
5201
|
/**
|
|
4956
5202
|
* Run all tests
|
|
@@ -4975,7 +5221,7 @@ var BackendTestTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
4975
5221
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
4976
5222
|
throw new CommonMessageException(await response.json());
|
|
4977
5223
|
}
|
|
4978
|
-
throw new
|
|
5224
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
4979
5225
|
}
|
|
4980
5226
|
/**
|
|
4981
5227
|
* Updates an existing test
|
|
@@ -5005,14 +5251,14 @@ var BackendTestTag = class extends import_sdkgen_client69.TagAbstract {
|
|
|
5005
5251
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5006
5252
|
throw new CommonMessageException(await response.json());
|
|
5007
5253
|
}
|
|
5008
|
-
throw new
|
|
5254
|
+
throw new import_sdkgen_client72.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5009
5255
|
}
|
|
5010
5256
|
};
|
|
5011
5257
|
|
|
5012
5258
|
// src/BackendTokenTag.ts
|
|
5013
|
-
var
|
|
5014
|
-
var
|
|
5015
|
-
var BackendTokenTag = class extends
|
|
5259
|
+
var import_sdkgen_client73 = require("sdkgen-client");
|
|
5260
|
+
var import_sdkgen_client74 = require("sdkgen-client");
|
|
5261
|
+
var BackendTokenTag = class extends import_sdkgen_client73.TagAbstract {
|
|
5016
5262
|
/**
|
|
5017
5263
|
* Returns a specific token
|
|
5018
5264
|
*
|
|
@@ -5038,7 +5284,7 @@ var BackendTokenTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5038
5284
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5039
5285
|
throw new CommonMessageException(await response.json());
|
|
5040
5286
|
}
|
|
5041
|
-
throw new
|
|
5287
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5042
5288
|
}
|
|
5043
5289
|
/**
|
|
5044
5290
|
* Returns a paginated list of tokens
|
|
@@ -5074,14 +5320,14 @@ var BackendTokenTag = class extends import_sdkgen_client71.TagAbstract {
|
|
|
5074
5320
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5075
5321
|
throw new CommonMessageException(await response.json());
|
|
5076
5322
|
}
|
|
5077
|
-
throw new
|
|
5323
|
+
throw new import_sdkgen_client74.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5078
5324
|
}
|
|
5079
5325
|
};
|
|
5080
5326
|
|
|
5081
5327
|
// src/BackendTransactionTag.ts
|
|
5082
|
-
var
|
|
5083
|
-
var
|
|
5084
|
-
var BackendTransactionTag = class extends
|
|
5328
|
+
var import_sdkgen_client75 = require("sdkgen-client");
|
|
5329
|
+
var import_sdkgen_client76 = require("sdkgen-client");
|
|
5330
|
+
var BackendTransactionTag = class extends import_sdkgen_client75.TagAbstract {
|
|
5085
5331
|
/**
|
|
5086
5332
|
* Returns a specific transaction
|
|
5087
5333
|
*
|
|
@@ -5107,33 +5353,186 @@ var BackendTransactionTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5107
5353
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5108
5354
|
throw new CommonMessageException(await response.json());
|
|
5109
5355
|
}
|
|
5110
|
-
throw new
|
|
5356
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5357
|
+
}
|
|
5358
|
+
/**
|
|
5359
|
+
* Returns a paginated list of transactions
|
|
5360
|
+
*
|
|
5361
|
+
* @returns {Promise<BackendTransactionCollection>}
|
|
5362
|
+
* @throws {CommonMessageException}
|
|
5363
|
+
* @throws {ClientException}
|
|
5364
|
+
*/
|
|
5365
|
+
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider) {
|
|
5366
|
+
const url = this.parser.url("/backend/transaction", {});
|
|
5367
|
+
let request = {
|
|
5368
|
+
url,
|
|
5369
|
+
method: "GET",
|
|
5370
|
+
headers: {},
|
|
5371
|
+
params: this.parser.query({
|
|
5372
|
+
"startIndex": startIndex,
|
|
5373
|
+
"count": count,
|
|
5374
|
+
"search": search,
|
|
5375
|
+
"from": from,
|
|
5376
|
+
"to": to,
|
|
5377
|
+
"planId": planId,
|
|
5378
|
+
"userId": userId,
|
|
5379
|
+
"appId": appId,
|
|
5380
|
+
"status": status,
|
|
5381
|
+
"provider": provider
|
|
5382
|
+
}, [])
|
|
5383
|
+
};
|
|
5384
|
+
const response = await this.httpClient.request(request);
|
|
5385
|
+
if (response.ok) {
|
|
5386
|
+
return await response.json();
|
|
5387
|
+
}
|
|
5388
|
+
const statusCode = response.status;
|
|
5389
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5390
|
+
throw new CommonMessageException(await response.json());
|
|
5391
|
+
}
|
|
5392
|
+
throw new import_sdkgen_client76.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5393
|
+
}
|
|
5394
|
+
};
|
|
5395
|
+
|
|
5396
|
+
// src/BackendTrashTag.ts
|
|
5397
|
+
var import_sdkgen_client77 = require("sdkgen-client");
|
|
5398
|
+
var import_sdkgen_client78 = require("sdkgen-client");
|
|
5399
|
+
var BackendTrashTag = class extends import_sdkgen_client77.TagAbstract {
|
|
5400
|
+
/**
|
|
5401
|
+
* Returns all deleted records by trash type
|
|
5402
|
+
*
|
|
5403
|
+
* @returns {Promise<BackendTrashDataCollection>}
|
|
5404
|
+
* @throws {CommonMessageException}
|
|
5405
|
+
* @throws {ClientException}
|
|
5406
|
+
*/
|
|
5407
|
+
async getAllByType(type, startIndex, count, search) {
|
|
5408
|
+
const url = this.parser.url("/backend/trash/:type", {
|
|
5409
|
+
"type": type
|
|
5410
|
+
});
|
|
5411
|
+
let request = {
|
|
5412
|
+
url,
|
|
5413
|
+
method: "GET",
|
|
5414
|
+
headers: {},
|
|
5415
|
+
params: this.parser.query({
|
|
5416
|
+
"startIndex": startIndex,
|
|
5417
|
+
"count": count,
|
|
5418
|
+
"search": search
|
|
5419
|
+
}, [])
|
|
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 import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5430
|
+
}
|
|
5431
|
+
/**
|
|
5432
|
+
* Returns all trash types
|
|
5433
|
+
*
|
|
5434
|
+
* @returns {Promise<BackendTrashTypes>}
|
|
5435
|
+
* @throws {CommonMessageException}
|
|
5436
|
+
* @throws {ClientException}
|
|
5437
|
+
*/
|
|
5438
|
+
async getTypes() {
|
|
5439
|
+
const url = this.parser.url("/backend/trash", {});
|
|
5440
|
+
let request = {
|
|
5441
|
+
url,
|
|
5442
|
+
method: "GET",
|
|
5443
|
+
headers: {},
|
|
5444
|
+
params: this.parser.query({}, [])
|
|
5445
|
+
};
|
|
5446
|
+
const response = await this.httpClient.request(request);
|
|
5447
|
+
if (response.ok) {
|
|
5448
|
+
return await response.json();
|
|
5449
|
+
}
|
|
5450
|
+
const statusCode = response.status;
|
|
5451
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5452
|
+
throw new CommonMessageException(await response.json());
|
|
5453
|
+
}
|
|
5454
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5455
|
+
}
|
|
5456
|
+
/**
|
|
5457
|
+
* Restores a previously deleted record
|
|
5458
|
+
*
|
|
5459
|
+
* @returns {Promise<CommonMessage>}
|
|
5460
|
+
* @throws {CommonMessageException}
|
|
5461
|
+
* @throws {ClientException}
|
|
5462
|
+
*/
|
|
5463
|
+
async restore(type, payload) {
|
|
5464
|
+
const url = this.parser.url("/backend/trash/:type", {
|
|
5465
|
+
"type": type
|
|
5466
|
+
});
|
|
5467
|
+
let request = {
|
|
5468
|
+
url,
|
|
5469
|
+
method: "POST",
|
|
5470
|
+
headers: {
|
|
5471
|
+
"Content-Type": "application/json"
|
|
5472
|
+
},
|
|
5473
|
+
params: this.parser.query({}, []),
|
|
5474
|
+
data: payload
|
|
5475
|
+
};
|
|
5476
|
+
const response = await this.httpClient.request(request);
|
|
5477
|
+
if (response.ok) {
|
|
5478
|
+
return await response.json();
|
|
5479
|
+
}
|
|
5480
|
+
const statusCode = response.status;
|
|
5481
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5482
|
+
throw new CommonMessageException(await response.json());
|
|
5483
|
+
}
|
|
5484
|
+
throw new import_sdkgen_client78.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5485
|
+
}
|
|
5486
|
+
};
|
|
5487
|
+
|
|
5488
|
+
// src/BackendTriggerTag.ts
|
|
5489
|
+
var import_sdkgen_client79 = require("sdkgen-client");
|
|
5490
|
+
var import_sdkgen_client80 = require("sdkgen-client");
|
|
5491
|
+
var BackendTriggerTag = class extends import_sdkgen_client79.TagAbstract {
|
|
5492
|
+
/**
|
|
5493
|
+
* Creates a new trigger
|
|
5494
|
+
*
|
|
5495
|
+
* @returns {Promise<CommonMessage>}
|
|
5496
|
+
* @throws {CommonMessageException}
|
|
5497
|
+
* @throws {ClientException}
|
|
5498
|
+
*/
|
|
5499
|
+
async create(payload) {
|
|
5500
|
+
const url = this.parser.url("/backend/trigger", {});
|
|
5501
|
+
let request = {
|
|
5502
|
+
url,
|
|
5503
|
+
method: "POST",
|
|
5504
|
+
headers: {
|
|
5505
|
+
"Content-Type": "application/json"
|
|
5506
|
+
},
|
|
5507
|
+
params: this.parser.query({}, []),
|
|
5508
|
+
data: payload
|
|
5509
|
+
};
|
|
5510
|
+
const response = await this.httpClient.request(request);
|
|
5511
|
+
if (response.ok) {
|
|
5512
|
+
return await response.json();
|
|
5513
|
+
}
|
|
5514
|
+
const statusCode = response.status;
|
|
5515
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5516
|
+
throw new CommonMessageException(await response.json());
|
|
5517
|
+
}
|
|
5518
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5111
5519
|
}
|
|
5112
5520
|
/**
|
|
5113
|
-
*
|
|
5521
|
+
* Deletes an existing trigger
|
|
5114
5522
|
*
|
|
5115
|
-
* @returns {Promise<
|
|
5523
|
+
* @returns {Promise<CommonMessage>}
|
|
5116
5524
|
* @throws {CommonMessageException}
|
|
5117
5525
|
* @throws {ClientException}
|
|
5118
5526
|
*/
|
|
5119
|
-
async
|
|
5120
|
-
const url = this.parser.url("/backend/
|
|
5527
|
+
async delete(triggerId) {
|
|
5528
|
+
const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
|
|
5529
|
+
"trigger_id": triggerId
|
|
5530
|
+
});
|
|
5121
5531
|
let request = {
|
|
5122
5532
|
url,
|
|
5123
|
-
method: "
|
|
5533
|
+
method: "DELETE",
|
|
5124
5534
|
headers: {},
|
|
5125
|
-
params: this.parser.query({
|
|
5126
|
-
"startIndex": startIndex,
|
|
5127
|
-
"count": count,
|
|
5128
|
-
"search": search,
|
|
5129
|
-
"from": from,
|
|
5130
|
-
"to": to,
|
|
5131
|
-
"planId": planId,
|
|
5132
|
-
"userId": userId,
|
|
5133
|
-
"appId": appId,
|
|
5134
|
-
"status": status,
|
|
5135
|
-
"provider": provider
|
|
5136
|
-
}, [])
|
|
5535
|
+
params: this.parser.query({}, [])
|
|
5137
5536
|
};
|
|
5138
5537
|
const response = await this.httpClient.request(request);
|
|
5139
5538
|
if (response.ok) {
|
|
@@ -5143,34 +5542,24 @@ var BackendTransactionTag = class extends import_sdkgen_client73.TagAbstract {
|
|
|
5143
5542
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5144
5543
|
throw new CommonMessageException(await response.json());
|
|
5145
5544
|
}
|
|
5146
|
-
throw new
|
|
5545
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5147
5546
|
}
|
|
5148
|
-
};
|
|
5149
|
-
|
|
5150
|
-
// src/BackendTrashTag.ts
|
|
5151
|
-
var import_sdkgen_client75 = require("sdkgen-client");
|
|
5152
|
-
var import_sdkgen_client76 = require("sdkgen-client");
|
|
5153
|
-
var BackendTrashTag = class extends import_sdkgen_client75.TagAbstract {
|
|
5154
5547
|
/**
|
|
5155
|
-
* Returns
|
|
5548
|
+
* Returns a specific trigger
|
|
5156
5549
|
*
|
|
5157
|
-
* @returns {Promise<
|
|
5550
|
+
* @returns {Promise<BackendTrigger>}
|
|
5158
5551
|
* @throws {CommonMessageException}
|
|
5159
5552
|
* @throws {ClientException}
|
|
5160
5553
|
*/
|
|
5161
|
-
async
|
|
5162
|
-
const url = this.parser.url("/backend/
|
|
5163
|
-
"
|
|
5554
|
+
async get(triggerId) {
|
|
5555
|
+
const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
|
|
5556
|
+
"trigger_id": triggerId
|
|
5164
5557
|
});
|
|
5165
5558
|
let request = {
|
|
5166
5559
|
url,
|
|
5167
5560
|
method: "GET",
|
|
5168
5561
|
headers: {},
|
|
5169
|
-
params: this.parser.query({
|
|
5170
|
-
"startIndex": startIndex,
|
|
5171
|
-
"count": count,
|
|
5172
|
-
"search": search
|
|
5173
|
-
}, [])
|
|
5562
|
+
params: this.parser.query({}, [])
|
|
5174
5563
|
};
|
|
5175
5564
|
const response = await this.httpClient.request(request);
|
|
5176
5565
|
if (response.ok) {
|
|
@@ -5180,22 +5569,26 @@ var BackendTrashTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5180
5569
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5181
5570
|
throw new CommonMessageException(await response.json());
|
|
5182
5571
|
}
|
|
5183
|
-
throw new
|
|
5572
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5184
5573
|
}
|
|
5185
5574
|
/**
|
|
5186
|
-
* Returns
|
|
5575
|
+
* Returns a paginated list of triggers
|
|
5187
5576
|
*
|
|
5188
|
-
* @returns {Promise<
|
|
5577
|
+
* @returns {Promise<BackendTriggerCollection>}
|
|
5189
5578
|
* @throws {CommonMessageException}
|
|
5190
5579
|
* @throws {ClientException}
|
|
5191
5580
|
*/
|
|
5192
|
-
async
|
|
5193
|
-
const url = this.parser.url("/backend/
|
|
5581
|
+
async getAll(startIndex, count, search) {
|
|
5582
|
+
const url = this.parser.url("/backend/trigger", {});
|
|
5194
5583
|
let request = {
|
|
5195
5584
|
url,
|
|
5196
5585
|
method: "GET",
|
|
5197
5586
|
headers: {},
|
|
5198
|
-
params: this.parser.query({
|
|
5587
|
+
params: this.parser.query({
|
|
5588
|
+
"startIndex": startIndex,
|
|
5589
|
+
"count": count,
|
|
5590
|
+
"search": search
|
|
5591
|
+
}, [])
|
|
5199
5592
|
};
|
|
5200
5593
|
const response = await this.httpClient.request(request);
|
|
5201
5594
|
if (response.ok) {
|
|
@@ -5205,22 +5598,22 @@ var BackendTrashTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5205
5598
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5206
5599
|
throw new CommonMessageException(await response.json());
|
|
5207
5600
|
}
|
|
5208
|
-
throw new
|
|
5601
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5209
5602
|
}
|
|
5210
5603
|
/**
|
|
5211
|
-
*
|
|
5604
|
+
* Updates an existing trigger
|
|
5212
5605
|
*
|
|
5213
5606
|
* @returns {Promise<CommonMessage>}
|
|
5214
5607
|
* @throws {CommonMessageException}
|
|
5215
5608
|
* @throws {ClientException}
|
|
5216
5609
|
*/
|
|
5217
|
-
async
|
|
5218
|
-
const url = this.parser.url("/backend/
|
|
5219
|
-
"
|
|
5610
|
+
async update(triggerId, payload) {
|
|
5611
|
+
const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
|
|
5612
|
+
"trigger_id": triggerId
|
|
5220
5613
|
});
|
|
5221
5614
|
let request = {
|
|
5222
5615
|
url,
|
|
5223
|
-
method: "
|
|
5616
|
+
method: "PUT",
|
|
5224
5617
|
headers: {
|
|
5225
5618
|
"Content-Type": "application/json"
|
|
5226
5619
|
},
|
|
@@ -5235,14 +5628,14 @@ var BackendTrashTag = class extends import_sdkgen_client75.TagAbstract {
|
|
|
5235
5628
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5236
5629
|
throw new CommonMessageException(await response.json());
|
|
5237
5630
|
}
|
|
5238
|
-
throw new
|
|
5631
|
+
throw new import_sdkgen_client80.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5239
5632
|
}
|
|
5240
5633
|
};
|
|
5241
5634
|
|
|
5242
5635
|
// src/BackendUserTag.ts
|
|
5243
|
-
var
|
|
5244
|
-
var
|
|
5245
|
-
var BackendUserTag = class extends
|
|
5636
|
+
var import_sdkgen_client81 = require("sdkgen-client");
|
|
5637
|
+
var import_sdkgen_client82 = require("sdkgen-client");
|
|
5638
|
+
var BackendUserTag = class extends import_sdkgen_client81.TagAbstract {
|
|
5246
5639
|
/**
|
|
5247
5640
|
* Creates a new user
|
|
5248
5641
|
*
|
|
@@ -5269,7 +5662,7 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5269
5662
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5270
5663
|
throw new CommonMessageException(await response.json());
|
|
5271
5664
|
}
|
|
5272
|
-
throw new
|
|
5665
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5273
5666
|
}
|
|
5274
5667
|
/**
|
|
5275
5668
|
* Deletes an existing user
|
|
@@ -5296,7 +5689,7 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5296
5689
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5297
5690
|
throw new CommonMessageException(await response.json());
|
|
5298
5691
|
}
|
|
5299
|
-
throw new
|
|
5692
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5300
5693
|
}
|
|
5301
5694
|
/**
|
|
5302
5695
|
* Returns a specific user
|
|
@@ -5323,7 +5716,7 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5323
5716
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5324
5717
|
throw new CommonMessageException(await response.json());
|
|
5325
5718
|
}
|
|
5326
|
-
throw new
|
|
5719
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5327
5720
|
}
|
|
5328
5721
|
/**
|
|
5329
5722
|
* Returns a paginated list of users
|
|
@@ -5352,7 +5745,37 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5352
5745
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5353
5746
|
throw new CommonMessageException(await response.json());
|
|
5354
5747
|
}
|
|
5355
|
-
throw new
|
|
5748
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5749
|
+
}
|
|
5750
|
+
/**
|
|
5751
|
+
* Resend the activation mail to the provided user
|
|
5752
|
+
*
|
|
5753
|
+
* @returns {Promise<CommonMessage>}
|
|
5754
|
+
* @throws {CommonMessageException}
|
|
5755
|
+
* @throws {ClientException}
|
|
5756
|
+
*/
|
|
5757
|
+
async resend(userId, payload) {
|
|
5758
|
+
const url = this.parser.url("/backend/user/$user_id<[0-9]+|^~>/resend", {
|
|
5759
|
+
"user_id": userId
|
|
5760
|
+
});
|
|
5761
|
+
let request = {
|
|
5762
|
+
url,
|
|
5763
|
+
method: "POST",
|
|
5764
|
+
headers: {
|
|
5765
|
+
"Content-Type": "application/json"
|
|
5766
|
+
},
|
|
5767
|
+
params: this.parser.query({}, []),
|
|
5768
|
+
data: payload
|
|
5769
|
+
};
|
|
5770
|
+
const response = await this.httpClient.request(request);
|
|
5771
|
+
if (response.ok) {
|
|
5772
|
+
return await response.json();
|
|
5773
|
+
}
|
|
5774
|
+
const statusCode = response.status;
|
|
5775
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5776
|
+
throw new CommonMessageException(await response.json());
|
|
5777
|
+
}
|
|
5778
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5356
5779
|
}
|
|
5357
5780
|
/**
|
|
5358
5781
|
* Updates an existing user
|
|
@@ -5382,14 +5805,14 @@ var BackendUserTag = class extends import_sdkgen_client77.TagAbstract {
|
|
|
5382
5805
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5383
5806
|
throw new CommonMessageException(await response.json());
|
|
5384
5807
|
}
|
|
5385
|
-
throw new
|
|
5808
|
+
throw new import_sdkgen_client82.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5386
5809
|
}
|
|
5387
5810
|
};
|
|
5388
5811
|
|
|
5389
5812
|
// src/BackendWebhookTag.ts
|
|
5390
|
-
var
|
|
5391
|
-
var
|
|
5392
|
-
var BackendWebhookTag = class extends
|
|
5813
|
+
var import_sdkgen_client83 = require("sdkgen-client");
|
|
5814
|
+
var import_sdkgen_client84 = require("sdkgen-client");
|
|
5815
|
+
var BackendWebhookTag = class extends import_sdkgen_client83.TagAbstract {
|
|
5393
5816
|
/**
|
|
5394
5817
|
* Creates a new webhook
|
|
5395
5818
|
*
|
|
@@ -5416,7 +5839,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5416
5839
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5417
5840
|
throw new CommonMessageException(await response.json());
|
|
5418
5841
|
}
|
|
5419
|
-
throw new
|
|
5842
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5420
5843
|
}
|
|
5421
5844
|
/**
|
|
5422
5845
|
* Deletes an existing webhook
|
|
@@ -5443,7 +5866,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5443
5866
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5444
5867
|
throw new CommonMessageException(await response.json());
|
|
5445
5868
|
}
|
|
5446
|
-
throw new
|
|
5869
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5447
5870
|
}
|
|
5448
5871
|
/**
|
|
5449
5872
|
* Returns a specific webhook
|
|
@@ -5470,7 +5893,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5470
5893
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5471
5894
|
throw new CommonMessageException(await response.json());
|
|
5472
5895
|
}
|
|
5473
|
-
throw new
|
|
5896
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5474
5897
|
}
|
|
5475
5898
|
/**
|
|
5476
5899
|
* Returns a paginated list of webhooks
|
|
@@ -5499,7 +5922,7 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5499
5922
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5500
5923
|
throw new CommonMessageException(await response.json());
|
|
5501
5924
|
}
|
|
5502
|
-
throw new
|
|
5925
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5503
5926
|
}
|
|
5504
5927
|
/**
|
|
5505
5928
|
* Updates an existing webhook
|
|
@@ -5529,12 +5952,12 @@ var BackendWebhookTag = class extends import_sdkgen_client79.TagAbstract {
|
|
|
5529
5952
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5530
5953
|
throw new CommonMessageException(await response.json());
|
|
5531
5954
|
}
|
|
5532
|
-
throw new
|
|
5955
|
+
throw new import_sdkgen_client84.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5533
5956
|
}
|
|
5534
5957
|
};
|
|
5535
5958
|
|
|
5536
5959
|
// src/BackendTag.ts
|
|
5537
|
-
var BackendTag = class extends
|
|
5960
|
+
var BackendTag = class extends import_sdkgen_client85.TagAbstract {
|
|
5538
5961
|
account() {
|
|
5539
5962
|
return new BackendAccountTag(
|
|
5540
5963
|
this.httpClient,
|
|
@@ -5721,6 +6144,12 @@ var BackendTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5721
6144
|
this.parser
|
|
5722
6145
|
);
|
|
5723
6146
|
}
|
|
6147
|
+
trigger() {
|
|
6148
|
+
return new BackendTriggerTag(
|
|
6149
|
+
this.httpClient,
|
|
6150
|
+
this.parser
|
|
6151
|
+
);
|
|
6152
|
+
}
|
|
5724
6153
|
user() {
|
|
5725
6154
|
return new BackendUserTag(
|
|
5726
6155
|
this.httpClient,
|
|
@@ -5736,16 +6165,16 @@ var BackendTag = class extends import_sdkgen_client81.TagAbstract {
|
|
|
5736
6165
|
};
|
|
5737
6166
|
|
|
5738
6167
|
// src/Client.ts
|
|
5739
|
-
var
|
|
5740
|
-
var
|
|
6168
|
+
var import_sdkgen_client122 = require("sdkgen-client");
|
|
6169
|
+
var import_sdkgen_client123 = require("sdkgen-client");
|
|
5741
6170
|
|
|
5742
6171
|
// src/ConsumerTag.ts
|
|
5743
|
-
var
|
|
6172
|
+
var import_sdkgen_client114 = require("sdkgen-client");
|
|
5744
6173
|
|
|
5745
6174
|
// src/ConsumerAccountTag.ts
|
|
5746
|
-
var
|
|
5747
|
-
var
|
|
5748
|
-
var ConsumerAccountTag = class extends
|
|
6175
|
+
var import_sdkgen_client86 = require("sdkgen-client");
|
|
6176
|
+
var import_sdkgen_client87 = require("sdkgen-client");
|
|
6177
|
+
var ConsumerAccountTag = class extends import_sdkgen_client86.TagAbstract {
|
|
5749
6178
|
/**
|
|
5750
6179
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
5751
6180
|
*
|
|
@@ -5772,7 +6201,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5772
6201
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5773
6202
|
throw new CommonMessageException(await response.json());
|
|
5774
6203
|
}
|
|
5775
|
-
throw new
|
|
6204
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5776
6205
|
}
|
|
5777
6206
|
/**
|
|
5778
6207
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -5800,7 +6229,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5800
6229
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5801
6230
|
throw new CommonMessageException(await response.json());
|
|
5802
6231
|
}
|
|
5803
|
-
throw new
|
|
6232
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5804
6233
|
}
|
|
5805
6234
|
/**
|
|
5806
6235
|
* Change the password for the authenticated user
|
|
@@ -5828,7 +6257,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5828
6257
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5829
6258
|
throw new CommonMessageException(await response.json());
|
|
5830
6259
|
}
|
|
5831
|
-
throw new
|
|
6260
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5832
6261
|
}
|
|
5833
6262
|
/**
|
|
5834
6263
|
* Change the password after the password reset flow was started
|
|
@@ -5856,7 +6285,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5856
6285
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5857
6286
|
throw new CommonMessageException(await response.json());
|
|
5858
6287
|
}
|
|
5859
|
-
throw new
|
|
6288
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5860
6289
|
}
|
|
5861
6290
|
/**
|
|
5862
6291
|
* Returns a user data for the authenticated user
|
|
@@ -5881,7 +6310,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5881
6310
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5882
6311
|
throw new CommonMessageException(await response.json());
|
|
5883
6312
|
}
|
|
5884
|
-
throw new
|
|
6313
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5885
6314
|
}
|
|
5886
6315
|
/**
|
|
5887
6316
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -5909,7 +6338,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5909
6338
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5910
6339
|
throw new CommonMessageException(await response.json());
|
|
5911
6340
|
}
|
|
5912
|
-
throw new
|
|
6341
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5913
6342
|
}
|
|
5914
6343
|
/**
|
|
5915
6344
|
* User login by providing a username and password
|
|
@@ -5937,7 +6366,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5937
6366
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5938
6367
|
throw new CommonMessageException(await response.json());
|
|
5939
6368
|
}
|
|
5940
|
-
throw new
|
|
6369
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5941
6370
|
}
|
|
5942
6371
|
/**
|
|
5943
6372
|
* Refresh a previously obtained access token
|
|
@@ -5965,7 +6394,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5965
6394
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5966
6395
|
throw new CommonMessageException(await response.json());
|
|
5967
6396
|
}
|
|
5968
|
-
throw new
|
|
6397
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5969
6398
|
}
|
|
5970
6399
|
/**
|
|
5971
6400
|
* Register a new user account
|
|
@@ -5993,7 +6422,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
5993
6422
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5994
6423
|
throw new CommonMessageException(await response.json());
|
|
5995
6424
|
}
|
|
5996
|
-
throw new
|
|
6425
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
5997
6426
|
}
|
|
5998
6427
|
/**
|
|
5999
6428
|
* Start the password reset flow
|
|
@@ -6021,7 +6450,7 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
6021
6450
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6022
6451
|
throw new CommonMessageException(await response.json());
|
|
6023
6452
|
}
|
|
6024
|
-
throw new
|
|
6453
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6025
6454
|
}
|
|
6026
6455
|
/**
|
|
6027
6456
|
* Updates user data for the authenticated user
|
|
@@ -6049,14 +6478,14 @@ var ConsumerAccountTag = class extends import_sdkgen_client82.TagAbstract {
|
|
|
6049
6478
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6050
6479
|
throw new CommonMessageException(await response.json());
|
|
6051
6480
|
}
|
|
6052
|
-
throw new
|
|
6481
|
+
throw new import_sdkgen_client87.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6053
6482
|
}
|
|
6054
6483
|
};
|
|
6055
6484
|
|
|
6056
6485
|
// src/ConsumerAppTag.ts
|
|
6057
|
-
var
|
|
6058
|
-
var
|
|
6059
|
-
var ConsumerAppTag = class extends
|
|
6486
|
+
var import_sdkgen_client88 = require("sdkgen-client");
|
|
6487
|
+
var import_sdkgen_client89 = require("sdkgen-client");
|
|
6488
|
+
var ConsumerAppTag = class extends import_sdkgen_client88.TagAbstract {
|
|
6060
6489
|
/**
|
|
6061
6490
|
* Creates a new app for the authenticated user
|
|
6062
6491
|
*
|
|
@@ -6083,7 +6512,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
6083
6512
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6084
6513
|
throw new CommonMessageException(await response.json());
|
|
6085
6514
|
}
|
|
6086
|
-
throw new
|
|
6515
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6087
6516
|
}
|
|
6088
6517
|
/**
|
|
6089
6518
|
* Deletes an existing app for the authenticated user
|
|
@@ -6110,7 +6539,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
6110
6539
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6111
6540
|
throw new CommonMessageException(await response.json());
|
|
6112
6541
|
}
|
|
6113
|
-
throw new
|
|
6542
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6114
6543
|
}
|
|
6115
6544
|
/**
|
|
6116
6545
|
* Returns a specific app for the authenticated user
|
|
@@ -6137,7 +6566,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
6137
6566
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6138
6567
|
throw new CommonMessageException(await response.json());
|
|
6139
6568
|
}
|
|
6140
|
-
throw new
|
|
6569
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6141
6570
|
}
|
|
6142
6571
|
/**
|
|
6143
6572
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6166,7 +6595,7 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
6166
6595
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6167
6596
|
throw new CommonMessageException(await response.json());
|
|
6168
6597
|
}
|
|
6169
|
-
throw new
|
|
6598
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6170
6599
|
}
|
|
6171
6600
|
/**
|
|
6172
6601
|
* Updates an existing app for the authenticated user
|
|
@@ -6196,14 +6625,14 @@ var ConsumerAppTag = class extends import_sdkgen_client84.TagAbstract {
|
|
|
6196
6625
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6197
6626
|
throw new CommonMessageException(await response.json());
|
|
6198
6627
|
}
|
|
6199
|
-
throw new
|
|
6628
|
+
throw new import_sdkgen_client89.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6200
6629
|
}
|
|
6201
6630
|
};
|
|
6202
6631
|
|
|
6203
6632
|
// src/ConsumerEventTag.ts
|
|
6204
|
-
var
|
|
6205
|
-
var
|
|
6206
|
-
var ConsumerEventTag = class extends
|
|
6633
|
+
var import_sdkgen_client90 = require("sdkgen-client");
|
|
6634
|
+
var import_sdkgen_client91 = require("sdkgen-client");
|
|
6635
|
+
var ConsumerEventTag = class extends import_sdkgen_client90.TagAbstract {
|
|
6207
6636
|
/**
|
|
6208
6637
|
* Returns a specific event for the authenticated user
|
|
6209
6638
|
*
|
|
@@ -6229,7 +6658,7 @@ var ConsumerEventTag = class extends import_sdkgen_client86.TagAbstract {
|
|
|
6229
6658
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6230
6659
|
throw new CommonMessageException(await response.json());
|
|
6231
6660
|
}
|
|
6232
|
-
throw new
|
|
6661
|
+
throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6233
6662
|
}
|
|
6234
6663
|
/**
|
|
6235
6664
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6258,14 +6687,14 @@ var ConsumerEventTag = class extends import_sdkgen_client86.TagAbstract {
|
|
|
6258
6687
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6259
6688
|
throw new CommonMessageException(await response.json());
|
|
6260
6689
|
}
|
|
6261
|
-
throw new
|
|
6690
|
+
throw new import_sdkgen_client91.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6262
6691
|
}
|
|
6263
6692
|
};
|
|
6264
6693
|
|
|
6265
6694
|
// src/ConsumerFormTag.ts
|
|
6266
|
-
var
|
|
6267
|
-
var
|
|
6268
|
-
var ConsumerFormTag = class extends
|
|
6695
|
+
var import_sdkgen_client92 = require("sdkgen-client");
|
|
6696
|
+
var import_sdkgen_client93 = require("sdkgen-client");
|
|
6697
|
+
var ConsumerFormTag = class extends import_sdkgen_client92.TagAbstract {
|
|
6269
6698
|
/**
|
|
6270
6699
|
* Returns a specific form for the authenticated user
|
|
6271
6700
|
*
|
|
@@ -6291,7 +6720,7 @@ var ConsumerFormTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6291
6720
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6292
6721
|
throw new CommonMessageException(await response.json());
|
|
6293
6722
|
}
|
|
6294
|
-
throw new
|
|
6723
|
+
throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6295
6724
|
}
|
|
6296
6725
|
/**
|
|
6297
6726
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -6320,14 +6749,14 @@ var ConsumerFormTag = class extends import_sdkgen_client88.TagAbstract {
|
|
|
6320
6749
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6321
6750
|
throw new CommonMessageException(await response.json());
|
|
6322
6751
|
}
|
|
6323
|
-
throw new
|
|
6752
|
+
throw new import_sdkgen_client93.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6324
6753
|
}
|
|
6325
6754
|
};
|
|
6326
6755
|
|
|
6327
6756
|
// src/ConsumerGrantTag.ts
|
|
6328
|
-
var
|
|
6329
|
-
var
|
|
6330
|
-
var ConsumerGrantTag = class extends
|
|
6757
|
+
var import_sdkgen_client94 = require("sdkgen-client");
|
|
6758
|
+
var import_sdkgen_client95 = require("sdkgen-client");
|
|
6759
|
+
var ConsumerGrantTag = class extends import_sdkgen_client94.TagAbstract {
|
|
6331
6760
|
/**
|
|
6332
6761
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
6333
6762
|
*
|
|
@@ -6353,7 +6782,7 @@ var ConsumerGrantTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6353
6782
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6354
6783
|
throw new CommonMessageException(await response.json());
|
|
6355
6784
|
}
|
|
6356
|
-
throw new
|
|
6785
|
+
throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6357
6786
|
}
|
|
6358
6787
|
/**
|
|
6359
6788
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -6382,14 +6811,14 @@ var ConsumerGrantTag = class extends import_sdkgen_client90.TagAbstract {
|
|
|
6382
6811
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6383
6812
|
throw new CommonMessageException(await response.json());
|
|
6384
6813
|
}
|
|
6385
|
-
throw new
|
|
6814
|
+
throw new import_sdkgen_client95.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6386
6815
|
}
|
|
6387
6816
|
};
|
|
6388
6817
|
|
|
6389
6818
|
// src/ConsumerIdentityTag.ts
|
|
6390
|
-
var
|
|
6391
|
-
var
|
|
6392
|
-
var ConsumerIdentityTag = class extends
|
|
6819
|
+
var import_sdkgen_client96 = require("sdkgen-client");
|
|
6820
|
+
var import_sdkgen_client97 = require("sdkgen-client");
|
|
6821
|
+
var ConsumerIdentityTag = class extends import_sdkgen_client96.TagAbstract {
|
|
6393
6822
|
/**
|
|
6394
6823
|
* Identity callback endpoint to exchange an access token
|
|
6395
6824
|
*
|
|
@@ -6415,7 +6844,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6415
6844
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6416
6845
|
throw new CommonMessageException(await response.json());
|
|
6417
6846
|
}
|
|
6418
|
-
throw new
|
|
6847
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6419
6848
|
}
|
|
6420
6849
|
/**
|
|
6421
6850
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -6443,7 +6872,7 @@ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6443
6872
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6444
6873
|
throw new CommonMessageException(await response.json());
|
|
6445
6874
|
}
|
|
6446
|
-
throw new
|
|
6875
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6447
6876
|
}
|
|
6448
6877
|
/**
|
|
6449
6878
|
* Redirect the user to the configured identity provider
|
|
@@ -6470,14 +6899,14 @@ var ConsumerIdentityTag = class extends import_sdkgen_client92.TagAbstract {
|
|
|
6470
6899
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6471
6900
|
throw new CommonMessageException(await response.json());
|
|
6472
6901
|
}
|
|
6473
|
-
throw new
|
|
6902
|
+
throw new import_sdkgen_client97.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6474
6903
|
}
|
|
6475
6904
|
};
|
|
6476
6905
|
|
|
6477
6906
|
// src/ConsumerLogTag.ts
|
|
6478
|
-
var
|
|
6479
|
-
var
|
|
6480
|
-
var ConsumerLogTag = class extends
|
|
6907
|
+
var import_sdkgen_client98 = require("sdkgen-client");
|
|
6908
|
+
var import_sdkgen_client99 = require("sdkgen-client");
|
|
6909
|
+
var ConsumerLogTag = class extends import_sdkgen_client98.TagAbstract {
|
|
6481
6910
|
/**
|
|
6482
6911
|
* Returns a specific log for the authenticated user
|
|
6483
6912
|
*
|
|
@@ -6503,7 +6932,7 @@ var ConsumerLogTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6503
6932
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6504
6933
|
throw new CommonMessageException(await response.json());
|
|
6505
6934
|
}
|
|
6506
|
-
throw new
|
|
6935
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6507
6936
|
}
|
|
6508
6937
|
/**
|
|
6509
6938
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -6532,14 +6961,14 @@ var ConsumerLogTag = class extends import_sdkgen_client94.TagAbstract {
|
|
|
6532
6961
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6533
6962
|
throw new CommonMessageException(await response.json());
|
|
6534
6963
|
}
|
|
6535
|
-
throw new
|
|
6964
|
+
throw new import_sdkgen_client99.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6536
6965
|
}
|
|
6537
6966
|
};
|
|
6538
6967
|
|
|
6539
6968
|
// src/ConsumerPageTag.ts
|
|
6540
|
-
var
|
|
6541
|
-
var
|
|
6542
|
-
var ConsumerPageTag = class extends
|
|
6969
|
+
var import_sdkgen_client100 = require("sdkgen-client");
|
|
6970
|
+
var import_sdkgen_client101 = require("sdkgen-client");
|
|
6971
|
+
var ConsumerPageTag = class extends import_sdkgen_client100.TagAbstract {
|
|
6543
6972
|
/**
|
|
6544
6973
|
* Returns a specific page for the authenticated user
|
|
6545
6974
|
*
|
|
@@ -6565,7 +6994,7 @@ var ConsumerPageTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6565
6994
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6566
6995
|
throw new CommonMessageException(await response.json());
|
|
6567
6996
|
}
|
|
6568
|
-
throw new
|
|
6997
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6569
6998
|
}
|
|
6570
6999
|
/**
|
|
6571
7000
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -6594,14 +7023,14 @@ var ConsumerPageTag = class extends import_sdkgen_client96.TagAbstract {
|
|
|
6594
7023
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6595
7024
|
throw new CommonMessageException(await response.json());
|
|
6596
7025
|
}
|
|
6597
|
-
throw new
|
|
7026
|
+
throw new import_sdkgen_client101.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6598
7027
|
}
|
|
6599
7028
|
};
|
|
6600
7029
|
|
|
6601
7030
|
// src/ConsumerPaymentTag.ts
|
|
6602
|
-
var
|
|
6603
|
-
var
|
|
6604
|
-
var ConsumerPaymentTag = class extends
|
|
7031
|
+
var import_sdkgen_client102 = require("sdkgen-client");
|
|
7032
|
+
var import_sdkgen_client103 = require("sdkgen-client");
|
|
7033
|
+
var ConsumerPaymentTag = class extends import_sdkgen_client102.TagAbstract {
|
|
6605
7034
|
/**
|
|
6606
7035
|
* Start the checkout process for a specific plan
|
|
6607
7036
|
*
|
|
@@ -6630,7 +7059,7 @@ var ConsumerPaymentTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
6630
7059
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6631
7060
|
throw new CommonMessageException(await response.json());
|
|
6632
7061
|
}
|
|
6633
|
-
throw new
|
|
7062
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6634
7063
|
}
|
|
6635
7064
|
/**
|
|
6636
7065
|
* Generates a payment portal link for the authenticated user
|
|
@@ -6660,14 +7089,14 @@ var ConsumerPaymentTag = class extends import_sdkgen_client98.TagAbstract {
|
|
|
6660
7089
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6661
7090
|
throw new CommonMessageException(await response.json());
|
|
6662
7091
|
}
|
|
6663
|
-
throw new
|
|
7092
|
+
throw new import_sdkgen_client103.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6664
7093
|
}
|
|
6665
7094
|
};
|
|
6666
7095
|
|
|
6667
7096
|
// src/ConsumerPlanTag.ts
|
|
6668
|
-
var
|
|
6669
|
-
var
|
|
6670
|
-
var ConsumerPlanTag = class extends
|
|
7097
|
+
var import_sdkgen_client104 = require("sdkgen-client");
|
|
7098
|
+
var import_sdkgen_client105 = require("sdkgen-client");
|
|
7099
|
+
var ConsumerPlanTag = class extends import_sdkgen_client104.TagAbstract {
|
|
6671
7100
|
/**
|
|
6672
7101
|
* Returns a specific plan for the authenticated user
|
|
6673
7102
|
*
|
|
@@ -6693,7 +7122,7 @@ var ConsumerPlanTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6693
7122
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6694
7123
|
throw new CommonMessageException(await response.json());
|
|
6695
7124
|
}
|
|
6696
|
-
throw new
|
|
7125
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6697
7126
|
}
|
|
6698
7127
|
/**
|
|
6699
7128
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -6722,14 +7151,14 @@ var ConsumerPlanTag = class extends import_sdkgen_client100.TagAbstract {
|
|
|
6722
7151
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6723
7152
|
throw new CommonMessageException(await response.json());
|
|
6724
7153
|
}
|
|
6725
|
-
throw new
|
|
7154
|
+
throw new import_sdkgen_client105.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6726
7155
|
}
|
|
6727
7156
|
};
|
|
6728
7157
|
|
|
6729
7158
|
// src/ConsumerScopeTag.ts
|
|
6730
|
-
var
|
|
6731
|
-
var
|
|
6732
|
-
var ConsumerScopeTag = class extends
|
|
7159
|
+
var import_sdkgen_client106 = require("sdkgen-client");
|
|
7160
|
+
var import_sdkgen_client107 = require("sdkgen-client");
|
|
7161
|
+
var ConsumerScopeTag = class extends import_sdkgen_client106.TagAbstract {
|
|
6733
7162
|
/**
|
|
6734
7163
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
6735
7164
|
*
|
|
@@ -6757,7 +7186,7 @@ var ConsumerScopeTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
6757
7186
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6758
7187
|
throw new CommonMessageException(await response.json());
|
|
6759
7188
|
}
|
|
6760
|
-
throw new
|
|
7189
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6761
7190
|
}
|
|
6762
7191
|
/**
|
|
6763
7192
|
* Returns all scopes by category
|
|
@@ -6782,14 +7211,14 @@ var ConsumerScopeTag = class extends import_sdkgen_client102.TagAbstract {
|
|
|
6782
7211
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6783
7212
|
throw new CommonMessageException(await response.json());
|
|
6784
7213
|
}
|
|
6785
|
-
throw new
|
|
7214
|
+
throw new import_sdkgen_client107.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6786
7215
|
}
|
|
6787
7216
|
};
|
|
6788
7217
|
|
|
6789
7218
|
// src/ConsumerTokenTag.ts
|
|
6790
|
-
var
|
|
6791
|
-
var
|
|
6792
|
-
var ConsumerTokenTag = class extends
|
|
7219
|
+
var import_sdkgen_client108 = require("sdkgen-client");
|
|
7220
|
+
var import_sdkgen_client109 = require("sdkgen-client");
|
|
7221
|
+
var ConsumerTokenTag = class extends import_sdkgen_client108.TagAbstract {
|
|
6793
7222
|
/**
|
|
6794
7223
|
* Creates a new token for the authenticated user
|
|
6795
7224
|
*
|
|
@@ -6816,7 +7245,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
6816
7245
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6817
7246
|
throw new CommonMessageException(await response.json());
|
|
6818
7247
|
}
|
|
6819
|
-
throw new
|
|
7248
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6820
7249
|
}
|
|
6821
7250
|
/**
|
|
6822
7251
|
* Deletes an existing token for the authenticated user
|
|
@@ -6843,7 +7272,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
6843
7272
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6844
7273
|
throw new CommonMessageException(await response.json());
|
|
6845
7274
|
}
|
|
6846
|
-
throw new
|
|
7275
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6847
7276
|
}
|
|
6848
7277
|
/**
|
|
6849
7278
|
* Returns a specific token for the authenticated user
|
|
@@ -6870,7 +7299,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
6870
7299
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6871
7300
|
throw new CommonMessageException(await response.json());
|
|
6872
7301
|
}
|
|
6873
|
-
throw new
|
|
7302
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6874
7303
|
}
|
|
6875
7304
|
/**
|
|
6876
7305
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -6899,7 +7328,7 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
6899
7328
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6900
7329
|
throw new CommonMessageException(await response.json());
|
|
6901
7330
|
}
|
|
6902
|
-
throw new
|
|
7331
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6903
7332
|
}
|
|
6904
7333
|
/**
|
|
6905
7334
|
* Updates an existing token for the authenticated user
|
|
@@ -6929,14 +7358,14 @@ var ConsumerTokenTag = class extends import_sdkgen_client104.TagAbstract {
|
|
|
6929
7358
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6930
7359
|
throw new CommonMessageException(await response.json());
|
|
6931
7360
|
}
|
|
6932
|
-
throw new
|
|
7361
|
+
throw new import_sdkgen_client109.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6933
7362
|
}
|
|
6934
7363
|
};
|
|
6935
7364
|
|
|
6936
7365
|
// src/ConsumerTransactionTag.ts
|
|
6937
|
-
var
|
|
6938
|
-
var
|
|
6939
|
-
var ConsumerTransactionTag = class extends
|
|
7366
|
+
var import_sdkgen_client110 = require("sdkgen-client");
|
|
7367
|
+
var import_sdkgen_client111 = require("sdkgen-client");
|
|
7368
|
+
var ConsumerTransactionTag = class extends import_sdkgen_client110.TagAbstract {
|
|
6940
7369
|
/**
|
|
6941
7370
|
* Returns a specific transaction for the authenticated user
|
|
6942
7371
|
*
|
|
@@ -6962,7 +7391,7 @@ var ConsumerTransactionTag = class extends import_sdkgen_client106.TagAbstract {
|
|
|
6962
7391
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6963
7392
|
throw new CommonMessageException(await response.json());
|
|
6964
7393
|
}
|
|
6965
|
-
throw new
|
|
7394
|
+
throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6966
7395
|
}
|
|
6967
7396
|
/**
|
|
6968
7397
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -6991,14 +7420,14 @@ var ConsumerTransactionTag = class extends import_sdkgen_client106.TagAbstract {
|
|
|
6991
7420
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6992
7421
|
throw new CommonMessageException(await response.json());
|
|
6993
7422
|
}
|
|
6994
|
-
throw new
|
|
7423
|
+
throw new import_sdkgen_client111.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
6995
7424
|
}
|
|
6996
7425
|
};
|
|
6997
7426
|
|
|
6998
7427
|
// src/ConsumerWebhookTag.ts
|
|
6999
|
-
var
|
|
7000
|
-
var
|
|
7001
|
-
var ConsumerWebhookTag = class extends
|
|
7428
|
+
var import_sdkgen_client112 = require("sdkgen-client");
|
|
7429
|
+
var import_sdkgen_client113 = require("sdkgen-client");
|
|
7430
|
+
var ConsumerWebhookTag = class extends import_sdkgen_client112.TagAbstract {
|
|
7002
7431
|
/**
|
|
7003
7432
|
* Creates a new webhook for the authenticated user
|
|
7004
7433
|
*
|
|
@@ -7025,7 +7454,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7025
7454
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7026
7455
|
throw new CommonMessageException(await response.json());
|
|
7027
7456
|
}
|
|
7028
|
-
throw new
|
|
7457
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7029
7458
|
}
|
|
7030
7459
|
/**
|
|
7031
7460
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -7052,7 +7481,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7052
7481
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7053
7482
|
throw new CommonMessageException(await response.json());
|
|
7054
7483
|
}
|
|
7055
|
-
throw new
|
|
7484
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7056
7485
|
}
|
|
7057
7486
|
/**
|
|
7058
7487
|
* Returns a specific webhook for the authenticated user
|
|
@@ -7079,7 +7508,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7079
7508
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7080
7509
|
throw new CommonMessageException(await response.json());
|
|
7081
7510
|
}
|
|
7082
|
-
throw new
|
|
7511
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7083
7512
|
}
|
|
7084
7513
|
/**
|
|
7085
7514
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -7108,7 +7537,7 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7108
7537
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7109
7538
|
throw new CommonMessageException(await response.json());
|
|
7110
7539
|
}
|
|
7111
|
-
throw new
|
|
7540
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7112
7541
|
}
|
|
7113
7542
|
/**
|
|
7114
7543
|
* Updates an existing webhook for the authenticated user
|
|
@@ -7138,12 +7567,12 @@ var ConsumerWebhookTag = class extends import_sdkgen_client108.TagAbstract {
|
|
|
7138
7567
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7139
7568
|
throw new CommonMessageException(await response.json());
|
|
7140
7569
|
}
|
|
7141
|
-
throw new
|
|
7570
|
+
throw new import_sdkgen_client113.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7142
7571
|
}
|
|
7143
7572
|
};
|
|
7144
7573
|
|
|
7145
7574
|
// src/ConsumerTag.ts
|
|
7146
|
-
var ConsumerTag = class extends
|
|
7575
|
+
var ConsumerTag = class extends import_sdkgen_client114.TagAbstract {
|
|
7147
7576
|
account() {
|
|
7148
7577
|
return new ConsumerAccountTag(
|
|
7149
7578
|
this.httpClient,
|
|
@@ -7231,12 +7660,12 @@ var ConsumerTag = class extends import_sdkgen_client110.TagAbstract {
|
|
|
7231
7660
|
};
|
|
7232
7661
|
|
|
7233
7662
|
// src/SystemTag.ts
|
|
7234
|
-
var
|
|
7663
|
+
var import_sdkgen_client121 = require("sdkgen-client");
|
|
7235
7664
|
|
|
7236
7665
|
// src/SystemConnectionTag.ts
|
|
7237
|
-
var
|
|
7238
|
-
var
|
|
7239
|
-
var SystemConnectionTag = class extends
|
|
7666
|
+
var import_sdkgen_client115 = require("sdkgen-client");
|
|
7667
|
+
var import_sdkgen_client116 = require("sdkgen-client");
|
|
7668
|
+
var SystemConnectionTag = class extends import_sdkgen_client115.TagAbstract {
|
|
7240
7669
|
/**
|
|
7241
7670
|
* Connection OAuth2 callback to authorize a connection
|
|
7242
7671
|
*
|
|
@@ -7262,14 +7691,14 @@ var SystemConnectionTag = class extends import_sdkgen_client111.TagAbstract {
|
|
|
7262
7691
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7263
7692
|
throw new CommonMessageException(await response.json());
|
|
7264
7693
|
}
|
|
7265
|
-
throw new
|
|
7694
|
+
throw new import_sdkgen_client116.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7266
7695
|
}
|
|
7267
7696
|
};
|
|
7268
7697
|
|
|
7269
7698
|
// src/SystemMetaTag.ts
|
|
7270
|
-
var
|
|
7271
|
-
var
|
|
7272
|
-
var SystemMetaTag = class extends
|
|
7699
|
+
var import_sdkgen_client117 = require("sdkgen-client");
|
|
7700
|
+
var import_sdkgen_client118 = require("sdkgen-client");
|
|
7701
|
+
var SystemMetaTag = class extends import_sdkgen_client117.TagAbstract {
|
|
7273
7702
|
/**
|
|
7274
7703
|
* Returns meta information and links about the current installed Fusio version
|
|
7275
7704
|
*
|
|
@@ -7293,7 +7722,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
|
|
|
7293
7722
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7294
7723
|
throw new CommonMessageException(await response.json());
|
|
7295
7724
|
}
|
|
7296
|
-
throw new
|
|
7725
|
+
throw new import_sdkgen_client118.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7297
7726
|
}
|
|
7298
7727
|
/**
|
|
7299
7728
|
* Debug endpoint which returns the provided data
|
|
@@ -7321,7 +7750,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
|
|
|
7321
7750
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7322
7751
|
throw new CommonMessageException(await response.json());
|
|
7323
7752
|
}
|
|
7324
|
-
throw new
|
|
7753
|
+
throw new import_sdkgen_client118.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7325
7754
|
}
|
|
7326
7755
|
/**
|
|
7327
7756
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -7346,7 +7775,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
|
|
|
7346
7775
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7347
7776
|
throw new CommonMessageException(await response.json());
|
|
7348
7777
|
}
|
|
7349
|
-
throw new
|
|
7778
|
+
throw new import_sdkgen_client118.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7350
7779
|
}
|
|
7351
7780
|
/**
|
|
7352
7781
|
* Returns all available routes
|
|
@@ -7371,7 +7800,7 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
|
|
|
7371
7800
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7372
7801
|
throw new CommonMessageException(await response.json());
|
|
7373
7802
|
}
|
|
7374
|
-
throw new
|
|
7803
|
+
throw new import_sdkgen_client118.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7375
7804
|
}
|
|
7376
7805
|
/**
|
|
7377
7806
|
* Returns details of a specific schema
|
|
@@ -7398,14 +7827,14 @@ var SystemMetaTag = class extends import_sdkgen_client113.TagAbstract {
|
|
|
7398
7827
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7399
7828
|
throw new CommonMessageException(await response.json());
|
|
7400
7829
|
}
|
|
7401
|
-
throw new
|
|
7830
|
+
throw new import_sdkgen_client118.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7402
7831
|
}
|
|
7403
7832
|
};
|
|
7404
7833
|
|
|
7405
7834
|
// src/SystemPaymentTag.ts
|
|
7406
|
-
var
|
|
7407
|
-
var
|
|
7408
|
-
var SystemPaymentTag = class extends
|
|
7835
|
+
var import_sdkgen_client119 = require("sdkgen-client");
|
|
7836
|
+
var import_sdkgen_client120 = require("sdkgen-client");
|
|
7837
|
+
var SystemPaymentTag = class extends import_sdkgen_client119.TagAbstract {
|
|
7409
7838
|
/**
|
|
7410
7839
|
* Payment webhook endpoint after successful purchase of a plan
|
|
7411
7840
|
*
|
|
@@ -7431,12 +7860,12 @@ var SystemPaymentTag = class extends import_sdkgen_client115.TagAbstract {
|
|
|
7431
7860
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7432
7861
|
throw new CommonMessageException(await response.json());
|
|
7433
7862
|
}
|
|
7434
|
-
throw new
|
|
7863
|
+
throw new import_sdkgen_client120.UnknownStatusCodeException("The server returned an unknown status code: " + statusCode);
|
|
7435
7864
|
}
|
|
7436
7865
|
};
|
|
7437
7866
|
|
|
7438
7867
|
// src/SystemTag.ts
|
|
7439
|
-
var SystemTag = class extends
|
|
7868
|
+
var SystemTag = class extends import_sdkgen_client121.TagAbstract {
|
|
7440
7869
|
connection() {
|
|
7441
7870
|
return new SystemConnectionTag(
|
|
7442
7871
|
this.httpClient,
|
|
@@ -7458,7 +7887,7 @@ var SystemTag = class extends import_sdkgen_client117.TagAbstract {
|
|
|
7458
7887
|
};
|
|
7459
7888
|
|
|
7460
7889
|
// src/Client.ts
|
|
7461
|
-
var Client = class _Client extends
|
|
7890
|
+
var Client = class _Client extends import_sdkgen_client122.ClientAbstract {
|
|
7462
7891
|
authorization() {
|
|
7463
7892
|
return new AuthorizationTag(
|
|
7464
7893
|
this.httpClient,
|
|
@@ -7484,7 +7913,7 @@ var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
|
|
|
7484
7913
|
);
|
|
7485
7914
|
}
|
|
7486
7915
|
static buildAnonymous(baseUrl) {
|
|
7487
|
-
return new _Client(baseUrl, new
|
|
7916
|
+
return new _Client(baseUrl, new import_sdkgen_client123.Anonymous());
|
|
7488
7917
|
}
|
|
7489
7918
|
};
|
|
7490
7919
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -7512,6 +7941,7 @@ var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
|
|
|
7512
7941
|
BackendLogTag,
|
|
7513
7942
|
BackendMarketplaceActionTag,
|
|
7514
7943
|
BackendMarketplaceAppTag,
|
|
7944
|
+
BackendMarketplaceBundleTag,
|
|
7515
7945
|
BackendMarketplaceTag,
|
|
7516
7946
|
BackendOperationTag,
|
|
7517
7947
|
BackendPageTag,
|
|
@@ -7528,6 +7958,7 @@ var Client = class _Client extends import_sdkgen_client118.ClientAbstract {
|
|
|
7528
7958
|
BackendTokenTag,
|
|
7529
7959
|
BackendTransactionTag,
|
|
7530
7960
|
BackendTrashTag,
|
|
7961
|
+
BackendTriggerTag,
|
|
7531
7962
|
BackendUserTag,
|
|
7532
7963
|
BackendWebhookTag,
|
|
7533
7964
|
Client,
|