fusio-sdk 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +315 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +102 -2
- package/dist/index.d.ts +102 -2
- package/dist/index.js +310 -126
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4718,7 +4718,7 @@ var BackendStatisticTag = class extends TagAbstract33 {
|
|
|
4718
4718
|
};
|
|
4719
4719
|
|
|
4720
4720
|
// src/BackendTag.ts
|
|
4721
|
-
import { TagAbstract as
|
|
4721
|
+
import { TagAbstract as TagAbstract42 } from "sdkgen-client";
|
|
4722
4722
|
|
|
4723
4723
|
// src/BackendTenantTag.ts
|
|
4724
4724
|
import { TagAbstract as TagAbstract34 } from "sdkgen-client";
|
|
@@ -5152,10 +5152,157 @@ var BackendTrashTag = class extends TagAbstract38 {
|
|
|
5152
5152
|
}
|
|
5153
5153
|
};
|
|
5154
5154
|
|
|
5155
|
-
// src/
|
|
5155
|
+
// src/BackendTriggerTag.ts
|
|
5156
5156
|
import { TagAbstract as TagAbstract39 } from "sdkgen-client";
|
|
5157
5157
|
import { UnknownStatusCodeException as UnknownStatusCodeException38 } from "sdkgen-client";
|
|
5158
|
-
var
|
|
5158
|
+
var BackendTriggerTag = class extends TagAbstract39 {
|
|
5159
|
+
/**
|
|
5160
|
+
* Creates a new trigger
|
|
5161
|
+
*
|
|
5162
|
+
* @returns {Promise<CommonMessage>}
|
|
5163
|
+
* @throws {CommonMessageException}
|
|
5164
|
+
* @throws {ClientException}
|
|
5165
|
+
*/
|
|
5166
|
+
async create(payload) {
|
|
5167
|
+
const url = this.parser.url("/backend/trigger", {});
|
|
5168
|
+
let request = {
|
|
5169
|
+
url,
|
|
5170
|
+
method: "POST",
|
|
5171
|
+
headers: {
|
|
5172
|
+
"Content-Type": "application/json"
|
|
5173
|
+
},
|
|
5174
|
+
params: this.parser.query({}, []),
|
|
5175
|
+
data: payload
|
|
5176
|
+
};
|
|
5177
|
+
const response = await this.httpClient.request(request);
|
|
5178
|
+
if (response.ok) {
|
|
5179
|
+
return await response.json();
|
|
5180
|
+
}
|
|
5181
|
+
const statusCode = response.status;
|
|
5182
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5183
|
+
throw new CommonMessageException(await response.json());
|
|
5184
|
+
}
|
|
5185
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5186
|
+
}
|
|
5187
|
+
/**
|
|
5188
|
+
* Deletes an existing trigger
|
|
5189
|
+
*
|
|
5190
|
+
* @returns {Promise<CommonMessage>}
|
|
5191
|
+
* @throws {CommonMessageException}
|
|
5192
|
+
* @throws {ClientException}
|
|
5193
|
+
*/
|
|
5194
|
+
async delete(triggerId) {
|
|
5195
|
+
const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
|
|
5196
|
+
"trigger_id": triggerId
|
|
5197
|
+
});
|
|
5198
|
+
let request = {
|
|
5199
|
+
url,
|
|
5200
|
+
method: "DELETE",
|
|
5201
|
+
headers: {},
|
|
5202
|
+
params: this.parser.query({}, [])
|
|
5203
|
+
};
|
|
5204
|
+
const response = await this.httpClient.request(request);
|
|
5205
|
+
if (response.ok) {
|
|
5206
|
+
return await response.json();
|
|
5207
|
+
}
|
|
5208
|
+
const statusCode = response.status;
|
|
5209
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5210
|
+
throw new CommonMessageException(await response.json());
|
|
5211
|
+
}
|
|
5212
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5213
|
+
}
|
|
5214
|
+
/**
|
|
5215
|
+
* Returns a specific trigger
|
|
5216
|
+
*
|
|
5217
|
+
* @returns {Promise<BackendTrigger>}
|
|
5218
|
+
* @throws {CommonMessageException}
|
|
5219
|
+
* @throws {ClientException}
|
|
5220
|
+
*/
|
|
5221
|
+
async get(triggerId) {
|
|
5222
|
+
const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
|
|
5223
|
+
"trigger_id": triggerId
|
|
5224
|
+
});
|
|
5225
|
+
let request = {
|
|
5226
|
+
url,
|
|
5227
|
+
method: "GET",
|
|
5228
|
+
headers: {},
|
|
5229
|
+
params: this.parser.query({}, [])
|
|
5230
|
+
};
|
|
5231
|
+
const response = await this.httpClient.request(request);
|
|
5232
|
+
if (response.ok) {
|
|
5233
|
+
return await response.json();
|
|
5234
|
+
}
|
|
5235
|
+
const statusCode = response.status;
|
|
5236
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5237
|
+
throw new CommonMessageException(await response.json());
|
|
5238
|
+
}
|
|
5239
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5240
|
+
}
|
|
5241
|
+
/**
|
|
5242
|
+
* Returns a paginated list of triggers
|
|
5243
|
+
*
|
|
5244
|
+
* @returns {Promise<BackendTriggerCollection>}
|
|
5245
|
+
* @throws {CommonMessageException}
|
|
5246
|
+
* @throws {ClientException}
|
|
5247
|
+
*/
|
|
5248
|
+
async getAll(startIndex, count, search) {
|
|
5249
|
+
const url = this.parser.url("/backend/trigger", {});
|
|
5250
|
+
let request = {
|
|
5251
|
+
url,
|
|
5252
|
+
method: "GET",
|
|
5253
|
+
headers: {},
|
|
5254
|
+
params: this.parser.query({
|
|
5255
|
+
"startIndex": startIndex,
|
|
5256
|
+
"count": count,
|
|
5257
|
+
"search": search
|
|
5258
|
+
}, [])
|
|
5259
|
+
};
|
|
5260
|
+
const response = await this.httpClient.request(request);
|
|
5261
|
+
if (response.ok) {
|
|
5262
|
+
return await response.json();
|
|
5263
|
+
}
|
|
5264
|
+
const statusCode = response.status;
|
|
5265
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5266
|
+
throw new CommonMessageException(await response.json());
|
|
5267
|
+
}
|
|
5268
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5269
|
+
}
|
|
5270
|
+
/**
|
|
5271
|
+
* Updates an existing trigger
|
|
5272
|
+
*
|
|
5273
|
+
* @returns {Promise<CommonMessage>}
|
|
5274
|
+
* @throws {CommonMessageException}
|
|
5275
|
+
* @throws {ClientException}
|
|
5276
|
+
*/
|
|
5277
|
+
async update(triggerId, payload) {
|
|
5278
|
+
const url = this.parser.url("/backend/trigger/$trigger_id<[0-9]+|^~>", {
|
|
5279
|
+
"trigger_id": triggerId
|
|
5280
|
+
});
|
|
5281
|
+
let request = {
|
|
5282
|
+
url,
|
|
5283
|
+
method: "PUT",
|
|
5284
|
+
headers: {
|
|
5285
|
+
"Content-Type": "application/json"
|
|
5286
|
+
},
|
|
5287
|
+
params: this.parser.query({}, []),
|
|
5288
|
+
data: payload
|
|
5289
|
+
};
|
|
5290
|
+
const response = await this.httpClient.request(request);
|
|
5291
|
+
if (response.ok) {
|
|
5292
|
+
return await response.json();
|
|
5293
|
+
}
|
|
5294
|
+
const statusCode = response.status;
|
|
5295
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5296
|
+
throw new CommonMessageException(await response.json());
|
|
5297
|
+
}
|
|
5298
|
+
throw new UnknownStatusCodeException38("The server returned an unknown status code: " + statusCode);
|
|
5299
|
+
}
|
|
5300
|
+
};
|
|
5301
|
+
|
|
5302
|
+
// src/BackendUserTag.ts
|
|
5303
|
+
import { TagAbstract as TagAbstract40 } from "sdkgen-client";
|
|
5304
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException39 } from "sdkgen-client";
|
|
5305
|
+
var BackendUserTag = class extends TagAbstract40 {
|
|
5159
5306
|
/**
|
|
5160
5307
|
* Creates a new user
|
|
5161
5308
|
*
|
|
@@ -5182,7 +5329,7 @@ var BackendUserTag = class extends TagAbstract39 {
|
|
|
5182
5329
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5183
5330
|
throw new CommonMessageException(await response.json());
|
|
5184
5331
|
}
|
|
5185
|
-
throw new
|
|
5332
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5186
5333
|
}
|
|
5187
5334
|
/**
|
|
5188
5335
|
* Deletes an existing user
|
|
@@ -5209,7 +5356,7 @@ var BackendUserTag = class extends TagAbstract39 {
|
|
|
5209
5356
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5210
5357
|
throw new CommonMessageException(await response.json());
|
|
5211
5358
|
}
|
|
5212
|
-
throw new
|
|
5359
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5213
5360
|
}
|
|
5214
5361
|
/**
|
|
5215
5362
|
* Returns a specific user
|
|
@@ -5236,7 +5383,7 @@ var BackendUserTag = class extends TagAbstract39 {
|
|
|
5236
5383
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5237
5384
|
throw new CommonMessageException(await response.json());
|
|
5238
5385
|
}
|
|
5239
|
-
throw new
|
|
5386
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5240
5387
|
}
|
|
5241
5388
|
/**
|
|
5242
5389
|
* Returns a paginated list of users
|
|
@@ -5265,7 +5412,37 @@ var BackendUserTag = class extends TagAbstract39 {
|
|
|
5265
5412
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5266
5413
|
throw new CommonMessageException(await response.json());
|
|
5267
5414
|
}
|
|
5268
|
-
throw new
|
|
5415
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5416
|
+
}
|
|
5417
|
+
/**
|
|
5418
|
+
* Resend the activation mail to the provided user
|
|
5419
|
+
*
|
|
5420
|
+
* @returns {Promise<CommonMessage>}
|
|
5421
|
+
* @throws {CommonMessageException}
|
|
5422
|
+
* @throws {ClientException}
|
|
5423
|
+
*/
|
|
5424
|
+
async resend(userId, payload) {
|
|
5425
|
+
const url = this.parser.url("/backend/user/$user_id<[0-9]+|^~>/resend", {
|
|
5426
|
+
"user_id": userId
|
|
5427
|
+
});
|
|
5428
|
+
let request = {
|
|
5429
|
+
url,
|
|
5430
|
+
method: "POST",
|
|
5431
|
+
headers: {
|
|
5432
|
+
"Content-Type": "application/json"
|
|
5433
|
+
},
|
|
5434
|
+
params: this.parser.query({}, []),
|
|
5435
|
+
data: payload
|
|
5436
|
+
};
|
|
5437
|
+
const response = await this.httpClient.request(request);
|
|
5438
|
+
if (response.ok) {
|
|
5439
|
+
return await response.json();
|
|
5440
|
+
}
|
|
5441
|
+
const statusCode = response.status;
|
|
5442
|
+
if (statusCode >= 0 && statusCode <= 999) {
|
|
5443
|
+
throw new CommonMessageException(await response.json());
|
|
5444
|
+
}
|
|
5445
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5269
5446
|
}
|
|
5270
5447
|
/**
|
|
5271
5448
|
* Updates an existing user
|
|
@@ -5295,14 +5472,14 @@ var BackendUserTag = class extends TagAbstract39 {
|
|
|
5295
5472
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5296
5473
|
throw new CommonMessageException(await response.json());
|
|
5297
5474
|
}
|
|
5298
|
-
throw new
|
|
5475
|
+
throw new UnknownStatusCodeException39("The server returned an unknown status code: " + statusCode);
|
|
5299
5476
|
}
|
|
5300
5477
|
};
|
|
5301
5478
|
|
|
5302
5479
|
// src/BackendWebhookTag.ts
|
|
5303
|
-
import { TagAbstract as
|
|
5304
|
-
import { UnknownStatusCodeException as
|
|
5305
|
-
var BackendWebhookTag = class extends
|
|
5480
|
+
import { TagAbstract as TagAbstract41 } from "sdkgen-client";
|
|
5481
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException40 } from "sdkgen-client";
|
|
5482
|
+
var BackendWebhookTag = class extends TagAbstract41 {
|
|
5306
5483
|
/**
|
|
5307
5484
|
* Creates a new webhook
|
|
5308
5485
|
*
|
|
@@ -5329,7 +5506,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
|
|
|
5329
5506
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5330
5507
|
throw new CommonMessageException(await response.json());
|
|
5331
5508
|
}
|
|
5332
|
-
throw new
|
|
5509
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5333
5510
|
}
|
|
5334
5511
|
/**
|
|
5335
5512
|
* Deletes an existing webhook
|
|
@@ -5356,7 +5533,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
|
|
|
5356
5533
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5357
5534
|
throw new CommonMessageException(await response.json());
|
|
5358
5535
|
}
|
|
5359
|
-
throw new
|
|
5536
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5360
5537
|
}
|
|
5361
5538
|
/**
|
|
5362
5539
|
* Returns a specific webhook
|
|
@@ -5383,7 +5560,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
|
|
|
5383
5560
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5384
5561
|
throw new CommonMessageException(await response.json());
|
|
5385
5562
|
}
|
|
5386
|
-
throw new
|
|
5563
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5387
5564
|
}
|
|
5388
5565
|
/**
|
|
5389
5566
|
* Returns a paginated list of webhooks
|
|
@@ -5412,7 +5589,7 @@ var BackendWebhookTag = class extends TagAbstract40 {
|
|
|
5412
5589
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5413
5590
|
throw new CommonMessageException(await response.json());
|
|
5414
5591
|
}
|
|
5415
|
-
throw new
|
|
5592
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5416
5593
|
}
|
|
5417
5594
|
/**
|
|
5418
5595
|
* Updates an existing webhook
|
|
@@ -5442,12 +5619,12 @@ var BackendWebhookTag = class extends TagAbstract40 {
|
|
|
5442
5619
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5443
5620
|
throw new CommonMessageException(await response.json());
|
|
5444
5621
|
}
|
|
5445
|
-
throw new
|
|
5622
|
+
throw new UnknownStatusCodeException40("The server returned an unknown status code: " + statusCode);
|
|
5446
5623
|
}
|
|
5447
5624
|
};
|
|
5448
5625
|
|
|
5449
5626
|
// src/BackendTag.ts
|
|
5450
|
-
var BackendTag = class extends
|
|
5627
|
+
var BackendTag = class extends TagAbstract42 {
|
|
5451
5628
|
account() {
|
|
5452
5629
|
return new BackendAccountTag(
|
|
5453
5630
|
this.httpClient,
|
|
@@ -5634,6 +5811,12 @@ var BackendTag = class extends TagAbstract41 {
|
|
|
5634
5811
|
this.parser
|
|
5635
5812
|
);
|
|
5636
5813
|
}
|
|
5814
|
+
trigger() {
|
|
5815
|
+
return new BackendTriggerTag(
|
|
5816
|
+
this.httpClient,
|
|
5817
|
+
this.parser
|
|
5818
|
+
);
|
|
5819
|
+
}
|
|
5637
5820
|
user() {
|
|
5638
5821
|
return new BackendUserTag(
|
|
5639
5822
|
this.httpClient,
|
|
@@ -5653,12 +5836,12 @@ import { ClientAbstract } from "sdkgen-client";
|
|
|
5653
5836
|
import { Anonymous } from "sdkgen-client";
|
|
5654
5837
|
|
|
5655
5838
|
// src/ConsumerTag.ts
|
|
5656
|
-
import { TagAbstract as
|
|
5839
|
+
import { TagAbstract as TagAbstract57 } from "sdkgen-client";
|
|
5657
5840
|
|
|
5658
5841
|
// src/ConsumerAccountTag.ts
|
|
5659
|
-
import { TagAbstract as
|
|
5660
|
-
import { UnknownStatusCodeException as
|
|
5661
|
-
var ConsumerAccountTag = class extends
|
|
5842
|
+
import { TagAbstract as TagAbstract43 } from "sdkgen-client";
|
|
5843
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException41 } from "sdkgen-client";
|
|
5844
|
+
var ConsumerAccountTag = class extends TagAbstract43 {
|
|
5662
5845
|
/**
|
|
5663
5846
|
* Activates an previously registered account through a token which was provided to the user via email
|
|
5664
5847
|
*
|
|
@@ -5685,7 +5868,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5685
5868
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5686
5869
|
throw new CommonMessageException(await response.json());
|
|
5687
5870
|
}
|
|
5688
|
-
throw new
|
|
5871
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5689
5872
|
}
|
|
5690
5873
|
/**
|
|
5691
5874
|
* Authorizes the access of a specific app for the authenticated user
|
|
@@ -5713,7 +5896,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5713
5896
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5714
5897
|
throw new CommonMessageException(await response.json());
|
|
5715
5898
|
}
|
|
5716
|
-
throw new
|
|
5899
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5717
5900
|
}
|
|
5718
5901
|
/**
|
|
5719
5902
|
* Change the password for the authenticated user
|
|
@@ -5741,7 +5924,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5741
5924
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5742
5925
|
throw new CommonMessageException(await response.json());
|
|
5743
5926
|
}
|
|
5744
|
-
throw new
|
|
5927
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5745
5928
|
}
|
|
5746
5929
|
/**
|
|
5747
5930
|
* Change the password after the password reset flow was started
|
|
@@ -5769,7 +5952,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5769
5952
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5770
5953
|
throw new CommonMessageException(await response.json());
|
|
5771
5954
|
}
|
|
5772
|
-
throw new
|
|
5955
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5773
5956
|
}
|
|
5774
5957
|
/**
|
|
5775
5958
|
* Returns a user data for the authenticated user
|
|
@@ -5794,7 +5977,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5794
5977
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5795
5978
|
throw new CommonMessageException(await response.json());
|
|
5796
5979
|
}
|
|
5797
|
-
throw new
|
|
5980
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5798
5981
|
}
|
|
5799
5982
|
/**
|
|
5800
5983
|
* Returns information about a specific app to start the OAuth2 authorization code flow
|
|
@@ -5822,7 +6005,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5822
6005
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5823
6006
|
throw new CommonMessageException(await response.json());
|
|
5824
6007
|
}
|
|
5825
|
-
throw new
|
|
6008
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5826
6009
|
}
|
|
5827
6010
|
/**
|
|
5828
6011
|
* User login by providing a username and password
|
|
@@ -5850,7 +6033,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5850
6033
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5851
6034
|
throw new CommonMessageException(await response.json());
|
|
5852
6035
|
}
|
|
5853
|
-
throw new
|
|
6036
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5854
6037
|
}
|
|
5855
6038
|
/**
|
|
5856
6039
|
* Refresh a previously obtained access token
|
|
@@ -5878,7 +6061,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5878
6061
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5879
6062
|
throw new CommonMessageException(await response.json());
|
|
5880
6063
|
}
|
|
5881
|
-
throw new
|
|
6064
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5882
6065
|
}
|
|
5883
6066
|
/**
|
|
5884
6067
|
* Register a new user account
|
|
@@ -5906,7 +6089,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5906
6089
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5907
6090
|
throw new CommonMessageException(await response.json());
|
|
5908
6091
|
}
|
|
5909
|
-
throw new
|
|
6092
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5910
6093
|
}
|
|
5911
6094
|
/**
|
|
5912
6095
|
* Start the password reset flow
|
|
@@ -5934,7 +6117,7 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5934
6117
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5935
6118
|
throw new CommonMessageException(await response.json());
|
|
5936
6119
|
}
|
|
5937
|
-
throw new
|
|
6120
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5938
6121
|
}
|
|
5939
6122
|
/**
|
|
5940
6123
|
* Updates user data for the authenticated user
|
|
@@ -5962,14 +6145,14 @@ var ConsumerAccountTag = class extends TagAbstract42 {
|
|
|
5962
6145
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5963
6146
|
throw new CommonMessageException(await response.json());
|
|
5964
6147
|
}
|
|
5965
|
-
throw new
|
|
6148
|
+
throw new UnknownStatusCodeException41("The server returned an unknown status code: " + statusCode);
|
|
5966
6149
|
}
|
|
5967
6150
|
};
|
|
5968
6151
|
|
|
5969
6152
|
// src/ConsumerAppTag.ts
|
|
5970
|
-
import { TagAbstract as
|
|
5971
|
-
import { UnknownStatusCodeException as
|
|
5972
|
-
var ConsumerAppTag = class extends
|
|
6153
|
+
import { TagAbstract as TagAbstract44 } from "sdkgen-client";
|
|
6154
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException42 } from "sdkgen-client";
|
|
6155
|
+
var ConsumerAppTag = class extends TagAbstract44 {
|
|
5973
6156
|
/**
|
|
5974
6157
|
* Creates a new app for the authenticated user
|
|
5975
6158
|
*
|
|
@@ -5996,7 +6179,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
|
|
|
5996
6179
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
5997
6180
|
throw new CommonMessageException(await response.json());
|
|
5998
6181
|
}
|
|
5999
|
-
throw new
|
|
6182
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
6000
6183
|
}
|
|
6001
6184
|
/**
|
|
6002
6185
|
* Deletes an existing app for the authenticated user
|
|
@@ -6023,7 +6206,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
|
|
|
6023
6206
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6024
6207
|
throw new CommonMessageException(await response.json());
|
|
6025
6208
|
}
|
|
6026
|
-
throw new
|
|
6209
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
6027
6210
|
}
|
|
6028
6211
|
/**
|
|
6029
6212
|
* Returns a specific app for the authenticated user
|
|
@@ -6050,7 +6233,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
|
|
|
6050
6233
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6051
6234
|
throw new CommonMessageException(await response.json());
|
|
6052
6235
|
}
|
|
6053
|
-
throw new
|
|
6236
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
6054
6237
|
}
|
|
6055
6238
|
/**
|
|
6056
6239
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6079,7 +6262,7 @@ var ConsumerAppTag = class extends TagAbstract43 {
|
|
|
6079
6262
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6080
6263
|
throw new CommonMessageException(await response.json());
|
|
6081
6264
|
}
|
|
6082
|
-
throw new
|
|
6265
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
6083
6266
|
}
|
|
6084
6267
|
/**
|
|
6085
6268
|
* Updates an existing app for the authenticated user
|
|
@@ -6109,14 +6292,14 @@ var ConsumerAppTag = class extends TagAbstract43 {
|
|
|
6109
6292
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6110
6293
|
throw new CommonMessageException(await response.json());
|
|
6111
6294
|
}
|
|
6112
|
-
throw new
|
|
6295
|
+
throw new UnknownStatusCodeException42("The server returned an unknown status code: " + statusCode);
|
|
6113
6296
|
}
|
|
6114
6297
|
};
|
|
6115
6298
|
|
|
6116
6299
|
// src/ConsumerEventTag.ts
|
|
6117
|
-
import { TagAbstract as
|
|
6118
|
-
import { UnknownStatusCodeException as
|
|
6119
|
-
var ConsumerEventTag = class extends
|
|
6300
|
+
import { TagAbstract as TagAbstract45 } from "sdkgen-client";
|
|
6301
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException43 } from "sdkgen-client";
|
|
6302
|
+
var ConsumerEventTag = class extends TagAbstract45 {
|
|
6120
6303
|
/**
|
|
6121
6304
|
* Returns a specific event for the authenticated user
|
|
6122
6305
|
*
|
|
@@ -6142,7 +6325,7 @@ var ConsumerEventTag = class extends TagAbstract44 {
|
|
|
6142
6325
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6143
6326
|
throw new CommonMessageException(await response.json());
|
|
6144
6327
|
}
|
|
6145
|
-
throw new
|
|
6328
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
6146
6329
|
}
|
|
6147
6330
|
/**
|
|
6148
6331
|
* Returns a paginated list of apps which are assigned to the authenticated user
|
|
@@ -6171,14 +6354,14 @@ var ConsumerEventTag = class extends TagAbstract44 {
|
|
|
6171
6354
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6172
6355
|
throw new CommonMessageException(await response.json());
|
|
6173
6356
|
}
|
|
6174
|
-
throw new
|
|
6357
|
+
throw new UnknownStatusCodeException43("The server returned an unknown status code: " + statusCode);
|
|
6175
6358
|
}
|
|
6176
6359
|
};
|
|
6177
6360
|
|
|
6178
6361
|
// src/ConsumerFormTag.ts
|
|
6179
|
-
import { TagAbstract as
|
|
6180
|
-
import { UnknownStatusCodeException as
|
|
6181
|
-
var ConsumerFormTag = class extends
|
|
6362
|
+
import { TagAbstract as TagAbstract46 } from "sdkgen-client";
|
|
6363
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException44 } from "sdkgen-client";
|
|
6364
|
+
var ConsumerFormTag = class extends TagAbstract46 {
|
|
6182
6365
|
/**
|
|
6183
6366
|
* Returns a specific form for the authenticated user
|
|
6184
6367
|
*
|
|
@@ -6204,7 +6387,7 @@ var ConsumerFormTag = class extends TagAbstract45 {
|
|
|
6204
6387
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6205
6388
|
throw new CommonMessageException(await response.json());
|
|
6206
6389
|
}
|
|
6207
|
-
throw new
|
|
6390
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
6208
6391
|
}
|
|
6209
6392
|
/**
|
|
6210
6393
|
* Returns a paginated list of forms which are relevant to the authenticated user
|
|
@@ -6233,14 +6416,14 @@ var ConsumerFormTag = class extends TagAbstract45 {
|
|
|
6233
6416
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6234
6417
|
throw new CommonMessageException(await response.json());
|
|
6235
6418
|
}
|
|
6236
|
-
throw new
|
|
6419
|
+
throw new UnknownStatusCodeException44("The server returned an unknown status code: " + statusCode);
|
|
6237
6420
|
}
|
|
6238
6421
|
};
|
|
6239
6422
|
|
|
6240
6423
|
// src/ConsumerGrantTag.ts
|
|
6241
|
-
import { TagAbstract as
|
|
6242
|
-
import { UnknownStatusCodeException as
|
|
6243
|
-
var ConsumerGrantTag = class extends
|
|
6424
|
+
import { TagAbstract as TagAbstract47 } from "sdkgen-client";
|
|
6425
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException45 } from "sdkgen-client";
|
|
6426
|
+
var ConsumerGrantTag = class extends TagAbstract47 {
|
|
6244
6427
|
/**
|
|
6245
6428
|
* Deletes an existing grant for an app which was created by the authenticated user
|
|
6246
6429
|
*
|
|
@@ -6266,7 +6449,7 @@ var ConsumerGrantTag = class extends TagAbstract46 {
|
|
|
6266
6449
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6267
6450
|
throw new CommonMessageException(await response.json());
|
|
6268
6451
|
}
|
|
6269
|
-
throw new
|
|
6452
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6270
6453
|
}
|
|
6271
6454
|
/**
|
|
6272
6455
|
* Returns a paginated list of grants which are assigned to the authenticated user
|
|
@@ -6295,14 +6478,14 @@ var ConsumerGrantTag = class extends TagAbstract46 {
|
|
|
6295
6478
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6296
6479
|
throw new CommonMessageException(await response.json());
|
|
6297
6480
|
}
|
|
6298
|
-
throw new
|
|
6481
|
+
throw new UnknownStatusCodeException45("The server returned an unknown status code: " + statusCode);
|
|
6299
6482
|
}
|
|
6300
6483
|
};
|
|
6301
6484
|
|
|
6302
6485
|
// src/ConsumerIdentityTag.ts
|
|
6303
|
-
import { TagAbstract as
|
|
6304
|
-
import { UnknownStatusCodeException as
|
|
6305
|
-
var ConsumerIdentityTag = class extends
|
|
6486
|
+
import { TagAbstract as TagAbstract48 } from "sdkgen-client";
|
|
6487
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException46 } from "sdkgen-client";
|
|
6488
|
+
var ConsumerIdentityTag = class extends TagAbstract48 {
|
|
6306
6489
|
/**
|
|
6307
6490
|
* Identity callback endpoint to exchange an access token
|
|
6308
6491
|
*
|
|
@@ -6328,7 +6511,7 @@ var ConsumerIdentityTag = class extends TagAbstract47 {
|
|
|
6328
6511
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6329
6512
|
throw new CommonMessageException(await response.json());
|
|
6330
6513
|
}
|
|
6331
|
-
throw new
|
|
6514
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6332
6515
|
}
|
|
6333
6516
|
/**
|
|
6334
6517
|
* Returns a paginated list of identities which are relevant to the authenticated user
|
|
@@ -6356,7 +6539,7 @@ var ConsumerIdentityTag = class extends TagAbstract47 {
|
|
|
6356
6539
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6357
6540
|
throw new CommonMessageException(await response.json());
|
|
6358
6541
|
}
|
|
6359
|
-
throw new
|
|
6542
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6360
6543
|
}
|
|
6361
6544
|
/**
|
|
6362
6545
|
* Redirect the user to the configured identity provider
|
|
@@ -6383,14 +6566,14 @@ var ConsumerIdentityTag = class extends TagAbstract47 {
|
|
|
6383
6566
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6384
6567
|
throw new CommonMessageException(await response.json());
|
|
6385
6568
|
}
|
|
6386
|
-
throw new
|
|
6569
|
+
throw new UnknownStatusCodeException46("The server returned an unknown status code: " + statusCode);
|
|
6387
6570
|
}
|
|
6388
6571
|
};
|
|
6389
6572
|
|
|
6390
6573
|
// src/ConsumerLogTag.ts
|
|
6391
|
-
import { TagAbstract as
|
|
6392
|
-
import { UnknownStatusCodeException as
|
|
6393
|
-
var ConsumerLogTag = class extends
|
|
6574
|
+
import { TagAbstract as TagAbstract49 } from "sdkgen-client";
|
|
6575
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException47 } from "sdkgen-client";
|
|
6576
|
+
var ConsumerLogTag = class extends TagAbstract49 {
|
|
6394
6577
|
/**
|
|
6395
6578
|
* Returns a specific log for the authenticated user
|
|
6396
6579
|
*
|
|
@@ -6416,7 +6599,7 @@ var ConsumerLogTag = class extends TagAbstract48 {
|
|
|
6416
6599
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6417
6600
|
throw new CommonMessageException(await response.json());
|
|
6418
6601
|
}
|
|
6419
|
-
throw new
|
|
6602
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6420
6603
|
}
|
|
6421
6604
|
/**
|
|
6422
6605
|
* Returns a paginated list of logs which are assigned to the authenticated user
|
|
@@ -6445,14 +6628,14 @@ var ConsumerLogTag = class extends TagAbstract48 {
|
|
|
6445
6628
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6446
6629
|
throw new CommonMessageException(await response.json());
|
|
6447
6630
|
}
|
|
6448
|
-
throw new
|
|
6631
|
+
throw new UnknownStatusCodeException47("The server returned an unknown status code: " + statusCode);
|
|
6449
6632
|
}
|
|
6450
6633
|
};
|
|
6451
6634
|
|
|
6452
6635
|
// src/ConsumerPageTag.ts
|
|
6453
|
-
import { TagAbstract as
|
|
6454
|
-
import { UnknownStatusCodeException as
|
|
6455
|
-
var ConsumerPageTag = class extends
|
|
6636
|
+
import { TagAbstract as TagAbstract50 } from "sdkgen-client";
|
|
6637
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException48 } from "sdkgen-client";
|
|
6638
|
+
var ConsumerPageTag = class extends TagAbstract50 {
|
|
6456
6639
|
/**
|
|
6457
6640
|
* Returns a specific page for the authenticated user
|
|
6458
6641
|
*
|
|
@@ -6478,7 +6661,7 @@ var ConsumerPageTag = class extends TagAbstract49 {
|
|
|
6478
6661
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6479
6662
|
throw new CommonMessageException(await response.json());
|
|
6480
6663
|
}
|
|
6481
|
-
throw new
|
|
6664
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6482
6665
|
}
|
|
6483
6666
|
/**
|
|
6484
6667
|
* Returns a paginated list of pages which are relevant to the authenticated user
|
|
@@ -6507,14 +6690,14 @@ var ConsumerPageTag = class extends TagAbstract49 {
|
|
|
6507
6690
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6508
6691
|
throw new CommonMessageException(await response.json());
|
|
6509
6692
|
}
|
|
6510
|
-
throw new
|
|
6693
|
+
throw new UnknownStatusCodeException48("The server returned an unknown status code: " + statusCode);
|
|
6511
6694
|
}
|
|
6512
6695
|
};
|
|
6513
6696
|
|
|
6514
6697
|
// src/ConsumerPaymentTag.ts
|
|
6515
|
-
import { TagAbstract as
|
|
6516
|
-
import { UnknownStatusCodeException as
|
|
6517
|
-
var ConsumerPaymentTag = class extends
|
|
6698
|
+
import { TagAbstract as TagAbstract51 } from "sdkgen-client";
|
|
6699
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException49 } from "sdkgen-client";
|
|
6700
|
+
var ConsumerPaymentTag = class extends TagAbstract51 {
|
|
6518
6701
|
/**
|
|
6519
6702
|
* Start the checkout process for a specific plan
|
|
6520
6703
|
*
|
|
@@ -6543,7 +6726,7 @@ var ConsumerPaymentTag = class extends TagAbstract50 {
|
|
|
6543
6726
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6544
6727
|
throw new CommonMessageException(await response.json());
|
|
6545
6728
|
}
|
|
6546
|
-
throw new
|
|
6729
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
6547
6730
|
}
|
|
6548
6731
|
/**
|
|
6549
6732
|
* Generates a payment portal link for the authenticated user
|
|
@@ -6573,14 +6756,14 @@ var ConsumerPaymentTag = class extends TagAbstract50 {
|
|
|
6573
6756
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6574
6757
|
throw new CommonMessageException(await response.json());
|
|
6575
6758
|
}
|
|
6576
|
-
throw new
|
|
6759
|
+
throw new UnknownStatusCodeException49("The server returned an unknown status code: " + statusCode);
|
|
6577
6760
|
}
|
|
6578
6761
|
};
|
|
6579
6762
|
|
|
6580
6763
|
// src/ConsumerPlanTag.ts
|
|
6581
|
-
import { TagAbstract as
|
|
6582
|
-
import { UnknownStatusCodeException as
|
|
6583
|
-
var ConsumerPlanTag = class extends
|
|
6764
|
+
import { TagAbstract as TagAbstract52 } from "sdkgen-client";
|
|
6765
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException50 } from "sdkgen-client";
|
|
6766
|
+
var ConsumerPlanTag = class extends TagAbstract52 {
|
|
6584
6767
|
/**
|
|
6585
6768
|
* Returns a specific plan for the authenticated user
|
|
6586
6769
|
*
|
|
@@ -6606,7 +6789,7 @@ var ConsumerPlanTag = class extends TagAbstract51 {
|
|
|
6606
6789
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6607
6790
|
throw new CommonMessageException(await response.json());
|
|
6608
6791
|
}
|
|
6609
|
-
throw new
|
|
6792
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
6610
6793
|
}
|
|
6611
6794
|
/**
|
|
6612
6795
|
* Returns a paginated list of plans which are relevant to the authenticated user
|
|
@@ -6635,14 +6818,14 @@ var ConsumerPlanTag = class extends TagAbstract51 {
|
|
|
6635
6818
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6636
6819
|
throw new CommonMessageException(await response.json());
|
|
6637
6820
|
}
|
|
6638
|
-
throw new
|
|
6821
|
+
throw new UnknownStatusCodeException50("The server returned an unknown status code: " + statusCode);
|
|
6639
6822
|
}
|
|
6640
6823
|
};
|
|
6641
6824
|
|
|
6642
6825
|
// src/ConsumerScopeTag.ts
|
|
6643
|
-
import { TagAbstract as
|
|
6644
|
-
import { UnknownStatusCodeException as
|
|
6645
|
-
var ConsumerScopeTag = class extends
|
|
6826
|
+
import { TagAbstract as TagAbstract53 } from "sdkgen-client";
|
|
6827
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException51 } from "sdkgen-client";
|
|
6828
|
+
var ConsumerScopeTag = class extends TagAbstract53 {
|
|
6646
6829
|
/**
|
|
6647
6830
|
* Returns a paginated list of scopes which are assigned to the authenticated user
|
|
6648
6831
|
*
|
|
@@ -6670,7 +6853,7 @@ var ConsumerScopeTag = class extends TagAbstract52 {
|
|
|
6670
6853
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6671
6854
|
throw new CommonMessageException(await response.json());
|
|
6672
6855
|
}
|
|
6673
|
-
throw new
|
|
6856
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
6674
6857
|
}
|
|
6675
6858
|
/**
|
|
6676
6859
|
* Returns all scopes by category
|
|
@@ -6695,14 +6878,14 @@ var ConsumerScopeTag = class extends TagAbstract52 {
|
|
|
6695
6878
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6696
6879
|
throw new CommonMessageException(await response.json());
|
|
6697
6880
|
}
|
|
6698
|
-
throw new
|
|
6881
|
+
throw new UnknownStatusCodeException51("The server returned an unknown status code: " + statusCode);
|
|
6699
6882
|
}
|
|
6700
6883
|
};
|
|
6701
6884
|
|
|
6702
6885
|
// src/ConsumerTokenTag.ts
|
|
6703
|
-
import { TagAbstract as
|
|
6704
|
-
import { UnknownStatusCodeException as
|
|
6705
|
-
var ConsumerTokenTag = class extends
|
|
6886
|
+
import { TagAbstract as TagAbstract54 } from "sdkgen-client";
|
|
6887
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException52 } from "sdkgen-client";
|
|
6888
|
+
var ConsumerTokenTag = class extends TagAbstract54 {
|
|
6706
6889
|
/**
|
|
6707
6890
|
* Creates a new token for the authenticated user
|
|
6708
6891
|
*
|
|
@@ -6729,7 +6912,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
|
|
|
6729
6912
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6730
6913
|
throw new CommonMessageException(await response.json());
|
|
6731
6914
|
}
|
|
6732
|
-
throw new
|
|
6915
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6733
6916
|
}
|
|
6734
6917
|
/**
|
|
6735
6918
|
* Deletes an existing token for the authenticated user
|
|
@@ -6756,7 +6939,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
|
|
|
6756
6939
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6757
6940
|
throw new CommonMessageException(await response.json());
|
|
6758
6941
|
}
|
|
6759
|
-
throw new
|
|
6942
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6760
6943
|
}
|
|
6761
6944
|
/**
|
|
6762
6945
|
* Returns a specific token for the authenticated user
|
|
@@ -6783,7 +6966,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
|
|
|
6783
6966
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6784
6967
|
throw new CommonMessageException(await response.json());
|
|
6785
6968
|
}
|
|
6786
|
-
throw new
|
|
6969
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6787
6970
|
}
|
|
6788
6971
|
/**
|
|
6789
6972
|
* Returns a paginated list of tokens which are assigned to the authenticated user
|
|
@@ -6812,7 +6995,7 @@ var ConsumerTokenTag = class extends TagAbstract53 {
|
|
|
6812
6995
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6813
6996
|
throw new CommonMessageException(await response.json());
|
|
6814
6997
|
}
|
|
6815
|
-
throw new
|
|
6998
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6816
6999
|
}
|
|
6817
7000
|
/**
|
|
6818
7001
|
* Updates an existing token for the authenticated user
|
|
@@ -6842,14 +7025,14 @@ var ConsumerTokenTag = class extends TagAbstract53 {
|
|
|
6842
7025
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6843
7026
|
throw new CommonMessageException(await response.json());
|
|
6844
7027
|
}
|
|
6845
|
-
throw new
|
|
7028
|
+
throw new UnknownStatusCodeException52("The server returned an unknown status code: " + statusCode);
|
|
6846
7029
|
}
|
|
6847
7030
|
};
|
|
6848
7031
|
|
|
6849
7032
|
// src/ConsumerTransactionTag.ts
|
|
6850
|
-
import { TagAbstract as
|
|
6851
|
-
import { UnknownStatusCodeException as
|
|
6852
|
-
var ConsumerTransactionTag = class extends
|
|
7033
|
+
import { TagAbstract as TagAbstract55 } from "sdkgen-client";
|
|
7034
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException53 } from "sdkgen-client";
|
|
7035
|
+
var ConsumerTransactionTag = class extends TagAbstract55 {
|
|
6853
7036
|
/**
|
|
6854
7037
|
* Returns a specific transaction for the authenticated user
|
|
6855
7038
|
*
|
|
@@ -6875,7 +7058,7 @@ var ConsumerTransactionTag = class extends TagAbstract54 {
|
|
|
6875
7058
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6876
7059
|
throw new CommonMessageException(await response.json());
|
|
6877
7060
|
}
|
|
6878
|
-
throw new
|
|
7061
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
6879
7062
|
}
|
|
6880
7063
|
/**
|
|
6881
7064
|
* Returns a paginated list of transactions which are assigned to the authenticated user
|
|
@@ -6904,14 +7087,14 @@ var ConsumerTransactionTag = class extends TagAbstract54 {
|
|
|
6904
7087
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6905
7088
|
throw new CommonMessageException(await response.json());
|
|
6906
7089
|
}
|
|
6907
|
-
throw new
|
|
7090
|
+
throw new UnknownStatusCodeException53("The server returned an unknown status code: " + statusCode);
|
|
6908
7091
|
}
|
|
6909
7092
|
};
|
|
6910
7093
|
|
|
6911
7094
|
// src/ConsumerWebhookTag.ts
|
|
6912
|
-
import { TagAbstract as
|
|
6913
|
-
import { UnknownStatusCodeException as
|
|
6914
|
-
var ConsumerWebhookTag = class extends
|
|
7095
|
+
import { TagAbstract as TagAbstract56 } from "sdkgen-client";
|
|
7096
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException54 } from "sdkgen-client";
|
|
7097
|
+
var ConsumerWebhookTag = class extends TagAbstract56 {
|
|
6915
7098
|
/**
|
|
6916
7099
|
* Creates a new webhook for the authenticated user
|
|
6917
7100
|
*
|
|
@@ -6938,7 +7121,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
|
|
|
6938
7121
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6939
7122
|
throw new CommonMessageException(await response.json());
|
|
6940
7123
|
}
|
|
6941
|
-
throw new
|
|
7124
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
6942
7125
|
}
|
|
6943
7126
|
/**
|
|
6944
7127
|
* Deletes an existing webhook for the authenticated user
|
|
@@ -6965,7 +7148,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
|
|
|
6965
7148
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6966
7149
|
throw new CommonMessageException(await response.json());
|
|
6967
7150
|
}
|
|
6968
|
-
throw new
|
|
7151
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
6969
7152
|
}
|
|
6970
7153
|
/**
|
|
6971
7154
|
* Returns a specific webhook for the authenticated user
|
|
@@ -6992,7 +7175,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
|
|
|
6992
7175
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
6993
7176
|
throw new CommonMessageException(await response.json());
|
|
6994
7177
|
}
|
|
6995
|
-
throw new
|
|
7178
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
6996
7179
|
}
|
|
6997
7180
|
/**
|
|
6998
7181
|
* Returns a paginated list of webhooks which are assigned to the authenticated user
|
|
@@ -7021,7 +7204,7 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
|
|
|
7021
7204
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7022
7205
|
throw new CommonMessageException(await response.json());
|
|
7023
7206
|
}
|
|
7024
|
-
throw new
|
|
7207
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7025
7208
|
}
|
|
7026
7209
|
/**
|
|
7027
7210
|
* Updates an existing webhook for the authenticated user
|
|
@@ -7051,12 +7234,12 @@ var ConsumerWebhookTag = class extends TagAbstract55 {
|
|
|
7051
7234
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7052
7235
|
throw new CommonMessageException(await response.json());
|
|
7053
7236
|
}
|
|
7054
|
-
throw new
|
|
7237
|
+
throw new UnknownStatusCodeException54("The server returned an unknown status code: " + statusCode);
|
|
7055
7238
|
}
|
|
7056
7239
|
};
|
|
7057
7240
|
|
|
7058
7241
|
// src/ConsumerTag.ts
|
|
7059
|
-
var ConsumerTag = class extends
|
|
7242
|
+
var ConsumerTag = class extends TagAbstract57 {
|
|
7060
7243
|
account() {
|
|
7061
7244
|
return new ConsumerAccountTag(
|
|
7062
7245
|
this.httpClient,
|
|
@@ -7144,12 +7327,12 @@ var ConsumerTag = class extends TagAbstract56 {
|
|
|
7144
7327
|
};
|
|
7145
7328
|
|
|
7146
7329
|
// src/SystemTag.ts
|
|
7147
|
-
import { TagAbstract as
|
|
7330
|
+
import { TagAbstract as TagAbstract61 } from "sdkgen-client";
|
|
7148
7331
|
|
|
7149
7332
|
// src/SystemConnectionTag.ts
|
|
7150
|
-
import { TagAbstract as
|
|
7151
|
-
import { UnknownStatusCodeException as
|
|
7152
|
-
var SystemConnectionTag = class extends
|
|
7333
|
+
import { TagAbstract as TagAbstract58 } from "sdkgen-client";
|
|
7334
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException55 } from "sdkgen-client";
|
|
7335
|
+
var SystemConnectionTag = class extends TagAbstract58 {
|
|
7153
7336
|
/**
|
|
7154
7337
|
* Connection OAuth2 callback to authorize a connection
|
|
7155
7338
|
*
|
|
@@ -7175,14 +7358,14 @@ var SystemConnectionTag = class extends TagAbstract57 {
|
|
|
7175
7358
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7176
7359
|
throw new CommonMessageException(await response.json());
|
|
7177
7360
|
}
|
|
7178
|
-
throw new
|
|
7361
|
+
throw new UnknownStatusCodeException55("The server returned an unknown status code: " + statusCode);
|
|
7179
7362
|
}
|
|
7180
7363
|
};
|
|
7181
7364
|
|
|
7182
7365
|
// src/SystemMetaTag.ts
|
|
7183
|
-
import { TagAbstract as
|
|
7184
|
-
import { UnknownStatusCodeException as
|
|
7185
|
-
var SystemMetaTag = class extends
|
|
7366
|
+
import { TagAbstract as TagAbstract59 } from "sdkgen-client";
|
|
7367
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException56 } from "sdkgen-client";
|
|
7368
|
+
var SystemMetaTag = class extends TagAbstract59 {
|
|
7186
7369
|
/**
|
|
7187
7370
|
* Returns meta information and links about the current installed Fusio version
|
|
7188
7371
|
*
|
|
@@ -7206,7 +7389,7 @@ var SystemMetaTag = class extends TagAbstract58 {
|
|
|
7206
7389
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7207
7390
|
throw new CommonMessageException(await response.json());
|
|
7208
7391
|
}
|
|
7209
|
-
throw new
|
|
7392
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7210
7393
|
}
|
|
7211
7394
|
/**
|
|
7212
7395
|
* Debug endpoint which returns the provided data
|
|
@@ -7234,7 +7417,7 @@ var SystemMetaTag = class extends TagAbstract58 {
|
|
|
7234
7417
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7235
7418
|
throw new CommonMessageException(await response.json());
|
|
7236
7419
|
}
|
|
7237
|
-
throw new
|
|
7420
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7238
7421
|
}
|
|
7239
7422
|
/**
|
|
7240
7423
|
* Health check endpoint which returns information about the health status of the system
|
|
@@ -7259,7 +7442,7 @@ var SystemMetaTag = class extends TagAbstract58 {
|
|
|
7259
7442
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7260
7443
|
throw new CommonMessageException(await response.json());
|
|
7261
7444
|
}
|
|
7262
|
-
throw new
|
|
7445
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7263
7446
|
}
|
|
7264
7447
|
/**
|
|
7265
7448
|
* Returns all available routes
|
|
@@ -7284,7 +7467,7 @@ var SystemMetaTag = class extends TagAbstract58 {
|
|
|
7284
7467
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7285
7468
|
throw new CommonMessageException(await response.json());
|
|
7286
7469
|
}
|
|
7287
|
-
throw new
|
|
7470
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7288
7471
|
}
|
|
7289
7472
|
/**
|
|
7290
7473
|
* Returns details of a specific schema
|
|
@@ -7311,14 +7494,14 @@ var SystemMetaTag = class extends TagAbstract58 {
|
|
|
7311
7494
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7312
7495
|
throw new CommonMessageException(await response.json());
|
|
7313
7496
|
}
|
|
7314
|
-
throw new
|
|
7497
|
+
throw new UnknownStatusCodeException56("The server returned an unknown status code: " + statusCode);
|
|
7315
7498
|
}
|
|
7316
7499
|
};
|
|
7317
7500
|
|
|
7318
7501
|
// src/SystemPaymentTag.ts
|
|
7319
|
-
import { TagAbstract as
|
|
7320
|
-
import { UnknownStatusCodeException as
|
|
7321
|
-
var SystemPaymentTag = class extends
|
|
7502
|
+
import { TagAbstract as TagAbstract60 } from "sdkgen-client";
|
|
7503
|
+
import { UnknownStatusCodeException as UnknownStatusCodeException57 } from "sdkgen-client";
|
|
7504
|
+
var SystemPaymentTag = class extends TagAbstract60 {
|
|
7322
7505
|
/**
|
|
7323
7506
|
* Payment webhook endpoint after successful purchase of a plan
|
|
7324
7507
|
*
|
|
@@ -7344,12 +7527,12 @@ var SystemPaymentTag = class extends TagAbstract59 {
|
|
|
7344
7527
|
if (statusCode >= 0 && statusCode <= 999) {
|
|
7345
7528
|
throw new CommonMessageException(await response.json());
|
|
7346
7529
|
}
|
|
7347
|
-
throw new
|
|
7530
|
+
throw new UnknownStatusCodeException57("The server returned an unknown status code: " + statusCode);
|
|
7348
7531
|
}
|
|
7349
7532
|
};
|
|
7350
7533
|
|
|
7351
7534
|
// src/SystemTag.ts
|
|
7352
|
-
var SystemTag = class extends
|
|
7535
|
+
var SystemTag = class extends TagAbstract61 {
|
|
7353
7536
|
connection() {
|
|
7354
7537
|
return new SystemConnectionTag(
|
|
7355
7538
|
this.httpClient,
|
|
@@ -7440,6 +7623,7 @@ export {
|
|
|
7440
7623
|
BackendTokenTag,
|
|
7441
7624
|
BackendTransactionTag,
|
|
7442
7625
|
BackendTrashTag,
|
|
7626
|
+
BackendTriggerTag,
|
|
7443
7627
|
BackendUserTag,
|
|
7444
7628
|
BackendWebhookTag,
|
|
7445
7629
|
Client,
|