Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: regen sdk #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"magicbell-swift-user-client": minor
---

Automatic minor version bump for changes in `magicbell-swift-user-client`.
2 changes: 1 addition & 1 deletion Sources/MagicBellUserClient/generated/Client.swift
Original file line number Diff line number Diff line change
@@ -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
16 changes: 8 additions & 8 deletions Sources/MagicBellUserClient/generated/Types.swift
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion documentation/structs/Client.md
Original file line number Diff line number Diff line change
@@ -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:)`
Original file line number Diff line number Diff line change
@@ -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
)
```

Original file line number Diff line number Diff line change
@@ -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
)
```