@@ -10,7 +10,7 @@ import struct Foundation.Data
10
10
import struct Foundation. Date
11
11
#endif
12
12
import HTTPTypes
13
- /// OpenAPI 3.0.3 Specification for MagicBell API.
13
+ /// OpenAPI 3.1.0 Specification for MagicBell API.
14
14
public struct Client : APIProtocol {
15
15
/// The underlying HTTP client.
16
16
private let client : UniversalClient
@@ -97,7 +97,7 @@ public struct Client: APIProtocol {
97
97
switch chosenContentType {
98
98
case " application/json " :
99
99
body = try await converter. getResponseBodyAsJSON (
100
- Components . Schemas. ArrayOfAPNSTokenResponses . self,
100
+ Components . Schemas. APNSTokenCollection . self,
101
101
from: responseBody,
102
102
transforming: { value in
103
103
. json( value)
@@ -168,7 +168,7 @@ public struct Client: APIProtocol {
168
168
switch chosenContentType {
169
169
case " application/json " :
170
170
body = try await converter. getResponseBodyAsJSON (
171
- Components . Schemas. APNSToken . self,
171
+ Components . Schemas. APNSTokenPayload . self,
172
172
from: responseBody,
173
173
transforming: { value in
174
174
. json( value)
@@ -230,7 +230,7 @@ public struct Client: APIProtocol {
230
230
switch chosenContentType {
231
231
case " application/json " :
232
232
body = try await converter. getResponseBodyAsJSON (
233
- Components . Schemas. APNSTokenResponse . self,
233
+ Components . Schemas. APNSToken . self,
234
234
from: responseBody,
235
235
transforming: { value in
236
236
. json( value)
@@ -373,7 +373,7 @@ public struct Client: APIProtocol {
373
373
switch chosenContentType {
374
374
case " application/json " :
375
375
body = try await converter. getResponseBodyAsJSON (
376
- Components . Schemas. ArrayOfExpoTokenResponses . self,
376
+ Components . Schemas. ExpoTokenCollection . self,
377
377
from: responseBody,
378
378
transforming: { value in
379
379
. json( value)
@@ -444,7 +444,7 @@ public struct Client: APIProtocol {
444
444
switch chosenContentType {
445
445
case " application/json " :
446
446
body = try await converter. getResponseBodyAsJSON (
447
- Components . Schemas. ExpoToken . self,
447
+ Components . Schemas. ExpoTokenPayload . self,
448
448
from: responseBody,
449
449
transforming: { value in
450
450
. json( value)
@@ -506,7 +506,7 @@ public struct Client: APIProtocol {
506
506
switch chosenContentType {
507
507
case " application/json " :
508
508
body = try await converter. getResponseBodyAsJSON (
509
- Components . Schemas. ExpoTokenResponse . self,
509
+ Components . Schemas. ExpoToken . self,
510
510
from: responseBody,
511
511
transforming: { value in
512
512
. json( value)
@@ -649,7 +649,7 @@ public struct Client: APIProtocol {
649
649
switch chosenContentType {
650
650
case " application/json " :
651
651
body = try await converter. getResponseBodyAsJSON (
652
- Components . Schemas. ArrayOfFCMTokenResponses . self,
652
+ Components . Schemas. FCMTokenCollection . self,
653
653
from: responseBody,
654
654
transforming: { value in
655
655
. json( value)
@@ -720,7 +720,7 @@ public struct Client: APIProtocol {
720
720
switch chosenContentType {
721
721
case " application/json " :
722
722
body = try await converter. getResponseBodyAsJSON (
723
- Components . Schemas. FCMToken . self,
723
+ Components . Schemas. FCMTokenPayload . self,
724
724
from: responseBody,
725
725
transforming: { value in
726
726
. json( value)
@@ -782,7 +782,7 @@ public struct Client: APIProtocol {
782
782
switch chosenContentType {
783
783
case " application/json " :
784
784
body = try await converter. getResponseBodyAsJSON (
785
- Components . Schemas. FCMTokenResponse . self,
785
+ Components . Schemas. FCMToken . self,
786
786
from: responseBody,
787
787
transforming: { value in
788
788
. json( value)
@@ -925,7 +925,7 @@ public struct Client: APIProtocol {
925
925
switch chosenContentType {
926
926
case " application/json " :
927
927
body = try await converter. getResponseBodyAsJSON (
928
- Components . Schemas. ArrayOfSlackTokenResponses . self,
928
+ Components . Schemas. SlackTokenCollection . self,
929
929
from: responseBody,
930
930
transforming: { value in
931
931
. json( value)
@@ -996,7 +996,7 @@ public struct Client: APIProtocol {
996
996
switch chosenContentType {
997
997
case " application/json " :
998
998
body = try await converter. getResponseBodyAsJSON (
999
- Components . Schemas. SlackToken . self,
999
+ Components . Schemas. SlackTokenPayload . self,
1000
1000
from: responseBody,
1001
1001
transforming: { value in
1002
1002
. json( value)
@@ -1058,7 +1058,7 @@ public struct Client: APIProtocol {
1058
1058
switch chosenContentType {
1059
1059
case " application/json " :
1060
1060
body = try await converter. getResponseBodyAsJSON (
1061
- Components . Schemas. SlackTokenResponse . self,
1061
+ Components . Schemas. SlackToken . self,
1062
1062
from: responseBody,
1063
1063
transforming: { value in
1064
1064
. json( value)
@@ -1201,7 +1201,7 @@ public struct Client: APIProtocol {
1201
1201
switch chosenContentType {
1202
1202
case " application/json " :
1203
1203
body = try await converter. getResponseBodyAsJSON (
1204
- Components . Schemas. ArrayOfTeamsTokenResponses . self,
1204
+ Components . Schemas. TeamsTokenCollection . self,
1205
1205
from: responseBody,
1206
1206
transforming: { value in
1207
1207
. json( value)
@@ -1272,7 +1272,7 @@ public struct Client: APIProtocol {
1272
1272
switch chosenContentType {
1273
1273
case " application/json " :
1274
1274
body = try await converter. getResponseBodyAsJSON (
1275
- Components . Schemas. TeamsToken . self,
1275
+ Components . Schemas. TeamsTokenPayload . self,
1276
1276
from: responseBody,
1277
1277
transforming: { value in
1278
1278
. json( value)
@@ -1334,7 +1334,7 @@ public struct Client: APIProtocol {
1334
1334
switch chosenContentType {
1335
1335
case " application/json " :
1336
1336
body = try await converter. getResponseBodyAsJSON (
1337
- Components . Schemas. TeamsTokenResponse . self,
1337
+ Components . Schemas. TeamsToken . self,
1338
1338
from: responseBody,
1339
1339
transforming: { value in
1340
1340
. json( value)
@@ -1477,7 +1477,7 @@ public struct Client: APIProtocol {
1477
1477
switch chosenContentType {
1478
1478
case " application/json " :
1479
1479
body = try await converter. getResponseBodyAsJSON (
1480
- Components . Schemas. ArrayOfWebPushTokenResponses . self,
1480
+ Components . Schemas. WebPushTokenCollection . self,
1481
1481
from: responseBody,
1482
1482
transforming: { value in
1483
1483
. json( value)
@@ -1548,7 +1548,7 @@ public struct Client: APIProtocol {
1548
1548
switch chosenContentType {
1549
1549
case " application/json " :
1550
1550
body = try await converter. getResponseBodyAsJSON (
1551
- Components . Schemas. WebPushToken . self,
1551
+ Components . Schemas. WebPushTokenPayload . self,
1552
1552
from: responseBody,
1553
1553
transforming: { value in
1554
1554
. json( value)
@@ -1610,7 +1610,7 @@ public struct Client: APIProtocol {
1610
1610
switch chosenContentType {
1611
1611
case " application/json " :
1612
1612
body = try await converter. getResponseBodyAsJSON (
1613
- Components . Schemas. WebPushTokenResponse . self,
1613
+ Components . Schemas. WebPushToken . self,
1614
1614
from: responseBody,
1615
1615
transforming: { value in
1616
1616
. json( value)
@@ -1743,7 +1743,7 @@ public struct Client: APIProtocol {
1743
1743
switch chosenContentType {
1744
1744
case " application/json " :
1745
1745
body = try await converter. getResponseBodyAsJSON (
1746
- Components . Schemas. InboxConfig . self,
1746
+ Components . Schemas. InboxConfigPayload . self,
1747
1747
from: responseBody,
1748
1748
transforming: { value in
1749
1749
. json( value)
@@ -1803,7 +1803,7 @@ public struct Client: APIProtocol {
1803
1803
switch chosenContentType {
1804
1804
case " application/json " :
1805
1805
body = try await converter. getResponseBodyAsJSON (
1806
- Components . Schemas. InboxConfig . self,
1806
+ Components . Schemas. InboxConfigPayload . self,
1807
1807
from: responseBody,
1808
1808
transforming: { value in
1809
1809
. json( value)
@@ -2158,7 +2158,7 @@ public struct Client: APIProtocol {
2158
2158
switch chosenContentType {
2159
2159
case " application/json " :
2160
2160
body = try await converter. getResponseBodyAsJSON (
2161
- Components . Schemas. WebPushToken . self,
2161
+ Components . Schemas. WebPushTokenPayload . self,
2162
2162
from: responseBody,
2163
2163
transforming: { value in
2164
2164
. json( value)
0 commit comments