@zyphr-dev/node-sdk 0.1.55 → 0.1.57
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 +1883 -319
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -10
- package/dist/index.d.ts +31 -10
- package/dist/index.js +1883 -319
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/clientAuth.ts +15 -4
- package/src/src/apis/AuthApplicationApi.ts +32 -4
- package/src/src/apis/AuthEmailOTPApi.ts +72 -9
- package/src/src/apis/AuthEmailTemplatesApi.ts +160 -20
- package/src/src/apis/AuthEmailVerificationApi.ts +48 -6
- package/src/src/apis/AuthLoginApi.ts +16 -2
- package/src/src/apis/AuthMFAApi.ts +112 -14
- package/src/src/apis/AuthMagicLinksApi.ts +32 -4
- package/src/src/apis/AuthOAuthApi.ts +88 -11
- package/src/src/apis/AuthOrganizationsApi.ts +176 -22
- package/src/src/apis/AuthPasswordResetApi.ts +52 -10
- package/src/src/apis/AuthPhoneApi.ts +72 -9
- package/src/src/apis/AuthRegistrationApi.ts +40 -5
- package/src/src/apis/AuthSessionsApi.ts +56 -7
- package/src/src/apis/AuthUserDirectoryApi.ts +144 -18
- package/src/src/apis/AuthUserProfileApi.ts +32 -4
- package/src/src/apis/AuthWebAuthnApi.ts +96 -12
- package/src/src/apis/DevicesApi.ts +52 -10
- package/src/src/apis/DomainsApi.ts +56 -7
- package/src/src/apis/EmailsApi.ts +48 -6
- package/src/src/apis/ExecutionsApi.ts +24 -3
- package/src/src/apis/InboundEmailApi.ts +24 -3
- package/src/src/apis/InboxApi.ts +88 -11
- package/src/src/apis/PushApi.ts +72 -9
- package/src/src/apis/SMSApi.ts +80 -10
- package/src/src/apis/SlackApi.ts +24 -3
- package/src/src/apis/SubscribersApi.ts +160 -20
- package/src/src/apis/TemplatesApi.ts +48 -6
- package/src/src/apis/TopicsApi.ts +72 -9
- package/src/src/apis/UtilityApi.ts +16 -2
- package/src/src/apis/WaaSApplicationsApi.ts +48 -6
- package/src/src/apis/WaaSDeliveriesApi.ts +32 -4
- package/src/src/apis/WaaSEndpointsApi.ts +72 -9
- package/src/src/apis/WaaSEventTypesApi.ts +48 -6
- package/src/src/apis/WaaSEventsApi.ts +16 -2
- package/src/src/apis/WaaSPortalApi.ts +8 -1
- package/src/src/apis/WebhooksApi.ts +176 -22
- package/src/src/apis/WorkflowsApi.ts +96 -12
- package/src/src/models/InviteEndUser200ResponseData.ts +25 -0
package/dist/index.js
CHANGED
|
@@ -6461,7 +6461,8 @@ function InviteEndUser200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
6461
6461
|
return {
|
|
6462
6462
|
"userId": json["user_id"] == null ? void 0 : json["user_id"],
|
|
6463
6463
|
"created": json["created"] == null ? void 0 : json["created"],
|
|
6464
|
-
"linkSent": json["link_sent"] == null ? void 0 : json["link_sent"]
|
|
6464
|
+
"linkSent": json["link_sent"] == null ? void 0 : json["link_sent"],
|
|
6465
|
+
"linkSuppressedReason": json["link_suppressed_reason"] == null ? void 0 : json["link_suppressed_reason"]
|
|
6465
6466
|
};
|
|
6466
6467
|
}
|
|
6467
6468
|
function InviteEndUser200ResponseDataToJSON(json) {
|
|
@@ -6474,7 +6475,8 @@ function InviteEndUser200ResponseDataToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
6474
6475
|
return {
|
|
6475
6476
|
"user_id": value["userId"],
|
|
6476
6477
|
"created": value["created"],
|
|
6477
|
-
"link_sent": value["linkSent"]
|
|
6478
|
+
"link_sent": value["linkSent"],
|
|
6479
|
+
"link_suppressed_reason": value["linkSuppressedReason"]
|
|
6478
6480
|
};
|
|
6479
6481
|
}
|
|
6480
6482
|
|
|
@@ -17062,10 +17064,20 @@ var AuthApplicationApi = class extends BaseAPI {
|
|
|
17062
17064
|
const queryParameters = {};
|
|
17063
17065
|
const headerParameters = {};
|
|
17064
17066
|
if (this.configuration && this.configuration.apiKey) {
|
|
17065
|
-
|
|
17067
|
+
{
|
|
17068
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17069
|
+
if (apiKeyValue) {
|
|
17070
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17071
|
+
}
|
|
17072
|
+
}
|
|
17066
17073
|
}
|
|
17067
17074
|
if (this.configuration && this.configuration.apiKey) {
|
|
17068
|
-
|
|
17075
|
+
{
|
|
17076
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17077
|
+
if (apiKeyValue) {
|
|
17078
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17079
|
+
}
|
|
17080
|
+
}
|
|
17069
17081
|
}
|
|
17070
17082
|
const response = await this.request({
|
|
17071
17083
|
path: `/auth/application`,
|
|
@@ -17098,10 +17110,20 @@ var AuthApplicationApi = class extends BaseAPI {
|
|
|
17098
17110
|
const headerParameters = {};
|
|
17099
17111
|
headerParameters["Content-Type"] = "application/json";
|
|
17100
17112
|
if (this.configuration && this.configuration.apiKey) {
|
|
17101
|
-
|
|
17113
|
+
{
|
|
17114
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17115
|
+
if (apiKeyValue) {
|
|
17116
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17117
|
+
}
|
|
17118
|
+
}
|
|
17102
17119
|
}
|
|
17103
17120
|
if (this.configuration && this.configuration.apiKey) {
|
|
17104
|
-
|
|
17121
|
+
{
|
|
17122
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17123
|
+
if (apiKeyValue) {
|
|
17124
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17125
|
+
}
|
|
17126
|
+
}
|
|
17105
17127
|
}
|
|
17106
17128
|
const response = await this.request({
|
|
17107
17129
|
path: `/auth/application`,
|
|
@@ -17132,7 +17154,12 @@ var AuthEmailOTPApi = class extends BaseAPI {
|
|
|
17132
17154
|
const queryParameters = {};
|
|
17133
17155
|
const headerParameters = {};
|
|
17134
17156
|
if (this.configuration && this.configuration.apiKey) {
|
|
17135
|
-
|
|
17157
|
+
{
|
|
17158
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17159
|
+
if (apiKeyValue) {
|
|
17160
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17161
|
+
}
|
|
17162
|
+
}
|
|
17136
17163
|
}
|
|
17137
17164
|
const response = await this.request({
|
|
17138
17165
|
path: `/auth/email-otp/available`,
|
|
@@ -17165,10 +17192,20 @@ var AuthEmailOTPApi = class extends BaseAPI {
|
|
|
17165
17192
|
const headerParameters = {};
|
|
17166
17193
|
headerParameters["Content-Type"] = "application/json";
|
|
17167
17194
|
if (this.configuration && this.configuration.apiKey) {
|
|
17168
|
-
|
|
17195
|
+
{
|
|
17196
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17197
|
+
if (apiKeyValue) {
|
|
17198
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17199
|
+
}
|
|
17200
|
+
}
|
|
17169
17201
|
}
|
|
17170
17202
|
if (this.configuration && this.configuration.apiKey) {
|
|
17171
|
-
|
|
17203
|
+
{
|
|
17204
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17205
|
+
if (apiKeyValue) {
|
|
17206
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17207
|
+
}
|
|
17208
|
+
}
|
|
17172
17209
|
}
|
|
17173
17210
|
const response = await this.request({
|
|
17174
17211
|
path: `/auth/email-otp/login/send`,
|
|
@@ -17202,10 +17239,20 @@ var AuthEmailOTPApi = class extends BaseAPI {
|
|
|
17202
17239
|
const headerParameters = {};
|
|
17203
17240
|
headerParameters["Content-Type"] = "application/json";
|
|
17204
17241
|
if (this.configuration && this.configuration.apiKey) {
|
|
17205
|
-
|
|
17242
|
+
{
|
|
17243
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17244
|
+
if (apiKeyValue) {
|
|
17245
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17246
|
+
}
|
|
17247
|
+
}
|
|
17206
17248
|
}
|
|
17207
17249
|
if (this.configuration && this.configuration.apiKey) {
|
|
17208
|
-
|
|
17250
|
+
{
|
|
17251
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17252
|
+
if (apiKeyValue) {
|
|
17253
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17254
|
+
}
|
|
17255
|
+
}
|
|
17209
17256
|
}
|
|
17210
17257
|
const response = await this.request({
|
|
17211
17258
|
path: `/auth/email-otp/register/send`,
|
|
@@ -17239,10 +17286,20 @@ var AuthEmailOTPApi = class extends BaseAPI {
|
|
|
17239
17286
|
const headerParameters = {};
|
|
17240
17287
|
headerParameters["Content-Type"] = "application/json";
|
|
17241
17288
|
if (this.configuration && this.configuration.apiKey) {
|
|
17242
|
-
|
|
17289
|
+
{
|
|
17290
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17291
|
+
if (apiKeyValue) {
|
|
17292
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17293
|
+
}
|
|
17294
|
+
}
|
|
17243
17295
|
}
|
|
17244
17296
|
if (this.configuration && this.configuration.apiKey) {
|
|
17245
|
-
|
|
17297
|
+
{
|
|
17298
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17299
|
+
if (apiKeyValue) {
|
|
17300
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17301
|
+
}
|
|
17302
|
+
}
|
|
17246
17303
|
}
|
|
17247
17304
|
const response = await this.request({
|
|
17248
17305
|
path: `/auth/email-otp/login/verify`,
|
|
@@ -17276,10 +17333,20 @@ var AuthEmailOTPApi = class extends BaseAPI {
|
|
|
17276
17333
|
const headerParameters = {};
|
|
17277
17334
|
headerParameters["Content-Type"] = "application/json";
|
|
17278
17335
|
if (this.configuration && this.configuration.apiKey) {
|
|
17279
|
-
|
|
17336
|
+
{
|
|
17337
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17338
|
+
if (apiKeyValue) {
|
|
17339
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17340
|
+
}
|
|
17341
|
+
}
|
|
17280
17342
|
}
|
|
17281
17343
|
if (this.configuration && this.configuration.apiKey) {
|
|
17282
|
-
|
|
17344
|
+
{
|
|
17345
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17346
|
+
if (apiKeyValue) {
|
|
17347
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17348
|
+
}
|
|
17349
|
+
}
|
|
17283
17350
|
}
|
|
17284
17351
|
const response = await this.request({
|
|
17285
17352
|
path: `/auth/email-otp/register/verify`,
|
|
@@ -17317,10 +17384,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17317
17384
|
const headerParameters = {};
|
|
17318
17385
|
headerParameters["Content-Type"] = "application/json";
|
|
17319
17386
|
if (this.configuration && this.configuration.apiKey) {
|
|
17320
|
-
|
|
17387
|
+
{
|
|
17388
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17389
|
+
if (apiKeyValue) {
|
|
17390
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17391
|
+
}
|
|
17392
|
+
}
|
|
17321
17393
|
}
|
|
17322
17394
|
if (this.configuration && this.configuration.apiKey) {
|
|
17323
|
-
|
|
17395
|
+
{
|
|
17396
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17397
|
+
if (apiKeyValue) {
|
|
17398
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17399
|
+
}
|
|
17400
|
+
}
|
|
17324
17401
|
}
|
|
17325
17402
|
const response = await this.request({
|
|
17326
17403
|
path: `/auth/email-templates`,
|
|
@@ -17353,10 +17430,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17353
17430
|
const queryParameters = {};
|
|
17354
17431
|
const headerParameters = {};
|
|
17355
17432
|
if (this.configuration && this.configuration.apiKey) {
|
|
17356
|
-
|
|
17433
|
+
{
|
|
17434
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17435
|
+
if (apiKeyValue) {
|
|
17436
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17437
|
+
}
|
|
17438
|
+
}
|
|
17357
17439
|
}
|
|
17358
17440
|
if (this.configuration && this.configuration.apiKey) {
|
|
17359
|
-
|
|
17441
|
+
{
|
|
17442
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17443
|
+
if (apiKeyValue) {
|
|
17444
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17445
|
+
}
|
|
17446
|
+
}
|
|
17360
17447
|
}
|
|
17361
17448
|
const response = await this.request({
|
|
17362
17449
|
path: `/auth/email-templates/{type}`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17388,10 +17475,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17388
17475
|
const queryParameters = {};
|
|
17389
17476
|
const headerParameters = {};
|
|
17390
17477
|
if (this.configuration && this.configuration.apiKey) {
|
|
17391
|
-
|
|
17478
|
+
{
|
|
17479
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17480
|
+
if (apiKeyValue) {
|
|
17481
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17482
|
+
}
|
|
17483
|
+
}
|
|
17392
17484
|
}
|
|
17393
17485
|
if (this.configuration && this.configuration.apiKey) {
|
|
17394
|
-
|
|
17486
|
+
{
|
|
17487
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17488
|
+
if (apiKeyValue) {
|
|
17489
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17490
|
+
}
|
|
17491
|
+
}
|
|
17395
17492
|
}
|
|
17396
17493
|
const response = await this.request({
|
|
17397
17494
|
path: `/auth/email-templates/{type}`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17423,10 +17520,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17423
17520
|
const queryParameters = {};
|
|
17424
17521
|
const headerParameters = {};
|
|
17425
17522
|
if (this.configuration && this.configuration.apiKey) {
|
|
17426
|
-
|
|
17523
|
+
{
|
|
17524
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17525
|
+
if (apiKeyValue) {
|
|
17526
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17527
|
+
}
|
|
17528
|
+
}
|
|
17427
17529
|
}
|
|
17428
17530
|
if (this.configuration && this.configuration.apiKey) {
|
|
17429
|
-
|
|
17531
|
+
{
|
|
17532
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17533
|
+
if (apiKeyValue) {
|
|
17534
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17535
|
+
}
|
|
17536
|
+
}
|
|
17430
17537
|
}
|
|
17431
17538
|
const response = await this.request({
|
|
17432
17539
|
path: `/auth/email-templates/{type}/default`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17457,10 +17564,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17457
17564
|
const queryParameters = {};
|
|
17458
17565
|
const headerParameters = {};
|
|
17459
17566
|
if (this.configuration && this.configuration.apiKey) {
|
|
17460
|
-
|
|
17567
|
+
{
|
|
17568
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17569
|
+
if (apiKeyValue) {
|
|
17570
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17571
|
+
}
|
|
17572
|
+
}
|
|
17461
17573
|
}
|
|
17462
17574
|
if (this.configuration && this.configuration.apiKey) {
|
|
17463
|
-
|
|
17575
|
+
{
|
|
17576
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17577
|
+
if (apiKeyValue) {
|
|
17578
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17579
|
+
}
|
|
17580
|
+
}
|
|
17464
17581
|
}
|
|
17465
17582
|
const response = await this.request({
|
|
17466
17583
|
path: `/auth/email-templates/{type}/versions`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17485,10 +17602,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17485
17602
|
const queryParameters = {};
|
|
17486
17603
|
const headerParameters = {};
|
|
17487
17604
|
if (this.configuration && this.configuration.apiKey) {
|
|
17488
|
-
|
|
17605
|
+
{
|
|
17606
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17607
|
+
if (apiKeyValue) {
|
|
17608
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17609
|
+
}
|
|
17610
|
+
}
|
|
17489
17611
|
}
|
|
17490
17612
|
if (this.configuration && this.configuration.apiKey) {
|
|
17491
|
-
|
|
17613
|
+
{
|
|
17614
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17615
|
+
if (apiKeyValue) {
|
|
17616
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17617
|
+
}
|
|
17618
|
+
}
|
|
17492
17619
|
}
|
|
17493
17620
|
const response = await this.request({
|
|
17494
17621
|
path: `/auth/email-templates`,
|
|
@@ -17521,10 +17648,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17521
17648
|
const headerParameters = {};
|
|
17522
17649
|
headerParameters["Content-Type"] = "application/json";
|
|
17523
17650
|
if (this.configuration && this.configuration.apiKey) {
|
|
17524
|
-
|
|
17651
|
+
{
|
|
17652
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17653
|
+
if (apiKeyValue) {
|
|
17654
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17655
|
+
}
|
|
17656
|
+
}
|
|
17525
17657
|
}
|
|
17526
17658
|
if (this.configuration && this.configuration.apiKey) {
|
|
17527
|
-
|
|
17659
|
+
{
|
|
17660
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17661
|
+
if (apiKeyValue) {
|
|
17662
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17663
|
+
}
|
|
17664
|
+
}
|
|
17528
17665
|
}
|
|
17529
17666
|
const response = await this.request({
|
|
17530
17667
|
path: `/auth/email-templates/{type}/preview`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17563,10 +17700,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17563
17700
|
const queryParameters = {};
|
|
17564
17701
|
const headerParameters = {};
|
|
17565
17702
|
if (this.configuration && this.configuration.apiKey) {
|
|
17566
|
-
|
|
17703
|
+
{
|
|
17704
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17705
|
+
if (apiKeyValue) {
|
|
17706
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17707
|
+
}
|
|
17708
|
+
}
|
|
17567
17709
|
}
|
|
17568
17710
|
if (this.configuration && this.configuration.apiKey) {
|
|
17569
|
-
|
|
17711
|
+
{
|
|
17712
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17713
|
+
if (apiKeyValue) {
|
|
17714
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17715
|
+
}
|
|
17716
|
+
}
|
|
17570
17717
|
}
|
|
17571
17718
|
const response = await this.request({
|
|
17572
17719
|
path: `/auth/email-templates/{type}/versions/{version}/restore`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))).replace(`{${"version"}}`, encodeURIComponent(String(requestParameters["version"]))),
|
|
@@ -17605,10 +17752,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17605
17752
|
const headerParameters = {};
|
|
17606
17753
|
headerParameters["Content-Type"] = "application/json";
|
|
17607
17754
|
if (this.configuration && this.configuration.apiKey) {
|
|
17608
|
-
|
|
17755
|
+
{
|
|
17756
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17757
|
+
if (apiKeyValue) {
|
|
17758
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17759
|
+
}
|
|
17760
|
+
}
|
|
17609
17761
|
}
|
|
17610
17762
|
if (this.configuration && this.configuration.apiKey) {
|
|
17611
|
-
|
|
17763
|
+
{
|
|
17764
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17765
|
+
if (apiKeyValue) {
|
|
17766
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17767
|
+
}
|
|
17768
|
+
}
|
|
17612
17769
|
}
|
|
17613
17770
|
const response = await this.request({
|
|
17614
17771
|
path: `/auth/email-templates/{type}/test`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17648,10 +17805,20 @@ var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
|
17648
17805
|
const headerParameters = {};
|
|
17649
17806
|
headerParameters["Content-Type"] = "application/json";
|
|
17650
17807
|
if (this.configuration && this.configuration.apiKey) {
|
|
17651
|
-
|
|
17808
|
+
{
|
|
17809
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17810
|
+
if (apiKeyValue) {
|
|
17811
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17812
|
+
}
|
|
17813
|
+
}
|
|
17652
17814
|
}
|
|
17653
17815
|
if (this.configuration && this.configuration.apiKey) {
|
|
17654
|
-
|
|
17816
|
+
{
|
|
17817
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17818
|
+
if (apiKeyValue) {
|
|
17819
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17820
|
+
}
|
|
17821
|
+
}
|
|
17655
17822
|
}
|
|
17656
17823
|
const response = await this.request({
|
|
17657
17824
|
path: `/auth/email-templates/{type}`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters["type"]))),
|
|
@@ -17689,10 +17856,20 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
17689
17856
|
const headerParameters = {};
|
|
17690
17857
|
headerParameters["Content-Type"] = "application/json";
|
|
17691
17858
|
if (this.configuration && this.configuration.apiKey) {
|
|
17692
|
-
|
|
17859
|
+
{
|
|
17860
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17861
|
+
if (apiKeyValue) {
|
|
17862
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17863
|
+
}
|
|
17864
|
+
}
|
|
17693
17865
|
}
|
|
17694
17866
|
if (this.configuration && this.configuration.apiKey) {
|
|
17695
|
-
|
|
17867
|
+
{
|
|
17868
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17869
|
+
if (apiKeyValue) {
|
|
17870
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17871
|
+
}
|
|
17872
|
+
}
|
|
17696
17873
|
}
|
|
17697
17874
|
const response = await this.request({
|
|
17698
17875
|
path: `/auth/verify-email/confirm`,
|
|
@@ -17720,7 +17897,12 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
17720
17897
|
const headerParameters = {};
|
|
17721
17898
|
headerParameters["Content-Type"] = "application/json";
|
|
17722
17899
|
if (this.configuration && this.configuration.apiKey) {
|
|
17723
|
-
|
|
17900
|
+
{
|
|
17901
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17902
|
+
if (apiKeyValue) {
|
|
17903
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17904
|
+
}
|
|
17905
|
+
}
|
|
17724
17906
|
}
|
|
17725
17907
|
if (this.configuration && this.configuration.accessToken) {
|
|
17726
17908
|
const token = this.configuration.accessToken;
|
|
@@ -17730,7 +17912,12 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
17730
17912
|
}
|
|
17731
17913
|
}
|
|
17732
17914
|
if (this.configuration && this.configuration.apiKey) {
|
|
17733
|
-
|
|
17915
|
+
{
|
|
17916
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17917
|
+
if (apiKeyValue) {
|
|
17918
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17919
|
+
}
|
|
17920
|
+
}
|
|
17734
17921
|
}
|
|
17735
17922
|
const response = await this.request({
|
|
17736
17923
|
path: `/auth/verify-email/resend`,
|
|
@@ -17758,7 +17945,12 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
17758
17945
|
const headerParameters = {};
|
|
17759
17946
|
headerParameters["Content-Type"] = "application/json";
|
|
17760
17947
|
if (this.configuration && this.configuration.apiKey) {
|
|
17761
|
-
|
|
17948
|
+
{
|
|
17949
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
17950
|
+
if (apiKeyValue) {
|
|
17951
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
17952
|
+
}
|
|
17953
|
+
}
|
|
17762
17954
|
}
|
|
17763
17955
|
if (this.configuration && this.configuration.accessToken) {
|
|
17764
17956
|
const token = this.configuration.accessToken;
|
|
@@ -17768,7 +17960,12 @@ var AuthEmailVerificationApi = class extends BaseAPI {
|
|
|
17768
17960
|
}
|
|
17769
17961
|
}
|
|
17770
17962
|
if (this.configuration && this.configuration.apiKey) {
|
|
17771
|
-
|
|
17963
|
+
{
|
|
17964
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
17965
|
+
if (apiKeyValue) {
|
|
17966
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
17967
|
+
}
|
|
17968
|
+
}
|
|
17772
17969
|
}
|
|
17773
17970
|
const response = await this.request({
|
|
17774
17971
|
path: `/auth/verify-email/send`,
|
|
@@ -17806,10 +18003,20 @@ var AuthLoginApi = class extends BaseAPI {
|
|
|
17806
18003
|
const headerParameters = {};
|
|
17807
18004
|
headerParameters["Content-Type"] = "application/json";
|
|
17808
18005
|
if (this.configuration && this.configuration.apiKey) {
|
|
17809
|
-
|
|
18006
|
+
{
|
|
18007
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18008
|
+
if (apiKeyValue) {
|
|
18009
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18010
|
+
}
|
|
18011
|
+
}
|
|
17810
18012
|
}
|
|
17811
18013
|
if (this.configuration && this.configuration.apiKey) {
|
|
17812
|
-
|
|
18014
|
+
{
|
|
18015
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18016
|
+
if (apiKeyValue) {
|
|
18017
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18018
|
+
}
|
|
18019
|
+
}
|
|
17813
18020
|
}
|
|
17814
18021
|
const response = await this.request({
|
|
17815
18022
|
path: `/auth/users/login`,
|
|
@@ -17847,10 +18054,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
17847
18054
|
const headerParameters = {};
|
|
17848
18055
|
headerParameters["Content-Type"] = "application/json";
|
|
17849
18056
|
if (this.configuration && this.configuration.apiKey) {
|
|
17850
|
-
|
|
18057
|
+
{
|
|
18058
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18059
|
+
if (apiKeyValue) {
|
|
18060
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18061
|
+
}
|
|
18062
|
+
}
|
|
17851
18063
|
}
|
|
17852
18064
|
if (this.configuration && this.configuration.apiKey) {
|
|
17853
|
-
|
|
18065
|
+
{
|
|
18066
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18067
|
+
if (apiKeyValue) {
|
|
18068
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18069
|
+
}
|
|
18070
|
+
}
|
|
17854
18071
|
}
|
|
17855
18072
|
const response = await this.request({
|
|
17856
18073
|
path: `/auth/mfa/disable`,
|
|
@@ -17883,10 +18100,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
17883
18100
|
const queryParameters = {};
|
|
17884
18101
|
const headerParameters = {};
|
|
17885
18102
|
if (this.configuration && this.configuration.apiKey) {
|
|
17886
|
-
|
|
18103
|
+
{
|
|
18104
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18105
|
+
if (apiKeyValue) {
|
|
18106
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18107
|
+
}
|
|
18108
|
+
}
|
|
17887
18109
|
}
|
|
17888
18110
|
if (this.configuration && this.configuration.apiKey) {
|
|
17889
|
-
|
|
18111
|
+
{
|
|
18112
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18113
|
+
if (apiKeyValue) {
|
|
18114
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18115
|
+
}
|
|
18116
|
+
}
|
|
17890
18117
|
}
|
|
17891
18118
|
const response = await this.request({
|
|
17892
18119
|
path: `/auth/mfa/status/{userId}`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -17919,10 +18146,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
17919
18146
|
const headerParameters = {};
|
|
17920
18147
|
headerParameters["Content-Type"] = "application/json";
|
|
17921
18148
|
if (this.configuration && this.configuration.apiKey) {
|
|
17922
|
-
|
|
18149
|
+
{
|
|
18150
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18151
|
+
if (apiKeyValue) {
|
|
18152
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18153
|
+
}
|
|
18154
|
+
}
|
|
17923
18155
|
}
|
|
17924
18156
|
if (this.configuration && this.configuration.apiKey) {
|
|
17925
|
-
|
|
18157
|
+
{
|
|
18158
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18159
|
+
if (apiKeyValue) {
|
|
18160
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18161
|
+
}
|
|
18162
|
+
}
|
|
17926
18163
|
}
|
|
17927
18164
|
const response = await this.request({
|
|
17928
18165
|
path: `/auth/mfa/regenerate-backup-codes`,
|
|
@@ -17956,10 +18193,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
17956
18193
|
const headerParameters = {};
|
|
17957
18194
|
headerParameters["Content-Type"] = "application/json";
|
|
17958
18195
|
if (this.configuration && this.configuration.apiKey) {
|
|
17959
|
-
|
|
18196
|
+
{
|
|
18197
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18198
|
+
if (apiKeyValue) {
|
|
18199
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18200
|
+
}
|
|
18201
|
+
}
|
|
17960
18202
|
}
|
|
17961
18203
|
if (this.configuration && this.configuration.apiKey) {
|
|
17962
|
-
|
|
18204
|
+
{
|
|
18205
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18206
|
+
if (apiKeyValue) {
|
|
18207
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18208
|
+
}
|
|
18209
|
+
}
|
|
17963
18210
|
}
|
|
17964
18211
|
const response = await this.request({
|
|
17965
18212
|
path: `/auth/mfa/enroll`,
|
|
@@ -17993,10 +18240,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
17993
18240
|
const headerParameters = {};
|
|
17994
18241
|
headerParameters["Content-Type"] = "application/json";
|
|
17995
18242
|
if (this.configuration && this.configuration.apiKey) {
|
|
17996
|
-
|
|
18243
|
+
{
|
|
18244
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18245
|
+
if (apiKeyValue) {
|
|
18246
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18247
|
+
}
|
|
18248
|
+
}
|
|
17997
18249
|
}
|
|
17998
18250
|
if (this.configuration && this.configuration.apiKey) {
|
|
17999
|
-
|
|
18251
|
+
{
|
|
18252
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18253
|
+
if (apiKeyValue) {
|
|
18254
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18255
|
+
}
|
|
18256
|
+
}
|
|
18000
18257
|
}
|
|
18001
18258
|
const response = await this.request({
|
|
18002
18259
|
path: `/auth/mfa/verify`,
|
|
@@ -18030,10 +18287,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
18030
18287
|
const headerParameters = {};
|
|
18031
18288
|
headerParameters["Content-Type"] = "application/json";
|
|
18032
18289
|
if (this.configuration && this.configuration.apiKey) {
|
|
18033
|
-
|
|
18290
|
+
{
|
|
18291
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18292
|
+
if (apiKeyValue) {
|
|
18293
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18294
|
+
}
|
|
18295
|
+
}
|
|
18034
18296
|
}
|
|
18035
18297
|
if (this.configuration && this.configuration.apiKey) {
|
|
18036
|
-
|
|
18298
|
+
{
|
|
18299
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18300
|
+
if (apiKeyValue) {
|
|
18301
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18302
|
+
}
|
|
18303
|
+
}
|
|
18037
18304
|
}
|
|
18038
18305
|
const response = await this.request({
|
|
18039
18306
|
path: `/auth/mfa/verify-backup`,
|
|
@@ -18067,10 +18334,20 @@ var AuthMFAApi = class extends BaseAPI {
|
|
|
18067
18334
|
const headerParameters = {};
|
|
18068
18335
|
headerParameters["Content-Type"] = "application/json";
|
|
18069
18336
|
if (this.configuration && this.configuration.apiKey) {
|
|
18070
|
-
|
|
18337
|
+
{
|
|
18338
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18339
|
+
if (apiKeyValue) {
|
|
18340
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18341
|
+
}
|
|
18342
|
+
}
|
|
18071
18343
|
}
|
|
18072
18344
|
if (this.configuration && this.configuration.apiKey) {
|
|
18073
|
-
|
|
18345
|
+
{
|
|
18346
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18347
|
+
if (apiKeyValue) {
|
|
18348
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18349
|
+
}
|
|
18350
|
+
}
|
|
18074
18351
|
}
|
|
18075
18352
|
const response = await this.request({
|
|
18076
18353
|
path: `/auth/mfa/verify-enrollment`,
|
|
@@ -18108,10 +18385,20 @@ var AuthMagicLinksApi = class extends BaseAPI {
|
|
|
18108
18385
|
const headerParameters = {};
|
|
18109
18386
|
headerParameters["Content-Type"] = "application/json";
|
|
18110
18387
|
if (this.configuration && this.configuration.apiKey) {
|
|
18111
|
-
|
|
18388
|
+
{
|
|
18389
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18390
|
+
if (apiKeyValue) {
|
|
18391
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18392
|
+
}
|
|
18393
|
+
}
|
|
18112
18394
|
}
|
|
18113
18395
|
if (this.configuration && this.configuration.apiKey) {
|
|
18114
|
-
|
|
18396
|
+
{
|
|
18397
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18398
|
+
if (apiKeyValue) {
|
|
18399
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18400
|
+
}
|
|
18401
|
+
}
|
|
18115
18402
|
}
|
|
18116
18403
|
const response = await this.request({
|
|
18117
18404
|
path: `/auth/magic-link/send`,
|
|
@@ -18145,10 +18432,20 @@ var AuthMagicLinksApi = class extends BaseAPI {
|
|
|
18145
18432
|
const headerParameters = {};
|
|
18146
18433
|
headerParameters["Content-Type"] = "application/json";
|
|
18147
18434
|
if (this.configuration && this.configuration.apiKey) {
|
|
18148
|
-
|
|
18435
|
+
{
|
|
18436
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18437
|
+
if (apiKeyValue) {
|
|
18438
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18439
|
+
}
|
|
18440
|
+
}
|
|
18149
18441
|
}
|
|
18150
18442
|
if (this.configuration && this.configuration.apiKey) {
|
|
18151
|
-
|
|
18443
|
+
{
|
|
18444
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18445
|
+
if (apiKeyValue) {
|
|
18446
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18447
|
+
}
|
|
18448
|
+
}
|
|
18152
18449
|
}
|
|
18153
18450
|
const response = await this.request({
|
|
18154
18451
|
path: `/auth/magic-link/verify`,
|
|
@@ -18199,7 +18496,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18199
18496
|
}
|
|
18200
18497
|
}
|
|
18201
18498
|
if (this.configuration && this.configuration.apiKey) {
|
|
18202
|
-
|
|
18499
|
+
{
|
|
18500
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18501
|
+
if (apiKeyValue) {
|
|
18502
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18503
|
+
}
|
|
18504
|
+
}
|
|
18203
18505
|
}
|
|
18204
18506
|
const response = await this.request({
|
|
18205
18507
|
path: `/auth/oauth/{provider}/link/callback`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18239,7 +18541,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18239
18541
|
}
|
|
18240
18542
|
}
|
|
18241
18543
|
if (this.configuration && this.configuration.apiKey) {
|
|
18242
|
-
|
|
18544
|
+
{
|
|
18545
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18546
|
+
if (apiKeyValue) {
|
|
18547
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18548
|
+
}
|
|
18549
|
+
}
|
|
18243
18550
|
}
|
|
18244
18551
|
const response = await this.request({
|
|
18245
18552
|
path: `/auth/oauth/{provider}`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18280,7 +18587,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18280
18587
|
}
|
|
18281
18588
|
const headerParameters = {};
|
|
18282
18589
|
if (this.configuration && this.configuration.apiKey) {
|
|
18283
|
-
|
|
18590
|
+
{
|
|
18591
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18592
|
+
if (apiKeyValue) {
|
|
18593
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18594
|
+
}
|
|
18595
|
+
}
|
|
18284
18596
|
}
|
|
18285
18597
|
const response = await this.request({
|
|
18286
18598
|
path: `/auth/oauth/{provider}/authorize`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18319,7 +18631,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18319
18631
|
}
|
|
18320
18632
|
}
|
|
18321
18633
|
if (this.configuration && this.configuration.apiKey) {
|
|
18322
|
-
|
|
18634
|
+
{
|
|
18635
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18636
|
+
if (apiKeyValue) {
|
|
18637
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18638
|
+
}
|
|
18639
|
+
}
|
|
18323
18640
|
}
|
|
18324
18641
|
const response = await this.request({
|
|
18325
18642
|
path: `/auth/oauth/connections/{provider}`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18360,10 +18677,20 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18360
18677
|
}
|
|
18361
18678
|
const headerParameters = {};
|
|
18362
18679
|
if (this.configuration && this.configuration.apiKey) {
|
|
18363
|
-
|
|
18680
|
+
{
|
|
18681
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18682
|
+
if (apiKeyValue) {
|
|
18683
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18684
|
+
}
|
|
18685
|
+
}
|
|
18364
18686
|
}
|
|
18365
18687
|
if (this.configuration && this.configuration.apiKey) {
|
|
18366
|
-
|
|
18688
|
+
{
|
|
18689
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18690
|
+
if (apiKeyValue) {
|
|
18691
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18692
|
+
}
|
|
18693
|
+
}
|
|
18367
18694
|
}
|
|
18368
18695
|
const response = await this.request({
|
|
18369
18696
|
path: `/auth/oauth/tokens/{provider}`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18433,7 +18760,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18433
18760
|
}
|
|
18434
18761
|
}
|
|
18435
18762
|
if (this.configuration && this.configuration.apiKey) {
|
|
18436
|
-
|
|
18763
|
+
{
|
|
18764
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18765
|
+
if (apiKeyValue) {
|
|
18766
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18767
|
+
}
|
|
18768
|
+
}
|
|
18437
18769
|
}
|
|
18438
18770
|
const response = await this.request({
|
|
18439
18771
|
path: `/auth/oauth/connections`,
|
|
@@ -18459,7 +18791,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18459
18791
|
const queryParameters = {};
|
|
18460
18792
|
const headerParameters = {};
|
|
18461
18793
|
if (this.configuration && this.configuration.apiKey) {
|
|
18462
|
-
|
|
18794
|
+
{
|
|
18795
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18796
|
+
if (apiKeyValue) {
|
|
18797
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18798
|
+
}
|
|
18799
|
+
}
|
|
18463
18800
|
}
|
|
18464
18801
|
const response = await this.request({
|
|
18465
18802
|
path: `/auth/oauth/providers`,
|
|
@@ -18498,10 +18835,20 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18498
18835
|
const headerParameters = {};
|
|
18499
18836
|
headerParameters["Content-Type"] = "application/json";
|
|
18500
18837
|
if (this.configuration && this.configuration.apiKey) {
|
|
18501
|
-
|
|
18838
|
+
{
|
|
18839
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18840
|
+
if (apiKeyValue) {
|
|
18841
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18842
|
+
}
|
|
18843
|
+
}
|
|
18502
18844
|
}
|
|
18503
18845
|
if (this.configuration && this.configuration.apiKey) {
|
|
18504
|
-
|
|
18846
|
+
{
|
|
18847
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18848
|
+
if (apiKeyValue) {
|
|
18849
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18850
|
+
}
|
|
18851
|
+
}
|
|
18505
18852
|
}
|
|
18506
18853
|
const response = await this.request({
|
|
18507
18854
|
path: `/auth/oauth/tokens/{provider}/refresh`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18550,7 +18897,12 @@ var AuthOAuthApi = class extends BaseAPI {
|
|
|
18550
18897
|
}
|
|
18551
18898
|
}
|
|
18552
18899
|
if (this.configuration && this.configuration.apiKey) {
|
|
18553
|
-
|
|
18900
|
+
{
|
|
18901
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18902
|
+
if (apiKeyValue) {
|
|
18903
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18904
|
+
}
|
|
18905
|
+
}
|
|
18554
18906
|
}
|
|
18555
18907
|
const response = await this.request({
|
|
18556
18908
|
path: `/auth/oauth/{provider}/link`.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters["provider"]))),
|
|
@@ -18592,10 +18944,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18592
18944
|
const headerParameters = {};
|
|
18593
18945
|
headerParameters["Content-Type"] = "application/json";
|
|
18594
18946
|
if (this.configuration && this.configuration.apiKey) {
|
|
18595
|
-
|
|
18947
|
+
{
|
|
18948
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18949
|
+
if (apiKeyValue) {
|
|
18950
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18951
|
+
}
|
|
18952
|
+
}
|
|
18596
18953
|
}
|
|
18597
18954
|
if (this.configuration && this.configuration.apiKey) {
|
|
18598
|
-
|
|
18955
|
+
{
|
|
18956
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
18957
|
+
if (apiKeyValue) {
|
|
18958
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18599
18961
|
}
|
|
18600
18962
|
const response = await this.request({
|
|
18601
18963
|
path: `/auth/organizations/{id}/members`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -18628,10 +18990,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18628
18990
|
const headerParameters = {};
|
|
18629
18991
|
headerParameters["Content-Type"] = "application/json";
|
|
18630
18992
|
if (this.configuration && this.configuration.apiKey) {
|
|
18631
|
-
|
|
18993
|
+
{
|
|
18994
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
18995
|
+
if (apiKeyValue) {
|
|
18996
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
18997
|
+
}
|
|
18998
|
+
}
|
|
18632
18999
|
}
|
|
18633
19000
|
if (this.configuration && this.configuration.apiKey) {
|
|
18634
|
-
|
|
19001
|
+
{
|
|
19002
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19003
|
+
if (apiKeyValue) {
|
|
19004
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19005
|
+
}
|
|
19006
|
+
}
|
|
18635
19007
|
}
|
|
18636
19008
|
const response = await this.request({
|
|
18637
19009
|
path: `/auth/organizations`,
|
|
@@ -18664,10 +19036,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18664
19036
|
const queryParameters = {};
|
|
18665
19037
|
const headerParameters = {};
|
|
18666
19038
|
if (this.configuration && this.configuration.apiKey) {
|
|
18667
|
-
|
|
19039
|
+
{
|
|
19040
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19041
|
+
if (apiKeyValue) {
|
|
19042
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19043
|
+
}
|
|
19044
|
+
}
|
|
18668
19045
|
}
|
|
18669
19046
|
if (this.configuration && this.configuration.apiKey) {
|
|
18670
|
-
|
|
19047
|
+
{
|
|
19048
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19049
|
+
if (apiKeyValue) {
|
|
19050
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19051
|
+
}
|
|
19052
|
+
}
|
|
18671
19053
|
}
|
|
18672
19054
|
const response = await this.request({
|
|
18673
19055
|
path: `/auth/organizations/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -18697,10 +19079,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18697
19079
|
const queryParameters = {};
|
|
18698
19080
|
const headerParameters = {};
|
|
18699
19081
|
if (this.configuration && this.configuration.apiKey) {
|
|
18700
|
-
|
|
19082
|
+
{
|
|
19083
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19084
|
+
if (apiKeyValue) {
|
|
19085
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19086
|
+
}
|
|
19087
|
+
}
|
|
18701
19088
|
}
|
|
18702
19089
|
if (this.configuration && this.configuration.apiKey) {
|
|
18703
|
-
|
|
19090
|
+
{
|
|
19091
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19092
|
+
if (apiKeyValue) {
|
|
19093
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19094
|
+
}
|
|
19095
|
+
}
|
|
18704
19096
|
}
|
|
18705
19097
|
const response = await this.request({
|
|
18706
19098
|
path: `/auth/organizations/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -18736,10 +19128,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18736
19128
|
}
|
|
18737
19129
|
const headerParameters = {};
|
|
18738
19130
|
if (this.configuration && this.configuration.apiKey) {
|
|
18739
|
-
|
|
19131
|
+
{
|
|
19132
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19133
|
+
if (apiKeyValue) {
|
|
19134
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19135
|
+
}
|
|
19136
|
+
}
|
|
18740
19137
|
}
|
|
18741
19138
|
if (this.configuration && this.configuration.apiKey) {
|
|
18742
|
-
|
|
19139
|
+
{
|
|
19140
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19141
|
+
if (apiKeyValue) {
|
|
19142
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19143
|
+
}
|
|
19144
|
+
}
|
|
18743
19145
|
}
|
|
18744
19146
|
const response = await this.request({
|
|
18745
19147
|
path: `/auth/organizations/{id}/members`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -18773,10 +19175,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18773
19175
|
}
|
|
18774
19176
|
const headerParameters = {};
|
|
18775
19177
|
if (this.configuration && this.configuration.apiKey) {
|
|
18776
|
-
|
|
19178
|
+
{
|
|
19179
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19180
|
+
if (apiKeyValue) {
|
|
19181
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19182
|
+
}
|
|
19183
|
+
}
|
|
18777
19184
|
}
|
|
18778
19185
|
if (this.configuration && this.configuration.apiKey) {
|
|
18779
|
-
|
|
19186
|
+
{
|
|
19187
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19188
|
+
if (apiKeyValue) {
|
|
19189
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19190
|
+
}
|
|
19191
|
+
}
|
|
18780
19192
|
}
|
|
18781
19193
|
const response = await this.request({
|
|
18782
19194
|
path: `/auth/organizations`,
|
|
@@ -18808,10 +19220,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18808
19220
|
const queryParameters = {};
|
|
18809
19221
|
const headerParameters = {};
|
|
18810
19222
|
if (this.configuration && this.configuration.apiKey) {
|
|
18811
|
-
|
|
19223
|
+
{
|
|
19224
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19225
|
+
if (apiKeyValue) {
|
|
19226
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19227
|
+
}
|
|
19228
|
+
}
|
|
18812
19229
|
}
|
|
18813
19230
|
if (this.configuration && this.configuration.apiKey) {
|
|
18814
|
-
|
|
19231
|
+
{
|
|
19232
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19233
|
+
if (apiKeyValue) {
|
|
19234
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19235
|
+
}
|
|
19236
|
+
}
|
|
18815
19237
|
}
|
|
18816
19238
|
const response = await this.request({
|
|
18817
19239
|
path: `/auth/end-users/{user_id}/organizations`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -18848,10 +19270,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18848
19270
|
const queryParameters = {};
|
|
18849
19271
|
const headerParameters = {};
|
|
18850
19272
|
if (this.configuration && this.configuration.apiKey) {
|
|
18851
|
-
|
|
19273
|
+
{
|
|
19274
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19275
|
+
if (apiKeyValue) {
|
|
19276
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19277
|
+
}
|
|
19278
|
+
}
|
|
18852
19279
|
}
|
|
18853
19280
|
if (this.configuration && this.configuration.apiKey) {
|
|
18854
|
-
|
|
19281
|
+
{
|
|
19282
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19283
|
+
if (apiKeyValue) {
|
|
19284
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19285
|
+
}
|
|
19286
|
+
}
|
|
18855
19287
|
}
|
|
18856
19288
|
const response = await this.request({
|
|
18857
19289
|
path: `/auth/organizations/{id}/members/{user_id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))).replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -18882,10 +19314,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18882
19314
|
const headerParameters = {};
|
|
18883
19315
|
headerParameters["Content-Type"] = "application/json";
|
|
18884
19316
|
if (this.configuration && this.configuration.apiKey) {
|
|
18885
|
-
|
|
19317
|
+
{
|
|
19318
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19319
|
+
if (apiKeyValue) {
|
|
19320
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19321
|
+
}
|
|
19322
|
+
}
|
|
18886
19323
|
}
|
|
18887
19324
|
if (this.configuration && this.configuration.apiKey) {
|
|
18888
|
-
|
|
19325
|
+
{
|
|
19326
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19327
|
+
if (apiKeyValue) {
|
|
19328
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19329
|
+
}
|
|
19330
|
+
}
|
|
18889
19331
|
}
|
|
18890
19332
|
const response = await this.request({
|
|
18891
19333
|
path: `/auth/sessions/switch-organization`,
|
|
@@ -18925,10 +19367,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18925
19367
|
const headerParameters = {};
|
|
18926
19368
|
headerParameters["Content-Type"] = "application/json";
|
|
18927
19369
|
if (this.configuration && this.configuration.apiKey) {
|
|
18928
|
-
|
|
19370
|
+
{
|
|
19371
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19372
|
+
if (apiKeyValue) {
|
|
19373
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19374
|
+
}
|
|
19375
|
+
}
|
|
18929
19376
|
}
|
|
18930
19377
|
if (this.configuration && this.configuration.apiKey) {
|
|
18931
|
-
|
|
19378
|
+
{
|
|
19379
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19380
|
+
if (apiKeyValue) {
|
|
19381
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19382
|
+
}
|
|
19383
|
+
}
|
|
18932
19384
|
}
|
|
18933
19385
|
const response = await this.request({
|
|
18934
19386
|
path: `/auth/organizations/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -18973,10 +19425,20 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18973
19425
|
const headerParameters = {};
|
|
18974
19426
|
headerParameters["Content-Type"] = "application/json";
|
|
18975
19427
|
if (this.configuration && this.configuration.apiKey) {
|
|
18976
|
-
|
|
19428
|
+
{
|
|
19429
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19430
|
+
if (apiKeyValue) {
|
|
19431
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19432
|
+
}
|
|
19433
|
+
}
|
|
18977
19434
|
}
|
|
18978
19435
|
if (this.configuration && this.configuration.apiKey) {
|
|
18979
|
-
|
|
19436
|
+
{
|
|
19437
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19438
|
+
if (apiKeyValue) {
|
|
19439
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19440
|
+
}
|
|
19441
|
+
}
|
|
18980
19442
|
}
|
|
18981
19443
|
const response = await this.request({
|
|
18982
19444
|
path: `/auth/organizations/{id}/members/{user_id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))).replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -18999,7 +19461,7 @@ var AuthOrganizationsApi = class extends BaseAPI {
|
|
|
18999
19461
|
// src/src/apis/AuthPasswordResetApi.ts
|
|
19000
19462
|
var AuthPasswordResetApi = class extends BaseAPI {
|
|
19001
19463
|
/**
|
|
19002
|
-
* Request a password reset email. Creates a reset token and sends an email to the user. Always returns success to prevent email enumeration.
|
|
19464
|
+
* Request a password reset email. Creates a reset token and sends an email to the user. Always returns success to prevent email enumeration — the response is identical whether or not the address is registered. An identity with **no password set** still receives a link, which sets a first password. This covers users migrated from a provider that cannot export password hashes. The one case where no email is sent (beyond an unknown address) is an identity that has no password but *does* have another way in — a linked OAuth provider and/or a passkey. Those users are not locked out, so no set-password link is sent; the attempt is recorded as a suppressed message visible via `GET /emails`.
|
|
19003
19465
|
* Request a password reset
|
|
19004
19466
|
*/
|
|
19005
19467
|
async forgotPasswordRaw(requestParameters, initOverrides) {
|
|
@@ -19013,10 +19475,20 @@ var AuthPasswordResetApi = class extends BaseAPI {
|
|
|
19013
19475
|
const headerParameters = {};
|
|
19014
19476
|
headerParameters["Content-Type"] = "application/json";
|
|
19015
19477
|
if (this.configuration && this.configuration.apiKey) {
|
|
19016
|
-
|
|
19478
|
+
{
|
|
19479
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19480
|
+
if (apiKeyValue) {
|
|
19481
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19482
|
+
}
|
|
19483
|
+
}
|
|
19017
19484
|
}
|
|
19018
19485
|
if (this.configuration && this.configuration.apiKey) {
|
|
19019
|
-
|
|
19486
|
+
{
|
|
19487
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19488
|
+
if (apiKeyValue) {
|
|
19489
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19490
|
+
}
|
|
19491
|
+
}
|
|
19020
19492
|
}
|
|
19021
19493
|
const response = await this.request({
|
|
19022
19494
|
path: `/auth/forgot-password`,
|
|
@@ -19028,7 +19500,7 @@ var AuthPasswordResetApi = class extends BaseAPI {
|
|
|
19028
19500
|
return new JSONApiResponse(response, (jsonValue) => SuccessResultFromJSON(jsonValue));
|
|
19029
19501
|
}
|
|
19030
19502
|
/**
|
|
19031
|
-
* Request a password reset email. Creates a reset token and sends an email to the user. Always returns success to prevent email enumeration.
|
|
19503
|
+
* Request a password reset email. Creates a reset token and sends an email to the user. Always returns success to prevent email enumeration — the response is identical whether or not the address is registered. An identity with **no password set** still receives a link, which sets a first password. This covers users migrated from a provider that cannot export password hashes. The one case where no email is sent (beyond an unknown address) is an identity that has no password but *does* have another way in — a linked OAuth provider and/or a passkey. Those users are not locked out, so no set-password link is sent; the attempt is recorded as a suppressed message visible via `GET /emails`.
|
|
19032
19504
|
* Request a password reset
|
|
19033
19505
|
*/
|
|
19034
19506
|
async forgotPassword(forgotPasswordRequest, initOverrides) {
|
|
@@ -19050,10 +19522,20 @@ var AuthPasswordResetApi = class extends BaseAPI {
|
|
|
19050
19522
|
const headerParameters = {};
|
|
19051
19523
|
headerParameters["Content-Type"] = "application/json";
|
|
19052
19524
|
if (this.configuration && this.configuration.apiKey) {
|
|
19053
|
-
|
|
19525
|
+
{
|
|
19526
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19527
|
+
if (apiKeyValue) {
|
|
19528
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19529
|
+
}
|
|
19530
|
+
}
|
|
19054
19531
|
}
|
|
19055
19532
|
if (this.configuration && this.configuration.apiKey) {
|
|
19056
|
-
|
|
19533
|
+
{
|
|
19534
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19535
|
+
if (apiKeyValue) {
|
|
19536
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19537
|
+
}
|
|
19538
|
+
}
|
|
19057
19539
|
}
|
|
19058
19540
|
const response = await this.request({
|
|
19059
19541
|
path: `/auth/reset-password`,
|
|
@@ -19087,10 +19569,20 @@ var AuthPasswordResetApi = class extends BaseAPI {
|
|
|
19087
19569
|
const headerParameters = {};
|
|
19088
19570
|
headerParameters["Content-Type"] = "application/json";
|
|
19089
19571
|
if (this.configuration && this.configuration.apiKey) {
|
|
19090
|
-
|
|
19572
|
+
{
|
|
19573
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19574
|
+
if (apiKeyValue) {
|
|
19575
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19576
|
+
}
|
|
19577
|
+
}
|
|
19091
19578
|
}
|
|
19092
19579
|
if (this.configuration && this.configuration.apiKey) {
|
|
19093
|
-
|
|
19580
|
+
{
|
|
19581
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19582
|
+
if (apiKeyValue) {
|
|
19583
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19584
|
+
}
|
|
19585
|
+
}
|
|
19094
19586
|
}
|
|
19095
19587
|
const response = await this.request({
|
|
19096
19588
|
path: `/auth/validate-reset-token`,
|
|
@@ -19121,7 +19613,12 @@ var AuthPhoneApi = class extends BaseAPI {
|
|
|
19121
19613
|
const queryParameters = {};
|
|
19122
19614
|
const headerParameters = {};
|
|
19123
19615
|
if (this.configuration && this.configuration.apiKey) {
|
|
19124
|
-
|
|
19616
|
+
{
|
|
19617
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19618
|
+
if (apiKeyValue) {
|
|
19619
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19620
|
+
}
|
|
19621
|
+
}
|
|
19125
19622
|
}
|
|
19126
19623
|
const response = await this.request({
|
|
19127
19624
|
path: `/auth/phone/available`,
|
|
@@ -19154,10 +19651,20 @@ var AuthPhoneApi = class extends BaseAPI {
|
|
|
19154
19651
|
const headerParameters = {};
|
|
19155
19652
|
headerParameters["Content-Type"] = "application/json";
|
|
19156
19653
|
if (this.configuration && this.configuration.apiKey) {
|
|
19157
|
-
|
|
19654
|
+
{
|
|
19655
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19656
|
+
if (apiKeyValue) {
|
|
19657
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19658
|
+
}
|
|
19659
|
+
}
|
|
19158
19660
|
}
|
|
19159
19661
|
if (this.configuration && this.configuration.apiKey) {
|
|
19160
|
-
|
|
19662
|
+
{
|
|
19663
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19664
|
+
if (apiKeyValue) {
|
|
19665
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19666
|
+
}
|
|
19667
|
+
}
|
|
19161
19668
|
}
|
|
19162
19669
|
const response = await this.request({
|
|
19163
19670
|
path: `/auth/phone/login/send`,
|
|
@@ -19191,10 +19698,20 @@ var AuthPhoneApi = class extends BaseAPI {
|
|
|
19191
19698
|
const headerParameters = {};
|
|
19192
19699
|
headerParameters["Content-Type"] = "application/json";
|
|
19193
19700
|
if (this.configuration && this.configuration.apiKey) {
|
|
19194
|
-
|
|
19701
|
+
{
|
|
19702
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19703
|
+
if (apiKeyValue) {
|
|
19704
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19705
|
+
}
|
|
19706
|
+
}
|
|
19195
19707
|
}
|
|
19196
19708
|
if (this.configuration && this.configuration.apiKey) {
|
|
19197
|
-
|
|
19709
|
+
{
|
|
19710
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19711
|
+
if (apiKeyValue) {
|
|
19712
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19713
|
+
}
|
|
19714
|
+
}
|
|
19198
19715
|
}
|
|
19199
19716
|
const response = await this.request({
|
|
19200
19717
|
path: `/auth/phone/register/send`,
|
|
@@ -19228,10 +19745,20 @@ var AuthPhoneApi = class extends BaseAPI {
|
|
|
19228
19745
|
const headerParameters = {};
|
|
19229
19746
|
headerParameters["Content-Type"] = "application/json";
|
|
19230
19747
|
if (this.configuration && this.configuration.apiKey) {
|
|
19231
|
-
|
|
19748
|
+
{
|
|
19749
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19750
|
+
if (apiKeyValue) {
|
|
19751
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19752
|
+
}
|
|
19753
|
+
}
|
|
19232
19754
|
}
|
|
19233
19755
|
if (this.configuration && this.configuration.apiKey) {
|
|
19234
|
-
|
|
19756
|
+
{
|
|
19757
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19758
|
+
if (apiKeyValue) {
|
|
19759
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19760
|
+
}
|
|
19761
|
+
}
|
|
19235
19762
|
}
|
|
19236
19763
|
const response = await this.request({
|
|
19237
19764
|
path: `/auth/phone/login/verify`,
|
|
@@ -19265,10 +19792,20 @@ var AuthPhoneApi = class extends BaseAPI {
|
|
|
19265
19792
|
const headerParameters = {};
|
|
19266
19793
|
headerParameters["Content-Type"] = "application/json";
|
|
19267
19794
|
if (this.configuration && this.configuration.apiKey) {
|
|
19268
|
-
|
|
19795
|
+
{
|
|
19796
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19797
|
+
if (apiKeyValue) {
|
|
19798
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19799
|
+
}
|
|
19800
|
+
}
|
|
19269
19801
|
}
|
|
19270
19802
|
if (this.configuration && this.configuration.apiKey) {
|
|
19271
|
-
|
|
19803
|
+
{
|
|
19804
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19805
|
+
if (apiKeyValue) {
|
|
19806
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19807
|
+
}
|
|
19808
|
+
}
|
|
19272
19809
|
}
|
|
19273
19810
|
const response = await this.request({
|
|
19274
19811
|
path: `/auth/phone/register/verify`,
|
|
@@ -19337,10 +19874,20 @@ var AuthRegistrationApi = class extends BaseAPI {
|
|
|
19337
19874
|
const headerParameters = {};
|
|
19338
19875
|
headerParameters["Content-Type"] = "application/json";
|
|
19339
19876
|
if (this.configuration && this.configuration.apiKey) {
|
|
19340
|
-
|
|
19877
|
+
{
|
|
19878
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
19879
|
+
if (apiKeyValue) {
|
|
19880
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
19881
|
+
}
|
|
19882
|
+
}
|
|
19341
19883
|
}
|
|
19342
19884
|
if (this.configuration && this.configuration.apiKey) {
|
|
19343
|
-
|
|
19885
|
+
{
|
|
19886
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19887
|
+
if (apiKeyValue) {
|
|
19888
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19889
|
+
}
|
|
19890
|
+
}
|
|
19344
19891
|
}
|
|
19345
19892
|
const response = await this.request({
|
|
19346
19893
|
path: `/auth/users/register`,
|
|
@@ -19374,7 +19921,12 @@ var AuthRegistrationApi = class extends BaseAPI {
|
|
|
19374
19921
|
const headerParameters = {};
|
|
19375
19922
|
headerParameters["Content-Type"] = "application/json";
|
|
19376
19923
|
if (this.configuration && this.configuration.apiKey) {
|
|
19377
|
-
|
|
19924
|
+
{
|
|
19925
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19926
|
+
if (apiKeyValue) {
|
|
19927
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19928
|
+
}
|
|
19929
|
+
}
|
|
19378
19930
|
}
|
|
19379
19931
|
const response = await this.request({
|
|
19380
19932
|
path: `/auth/users/anonymous`,
|
|
@@ -19408,7 +19960,12 @@ var AuthRegistrationApi = class extends BaseAPI {
|
|
|
19408
19960
|
const headerParameters = {};
|
|
19409
19961
|
headerParameters["Content-Type"] = "application/json";
|
|
19410
19962
|
if (this.configuration && this.configuration.apiKey) {
|
|
19411
|
-
|
|
19963
|
+
{
|
|
19964
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
19965
|
+
if (apiKeyValue) {
|
|
19966
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
19967
|
+
}
|
|
19968
|
+
}
|
|
19412
19969
|
}
|
|
19413
19970
|
const response = await this.request({
|
|
19414
19971
|
path: `/auth/game-center`,
|
|
@@ -19442,7 +19999,12 @@ var AuthRegistrationApi = class extends BaseAPI {
|
|
|
19442
19999
|
const headerParameters = {};
|
|
19443
20000
|
headerParameters["Content-Type"] = "application/json";
|
|
19444
20001
|
if (this.configuration && this.configuration.apiKey) {
|
|
19445
|
-
|
|
20002
|
+
{
|
|
20003
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20004
|
+
if (apiKeyValue) {
|
|
20005
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20006
|
+
}
|
|
20007
|
+
}
|
|
19446
20008
|
}
|
|
19447
20009
|
const response = await this.request({
|
|
19448
20010
|
path: `/auth/google-play-games`,
|
|
@@ -19480,7 +20042,12 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
19480
20042
|
}
|
|
19481
20043
|
}
|
|
19482
20044
|
if (this.configuration && this.configuration.apiKey) {
|
|
19483
|
-
|
|
20045
|
+
{
|
|
20046
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20047
|
+
if (apiKeyValue) {
|
|
20048
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20049
|
+
}
|
|
20050
|
+
}
|
|
19484
20051
|
}
|
|
19485
20052
|
const response = await this.request({
|
|
19486
20053
|
path: `/auth/sessions`,
|
|
@@ -19513,10 +20080,20 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
19513
20080
|
const headerParameters = {};
|
|
19514
20081
|
headerParameters["Content-Type"] = "application/json";
|
|
19515
20082
|
if (this.configuration && this.configuration.apiKey) {
|
|
19516
|
-
|
|
20083
|
+
{
|
|
20084
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20085
|
+
if (apiKeyValue) {
|
|
20086
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20087
|
+
}
|
|
20088
|
+
}
|
|
19517
20089
|
}
|
|
19518
20090
|
if (this.configuration && this.configuration.apiKey) {
|
|
19519
|
-
|
|
20091
|
+
{
|
|
20092
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20093
|
+
if (apiKeyValue) {
|
|
20094
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20095
|
+
}
|
|
20096
|
+
}
|
|
19520
20097
|
}
|
|
19521
20098
|
const response = await this.request({
|
|
19522
20099
|
path: `/auth/sessions/refresh`,
|
|
@@ -19543,7 +20120,12 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
19543
20120
|
const queryParameters = {};
|
|
19544
20121
|
const headerParameters = {};
|
|
19545
20122
|
if (this.configuration && this.configuration.apiKey) {
|
|
19546
|
-
|
|
20123
|
+
{
|
|
20124
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20125
|
+
if (apiKeyValue) {
|
|
20126
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20127
|
+
}
|
|
20128
|
+
}
|
|
19547
20129
|
}
|
|
19548
20130
|
if (this.configuration && this.configuration.accessToken) {
|
|
19549
20131
|
const token = this.configuration.accessToken;
|
|
@@ -19553,7 +20135,12 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
19553
20135
|
}
|
|
19554
20136
|
}
|
|
19555
20137
|
if (this.configuration && this.configuration.apiKey) {
|
|
19556
|
-
|
|
20138
|
+
{
|
|
20139
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20140
|
+
if (apiKeyValue) {
|
|
20141
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20142
|
+
}
|
|
20143
|
+
}
|
|
19557
20144
|
}
|
|
19558
20145
|
const response = await this.request({
|
|
19559
20146
|
path: `/auth/sessions/revoke-all`,
|
|
@@ -19586,10 +20173,20 @@ var AuthSessionsApi = class extends BaseAPI {
|
|
|
19586
20173
|
const headerParameters = {};
|
|
19587
20174
|
headerParameters["Content-Type"] = "application/json";
|
|
19588
20175
|
if (this.configuration && this.configuration.apiKey) {
|
|
19589
|
-
|
|
20176
|
+
{
|
|
20177
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20178
|
+
if (apiKeyValue) {
|
|
20179
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20180
|
+
}
|
|
20181
|
+
}
|
|
19590
20182
|
}
|
|
19591
20183
|
if (this.configuration && this.configuration.apiKey) {
|
|
19592
|
-
|
|
20184
|
+
{
|
|
20185
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20186
|
+
if (apiKeyValue) {
|
|
20187
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20188
|
+
}
|
|
20189
|
+
}
|
|
19593
20190
|
}
|
|
19594
20191
|
const response = await this.request({
|
|
19595
20192
|
path: `/auth/sessions/revoke`,
|
|
@@ -19626,10 +20223,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19626
20223
|
const queryParameters = {};
|
|
19627
20224
|
const headerParameters = {};
|
|
19628
20225
|
if (this.configuration && this.configuration.apiKey) {
|
|
19629
|
-
|
|
20226
|
+
{
|
|
20227
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20228
|
+
if (apiKeyValue) {
|
|
20229
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20230
|
+
}
|
|
20231
|
+
}
|
|
19630
20232
|
}
|
|
19631
20233
|
if (this.configuration && this.configuration.apiKey) {
|
|
19632
|
-
|
|
20234
|
+
{
|
|
20235
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20236
|
+
if (apiKeyValue) {
|
|
20237
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20238
|
+
}
|
|
20239
|
+
}
|
|
19633
20240
|
}
|
|
19634
20241
|
const response = await this.request({
|
|
19635
20242
|
path: `/auth/users/{user_id}`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -19660,10 +20267,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19660
20267
|
const queryParameters = {};
|
|
19661
20268
|
const headerParameters = {};
|
|
19662
20269
|
if (this.configuration && this.configuration.apiKey) {
|
|
19663
|
-
|
|
20270
|
+
{
|
|
20271
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20272
|
+
if (apiKeyValue) {
|
|
20273
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20274
|
+
}
|
|
20275
|
+
}
|
|
19664
20276
|
}
|
|
19665
20277
|
if (this.configuration && this.configuration.apiKey) {
|
|
19666
|
-
|
|
20278
|
+
{
|
|
20279
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20280
|
+
if (apiKeyValue) {
|
|
20281
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20282
|
+
}
|
|
20283
|
+
}
|
|
19667
20284
|
}
|
|
19668
20285
|
const response = await this.request({
|
|
19669
20286
|
path: `/auth/users/{user_id}/auth-methods`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -19698,10 +20315,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19698
20315
|
}
|
|
19699
20316
|
const headerParameters = {};
|
|
19700
20317
|
if (this.configuration && this.configuration.apiKey) {
|
|
19701
|
-
|
|
20318
|
+
{
|
|
20319
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20320
|
+
if (apiKeyValue) {
|
|
20321
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20322
|
+
}
|
|
20323
|
+
}
|
|
19702
20324
|
}
|
|
19703
20325
|
if (this.configuration && this.configuration.apiKey) {
|
|
19704
|
-
|
|
20326
|
+
{
|
|
20327
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20328
|
+
if (apiKeyValue) {
|
|
20329
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20330
|
+
}
|
|
20331
|
+
}
|
|
19705
20332
|
}
|
|
19706
20333
|
const response = await this.request({
|
|
19707
20334
|
path: `/auth/users/by-email`,
|
|
@@ -19733,10 +20360,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19733
20360
|
const queryParameters = {};
|
|
19734
20361
|
const headerParameters = {};
|
|
19735
20362
|
if (this.configuration && this.configuration.apiKey) {
|
|
19736
|
-
|
|
20363
|
+
{
|
|
20364
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20365
|
+
if (apiKeyValue) {
|
|
20366
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20367
|
+
}
|
|
20368
|
+
}
|
|
19737
20369
|
}
|
|
19738
20370
|
if (this.configuration && this.configuration.apiKey) {
|
|
19739
|
-
|
|
20371
|
+
{
|
|
20372
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20373
|
+
if (apiKeyValue) {
|
|
20374
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20375
|
+
}
|
|
20376
|
+
}
|
|
19740
20377
|
}
|
|
19741
20378
|
const response = await this.request({
|
|
19742
20379
|
path: `/auth/users/{user_id}`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -19768,10 +20405,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19768
20405
|
const queryParameters = {};
|
|
19769
20406
|
const headerParameters = {};
|
|
19770
20407
|
if (this.configuration && this.configuration.apiKey) {
|
|
19771
|
-
|
|
20408
|
+
{
|
|
20409
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20410
|
+
if (apiKeyValue) {
|
|
20411
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20412
|
+
}
|
|
20413
|
+
}
|
|
19772
20414
|
}
|
|
19773
20415
|
if (this.configuration && this.configuration.apiKey) {
|
|
19774
|
-
|
|
20416
|
+
{
|
|
20417
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20418
|
+
if (apiKeyValue) {
|
|
20419
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20420
|
+
}
|
|
20421
|
+
}
|
|
19775
20422
|
}
|
|
19776
20423
|
const response = await this.request({
|
|
19777
20424
|
path: `/auth/users/{user_id}/claims`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -19804,10 +20451,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19804
20451
|
const headerParameters = {};
|
|
19805
20452
|
headerParameters["Content-Type"] = "application/json";
|
|
19806
20453
|
if (this.configuration && this.configuration.apiKey) {
|
|
19807
|
-
|
|
20454
|
+
{
|
|
20455
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20456
|
+
if (apiKeyValue) {
|
|
20457
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20458
|
+
}
|
|
20459
|
+
}
|
|
19808
20460
|
}
|
|
19809
20461
|
if (this.configuration && this.configuration.apiKey) {
|
|
19810
|
-
|
|
20462
|
+
{
|
|
20463
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20464
|
+
if (apiKeyValue) {
|
|
20465
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20466
|
+
}
|
|
20467
|
+
}
|
|
19811
20468
|
}
|
|
19812
20469
|
const response = await this.request({
|
|
19813
20470
|
path: `/auth/users/invite`,
|
|
@@ -19846,10 +20503,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19846
20503
|
}
|
|
19847
20504
|
const headerParameters = {};
|
|
19848
20505
|
if (this.configuration && this.configuration.apiKey) {
|
|
19849
|
-
|
|
20506
|
+
{
|
|
20507
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20508
|
+
if (apiKeyValue) {
|
|
20509
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20510
|
+
}
|
|
20511
|
+
}
|
|
19850
20512
|
}
|
|
19851
20513
|
if (this.configuration && this.configuration.apiKey) {
|
|
19852
|
-
|
|
20514
|
+
{
|
|
20515
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20516
|
+
if (apiKeyValue) {
|
|
20517
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20518
|
+
}
|
|
20519
|
+
}
|
|
19853
20520
|
}
|
|
19854
20521
|
const response = await this.request({
|
|
19855
20522
|
path: `/auth/users`,
|
|
@@ -19888,10 +20555,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19888
20555
|
const headerParameters = {};
|
|
19889
20556
|
headerParameters["Content-Type"] = "application/json";
|
|
19890
20557
|
if (this.configuration && this.configuration.apiKey) {
|
|
19891
|
-
|
|
20558
|
+
{
|
|
20559
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20560
|
+
if (apiKeyValue) {
|
|
20561
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20562
|
+
}
|
|
20563
|
+
}
|
|
19892
20564
|
}
|
|
19893
20565
|
if (this.configuration && this.configuration.apiKey) {
|
|
19894
|
-
|
|
20566
|
+
{
|
|
20567
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20568
|
+
if (apiKeyValue) {
|
|
20569
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20570
|
+
}
|
|
20571
|
+
}
|
|
19895
20572
|
}
|
|
19896
20573
|
const response = await this.request({
|
|
19897
20574
|
path: `/auth/users/{user_id}/claims`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -19931,10 +20608,20 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
19931
20608
|
const headerParameters = {};
|
|
19932
20609
|
headerParameters["Content-Type"] = "application/json";
|
|
19933
20610
|
if (this.configuration && this.configuration.apiKey) {
|
|
19934
|
-
|
|
20611
|
+
{
|
|
20612
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
20613
|
+
if (apiKeyValue) {
|
|
20614
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
20615
|
+
}
|
|
20616
|
+
}
|
|
19935
20617
|
}
|
|
19936
20618
|
if (this.configuration && this.configuration.apiKey) {
|
|
19937
|
-
|
|
20619
|
+
{
|
|
20620
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20621
|
+
if (apiKeyValue) {
|
|
20622
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20623
|
+
}
|
|
20624
|
+
}
|
|
19938
20625
|
}
|
|
19939
20626
|
const response = await this.request({
|
|
19940
20627
|
path: `/auth/users/{user_id}`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -19983,7 +20670,12 @@ var AuthUserProfileApi = class extends BaseAPI {
|
|
|
19983
20670
|
}
|
|
19984
20671
|
}
|
|
19985
20672
|
if (this.configuration && this.configuration.apiKey) {
|
|
19986
|
-
|
|
20673
|
+
{
|
|
20674
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20675
|
+
if (apiKeyValue) {
|
|
20676
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20677
|
+
}
|
|
20678
|
+
}
|
|
19987
20679
|
}
|
|
19988
20680
|
const response = await this.request({
|
|
19989
20681
|
path: `/auth/users/change-password`,
|
|
@@ -20017,7 +20709,12 @@ var AuthUserProfileApi = class extends BaseAPI {
|
|
|
20017
20709
|
}
|
|
20018
20710
|
}
|
|
20019
20711
|
if (this.configuration && this.configuration.apiKey) {
|
|
20020
|
-
|
|
20712
|
+
{
|
|
20713
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20714
|
+
if (apiKeyValue) {
|
|
20715
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20716
|
+
}
|
|
20717
|
+
}
|
|
20021
20718
|
}
|
|
20022
20719
|
const response = await this.request({
|
|
20023
20720
|
path: `/auth/users/me`,
|
|
@@ -20050,7 +20747,12 @@ var AuthUserProfileApi = class extends BaseAPI {
|
|
|
20050
20747
|
}
|
|
20051
20748
|
}
|
|
20052
20749
|
if (this.configuration && this.configuration.apiKey) {
|
|
20053
|
-
|
|
20750
|
+
{
|
|
20751
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20752
|
+
if (apiKeyValue) {
|
|
20753
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20754
|
+
}
|
|
20755
|
+
}
|
|
20054
20756
|
}
|
|
20055
20757
|
const response = await this.request({
|
|
20056
20758
|
path: `/auth/users/me`,
|
|
@@ -20090,7 +20792,12 @@ var AuthUserProfileApi = class extends BaseAPI {
|
|
|
20090
20792
|
}
|
|
20091
20793
|
}
|
|
20092
20794
|
if (this.configuration && this.configuration.apiKey) {
|
|
20093
|
-
|
|
20795
|
+
{
|
|
20796
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20797
|
+
if (apiKeyValue) {
|
|
20798
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20799
|
+
}
|
|
20800
|
+
}
|
|
20094
20801
|
}
|
|
20095
20802
|
const response = await this.request({
|
|
20096
20803
|
path: `/auth/users/me`,
|
|
@@ -20134,7 +20841,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20134
20841
|
}
|
|
20135
20842
|
}
|
|
20136
20843
|
if (this.configuration && this.configuration.apiKey) {
|
|
20137
|
-
|
|
20844
|
+
{
|
|
20845
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20846
|
+
if (apiKeyValue) {
|
|
20847
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20848
|
+
}
|
|
20849
|
+
}
|
|
20138
20850
|
}
|
|
20139
20851
|
const response = await this.request({
|
|
20140
20852
|
path: `/auth/webauthn/credentials/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20167,7 +20879,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20167
20879
|
}
|
|
20168
20880
|
}
|
|
20169
20881
|
if (this.configuration && this.configuration.apiKey) {
|
|
20170
|
-
|
|
20882
|
+
{
|
|
20883
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20884
|
+
if (apiKeyValue) {
|
|
20885
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20886
|
+
}
|
|
20887
|
+
}
|
|
20171
20888
|
}
|
|
20172
20889
|
const response = await this.request({
|
|
20173
20890
|
path: `/auth/webauthn/status`,
|
|
@@ -20200,7 +20917,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20200
20917
|
}
|
|
20201
20918
|
}
|
|
20202
20919
|
if (this.configuration && this.configuration.apiKey) {
|
|
20203
|
-
|
|
20920
|
+
{
|
|
20921
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20922
|
+
if (apiKeyValue) {
|
|
20923
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20924
|
+
}
|
|
20925
|
+
}
|
|
20204
20926
|
}
|
|
20205
20927
|
const response = await this.request({
|
|
20206
20928
|
path: `/auth/webauthn/credentials`,
|
|
@@ -20246,7 +20968,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20246
20968
|
}
|
|
20247
20969
|
}
|
|
20248
20970
|
if (this.configuration && this.configuration.apiKey) {
|
|
20249
|
-
|
|
20971
|
+
{
|
|
20972
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
20973
|
+
if (apiKeyValue) {
|
|
20974
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
20975
|
+
}
|
|
20976
|
+
}
|
|
20250
20977
|
}
|
|
20251
20978
|
const response = await this.request({
|
|
20252
20979
|
path: `/auth/webauthn/credentials/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20274,10 +21001,20 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20274
21001
|
const headerParameters = {};
|
|
20275
21002
|
headerParameters["Content-Type"] = "application/json";
|
|
20276
21003
|
if (this.configuration && this.configuration.apiKey) {
|
|
20277
|
-
|
|
21004
|
+
{
|
|
21005
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
21006
|
+
if (apiKeyValue) {
|
|
21007
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
21008
|
+
}
|
|
21009
|
+
}
|
|
20278
21010
|
}
|
|
20279
21011
|
if (this.configuration && this.configuration.apiKey) {
|
|
20280
|
-
|
|
21012
|
+
{
|
|
21013
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
21014
|
+
if (apiKeyValue) {
|
|
21015
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
21016
|
+
}
|
|
21017
|
+
}
|
|
20281
21018
|
}
|
|
20282
21019
|
const response = await this.request({
|
|
20283
21020
|
path: `/auth/webauthn/authentication/start`,
|
|
@@ -20305,7 +21042,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20305
21042
|
const headerParameters = {};
|
|
20306
21043
|
headerParameters["Content-Type"] = "application/json";
|
|
20307
21044
|
if (this.configuration && this.configuration.apiKey) {
|
|
20308
|
-
|
|
21045
|
+
{
|
|
21046
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
21047
|
+
if (apiKeyValue) {
|
|
21048
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
21049
|
+
}
|
|
21050
|
+
}
|
|
20309
21051
|
}
|
|
20310
21052
|
if (this.configuration && this.configuration.accessToken) {
|
|
20311
21053
|
const token = this.configuration.accessToken;
|
|
@@ -20315,7 +21057,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20315
21057
|
}
|
|
20316
21058
|
}
|
|
20317
21059
|
if (this.configuration && this.configuration.apiKey) {
|
|
20318
|
-
|
|
21060
|
+
{
|
|
21061
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
21062
|
+
if (apiKeyValue) {
|
|
21063
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
21064
|
+
}
|
|
21065
|
+
}
|
|
20319
21066
|
}
|
|
20320
21067
|
const response = await this.request({
|
|
20321
21068
|
path: `/auth/webauthn/registration/start`,
|
|
@@ -20349,10 +21096,20 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20349
21096
|
const headerParameters = {};
|
|
20350
21097
|
headerParameters["Content-Type"] = "application/json";
|
|
20351
21098
|
if (this.configuration && this.configuration.apiKey) {
|
|
20352
|
-
|
|
21099
|
+
{
|
|
21100
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
21101
|
+
if (apiKeyValue) {
|
|
21102
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
21103
|
+
}
|
|
21104
|
+
}
|
|
20353
21105
|
}
|
|
20354
21106
|
if (this.configuration && this.configuration.apiKey) {
|
|
20355
|
-
|
|
21107
|
+
{
|
|
21108
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
21109
|
+
if (apiKeyValue) {
|
|
21110
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
21111
|
+
}
|
|
21112
|
+
}
|
|
20356
21113
|
}
|
|
20357
21114
|
const response = await this.request({
|
|
20358
21115
|
path: `/auth/webauthn/authentication/verify`,
|
|
@@ -20386,7 +21143,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20386
21143
|
const headerParameters = {};
|
|
20387
21144
|
headerParameters["Content-Type"] = "application/json";
|
|
20388
21145
|
if (this.configuration && this.configuration.apiKey) {
|
|
20389
|
-
|
|
21146
|
+
{
|
|
21147
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Secret");
|
|
21148
|
+
if (apiKeyValue) {
|
|
21149
|
+
headerParameters["X-Application-Secret"] = apiKeyValue;
|
|
21150
|
+
}
|
|
21151
|
+
}
|
|
20390
21152
|
}
|
|
20391
21153
|
if (this.configuration && this.configuration.accessToken) {
|
|
20392
21154
|
const token = this.configuration.accessToken;
|
|
@@ -20396,7 +21158,12 @@ var AuthWebAuthnApi = class extends BaseAPI {
|
|
|
20396
21158
|
}
|
|
20397
21159
|
}
|
|
20398
21160
|
if (this.configuration && this.configuration.apiKey) {
|
|
20399
|
-
|
|
21161
|
+
{
|
|
21162
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
21163
|
+
if (apiKeyValue) {
|
|
21164
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
21165
|
+
}
|
|
21166
|
+
}
|
|
20400
21167
|
}
|
|
20401
21168
|
const response = await this.request({
|
|
20402
21169
|
path: `/auth/webauthn/registration/verify`,
|
|
@@ -20433,7 +21200,12 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20433
21200
|
const queryParameters = {};
|
|
20434
21201
|
const headerParameters = {};
|
|
20435
21202
|
if (this.configuration && this.configuration.apiKey) {
|
|
20436
|
-
|
|
21203
|
+
{
|
|
21204
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21205
|
+
if (apiKeyValue) {
|
|
21206
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21207
|
+
}
|
|
21208
|
+
}
|
|
20437
21209
|
}
|
|
20438
21210
|
const response = await this.request({
|
|
20439
21211
|
path: `/devices/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20465,7 +21237,12 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20465
21237
|
const queryParameters = {};
|
|
20466
21238
|
const headerParameters = {};
|
|
20467
21239
|
if (this.configuration && this.configuration.apiKey) {
|
|
20468
|
-
|
|
21240
|
+
{
|
|
21241
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21242
|
+
if (apiKeyValue) {
|
|
21243
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21244
|
+
}
|
|
21245
|
+
}
|
|
20469
21246
|
}
|
|
20470
21247
|
const response = await this.request({
|
|
20471
21248
|
path: `/devices/user/{user_id}`.replace(`{${"user_id"}}`, encodeURIComponent(String(requestParameters["userId"]))),
|
|
@@ -20497,7 +21274,12 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20497
21274
|
const queryParameters = {};
|
|
20498
21275
|
const headerParameters = {};
|
|
20499
21276
|
if (this.configuration && this.configuration.apiKey) {
|
|
20500
|
-
|
|
21277
|
+
{
|
|
21278
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21279
|
+
if (apiKeyValue) {
|
|
21280
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21281
|
+
}
|
|
21282
|
+
}
|
|
20501
21283
|
}
|
|
20502
21284
|
const response = await this.request({
|
|
20503
21285
|
path: `/devices/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20523,7 +21305,12 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20523
21305
|
const queryParameters = {};
|
|
20524
21306
|
const headerParameters = {};
|
|
20525
21307
|
if (this.configuration && this.configuration.apiKey) {
|
|
20526
|
-
|
|
21308
|
+
{
|
|
21309
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21310
|
+
if (apiKeyValue) {
|
|
21311
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21312
|
+
}
|
|
21313
|
+
}
|
|
20527
21314
|
}
|
|
20528
21315
|
const response = await this.request({
|
|
20529
21316
|
path: `/devices/stats`,
|
|
@@ -20561,7 +21348,12 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20561
21348
|
}
|
|
20562
21349
|
const headerParameters = {};
|
|
20563
21350
|
if (this.configuration && this.configuration.apiKey) {
|
|
20564
|
-
|
|
21351
|
+
{
|
|
21352
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21353
|
+
if (apiKeyValue) {
|
|
21354
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21355
|
+
}
|
|
21356
|
+
}
|
|
20565
21357
|
}
|
|
20566
21358
|
const response = await this.request({
|
|
20567
21359
|
path: `/devices`,
|
|
@@ -20580,7 +21372,7 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20580
21372
|
return await response.value();
|
|
20581
21373
|
}
|
|
20582
21374
|
/**
|
|
20583
|
-
* Register a device for push notifications.
|
|
21375
|
+
* Register a device for push notifications. Registration is an upsert keyed on (project, token), so calling it on every app launch is safe and idempotent. Re-registering an existing token under a different `user_id` **reassigns** the device to that user — the previous association does not persist, so a push addressed to the old user will not reach this device. `user_id` is an opaque string you choose. It is stored verbatim with no foreign key, and `POST /v1/push` matches on exactly that value. No Subscriber record is created for you. Requires a secret API key, so call it from your backend and derive `user_id` from the authenticated session rather than the request body.
|
|
20584
21376
|
* Register a device
|
|
20585
21377
|
*/
|
|
20586
21378
|
async registerDeviceRaw(requestParameters, initOverrides) {
|
|
@@ -20594,7 +21386,12 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20594
21386
|
const headerParameters = {};
|
|
20595
21387
|
headerParameters["Content-Type"] = "application/json";
|
|
20596
21388
|
if (this.configuration && this.configuration.apiKey) {
|
|
20597
|
-
|
|
21389
|
+
{
|
|
21390
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21391
|
+
if (apiKeyValue) {
|
|
21392
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21393
|
+
}
|
|
21394
|
+
}
|
|
20598
21395
|
}
|
|
20599
21396
|
const response = await this.request({
|
|
20600
21397
|
path: `/devices`,
|
|
@@ -20606,7 +21403,7 @@ var DevicesApi = class extends BaseAPI {
|
|
|
20606
21403
|
return new JSONApiResponse(response, (jsonValue) => DeviceResponseFromJSON(jsonValue));
|
|
20607
21404
|
}
|
|
20608
21405
|
/**
|
|
20609
|
-
* Register a device for push notifications.
|
|
21406
|
+
* Register a device for push notifications. Registration is an upsert keyed on (project, token), so calling it on every app launch is safe and idempotent. Re-registering an existing token under a different `user_id` **reassigns** the device to that user — the previous association does not persist, so a push addressed to the old user will not reach this device. `user_id` is an opaque string you choose. It is stored verbatim with no foreign key, and `POST /v1/push` matches on exactly that value. No Subscriber record is created for you. Requires a secret API key, so call it from your backend and derive `user_id` from the authenticated session rather than the request body.
|
|
20610
21407
|
* Register a device
|
|
20611
21408
|
*/
|
|
20612
21409
|
async registerDevice(registerDeviceRequest, initOverrides) {
|
|
@@ -20637,7 +21434,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20637
21434
|
const headerParameters = {};
|
|
20638
21435
|
headerParameters["Content-Type"] = "application/json";
|
|
20639
21436
|
if (this.configuration && this.configuration.apiKey) {
|
|
20640
|
-
|
|
21437
|
+
{
|
|
21438
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21439
|
+
if (apiKeyValue) {
|
|
21440
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21441
|
+
}
|
|
21442
|
+
}
|
|
20641
21443
|
}
|
|
20642
21444
|
const response = await this.request({
|
|
20643
21445
|
path: `/domains`,
|
|
@@ -20670,7 +21472,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20670
21472
|
const queryParameters = {};
|
|
20671
21473
|
const headerParameters = {};
|
|
20672
21474
|
if (this.configuration && this.configuration.apiKey) {
|
|
20673
|
-
|
|
21475
|
+
{
|
|
21476
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21477
|
+
if (apiKeyValue) {
|
|
21478
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21479
|
+
}
|
|
21480
|
+
}
|
|
20674
21481
|
}
|
|
20675
21482
|
const response = await this.request({
|
|
20676
21483
|
path: `/domains/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20702,7 +21509,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20702
21509
|
const queryParameters = {};
|
|
20703
21510
|
const headerParameters = {};
|
|
20704
21511
|
if (this.configuration && this.configuration.apiKey) {
|
|
20705
|
-
|
|
21512
|
+
{
|
|
21513
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21514
|
+
if (apiKeyValue) {
|
|
21515
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21516
|
+
}
|
|
21517
|
+
}
|
|
20706
21518
|
}
|
|
20707
21519
|
const response = await this.request({
|
|
20708
21520
|
path: `/domains/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20734,7 +21546,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20734
21546
|
const queryParameters = {};
|
|
20735
21547
|
const headerParameters = {};
|
|
20736
21548
|
if (this.configuration && this.configuration.apiKey) {
|
|
20737
|
-
|
|
21549
|
+
{
|
|
21550
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21551
|
+
if (apiKeyValue) {
|
|
21552
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21553
|
+
}
|
|
21554
|
+
}
|
|
20738
21555
|
}
|
|
20739
21556
|
const response = await this.request({
|
|
20740
21557
|
path: `/domains/{id}/verification-status`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20760,7 +21577,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20760
21577
|
const queryParameters = {};
|
|
20761
21578
|
const headerParameters = {};
|
|
20762
21579
|
if (this.configuration && this.configuration.apiKey) {
|
|
20763
|
-
|
|
21580
|
+
{
|
|
21581
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21582
|
+
if (apiKeyValue) {
|
|
21583
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21584
|
+
}
|
|
21585
|
+
}
|
|
20764
21586
|
}
|
|
20765
21587
|
const response = await this.request({
|
|
20766
21588
|
path: `/domains`,
|
|
@@ -20799,7 +21621,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20799
21621
|
const headerParameters = {};
|
|
20800
21622
|
headerParameters["Content-Type"] = "application/json";
|
|
20801
21623
|
if (this.configuration && this.configuration.apiKey) {
|
|
20802
|
-
|
|
21624
|
+
{
|
|
21625
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21626
|
+
if (apiKeyValue) {
|
|
21627
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21628
|
+
}
|
|
21629
|
+
}
|
|
20803
21630
|
}
|
|
20804
21631
|
const response = await this.request({
|
|
20805
21632
|
path: `/domains/{id}/inbound`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20832,7 +21659,12 @@ var DomainsApi = class extends BaseAPI {
|
|
|
20832
21659
|
const queryParameters = {};
|
|
20833
21660
|
const headerParameters = {};
|
|
20834
21661
|
if (this.configuration && this.configuration.apiKey) {
|
|
20835
|
-
|
|
21662
|
+
{
|
|
21663
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21664
|
+
if (apiKeyValue) {
|
|
21665
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21666
|
+
}
|
|
21667
|
+
}
|
|
20836
21668
|
}
|
|
20837
21669
|
const response = await this.request({
|
|
20838
21670
|
path: `/domains/{id}/verify`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20868,7 +21700,12 @@ var EmailsApi = class extends BaseAPI {
|
|
|
20868
21700
|
const queryParameters = {};
|
|
20869
21701
|
const headerParameters = {};
|
|
20870
21702
|
if (this.configuration && this.configuration.apiKey) {
|
|
20871
|
-
|
|
21703
|
+
{
|
|
21704
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21705
|
+
if (apiKeyValue) {
|
|
21706
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21707
|
+
}
|
|
21708
|
+
}
|
|
20872
21709
|
}
|
|
20873
21710
|
const response = await this.request({
|
|
20874
21711
|
path: `/emails/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20900,7 +21737,12 @@ var EmailsApi = class extends BaseAPI {
|
|
|
20900
21737
|
const queryParameters = {};
|
|
20901
21738
|
const headerParameters = {};
|
|
20902
21739
|
if (this.configuration && this.configuration.apiKey) {
|
|
20903
|
-
|
|
21740
|
+
{
|
|
21741
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21742
|
+
if (apiKeyValue) {
|
|
21743
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21744
|
+
}
|
|
21745
|
+
}
|
|
20904
21746
|
}
|
|
20905
21747
|
const response = await this.request({
|
|
20906
21748
|
path: `/emails/{id}/events`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20932,7 +21774,12 @@ var EmailsApi = class extends BaseAPI {
|
|
|
20932
21774
|
const queryParameters = {};
|
|
20933
21775
|
const headerParameters = {};
|
|
20934
21776
|
if (this.configuration && this.configuration.apiKey) {
|
|
20935
|
-
|
|
21777
|
+
{
|
|
21778
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21779
|
+
if (apiKeyValue) {
|
|
21780
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21781
|
+
}
|
|
21782
|
+
}
|
|
20936
21783
|
}
|
|
20937
21784
|
const response = await this.request({
|
|
20938
21785
|
path: `/emails/{id}/tracking`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -20970,7 +21817,12 @@ var EmailsApi = class extends BaseAPI {
|
|
|
20970
21817
|
}
|
|
20971
21818
|
const headerParameters = {};
|
|
20972
21819
|
if (this.configuration && this.configuration.apiKey) {
|
|
20973
|
-
|
|
21820
|
+
{
|
|
21821
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21822
|
+
if (apiKeyValue) {
|
|
21823
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21824
|
+
}
|
|
21825
|
+
}
|
|
20974
21826
|
}
|
|
20975
21827
|
const response = await this.request({
|
|
20976
21828
|
path: `/emails`,
|
|
@@ -21003,7 +21855,12 @@ var EmailsApi = class extends BaseAPI {
|
|
|
21003
21855
|
const headerParameters = {};
|
|
21004
21856
|
headerParameters["Content-Type"] = "application/json";
|
|
21005
21857
|
if (this.configuration && this.configuration.apiKey) {
|
|
21006
|
-
|
|
21858
|
+
{
|
|
21859
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21860
|
+
if (apiKeyValue) {
|
|
21861
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21862
|
+
}
|
|
21863
|
+
}
|
|
21007
21864
|
}
|
|
21008
21865
|
const response = await this.request({
|
|
21009
21866
|
path: `/emails/batch`,
|
|
@@ -21037,7 +21894,12 @@ var EmailsApi = class extends BaseAPI {
|
|
|
21037
21894
|
const headerParameters = {};
|
|
21038
21895
|
headerParameters["Content-Type"] = "application/json";
|
|
21039
21896
|
if (this.configuration && this.configuration.apiKey) {
|
|
21040
|
-
|
|
21897
|
+
{
|
|
21898
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21899
|
+
if (apiKeyValue) {
|
|
21900
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21901
|
+
}
|
|
21902
|
+
}
|
|
21041
21903
|
}
|
|
21042
21904
|
const response = await this.request({
|
|
21043
21905
|
path: `/emails`,
|
|
@@ -21084,7 +21946,12 @@ var ExecutionsApi = class extends BaseAPI {
|
|
|
21084
21946
|
const queryParameters = {};
|
|
21085
21947
|
const headerParameters = {};
|
|
21086
21948
|
if (this.configuration && this.configuration.apiKey) {
|
|
21087
|
-
|
|
21949
|
+
{
|
|
21950
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21951
|
+
if (apiKeyValue) {
|
|
21952
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21953
|
+
}
|
|
21954
|
+
}
|
|
21088
21955
|
}
|
|
21089
21956
|
const response = await this.request({
|
|
21090
21957
|
path: `/executions/{id}/cancel`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21116,7 +21983,12 @@ var ExecutionsApi = class extends BaseAPI {
|
|
|
21116
21983
|
const queryParameters = {};
|
|
21117
21984
|
const headerParameters = {};
|
|
21118
21985
|
if (this.configuration && this.configuration.apiKey) {
|
|
21119
|
-
|
|
21986
|
+
{
|
|
21987
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
21988
|
+
if (apiKeyValue) {
|
|
21989
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
21990
|
+
}
|
|
21991
|
+
}
|
|
21120
21992
|
}
|
|
21121
21993
|
const response = await this.request({
|
|
21122
21994
|
path: `/executions/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21148,7 +22020,12 @@ var ExecutionsApi = class extends BaseAPI {
|
|
|
21148
22020
|
const queryParameters = {};
|
|
21149
22021
|
const headerParameters = {};
|
|
21150
22022
|
if (this.configuration && this.configuration.apiKey) {
|
|
21151
|
-
|
|
22023
|
+
{
|
|
22024
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22025
|
+
if (apiKeyValue) {
|
|
22026
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22027
|
+
}
|
|
22028
|
+
}
|
|
21152
22029
|
}
|
|
21153
22030
|
const response = await this.request({
|
|
21154
22031
|
path: `/executions/{id}/retry`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21190,7 +22067,12 @@ var InboundEmailApi = class extends BaseAPI {
|
|
|
21190
22067
|
const queryParameters = {};
|
|
21191
22068
|
const headerParameters = {};
|
|
21192
22069
|
if (this.configuration && this.configuration.apiKey) {
|
|
21193
|
-
|
|
22070
|
+
{
|
|
22071
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22072
|
+
if (apiKeyValue) {
|
|
22073
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22074
|
+
}
|
|
22075
|
+
}
|
|
21194
22076
|
}
|
|
21195
22077
|
const response = await this.request({
|
|
21196
22078
|
path: `/inbound-emails/{id}/attachments/{attachmentId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))).replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters["attachmentId"]))),
|
|
@@ -21222,7 +22104,12 @@ var InboundEmailApi = class extends BaseAPI {
|
|
|
21222
22104
|
const queryParameters = {};
|
|
21223
22105
|
const headerParameters = {};
|
|
21224
22106
|
if (this.configuration && this.configuration.apiKey) {
|
|
21225
|
-
|
|
22107
|
+
{
|
|
22108
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22109
|
+
if (apiKeyValue) {
|
|
22110
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22111
|
+
}
|
|
22112
|
+
}
|
|
21226
22113
|
}
|
|
21227
22114
|
const response = await this.request({
|
|
21228
22115
|
path: `/inbound-emails/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21263,7 +22150,12 @@ var InboundEmailApi = class extends BaseAPI {
|
|
|
21263
22150
|
}
|
|
21264
22151
|
const headerParameters = {};
|
|
21265
22152
|
if (this.configuration && this.configuration.apiKey) {
|
|
21266
|
-
|
|
22153
|
+
{
|
|
22154
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22155
|
+
if (apiKeyValue) {
|
|
22156
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22157
|
+
}
|
|
22158
|
+
}
|
|
21267
22159
|
}
|
|
21268
22160
|
const response = await this.request({
|
|
21269
22161
|
path: `/inbound-emails`,
|
|
@@ -21307,7 +22199,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21307
22199
|
const headerParameters = {};
|
|
21308
22200
|
headerParameters["Content-Type"] = "application/json";
|
|
21309
22201
|
if (this.configuration && this.configuration.apiKey) {
|
|
21310
|
-
|
|
22202
|
+
{
|
|
22203
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22204
|
+
if (apiKeyValue) {
|
|
22205
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22206
|
+
}
|
|
22207
|
+
}
|
|
21311
22208
|
}
|
|
21312
22209
|
const response = await this.request({
|
|
21313
22210
|
path: `/inbox/{id}/archive`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21380,7 +22277,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21380
22277
|
}
|
|
21381
22278
|
const headerParameters = {};
|
|
21382
22279
|
if (this.configuration && this.configuration.apiKey) {
|
|
21383
|
-
|
|
22280
|
+
{
|
|
22281
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22282
|
+
if (apiKeyValue) {
|
|
22283
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22284
|
+
}
|
|
22285
|
+
}
|
|
21384
22286
|
}
|
|
21385
22287
|
const response = await this.request({
|
|
21386
22288
|
path: `/inbox/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21445,7 +22347,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21445
22347
|
const headerParameters = {};
|
|
21446
22348
|
headerParameters["Content-Type"] = "application/json";
|
|
21447
22349
|
if (this.configuration && this.configuration.apiKey) {
|
|
21448
|
-
|
|
22350
|
+
{
|
|
22351
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22352
|
+
if (apiKeyValue) {
|
|
22353
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22354
|
+
}
|
|
22355
|
+
}
|
|
21449
22356
|
}
|
|
21450
22357
|
const response = await this.request({
|
|
21451
22358
|
path: `/subscriber-inbox/token`,
|
|
@@ -21484,7 +22391,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21484
22391
|
}
|
|
21485
22392
|
const headerParameters = {};
|
|
21486
22393
|
if (this.configuration && this.configuration.apiKey) {
|
|
21487
|
-
|
|
22394
|
+
{
|
|
22395
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22396
|
+
if (apiKeyValue) {
|
|
22397
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22398
|
+
}
|
|
22399
|
+
}
|
|
21488
22400
|
}
|
|
21489
22401
|
const response = await this.request({
|
|
21490
22402
|
path: `/inbox/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21612,7 +22524,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21612
22524
|
}
|
|
21613
22525
|
const headerParameters = {};
|
|
21614
22526
|
if (this.configuration && this.configuration.apiKey) {
|
|
21615
|
-
|
|
22527
|
+
{
|
|
22528
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22529
|
+
if (apiKeyValue) {
|
|
22530
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22531
|
+
}
|
|
22532
|
+
}
|
|
21616
22533
|
}
|
|
21617
22534
|
const response = await this.request({
|
|
21618
22535
|
path: `/inbox/unread-count`,
|
|
@@ -21656,7 +22573,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21656
22573
|
}
|
|
21657
22574
|
const headerParameters = {};
|
|
21658
22575
|
if (this.configuration && this.configuration.apiKey) {
|
|
21659
|
-
|
|
22576
|
+
{
|
|
22577
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22578
|
+
if (apiKeyValue) {
|
|
22579
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22580
|
+
}
|
|
22581
|
+
}
|
|
21660
22582
|
}
|
|
21661
22583
|
const response = await this.request({
|
|
21662
22584
|
path: `/inbox/all`,
|
|
@@ -21706,7 +22628,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21706
22628
|
}
|
|
21707
22629
|
const headerParameters = {};
|
|
21708
22630
|
if (this.configuration && this.configuration.apiKey) {
|
|
21709
|
-
|
|
22631
|
+
{
|
|
22632
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22633
|
+
if (apiKeyValue) {
|
|
22634
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22635
|
+
}
|
|
22636
|
+
}
|
|
21710
22637
|
}
|
|
21711
22638
|
const response = await this.request({
|
|
21712
22639
|
path: `/inbox`,
|
|
@@ -21784,7 +22711,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21784
22711
|
const headerParameters = {};
|
|
21785
22712
|
headerParameters["Content-Type"] = "application/json";
|
|
21786
22713
|
if (this.configuration && this.configuration.apiKey) {
|
|
21787
|
-
|
|
22714
|
+
{
|
|
22715
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22716
|
+
if (apiKeyValue) {
|
|
22717
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22718
|
+
}
|
|
22719
|
+
}
|
|
21788
22720
|
}
|
|
21789
22721
|
const response = await this.request({
|
|
21790
22722
|
path: `/inbox/read-all`,
|
|
@@ -21848,7 +22780,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21848
22780
|
const headerParameters = {};
|
|
21849
22781
|
headerParameters["Content-Type"] = "application/json";
|
|
21850
22782
|
if (this.configuration && this.configuration.apiKey) {
|
|
21851
|
-
|
|
22783
|
+
{
|
|
22784
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22785
|
+
if (apiKeyValue) {
|
|
22786
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22787
|
+
}
|
|
22788
|
+
}
|
|
21852
22789
|
}
|
|
21853
22790
|
const response = await this.request({
|
|
21854
22791
|
path: `/inbox/{id}/read`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -21916,7 +22853,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21916
22853
|
const headerParameters = {};
|
|
21917
22854
|
headerParameters["Content-Type"] = "application/json";
|
|
21918
22855
|
if (this.configuration && this.configuration.apiKey) {
|
|
21919
|
-
|
|
22856
|
+
{
|
|
22857
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22858
|
+
if (apiKeyValue) {
|
|
22859
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22860
|
+
}
|
|
22861
|
+
}
|
|
21920
22862
|
}
|
|
21921
22863
|
const response = await this.request({
|
|
21922
22864
|
path: `/inbox/send/batch`,
|
|
@@ -21950,7 +22892,12 @@ var InboxApi = class extends BaseAPI {
|
|
|
21950
22892
|
const headerParameters = {};
|
|
21951
22893
|
headerParameters["Content-Type"] = "application/json";
|
|
21952
22894
|
if (this.configuration && this.configuration.apiKey) {
|
|
21953
|
-
|
|
22895
|
+
{
|
|
22896
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22897
|
+
if (apiKeyValue) {
|
|
22898
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22899
|
+
}
|
|
22900
|
+
}
|
|
21954
22901
|
}
|
|
21955
22902
|
const response = await this.request({
|
|
21956
22903
|
path: `/inbox/send`,
|
|
@@ -22030,7 +22977,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22030
22977
|
const queryParameters = {};
|
|
22031
22978
|
const headerParameters = {};
|
|
22032
22979
|
if (this.configuration && this.configuration.apiKey) {
|
|
22033
|
-
|
|
22980
|
+
{
|
|
22981
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
22982
|
+
if (apiKeyValue) {
|
|
22983
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
22984
|
+
}
|
|
22985
|
+
}
|
|
22034
22986
|
}
|
|
22035
22987
|
const response = await this.request({
|
|
22036
22988
|
path: `/push/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22056,7 +23008,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22056
23008
|
const queryParameters = {};
|
|
22057
23009
|
const headerParameters = {};
|
|
22058
23010
|
if (this.configuration && this.configuration.apiKey) {
|
|
22059
|
-
|
|
23011
|
+
{
|
|
23012
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23013
|
+
if (apiKeyValue) {
|
|
23014
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23015
|
+
}
|
|
23016
|
+
}
|
|
22060
23017
|
}
|
|
22061
23018
|
const response = await this.request({
|
|
22062
23019
|
path: `/push/stats`,
|
|
@@ -22088,7 +23045,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22088
23045
|
const queryParameters = {};
|
|
22089
23046
|
const headerParameters = {};
|
|
22090
23047
|
if (this.configuration && this.configuration.apiKey) {
|
|
22091
|
-
|
|
23048
|
+
{
|
|
23049
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23050
|
+
if (apiKeyValue) {
|
|
23051
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23052
|
+
}
|
|
23053
|
+
}
|
|
22092
23054
|
}
|
|
22093
23055
|
const response = await this.request({
|
|
22094
23056
|
path: `/push/devices/{id}/topics`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22129,7 +23091,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22129
23091
|
}
|
|
22130
23092
|
const headerParameters = {};
|
|
22131
23093
|
if (this.configuration && this.configuration.apiKey) {
|
|
22132
|
-
|
|
23094
|
+
{
|
|
23095
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23096
|
+
if (apiKeyValue) {
|
|
23097
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23098
|
+
}
|
|
23099
|
+
}
|
|
22133
23100
|
}
|
|
22134
23101
|
const response = await this.request({
|
|
22135
23102
|
path: `/push`,
|
|
@@ -22167,7 +23134,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22167
23134
|
}
|
|
22168
23135
|
const headerParameters = {};
|
|
22169
23136
|
if (this.configuration && this.configuration.apiKey) {
|
|
22170
|
-
|
|
23137
|
+
{
|
|
23138
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23139
|
+
if (apiKeyValue) {
|
|
23140
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23141
|
+
}
|
|
23142
|
+
}
|
|
22171
23143
|
}
|
|
22172
23144
|
const response = await this.request({
|
|
22173
23145
|
path: `/push/topics/{key}/devices`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -22200,7 +23172,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22200
23172
|
const headerParameters = {};
|
|
22201
23173
|
headerParameters["Content-Type"] = "application/json";
|
|
22202
23174
|
if (this.configuration && this.configuration.apiKey) {
|
|
22203
|
-
|
|
23175
|
+
{
|
|
23176
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23177
|
+
if (apiKeyValue) {
|
|
23178
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23179
|
+
}
|
|
23180
|
+
}
|
|
22204
23181
|
}
|
|
22205
23182
|
const response = await this.request({
|
|
22206
23183
|
path: `/push`,
|
|
@@ -22240,7 +23217,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22240
23217
|
const headerParameters = {};
|
|
22241
23218
|
headerParameters["Content-Type"] = "application/json";
|
|
22242
23219
|
if (this.configuration && this.configuration.apiKey) {
|
|
22243
|
-
|
|
23220
|
+
{
|
|
23221
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23222
|
+
if (apiKeyValue) {
|
|
23223
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23224
|
+
}
|
|
23225
|
+
}
|
|
22244
23226
|
}
|
|
22245
23227
|
const response = await this.request({
|
|
22246
23228
|
path: `/push/topics/{key}/send`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -22280,7 +23262,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22280
23262
|
const headerParameters = {};
|
|
22281
23263
|
headerParameters["Content-Type"] = "application/json";
|
|
22282
23264
|
if (this.configuration && this.configuration.apiKey) {
|
|
22283
|
-
|
|
23265
|
+
{
|
|
23266
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23267
|
+
if (apiKeyValue) {
|
|
23268
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23269
|
+
}
|
|
23270
|
+
}
|
|
22284
23271
|
}
|
|
22285
23272
|
const response = await this.request({
|
|
22286
23273
|
path: `/push/topics/{key}/subscribe`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -22320,7 +23307,12 @@ var PushApi = class extends BaseAPI {
|
|
|
22320
23307
|
const headerParameters = {};
|
|
22321
23308
|
headerParameters["Content-Type"] = "application/json";
|
|
22322
23309
|
if (this.configuration && this.configuration.apiKey) {
|
|
22323
|
-
|
|
23310
|
+
{
|
|
23311
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23312
|
+
if (apiKeyValue) {
|
|
23313
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23314
|
+
}
|
|
23315
|
+
}
|
|
22324
23316
|
}
|
|
22325
23317
|
const response = await this.request({
|
|
22326
23318
|
path: `/push/topics/{key}/unsubscribe`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -22358,7 +23350,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22358
23350
|
const queryParameters = {};
|
|
22359
23351
|
const headerParameters = {};
|
|
22360
23352
|
if (this.configuration && this.configuration.apiKey) {
|
|
22361
|
-
|
|
23353
|
+
{
|
|
23354
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23355
|
+
if (apiKeyValue) {
|
|
23356
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23357
|
+
}
|
|
23358
|
+
}
|
|
22362
23359
|
}
|
|
22363
23360
|
const response = await this.request({
|
|
22364
23361
|
path: `/sms/config`,
|
|
@@ -22390,7 +23387,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22390
23387
|
const queryParameters = {};
|
|
22391
23388
|
const headerParameters = {};
|
|
22392
23389
|
if (this.configuration && this.configuration.apiKey) {
|
|
22393
|
-
|
|
23390
|
+
{
|
|
23391
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23392
|
+
if (apiKeyValue) {
|
|
23393
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23394
|
+
}
|
|
23395
|
+
}
|
|
22394
23396
|
}
|
|
22395
23397
|
const response = await this.request({
|
|
22396
23398
|
path: `/sms/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22416,7 +23418,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22416
23418
|
const queryParameters = {};
|
|
22417
23419
|
const headerParameters = {};
|
|
22418
23420
|
if (this.configuration && this.configuration.apiKey) {
|
|
22419
|
-
|
|
23421
|
+
{
|
|
23422
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23423
|
+
if (apiKeyValue) {
|
|
23424
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23425
|
+
}
|
|
23426
|
+
}
|
|
22420
23427
|
}
|
|
22421
23428
|
const response = await this.request({
|
|
22422
23429
|
path: `/sms/config`,
|
|
@@ -22442,7 +23449,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22442
23449
|
const queryParameters = {};
|
|
22443
23450
|
const headerParameters = {};
|
|
22444
23451
|
if (this.configuration && this.configuration.apiKey) {
|
|
22445
|
-
|
|
23452
|
+
{
|
|
23453
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23454
|
+
if (apiKeyValue) {
|
|
23455
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23456
|
+
}
|
|
23457
|
+
}
|
|
22446
23458
|
}
|
|
22447
23459
|
const response = await this.request({
|
|
22448
23460
|
path: `/sms/inbound-webhook`,
|
|
@@ -22479,7 +23491,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22479
23491
|
}
|
|
22480
23492
|
const headerParameters = {};
|
|
22481
23493
|
if (this.configuration && this.configuration.apiKey) {
|
|
22482
|
-
|
|
23494
|
+
{
|
|
23495
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23496
|
+
if (apiKeyValue) {
|
|
23497
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23498
|
+
}
|
|
23499
|
+
}
|
|
22483
23500
|
}
|
|
22484
23501
|
const response = await this.request({
|
|
22485
23502
|
path: `/sms`,
|
|
@@ -22512,7 +23529,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22512
23529
|
const headerParameters = {};
|
|
22513
23530
|
headerParameters["Content-Type"] = "application/json";
|
|
22514
23531
|
if (this.configuration && this.configuration.apiKey) {
|
|
22515
|
-
|
|
23532
|
+
{
|
|
23533
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23534
|
+
if (apiKeyValue) {
|
|
23535
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23536
|
+
}
|
|
23537
|
+
}
|
|
22516
23538
|
}
|
|
22517
23539
|
const response = await this.request({
|
|
22518
23540
|
path: `/sms/batch`,
|
|
@@ -22546,7 +23568,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22546
23568
|
const headerParameters = {};
|
|
22547
23569
|
headerParameters["Content-Type"] = "application/json";
|
|
22548
23570
|
if (this.configuration && this.configuration.apiKey) {
|
|
22549
|
-
|
|
23571
|
+
{
|
|
23572
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23573
|
+
if (apiKeyValue) {
|
|
23574
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23575
|
+
}
|
|
23576
|
+
}
|
|
22550
23577
|
}
|
|
22551
23578
|
const response = await this.request({
|
|
22552
23579
|
path: `/sms`,
|
|
@@ -22580,7 +23607,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22580
23607
|
const headerParameters = {};
|
|
22581
23608
|
headerParameters["Content-Type"] = "application/json";
|
|
22582
23609
|
if (this.configuration && this.configuration.apiKey) {
|
|
22583
|
-
|
|
23610
|
+
{
|
|
23611
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23612
|
+
if (apiKeyValue) {
|
|
23613
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23614
|
+
}
|
|
23615
|
+
}
|
|
22584
23616
|
}
|
|
22585
23617
|
const response = await this.request({
|
|
22586
23618
|
path: `/sms/test`,
|
|
@@ -22614,7 +23646,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22614
23646
|
const headerParameters = {};
|
|
22615
23647
|
headerParameters["Content-Type"] = "application/json";
|
|
22616
23648
|
if (this.configuration && this.configuration.apiKey) {
|
|
22617
|
-
|
|
23649
|
+
{
|
|
23650
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23651
|
+
if (apiKeyValue) {
|
|
23652
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23653
|
+
}
|
|
23654
|
+
}
|
|
22618
23655
|
}
|
|
22619
23656
|
const response = await this.request({
|
|
22620
23657
|
path: `/sms/config`,
|
|
@@ -22641,7 +23678,12 @@ var SMSApi = class extends BaseAPI {
|
|
|
22641
23678
|
const queryParameters = {};
|
|
22642
23679
|
const headerParameters = {};
|
|
22643
23680
|
if (this.configuration && this.configuration.apiKey) {
|
|
22644
|
-
|
|
23681
|
+
{
|
|
23682
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23683
|
+
if (apiKeyValue) {
|
|
23684
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23685
|
+
}
|
|
23686
|
+
}
|
|
22645
23687
|
}
|
|
22646
23688
|
const response = await this.request({
|
|
22647
23689
|
path: `/sms/config/verify`,
|
|
@@ -22685,7 +23727,12 @@ var SlackApi = class extends BaseAPI {
|
|
|
22685
23727
|
const queryParameters = {};
|
|
22686
23728
|
const headerParameters = {};
|
|
22687
23729
|
if (this.configuration && this.configuration.apiKey) {
|
|
22688
|
-
|
|
23730
|
+
{
|
|
23731
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23732
|
+
if (apiKeyValue) {
|
|
23733
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23734
|
+
}
|
|
23735
|
+
}
|
|
22689
23736
|
}
|
|
22690
23737
|
const response = await this.request({
|
|
22691
23738
|
path: `/slack/messages/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22726,7 +23773,12 @@ var SlackApi = class extends BaseAPI {
|
|
|
22726
23773
|
}
|
|
22727
23774
|
const headerParameters = {};
|
|
22728
23775
|
if (this.configuration && this.configuration.apiKey) {
|
|
22729
|
-
|
|
23776
|
+
{
|
|
23777
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23778
|
+
if (apiKeyValue) {
|
|
23779
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23780
|
+
}
|
|
23781
|
+
}
|
|
22730
23782
|
}
|
|
22731
23783
|
const response = await this.request({
|
|
22732
23784
|
path: `/slack/messages`,
|
|
@@ -22759,7 +23811,12 @@ var SlackApi = class extends BaseAPI {
|
|
|
22759
23811
|
const headerParameters = {};
|
|
22760
23812
|
headerParameters["Content-Type"] = "application/json";
|
|
22761
23813
|
if (this.configuration && this.configuration.apiKey) {
|
|
22762
|
-
|
|
23814
|
+
{
|
|
23815
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23816
|
+
if (apiKeyValue) {
|
|
23817
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23818
|
+
}
|
|
23819
|
+
}
|
|
22763
23820
|
}
|
|
22764
23821
|
const response = await this.request({
|
|
22765
23822
|
path: `/slack/send`,
|
|
@@ -22803,7 +23860,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22803
23860
|
const headerParameters = {};
|
|
22804
23861
|
headerParameters["Content-Type"] = "application/json";
|
|
22805
23862
|
if (this.configuration && this.configuration.apiKey) {
|
|
22806
|
-
|
|
23863
|
+
{
|
|
23864
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23865
|
+
if (apiKeyValue) {
|
|
23866
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23867
|
+
}
|
|
23868
|
+
}
|
|
22807
23869
|
}
|
|
22808
23870
|
const response = await this.request({
|
|
22809
23871
|
path: `/subscribers/categories`,
|
|
@@ -22836,7 +23898,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22836
23898
|
const headerParameters = {};
|
|
22837
23899
|
headerParameters["Content-Type"] = "application/json";
|
|
22838
23900
|
if (this.configuration && this.configuration.apiKey) {
|
|
22839
|
-
|
|
23901
|
+
{
|
|
23902
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23903
|
+
if (apiKeyValue) {
|
|
23904
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23905
|
+
}
|
|
23906
|
+
}
|
|
22840
23907
|
}
|
|
22841
23908
|
const response = await this.request({
|
|
22842
23909
|
path: `/subscribers`,
|
|
@@ -22868,7 +23935,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22868
23935
|
const queryParameters = {};
|
|
22869
23936
|
const headerParameters = {};
|
|
22870
23937
|
if (this.configuration && this.configuration.apiKey) {
|
|
22871
|
-
|
|
23938
|
+
{
|
|
23939
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23940
|
+
if (apiKeyValue) {
|
|
23941
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23942
|
+
}
|
|
23943
|
+
}
|
|
22872
23944
|
}
|
|
22873
23945
|
const response = await this.request({
|
|
22874
23946
|
path: `/subscribers/categories/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22898,7 +23970,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22898
23970
|
const queryParameters = {};
|
|
22899
23971
|
const headerParameters = {};
|
|
22900
23972
|
if (this.configuration && this.configuration.apiKey) {
|
|
22901
|
-
|
|
23973
|
+
{
|
|
23974
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
23975
|
+
if (apiKeyValue) {
|
|
23976
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
23977
|
+
}
|
|
23978
|
+
}
|
|
22902
23979
|
}
|
|
22903
23980
|
const response = await this.request({
|
|
22904
23981
|
path: `/subscribers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22928,7 +24005,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22928
24005
|
const queryParameters = {};
|
|
22929
24006
|
const headerParameters = {};
|
|
22930
24007
|
if (this.configuration && this.configuration.apiKey) {
|
|
22931
|
-
|
|
24008
|
+
{
|
|
24009
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24010
|
+
if (apiKeyValue) {
|
|
24011
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24012
|
+
}
|
|
24013
|
+
}
|
|
22932
24014
|
}
|
|
22933
24015
|
const response = await this.request({
|
|
22934
24016
|
path: `/subscribers/categories/{idOrSlug}`.replace(`{${"idOrSlug"}}`, encodeURIComponent(String(requestParameters["idOrSlug"]))),
|
|
@@ -22958,7 +24040,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22958
24040
|
const queryParameters = {};
|
|
22959
24041
|
const headerParameters = {};
|
|
22960
24042
|
if (this.configuration && this.configuration.apiKey) {
|
|
22961
|
-
|
|
24043
|
+
{
|
|
24044
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24045
|
+
if (apiKeyValue) {
|
|
24046
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24047
|
+
}
|
|
24048
|
+
}
|
|
22962
24049
|
}
|
|
22963
24050
|
const response = await this.request({
|
|
22964
24051
|
path: `/subscribers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -22988,7 +24075,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
22988
24075
|
const queryParameters = {};
|
|
22989
24076
|
const headerParameters = {};
|
|
22990
24077
|
if (this.configuration && this.configuration.apiKey) {
|
|
22991
|
-
|
|
24078
|
+
{
|
|
24079
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24080
|
+
if (apiKeyValue) {
|
|
24081
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24082
|
+
}
|
|
24083
|
+
}
|
|
22992
24084
|
}
|
|
22993
24085
|
const response = await this.request({
|
|
22994
24086
|
path: `/subscribers/by-external-id/{externalId}`.replace(`{${"externalId"}}`, encodeURIComponent(String(requestParameters["externalId"]))),
|
|
@@ -23018,7 +24110,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23018
24110
|
const queryParameters = {};
|
|
23019
24111
|
const headerParameters = {};
|
|
23020
24112
|
if (this.configuration && this.configuration.apiKey) {
|
|
23021
|
-
|
|
24113
|
+
{
|
|
24114
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24115
|
+
if (apiKeyValue) {
|
|
24116
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24117
|
+
}
|
|
24118
|
+
}
|
|
23022
24119
|
}
|
|
23023
24120
|
const response = await this.request({
|
|
23024
24121
|
path: `/subscribers/{id}/consent`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23055,7 +24152,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23055
24152
|
}
|
|
23056
24153
|
const headerParameters = {};
|
|
23057
24154
|
if (this.configuration && this.configuration.apiKey) {
|
|
23058
|
-
|
|
24155
|
+
{
|
|
24156
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24157
|
+
if (apiKeyValue) {
|
|
24158
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24159
|
+
}
|
|
24160
|
+
}
|
|
23059
24161
|
}
|
|
23060
24162
|
const response = await this.request({
|
|
23061
24163
|
path: `/subscribers/{id}/consent/history`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23089,7 +24191,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23089
24191
|
}
|
|
23090
24192
|
const headerParameters = {};
|
|
23091
24193
|
if (this.configuration && this.configuration.apiKey) {
|
|
23092
|
-
|
|
24194
|
+
{
|
|
24195
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24196
|
+
if (apiKeyValue) {
|
|
24197
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24198
|
+
}
|
|
24199
|
+
}
|
|
23093
24200
|
}
|
|
23094
24201
|
const response = await this.request({
|
|
23095
24202
|
path: `/subscribers/{id}/preferences`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23119,7 +24226,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23119
24226
|
const queryParameters = {};
|
|
23120
24227
|
const headerParameters = {};
|
|
23121
24228
|
if (this.configuration && this.configuration.apiKey) {
|
|
23122
|
-
|
|
24229
|
+
{
|
|
24230
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24231
|
+
if (apiKeyValue) {
|
|
24232
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24233
|
+
}
|
|
24234
|
+
}
|
|
23123
24235
|
}
|
|
23124
24236
|
const response = await this.request({
|
|
23125
24237
|
path: `/subscribers/{id}/unsubscribes`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23143,7 +24255,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23143
24255
|
const queryParameters = {};
|
|
23144
24256
|
const headerParameters = {};
|
|
23145
24257
|
if (this.configuration && this.configuration.apiKey) {
|
|
23146
|
-
|
|
24258
|
+
{
|
|
24259
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24260
|
+
if (apiKeyValue) {
|
|
24261
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24262
|
+
}
|
|
24263
|
+
}
|
|
23147
24264
|
}
|
|
23148
24265
|
const response = await this.request({
|
|
23149
24266
|
path: `/subscribers/categories`,
|
|
@@ -23179,7 +24296,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23179
24296
|
}
|
|
23180
24297
|
const headerParameters = {};
|
|
23181
24298
|
if (this.configuration && this.configuration.apiKey) {
|
|
23182
|
-
|
|
24299
|
+
{
|
|
24300
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24301
|
+
if (apiKeyValue) {
|
|
24302
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24303
|
+
}
|
|
24304
|
+
}
|
|
23183
24305
|
}
|
|
23184
24306
|
const response = await this.request({
|
|
23185
24307
|
path: `/subscribers`,
|
|
@@ -23216,7 +24338,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23216
24338
|
const headerParameters = {};
|
|
23217
24339
|
headerParameters["Content-Type"] = "application/json";
|
|
23218
24340
|
if (this.configuration && this.configuration.apiKey) {
|
|
23219
|
-
|
|
24341
|
+
{
|
|
24342
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24343
|
+
if (apiKeyValue) {
|
|
24344
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24345
|
+
}
|
|
24346
|
+
}
|
|
23220
24347
|
}
|
|
23221
24348
|
const response = await this.request({
|
|
23222
24349
|
path: `/subscribers/{id}/consent`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23248,7 +24375,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23248
24375
|
const headerParameters = {};
|
|
23249
24376
|
headerParameters["Content-Type"] = "application/json";
|
|
23250
24377
|
if (this.configuration && this.configuration.apiKey) {
|
|
23251
|
-
|
|
24378
|
+
{
|
|
24379
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24380
|
+
if (apiKeyValue) {
|
|
24381
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24382
|
+
}
|
|
24383
|
+
}
|
|
23252
24384
|
}
|
|
23253
24385
|
const response = await this.request({
|
|
23254
24386
|
path: `/subscribers/{id}/resubscribe`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23287,7 +24419,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23287
24419
|
const headerParameters = {};
|
|
23288
24420
|
headerParameters["Content-Type"] = "application/json";
|
|
23289
24421
|
if (this.configuration && this.configuration.apiKey) {
|
|
23290
|
-
|
|
24422
|
+
{
|
|
24423
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24424
|
+
if (apiKeyValue) {
|
|
24425
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24426
|
+
}
|
|
24427
|
+
}
|
|
23291
24428
|
}
|
|
23292
24429
|
const response = await this.request({
|
|
23293
24430
|
path: `/subscribers/{id}/preferences`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23320,7 +24457,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23320
24457
|
const headerParameters = {};
|
|
23321
24458
|
headerParameters["Content-Type"] = "application/json";
|
|
23322
24459
|
if (this.configuration && this.configuration.apiKey) {
|
|
23323
|
-
|
|
24460
|
+
{
|
|
24461
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24462
|
+
if (apiKeyValue) {
|
|
24463
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24464
|
+
}
|
|
24465
|
+
}
|
|
23324
24466
|
}
|
|
23325
24467
|
const response = await this.request({
|
|
23326
24468
|
path: `/subscribers/{id}/unsubscribe`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23358,7 +24500,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23358
24500
|
const headerParameters = {};
|
|
23359
24501
|
headerParameters["Content-Type"] = "application/json";
|
|
23360
24502
|
if (this.configuration && this.configuration.apiKey) {
|
|
23361
|
-
|
|
24503
|
+
{
|
|
24504
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24505
|
+
if (apiKeyValue) {
|
|
24506
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24507
|
+
}
|
|
24508
|
+
}
|
|
23362
24509
|
}
|
|
23363
24510
|
const response = await this.request({
|
|
23364
24511
|
path: `/subscribers/categories/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23396,7 +24543,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23396
24543
|
const headerParameters = {};
|
|
23397
24544
|
headerParameters["Content-Type"] = "application/json";
|
|
23398
24545
|
if (this.configuration && this.configuration.apiKey) {
|
|
23399
|
-
|
|
24546
|
+
{
|
|
24547
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24548
|
+
if (apiKeyValue) {
|
|
24549
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24550
|
+
}
|
|
24551
|
+
}
|
|
23400
24552
|
}
|
|
23401
24553
|
const response = await this.request({
|
|
23402
24554
|
path: `/subscribers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23429,7 +24581,12 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23429
24581
|
const headerParameters = {};
|
|
23430
24582
|
headerParameters["Content-Type"] = "application/json";
|
|
23431
24583
|
if (this.configuration && this.configuration.apiKey) {
|
|
23432
|
-
|
|
24584
|
+
{
|
|
24585
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24586
|
+
if (apiKeyValue) {
|
|
24587
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24588
|
+
}
|
|
24589
|
+
}
|
|
23433
24590
|
}
|
|
23434
24591
|
const response = await this.request({
|
|
23435
24592
|
path: `/subscribers/{id}/consent`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23472,7 +24629,12 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
23472
24629
|
const headerParameters = {};
|
|
23473
24630
|
headerParameters["Content-Type"] = "application/json";
|
|
23474
24631
|
if (this.configuration && this.configuration.apiKey) {
|
|
23475
|
-
|
|
24632
|
+
{
|
|
24633
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24634
|
+
if (apiKeyValue) {
|
|
24635
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24636
|
+
}
|
|
24637
|
+
}
|
|
23476
24638
|
}
|
|
23477
24639
|
const response = await this.request({
|
|
23478
24640
|
path: `/templates`,
|
|
@@ -23505,7 +24667,12 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
23505
24667
|
const queryParameters = {};
|
|
23506
24668
|
const headerParameters = {};
|
|
23507
24669
|
if (this.configuration && this.configuration.apiKey) {
|
|
23508
|
-
|
|
24670
|
+
{
|
|
24671
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24672
|
+
if (apiKeyValue) {
|
|
24673
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24674
|
+
}
|
|
24675
|
+
}
|
|
23509
24676
|
}
|
|
23510
24677
|
const response = await this.request({
|
|
23511
24678
|
path: `/templates/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23537,7 +24704,12 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
23537
24704
|
const queryParameters = {};
|
|
23538
24705
|
const headerParameters = {};
|
|
23539
24706
|
if (this.configuration && this.configuration.apiKey) {
|
|
23540
|
-
|
|
24707
|
+
{
|
|
24708
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24709
|
+
if (apiKeyValue) {
|
|
24710
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24711
|
+
}
|
|
24712
|
+
}
|
|
23541
24713
|
}
|
|
23542
24714
|
const response = await this.request({
|
|
23543
24715
|
path: `/templates/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23569,7 +24741,12 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
23569
24741
|
}
|
|
23570
24742
|
const headerParameters = {};
|
|
23571
24743
|
if (this.configuration && this.configuration.apiKey) {
|
|
23572
|
-
|
|
24744
|
+
{
|
|
24745
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24746
|
+
if (apiKeyValue) {
|
|
24747
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24748
|
+
}
|
|
24749
|
+
}
|
|
23573
24750
|
}
|
|
23574
24751
|
const response = await this.request({
|
|
23575
24752
|
path: `/templates`,
|
|
@@ -23608,7 +24785,12 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
23608
24785
|
const headerParameters = {};
|
|
23609
24786
|
headerParameters["Content-Type"] = "application/json";
|
|
23610
24787
|
if (this.configuration && this.configuration.apiKey) {
|
|
23611
|
-
|
|
24788
|
+
{
|
|
24789
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24790
|
+
if (apiKeyValue) {
|
|
24791
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24792
|
+
}
|
|
24793
|
+
}
|
|
23612
24794
|
}
|
|
23613
24795
|
const response = await this.request({
|
|
23614
24796
|
path: `/templates/{id}/render`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23692,7 +24874,12 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
23692
24874
|
const headerParameters = {};
|
|
23693
24875
|
headerParameters["Content-Type"] = "application/json";
|
|
23694
24876
|
if (this.configuration && this.configuration.apiKey) {
|
|
23695
|
-
|
|
24877
|
+
{
|
|
24878
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24879
|
+
if (apiKeyValue) {
|
|
24880
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24881
|
+
}
|
|
24882
|
+
}
|
|
23696
24883
|
}
|
|
23697
24884
|
const response = await this.request({
|
|
23698
24885
|
path: `/templates/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -23736,7 +24923,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23736
24923
|
const headerParameters = {};
|
|
23737
24924
|
headerParameters["Content-Type"] = "application/json";
|
|
23738
24925
|
if (this.configuration && this.configuration.apiKey) {
|
|
23739
|
-
|
|
24926
|
+
{
|
|
24927
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24928
|
+
if (apiKeyValue) {
|
|
24929
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24930
|
+
}
|
|
24931
|
+
}
|
|
23740
24932
|
}
|
|
23741
24933
|
const response = await this.request({
|
|
23742
24934
|
path: `/topics/{key}/subscribers`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -23770,7 +24962,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23770
24962
|
const headerParameters = {};
|
|
23771
24963
|
headerParameters["Content-Type"] = "application/json";
|
|
23772
24964
|
if (this.configuration && this.configuration.apiKey) {
|
|
23773
|
-
|
|
24965
|
+
{
|
|
24966
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
24967
|
+
if (apiKeyValue) {
|
|
24968
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
24969
|
+
}
|
|
24970
|
+
}
|
|
23774
24971
|
}
|
|
23775
24972
|
const response = await this.request({
|
|
23776
24973
|
path: `/topics`,
|
|
@@ -23803,7 +25000,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23803
25000
|
const queryParameters = {};
|
|
23804
25001
|
const headerParameters = {};
|
|
23805
25002
|
if (this.configuration && this.configuration.apiKey) {
|
|
23806
|
-
|
|
25003
|
+
{
|
|
25004
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25005
|
+
if (apiKeyValue) {
|
|
25006
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25007
|
+
}
|
|
25008
|
+
}
|
|
23807
25009
|
}
|
|
23808
25010
|
const response = await this.request({
|
|
23809
25011
|
path: `/topics/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -23835,7 +25037,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23835
25037
|
const queryParameters = {};
|
|
23836
25038
|
const headerParameters = {};
|
|
23837
25039
|
if (this.configuration && this.configuration.apiKey) {
|
|
23838
|
-
|
|
25040
|
+
{
|
|
25041
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25042
|
+
if (apiKeyValue) {
|
|
25043
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25044
|
+
}
|
|
25045
|
+
}
|
|
23839
25046
|
}
|
|
23840
25047
|
const response = await this.request({
|
|
23841
25048
|
path: `/topics/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -23861,7 +25068,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23861
25068
|
const queryParameters = {};
|
|
23862
25069
|
const headerParameters = {};
|
|
23863
25070
|
if (this.configuration && this.configuration.apiKey) {
|
|
23864
|
-
|
|
25071
|
+
{
|
|
25072
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25073
|
+
if (apiKeyValue) {
|
|
25074
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25075
|
+
}
|
|
25076
|
+
}
|
|
23865
25077
|
}
|
|
23866
25078
|
const response = await this.request({
|
|
23867
25079
|
path: `/topics/stats`,
|
|
@@ -23899,7 +25111,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23899
25111
|
}
|
|
23900
25112
|
const headerParameters = {};
|
|
23901
25113
|
if (this.configuration && this.configuration.apiKey) {
|
|
23902
|
-
|
|
25114
|
+
{
|
|
25115
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25116
|
+
if (apiKeyValue) {
|
|
25117
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25118
|
+
}
|
|
25119
|
+
}
|
|
23903
25120
|
}
|
|
23904
25121
|
const response = await this.request({
|
|
23905
25122
|
path: `/topics/{key}/subscribers`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -23934,7 +25151,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23934
25151
|
}
|
|
23935
25152
|
const headerParameters = {};
|
|
23936
25153
|
if (this.configuration && this.configuration.apiKey) {
|
|
23937
|
-
|
|
25154
|
+
{
|
|
25155
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25156
|
+
if (apiKeyValue) {
|
|
25157
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25158
|
+
}
|
|
25159
|
+
}
|
|
23938
25160
|
}
|
|
23939
25161
|
const response = await this.request({
|
|
23940
25162
|
path: `/topics`,
|
|
@@ -23973,7 +25195,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
23973
25195
|
const headerParameters = {};
|
|
23974
25196
|
headerParameters["Content-Type"] = "application/json";
|
|
23975
25197
|
if (this.configuration && this.configuration.apiKey) {
|
|
23976
|
-
|
|
25198
|
+
{
|
|
25199
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25200
|
+
if (apiKeyValue) {
|
|
25201
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25202
|
+
}
|
|
25203
|
+
}
|
|
23977
25204
|
}
|
|
23978
25205
|
const response = await this.request({
|
|
23979
25206
|
path: `/topics/{key}/subscribers`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -24013,7 +25240,12 @@ var TopicsApi = class extends BaseAPI {
|
|
|
24013
25240
|
const headerParameters = {};
|
|
24014
25241
|
headerParameters["Content-Type"] = "application/json";
|
|
24015
25242
|
if (this.configuration && this.configuration.apiKey) {
|
|
24016
|
-
|
|
25243
|
+
{
|
|
25244
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25245
|
+
if (apiKeyValue) {
|
|
25246
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25247
|
+
}
|
|
25248
|
+
}
|
|
24017
25249
|
}
|
|
24018
25250
|
const response = await this.request({
|
|
24019
25251
|
path: `/topics/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -24051,7 +25283,12 @@ var UtilityApi = class extends BaseAPI {
|
|
|
24051
25283
|
const headerParameters = {};
|
|
24052
25284
|
headerParameters["Content-Type"] = "application/json";
|
|
24053
25285
|
if (this.configuration && this.configuration.apiKey) {
|
|
24054
|
-
|
|
25286
|
+
{
|
|
25287
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
25288
|
+
if (apiKeyValue) {
|
|
25289
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
25290
|
+
}
|
|
25291
|
+
}
|
|
24055
25292
|
}
|
|
24056
25293
|
const response = await this.request({
|
|
24057
25294
|
path: `/auth/password-strength`,
|
|
@@ -24078,7 +25315,12 @@ var UtilityApi = class extends BaseAPI {
|
|
|
24078
25315
|
const queryParameters = {};
|
|
24079
25316
|
const headerParameters = {};
|
|
24080
25317
|
if (this.configuration && this.configuration.apiKey) {
|
|
24081
|
-
|
|
25318
|
+
{
|
|
25319
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key");
|
|
25320
|
+
if (apiKeyValue) {
|
|
25321
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
25322
|
+
}
|
|
25323
|
+
}
|
|
24082
25324
|
}
|
|
24083
25325
|
const response = await this.request({
|
|
24084
25326
|
path: `/auth/password-requirements`,
|
|
@@ -24115,7 +25357,12 @@ var WaaSApplicationsApi = class extends BaseAPI {
|
|
|
24115
25357
|
const headerParameters = {};
|
|
24116
25358
|
headerParameters["Content-Type"] = "application/json";
|
|
24117
25359
|
if (this.configuration && this.configuration.apiKey) {
|
|
24118
|
-
|
|
25360
|
+
{
|
|
25361
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25362
|
+
if (apiKeyValue) {
|
|
25363
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25364
|
+
}
|
|
25365
|
+
}
|
|
24119
25366
|
}
|
|
24120
25367
|
const response = await this.request({
|
|
24121
25368
|
path: `/v1/waas/applications`,
|
|
@@ -24148,7 +25395,12 @@ var WaaSApplicationsApi = class extends BaseAPI {
|
|
|
24148
25395
|
const queryParameters = {};
|
|
24149
25396
|
const headerParameters = {};
|
|
24150
25397
|
if (this.configuration && this.configuration.apiKey) {
|
|
24151
|
-
|
|
25398
|
+
{
|
|
25399
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25400
|
+
if (apiKeyValue) {
|
|
25401
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25402
|
+
}
|
|
25403
|
+
}
|
|
24152
25404
|
}
|
|
24153
25405
|
const response = await this.request({
|
|
24154
25406
|
path: `/v1/waas/applications/{appId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24179,7 +25431,12 @@ var WaaSApplicationsApi = class extends BaseAPI {
|
|
|
24179
25431
|
const queryParameters = {};
|
|
24180
25432
|
const headerParameters = {};
|
|
24181
25433
|
if (this.configuration && this.configuration.apiKey) {
|
|
24182
|
-
|
|
25434
|
+
{
|
|
25435
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25436
|
+
if (apiKeyValue) {
|
|
25437
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25438
|
+
}
|
|
25439
|
+
}
|
|
24183
25440
|
}
|
|
24184
25441
|
const response = await this.request({
|
|
24185
25442
|
path: `/v1/waas/applications/{appId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24211,7 +25468,12 @@ var WaaSApplicationsApi = class extends BaseAPI {
|
|
|
24211
25468
|
const queryParameters = {};
|
|
24212
25469
|
const headerParameters = {};
|
|
24213
25470
|
if (this.configuration && this.configuration.apiKey) {
|
|
24214
|
-
|
|
25471
|
+
{
|
|
25472
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25473
|
+
if (apiKeyValue) {
|
|
25474
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25475
|
+
}
|
|
25476
|
+
}
|
|
24215
25477
|
}
|
|
24216
25478
|
const response = await this.request({
|
|
24217
25479
|
path: `/v1/waas/applications/{appId}/usage`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24246,7 +25508,12 @@ var WaaSApplicationsApi = class extends BaseAPI {
|
|
|
24246
25508
|
}
|
|
24247
25509
|
const headerParameters = {};
|
|
24248
25510
|
if (this.configuration && this.configuration.apiKey) {
|
|
24249
|
-
|
|
25511
|
+
{
|
|
25512
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25513
|
+
if (apiKeyValue) {
|
|
25514
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25515
|
+
}
|
|
25516
|
+
}
|
|
24250
25517
|
}
|
|
24251
25518
|
const response = await this.request({
|
|
24252
25519
|
path: `/v1/waas/applications`,
|
|
@@ -24285,7 +25552,12 @@ var WaaSApplicationsApi = class extends BaseAPI {
|
|
|
24285
25552
|
const headerParameters = {};
|
|
24286
25553
|
headerParameters["Content-Type"] = "application/json";
|
|
24287
25554
|
if (this.configuration && this.configuration.apiKey) {
|
|
24288
|
-
|
|
25555
|
+
{
|
|
25556
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25557
|
+
if (apiKeyValue) {
|
|
25558
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25559
|
+
}
|
|
25560
|
+
}
|
|
24289
25561
|
}
|
|
24290
25562
|
const response = await this.request({
|
|
24291
25563
|
path: `/v1/waas/applications/{appId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24333,7 +25605,12 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
24333
25605
|
const queryParameters = {};
|
|
24334
25606
|
const headerParameters = {};
|
|
24335
25607
|
if (this.configuration && this.configuration.apiKey) {
|
|
24336
|
-
|
|
25608
|
+
{
|
|
25609
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25610
|
+
if (apiKeyValue) {
|
|
25611
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25612
|
+
}
|
|
25613
|
+
}
|
|
24337
25614
|
}
|
|
24338
25615
|
const response = await this.request({
|
|
24339
25616
|
path: `/v1/waas/applications/{appId}/deliveries/{deliveryId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"deliveryId"}}`, encodeURIComponent(String(requestParameters["deliveryId"]))),
|
|
@@ -24380,7 +25657,12 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
24380
25657
|
}
|
|
24381
25658
|
const headerParameters = {};
|
|
24382
25659
|
if (this.configuration && this.configuration.apiKey) {
|
|
24383
|
-
|
|
25660
|
+
{
|
|
25661
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25662
|
+
if (apiKeyValue) {
|
|
25663
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25664
|
+
}
|
|
25665
|
+
}
|
|
24384
25666
|
}
|
|
24385
25667
|
const response = await this.request({
|
|
24386
25668
|
path: `/v1/waas/applications/{appId}/deliveries`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24427,7 +25709,12 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
24427
25709
|
}
|
|
24428
25710
|
const headerParameters = {};
|
|
24429
25711
|
if (this.configuration && this.configuration.apiKey) {
|
|
24430
|
-
|
|
25712
|
+
{
|
|
25713
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25714
|
+
if (apiKeyValue) {
|
|
25715
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25716
|
+
}
|
|
25717
|
+
}
|
|
24431
25718
|
}
|
|
24432
25719
|
const response = await this.request({
|
|
24433
25720
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}/deliveries`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24465,7 +25752,12 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
24465
25752
|
const queryParameters = {};
|
|
24466
25753
|
const headerParameters = {};
|
|
24467
25754
|
if (this.configuration && this.configuration.apiKey) {
|
|
24468
|
-
|
|
25755
|
+
{
|
|
25756
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25757
|
+
if (apiKeyValue) {
|
|
25758
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25759
|
+
}
|
|
25760
|
+
}
|
|
24469
25761
|
}
|
|
24470
25762
|
const response = await this.request({
|
|
24471
25763
|
path: `/v1/waas/applications/{appId}/deliveries/{deliveryId}/retry`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"deliveryId"}}`, encodeURIComponent(String(requestParameters["deliveryId"]))),
|
|
@@ -24515,7 +25807,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24515
25807
|
const queryParameters = {};
|
|
24516
25808
|
const headerParameters = {};
|
|
24517
25809
|
if (this.configuration && this.configuration.apiKey) {
|
|
24518
|
-
|
|
25810
|
+
{
|
|
25811
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25812
|
+
if (apiKeyValue) {
|
|
25813
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25814
|
+
}
|
|
25815
|
+
}
|
|
24519
25816
|
}
|
|
24520
25817
|
const response = await this.request({
|
|
24521
25818
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}/circuit/close`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24554,7 +25851,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24554
25851
|
const headerParameters = {};
|
|
24555
25852
|
headerParameters["Content-Type"] = "application/json";
|
|
24556
25853
|
if (this.configuration && this.configuration.apiKey) {
|
|
24557
|
-
|
|
25854
|
+
{
|
|
25855
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25856
|
+
if (apiKeyValue) {
|
|
25857
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25858
|
+
}
|
|
25859
|
+
}
|
|
24558
25860
|
}
|
|
24559
25861
|
const response = await this.request({
|
|
24560
25862
|
path: `/v1/waas/applications/{appId}/endpoints`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24593,7 +25895,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24593
25895
|
const queryParameters = {};
|
|
24594
25896
|
const headerParameters = {};
|
|
24595
25897
|
if (this.configuration && this.configuration.apiKey) {
|
|
24596
|
-
|
|
25898
|
+
{
|
|
25899
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25900
|
+
if (apiKeyValue) {
|
|
25901
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25902
|
+
}
|
|
25903
|
+
}
|
|
24597
25904
|
}
|
|
24598
25905
|
const response = await this.request({
|
|
24599
25906
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24629,7 +25936,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24629
25936
|
const queryParameters = {};
|
|
24630
25937
|
const headerParameters = {};
|
|
24631
25938
|
if (this.configuration && this.configuration.apiKey) {
|
|
24632
|
-
|
|
25939
|
+
{
|
|
25940
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25941
|
+
if (apiKeyValue) {
|
|
25942
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25943
|
+
}
|
|
25944
|
+
}
|
|
24633
25945
|
}
|
|
24634
25946
|
const response = await this.request({
|
|
24635
25947
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24666,7 +25978,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24666
25978
|
const queryParameters = {};
|
|
24667
25979
|
const headerParameters = {};
|
|
24668
25980
|
if (this.configuration && this.configuration.apiKey) {
|
|
24669
|
-
|
|
25981
|
+
{
|
|
25982
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
25983
|
+
if (apiKeyValue) {
|
|
25984
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
25985
|
+
}
|
|
25986
|
+
}
|
|
24670
25987
|
}
|
|
24671
25988
|
const response = await this.request({
|
|
24672
25989
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}/circuit`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24704,7 +26021,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24704
26021
|
const queryParameters = {};
|
|
24705
26022
|
const headerParameters = {};
|
|
24706
26023
|
if (this.configuration && this.configuration.apiKey) {
|
|
24707
|
-
|
|
26024
|
+
{
|
|
26025
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26026
|
+
if (apiKeyValue) {
|
|
26027
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26028
|
+
}
|
|
26029
|
+
}
|
|
24708
26030
|
}
|
|
24709
26031
|
const response = await this.request({
|
|
24710
26032
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}/metrics`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24748,7 +26070,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24748
26070
|
}
|
|
24749
26071
|
const headerParameters = {};
|
|
24750
26072
|
if (this.configuration && this.configuration.apiKey) {
|
|
24751
|
-
|
|
26073
|
+
{
|
|
26074
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26075
|
+
if (apiKeyValue) {
|
|
26076
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26077
|
+
}
|
|
26078
|
+
}
|
|
24752
26079
|
}
|
|
24753
26080
|
const response = await this.request({
|
|
24754
26081
|
path: `/v1/waas/applications/{appId}/endpoints`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24786,7 +26113,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24786
26113
|
const queryParameters = {};
|
|
24787
26114
|
const headerParameters = {};
|
|
24788
26115
|
if (this.configuration && this.configuration.apiKey) {
|
|
24789
|
-
|
|
26116
|
+
{
|
|
26117
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26118
|
+
if (apiKeyValue) {
|
|
26119
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26120
|
+
}
|
|
26121
|
+
}
|
|
24790
26122
|
}
|
|
24791
26123
|
const response = await this.request({
|
|
24792
26124
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}/rotate-secret`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24830,7 +26162,12 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
24830
26162
|
const headerParameters = {};
|
|
24831
26163
|
headerParameters["Content-Type"] = "application/json";
|
|
24832
26164
|
if (this.configuration && this.configuration.apiKey) {
|
|
24833
|
-
|
|
26165
|
+
{
|
|
26166
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26167
|
+
if (apiKeyValue) {
|
|
26168
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26169
|
+
}
|
|
26170
|
+
}
|
|
24834
26171
|
}
|
|
24835
26172
|
const response = await this.request({
|
|
24836
26173
|
path: `/v1/waas/applications/{appId}/endpoints/{endpointId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"endpointId"}}`, encodeURIComponent(String(requestParameters["endpointId"]))),
|
|
@@ -24878,7 +26215,12 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
24878
26215
|
const headerParameters = {};
|
|
24879
26216
|
headerParameters["Content-Type"] = "application/json";
|
|
24880
26217
|
if (this.configuration && this.configuration.apiKey) {
|
|
24881
|
-
|
|
26218
|
+
{
|
|
26219
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26220
|
+
if (apiKeyValue) {
|
|
26221
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26222
|
+
}
|
|
26223
|
+
}
|
|
24882
26224
|
}
|
|
24883
26225
|
const response = await this.request({
|
|
24884
26226
|
path: `/v1/waas/applications/{appId}/event-types`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -24917,7 +26259,12 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
24917
26259
|
const queryParameters = {};
|
|
24918
26260
|
const headerParameters = {};
|
|
24919
26261
|
if (this.configuration && this.configuration.apiKey) {
|
|
24920
|
-
|
|
26262
|
+
{
|
|
26263
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26264
|
+
if (apiKeyValue) {
|
|
26265
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26266
|
+
}
|
|
26267
|
+
}
|
|
24921
26268
|
}
|
|
24922
26269
|
const response = await this.request({
|
|
24923
26270
|
path: `/v1/waas/applications/{appId}/event-types/{eventTypeId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"eventTypeId"}}`, encodeURIComponent(String(requestParameters["eventTypeId"]))),
|
|
@@ -24954,7 +26301,12 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
24954
26301
|
const queryParameters = {};
|
|
24955
26302
|
const headerParameters = {};
|
|
24956
26303
|
if (this.configuration && this.configuration.apiKey) {
|
|
24957
|
-
|
|
26304
|
+
{
|
|
26305
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26306
|
+
if (apiKeyValue) {
|
|
26307
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26308
|
+
}
|
|
26309
|
+
}
|
|
24958
26310
|
}
|
|
24959
26311
|
const response = await this.request({
|
|
24960
26312
|
path: `/v1/waas/applications/{appId}/event-types/{eventTypeId}/deprecate`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"eventTypeId"}}`, encodeURIComponent(String(requestParameters["eventTypeId"]))),
|
|
@@ -24991,7 +26343,12 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
24991
26343
|
const queryParameters = {};
|
|
24992
26344
|
const headerParameters = {};
|
|
24993
26345
|
if (this.configuration && this.configuration.apiKey) {
|
|
24994
|
-
|
|
26346
|
+
{
|
|
26347
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26348
|
+
if (apiKeyValue) {
|
|
26349
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26350
|
+
}
|
|
26351
|
+
}
|
|
24995
26352
|
}
|
|
24996
26353
|
const response = await this.request({
|
|
24997
26354
|
path: `/v1/waas/applications/{appId}/event-types/{eventTypeId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"eventTypeId"}}`, encodeURIComponent(String(requestParameters["eventTypeId"]))),
|
|
@@ -25034,7 +26391,12 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
25034
26391
|
}
|
|
25035
26392
|
const headerParameters = {};
|
|
25036
26393
|
if (this.configuration && this.configuration.apiKey) {
|
|
25037
|
-
|
|
26394
|
+
{
|
|
26395
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26396
|
+
if (apiKeyValue) {
|
|
26397
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26398
|
+
}
|
|
26399
|
+
}
|
|
25038
26400
|
}
|
|
25039
26401
|
const response = await this.request({
|
|
25040
26402
|
path: `/v1/waas/applications/{appId}/event-types`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -25078,7 +26440,12 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
25078
26440
|
const headerParameters = {};
|
|
25079
26441
|
headerParameters["Content-Type"] = "application/json";
|
|
25080
26442
|
if (this.configuration && this.configuration.apiKey) {
|
|
25081
|
-
|
|
26443
|
+
{
|
|
26444
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26445
|
+
if (apiKeyValue) {
|
|
26446
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26447
|
+
}
|
|
26448
|
+
}
|
|
25082
26449
|
}
|
|
25083
26450
|
const response = await this.request({
|
|
25084
26451
|
path: `/v1/waas/applications/{appId}/event-types/{eventTypeId}`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))).replace(`{${"eventTypeId"}}`, encodeURIComponent(String(requestParameters["eventTypeId"]))),
|
|
@@ -25125,7 +26492,12 @@ var WaaSEventsApi = class extends BaseAPI {
|
|
|
25125
26492
|
const headerParameters = {};
|
|
25126
26493
|
headerParameters["Content-Type"] = "application/json";
|
|
25127
26494
|
if (this.configuration && this.configuration.apiKey) {
|
|
25128
|
-
|
|
26495
|
+
{
|
|
26496
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26497
|
+
if (apiKeyValue) {
|
|
26498
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26499
|
+
}
|
|
26500
|
+
}
|
|
25129
26501
|
}
|
|
25130
26502
|
const response = await this.request({
|
|
25131
26503
|
path: `/v1/waas/applications/{appId}/events/batch`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -25165,7 +26537,12 @@ var WaaSEventsApi = class extends BaseAPI {
|
|
|
25165
26537
|
const headerParameters = {};
|
|
25166
26538
|
headerParameters["Content-Type"] = "application/json";
|
|
25167
26539
|
if (this.configuration && this.configuration.apiKey) {
|
|
25168
|
-
|
|
26540
|
+
{
|
|
26541
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26542
|
+
if (apiKeyValue) {
|
|
26543
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26544
|
+
}
|
|
26545
|
+
}
|
|
25169
26546
|
}
|
|
25170
26547
|
const response = await this.request({
|
|
25171
26548
|
path: `/v1/waas/applications/{appId}/events`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -25209,7 +26586,12 @@ var WaaSPortalApi = class extends BaseAPI {
|
|
|
25209
26586
|
const headerParameters = {};
|
|
25210
26587
|
headerParameters["Content-Type"] = "application/json";
|
|
25211
26588
|
if (this.configuration && this.configuration.apiKey) {
|
|
25212
|
-
|
|
26589
|
+
{
|
|
26590
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26591
|
+
if (apiKeyValue) {
|
|
26592
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26593
|
+
}
|
|
26594
|
+
}
|
|
25213
26595
|
}
|
|
25214
26596
|
const response = await this.request({
|
|
25215
26597
|
path: `/v1/waas/applications/{appId}/portal/token`.replace(`{${"appId"}}`, encodeURIComponent(String(requestParameters["appId"]))),
|
|
@@ -25247,7 +26629,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25247
26629
|
const headerParameters = {};
|
|
25248
26630
|
headerParameters["Content-Type"] = "application/json";
|
|
25249
26631
|
if (this.configuration && this.configuration.apiKey) {
|
|
25250
|
-
|
|
26632
|
+
{
|
|
26633
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26634
|
+
if (apiKeyValue) {
|
|
26635
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26636
|
+
}
|
|
26637
|
+
}
|
|
25251
26638
|
}
|
|
25252
26639
|
const response = await this.request({
|
|
25253
26640
|
path: `/v1/webhooks/{id}/deliveries/bulk-retry`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25280,7 +26667,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25280
26667
|
const queryParameters = {};
|
|
25281
26668
|
const headerParameters = {};
|
|
25282
26669
|
if (this.configuration && this.configuration.apiKey) {
|
|
25283
|
-
|
|
26670
|
+
{
|
|
26671
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26672
|
+
if (apiKeyValue) {
|
|
26673
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26674
|
+
}
|
|
26675
|
+
}
|
|
25284
26676
|
}
|
|
25285
26677
|
const response = await this.request({
|
|
25286
26678
|
path: `/v1/webhooks/{id}/circuit/close`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25313,7 +26705,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25313
26705
|
const headerParameters = {};
|
|
25314
26706
|
headerParameters["Content-Type"] = "application/json";
|
|
25315
26707
|
if (this.configuration && this.configuration.apiKey) {
|
|
25316
|
-
|
|
26708
|
+
{
|
|
26709
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26710
|
+
if (apiKeyValue) {
|
|
26711
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26712
|
+
}
|
|
26713
|
+
}
|
|
25317
26714
|
}
|
|
25318
26715
|
const response = await this.request({
|
|
25319
26716
|
path: `/v1/webhooks`,
|
|
@@ -25346,7 +26743,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25346
26743
|
const queryParameters = {};
|
|
25347
26744
|
const headerParameters = {};
|
|
25348
26745
|
if (this.configuration && this.configuration.apiKey) {
|
|
25349
|
-
|
|
26746
|
+
{
|
|
26747
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26748
|
+
if (apiKeyValue) {
|
|
26749
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26750
|
+
}
|
|
26751
|
+
}
|
|
25350
26752
|
}
|
|
25351
26753
|
const response = await this.request({
|
|
25352
26754
|
path: `/v1/webhooks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25372,7 +26774,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25372
26774
|
const queryParameters = {};
|
|
25373
26775
|
const headerParameters = {};
|
|
25374
26776
|
if (this.configuration && this.configuration.apiKey) {
|
|
25375
|
-
|
|
26777
|
+
{
|
|
26778
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26779
|
+
if (apiKeyValue) {
|
|
26780
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26781
|
+
}
|
|
26782
|
+
}
|
|
25376
26783
|
}
|
|
25377
26784
|
const response = await this.request({
|
|
25378
26785
|
path: `/v1/webhooks/metrics`,
|
|
@@ -25404,7 +26811,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25404
26811
|
const queryParameters = {};
|
|
25405
26812
|
const headerParameters = {};
|
|
25406
26813
|
if (this.configuration && this.configuration.apiKey) {
|
|
25407
|
-
|
|
26814
|
+
{
|
|
26815
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26816
|
+
if (apiKeyValue) {
|
|
26817
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26818
|
+
}
|
|
26819
|
+
}
|
|
25408
26820
|
}
|
|
25409
26821
|
const response = await this.request({
|
|
25410
26822
|
path: `/v1/webhooks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25436,7 +26848,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25436
26848
|
const queryParameters = {};
|
|
25437
26849
|
const headerParameters = {};
|
|
25438
26850
|
if (this.configuration && this.configuration.apiKey) {
|
|
25439
|
-
|
|
26851
|
+
{
|
|
26852
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26853
|
+
if (apiKeyValue) {
|
|
26854
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26855
|
+
}
|
|
26856
|
+
}
|
|
25440
26857
|
}
|
|
25441
26858
|
const response = await this.request({
|
|
25442
26859
|
path: `/v1/webhooks/{id}/circuit`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25474,7 +26891,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25474
26891
|
const queryParameters = {};
|
|
25475
26892
|
const headerParameters = {};
|
|
25476
26893
|
if (this.configuration && this.configuration.apiKey) {
|
|
25477
|
-
|
|
26894
|
+
{
|
|
26895
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26896
|
+
if (apiKeyValue) {
|
|
26897
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26898
|
+
}
|
|
26899
|
+
}
|
|
25478
26900
|
}
|
|
25479
26901
|
const response = await this.request({
|
|
25480
26902
|
path: `/v1/webhooks/{id}/deliveries/{deliveryId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))).replace(`{${"deliveryId"}}`, encodeURIComponent(String(requestParameters["deliveryId"]))),
|
|
@@ -25500,7 +26922,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25500
26922
|
const queryParameters = {};
|
|
25501
26923
|
const headerParameters = {};
|
|
25502
26924
|
if (this.configuration && this.configuration.apiKey) {
|
|
25503
|
-
|
|
26925
|
+
{
|
|
26926
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26927
|
+
if (apiKeyValue) {
|
|
26928
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26929
|
+
}
|
|
26930
|
+
}
|
|
25504
26931
|
}
|
|
25505
26932
|
const response = await this.request({
|
|
25506
26933
|
path: `/v1/webhooks/ips`,
|
|
@@ -25532,7 +26959,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25532
26959
|
const queryParameters = {};
|
|
25533
26960
|
const headerParameters = {};
|
|
25534
26961
|
if (this.configuration && this.configuration.apiKey) {
|
|
25535
|
-
|
|
26962
|
+
{
|
|
26963
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
26964
|
+
if (apiKeyValue) {
|
|
26965
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
26966
|
+
}
|
|
26967
|
+
}
|
|
25536
26968
|
}
|
|
25537
26969
|
const response = await this.request({
|
|
25538
26970
|
path: `/v1/webhooks/jobs/{jobId}`.replace(`{${"jobId"}}`, encodeURIComponent(String(requestParameters["jobId"]))),
|
|
@@ -25564,7 +26996,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25564
26996
|
const queryParameters = {};
|
|
25565
26997
|
const headerParameters = {};
|
|
25566
26998
|
if (this.configuration && this.configuration.apiKey) {
|
|
25567
|
-
|
|
26999
|
+
{
|
|
27000
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27001
|
+
if (apiKeyValue) {
|
|
27002
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27003
|
+
}
|
|
27004
|
+
}
|
|
25568
27005
|
}
|
|
25569
27006
|
const response = await this.request({
|
|
25570
27007
|
path: `/v1/webhooks/{id}/metrics`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25590,7 +27027,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25590
27027
|
const queryParameters = {};
|
|
25591
27028
|
const headerParameters = {};
|
|
25592
27029
|
if (this.configuration && this.configuration.apiKey) {
|
|
25593
|
-
|
|
27030
|
+
{
|
|
27031
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27032
|
+
if (apiKeyValue) {
|
|
27033
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27034
|
+
}
|
|
27035
|
+
}
|
|
25594
27036
|
}
|
|
25595
27037
|
const response = await this.request({
|
|
25596
27038
|
path: `/v1/webhooks/usage`,
|
|
@@ -25643,7 +27085,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25643
27085
|
}
|
|
25644
27086
|
const headerParameters = {};
|
|
25645
27087
|
if (this.configuration && this.configuration.apiKey) {
|
|
25646
|
-
|
|
27088
|
+
{
|
|
27089
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27090
|
+
if (apiKeyValue) {
|
|
27091
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27092
|
+
}
|
|
27093
|
+
}
|
|
25647
27094
|
}
|
|
25648
27095
|
const response = await this.request({
|
|
25649
27096
|
path: `/v1/webhooks/{id}/deliveries`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25672,7 +27119,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25672
27119
|
}
|
|
25673
27120
|
const headerParameters = {};
|
|
25674
27121
|
if (this.configuration && this.configuration.apiKey) {
|
|
25675
|
-
|
|
27122
|
+
{
|
|
27123
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27124
|
+
if (apiKeyValue) {
|
|
27125
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27126
|
+
}
|
|
27127
|
+
}
|
|
25676
27128
|
}
|
|
25677
27129
|
const response = await this.request({
|
|
25678
27130
|
path: `/v1/webhooks/events`,
|
|
@@ -25698,7 +27150,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25698
27150
|
const queryParameters = {};
|
|
25699
27151
|
const headerParameters = {};
|
|
25700
27152
|
if (this.configuration && this.configuration.apiKey) {
|
|
25701
|
-
|
|
27153
|
+
{
|
|
27154
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27155
|
+
if (apiKeyValue) {
|
|
27156
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27157
|
+
}
|
|
27158
|
+
}
|
|
25702
27159
|
}
|
|
25703
27160
|
const response = await this.request({
|
|
25704
27161
|
path: `/v1/webhooks/versions`,
|
|
@@ -25730,7 +27187,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25730
27187
|
}
|
|
25731
27188
|
const headerParameters = {};
|
|
25732
27189
|
if (this.configuration && this.configuration.apiKey) {
|
|
25733
|
-
|
|
27190
|
+
{
|
|
27191
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27192
|
+
if (apiKeyValue) {
|
|
27193
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27194
|
+
}
|
|
27195
|
+
}
|
|
25734
27196
|
}
|
|
25735
27197
|
const response = await this.request({
|
|
25736
27198
|
path: `/v1/webhooks`,
|
|
@@ -25769,7 +27231,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25769
27231
|
const headerParameters = {};
|
|
25770
27232
|
headerParameters["Content-Type"] = "application/json";
|
|
25771
27233
|
if (this.configuration && this.configuration.apiKey) {
|
|
25772
|
-
|
|
27234
|
+
{
|
|
27235
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27236
|
+
if (apiKeyValue) {
|
|
27237
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27238
|
+
}
|
|
27239
|
+
}
|
|
25773
27240
|
}
|
|
25774
27241
|
const response = await this.request({
|
|
25775
27242
|
path: `/v1/webhooks/{id}/replay`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25808,7 +27275,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25808
27275
|
const queryParameters = {};
|
|
25809
27276
|
const headerParameters = {};
|
|
25810
27277
|
if (this.configuration && this.configuration.apiKey) {
|
|
25811
|
-
|
|
27278
|
+
{
|
|
27279
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27280
|
+
if (apiKeyValue) {
|
|
27281
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27282
|
+
}
|
|
27283
|
+
}
|
|
25812
27284
|
}
|
|
25813
27285
|
const response = await this.request({
|
|
25814
27286
|
path: `/v1/webhooks/{id}/deliveries/{deliveryId}/retry`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))).replace(`{${"deliveryId"}}`, encodeURIComponent(String(requestParameters["deliveryId"]))),
|
|
@@ -25840,7 +27312,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25840
27312
|
const queryParameters = {};
|
|
25841
27313
|
const headerParameters = {};
|
|
25842
27314
|
if (this.configuration && this.configuration.apiKey) {
|
|
25843
|
-
|
|
27315
|
+
{
|
|
27316
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27317
|
+
if (apiKeyValue) {
|
|
27318
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27319
|
+
}
|
|
27320
|
+
}
|
|
25844
27321
|
}
|
|
25845
27322
|
const response = await this.request({
|
|
25846
27323
|
path: `/v1/webhooks/{id}/rotate-secret`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25873,7 +27350,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25873
27350
|
const headerParameters = {};
|
|
25874
27351
|
headerParameters["Content-Type"] = "application/json";
|
|
25875
27352
|
if (this.configuration && this.configuration.apiKey) {
|
|
25876
|
-
|
|
27353
|
+
{
|
|
27354
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27355
|
+
if (apiKeyValue) {
|
|
27356
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27357
|
+
}
|
|
27358
|
+
}
|
|
25877
27359
|
}
|
|
25878
27360
|
const response = await this.request({
|
|
25879
27361
|
path: `/v1/webhooks/{id}/test`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25913,7 +27395,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25913
27395
|
const headerParameters = {};
|
|
25914
27396
|
headerParameters["Content-Type"] = "application/json";
|
|
25915
27397
|
if (this.configuration && this.configuration.apiKey) {
|
|
25916
|
-
|
|
27398
|
+
{
|
|
27399
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27400
|
+
if (apiKeyValue) {
|
|
27401
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27402
|
+
}
|
|
27403
|
+
}
|
|
25917
27404
|
}
|
|
25918
27405
|
const response = await this.request({
|
|
25919
27406
|
path: `/v1/webhooks/{id}/transform/test`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -25953,7 +27440,12 @@ var WebhooksApi = class extends BaseAPI {
|
|
|
25953
27440
|
const headerParameters = {};
|
|
25954
27441
|
headerParameters["Content-Type"] = "application/json";
|
|
25955
27442
|
if (this.configuration && this.configuration.apiKey) {
|
|
25956
|
-
|
|
27443
|
+
{
|
|
27444
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27445
|
+
if (apiKeyValue) {
|
|
27446
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27447
|
+
}
|
|
27448
|
+
}
|
|
25957
27449
|
}
|
|
25958
27450
|
const response = await this.request({
|
|
25959
27451
|
path: `/v1/webhooks/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
@@ -26004,7 +27496,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26004
27496
|
const headerParameters = {};
|
|
26005
27497
|
headerParameters["Content-Type"] = "application/json";
|
|
26006
27498
|
if (this.configuration && this.configuration.apiKey) {
|
|
26007
|
-
|
|
27499
|
+
{
|
|
27500
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27501
|
+
if (apiKeyValue) {
|
|
27502
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27503
|
+
}
|
|
27504
|
+
}
|
|
26008
27505
|
}
|
|
26009
27506
|
const response = await this.request({
|
|
26010
27507
|
path: `/workflows/{key}/steps`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26038,7 +27535,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26038
27535
|
const headerParameters = {};
|
|
26039
27536
|
headerParameters["Content-Type"] = "application/json";
|
|
26040
27537
|
if (this.configuration && this.configuration.apiKey) {
|
|
26041
|
-
|
|
27538
|
+
{
|
|
27539
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27540
|
+
if (apiKeyValue) {
|
|
27541
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27542
|
+
}
|
|
27543
|
+
}
|
|
26042
27544
|
}
|
|
26043
27545
|
const response = await this.request({
|
|
26044
27546
|
path: `/workflows`,
|
|
@@ -26071,7 +27573,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26071
27573
|
const queryParameters = {};
|
|
26072
27574
|
const headerParameters = {};
|
|
26073
27575
|
if (this.configuration && this.configuration.apiKey) {
|
|
26074
|
-
|
|
27576
|
+
{
|
|
27577
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27578
|
+
if (apiKeyValue) {
|
|
27579
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27580
|
+
}
|
|
27581
|
+
}
|
|
26075
27582
|
}
|
|
26076
27583
|
const response = await this.request({
|
|
26077
27584
|
path: `/workflows/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26109,7 +27616,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26109
27616
|
const queryParameters = {};
|
|
26110
27617
|
const headerParameters = {};
|
|
26111
27618
|
if (this.configuration && this.configuration.apiKey) {
|
|
26112
|
-
|
|
27619
|
+
{
|
|
27620
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27621
|
+
if (apiKeyValue) {
|
|
27622
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27623
|
+
}
|
|
27624
|
+
}
|
|
26113
27625
|
}
|
|
26114
27626
|
const response = await this.request({
|
|
26115
27627
|
path: `/workflows/{key}/steps/{stepKey}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))).replace(`{${"stepKey"}}`, encodeURIComponent(String(requestParameters["stepKey"]))),
|
|
@@ -26141,7 +27653,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26141
27653
|
const queryParameters = {};
|
|
26142
27654
|
const headerParameters = {};
|
|
26143
27655
|
if (this.configuration && this.configuration.apiKey) {
|
|
26144
|
-
|
|
27656
|
+
{
|
|
27657
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27658
|
+
if (apiKeyValue) {
|
|
27659
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27660
|
+
}
|
|
27661
|
+
}
|
|
26145
27662
|
}
|
|
26146
27663
|
const response = await this.request({
|
|
26147
27664
|
path: `/workflows/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26179,7 +27696,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26179
27696
|
}
|
|
26180
27697
|
const headerParameters = {};
|
|
26181
27698
|
if (this.configuration && this.configuration.apiKey) {
|
|
26182
|
-
|
|
27699
|
+
{
|
|
27700
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27701
|
+
if (apiKeyValue) {
|
|
27702
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27703
|
+
}
|
|
27704
|
+
}
|
|
26183
27705
|
}
|
|
26184
27706
|
const response = await this.request({
|
|
26185
27707
|
path: `/workflows/{key}/executions`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26217,7 +27739,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26217
27739
|
}
|
|
26218
27740
|
const headerParameters = {};
|
|
26219
27741
|
if (this.configuration && this.configuration.apiKey) {
|
|
26220
|
-
|
|
27742
|
+
{
|
|
27743
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27744
|
+
if (apiKeyValue) {
|
|
27745
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27746
|
+
}
|
|
27747
|
+
}
|
|
26221
27748
|
}
|
|
26222
27749
|
const response = await this.request({
|
|
26223
27750
|
path: `/workflows`,
|
|
@@ -26256,7 +27783,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26256
27783
|
const headerParameters = {};
|
|
26257
27784
|
headerParameters["Content-Type"] = "application/json";
|
|
26258
27785
|
if (this.configuration && this.configuration.apiKey) {
|
|
26259
|
-
|
|
27786
|
+
{
|
|
27787
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27788
|
+
if (apiKeyValue) {
|
|
27789
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27790
|
+
}
|
|
27791
|
+
}
|
|
26260
27792
|
}
|
|
26261
27793
|
const response = await this.request({
|
|
26262
27794
|
path: `/workflows/{key}/steps/reorder`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26296,7 +27828,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26296
27828
|
const headerParameters = {};
|
|
26297
27829
|
headerParameters["Content-Type"] = "application/json";
|
|
26298
27830
|
if (this.configuration && this.configuration.apiKey) {
|
|
26299
|
-
|
|
27831
|
+
{
|
|
27832
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27833
|
+
if (apiKeyValue) {
|
|
27834
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27835
|
+
}
|
|
27836
|
+
}
|
|
26300
27837
|
}
|
|
26301
27838
|
const response = await this.request({
|
|
26302
27839
|
path: `/workflows/{key}/trigger`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26336,7 +27873,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26336
27873
|
const headerParameters = {};
|
|
26337
27874
|
headerParameters["Content-Type"] = "application/json";
|
|
26338
27875
|
if (this.configuration && this.configuration.apiKey) {
|
|
26339
|
-
|
|
27876
|
+
{
|
|
27877
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27878
|
+
if (apiKeyValue) {
|
|
27879
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27880
|
+
}
|
|
27881
|
+
}
|
|
26340
27882
|
}
|
|
26341
27883
|
const response = await this.request({
|
|
26342
27884
|
path: `/workflows/{key}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26376,7 +27918,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26376
27918
|
const headerParameters = {};
|
|
26377
27919
|
headerParameters["Content-Type"] = "application/json";
|
|
26378
27920
|
if (this.configuration && this.configuration.apiKey) {
|
|
26379
|
-
|
|
27921
|
+
{
|
|
27922
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27923
|
+
if (apiKeyValue) {
|
|
27924
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27925
|
+
}
|
|
27926
|
+
}
|
|
26380
27927
|
}
|
|
26381
27928
|
const response = await this.request({
|
|
26382
27929
|
path: `/workflows/{key}/status`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))),
|
|
@@ -26422,7 +27969,12 @@ var WorkflowsApi = class extends BaseAPI {
|
|
|
26422
27969
|
const headerParameters = {};
|
|
26423
27970
|
headerParameters["Content-Type"] = "application/json";
|
|
26424
27971
|
if (this.configuration && this.configuration.apiKey) {
|
|
26425
|
-
|
|
27972
|
+
{
|
|
27973
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key");
|
|
27974
|
+
if (apiKeyValue) {
|
|
27975
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
27976
|
+
}
|
|
27977
|
+
}
|
|
26426
27978
|
}
|
|
26427
27979
|
const response = await this.request({
|
|
26428
27980
|
path: `/workflows/{key}/steps/{stepKey}`.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"]))).replace(`{${"stepKey"}}`, encodeURIComponent(String(requestParameters["stepKey"]))),
|
|
@@ -26685,8 +28237,21 @@ var SECRET_KEY_PREFIXES = [
|
|
|
26685
28237
|
];
|
|
26686
28238
|
var ZyphrClient = class {
|
|
26687
28239
|
auth;
|
|
26688
|
-
|
|
26689
|
-
|
|
28240
|
+
// NOTE: `devices` is deliberately NOT exposed here (sc-8045).
|
|
28241
|
+
//
|
|
28242
|
+
// The device API authenticates with the account-scoped secret key
|
|
28243
|
+
// (`X-API-Key`), which must never ship inside a client bundle. ZyphrClient
|
|
28244
|
+
// only ever resolves the publishable `X-Application-Key`, so every call
|
|
28245
|
+
// sent an empty `X-API-Key` header and could only ever 401.
|
|
28246
|
+
//
|
|
28247
|
+
// Register devices from your own backend with the server-side `Zyphr`
|
|
28248
|
+
// client instead:
|
|
28249
|
+
//
|
|
28250
|
+
// const zyphr = new Zyphr({ apiKey: process.env.ZYPHR_API_KEY });
|
|
28251
|
+
// await zyphr.devices.registerDevice({ userId, platform, token });
|
|
28252
|
+
//
|
|
28253
|
+
// Derive `userId` from your authenticated session server-side — never from
|
|
28254
|
+
// client-supplied input.
|
|
26690
28255
|
/**
|
|
26691
28256
|
* Utility endpoints that are publishable-key-safe: the application's password
|
|
26692
28257
|
* policy (`getPasswordRequirements`) and a pre-submit password strength check
|
|
@@ -26742,7 +28307,6 @@ var ZyphrClient = class {
|
|
|
26742
28307
|
profile: new AuthUserProfileApi(config),
|
|
26743
28308
|
webauthn: new AuthWebAuthnApi(config)
|
|
26744
28309
|
};
|
|
26745
|
-
this.devices = new DevicesApi(config);
|
|
26746
28310
|
this.utility = new UtilityApi(config);
|
|
26747
28311
|
}
|
|
26748
28312
|
/** Store the end-user access token; it is applied automatically to subsequent user-scoped calls. */
|