Skip to content

Commit 5bac908

Browse files
committed
chore: regen sdk
1 parent 521cef7 commit 5bac908

6 files changed

+23
-18
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"magicbell-swift-user-client": minor
3+
---
4+
5+
Automatic minor version bump for changes in `magicbell-swift-user-client`.

Sources/MagicBellUserClient/generated/Client.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import struct Foundation.Data
1010
import struct Foundation.Date
1111
#endif
1212
import HTTPTypes
13-
/// OpenAPI 3.0.3 Specification for MagicBell API.
13+
/// OpenAPI 3.1.0 Specification for MagicBell API.
1414
public struct Client: APIProtocol {
1515
/// The underlying HTTP client.
1616
private let client: UniversalClient

Sources/MagicBellUserClient/generated/Types.swift

+8-8
Original file line numberDiff line numberDiff line change
@@ -2225,19 +2225,19 @@ public enum Components {
22252225
/// The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription.
22262226
///
22272227
/// - Remark: Generated from `#/components/schemas/WebPushToken/keys/auth`.
2228-
public var auth: Swift.String
2228+
public var auth: OpenAPIRuntime.Base64EncodedData
22292229
/// The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription.
22302230
///
22312231
/// - Remark: Generated from `#/components/schemas/WebPushToken/keys/p256dh`.
2232-
public var p256dh: Swift.String
2232+
public var p256dh: OpenAPIRuntime.Base64EncodedData
22332233
/// Creates a new `keysPayload`.
22342234
///
22352235
/// - Parameters:
22362236
/// - auth: The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription.
22372237
/// - p256dh: The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription.
22382238
public init(
2239-
auth: Swift.String,
2240-
p256dh: Swift.String
2239+
auth: OpenAPIRuntime.Base64EncodedData,
2240+
p256dh: OpenAPIRuntime.Base64EncodedData
22412241
) {
22422242
self.auth = auth
22432243
self.p256dh = p256dh
@@ -2287,19 +2287,19 @@ public enum Components {
22872287
/// The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription.
22882288
///
22892289
/// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys/auth`.
2290-
public var auth: Swift.String
2290+
public var auth: OpenAPIRuntime.Base64EncodedData
22912291
/// The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription.
22922292
///
22932293
/// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys/p256dh`.
2294-
public var p256dh: Swift.String
2294+
public var p256dh: OpenAPIRuntime.Base64EncodedData
22952295
/// Creates a new `keysPayload`.
22962296
///
22972297
/// - Parameters:
22982298
/// - auth: The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription.
22992299
/// - p256dh: The P-256 ECDH public key obtained from PushSubscription.getKey('p256dh'). Used to encrypt push messages for this subscription.
23002300
public init(
2301-
auth: Swift.String,
2302-
p256dh: Swift.String
2301+
auth: OpenAPIRuntime.Base64EncodedData,
2302+
p256dh: OpenAPIRuntime.Base64EncodedData
23032303
) {
23042304
self.auth = auth
23052305
self.p256dh = p256dh

documentation/structs/Client.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
public struct Client: APIProtocol
4444
```
4545

46-
OpenAPI 3.0.3 Specification for MagicBell API.
46+
OpenAPI 3.1.0 Specification for MagicBell API.
4747

4848
## Methods
4949
### `init(serverURL:configuration:transport:middlewares:)`

documentation/structs/Components.Schemas.WebPushToken.keysPayload.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The encryption keys from the PushSubscription.getKey() method, needed to encrypt
2222
### `auth`
2323

2424
```swift
25-
public var auth: Swift.String
25+
public var auth: OpenAPIRuntime.Base64EncodedData
2626
```
2727

2828
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
3232
### `p256dh`
3333

3434
```swift
35-
public var p256dh: Swift.String
35+
public var p256dh: OpenAPIRuntime.Base64EncodedData
3636
```
3737

3838
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
4444

4545
```swift
4646
public init(
47-
auth: Swift.String,
48-
p256dh: Swift.String
47+
auth: OpenAPIRuntime.Base64EncodedData,
48+
p256dh: OpenAPIRuntime.Base64EncodedData
4949
)
5050
```
5151

documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The encryption keys from the PushSubscription.getKey() method, needed to encrypt
2222
### `auth`
2323

2424
```swift
25-
public var auth: Swift.String
25+
public var auth: OpenAPIRuntime.Base64EncodedData
2626
```
2727

2828
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
3232
### `p256dh`
3333

3434
```swift
35-
public var p256dh: Swift.String
35+
public var p256dh: OpenAPIRuntime.Base64EncodedData
3636
```
3737

3838
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
4444

4545
```swift
4646
public init(
47-
auth: Swift.String,
48-
p256dh: Swift.String
47+
auth: OpenAPIRuntime.Base64EncodedData,
48+
p256dh: OpenAPIRuntime.Base64EncodedData
4949
)
5050
```
5151

0 commit comments

Comments
 (0)