@zyphr-dev/node-sdk 0.1.56 → 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 +1877 -315
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -6
- package/dist/index.d.ts +4 -6
- package/dist/index.js +1877 -315
- 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 +48 -6
- 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
|
@@ -520,7 +520,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
520
520
|
headerParameters['Content-Type'] = 'application/json';
|
|
521
521
|
|
|
522
522
|
if (this.configuration && this.configuration.apiKey) {
|
|
523
|
-
|
|
523
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
524
|
+
{
|
|
525
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
526
|
+
|
|
527
|
+
if (apiKeyValue) {
|
|
528
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
524
531
|
}
|
|
525
532
|
|
|
526
533
|
const response = await this.request({
|
|
@@ -561,7 +568,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
561
568
|
headerParameters['Content-Type'] = 'application/json';
|
|
562
569
|
|
|
563
570
|
if (this.configuration && this.configuration.apiKey) {
|
|
564
|
-
|
|
571
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
572
|
+
{
|
|
573
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
574
|
+
|
|
575
|
+
if (apiKeyValue) {
|
|
576
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
565
579
|
}
|
|
566
580
|
|
|
567
581
|
const response = await this.request({
|
|
@@ -600,7 +614,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
600
614
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
601
615
|
|
|
602
616
|
if (this.configuration && this.configuration.apiKey) {
|
|
603
|
-
|
|
617
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
618
|
+
{
|
|
619
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
620
|
+
|
|
621
|
+
if (apiKeyValue) {
|
|
622
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
604
625
|
}
|
|
605
626
|
|
|
606
627
|
const response = await this.request({
|
|
@@ -637,7 +658,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
637
658
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
638
659
|
|
|
639
660
|
if (this.configuration && this.configuration.apiKey) {
|
|
640
|
-
|
|
661
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
662
|
+
{
|
|
663
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
664
|
+
|
|
665
|
+
if (apiKeyValue) {
|
|
666
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
641
669
|
}
|
|
642
670
|
|
|
643
671
|
const response = await this.request({
|
|
@@ -674,7 +702,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
674
702
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
675
703
|
|
|
676
704
|
if (this.configuration && this.configuration.apiKey) {
|
|
677
|
-
|
|
705
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
706
|
+
{
|
|
707
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
708
|
+
|
|
709
|
+
if (apiKeyValue) {
|
|
710
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
678
713
|
}
|
|
679
714
|
|
|
680
715
|
const response = await this.request({
|
|
@@ -711,7 +746,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
711
746
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
712
747
|
|
|
713
748
|
if (this.configuration && this.configuration.apiKey) {
|
|
714
|
-
|
|
749
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
750
|
+
{
|
|
751
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
752
|
+
|
|
753
|
+
if (apiKeyValue) {
|
|
754
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
715
757
|
}
|
|
716
758
|
|
|
717
759
|
const response = await this.request({
|
|
@@ -748,7 +790,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
748
790
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
749
791
|
|
|
750
792
|
if (this.configuration && this.configuration.apiKey) {
|
|
751
|
-
|
|
793
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
794
|
+
{
|
|
795
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
796
|
+
|
|
797
|
+
if (apiKeyValue) {
|
|
798
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
799
|
+
}
|
|
800
|
+
}
|
|
752
801
|
}
|
|
753
802
|
|
|
754
803
|
const response = await this.request({
|
|
@@ -785,7 +834,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
785
834
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
786
835
|
|
|
787
836
|
if (this.configuration && this.configuration.apiKey) {
|
|
788
|
-
|
|
837
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
838
|
+
{
|
|
839
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
840
|
+
|
|
841
|
+
if (apiKeyValue) {
|
|
842
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
843
|
+
}
|
|
844
|
+
}
|
|
789
845
|
}
|
|
790
846
|
|
|
791
847
|
const response = await this.request({
|
|
@@ -831,7 +887,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
831
887
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
832
888
|
|
|
833
889
|
if (this.configuration && this.configuration.apiKey) {
|
|
834
|
-
|
|
890
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
891
|
+
{
|
|
892
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
893
|
+
|
|
894
|
+
if (apiKeyValue) {
|
|
895
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
835
898
|
}
|
|
836
899
|
|
|
837
900
|
const response = await this.request({
|
|
@@ -873,7 +936,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
873
936
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
874
937
|
|
|
875
938
|
if (this.configuration && this.configuration.apiKey) {
|
|
876
|
-
|
|
939
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
940
|
+
{
|
|
941
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
942
|
+
|
|
943
|
+
if (apiKeyValue) {
|
|
944
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
945
|
+
}
|
|
946
|
+
}
|
|
877
947
|
}
|
|
878
948
|
|
|
879
949
|
const response = await this.request({
|
|
@@ -910,7 +980,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
910
980
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
911
981
|
|
|
912
982
|
if (this.configuration && this.configuration.apiKey) {
|
|
913
|
-
|
|
983
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
984
|
+
{
|
|
985
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
986
|
+
|
|
987
|
+
if (apiKeyValue) {
|
|
988
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
914
991
|
}
|
|
915
992
|
|
|
916
993
|
const response = await this.request({
|
|
@@ -940,7 +1017,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
940
1017
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
941
1018
|
|
|
942
1019
|
if (this.configuration && this.configuration.apiKey) {
|
|
943
|
-
|
|
1020
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1021
|
+
{
|
|
1022
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1023
|
+
|
|
1024
|
+
if (apiKeyValue) {
|
|
1025
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
944
1028
|
}
|
|
945
1029
|
|
|
946
1030
|
const response = await this.request({
|
|
@@ -986,7 +1070,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
986
1070
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
987
1071
|
|
|
988
1072
|
if (this.configuration && this.configuration.apiKey) {
|
|
989
|
-
|
|
1073
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1074
|
+
{
|
|
1075
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1076
|
+
|
|
1077
|
+
if (apiKeyValue) {
|
|
1078
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
990
1081
|
}
|
|
991
1082
|
|
|
992
1083
|
const response = await this.request({
|
|
@@ -1032,7 +1123,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1032
1123
|
headerParameters['Content-Type'] = 'application/json';
|
|
1033
1124
|
|
|
1034
1125
|
if (this.configuration && this.configuration.apiKey) {
|
|
1035
|
-
|
|
1126
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1127
|
+
{
|
|
1128
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1129
|
+
|
|
1130
|
+
if (apiKeyValue) {
|
|
1131
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1036
1134
|
}
|
|
1037
1135
|
|
|
1038
1136
|
const response = await this.request({
|
|
@@ -1072,7 +1170,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1072
1170
|
headerParameters['Content-Type'] = 'application/json';
|
|
1073
1171
|
|
|
1074
1172
|
if (this.configuration && this.configuration.apiKey) {
|
|
1075
|
-
|
|
1173
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1174
|
+
{
|
|
1175
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1176
|
+
|
|
1177
|
+
if (apiKeyValue) {
|
|
1178
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1076
1181
|
}
|
|
1077
1182
|
|
|
1078
1183
|
const response = await this.request({
|
|
@@ -1120,7 +1225,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1120
1225
|
headerParameters['Content-Type'] = 'application/json';
|
|
1121
1226
|
|
|
1122
1227
|
if (this.configuration && this.configuration.apiKey) {
|
|
1123
|
-
|
|
1228
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1229
|
+
{
|
|
1230
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1231
|
+
|
|
1232
|
+
if (apiKeyValue) {
|
|
1233
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1124
1236
|
}
|
|
1125
1237
|
|
|
1126
1238
|
const response = await this.request({
|
|
@@ -1161,7 +1273,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1161
1273
|
headerParameters['Content-Type'] = 'application/json';
|
|
1162
1274
|
|
|
1163
1275
|
if (this.configuration && this.configuration.apiKey) {
|
|
1164
|
-
|
|
1276
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1277
|
+
{
|
|
1278
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1279
|
+
|
|
1280
|
+
if (apiKeyValue) {
|
|
1281
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1165
1284
|
}
|
|
1166
1285
|
|
|
1167
1286
|
const response = await this.request({
|
|
@@ -1208,7 +1327,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1208
1327
|
headerParameters['Content-Type'] = 'application/json';
|
|
1209
1328
|
|
|
1210
1329
|
if (this.configuration && this.configuration.apiKey) {
|
|
1211
|
-
|
|
1330
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1331
|
+
{
|
|
1332
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1333
|
+
|
|
1334
|
+
if (apiKeyValue) {
|
|
1335
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1212
1338
|
}
|
|
1213
1339
|
|
|
1214
1340
|
const response = await this.request({
|
|
@@ -1255,7 +1381,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1255
1381
|
headerParameters['Content-Type'] = 'application/json';
|
|
1256
1382
|
|
|
1257
1383
|
if (this.configuration && this.configuration.apiKey) {
|
|
1258
|
-
|
|
1384
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1385
|
+
{
|
|
1386
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1387
|
+
|
|
1388
|
+
if (apiKeyValue) {
|
|
1389
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1259
1392
|
}
|
|
1260
1393
|
|
|
1261
1394
|
const response = await this.request({
|
|
@@ -1296,7 +1429,14 @@ export class SubscribersApi extends runtime.BaseAPI implements SubscribersApiInt
|
|
|
1296
1429
|
headerParameters['Content-Type'] = 'application/json';
|
|
1297
1430
|
|
|
1298
1431
|
if (this.configuration && this.configuration.apiKey) {
|
|
1299
|
-
|
|
1432
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
1433
|
+
{
|
|
1434
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
1435
|
+
|
|
1436
|
+
if (apiKeyValue) {
|
|
1437
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1300
1440
|
}
|
|
1301
1441
|
|
|
1302
1442
|
const response = await this.request({
|
|
@@ -233,7 +233,14 @@ export class TemplatesApi extends runtime.BaseAPI implements TemplatesApiInterfa
|
|
|
233
233
|
headerParameters['Content-Type'] = 'application/json';
|
|
234
234
|
|
|
235
235
|
if (this.configuration && this.configuration.apiKey) {
|
|
236
|
-
|
|
236
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
237
|
+
{
|
|
238
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
239
|
+
|
|
240
|
+
if (apiKeyValue) {
|
|
241
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
237
244
|
}
|
|
238
245
|
|
|
239
246
|
const response = await this.request({
|
|
@@ -273,7 +280,14 @@ export class TemplatesApi extends runtime.BaseAPI implements TemplatesApiInterfa
|
|
|
273
280
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
274
281
|
|
|
275
282
|
if (this.configuration && this.configuration.apiKey) {
|
|
276
|
-
|
|
283
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
284
|
+
{
|
|
285
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
286
|
+
|
|
287
|
+
if (apiKeyValue) {
|
|
288
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
277
291
|
}
|
|
278
292
|
|
|
279
293
|
const response = await this.request({
|
|
@@ -312,7 +326,14 @@ export class TemplatesApi extends runtime.BaseAPI implements TemplatesApiInterfa
|
|
|
312
326
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
313
327
|
|
|
314
328
|
if (this.configuration && this.configuration.apiKey) {
|
|
315
|
-
|
|
329
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
330
|
+
{
|
|
331
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
332
|
+
|
|
333
|
+
if (apiKeyValue) {
|
|
334
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
316
337
|
}
|
|
317
338
|
|
|
318
339
|
const response = await this.request({
|
|
@@ -352,7 +373,14 @@ export class TemplatesApi extends runtime.BaseAPI implements TemplatesApiInterfa
|
|
|
352
373
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
353
374
|
|
|
354
375
|
if (this.configuration && this.configuration.apiKey) {
|
|
355
|
-
|
|
376
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
377
|
+
{
|
|
378
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
379
|
+
|
|
380
|
+
if (apiKeyValue) {
|
|
381
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
356
384
|
}
|
|
357
385
|
|
|
358
386
|
const response = await this.request({
|
|
@@ -400,7 +428,14 @@ export class TemplatesApi extends runtime.BaseAPI implements TemplatesApiInterfa
|
|
|
400
428
|
headerParameters['Content-Type'] = 'application/json';
|
|
401
429
|
|
|
402
430
|
if (this.configuration && this.configuration.apiKey) {
|
|
403
|
-
|
|
431
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
432
|
+
{
|
|
433
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
434
|
+
|
|
435
|
+
if (apiKeyValue) {
|
|
436
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
404
439
|
}
|
|
405
440
|
|
|
406
441
|
const response = await this.request({
|
|
@@ -502,7 +537,14 @@ export class TemplatesApi extends runtime.BaseAPI implements TemplatesApiInterfa
|
|
|
502
537
|
headerParameters['Content-Type'] = 'application/json';
|
|
503
538
|
|
|
504
539
|
if (this.configuration && this.configuration.apiKey) {
|
|
505
|
-
|
|
540
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
541
|
+
{
|
|
542
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
543
|
+
|
|
544
|
+
if (apiKeyValue) {
|
|
545
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
506
548
|
}
|
|
507
549
|
|
|
508
550
|
const response = await this.request({
|
|
@@ -284,7 +284,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
284
284
|
headerParameters['Content-Type'] = 'application/json';
|
|
285
285
|
|
|
286
286
|
if (this.configuration && this.configuration.apiKey) {
|
|
287
|
-
|
|
287
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
288
|
+
{
|
|
289
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
290
|
+
|
|
291
|
+
if (apiKeyValue) {
|
|
292
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
288
295
|
}
|
|
289
296
|
|
|
290
297
|
const response = await this.request({
|
|
@@ -326,7 +333,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
326
333
|
headerParameters['Content-Type'] = 'application/json';
|
|
327
334
|
|
|
328
335
|
if (this.configuration && this.configuration.apiKey) {
|
|
329
|
-
|
|
336
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
337
|
+
{
|
|
338
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
339
|
+
|
|
340
|
+
if (apiKeyValue) {
|
|
341
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
330
344
|
}
|
|
331
345
|
|
|
332
346
|
const response = await this.request({
|
|
@@ -366,7 +380,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
366
380
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
367
381
|
|
|
368
382
|
if (this.configuration && this.configuration.apiKey) {
|
|
369
|
-
|
|
383
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
384
|
+
{
|
|
385
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
386
|
+
|
|
387
|
+
if (apiKeyValue) {
|
|
388
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
370
391
|
}
|
|
371
392
|
|
|
372
393
|
const response = await this.request({
|
|
@@ -405,7 +426,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
405
426
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
406
427
|
|
|
407
428
|
if (this.configuration && this.configuration.apiKey) {
|
|
408
|
-
|
|
429
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
430
|
+
{
|
|
431
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
432
|
+
|
|
433
|
+
if (apiKeyValue) {
|
|
434
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
409
437
|
}
|
|
410
438
|
|
|
411
439
|
const response = await this.request({
|
|
@@ -437,7 +465,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
437
465
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
438
466
|
|
|
439
467
|
if (this.configuration && this.configuration.apiKey) {
|
|
440
|
-
|
|
468
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
469
|
+
{
|
|
470
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
471
|
+
|
|
472
|
+
if (apiKeyValue) {
|
|
473
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
441
476
|
}
|
|
442
477
|
|
|
443
478
|
const response = await this.request({
|
|
@@ -484,7 +519,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
484
519
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
485
520
|
|
|
486
521
|
if (this.configuration && this.configuration.apiKey) {
|
|
487
|
-
|
|
522
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
523
|
+
{
|
|
524
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
525
|
+
|
|
526
|
+
if (apiKeyValue) {
|
|
527
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
488
530
|
}
|
|
489
531
|
|
|
490
532
|
const response = await this.request({
|
|
@@ -528,7 +570,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
528
570
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
529
571
|
|
|
530
572
|
if (this.configuration && this.configuration.apiKey) {
|
|
531
|
-
|
|
573
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
574
|
+
{
|
|
575
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
576
|
+
|
|
577
|
+
if (apiKeyValue) {
|
|
578
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
532
581
|
}
|
|
533
582
|
|
|
534
583
|
const response = await this.request({
|
|
@@ -576,7 +625,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
576
625
|
headerParameters['Content-Type'] = 'application/json';
|
|
577
626
|
|
|
578
627
|
if (this.configuration && this.configuration.apiKey) {
|
|
579
|
-
|
|
628
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
629
|
+
{
|
|
630
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
631
|
+
|
|
632
|
+
if (apiKeyValue) {
|
|
633
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
580
636
|
}
|
|
581
637
|
|
|
582
638
|
const response = await this.request({
|
|
@@ -625,7 +681,14 @@ export class TopicsApi extends runtime.BaseAPI implements TopicsApiInterface {
|
|
|
625
681
|
headerParameters['Content-Type'] = 'application/json';
|
|
626
682
|
|
|
627
683
|
if (this.configuration && this.configuration.apiKey) {
|
|
628
|
-
|
|
684
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
685
|
+
{
|
|
686
|
+
const apiKeyValue = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
687
|
+
|
|
688
|
+
if (apiKeyValue) {
|
|
689
|
+
headerParameters["X-API-Key"] = apiKeyValue;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
629
692
|
}
|
|
630
693
|
|
|
631
694
|
const response = await this.request({
|
|
@@ -99,7 +99,14 @@ export class UtilityApi extends runtime.BaseAPI implements UtilityApiInterface {
|
|
|
99
99
|
headerParameters['Content-Type'] = 'application/json';
|
|
100
100
|
|
|
101
101
|
if (this.configuration && this.configuration.apiKey) {
|
|
102
|
-
|
|
102
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
103
|
+
{
|
|
104
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key"); // ApplicationPublicKey authentication
|
|
105
|
+
|
|
106
|
+
if (apiKeyValue) {
|
|
107
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
103
110
|
}
|
|
104
111
|
|
|
105
112
|
const response = await this.request({
|
|
@@ -132,7 +139,14 @@ export class UtilityApi extends runtime.BaseAPI implements UtilityApiInterface {
|
|
|
132
139
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
133
140
|
|
|
134
141
|
if (this.configuration && this.configuration.apiKey) {
|
|
135
|
-
|
|
142
|
+
// An unresolved credential must produce NO header, not an empty one (sc-8162).
|
|
143
|
+
{
|
|
144
|
+
const apiKeyValue = await this.configuration.apiKey("X-Application-Key"); // ApplicationPublicKey authentication
|
|
145
|
+
|
|
146
|
+
if (apiKeyValue) {
|
|
147
|
+
headerParameters["X-Application-Key"] = apiKeyValue;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
136
150
|
}
|
|
137
151
|
|
|
138
152
|
const response = await this.request({
|