Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Sources/ResendKit/MOdels/ResendEmail.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public struct ResendEmail: Codable {
public var attachments: [EmailAttachment]?
public var tags: [EmailTag]?

public init(object: String? = nil, id: String? = nil, createAt: String? = nil, from: String, to: [String], subject: String, bcc: [String]? = nil, cc: [String]? = nil, replyTo: [String]? = nil, html: String? = nil, text: String? = nil, headers: [String : String]? = nil, attachments: [EmailAttachment]? = nil, tags: [EmailTag]? = nil) {
public init(object: String? = nil, id: String? = nil, createdAt: String? = nil, from: String, to: [String], subject: String, bcc: [String]? = nil, cc: [String]? = nil, replyTo: [String]? = nil, html: String? = nil, text: String? = nil, headers: [String : String]? = nil, attachments: [EmailAttachment]? = nil, tags: [EmailTag]? = nil) {
self.object = object
self.id = id
self.createdAt = createAt
self.createdAt = createdAt
self.from = from
self.to = to
self.subject = subject
Expand Down
2 changes: 1 addition & 1 deletion Sources/ResendKit/MOdels/ResendEmailResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
import Foundation

public struct ResendEmailResponse: Codable {
let id: String
public let id: String
}
8 changes: 4 additions & 4 deletions Sources/ResendKit/MOdels/ResendRetrieveError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import Foundation


struct ResendRetrieveError: Codable, Error {
let statusCode: Int
let message: String
let name: String
public struct ResendRetrieveError: Codable, Error {
public let statusCode: Int
public let message: String
public let name: String
}