diff --git a/.changeset/auto-bump-magicbell-swift-user-client-1742792716.md b/.changeset/auto-bump-magicbell-swift-user-client-1742792716.md new file mode 100644 index 0000000..2aac95c --- /dev/null +++ b/.changeset/auto-bump-magicbell-swift-user-client-1742792716.md @@ -0,0 +1,5 @@ +--- +"magicbell-swift-user-client": minor +--- + +Automatic minor version bump for changes in `magicbell-swift-user-client`. diff --git a/Sources/MagicBellUserClient/generated/Client.swift b/Sources/MagicBellUserClient/generated/Client.swift index 6cb6a50..41f2332 100644 --- a/Sources/MagicBellUserClient/generated/Client.swift +++ b/Sources/MagicBellUserClient/generated/Client.swift @@ -10,7 +10,7 @@ import struct Foundation.Data import struct Foundation.Date #endif import HTTPTypes -/// OpenAPI 3.0.3 Specification for MagicBell API. +/// OpenAPI 3.1.0 Specification for MagicBell API. public struct Client: APIProtocol { /// The underlying HTTP client. private let client: UniversalClient diff --git a/Sources/MagicBellUserClient/generated/Types.swift b/Sources/MagicBellUserClient/generated/Types.swift index 14437c9..5a1bbd7 100644 --- a/Sources/MagicBellUserClient/generated/Types.swift +++ b/Sources/MagicBellUserClient/generated/Types.swift @@ -2225,19 +2225,19 @@ public enum Components { /// The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. /// /// - Remark: Generated from `#/components/schemas/WebPushToken/keys/auth`. - public var auth: Swift.String + public var auth: OpenAPIRuntime.Base64EncodedData /// The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription. /// /// - Remark: Generated from `#/components/schemas/WebPushToken/keys/p256dh`. - public var p256dh: Swift.String + public var p256dh: OpenAPIRuntime.Base64EncodedData /// Creates a new `keysPayload`. /// /// - Parameters: /// - auth: The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. /// - p256dh: The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription. public init( - auth: Swift.String, - p256dh: Swift.String + auth: OpenAPIRuntime.Base64EncodedData, + p256dh: OpenAPIRuntime.Base64EncodedData ) { self.auth = auth self.p256dh = p256dh @@ -2287,19 +2287,19 @@ public enum Components { /// The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. /// /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys/auth`. - public var auth: Swift.String + public var auth: OpenAPIRuntime.Base64EncodedData /// The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription. /// /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys/p256dh`. - public var p256dh: Swift.String + public var p256dh: OpenAPIRuntime.Base64EncodedData /// Creates a new `keysPayload`. /// /// - Parameters: /// - auth: The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. /// - p256dh: The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription. public init( - auth: Swift.String, - p256dh: Swift.String + auth: OpenAPIRuntime.Base64EncodedData, + p256dh: OpenAPIRuntime.Base64EncodedData ) { self.auth = auth self.p256dh = p256dh diff --git a/documentation/structs/Client.md b/documentation/structs/Client.md index ddd746d..3f43d62 100644 --- a/documentation/structs/Client.md +++ b/documentation/structs/Client.md @@ -43,7 +43,7 @@ public struct Client: APIProtocol ``` -OpenAPI 3.0.3 Specification for MagicBell API. +OpenAPI 3.1.0 Specification for MagicBell API. ## Methods ### `init(serverURL:configuration:transport:middlewares:)` diff --git a/documentation/structs/Components.Schemas.WebPushToken.keysPayload.md b/documentation/structs/Components.Schemas.WebPushToken.keysPayload.md index a5b06cd..5207519 100644 --- a/documentation/structs/Components.Schemas.WebPushToken.keysPayload.md +++ b/documentation/structs/Components.Schemas.WebPushToken.keysPayload.md @@ -22,7 +22,7 @@ The encryption keys from the PushSubscription.getKey() method, needed to encrypt ### `auth` ```swift -public var auth: Swift.String +public var auth: OpenAPIRuntime.Base64EncodedData ``` The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. @@ -32,7 +32,7 @@ The authentication secret obtained from PushSubscription.getKey('auth'). Used to ### `p256dh` ```swift -public var p256dh: Swift.String +public var p256dh: OpenAPIRuntime.Base64EncodedData ``` The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription. @@ -44,8 +44,8 @@ The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used ```swift public init( - auth: Swift.String, - p256dh: Swift.String + auth: OpenAPIRuntime.Base64EncodedData, + p256dh: OpenAPIRuntime.Base64EncodedData ) ``` diff --git a/documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md b/documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md index edf3699..6418875 100644 --- a/documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md +++ b/documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md @@ -22,7 +22,7 @@ The encryption keys from the PushSubscription.getKey() method, needed to encrypt ### `auth` ```swift -public var auth: Swift.String +public var auth: OpenAPIRuntime.Base64EncodedData ``` The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. @@ -32,7 +32,7 @@ The authentication secret obtained from PushSubscription.getKey('auth'). Used to ### `p256dh` ```swift -public var p256dh: Swift.String +public var p256dh: OpenAPIRuntime.Base64EncodedData ``` The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription. @@ -44,8 +44,8 @@ The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used ```swift public init( - auth: Swift.String, - p256dh: Swift.String + auth: OpenAPIRuntime.Base64EncodedData, + p256dh: OpenAPIRuntime.Base64EncodedData ) ```