@@ -10,7 +10,7 @@ import struct Foundation.Data
1010import struct Foundation. Date
1111#endif
1212import HTTPTypes
13- /// OpenAPI 3.0.3 Specification for MagicBell API.
13+ /// OpenAPI 3.1.0 Specification for MagicBell API.
1414public struct Client : APIProtocol {
1515 /// The underlying HTTP client.
1616 private let client : UniversalClient
@@ -97,7 +97,7 @@ public struct Client: APIProtocol {
9797 switch chosenContentType {
9898 case " application/json " :
9999 body = try await converter. getResponseBodyAsJSON (
100- Components . Schemas. ArrayOfAPNSTokenResponses . self,
100+ Components . Schemas. APNSTokenCollection . self,
101101 from: responseBody,
102102 transforming: { value in
103103 . json( value)
@@ -168,7 +168,7 @@ public struct Client: APIProtocol {
168168 switch chosenContentType {
169169 case " application/json " :
170170 body = try await converter. getResponseBodyAsJSON (
171- Components . Schemas. APNSToken . self,
171+ Components . Schemas. APNSTokenPayload . self,
172172 from: responseBody,
173173 transforming: { value in
174174 . json( value)
@@ -230,7 +230,7 @@ public struct Client: APIProtocol {
230230 switch chosenContentType {
231231 case " application/json " :
232232 body = try await converter. getResponseBodyAsJSON (
233- Components . Schemas. APNSTokenResponse . self,
233+ Components . Schemas. APNSToken . self,
234234 from: responseBody,
235235 transforming: { value in
236236 . json( value)
@@ -373,7 +373,7 @@ public struct Client: APIProtocol {
373373 switch chosenContentType {
374374 case " application/json " :
375375 body = try await converter. getResponseBodyAsJSON (
376- Components . Schemas. ArrayOfExpoTokenResponses . self,
376+ Components . Schemas. ExpoTokenCollection . self,
377377 from: responseBody,
378378 transforming: { value in
379379 . json( value)
@@ -444,7 +444,7 @@ public struct Client: APIProtocol {
444444 switch chosenContentType {
445445 case " application/json " :
446446 body = try await converter. getResponseBodyAsJSON (
447- Components . Schemas. ExpoToken . self,
447+ Components . Schemas. ExpoTokenPayload . self,
448448 from: responseBody,
449449 transforming: { value in
450450 . json( value)
@@ -506,7 +506,7 @@ public struct Client: APIProtocol {
506506 switch chosenContentType {
507507 case " application/json " :
508508 body = try await converter. getResponseBodyAsJSON (
509- Components . Schemas. ExpoTokenResponse . self,
509+ Components . Schemas. ExpoToken . self,
510510 from: responseBody,
511511 transforming: { value in
512512 . json( value)
@@ -649,7 +649,7 @@ public struct Client: APIProtocol {
649649 switch chosenContentType {
650650 case " application/json " :
651651 body = try await converter. getResponseBodyAsJSON (
652- Components . Schemas. ArrayOfFCMTokenResponses . self,
652+ Components . Schemas. FCMTokenCollection . self,
653653 from: responseBody,
654654 transforming: { value in
655655 . json( value)
@@ -720,7 +720,7 @@ public struct Client: APIProtocol {
720720 switch chosenContentType {
721721 case " application/json " :
722722 body = try await converter. getResponseBodyAsJSON (
723- Components . Schemas. FCMToken . self,
723+ Components . Schemas. FCMTokenPayload . self,
724724 from: responseBody,
725725 transforming: { value in
726726 . json( value)
@@ -782,7 +782,7 @@ public struct Client: APIProtocol {
782782 switch chosenContentType {
783783 case " application/json " :
784784 body = try await converter. getResponseBodyAsJSON (
785- Components . Schemas. FCMTokenResponse . self,
785+ Components . Schemas. FCMToken . self,
786786 from: responseBody,
787787 transforming: { value in
788788 . json( value)
@@ -925,7 +925,7 @@ public struct Client: APIProtocol {
925925 switch chosenContentType {
926926 case " application/json " :
927927 body = try await converter. getResponseBodyAsJSON (
928- Components . Schemas. ArrayOfSlackTokenResponses . self,
928+ Components . Schemas. SlackTokenCollection . self,
929929 from: responseBody,
930930 transforming: { value in
931931 . json( value)
@@ -996,7 +996,7 @@ public struct Client: APIProtocol {
996996 switch chosenContentType {
997997 case " application/json " :
998998 body = try await converter. getResponseBodyAsJSON (
999- Components . Schemas. SlackToken . self,
999+ Components . Schemas. SlackTokenPayload . self,
10001000 from: responseBody,
10011001 transforming: { value in
10021002 . json( value)
@@ -1058,7 +1058,7 @@ public struct Client: APIProtocol {
10581058 switch chosenContentType {
10591059 case " application/json " :
10601060 body = try await converter. getResponseBodyAsJSON (
1061- Components . Schemas. SlackTokenResponse . self,
1061+ Components . Schemas. SlackToken . self,
10621062 from: responseBody,
10631063 transforming: { value in
10641064 . json( value)
@@ -1201,7 +1201,7 @@ public struct Client: APIProtocol {
12011201 switch chosenContentType {
12021202 case " application/json " :
12031203 body = try await converter. getResponseBodyAsJSON (
1204- Components . Schemas. ArrayOfTeamsTokenResponses . self,
1204+ Components . Schemas. TeamsTokenCollection . self,
12051205 from: responseBody,
12061206 transforming: { value in
12071207 . json( value)
@@ -1272,7 +1272,7 @@ public struct Client: APIProtocol {
12721272 switch chosenContentType {
12731273 case " application/json " :
12741274 body = try await converter. getResponseBodyAsJSON (
1275- Components . Schemas. TeamsToken . self,
1275+ Components . Schemas. TeamsTokenPayload . self,
12761276 from: responseBody,
12771277 transforming: { value in
12781278 . json( value)
@@ -1334,7 +1334,7 @@ public struct Client: APIProtocol {
13341334 switch chosenContentType {
13351335 case " application/json " :
13361336 body = try await converter. getResponseBodyAsJSON (
1337- Components . Schemas. TeamsTokenResponse . self,
1337+ Components . Schemas. TeamsToken . self,
13381338 from: responseBody,
13391339 transforming: { value in
13401340 . json( value)
@@ -1477,7 +1477,7 @@ public struct Client: APIProtocol {
14771477 switch chosenContentType {
14781478 case " application/json " :
14791479 body = try await converter. getResponseBodyAsJSON (
1480- Components . Schemas. ArrayOfWebPushTokenResponses . self,
1480+ Components . Schemas. WebPushTokenCollection . self,
14811481 from: responseBody,
14821482 transforming: { value in
14831483 . json( value)
@@ -1548,7 +1548,7 @@ public struct Client: APIProtocol {
15481548 switch chosenContentType {
15491549 case " application/json " :
15501550 body = try await converter. getResponseBodyAsJSON (
1551- Components . Schemas. WebPushToken . self,
1551+ Components . Schemas. WebPushTokenPayload . self,
15521552 from: responseBody,
15531553 transforming: { value in
15541554 . json( value)
@@ -1610,7 +1610,7 @@ public struct Client: APIProtocol {
16101610 switch chosenContentType {
16111611 case " application/json " :
16121612 body = try await converter. getResponseBodyAsJSON (
1613- Components . Schemas. WebPushTokenResponse . self,
1613+ Components . Schemas. WebPushToken . self,
16141614 from: responseBody,
16151615 transforming: { value in
16161616 . json( value)
@@ -1743,7 +1743,7 @@ public struct Client: APIProtocol {
17431743 switch chosenContentType {
17441744 case " application/json " :
17451745 body = try await converter. getResponseBodyAsJSON (
1746- Components . Schemas. InboxConfig . self,
1746+ Components . Schemas. InboxConfigPayload . self,
17471747 from: responseBody,
17481748 transforming: { value in
17491749 . json( value)
@@ -1803,7 +1803,7 @@ public struct Client: APIProtocol {
18031803 switch chosenContentType {
18041804 case " application/json " :
18051805 body = try await converter. getResponseBodyAsJSON (
1806- Components . Schemas. InboxConfig . self,
1806+ Components . Schemas. InboxConfigPayload . self,
18071807 from: responseBody,
18081808 transforming: { value in
18091809 . json( value)
@@ -2158,7 +2158,7 @@ public struct Client: APIProtocol {
21582158 switch chosenContentType {
21592159 case " application/json " :
21602160 body = try await converter. getResponseBodyAsJSON (
2161- Components . Schemas. WebPushToken . self,
2161+ Components . Schemas. WebPushTokenPayload . self,
21622162 from: responseBody,
21632163 transforming: { value in
21642164 . json( value)
0 commit comments