diff --git a/.changeset/auto-bump-magicbell-swift-user-client-1760331950.md b/.changeset/auto-bump-magicbell-swift-user-client-1760331950.md new file mode 100644 index 0000000..2aac95c --- /dev/null +++ b/.changeset/auto-bump-magicbell-swift-user-client-1760331950.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..87ab7c4 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 @@ -38,17 +38,19 @@ public struct Client: APIProtocol { private var converter: Converter { client.converter } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Inbox tokens /// - /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. - public func get_mobile_push_apns_tokens(_ input: Operations.get_mobile_push_apns_tokens.Input) async throws -> Operations.get_mobile_push_apns_tokens.Output { + /// Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + public func list_inbox_tokens(_ input: Operations.list_inbox_tokens.Input) async throws -> Operations.list_inbox_tokens.Output { try await client.send( input: input, - forOperation: Operations.get_mobile_push_apns_tokens.id, + forOperation: Operations.list_inbox_tokens.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/apns/tokens", + template: "/channels/in_app/inbox/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -87,7 +89,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_mobile_push_apns_tokens.Output.Ok.Body + let body: Operations.list_inbox_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -97,7 +99,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ArrayOfAPNSTokenResponses.self, + Components.Schemas.InboxTokenResponseCollection.self, from: responseBody, transforming: { value in .json(value) @@ -119,22 +121,24 @@ public struct Client: APIProtocol { } ) } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save an Inbox token + /// + /// Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. - public func save_mobile_push_apns_token(_ input: Operations.save_mobile_push_apns_token.Input) async throws -> Operations.save_mobile_push_apns_token.Output { + /// - Remark: HTTP `PUT /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + public func save_inbox_token(_ input: Operations.save_inbox_token.Input) async throws -> Operations.save_inbox_token.Output { try await client.send( input: input, - forOperation: Operations.save_mobile_push_apns_token.id, + forOperation: Operations.save_inbox_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/apns/tokens", + template: "/channels/in_app/inbox/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -156,9 +160,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_mobile_push_apns_token.Output.Created.Body + let body: Operations.save_inbox_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -168,7 +172,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.APNSToken.self, + Components.Schemas.InboxToken.self, from: responseBody, transforming: { value in .json(value) @@ -177,7 +181,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -190,17 +194,19 @@ public struct Client: APIProtocol { } ) } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an Inbox token /// - /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. - public func get_mobile_push_apns_token(_ input: Operations.get_mobile_push_apns_token.Input) async throws -> Operations.get_mobile_push_apns_token.Output { + /// Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + public func fetch_inbox_token(_ input: Operations.fetch_inbox_token.Input) async throws -> Operations.fetch_inbox_token.Output { try await client.send( input: input, - forOperation: Operations.get_mobile_push_apns_token.id, + forOperation: Operations.fetch_inbox_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/apns/tokens/{}", + template: "/channels/in_app/inbox/tokens/{}", parameters: [ input.path.token_id ] @@ -220,7 +226,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_mobile_push_apns_token.Output.Ok.Body + let body: Operations.fetch_inbox_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -230,7 +236,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.APNSTokenResponse.self, + Components.Schemas.InboxTokenResponse.self, from: responseBody, transforming: { value in .json(value) @@ -252,17 +258,19 @@ public struct Client: APIProtocol { } ) } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an Inbox token /// - /// - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. - public func discard_mobile_push_apns_token(_ input: Operations.discard_mobile_push_apns_token.Input) async throws -> Operations.discard_mobile_push_apns_token.Output { + /// Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + public func delete_inbox_token(_ input: Operations.delete_inbox_token.Input) async throws -> Operations.delete_inbox_token.Output { try await client.send( input: input, - forOperation: Operations.discard_mobile_push_apns_token.id, + forOperation: Operations.delete_inbox_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/apns/tokens/{}", + template: "/channels/in_app/inbox/tokens/{}", parameters: [ input.path.token_id ] @@ -282,7 +290,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.discard_mobile_push_apns_token.Output.Ok.Body + let body: Operations.delete_inbox_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -314,17 +322,19 @@ public struct Client: APIProtocol { } ) } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all APNs tokens /// - /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. - public func get_mobile_push_expo_tokens(_ input: Operations.get_mobile_push_expo_tokens.Input) async throws -> Operations.get_mobile_push_expo_tokens.Output { + /// Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. + public func list_apns_tokens(_ input: Operations.list_apns_tokens.Input) async throws -> Operations.list_apns_tokens.Output { try await client.send( input: input, - forOperation: Operations.get_mobile_push_expo_tokens.id, + forOperation: Operations.list_apns_tokens.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/expo/tokens", + template: "/channels/mobile_push/apns/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -363,7 +373,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_mobile_push_expo_tokens.Output.Ok.Body + let body: Operations.list_apns_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -373,7 +383,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ArrayOfExpoTokenResponses.self, + Components.Schemas.APNSTokenCollection.self, from: responseBody, transforming: { value in .json(value) @@ -395,22 +405,24 @@ public struct Client: APIProtocol { } ) } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save an APNs token /// - /// - Remark: HTTP `POST /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. - public func save_mobile_push_expo_token(_ input: Operations.save_mobile_push_expo_token.Input) async throws -> Operations.save_mobile_push_expo_token.Output { + /// Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. + public func save_apns_token(_ input: Operations.save_apns_token.Input) async throws -> Operations.save_apns_token.Output { try await client.send( input: input, - forOperation: Operations.save_mobile_push_expo_token.id, + forOperation: Operations.save_apns_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/expo/tokens", + template: "/channels/mobile_push/apns/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -432,9 +444,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_mobile_push_expo_token.Output.Created.Body + let body: Operations.save_apns_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -444,7 +456,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ExpoToken.self, + Components.Schemas.APNSTokenPayload.self, from: responseBody, transforming: { value in .json(value) @@ -453,7 +465,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -466,17 +478,19 @@ public struct Client: APIProtocol { } ) } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an APNs token /// - /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. - public func get_mobile_push_expo_token(_ input: Operations.get_mobile_push_expo_token.Input) async throws -> Operations.get_mobile_push_expo_token.Output { + /// Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. + public func fetch_apns_token(_ input: Operations.fetch_apns_token.Input) async throws -> Operations.fetch_apns_token.Output { try await client.send( input: input, - forOperation: Operations.get_mobile_push_expo_token.id, + forOperation: Operations.fetch_apns_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/expo/tokens/{}", + template: "/channels/mobile_push/apns/tokens/{}", parameters: [ input.path.token_id ] @@ -496,7 +510,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_mobile_push_expo_token.Output.Ok.Body + let body: Operations.fetch_apns_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -506,7 +520,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ExpoTokenResponse.self, + Components.Schemas.APNSToken.self, from: responseBody, transforming: { value in .json(value) @@ -528,17 +542,19 @@ public struct Client: APIProtocol { } ) } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an APNs token /// - /// - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. - public func discard_mobile_push_expo_token(_ input: Operations.discard_mobile_push_expo_token.Input) async throws -> Operations.discard_mobile_push_expo_token.Output { + /// Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. + public func delete_apns_token(_ input: Operations.delete_apns_token.Input) async throws -> Operations.delete_apns_token.Output { try await client.send( input: input, - forOperation: Operations.discard_mobile_push_expo_token.id, + forOperation: Operations.delete_apns_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/expo/tokens/{}", + template: "/channels/mobile_push/apns/tokens/{}", parameters: [ input.path.token_id ] @@ -558,7 +574,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.discard_mobile_push_expo_token.Output.Ok.Body + let body: Operations.delete_apns_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -590,17 +606,19 @@ public struct Client: APIProtocol { } ) } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Expo tokens /// - /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. - public func get_mobile_push_fcm_tokens(_ input: Operations.get_mobile_push_fcm_tokens.Input) async throws -> Operations.get_mobile_push_fcm_tokens.Output { + /// Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. + public func list_expo_tokens(_ input: Operations.list_expo_tokens.Input) async throws -> Operations.list_expo_tokens.Output { try await client.send( input: input, - forOperation: Operations.get_mobile_push_fcm_tokens.id, + forOperation: Operations.list_expo_tokens.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/fcm/tokens", + template: "/channels/mobile_push/expo/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -639,7 +657,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_mobile_push_fcm_tokens.Output.Ok.Body + let body: Operations.list_expo_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -649,7 +667,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ArrayOfFCMTokenResponses.self, + Components.Schemas.ExpoTokenCollection.self, from: responseBody, transforming: { value in .json(value) @@ -671,22 +689,24 @@ public struct Client: APIProtocol { } ) } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save an Expo token + /// + /// Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. - public func save_mobile_push_fcm_token(_ input: Operations.save_mobile_push_fcm_token.Input) async throws -> Operations.save_mobile_push_fcm_token.Output { + /// - Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. + public func save_expo_token(_ input: Operations.save_expo_token.Input) async throws -> Operations.save_expo_token.Output { try await client.send( input: input, - forOperation: Operations.save_mobile_push_fcm_token.id, + forOperation: Operations.save_expo_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/fcm/tokens", + template: "/channels/mobile_push/expo/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -708,9 +728,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_mobile_push_fcm_token.Output.Created.Body + let body: Operations.save_expo_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -720,7 +740,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.FCMToken.self, + Components.Schemas.ExpoTokenPayload.self, from: responseBody, transforming: { value in .json(value) @@ -729,7 +749,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -742,17 +762,19 @@ public struct Client: APIProtocol { } ) } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an Expo token /// - /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. - public func get_mobile_push_fcm_token(_ input: Operations.get_mobile_push_fcm_token.Input) async throws -> Operations.get_mobile_push_fcm_token.Output { + /// Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. + public func fetch_expo_token(_ input: Operations.fetch_expo_token.Input) async throws -> Operations.fetch_expo_token.Output { try await client.send( input: input, - forOperation: Operations.get_mobile_push_fcm_token.id, + forOperation: Operations.fetch_expo_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/fcm/tokens/{}", + template: "/channels/mobile_push/expo/tokens/{}", parameters: [ input.path.token_id ] @@ -772,7 +794,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_mobile_push_fcm_token.Output.Ok.Body + let body: Operations.fetch_expo_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -782,7 +804,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.FCMTokenResponse.self, + Components.Schemas.ExpoToken.self, from: responseBody, transforming: { value in .json(value) @@ -804,17 +826,19 @@ public struct Client: APIProtocol { } ) } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an Expo token /// - /// - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. - public func discard_mobile_push_fcm_token(_ input: Operations.discard_mobile_push_fcm_token.Input) async throws -> Operations.discard_mobile_push_fcm_token.Output { + /// Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. + public func delete_expo_token(_ input: Operations.delete_expo_token.Input) async throws -> Operations.delete_expo_token.Output { try await client.send( input: input, - forOperation: Operations.discard_mobile_push_fcm_token.id, + forOperation: Operations.delete_expo_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/mobile_push/fcm/tokens/{}", + template: "/channels/mobile_push/expo/tokens/{}", parameters: [ input.path.token_id ] @@ -834,7 +858,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.discard_mobile_push_fcm_token.Output.Ok.Body + let body: Operations.delete_expo_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -866,17 +890,19 @@ public struct Client: APIProtocol { } ) } - /// Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all FCM tokens /// - /// - Remark: HTTP `GET /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. - public func get_slack_tokens(_ input: Operations.get_slack_tokens.Input) async throws -> Operations.get_slack_tokens.Output { + /// Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. + public func list_fcm_tokens(_ input: Operations.list_fcm_tokens.Input) async throws -> Operations.list_fcm_tokens.Output { try await client.send( input: input, - forOperation: Operations.get_slack_tokens.id, + forOperation: Operations.list_fcm_tokens.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/slack/tokens", + template: "/channels/mobile_push/fcm/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -915,7 +941,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_slack_tokens.Output.Ok.Body + let body: Operations.list_fcm_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -925,7 +951,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ArrayOfSlackTokenResponses.self, + Components.Schemas.FCMTokenCollection.self, from: responseBody, transforming: { value in .json(value) @@ -947,22 +973,24 @@ public struct Client: APIProtocol { } ) } - /// Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a FCM token /// - /// - Remark: HTTP `POST /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. - public func save_slack_token(_ input: Operations.save_slack_token.Input) async throws -> Operations.save_slack_token.Output { + /// Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + public func save_fcm_token(_ input: Operations.save_fcm_token.Input) async throws -> Operations.save_fcm_token.Output { try await client.send( input: input, - forOperation: Operations.save_slack_token.id, + forOperation: Operations.save_fcm_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/slack/tokens", + template: "/channels/mobile_push/fcm/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -984,9 +1012,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_slack_token.Output.Created.Body + let body: Operations.save_fcm_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -996,7 +1024,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.SlackToken.self, + Components.Schemas.FCMTokenPayload.self, from: responseBody, transforming: { value in .json(value) @@ -1005,7 +1033,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1018,17 +1046,19 @@ public struct Client: APIProtocol { } ) } - /// Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a FCM token /// - /// - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. - public func get_slack_token(_ input: Operations.get_slack_token.Input) async throws -> Operations.get_slack_token.Output { + /// Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. + public func fetch_fcm_token(_ input: Operations.fetch_fcm_token.Input) async throws -> Operations.fetch_fcm_token.Output { try await client.send( input: input, - forOperation: Operations.get_slack_token.id, + forOperation: Operations.fetch_fcm_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/slack/tokens/{}", + template: "/channels/mobile_push/fcm/tokens/{}", parameters: [ input.path.token_id ] @@ -1048,7 +1078,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_slack_token.Output.Ok.Body + let body: Operations.fetch_fcm_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1058,7 +1088,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.SlackTokenResponse.self, + Components.Schemas.FCMToken.self, from: responseBody, transforming: { value in .json(value) @@ -1080,17 +1110,19 @@ public struct Client: APIProtocol { } ) } - /// Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a FCM token /// - /// - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. - public func discard_slack_token(_ input: Operations.discard_slack_token.Input) async throws -> Operations.discard_slack_token.Output { + /// Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. + public func delete_fcm_token(_ input: Operations.delete_fcm_token.Input) async throws -> Operations.delete_fcm_token.Output { try await client.send( input: input, - forOperation: Operations.discard_slack_token.id, + forOperation: Operations.delete_fcm_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/slack/tokens/{}", + template: "/channels/mobile_push/fcm/tokens/{}", parameters: [ input.path.token_id ] @@ -1110,7 +1142,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.discard_slack_token.Output.Ok.Body + let body: Operations.delete_fcm_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1142,17 +1174,19 @@ public struct Client: APIProtocol { } ) } - /// Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Slack tokens /// - /// - Remark: HTTP `GET /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. - public func get_teams_tokens(_ input: Operations.get_teams_tokens.Input) async throws -> Operations.get_teams_tokens.Output { + /// Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/slack/tokens`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. + public func list_slack_tokens(_ input: Operations.list_slack_tokens.Input) async throws -> Operations.list_slack_tokens.Output { try await client.send( input: input, - forOperation: Operations.get_teams_tokens.id, + forOperation: Operations.list_slack_tokens.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/teams/tokens", + template: "/channels/slack/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -1191,7 +1225,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_teams_tokens.Output.Ok.Body + let body: Operations.list_slack_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1201,7 +1235,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ArrayOfTeamsTokenResponses.self, + Components.Schemas.SlackTokenCollection.self, from: responseBody, transforming: { value in .json(value) @@ -1223,22 +1257,24 @@ public struct Client: APIProtocol { } ) } - /// Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Slack token /// - /// - Remark: HTTP `POST /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. - public func save_teams_token(_ input: Operations.save_teams_token.Input) async throws -> Operations.save_teams_token.Output { + /// Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/slack/tokens`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. + public func save_slack_token(_ input: Operations.save_slack_token.Input) async throws -> Operations.save_slack_token.Output { try await client.send( input: input, - forOperation: Operations.save_teams_token.id, + forOperation: Operations.save_slack_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/teams/tokens", + template: "/channels/slack/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -1260,9 +1296,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_teams_token.Output.Created.Body + let body: Operations.save_slack_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1272,7 +1308,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.TeamsToken.self, + Components.Schemas.SlackTokenPayload.self, from: responseBody, transforming: { value in .json(value) @@ -1281,7 +1317,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1294,17 +1330,19 @@ public struct Client: APIProtocol { } ) } - /// Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Slack token /// - /// - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. - public func get_teams_token(_ input: Operations.get_teams_token.Input) async throws -> Operations.get_teams_token.Output { + /// Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. + public func fetch_slack_token(_ input: Operations.fetch_slack_token.Input) async throws -> Operations.fetch_slack_token.Output { try await client.send( input: input, - forOperation: Operations.get_teams_token.id, + forOperation: Operations.fetch_slack_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/teams/tokens/{}", + template: "/channels/slack/tokens/{}", parameters: [ input.path.token_id ] @@ -1324,7 +1362,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_teams_token.Output.Ok.Body + let body: Operations.fetch_slack_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1334,7 +1372,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.TeamsTokenResponse.self, + Components.Schemas.SlackToken.self, from: responseBody, transforming: { value in .json(value) @@ -1356,17 +1394,19 @@ public struct Client: APIProtocol { } ) } - /// Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Slack token /// - /// - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. - public func discard_teams_token(_ input: Operations.discard_teams_token.Input) async throws -> Operations.discard_teams_token.Output { + /// Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. + public func delete_slack_token(_ input: Operations.delete_slack_token.Input) async throws -> Operations.delete_slack_token.Output { try await client.send( input: input, - forOperation: Operations.discard_teams_token.id, + forOperation: Operations.delete_slack_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/teams/tokens/{}", + template: "/channels/slack/tokens/{}", parameters: [ input.path.token_id ] @@ -1386,7 +1426,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.discard_teams_token.Output.Ok.Body + let body: Operations.delete_slack_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1418,17 +1458,19 @@ public struct Client: APIProtocol { } ) } - /// Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Teams tokens /// - /// - Remark: HTTP `GET /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. - public func get_web_push_tokens(_ input: Operations.get_web_push_tokens.Input) async throws -> Operations.get_web_push_tokens.Output { + /// Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/teams/tokens`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. + public func list_teams_tokens(_ input: Operations.list_teams_tokens.Input) async throws -> Operations.list_teams_tokens.Output { try await client.send( input: input, - forOperation: Operations.get_web_push_tokens.id, + forOperation: Operations.list_teams_tokens.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/web_push/tokens", + template: "/channels/teams/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -1467,7 +1509,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_web_push_tokens.Output.Ok.Body + let body: Operations.list_teams_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1477,7 +1519,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.ArrayOfWebPushTokenResponses.self, + Components.Schemas.TeamsTokenCollection.self, from: responseBody, transforming: { value in .json(value) @@ -1499,22 +1541,24 @@ public struct Client: APIProtocol { } ) } - /// Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Teams token /// - /// - Remark: HTTP `POST /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. - public func save_web_push_token(_ input: Operations.save_web_push_token.Input) async throws -> Operations.save_web_push_token.Output { + /// Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/teams/tokens`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. + public func save_teams_token(_ input: Operations.save_teams_token.Input) async throws -> Operations.save_teams_token.Output { try await client.send( input: input, - forOperation: Operations.save_web_push_token.id, + forOperation: Operations.save_teams_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/web_push/tokens", + template: "/channels/teams/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -1536,9 +1580,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_web_push_token.Output.Created.Body + let body: Operations.save_teams_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1548,7 +1592,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.WebPushToken.self, + Components.Schemas.TeamsTokenPayload.self, from: responseBody, transforming: { value in .json(value) @@ -1557,7 +1601,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1570,17 +1614,19 @@ public struct Client: APIProtocol { } ) } - /// Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Teams token /// - /// - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. - public func get_web_push_token(_ input: Operations.get_web_push_token.Input) async throws -> Operations.get_web_push_token.Output { + /// Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. + public func fetch_teams_token(_ input: Operations.fetch_teams_token.Input) async throws -> Operations.fetch_teams_token.Output { try await client.send( input: input, - forOperation: Operations.get_web_push_token.id, + forOperation: Operations.fetch_teams_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/web_push/tokens/{}", + template: "/channels/teams/tokens/{}", parameters: [ input.path.token_id ] @@ -1600,7 +1646,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.get_web_push_token.Output.Ok.Body + let body: Operations.fetch_teams_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1610,7 +1656,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.WebPushTokenResponse.self, + Components.Schemas.TeamsToken.self, from: responseBody, transforming: { value in .json(value) @@ -1632,17 +1678,19 @@ public struct Client: APIProtocol { } ) } - /// Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Teams token /// - /// - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. - public func discard_web_push_token(_ input: Operations.discard_web_push_token.Input) async throws -> Operations.discard_web_push_token.Output { + /// Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + public func delete_teams_token(_ input: Operations.delete_teams_token.Input) async throws -> Operations.delete_teams_token.Output { try await client.send( input: input, - forOperation: Operations.discard_web_push_token.id, + forOperation: Operations.delete_teams_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/channels/web_push/tokens/{}", + template: "/channels/teams/tokens/{}", parameters: [ input.path.token_id ] @@ -1662,7 +1710,7 @@ public struct Client: APIProtocol { switch response.status.code { case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.discard_web_push_token.Output.Ok.Body + let body: Operations.delete_teams_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1694,46 +1742,37 @@ public struct Client: APIProtocol { } ) } - /// Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Fetch channel preferences /// - /// - Remark: HTTP `POST /integrations/inbox/installations`. - /// - Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. - public func save_inbox_installation(_ input: Operations.save_inbox_installation.Input) async throws -> Operations.save_inbox_installation.Output { + /// Fetch a user's channel delivery preferences. + /// + /// - Remark: HTTP `GET /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + public func fetch_user_preferences(_ input: Operations.fetch_user_preferences.Input) async throws -> Operations.fetch_user_preferences.Output { try await client.send( input: input, - forOperation: Operations.save_inbox_installation.id, + forOperation: Operations.fetch_user_preferences.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/inbox/installations", + template: "/channels/user_preferences", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .get ) suppressMutabilityWarning(&request) converter.setAcceptHeader( in: &request.headerFields, contentTypes: input.headers.accept ) - let body: OpenAPIRuntime.HTTPBody? - switch input.body { - case .none: - body = nil - case let .json(value): - body = try converter.setOptionalRequestBodyAsJSON( - value, - headerFields: &request.headerFields, - contentType: "application/json; charset=utf-8" - ) - } - return (request, body) + return (request, nil) }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_inbox_installation.Output.Created.Body + let body: Operations.fetch_user_preferences.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1743,7 +1782,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.InboxConfig.self, + Components.Schemas.UserPreferences.self, from: responseBody, transforming: { value in .json(value) @@ -1752,7 +1791,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1765,24 +1804,96 @@ public struct Client: APIProtocol { } ) } - /// Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Save channel preferences /// - /// - Remark: HTTP `POST /integrations/inbox/installations/start`. - /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. - public func start_inbox_installation(_ input: Operations.start_inbox_installation.Input) async throws -> Operations.start_inbox_installation.Output { + /// Save a user's channel preferences. + /// + /// - Remark: HTTP `PUT /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + public func save_user_preferences(_ input: Operations.save_user_preferences.Input) async throws -> Operations.save_user_preferences.Output { try await client.send( input: input, - forOperation: Operations.start_inbox_installation.id, + forOperation: Operations.save_user_preferences.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/inbox/installations/start", + template: "/channels/user_preferences", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put + ) + suppressMutabilityWarning(&request) + let body: OpenAPIRuntime.HTTPBody? + switch input.body { + case .none: + body = nil + case let .json(value): + body = try converter.setOptionalRequestBodyAsJSON( + value, + headerFields: &request.headerFields, + contentType: "application/json; charset=utf-8" + ) + } + return (request, body) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// List all Web Push tokens + /// + /// Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/web_push/tokens`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. + public func list_web_push_tokens(_ input: Operations.list_web_push_tokens.Input) async throws -> Operations.list_web_push_tokens.Output { + try await client.send( + input: input, + forOperation: Operations.list_web_push_tokens.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/channels/web_push/tokens", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .get ) suppressMutabilityWarning(&request) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "limit", + value: input.query.limit + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "starting_after", + value: input.query.starting_after + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "ending_before", + value: input.query.ending_before + ) converter.setAcceptHeader( in: &request.headerFields, contentTypes: input.headers.accept @@ -1791,9 +1902,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.start_inbox_installation.Output.Created.Body + let body: Operations.list_web_push_tokens.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1803,7 +1914,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.InboxConfig.self, + Components.Schemas.WebPushTokenCollection.self, from: responseBody, transforming: { value in .json(value) @@ -1812,7 +1923,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1825,22 +1936,24 @@ public struct Client: APIProtocol { } ) } - /// Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save a Web Push token /// - /// - Remark: HTTP `POST /integrations/slack/installations`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. - public func save_slack_installation(_ input: Operations.save_slack_installation.Input) async throws -> Operations.save_slack_installation.Output { + /// Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/web_push/tokens`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. + public func save_web_push_token(_ input: Operations.save_web_push_token.Input) async throws -> Operations.save_web_push_token.Output { try await client.send( input: input, - forOperation: Operations.save_slack_installation.id, + forOperation: Operations.save_web_push_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/slack/installations", + template: "/channels/web_push/tokens", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -1862,9 +1975,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_slack_installation.Output.Created.Body + let body: Operations.save_web_push_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1874,7 +1987,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.SlackInstallation.self, + Components.Schemas.WebPushTokenPayload.self, from: responseBody, transforming: { value in .json(value) @@ -1883,7 +1996,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1896,46 +2009,103 @@ public struct Client: APIProtocol { } ) } - /// Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. + /// Fetch a Web Push token /// - /// - Remark: HTTP `POST /integrations/slack/installations/finish`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. - public func finish_slack_installation(_ input: Operations.finish_slack_installation.Input) async throws -> Operations.finish_slack_installation.Output { + /// Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. + public func fetch_web_push_token(_ input: Operations.fetch_web_push_token.Input) async throws -> Operations.fetch_web_push_token.Output { try await client.send( input: input, - forOperation: Operations.finish_slack_installation.id, + forOperation: Operations.fetch_web_push_token.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/slack/installations/finish", - parameters: [] + template: "/channels/web_push/tokens/{}", + parameters: [ + input.path.token_id + ] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .get ) suppressMutabilityWarning(&request) converter.setAcceptHeader( in: &request.headerFields, contentTypes: input.headers.accept ) - let body: OpenAPIRuntime.HTTPBody? - switch input.body { - case .none: - body = nil - case let .json(value): - body = try converter.setOptionalRequestBodyAsJSON( - value, - headerFields: &request.headerFields, - contentType: "application/json; charset=utf-8" + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 200: + let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) + let body: Operations.fetch_web_push_token.Output.Ok.Body + let chosenContentType = try converter.bestContentType( + received: contentType, + options: [ + "application/json" + ] + ) + switch chosenContentType { + case "application/json": + body = try await converter.getResponseBodyAsJSON( + Components.Schemas.WebPushToken.self, + from: responseBody, + transforming: { value in + .json(value) + } + ) + default: + preconditionFailure("bestContentType chose an invalid content type.") + } + return .ok(.init(body: body)) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) ) } - return (request, body) + } + ) + } + /// Delete a Web Push token + /// + /// Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. + public func delete_web_push_token(_ input: Operations.delete_web_push_token.Input) async throws -> Operations.delete_web_push_token.Output { + try await client.send( + input: input, + forOperation: Operations.delete_web_push_token.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/channels/web_push/tokens/{}", + parameters: [ + input.path.token_id + ] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .delete + ) + suppressMutabilityWarning(&request) + converter.setAcceptHeader( + in: &request.headerFields, + contentTypes: input.headers.accept + ) + return (request, nil) }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.finish_slack_installation.Output.Created.Body + let body: Operations.delete_web_push_token.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -1945,7 +2115,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.SlackInstallation.self, + Components.Schemas.DiscardResult.self, from: responseBody, transforming: { value in .json(value) @@ -1954,7 +2124,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -1967,22 +2137,24 @@ public struct Client: APIProtocol { } ) } - /// Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Save an Inbox installation /// - /// - Remark: HTTP `POST /integrations/slack/installations/start`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. - public func start_slack_installation(_ input: Operations.start_slack_installation.Input) async throws -> Operations.start_slack_installation.Output { + /// Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/inbox/installations`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. + public func save_inbox_installation(_ input: Operations.save_inbox_installation.Input) async throws -> Operations.save_inbox_installation.Output { try await client.send( input: input, - forOperation: Operations.start_slack_installation.id, + forOperation: Operations.save_inbox_installation.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/slack/installations/start", + template: "/integrations/inbox/installations", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -2002,11 +2174,73 @@ public struct Client: APIProtocol { } return (request, body) }, + deserializer: { response, responseBody in + switch response.status.code { + case 200: + let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) + let body: Operations.save_inbox_installation.Output.Ok.Body + let chosenContentType = try converter.bestContentType( + received: contentType, + options: [ + "application/json" + ] + ) + switch chosenContentType { + case "application/json": + body = try await converter.getResponseBodyAsJSON( + Components.Schemas.InboxConfigPayload.self, + from: responseBody, + transforming: { value in + .json(value) + } + ) + default: + preconditionFailure("bestContentType chose an invalid content type.") + } + return .ok(.init(body: body)) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Start an Inbox installation + /// + /// Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// + /// - Remark: HTTP `POST /integrations/inbox/installations/start`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. + public func start_inbox_installation(_ input: Operations.start_inbox_installation.Input) async throws -> Operations.start_inbox_installation.Output { + try await client.send( + input: input, + forOperation: Operations.start_inbox_installation.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/integrations/inbox/installations/start", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + converter.setAcceptHeader( + in: &request.headerFields, + contentTypes: input.headers.accept + ) + return (request, nil) + }, deserializer: { response, responseBody in switch response.status.code { case 201: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.start_slack_installation.Output.Created.Body + let body: Operations.start_inbox_installation.Output.Created.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -2016,7 +2250,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.SlackStartInstallResponseContent.self, + Components.Schemas.InboxConfigPayload.self, from: responseBody, transforming: { value in .json(value) @@ -2038,22 +2272,24 @@ public struct Client: APIProtocol { } ) } - /// Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save a Slack installation /// - /// - Remark: HTTP `POST /integrations/templates/installations`. - /// - Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - public func save_templates_installation(_ input: Operations.save_templates_installation.Input) async throws -> Operations.save_templates_installation.Output { + /// Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/slack/installations`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. + public func save_slack_installation(_ input: Operations.save_slack_installation.Input) async throws -> Operations.save_slack_installation.Output { try await client.send( input: input, - forOperation: Operations.save_templates_installation.id, + forOperation: Operations.save_slack_installation.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/templates/installations", + template: "/integrations/slack/installations", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( soar_path: path, - method: .post + method: .put ) suppressMutabilityWarning(&request) converter.setAcceptHeader( @@ -2075,9 +2311,9 @@ public struct Client: APIProtocol { }, deserializer: { response, responseBody in switch response.status.code { - case 201: + case 200: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_templates_installation.Output.Created.Body + let body: Operations.save_slack_installation.Output.Ok.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -2087,7 +2323,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.TemplatesInstallation.self, + Components.Schemas.SlackInstallation.self, from: responseBody, transforming: { value in .json(value) @@ -2096,7 +2332,7 @@ public struct Client: APIProtocol { default: preconditionFailure("bestContentType chose an invalid content type.") } - return .created(.init(body: body)) + return .ok(.init(body: body)) default: return .undocumented( statusCode: response.status.code, @@ -2109,17 +2345,19 @@ public struct Client: APIProtocol { } ) } - /// Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Finish a Slack installation /// - /// - Remark: HTTP `POST /integrations/web_push/installations`. - /// - Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. - public func save_web_push_installation(_ input: Operations.save_web_push_installation.Input) async throws -> Operations.save_web_push_installation.Output { + /// Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. + /// + /// - Remark: HTTP `POST /integrations/slack/installations/finish`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. + public func finish_slack_installation(_ input: Operations.finish_slack_installation.Input) async throws -> Operations.finish_slack_installation.Output { try await client.send( input: input, - forOperation: Operations.save_web_push_installation.id, + forOperation: Operations.finish_slack_installation.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/web_push/installations", + template: "/integrations/slack/installations/finish", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -2148,7 +2386,7 @@ public struct Client: APIProtocol { switch response.status.code { case 201: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.save_web_push_installation.Output.Created.Body + let body: Operations.finish_slack_installation.Output.Created.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -2158,7 +2396,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.WebPushToken.self, + Components.Schemas.SlackInstallation.self, from: responseBody, transforming: { value in .json(value) @@ -2180,17 +2418,19 @@ public struct Client: APIProtocol { } ) } - /// Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start a Slack installation /// - /// - Remark: HTTP `POST /integrations/web_push/installations/start`. - /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. - public func start_web_push_installation(_ input: Operations.start_web_push_installation.Input) async throws -> Operations.start_web_push_installation.Output { + /// Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// + /// - Remark: HTTP `POST /integrations/slack/installations/start`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. + public func start_slack_installation(_ input: Operations.start_slack_installation.Input) async throws -> Operations.start_slack_installation.Output { try await client.send( input: input, - forOperation: Operations.start_web_push_installation.id, + forOperation: Operations.start_slack_installation.id, serializer: { input in let path = try converter.renderedPath( - template: "/integrations/web_push/installations/start", + template: "/integrations/slack/installations/start", parameters: [] ) var request: HTTPTypes.HTTPRequest = .init( @@ -2202,13 +2442,24 @@ public struct Client: APIProtocol { in: &request.headerFields, contentTypes: input.headers.accept ) - return (request, nil) + let body: OpenAPIRuntime.HTTPBody? + switch input.body { + case .none: + body = nil + case let .json(value): + body = try converter.setOptionalRequestBodyAsJSON( + value, + headerFields: &request.headerFields, + contentType: "application/json; charset=utf-8" + ) + } + return (request, body) }, deserializer: { response, responseBody in switch response.status.code { case 201: let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) - let body: Operations.start_web_push_installation.Output.Created.Body + let body: Operations.start_slack_installation.Output.Created.Body let chosenContentType = try converter.bestContentType( received: contentType, options: [ @@ -2218,7 +2469,7 @@ public struct Client: APIProtocol { switch chosenContentType { case "application/json": body = try await converter.getResponseBodyAsJSON( - Components.Schemas.WebPushStartInstallationResponse.self, + Components.Schemas.SlackStartInstallResponseContent.self, from: responseBody, transforming: { value in .json(value) @@ -2240,4 +2491,571 @@ public struct Client: APIProtocol { } ) } + /// Save a Web Push installation + /// + /// Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/web_push/installations`. + /// - Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. + public func save_web_push_installation(_ input: Operations.save_web_push_installation.Input) async throws -> Operations.save_web_push_installation.Output { + try await client.send( + input: input, + forOperation: Operations.save_web_push_installation.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/integrations/web_push/installations", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .put + ) + suppressMutabilityWarning(&request) + converter.setAcceptHeader( + in: &request.headerFields, + contentTypes: input.headers.accept + ) + let body: OpenAPIRuntime.HTTPBody? + switch input.body { + case .none: + body = nil + case let .json(value): + body = try converter.setOptionalRequestBodyAsJSON( + value, + headerFields: &request.headerFields, + contentType: "application/json; charset=utf-8" + ) + } + return (request, body) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 200: + let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) + let body: Operations.save_web_push_installation.Output.Ok.Body + let chosenContentType = try converter.bestContentType( + received: contentType, + options: [ + "application/json" + ] + ) + switch chosenContentType { + case "application/json": + body = try await converter.getResponseBodyAsJSON( + Components.Schemas.WebPushTokenPayload.self, + from: responseBody, + transforming: { value in + .json(value) + } + ) + default: + preconditionFailure("bestContentType chose an invalid content type.") + } + return .ok(.init(body: body)) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Start a Web Push installation + /// + /// Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// + /// - Remark: HTTP `POST /integrations/web_push/installations/start`. + /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. + public func start_web_push_installation(_ input: Operations.start_web_push_installation.Input) async throws -> Operations.start_web_push_installation.Output { + try await client.send( + input: input, + forOperation: Operations.start_web_push_installation.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/integrations/web_push/installations/start", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + converter.setAcceptHeader( + in: &request.headerFields, + contentTypes: input.headers.accept + ) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 201: + let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) + let body: Operations.start_web_push_installation.Output.Created.Body + let chosenContentType = try converter.bestContentType( + received: contentType, + options: [ + "application/json" + ] + ) + switch chosenContentType { + case "application/json": + body = try await converter.getResponseBodyAsJSON( + Components.Schemas.WebPushStartInstallationResponse.self, + from: responseBody, + transforming: { value in + .json(value) + } + ) + default: + preconditionFailure("bestContentType chose an invalid content type.") + } + return .created(.init(body: body)) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// List all notifications + /// + /// Lists all notifications for a user. + /// + /// - Remark: HTTP `GET /notifications`. + /// - Remark: Generated from `#/paths//notifications/get(list_notifications)`. + public func list_notifications(_ input: Operations.list_notifications.Input) async throws -> Operations.list_notifications.Output { + try await client.send( + input: input, + forOperation: Operations.list_notifications.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .get + ) + suppressMutabilityWarning(&request) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "limit", + value: input.query.limit + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "starting_after", + value: input.query.starting_after + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "ending_before", + value: input.query.ending_before + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "status", + value: input.query.status + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "category", + value: input.query.category + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "topic", + value: input.query.topic + ) + converter.setAcceptHeader( + in: &request.headerFields, + contentTypes: input.headers.accept + ) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 200: + let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) + let body: Operations.list_notifications.Output.Ok.Body + let chosenContentType = try converter.bestContentType( + received: contentType, + options: [ + "application/json" + ] + ) + switch chosenContentType { + case "application/json": + body = try await converter.getResponseBodyAsJSON( + Components.Schemas.NotificationCollection.self, + from: responseBody, + transforming: { value in + .json(value) + } + ) + default: + preconditionFailure("bestContentType chose an invalid content type.") + } + return .ok(.init(body: body)) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Archive all notifications + /// + /// Archive all notifications. + /// + /// - Remark: HTTP `POST /notifications/archive`. + /// - Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + public func archive_all_notifications(_ input: Operations.archive_all_notifications.Input) async throws -> Operations.archive_all_notifications.Output { + try await client.send( + input: input, + forOperation: Operations.archive_all_notifications.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/archive", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "category", + value: input.query.category + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "topic", + value: input.query.topic + ) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Mark all notifications read + /// + /// Marks all notifications as read. + /// + /// - Remark: HTTP `POST /notifications/read`. + /// - Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + public func mark_all_notifications_read(_ input: Operations.mark_all_notifications_read.Input) async throws -> Operations.mark_all_notifications_read.Output { + try await client.send( + input: input, + forOperation: Operations.mark_all_notifications_read.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/read", + parameters: [] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "category", + value: input.query.category + ) + try converter.setQueryItemAsURI( + in: &request, + style: .form, + explode: true, + name: "topic", + value: input.query.topic + ) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Fetch a notification + /// + /// Gets a notification by ID. + /// + /// - Remark: HTTP `GET /notifications/{notification_id}`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + public func fetch_notification(_ input: Operations.fetch_notification.Input) async throws -> Operations.fetch_notification.Output { + try await client.send( + input: input, + forOperation: Operations.fetch_notification.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/{}", + parameters: [ + input.path.notification_id + ] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .get + ) + suppressMutabilityWarning(&request) + converter.setAcceptHeader( + in: &request.headerFields, + contentTypes: input.headers.accept + ) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 200: + let contentType = converter.extractContentTypeIfPresent(in: response.headerFields) + let body: Operations.fetch_notification.Output.Ok.Body + let chosenContentType = try converter.bestContentType( + received: contentType, + options: [ + "application/json" + ] + ) + switch chosenContentType { + case "application/json": + body = try await converter.getResponseBodyAsJSON( + Components.Schemas.Notification.self, + from: responseBody, + transforming: { value in + .json(value) + } + ) + default: + preconditionFailure("bestContentType chose an invalid content type.") + } + return .ok(.init(body: body)) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Archive a notification + /// + /// Archive a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/archive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + public func archive_notification(_ input: Operations.archive_notification.Input) async throws -> Operations.archive_notification.Output { + try await client.send( + input: input, + forOperation: Operations.archive_notification.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/{}/archive", + parameters: [ + input.path.notification_id + ] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Mark a notification read + /// + /// Marks a notification as read. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/read`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + public func mark_notification_read(_ input: Operations.mark_notification_read.Input) async throws -> Operations.mark_notification_read.Output { + try await client.send( + input: input, + forOperation: Operations.mark_notification_read.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/{}/read", + parameters: [ + input.path.notification_id + ] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Unarchive a notification + /// + /// Unarchives a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unarchive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + public func unarchive_notification(_ input: Operations.unarchive_notification.Input) async throws -> Operations.unarchive_notification.Output { + try await client.send( + input: input, + forOperation: Operations.unarchive_notification.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/{}/unarchive", + parameters: [ + input.path.notification_id + ] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } + /// Mark a notification unread + /// + /// Marks a notification as unread. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unread`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. + public func mark_notification_unread(_ input: Operations.mark_notification_unread.Input) async throws -> Operations.mark_notification_unread.Output { + try await client.send( + input: input, + forOperation: Operations.mark_notification_unread.id, + serializer: { input in + let path = try converter.renderedPath( + template: "/notifications/{}/unread", + parameters: [ + input.path.notification_id + ] + ) + var request: HTTPTypes.HTTPRequest = .init( + soar_path: path, + method: .post + ) + suppressMutabilityWarning(&request) + return (request, nil) + }, + deserializer: { response, responseBody in + switch response.status.code { + case 204: + return .noContent(.init()) + default: + return .undocumented( + statusCode: response.status.code, + .init( + headerFields: response.headerFields, + body: responseBody + ) + ) + } + } + ) + } } diff --git a/Sources/MagicBellUserClient/generated/Types.swift b/Sources/MagicBellUserClient/generated/Types.swift index 14437c9..a2e54c4 100644 --- a/Sources/MagicBellUserClient/generated/Types.swift +++ b/Sources/MagicBellUserClient/generated/Types.swift @@ -11,343 +11,586 @@ import struct Foundation.Date #endif /// A type that performs HTTP operations defined by the OpenAPI document. public protocol APIProtocol: Sendable { - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Inbox tokens + /// + /// Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + func list_inbox_tokens(_ input: Operations.list_inbox_tokens.Input) async throws -> Operations.list_inbox_tokens.Output + /// Save an Inbox token + /// + /// Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + func save_inbox_token(_ input: Operations.save_inbox_token.Input) async throws -> Operations.save_inbox_token.Output + /// Fetch an Inbox token + /// + /// Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + func fetch_inbox_token(_ input: Operations.fetch_inbox_token.Input) async throws -> Operations.fetch_inbox_token.Output + /// Delete an Inbox token + /// + /// Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + func delete_inbox_token(_ input: Operations.delete_inbox_token.Input) async throws -> Operations.delete_inbox_token.Output + /// List all APNs tokens + /// + /// Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. - func get_mobile_push_apns_tokens(_ input: Operations.get_mobile_push_apns_tokens.Input) async throws -> Operations.get_mobile_push_apns_tokens.Output - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. + func list_apns_tokens(_ input: Operations.list_apns_tokens.Input) async throws -> Operations.list_apns_tokens.Output + /// Save an APNs token + /// + /// Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. - func save_mobile_push_apns_token(_ input: Operations.save_mobile_push_apns_token.Input) async throws -> Operations.save_mobile_push_apns_token.Output - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// - Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. + func save_apns_token(_ input: Operations.save_apns_token.Input) async throws -> Operations.save_apns_token.Output + /// Fetch an APNs token + /// + /// Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. - func get_mobile_push_apns_token(_ input: Operations.get_mobile_push_apns_token.Input) async throws -> Operations.get_mobile_push_apns_token.Output - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. + func fetch_apns_token(_ input: Operations.fetch_apns_token.Input) async throws -> Operations.fetch_apns_token.Output + /// Delete an APNs token + /// + /// Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. - func discard_mobile_push_apns_token(_ input: Operations.discard_mobile_push_apns_token.Input) async throws -> Operations.discard_mobile_push_apns_token.Output - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. + func delete_apns_token(_ input: Operations.delete_apns_token.Input) async throws -> Operations.delete_apns_token.Output + /// List all Expo tokens + /// + /// Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. - func get_mobile_push_expo_tokens(_ input: Operations.get_mobile_push_expo_tokens.Input) async throws -> Operations.get_mobile_push_expo_tokens.Output - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. + func list_expo_tokens(_ input: Operations.list_expo_tokens.Input) async throws -> Operations.list_expo_tokens.Output + /// Save an Expo token + /// + /// Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. - func save_mobile_push_expo_token(_ input: Operations.save_mobile_push_expo_token.Input) async throws -> Operations.save_mobile_push_expo_token.Output - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// - Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. + func save_expo_token(_ input: Operations.save_expo_token.Input) async throws -> Operations.save_expo_token.Output + /// Fetch an Expo token + /// + /// Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. - func get_mobile_push_expo_token(_ input: Operations.get_mobile_push_expo_token.Input) async throws -> Operations.get_mobile_push_expo_token.Output - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. + func fetch_expo_token(_ input: Operations.fetch_expo_token.Input) async throws -> Operations.fetch_expo_token.Output + /// Delete an Expo token + /// + /// Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. - func discard_mobile_push_expo_token(_ input: Operations.discard_mobile_push_expo_token.Input) async throws -> Operations.discard_mobile_push_expo_token.Output - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. + func delete_expo_token(_ input: Operations.delete_expo_token.Input) async throws -> Operations.delete_expo_token.Output + /// List all FCM tokens + /// + /// Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. - func get_mobile_push_fcm_tokens(_ input: Operations.get_mobile_push_fcm_tokens.Input) async throws -> Operations.get_mobile_push_fcm_tokens.Output - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. + func list_fcm_tokens(_ input: Operations.list_fcm_tokens.Input) async throws -> Operations.list_fcm_tokens.Output + /// Save a FCM token + /// + /// Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. - func save_mobile_push_fcm_token(_ input: Operations.save_mobile_push_fcm_token.Input) async throws -> Operations.save_mobile_push_fcm_token.Output - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// - Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + func save_fcm_token(_ input: Operations.save_fcm_token.Input) async throws -> Operations.save_fcm_token.Output + /// Fetch a FCM token + /// + /// Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. - func get_mobile_push_fcm_token(_ input: Operations.get_mobile_push_fcm_token.Input) async throws -> Operations.get_mobile_push_fcm_token.Output - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. + func fetch_fcm_token(_ input: Operations.fetch_fcm_token.Input) async throws -> Operations.fetch_fcm_token.Output + /// Delete a FCM token + /// + /// Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. - func discard_mobile_push_fcm_token(_ input: Operations.discard_mobile_push_fcm_token.Input) async throws -> Operations.discard_mobile_push_fcm_token.Output - /// Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. + func delete_fcm_token(_ input: Operations.delete_fcm_token.Input) async throws -> Operations.delete_fcm_token.Output + /// List all Slack tokens + /// + /// Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. - func get_slack_tokens(_ input: Operations.get_slack_tokens.Input) async throws -> Operations.get_slack_tokens.Output - /// Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// - Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. + func list_slack_tokens(_ input: Operations.list_slack_tokens.Input) async throws -> Operations.list_slack_tokens.Output + /// Save a Slack token + /// + /// Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. + /// - Remark: HTTP `PUT /channels/slack/tokens`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. func save_slack_token(_ input: Operations.save_slack_token.Input) async throws -> Operations.save_slack_token.Output - /// Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Slack token + /// + /// Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. - func get_slack_token(_ input: Operations.get_slack_token.Input) async throws -> Operations.get_slack_token.Output - /// Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. + func fetch_slack_token(_ input: Operations.fetch_slack_token.Input) async throws -> Operations.fetch_slack_token.Output + /// Delete a Slack token + /// + /// Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. - func discard_slack_token(_ input: Operations.discard_slack_token.Input) async throws -> Operations.discard_slack_token.Output - /// Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. + func delete_slack_token(_ input: Operations.delete_slack_token.Input) async throws -> Operations.delete_slack_token.Output + /// List all Teams tokens + /// + /// Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. - func get_teams_tokens(_ input: Operations.get_teams_tokens.Input) async throws -> Operations.get_teams_tokens.Output - /// Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// - Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. + func list_teams_tokens(_ input: Operations.list_teams_tokens.Input) async throws -> Operations.list_teams_tokens.Output + /// Save a Teams token + /// + /// Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. + /// - Remark: HTTP `PUT /channels/teams/tokens`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. func save_teams_token(_ input: Operations.save_teams_token.Input) async throws -> Operations.save_teams_token.Output - /// Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Teams token + /// + /// Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. - func get_teams_token(_ input: Operations.get_teams_token.Input) async throws -> Operations.get_teams_token.Output - /// Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. + func fetch_teams_token(_ input: Operations.fetch_teams_token.Input) async throws -> Operations.fetch_teams_token.Output + /// Delete a Teams token + /// + /// Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. - func discard_teams_token(_ input: Operations.discard_teams_token.Input) async throws -> Operations.discard_teams_token.Output - /// Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + func delete_teams_token(_ input: Operations.delete_teams_token.Input) async throws -> Operations.delete_teams_token.Output + /// Fetch channel preferences + /// + /// Fetch a user's channel delivery preferences. + /// + /// - Remark: HTTP `GET /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + func fetch_user_preferences(_ input: Operations.fetch_user_preferences.Input) async throws -> Operations.fetch_user_preferences.Output + /// Save channel preferences + /// + /// Save a user's channel preferences. + /// + /// - Remark: HTTP `PUT /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + func save_user_preferences(_ input: Operations.save_user_preferences.Input) async throws -> Operations.save_user_preferences.Output + /// List all Web Push tokens + /// + /// Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. - func get_web_push_tokens(_ input: Operations.get_web_push_tokens.Input) async throws -> Operations.get_web_push_tokens.Output - /// Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. + func list_web_push_tokens(_ input: Operations.list_web_push_tokens.Input) async throws -> Operations.list_web_push_tokens.Output + /// Save a Web Push token + /// + /// Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. + /// - Remark: HTTP `PUT /channels/web_push/tokens`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. func save_web_push_token(_ input: Operations.save_web_push_token.Input) async throws -> Operations.save_web_push_token.Output - /// Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Web Push token + /// + /// Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. - func get_web_push_token(_ input: Operations.get_web_push_token.Input) async throws -> Operations.get_web_push_token.Output - /// Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. + func fetch_web_push_token(_ input: Operations.fetch_web_push_token.Input) async throws -> Operations.fetch_web_push_token.Output + /// Delete a Web Push token + /// + /// Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. - func discard_web_push_token(_ input: Operations.discard_web_push_token.Input) async throws -> Operations.discard_web_push_token.Output - /// Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. + func delete_web_push_token(_ input: Operations.delete_web_push_token.Input) async throws -> Operations.delete_web_push_token.Output + /// Save an Inbox installation /// - /// - Remark: HTTP `POST /integrations/inbox/installations`. - /// - Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. + /// Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/inbox/installations`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. func save_inbox_installation(_ input: Operations.save_inbox_installation.Input) async throws -> Operations.save_inbox_installation.Output - /// Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start an Inbox installation + /// + /// Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. /// /// - Remark: HTTP `POST /integrations/inbox/installations/start`. /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. func start_inbox_installation(_ input: Operations.start_inbox_installation.Input) async throws -> Operations.start_inbox_installation.Output - /// Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save a Slack installation /// - /// - Remark: HTTP `POST /integrations/slack/installations`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. + /// Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/slack/installations`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. func save_slack_installation(_ input: Operations.save_slack_installation.Input) async throws -> Operations.save_slack_installation.Output - /// Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. + /// Finish a Slack installation + /// + /// Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. /// /// - Remark: HTTP `POST /integrations/slack/installations/finish`. /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. func finish_slack_installation(_ input: Operations.finish_slack_installation.Input) async throws -> Operations.finish_slack_installation.Output - /// Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start a Slack installation + /// + /// Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. /// /// - Remark: HTTP `POST /integrations/slack/installations/start`. /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. func start_slack_installation(_ input: Operations.start_slack_installation.Input) async throws -> Operations.start_slack_installation.Output - /// Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save a Web Push installation /// - /// - Remark: HTTP `POST /integrations/templates/installations`. - /// - Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - func save_templates_installation(_ input: Operations.save_templates_installation.Input) async throws -> Operations.save_templates_installation.Output - /// Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. /// - /// - Remark: HTTP `POST /integrations/web_push/installations`. - /// - Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. + /// - Remark: HTTP `PUT /integrations/web_push/installations`. + /// - Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. func save_web_push_installation(_ input: Operations.save_web_push_installation.Input) async throws -> Operations.save_web_push_installation.Output - /// Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start a Web Push installation + /// + /// Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. /// /// - Remark: HTTP `POST /integrations/web_push/installations/start`. /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. func start_web_push_installation(_ input: Operations.start_web_push_installation.Input) async throws -> Operations.start_web_push_installation.Output + /// List all notifications + /// + /// Lists all notifications for a user. + /// + /// - Remark: HTTP `GET /notifications`. + /// - Remark: Generated from `#/paths//notifications/get(list_notifications)`. + func list_notifications(_ input: Operations.list_notifications.Input) async throws -> Operations.list_notifications.Output + /// Archive all notifications + /// + /// Archive all notifications. + /// + /// - Remark: HTTP `POST /notifications/archive`. + /// - Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + func archive_all_notifications(_ input: Operations.archive_all_notifications.Input) async throws -> Operations.archive_all_notifications.Output + /// Mark all notifications read + /// + /// Marks all notifications as read. + /// + /// - Remark: HTTP `POST /notifications/read`. + /// - Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + func mark_all_notifications_read(_ input: Operations.mark_all_notifications_read.Input) async throws -> Operations.mark_all_notifications_read.Output + /// Fetch a notification + /// + /// Gets a notification by ID. + /// + /// - Remark: HTTP `GET /notifications/{notification_id}`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + func fetch_notification(_ input: Operations.fetch_notification.Input) async throws -> Operations.fetch_notification.Output + /// Archive a notification + /// + /// Archive a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/archive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + func archive_notification(_ input: Operations.archive_notification.Input) async throws -> Operations.archive_notification.Output + /// Mark a notification read + /// + /// Marks a notification as read. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/read`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + func mark_notification_read(_ input: Operations.mark_notification_read.Input) async throws -> Operations.mark_notification_read.Output + /// Unarchive a notification + /// + /// Unarchives a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unarchive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + func unarchive_notification(_ input: Operations.unarchive_notification.Input) async throws -> Operations.unarchive_notification.Output + /// Mark a notification unread + /// + /// Marks a notification as unread. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unread`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. + func mark_notification_unread(_ input: Operations.mark_notification_unread.Input) async throws -> Operations.mark_notification_unread.Output } /// Convenience overloads for operation inputs. extension APIProtocol { - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Inbox tokens + /// + /// Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + public func list_inbox_tokens( + query: Operations.list_inbox_tokens.Input.Query = .init(), + headers: Operations.list_inbox_tokens.Input.Headers = .init() + ) async throws -> Operations.list_inbox_tokens.Output { + try await list_inbox_tokens(Operations.list_inbox_tokens.Input( + query: query, + headers: headers + )) + } + /// Save an Inbox token + /// + /// Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + public func save_inbox_token( + headers: Operations.save_inbox_token.Input.Headers = .init(), + body: Operations.save_inbox_token.Input.Body? = nil + ) async throws -> Operations.save_inbox_token.Output { + try await save_inbox_token(Operations.save_inbox_token.Input( + headers: headers, + body: body + )) + } + /// Fetch an Inbox token + /// + /// Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + public func fetch_inbox_token( + path: Operations.fetch_inbox_token.Input.Path, + headers: Operations.fetch_inbox_token.Input.Headers = .init() + ) async throws -> Operations.fetch_inbox_token.Output { + try await fetch_inbox_token(Operations.fetch_inbox_token.Input( + path: path, + headers: headers + )) + } + /// Delete an Inbox token + /// + /// Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + public func delete_inbox_token( + path: Operations.delete_inbox_token.Input.Path, + headers: Operations.delete_inbox_token.Input.Headers = .init() + ) async throws -> Operations.delete_inbox_token.Output { + try await delete_inbox_token(Operations.delete_inbox_token.Input( + path: path, + headers: headers + )) + } + /// List all APNs tokens + /// + /// Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. - public func get_mobile_push_apns_tokens( - query: Operations.get_mobile_push_apns_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_apns_tokens.Input.Headers = .init() - ) async throws -> Operations.get_mobile_push_apns_tokens.Output { - try await get_mobile_push_apns_tokens(Operations.get_mobile_push_apns_tokens.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. + public func list_apns_tokens( + query: Operations.list_apns_tokens.Input.Query = .init(), + headers: Operations.list_apns_tokens.Input.Headers = .init() + ) async throws -> Operations.list_apns_tokens.Output { + try await list_apns_tokens(Operations.list_apns_tokens.Input( query: query, headers: headers )) } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. - /// - /// - Remark: HTTP `POST /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. - public func save_mobile_push_apns_token( - headers: Operations.save_mobile_push_apns_token.Input.Headers = .init(), - body: Operations.save_mobile_push_apns_token.Input.Body? = nil - ) async throws -> Operations.save_mobile_push_apns_token.Output { - try await save_mobile_push_apns_token(Operations.save_mobile_push_apns_token.Input( + /// Save an APNs token + /// + /// Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. + public func save_apns_token( + headers: Operations.save_apns_token.Input.Headers = .init(), + body: Operations.save_apns_token.Input.Body? = nil + ) async throws -> Operations.save_apns_token.Output { + try await save_apns_token(Operations.save_apns_token.Input( headers: headers, body: body )) } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an APNs token + /// + /// Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. - public func get_mobile_push_apns_token( - path: Operations.get_mobile_push_apns_token.Input.Path, - headers: Operations.get_mobile_push_apns_token.Input.Headers = .init() - ) async throws -> Operations.get_mobile_push_apns_token.Output { - try await get_mobile_push_apns_token(Operations.get_mobile_push_apns_token.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. + public func fetch_apns_token( + path: Operations.fetch_apns_token.Input.Path, + headers: Operations.fetch_apns_token.Input.Headers = .init() + ) async throws -> Operations.fetch_apns_token.Output { + try await fetch_apns_token(Operations.fetch_apns_token.Input( path: path, headers: headers )) } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an APNs token + /// + /// Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. - public func discard_mobile_push_apns_token( - path: Operations.discard_mobile_push_apns_token.Input.Path, - headers: Operations.discard_mobile_push_apns_token.Input.Headers = .init() - ) async throws -> Operations.discard_mobile_push_apns_token.Output { - try await discard_mobile_push_apns_token(Operations.discard_mobile_push_apns_token.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. + public func delete_apns_token( + path: Operations.delete_apns_token.Input.Path, + headers: Operations.delete_apns_token.Input.Headers = .init() + ) async throws -> Operations.delete_apns_token.Output { + try await delete_apns_token(Operations.delete_apns_token.Input( path: path, headers: headers )) } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Expo tokens + /// + /// Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. - public func get_mobile_push_expo_tokens( - query: Operations.get_mobile_push_expo_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_expo_tokens.Input.Headers = .init() - ) async throws -> Operations.get_mobile_push_expo_tokens.Output { - try await get_mobile_push_expo_tokens(Operations.get_mobile_push_expo_tokens.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. + public func list_expo_tokens( + query: Operations.list_expo_tokens.Input.Query = .init(), + headers: Operations.list_expo_tokens.Input.Headers = .init() + ) async throws -> Operations.list_expo_tokens.Output { + try await list_expo_tokens(Operations.list_expo_tokens.Input( query: query, headers: headers )) } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. - /// - /// - Remark: HTTP `POST /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. - public func save_mobile_push_expo_token( - headers: Operations.save_mobile_push_expo_token.Input.Headers = .init(), - body: Operations.save_mobile_push_expo_token.Input.Body? = nil - ) async throws -> Operations.save_mobile_push_expo_token.Output { - try await save_mobile_push_expo_token(Operations.save_mobile_push_expo_token.Input( + /// Save an Expo token + /// + /// Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. + public func save_expo_token( + headers: Operations.save_expo_token.Input.Headers = .init(), + body: Operations.save_expo_token.Input.Body? = nil + ) async throws -> Operations.save_expo_token.Output { + try await save_expo_token(Operations.save_expo_token.Input( headers: headers, body: body )) } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an Expo token + /// + /// Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. - public func get_mobile_push_expo_token( - path: Operations.get_mobile_push_expo_token.Input.Path, - headers: Operations.get_mobile_push_expo_token.Input.Headers = .init() - ) async throws -> Operations.get_mobile_push_expo_token.Output { - try await get_mobile_push_expo_token(Operations.get_mobile_push_expo_token.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. + public func fetch_expo_token( + path: Operations.fetch_expo_token.Input.Path, + headers: Operations.fetch_expo_token.Input.Headers = .init() + ) async throws -> Operations.fetch_expo_token.Output { + try await fetch_expo_token(Operations.fetch_expo_token.Input( path: path, headers: headers )) } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an Expo token + /// + /// Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. - public func discard_mobile_push_expo_token( - path: Operations.discard_mobile_push_expo_token.Input.Path, - headers: Operations.discard_mobile_push_expo_token.Input.Headers = .init() - ) async throws -> Operations.discard_mobile_push_expo_token.Output { - try await discard_mobile_push_expo_token(Operations.discard_mobile_push_expo_token.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. + public func delete_expo_token( + path: Operations.delete_expo_token.Input.Path, + headers: Operations.delete_expo_token.Input.Headers = .init() + ) async throws -> Operations.delete_expo_token.Output { + try await delete_expo_token(Operations.delete_expo_token.Input( path: path, headers: headers )) } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all FCM tokens + /// + /// Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. - public func get_mobile_push_fcm_tokens( - query: Operations.get_mobile_push_fcm_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_fcm_tokens.Input.Headers = .init() - ) async throws -> Operations.get_mobile_push_fcm_tokens.Output { - try await get_mobile_push_fcm_tokens(Operations.get_mobile_push_fcm_tokens.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. + public func list_fcm_tokens( + query: Operations.list_fcm_tokens.Input.Query = .init(), + headers: Operations.list_fcm_tokens.Input.Headers = .init() + ) async throws -> Operations.list_fcm_tokens.Output { + try await list_fcm_tokens(Operations.list_fcm_tokens.Input( query: query, headers: headers )) } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. - /// - /// - Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. - public func save_mobile_push_fcm_token( - headers: Operations.save_mobile_push_fcm_token.Input.Headers = .init(), - body: Operations.save_mobile_push_fcm_token.Input.Body? = nil - ) async throws -> Operations.save_mobile_push_fcm_token.Output { - try await save_mobile_push_fcm_token(Operations.save_mobile_push_fcm_token.Input( + /// Save a FCM token + /// + /// Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + public func save_fcm_token( + headers: Operations.save_fcm_token.Input.Headers = .init(), + body: Operations.save_fcm_token.Input.Body? = nil + ) async throws -> Operations.save_fcm_token.Output { + try await save_fcm_token(Operations.save_fcm_token.Input( headers: headers, body: body )) } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a FCM token + /// + /// Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. - public func get_mobile_push_fcm_token( - path: Operations.get_mobile_push_fcm_token.Input.Path, - headers: Operations.get_mobile_push_fcm_token.Input.Headers = .init() - ) async throws -> Operations.get_mobile_push_fcm_token.Output { - try await get_mobile_push_fcm_token(Operations.get_mobile_push_fcm_token.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. + public func fetch_fcm_token( + path: Operations.fetch_fcm_token.Input.Path, + headers: Operations.fetch_fcm_token.Input.Headers = .init() + ) async throws -> Operations.fetch_fcm_token.Output { + try await fetch_fcm_token(Operations.fetch_fcm_token.Input( path: path, headers: headers )) } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a FCM token + /// + /// Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. - public func discard_mobile_push_fcm_token( - path: Operations.discard_mobile_push_fcm_token.Input.Path, - headers: Operations.discard_mobile_push_fcm_token.Input.Headers = .init() - ) async throws -> Operations.discard_mobile_push_fcm_token.Output { - try await discard_mobile_push_fcm_token(Operations.discard_mobile_push_fcm_token.Input( + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. + public func delete_fcm_token( + path: Operations.delete_fcm_token.Input.Path, + headers: Operations.delete_fcm_token.Input.Headers = .init() + ) async throws -> Operations.delete_fcm_token.Output { + try await delete_fcm_token(Operations.delete_fcm_token.Input( path: path, headers: headers )) } - /// Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Slack tokens + /// + /// Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. - public func get_slack_tokens( - query: Operations.get_slack_tokens.Input.Query = .init(), - headers: Operations.get_slack_tokens.Input.Headers = .init() - ) async throws -> Operations.get_slack_tokens.Output { - try await get_slack_tokens(Operations.get_slack_tokens.Input( + /// - Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. + public func list_slack_tokens( + query: Operations.list_slack_tokens.Input.Query = .init(), + headers: Operations.list_slack_tokens.Input.Headers = .init() + ) async throws -> Operations.list_slack_tokens.Output { + try await list_slack_tokens(Operations.list_slack_tokens.Input( query: query, headers: headers )) } - /// Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Slack token /// - /// - Remark: HTTP `POST /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. + /// Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/slack/tokens`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. public func save_slack_token( headers: Operations.save_slack_token.Input.Headers = .init(), body: Operations.save_slack_token.Input.Body? = nil @@ -357,49 +600,57 @@ extension APIProtocol { body: body )) } - /// Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Slack token + /// + /// Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. - public func get_slack_token( - path: Operations.get_slack_token.Input.Path, - headers: Operations.get_slack_token.Input.Headers = .init() - ) async throws -> Operations.get_slack_token.Output { - try await get_slack_token(Operations.get_slack_token.Input( + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. + public func fetch_slack_token( + path: Operations.fetch_slack_token.Input.Path, + headers: Operations.fetch_slack_token.Input.Headers = .init() + ) async throws -> Operations.fetch_slack_token.Output { + try await fetch_slack_token(Operations.fetch_slack_token.Input( path: path, headers: headers )) } - /// Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Slack token + /// + /// Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. - public func discard_slack_token( - path: Operations.discard_slack_token.Input.Path, - headers: Operations.discard_slack_token.Input.Headers = .init() - ) async throws -> Operations.discard_slack_token.Output { - try await discard_slack_token(Operations.discard_slack_token.Input( + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. + public func delete_slack_token( + path: Operations.delete_slack_token.Input.Path, + headers: Operations.delete_slack_token.Input.Headers = .init() + ) async throws -> Operations.delete_slack_token.Output { + try await delete_slack_token(Operations.delete_slack_token.Input( path: path, headers: headers )) } - /// Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Teams tokens + /// + /// Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. - public func get_teams_tokens( - query: Operations.get_teams_tokens.Input.Query = .init(), - headers: Operations.get_teams_tokens.Input.Headers = .init() - ) async throws -> Operations.get_teams_tokens.Output { - try await get_teams_tokens(Operations.get_teams_tokens.Input( + /// - Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. + public func list_teams_tokens( + query: Operations.list_teams_tokens.Input.Query = .init(), + headers: Operations.list_teams_tokens.Input.Headers = .init() + ) async throws -> Operations.list_teams_tokens.Output { + try await list_teams_tokens(Operations.list_teams_tokens.Input( query: query, headers: headers )) } - /// Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Teams token /// - /// - Remark: HTTP `POST /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. + /// Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/teams/tokens`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. public func save_teams_token( headers: Operations.save_teams_token.Input.Headers = .init(), body: Operations.save_teams_token.Input.Body? = nil @@ -409,49 +660,75 @@ extension APIProtocol { body: body )) } - /// Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Teams token + /// + /// Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. - public func get_teams_token( - path: Operations.get_teams_token.Input.Path, - headers: Operations.get_teams_token.Input.Headers = .init() - ) async throws -> Operations.get_teams_token.Output { - try await get_teams_token(Operations.get_teams_token.Input( + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. + public func fetch_teams_token( + path: Operations.fetch_teams_token.Input.Path, + headers: Operations.fetch_teams_token.Input.Headers = .init() + ) async throws -> Operations.fetch_teams_token.Output { + try await fetch_teams_token(Operations.fetch_teams_token.Input( path: path, headers: headers )) } - /// Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Teams token + /// + /// Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. - public func discard_teams_token( - path: Operations.discard_teams_token.Input.Path, - headers: Operations.discard_teams_token.Input.Headers = .init() - ) async throws -> Operations.discard_teams_token.Output { - try await discard_teams_token(Operations.discard_teams_token.Input( + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + public func delete_teams_token( + path: Operations.delete_teams_token.Input.Path, + headers: Operations.delete_teams_token.Input.Headers = .init() + ) async throws -> Operations.delete_teams_token.Output { + try await delete_teams_token(Operations.delete_teams_token.Input( path: path, headers: headers )) } - /// Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// Fetch channel preferences + /// + /// Fetch a user's channel delivery preferences. + /// + /// - Remark: HTTP `GET /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + public func fetch_user_preferences(headers: Operations.fetch_user_preferences.Input.Headers = .init()) async throws -> Operations.fetch_user_preferences.Output { + try await fetch_user_preferences(Operations.fetch_user_preferences.Input(headers: headers)) + } + /// Save channel preferences + /// + /// Save a user's channel preferences. + /// + /// - Remark: HTTP `PUT /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + public func save_user_preferences(body: Operations.save_user_preferences.Input.Body? = nil) async throws -> Operations.save_user_preferences.Output { + try await save_user_preferences(Operations.save_user_preferences.Input(body: body)) + } + /// List all Web Push tokens + /// + /// Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. /// /// - Remark: HTTP `GET /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. - public func get_web_push_tokens( - query: Operations.get_web_push_tokens.Input.Query = .init(), - headers: Operations.get_web_push_tokens.Input.Headers = .init() - ) async throws -> Operations.get_web_push_tokens.Output { - try await get_web_push_tokens(Operations.get_web_push_tokens.Input( + /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. + public func list_web_push_tokens( + query: Operations.list_web_push_tokens.Input.Query = .init(), + headers: Operations.list_web_push_tokens.Input.Headers = .init() + ) async throws -> Operations.list_web_push_tokens.Output { + try await list_web_push_tokens(Operations.list_web_push_tokens.Input( query: query, headers: headers )) } - /// Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Web Push token /// - /// - Remark: HTTP `POST /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. + /// Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/web_push/tokens`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. public func save_web_push_token( headers: Operations.save_web_push_token.Input.Headers = .init(), body: Operations.save_web_push_token.Input.Body? = nil @@ -461,36 +738,42 @@ extension APIProtocol { body: body )) } - /// Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Web Push token + /// + /// Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. /// /// - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. - public func get_web_push_token( - path: Operations.get_web_push_token.Input.Path, - headers: Operations.get_web_push_token.Input.Headers = .init() - ) async throws -> Operations.get_web_push_token.Output { - try await get_web_push_token(Operations.get_web_push_token.Input( + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. + public func fetch_web_push_token( + path: Operations.fetch_web_push_token.Input.Path, + headers: Operations.fetch_web_push_token.Input.Headers = .init() + ) async throws -> Operations.fetch_web_push_token.Output { + try await fetch_web_push_token(Operations.fetch_web_push_token.Input( path: path, headers: headers )) } - /// Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Web Push token + /// + /// Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. /// /// - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. - public func discard_web_push_token( - path: Operations.discard_web_push_token.Input.Path, - headers: Operations.discard_web_push_token.Input.Headers = .init() - ) async throws -> Operations.discard_web_push_token.Output { - try await discard_web_push_token(Operations.discard_web_push_token.Input( + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. + public func delete_web_push_token( + path: Operations.delete_web_push_token.Input.Path, + headers: Operations.delete_web_push_token.Input.Headers = .init() + ) async throws -> Operations.delete_web_push_token.Output { + try await delete_web_push_token(Operations.delete_web_push_token.Input( path: path, headers: headers )) } - /// Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save an Inbox installation + /// + /// Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. /// - /// - Remark: HTTP `POST /integrations/inbox/installations`. - /// - Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. + /// - Remark: HTTP `PUT /integrations/inbox/installations`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. public func save_inbox_installation( headers: Operations.save_inbox_installation.Input.Headers = .init(), body: Operations.save_inbox_installation.Input.Body? = nil @@ -500,17 +783,21 @@ extension APIProtocol { body: body )) } - /// Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start an Inbox installation + /// + /// Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. /// /// - Remark: HTTP `POST /integrations/inbox/installations/start`. /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. public func start_inbox_installation(headers: Operations.start_inbox_installation.Input.Headers = .init()) async throws -> Operations.start_inbox_installation.Output { try await start_inbox_installation(Operations.start_inbox_installation.Input(headers: headers)) } - /// Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save a Slack installation + /// + /// Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. /// - /// - Remark: HTTP `POST /integrations/slack/installations`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. + /// - Remark: HTTP `PUT /integrations/slack/installations`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. public func save_slack_installation( headers: Operations.save_slack_installation.Input.Headers = .init(), body: Operations.save_slack_installation.Input.Body? = nil @@ -520,7 +807,9 @@ extension APIProtocol { body: body )) } - /// Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. + /// Finish a Slack installation + /// + /// Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. /// /// - Remark: HTTP `POST /integrations/slack/installations/finish`. /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. @@ -533,7 +822,9 @@ extension APIProtocol { body: body )) } - /// Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start a Slack installation + /// + /// Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. /// /// - Remark: HTTP `POST /integrations/slack/installations/start`. /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. @@ -546,23 +837,12 @@ extension APIProtocol { body: body )) } - /// Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. - /// - /// - Remark: HTTP `POST /integrations/templates/installations`. - /// - Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - public func save_templates_installation( - headers: Operations.save_templates_installation.Input.Headers = .init(), - body: Operations.save_templates_installation.Input.Body? = nil - ) async throws -> Operations.save_templates_installation.Output { - try await save_templates_installation(Operations.save_templates_installation.Input( - headers: headers, - body: body - )) - } - /// Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save a Web Push installation /// - /// - Remark: HTTP `POST /integrations/web_push/installations`. - /// - Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. + /// Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/web_push/installations`. + /// - Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. public func save_web_push_installation( headers: Operations.save_web_push_installation.Input.Headers = .init(), body: Operations.save_web_push_installation.Input.Body? = nil @@ -572,20 +852,106 @@ extension APIProtocol { body: body )) } - /// Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start a Web Push installation + /// + /// Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. /// /// - Remark: HTTP `POST /integrations/web_push/installations/start`. /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. public func start_web_push_installation(headers: Operations.start_web_push_installation.Input.Headers = .init()) async throws -> Operations.start_web_push_installation.Output { try await start_web_push_installation(Operations.start_web_push_installation.Input(headers: headers)) } + /// List all notifications + /// + /// Lists all notifications for a user. + /// + /// - Remark: HTTP `GET /notifications`. + /// - Remark: Generated from `#/paths//notifications/get(list_notifications)`. + public func list_notifications( + query: Operations.list_notifications.Input.Query = .init(), + headers: Operations.list_notifications.Input.Headers = .init() + ) async throws -> Operations.list_notifications.Output { + try await list_notifications(Operations.list_notifications.Input( + query: query, + headers: headers + )) + } + /// Archive all notifications + /// + /// Archive all notifications. + /// + /// - Remark: HTTP `POST /notifications/archive`. + /// - Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + public func archive_all_notifications(query: Operations.archive_all_notifications.Input.Query = .init()) async throws -> Operations.archive_all_notifications.Output { + try await archive_all_notifications(Operations.archive_all_notifications.Input(query: query)) + } + /// Mark all notifications read + /// + /// Marks all notifications as read. + /// + /// - Remark: HTTP `POST /notifications/read`. + /// - Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + public func mark_all_notifications_read(query: Operations.mark_all_notifications_read.Input.Query = .init()) async throws -> Operations.mark_all_notifications_read.Output { + try await mark_all_notifications_read(Operations.mark_all_notifications_read.Input(query: query)) + } + /// Fetch a notification + /// + /// Gets a notification by ID. + /// + /// - Remark: HTTP `GET /notifications/{notification_id}`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + public func fetch_notification( + path: Operations.fetch_notification.Input.Path, + headers: Operations.fetch_notification.Input.Headers = .init() + ) async throws -> Operations.fetch_notification.Output { + try await fetch_notification(Operations.fetch_notification.Input( + path: path, + headers: headers + )) + } + /// Archive a notification + /// + /// Archive a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/archive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + public func archive_notification(path: Operations.archive_notification.Input.Path) async throws -> Operations.archive_notification.Output { + try await archive_notification(Operations.archive_notification.Input(path: path)) + } + /// Mark a notification read + /// + /// Marks a notification as read. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/read`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + public func mark_notification_read(path: Operations.mark_notification_read.Input.Path) async throws -> Operations.mark_notification_read.Output { + try await mark_notification_read(Operations.mark_notification_read.Input(path: path)) + } + /// Unarchive a notification + /// + /// Unarchives a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unarchive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + public func unarchive_notification(path: Operations.unarchive_notification.Input.Path) async throws -> Operations.unarchive_notification.Output { + try await unarchive_notification(Operations.unarchive_notification.Input(path: path)) + } + /// Mark a notification unread + /// + /// Marks a notification as unread. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unread`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. + public func mark_notification_unread(path: Operations.mark_notification_unread.Input.Path) async throws -> Operations.mark_notification_unread.Output { + try await mark_notification_unread(Operations.mark_notification_unread.Input(path: path)) + } } /// Server URLs defined in the OpenAPI document. public enum Servers { - /// MagicBell REST API Base URL + /// MagicBell API (v2) Base URL public enum Server1 { - /// MagicBell REST API Base URL + /// MagicBell API (v2) Base URL public static func url() throws -> Foundation.URL { try Foundation.URL( validatingOpenAPIServerURL: "https://api.magicbell.com/v2", @@ -593,7 +959,7 @@ public enum Servers { ) } } - /// MagicBell REST API Base URL + /// MagicBell API (v2) Base URL @available(*, deprecated, renamed: "Servers.Server1.url") public static func server1() throws -> Foundation.URL { try Foundation.URL( @@ -613,8 +979,14 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/APNSToken/app_id`. public var app_id: Swift.String? + /// - Remark: Generated from `#/components/schemas/APNSToken/created_at`. + public var created_at: Foundation.Date /// - Remark: Generated from `#/components/schemas/APNSToken/device_token`. public var device_token: Swift.String + /// - Remark: Generated from `#/components/schemas/APNSToken/discarded_at`. + public var discarded_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/APNSToken/id`. + public var id: Swift.String /// (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. /// /// - Remark: Generated from `#/components/schemas/APNSToken/installation_id`. @@ -626,104 +998,185 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/APNSToken/installation_id`. public var installation_id: Components.Schemas.APNSToken.installation_idPayload? + /// - Remark: Generated from `#/components/schemas/APNSToken/updated_at`. + public var updated_at: Foundation.Date? /// Creates a new `APNSToken`. /// /// - Parameters: /// - app_id: (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. + /// - created_at: /// - device_token: + /// - discarded_at: + /// - id: /// - installation_id: (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. + /// - updated_at: public init( app_id: Swift.String? = nil, + created_at: Foundation.Date, device_token: Swift.String, - installation_id: Components.Schemas.APNSToken.installation_idPayload? = nil + discarded_at: Foundation.Date? = nil, + id: Swift.String, + installation_id: Components.Schemas.APNSToken.installation_idPayload? = nil, + updated_at: Foundation.Date? = nil ) { self.app_id = app_id + self.created_at = created_at self.device_token = device_token + self.discarded_at = discarded_at + self.id = id self.installation_id = installation_id + self.updated_at = updated_at } public enum CodingKeys: String, CodingKey { case app_id + case created_at case device_token + case discarded_at + case id case installation_id + case updated_at + } + } + /// - Remark: Generated from `#/components/schemas/APNSTokenCollection`. + public struct APNSTokenCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/APNSTokenCollection/data`. + public var data: [Components.Schemas.APNSToken]? + /// - Remark: Generated from `#/components/schemas/APNSTokenCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `APNSTokenCollection`. + /// + /// - Parameters: + /// - data: + /// - links: + public init( + data: [Components.Schemas.APNSToken]? = nil, + links: Components.Schemas.Links? = nil + ) { + self.data = data + self.links = links + } + public enum CodingKeys: String, CodingKey { + case data + case links } } - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse`. - public struct APNSTokenResponse: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/APNSTokenPayload`. + public struct APNSTokenPayload: Codable, Hashable, Sendable { /// (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. /// - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/app_id`. + /// - Remark: Generated from `#/components/schemas/APNSTokenPayload/app_id`. public var app_id: Swift.String? - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/device_token`. + /// - Remark: Generated from `#/components/schemas/APNSTokenPayload/device_token`. public var device_token: Swift.String - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/discarded_at`. - public var discarded_at: Foundation.Date? - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/id`. - public var id: Swift.String /// (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. /// - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/installation_id`. + /// - Remark: Generated from `#/components/schemas/APNSTokenPayload/installation_id`. @frozen public enum installation_idPayload: String, Codable, Hashable, Sendable, CaseIterable { case development = "development" case production = "production" } /// (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. /// - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/installation_id`. - public var installation_id: Components.Schemas.APNSTokenResponse.installation_idPayload? - /// - Remark: Generated from `#/components/schemas/APNSTokenResponse/updated_at`. - public var updated_at: Foundation.Date? - /// Creates a new `APNSTokenResponse`. + /// - Remark: Generated from `#/components/schemas/APNSTokenPayload/installation_id`. + public var installation_id: Components.Schemas.APNSTokenPayload.installation_idPayload? + /// Creates a new `APNSTokenPayload`. /// /// - Parameters: /// - app_id: (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. + /// - device_token: + /// - installation_id: (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. + public init( + app_id: Swift.String? = nil, + device_token: Swift.String, + installation_id: Components.Schemas.APNSTokenPayload.installation_idPayload? = nil + ) { + self.app_id = app_id + self.device_token = device_token + self.installation_id = installation_id + } + public enum CodingKeys: String, CodingKey { + case app_id + case device_token + case installation_id + } + } + /// - Remark: Generated from `#/components/schemas/DiscardResult`. + public struct DiscardResult: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/DiscardResult/discarded_at`. + public var discarded_at: Swift.String? + /// - Remark: Generated from `#/components/schemas/DiscardResult/id`. + public var id: Swift.String? + /// Creates a new `DiscardResult`. + /// + /// - Parameters: + /// - discarded_at: + /// - id: + public init( + discarded_at: Swift.String? = nil, + id: Swift.String? = nil + ) { + self.discarded_at = discarded_at + self.id = id + } + public enum CodingKeys: String, CodingKey { + case discarded_at + case id + } + } + /// - Remark: Generated from `#/components/schemas/ExpoToken`. + public struct ExpoToken: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/ExpoToken/created_at`. + public var created_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/ExpoToken/device_token`. + public var device_token: Swift.String + /// - Remark: Generated from `#/components/schemas/ExpoToken/discarded_at`. + public var discarded_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/ExpoToken/id`. + public var id: Swift.String + /// - Remark: Generated from `#/components/schemas/ExpoToken/updated_at`. + public var updated_at: Foundation.Date? + /// Creates a new `ExpoToken`. + /// + /// - Parameters: /// - created_at: /// - device_token: /// - discarded_at: /// - id: - /// - installation_id: (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. /// - updated_at: public init( - app_id: Swift.String? = nil, created_at: Foundation.Date, device_token: Swift.String, discarded_at: Foundation.Date? = nil, id: Swift.String, - installation_id: Components.Schemas.APNSTokenResponse.installation_idPayload? = nil, updated_at: Foundation.Date? = nil ) { - self.app_id = app_id self.created_at = created_at self.device_token = device_token self.discarded_at = discarded_at self.id = id - self.installation_id = installation_id self.updated_at = updated_at } public enum CodingKeys: String, CodingKey { - case app_id case created_at case device_token case discarded_at case id - case installation_id case updated_at } } - /// - Remark: Generated from `#/components/schemas/ArrayOfAPNSTokenResponses`. - public struct ArrayOfAPNSTokenResponses: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ArrayOfAPNSTokenResponses/data`. - public var data: [Components.Schemas.APNSTokenResponse]? - /// - Remark: Generated from `#/components/schemas/ArrayOfAPNSTokenResponses/links`. + /// - Remark: Generated from `#/components/schemas/ExpoTokenCollection`. + public struct ExpoTokenCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/ExpoTokenCollection/data`. + public var data: [Components.Schemas.ExpoToken]? + /// - Remark: Generated from `#/components/schemas/ExpoTokenCollection/links`. public var links: Components.Schemas.Links? - /// Creates a new `ArrayOfAPNSTokenResponses`. + /// Creates a new `ExpoTokenCollection`. /// /// - Parameters: /// - data: /// - links: public init( - data: [Components.Schemas.APNSTokenResponse]? = nil, + data: [Components.Schemas.ExpoToken]? = nil, links: Components.Schemas.Links? = nil ) { self.data = data @@ -734,149 +1187,11 @@ public enum Components { case links } } - /// - Remark: Generated from `#/components/schemas/ArrayOfExpoTokenResponses`. - public struct ArrayOfExpoTokenResponses: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ArrayOfExpoTokenResponses/data`. - public var data: [Components.Schemas.ExpoTokenResponse]? - /// - Remark: Generated from `#/components/schemas/ArrayOfExpoTokenResponses/links`. - public var links: Components.Schemas.Links? - /// Creates a new `ArrayOfExpoTokenResponses`. - /// - /// - Parameters: - /// - data: - /// - links: - public init( - data: [Components.Schemas.ExpoTokenResponse]? = nil, - links: Components.Schemas.Links? = nil - ) { - self.data = data - self.links = links - } - public enum CodingKeys: String, CodingKey { - case data - case links - } - } - /// - Remark: Generated from `#/components/schemas/ArrayOfFCMTokenResponses`. - public struct ArrayOfFCMTokenResponses: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ArrayOfFCMTokenResponses/data`. - public var data: [Components.Schemas.FCMTokenResponse]? - /// - Remark: Generated from `#/components/schemas/ArrayOfFCMTokenResponses/links`. - public var links: Components.Schemas.Links? - /// Creates a new `ArrayOfFCMTokenResponses`. - /// - /// - Parameters: - /// - data: - /// - links: - public init( - data: [Components.Schemas.FCMTokenResponse]? = nil, - links: Components.Schemas.Links? = nil - ) { - self.data = data - self.links = links - } - public enum CodingKeys: String, CodingKey { - case data - case links - } - } - /// - Remark: Generated from `#/components/schemas/ArrayOfSlackTokenResponses`. - public struct ArrayOfSlackTokenResponses: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ArrayOfSlackTokenResponses/data`. - public var data: [Components.Schemas.SlackTokenResponse]? - /// - Remark: Generated from `#/components/schemas/ArrayOfSlackTokenResponses/links`. - public var links: Components.Schemas.Links? - /// Creates a new `ArrayOfSlackTokenResponses`. - /// - /// - Parameters: - /// - data: - /// - links: - public init( - data: [Components.Schemas.SlackTokenResponse]? = nil, - links: Components.Schemas.Links? = nil - ) { - self.data = data - self.links = links - } - public enum CodingKeys: String, CodingKey { - case data - case links - } - } - /// - Remark: Generated from `#/components/schemas/ArrayOfTeamsTokenResponses`. - public struct ArrayOfTeamsTokenResponses: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ArrayOfTeamsTokenResponses/data`. - public var data: [Components.Schemas.TeamsTokenResponse]? - /// - Remark: Generated from `#/components/schemas/ArrayOfTeamsTokenResponses/links`. - public var links: Components.Schemas.Links? - /// Creates a new `ArrayOfTeamsTokenResponses`. - /// - /// - Parameters: - /// - data: - /// - links: - public init( - data: [Components.Schemas.TeamsTokenResponse]? = nil, - links: Components.Schemas.Links? = nil - ) { - self.data = data - self.links = links - } - public enum CodingKeys: String, CodingKey { - case data - case links - } - } - /// - Remark: Generated from `#/components/schemas/ArrayOfWebPushTokenResponses`. - public struct ArrayOfWebPushTokenResponses: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ArrayOfWebPushTokenResponses/data`. - public var data: [Components.Schemas.WebPushTokenResponse]? - /// - Remark: Generated from `#/components/schemas/ArrayOfWebPushTokenResponses/links`. - public var links: Components.Schemas.Links? - /// Creates a new `ArrayOfWebPushTokenResponses`. - /// - /// - Parameters: - /// - data: - /// - links: - public init( - data: [Components.Schemas.WebPushTokenResponse]? = nil, - links: Components.Schemas.Links? = nil - ) { - self.data = data - self.links = links - } - public enum CodingKeys: String, CodingKey { - case data - case links - } - } - /// - Remark: Generated from `#/components/schemas/DiscardResult`. - public struct DiscardResult: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/DiscardResult/discarded_at`. - public var discarded_at: Swift.String? - /// - Remark: Generated from `#/components/schemas/DiscardResult/id`. - public var id: Swift.String? - /// Creates a new `DiscardResult`. - /// - /// - Parameters: - /// - discarded_at: - /// - id: - public init( - discarded_at: Swift.String? = nil, - id: Swift.String? = nil - ) { - self.discarded_at = discarded_at - self.id = id - } - public enum CodingKeys: String, CodingKey { - case discarded_at - case id - } - } - /// - Remark: Generated from `#/components/schemas/ExpoToken`. - public struct ExpoToken: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ExpoToken/device_token`. - public var device_token: Swift.String - /// Creates a new `ExpoToken`. + /// - Remark: Generated from `#/components/schemas/ExpoTokenPayload`. + public struct ExpoTokenPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/ExpoTokenPayload/device_token`. + public var device_token: Swift.String + /// Creates a new `ExpoTokenPayload`. /// /// - Parameters: /// - device_token: @@ -887,37 +1202,47 @@ public enum Components { case device_token } } - /// - Remark: Generated from `#/components/schemas/ExpoTokenResponse`. - public struct ExpoTokenResponse: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/ExpoTokenResponse/created_at`. + /// - Remark: Generated from `#/components/schemas/FCMToken`. + public struct FCMToken: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/FCMToken/created_at`. public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/ExpoTokenResponse/device_token`. + /// - Remark: Generated from `#/components/schemas/FCMToken/device_token`. public var device_token: Swift.String - /// - Remark: Generated from `#/components/schemas/ExpoTokenResponse/discarded_at`. + /// - Remark: Generated from `#/components/schemas/FCMToken/discarded_at`. public var discarded_at: Foundation.Date? - /// - Remark: Generated from `#/components/schemas/ExpoTokenResponse/id`. + /// - Remark: Generated from `#/components/schemas/FCMToken/id`. public var id: Swift.String - /// - Remark: Generated from `#/components/schemas/ExpoTokenResponse/updated_at`. + /// - Remark: Generated from `#/components/schemas/FCMToken/installation_id`. + @frozen public enum installation_idPayload: String, Codable, Hashable, Sendable, CaseIterable { + case development = "development" + case production = "production" + } + /// - Remark: Generated from `#/components/schemas/FCMToken/installation_id`. + public var installation_id: Components.Schemas.FCMToken.installation_idPayload? + /// - Remark: Generated from `#/components/schemas/FCMToken/updated_at`. public var updated_at: Foundation.Date? - /// Creates a new `ExpoTokenResponse`. + /// Creates a new `FCMToken`. /// /// - Parameters: /// - created_at: /// - device_token: /// - discarded_at: /// - id: + /// - installation_id: /// - updated_at: public init( created_at: Foundation.Date, device_token: Swift.String, discarded_at: Foundation.Date? = nil, id: Swift.String, + installation_id: Components.Schemas.FCMToken.installation_idPayload? = nil, updated_at: Foundation.Date? = nil ) { self.created_at = created_at self.device_token = device_token self.discarded_at = discarded_at self.id = id + self.installation_id = installation_id self.updated_at = updated_at } public enum CodingKeys: String, CodingKey { @@ -925,94 +1250,66 @@ public enum Components { case device_token case discarded_at case id + case installation_id case updated_at } } - /// - Remark: Generated from `#/components/schemas/FCMToken`. - public struct FCMToken: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/FCMToken/device_token`. - public var device_token: Swift.String - /// - Remark: Generated from `#/components/schemas/FCMToken/installation_id`. - @frozen public enum installation_idPayload: String, Codable, Hashable, Sendable, CaseIterable { - case development = "development" - case production = "production" - } - /// - Remark: Generated from `#/components/schemas/FCMToken/installation_id`. - public var installation_id: Components.Schemas.FCMToken.installation_idPayload? - /// Creates a new `FCMToken`. + /// - Remark: Generated from `#/components/schemas/FCMTokenCollection`. + public struct FCMTokenCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/FCMTokenCollection/data`. + public var data: [Components.Schemas.FCMToken]? + /// - Remark: Generated from `#/components/schemas/FCMTokenCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `FCMTokenCollection`. /// /// - Parameters: - /// - device_token: - /// - installation_id: + /// - data: + /// - links: public init( - device_token: Swift.String, - installation_id: Components.Schemas.FCMToken.installation_idPayload? = nil + data: [Components.Schemas.FCMToken]? = nil, + links: Components.Schemas.Links? = nil ) { - self.device_token = device_token - self.installation_id = installation_id + self.data = data + self.links = links } public enum CodingKeys: String, CodingKey { - case device_token - case installation_id + case data + case links } } - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse`. - public struct FCMTokenResponse: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/device_token`. + /// - Remark: Generated from `#/components/schemas/FCMTokenPayload`. + public struct FCMTokenPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/FCMTokenPayload/device_token`. public var device_token: Swift.String - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/discarded_at`. - public var discarded_at: Foundation.Date? - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/id`. - public var id: Swift.String - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/installation_id`. + /// - Remark: Generated from `#/components/schemas/FCMTokenPayload/installation_id`. @frozen public enum installation_idPayload: String, Codable, Hashable, Sendable, CaseIterable { case development = "development" case production = "production" } - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/installation_id`. - public var installation_id: Components.Schemas.FCMTokenResponse.installation_idPayload? - /// - Remark: Generated from `#/components/schemas/FCMTokenResponse/updated_at`. - public var updated_at: Foundation.Date? - /// Creates a new `FCMTokenResponse`. + /// - Remark: Generated from `#/components/schemas/FCMTokenPayload/installation_id`. + public var installation_id: Components.Schemas.FCMTokenPayload.installation_idPayload? + /// Creates a new `FCMTokenPayload`. /// /// - Parameters: - /// - created_at: /// - device_token: - /// - discarded_at: - /// - id: /// - installation_id: - /// - updated_at: public init( - created_at: Foundation.Date, device_token: Swift.String, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - installation_id: Components.Schemas.FCMTokenResponse.installation_idPayload? = nil, - updated_at: Foundation.Date? = nil + installation_id: Components.Schemas.FCMTokenPayload.installation_idPayload? = nil ) { - self.created_at = created_at self.device_token = device_token - self.discarded_at = discarded_at - self.id = id self.installation_id = installation_id - self.updated_at = updated_at } public enum CodingKeys: String, CodingKey { - case created_at case device_token - case discarded_at - case id case installation_id - case updated_at } } - /// - Remark: Generated from `#/components/schemas/InboxConfig`. - public struct InboxConfig: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/images`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload`. + public struct InboxConfigPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/images`. public struct imagesPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/images/emptyInboxUrl`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/images/emptyInboxUrl`. public var emptyInboxUrl: Swift.String /// Creates a new `imagesPayload`. /// @@ -1025,21 +1322,21 @@ public enum Components { case emptyInboxUrl } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/images`. - public var images: Components.Schemas.InboxConfig.imagesPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/locale`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/images`. + public var images: Components.Schemas.InboxConfigPayload.imagesPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/locale`. public var locale: Swift.String? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme`. public struct themePayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/banner`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner`. public struct bannerPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/backgroundOpacity`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/backgroundOpacity`. public var backgroundOpacity: Swift.Double? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/fontSize`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/fontSize`. public var fontSize: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/textColor`. public var textColor: Swift.String /// Creates a new `bannerPayload`. /// @@ -1066,15 +1363,15 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/banner`. - public var banner: Components.Schemas.InboxConfig.themePayload.bannerPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner`. + public var banner: Components.Schemas.InboxConfigPayload.themePayload.bannerPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog`. public struct dialogPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog/accentColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog/accentColor`. public var accentColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog/textColor`. public var textColor: Swift.String /// Creates a new `dialogPayload`. /// @@ -1097,17 +1394,17 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog`. - public var dialog: Components.Schemas.InboxConfig.themePayload.dialogPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/footer`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog`. + public var dialog: Components.Schemas.InboxConfigPayload.themePayload.dialogPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer`. public struct footerPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/borderRadius`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/borderRadius`. public var borderRadius: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/fontSize`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/fontSize`. public var fontSize: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/textColor`. public var textColor: Swift.String /// Creates a new `footerPayload`. /// @@ -1134,19 +1431,19 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/footer`. - public var footer: Components.Schemas.InboxConfig.themePayload.footerPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer`. + public var footer: Components.Schemas.InboxConfigPayload.themePayload.footerPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header`. public struct headerPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header/borderRadius`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/borderRadius`. public var borderRadius: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header/fontFamily`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/fontFamily`. public var fontFamily: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header/fontSize`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/fontSize`. public var fontSize: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/textColor`. public var textColor: Swift.String /// Creates a new `headerPayload`. /// @@ -1177,13 +1474,13 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/header`. - public var header: Components.Schemas.InboxConfig.themePayload.headerPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/icon`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header`. + public var header: Components.Schemas.InboxConfigPayload.themePayload.headerPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon`. public struct iconPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/icon/borderColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon/borderColor`. public var borderColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/icon/width`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon/width`. public var width: Swift.String /// Creates a new `iconPayload`. /// @@ -1202,23 +1499,23 @@ public enum Components { case width } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/icon`. - public var icon: Components.Schemas.InboxConfig.themePayload.iconPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon`. + public var icon: Components.Schemas.InboxConfigPayload.themePayload.iconPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification`. public struct notificationPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default`. public struct _defaultPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/borderRadius`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/borderRadius`. public var borderRadius: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/fontFamily`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/fontFamily`. public var fontFamily: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/fontSize`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/fontSize`. public var fontSize: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/hover`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/hover`. public struct hoverPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/hover/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/hover/backgroundColor`. public var backgroundColor: Swift.String /// Creates a new `hoverPayload`. /// @@ -1231,13 +1528,13 @@ public enum Components { case backgroundColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/hover`. - public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/margin`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/hover`. + public var hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/margin`. public var margin: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/state`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/state`. public struct statePayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/state/color`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/state/color`. public var color: Swift.String /// Creates a new `statePayload`. /// @@ -1250,9 +1547,9 @@ public enum Components { case color } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/state`. - public var state: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/state`. + public var state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/textColor`. public var textColor: Swift.String /// Creates a new `_defaultPayload`. /// @@ -1270,9 +1567,9 @@ public enum Components { borderRadius: Swift.String, fontFamily: Swift.String, fontSize: Swift.String, - hover: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload? = nil, + hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload? = nil, margin: Swift.String, - state: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload? = nil, + state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload? = nil, textColor: Swift.String ) { self.backgroundColor = backgroundColor @@ -1295,15 +1592,15 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default`. - public var _default: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default`. + public var _default: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread`. public struct unreadPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/hover`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/hover`. public struct hoverPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/hover/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/hover/backgroundColor`. public var backgroundColor: Swift.String /// Creates a new `hoverPayload`. /// @@ -1316,11 +1613,11 @@ public enum Components { case backgroundColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/hover`. - public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/state`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/hover`. + public var hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/state`. public struct statePayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/state/color`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/state/color`. public var color: Swift.String /// Creates a new `statePayload`. /// @@ -1333,9 +1630,9 @@ public enum Components { case color } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/state`. - public var state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/state`. + public var state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/textColor`. public var textColor: Swift.String /// Creates a new `unreadPayload`. /// @@ -1346,8 +1643,8 @@ public enum Components { /// - textColor: public init( backgroundColor: Swift.String, - hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload? = nil, - state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload? = nil, + hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload? = nil, + state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload? = nil, textColor: Swift.String ) { self.backgroundColor = backgroundColor @@ -1362,15 +1659,15 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread`. - public var unread: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread`. + public var unread: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen`. public struct unseenPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/backgroundColor`. public var backgroundColor: Swift.String - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/hover`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/hover`. public struct hoverPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/hover/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/hover/backgroundColor`. public var backgroundColor: Swift.String /// Creates a new `hoverPayload`. /// @@ -1383,11 +1680,11 @@ public enum Components { case backgroundColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/hover`. - public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/state`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/hover`. + public var hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/state`. public struct statePayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/state/color`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/state/color`. public var color: Swift.String /// Creates a new `statePayload`. /// @@ -1400,9 +1697,9 @@ public enum Components { case color } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/state`. - public var state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/textColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/state`. + public var state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/textColor`. public var textColor: Swift.String /// Creates a new `unseenPayload`. /// @@ -1413,8 +1710,8 @@ public enum Components { /// - textColor: public init( backgroundColor: Swift.String, - hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload? = nil, - state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload? = nil, + hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload? = nil, + state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload? = nil, textColor: Swift.String ) { self.backgroundColor = backgroundColor @@ -1429,8 +1726,8 @@ public enum Components { case textColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen`. - public var unseen: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen`. + public var unseen: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload /// Creates a new `notificationPayload`. /// /// - Parameters: @@ -1438,9 +1735,9 @@ public enum Components { /// - unread: /// - unseen: public init( - _default: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload, - unread: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload, - unseen: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload + _default: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload, + unread: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload, + unseen: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload ) { self._default = _default self.unread = unread @@ -1452,11 +1749,11 @@ public enum Components { case unseen } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/notification`. - public var notification: Components.Schemas.InboxConfig.themePayload.notificationPayload? - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/unseenBadge`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification`. + public var notification: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/unseenBadge`. public struct unseenBadgePayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/unseenBadge/backgroundColor`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/unseenBadge/backgroundColor`. public var backgroundColor: Swift.String /// Creates a new `unseenBadgePayload`. /// @@ -1469,8 +1766,8 @@ public enum Components { case backgroundColor } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme/unseenBadge`. - public var unseenBadge: Components.Schemas.InboxConfig.themePayload.unseenBadgePayload? + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/unseenBadge`. + public var unseenBadge: Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload? /// Creates a new `themePayload`. /// /// - Parameters: @@ -1482,13 +1779,13 @@ public enum Components { /// - notification: /// - unseenBadge: public init( - banner: Components.Schemas.InboxConfig.themePayload.bannerPayload? = nil, - dialog: Components.Schemas.InboxConfig.themePayload.dialogPayload? = nil, - footer: Components.Schemas.InboxConfig.themePayload.footerPayload? = nil, - header: Components.Schemas.InboxConfig.themePayload.headerPayload? = nil, - icon: Components.Schemas.InboxConfig.themePayload.iconPayload? = nil, - notification: Components.Schemas.InboxConfig.themePayload.notificationPayload? = nil, - unseenBadge: Components.Schemas.InboxConfig.themePayload.unseenBadgePayload? = nil + banner: Components.Schemas.InboxConfigPayload.themePayload.bannerPayload? = nil, + dialog: Components.Schemas.InboxConfigPayload.themePayload.dialogPayload? = nil, + footer: Components.Schemas.InboxConfigPayload.themePayload.footerPayload? = nil, + header: Components.Schemas.InboxConfigPayload.themePayload.headerPayload? = nil, + icon: Components.Schemas.InboxConfigPayload.themePayload.iconPayload? = nil, + notification: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload? = nil, + unseenBadge: Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload? = nil ) { self.banner = banner self.dialog = dialog @@ -1508,18 +1805,18 @@ public enum Components { case unseenBadge } } - /// - Remark: Generated from `#/components/schemas/InboxConfig/theme`. - public var theme: Components.Schemas.InboxConfig.themePayload? - /// Creates a new `InboxConfig`. + /// - Remark: Generated from `#/components/schemas/InboxConfigPayload/theme`. + public var theme: Components.Schemas.InboxConfigPayload.themePayload? + /// Creates a new `InboxConfigPayload`. /// /// - Parameters: /// - images: /// - locale: /// - theme: public init( - images: Components.Schemas.InboxConfig.imagesPayload? = nil, + images: Components.Schemas.InboxConfigPayload.imagesPayload? = nil, locale: Swift.String? = nil, - theme: Components.Schemas.InboxConfig.themePayload? = nil + theme: Components.Schemas.InboxConfigPayload.themePayload? = nil ) { self.images = images self.locale = locale @@ -1531,6 +1828,99 @@ public enum Components { case theme } } + /// - Remark: Generated from `#/components/schemas/InboxToken`. + public struct InboxToken: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/InboxToken/connection_id`. + public var connection_id: Swift.String? + /// - Remark: Generated from `#/components/schemas/InboxToken/token`. + public var token: Swift.String + /// Creates a new `InboxToken`. + /// + /// - Parameters: + /// - connection_id: + /// - token: + public init( + connection_id: Swift.String? = nil, + token: Swift.String + ) { + self.connection_id = connection_id + self.token = token + } + public enum CodingKeys: String, CodingKey { + case connection_id + case token + } + } + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse`. + public struct InboxTokenResponse: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse/connection_id`. + public var connection_id: Swift.String? + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse/created_at`. + public var created_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse/discarded_at`. + public var discarded_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse/id`. + public var id: Swift.String + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse/token`. + public var token: Swift.String + /// - Remark: Generated from `#/components/schemas/InboxTokenResponse/updated_at`. + public var updated_at: Foundation.Date? + /// Creates a new `InboxTokenResponse`. + /// + /// - Parameters: + /// - connection_id: + /// - created_at: + /// - discarded_at: + /// - id: + /// - token: + /// - updated_at: + public init( + connection_id: Swift.String? = nil, + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + token: Swift.String, + updated_at: Foundation.Date? = nil + ) { + self.connection_id = connection_id + self.created_at = created_at + self.discarded_at = discarded_at + self.id = id + self.token = token + self.updated_at = updated_at + } + public enum CodingKeys: String, CodingKey { + case connection_id + case created_at + case discarded_at + case id + case token + case updated_at + } + } + /// - Remark: Generated from `#/components/schemas/InboxTokenResponseCollection`. + public struct InboxTokenResponseCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/InboxTokenResponseCollection/data`. + public var data: [Components.Schemas.InboxTokenResponse]? + /// - Remark: Generated from `#/components/schemas/InboxTokenResponseCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `InboxTokenResponseCollection`. + /// + /// - Parameters: + /// - data: + /// - links: + public init( + data: [Components.Schemas.InboxTokenResponse]? = nil, + links: Components.Schemas.Links? = nil + ) { + self.data = data + self.links = links + } + public enum CodingKeys: String, CodingKey { + case data + case links + } + } /// - Remark: Generated from `#/components/schemas/Links`. public struct Links: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/Links/first`. @@ -1560,35 +1950,159 @@ public enum Components { case prev } } - /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse`. - public struct SlackFinishInstallResponse: Codable, Hashable, Sendable { - /// The app ID of the Slack app that was originally configured at the project-level. - /// - /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse/app_id`. - public var app_id: Swift.String - /// The code that was returned from the OAuth flow, and found in the query string of the redirect URL. - /// - /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse/code`. - public var code: Swift.String - /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse/redirect_url`. - public var redirect_url: Swift.String? - /// Creates a new `SlackFinishInstallResponse`. + /// - Remark: Generated from `#/components/schemas/Notification`. + public struct Notification: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/Notification/action_url`. + public var action_url: Swift.String? + /// - Remark: Generated from `#/components/schemas/Notification/archived_at`. + public var archived_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/Notification/category`. + public var category: Swift.String? + /// - Remark: Generated from `#/components/schemas/Notification/content`. + public var content: Swift.String? + /// - Remark: Generated from `#/components/schemas/Notification/created_at`. + public var created_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/Notification/custom_attributes`. + public var custom_attributes: OpenAPIRuntime.OpenAPIObjectContainer? + /// - Remark: Generated from `#/components/schemas/Notification/discarded_at`. + public var discarded_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/Notification/id`. + public var id: Swift.String + /// - Remark: Generated from `#/components/schemas/Notification/read_at`. + public var read_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/Notification/seen_at`. + public var seen_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/Notification/sent_at`. + public var sent_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/Notification/title`. + public var title: Swift.String + /// - Remark: Generated from `#/components/schemas/Notification/topic`. + public var topic: Swift.String? + /// - Remark: Generated from `#/components/schemas/Notification/updated_at`. + public var updated_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/Notification/user_id`. + public var user_id: Swift.String + /// Creates a new `Notification`. /// /// - Parameters: - /// - app_id: The app ID of the Slack app that was originally configured at the project-level. - /// - code: The code that was returned from the OAuth flow, and found in the query string of the redirect URL. - /// - redirect_url: + /// - action_url: + /// - archived_at: + /// - category: + /// - content: + /// - created_at: + /// - custom_attributes: + /// - discarded_at: + /// - id: + /// - read_at: + /// - seen_at: + /// - sent_at: + /// - title: + /// - topic: + /// - updated_at: + /// - user_id: public init( - app_id: Swift.String, - code: Swift.String, - redirect_url: Swift.String? = nil + action_url: Swift.String? = nil, + archived_at: Foundation.Date? = nil, + category: Swift.String? = nil, + content: Swift.String? = nil, + created_at: Foundation.Date, + custom_attributes: OpenAPIRuntime.OpenAPIObjectContainer? = nil, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + read_at: Foundation.Date? = nil, + seen_at: Foundation.Date? = nil, + sent_at: Foundation.Date? = nil, + title: Swift.String, + topic: Swift.String? = nil, + updated_at: Foundation.Date, + user_id: Swift.String ) { - self.app_id = app_id - self.code = code - self.redirect_url = redirect_url - } - public enum CodingKeys: String, CodingKey { - case app_id + self.action_url = action_url + self.archived_at = archived_at + self.category = category + self.content = content + self.created_at = created_at + self.custom_attributes = custom_attributes + self.discarded_at = discarded_at + self.id = id + self.read_at = read_at + self.seen_at = seen_at + self.sent_at = sent_at + self.title = title + self.topic = topic + self.updated_at = updated_at + self.user_id = user_id + } + public enum CodingKeys: String, CodingKey { + case action_url + case archived_at + case category + case content + case created_at + case custom_attributes + case discarded_at + case id + case read_at + case seen_at + case sent_at + case title + case topic + case updated_at + case user_id + } + } + /// - Remark: Generated from `#/components/schemas/NotificationCollection`. + public struct NotificationCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/NotificationCollection/data`. + public var data: [Components.Schemas.Notification]? + /// - Remark: Generated from `#/components/schemas/NotificationCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `NotificationCollection`. + /// + /// - Parameters: + /// - data: + /// - links: + public init( + data: [Components.Schemas.Notification]? = nil, + links: Components.Schemas.Links? = nil + ) { + self.data = data + self.links = links + } + public enum CodingKeys: String, CodingKey { + case data + case links + } + } + /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse`. + public struct SlackFinishInstallResponse: Codable, Hashable, Sendable { + /// The app ID of the Slack app that was originally configured at the project-level. + /// + /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse/app_id`. + public var app_id: Swift.String + /// The code that was returned from the OAuth flow, and found in the query string of the redirect URL. + /// + /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse/code`. + public var code: Swift.String + /// - Remark: Generated from `#/components/schemas/SlackFinishInstallResponse/redirect_url`. + public var redirect_url: Swift.String? + /// Creates a new `SlackFinishInstallResponse`. + /// + /// - Parameters: + /// - app_id: The app ID of the Slack app that was originally configured at the project-level. + /// - code: The code that was returned from the OAuth flow, and found in the query string of the redirect URL. + /// - redirect_url: + public init( + app_id: Swift.String, + code: Swift.String, + redirect_url: Swift.String? = nil + ) { + self.app_id = app_id + self.code = code + self.redirect_url = redirect_url + } + public enum CodingKeys: String, CodingKey { + case app_id case code case redirect_url } @@ -1895,6 +2409,12 @@ public enum Components { } /// - Remark: Generated from `#/components/schemas/SlackToken`. public struct SlackToken: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/SlackToken/created_at`. + public var created_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/SlackToken/discarded_at`. + public var discarded_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/SlackToken/id`. + public var id: Swift.String /// - Remark: Generated from `#/components/schemas/SlackToken/oauth`. public struct oauthPayload: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/SlackToken/oauth/channel_id`. @@ -1926,6 +2446,8 @@ public enum Components { } /// - Remark: Generated from `#/components/schemas/SlackToken/oauth`. public var oauth: Components.Schemas.SlackToken.oauthPayload? + /// - Remark: Generated from `#/components/schemas/SlackToken/updated_at`. + public var updated_at: Foundation.Date? /// Obtained directly from the incoming_webhook object in the installation response from the Slack API. /// /// - Remark: Generated from `#/components/schemas/SlackToken/webhook`. @@ -1950,50 +2472,68 @@ public enum Components { /// Creates a new `SlackToken`. /// /// - Parameters: + /// - created_at: + /// - discarded_at: + /// - id: /// - oauth: + /// - updated_at: /// - webhook: Obtained directly from the incoming_webhook object in the installation response from the Slack API. public init( + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, + id: Swift.String, oauth: Components.Schemas.SlackToken.oauthPayload? = nil, + updated_at: Foundation.Date? = nil, webhook: Components.Schemas.SlackToken.webhookPayload? = nil ) { + self.created_at = created_at + self.discarded_at = discarded_at + self.id = id self.oauth = oauth + self.updated_at = updated_at self.webhook = webhook } public enum CodingKeys: String, CodingKey { + case created_at + case discarded_at + case id case oauth + case updated_at case webhook } - public init(from decoder: any Decoder) throws { - let container = try decoder.container(keyedBy: CodingKeys.self) - self.oauth = try container.decodeIfPresent( - Components.Schemas.SlackToken.oauthPayload.self, - forKey: .oauth - ) - self.webhook = try container.decodeIfPresent( - Components.Schemas.SlackToken.webhookPayload.self, - forKey: .webhook - ) - try decoder.ensureNoAdditionalProperties(knownKeys: [ - "oauth", - "webhook" - ]) + } + /// - Remark: Generated from `#/components/schemas/SlackTokenCollection`. + public struct SlackTokenCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/SlackTokenCollection/data`. + public var data: [Components.Schemas.SlackToken]? + /// - Remark: Generated from `#/components/schemas/SlackTokenCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `SlackTokenCollection`. + /// + /// - Parameters: + /// - data: + /// - links: + public init( + data: [Components.Schemas.SlackToken]? = nil, + links: Components.Schemas.Links? = nil + ) { + self.data = data + self.links = links + } + public enum CodingKeys: String, CodingKey { + case data + case links } } - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse`. - public struct SlackTokenResponse: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/discarded_at`. - public var discarded_at: Foundation.Date? - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/id`. - public var id: Swift.String - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload`. + public struct SlackTokenPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth`. public struct oauthPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth/channel_id`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth/channel_id`. public var channel_id: Swift.String - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth/installation_id`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth/installation_id`. public var installation_id: Swift.String - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth/scope`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth/scope`. public var scope: Swift.String? /// Creates a new `oauthPayload`. /// @@ -2016,15 +2556,13 @@ public enum Components { case scope } } - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth`. - public var oauth: Components.Schemas.SlackTokenResponse.oauthPayload? - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/updated_at`. - public var updated_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth`. + public var oauth: Components.Schemas.SlackTokenPayload.oauthPayload? /// Obtained directly from the incoming_webhook object in the installation response from the Slack API. /// - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/webhook`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/webhook`. public struct webhookPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/webhook/url`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/webhook/url`. public var url: Swift.String /// Creates a new `webhookPayload`. /// @@ -2039,43 +2577,50 @@ public enum Components { } /// Obtained directly from the incoming_webhook object in the installation response from the Slack API. /// - /// - Remark: Generated from `#/components/schemas/SlackTokenResponse/webhook`. - public var webhook: Components.Schemas.SlackTokenResponse.webhookPayload? - /// Creates a new `SlackTokenResponse`. + /// - Remark: Generated from `#/components/schemas/SlackTokenPayload/webhook`. + public var webhook: Components.Schemas.SlackTokenPayload.webhookPayload? + /// Creates a new `SlackTokenPayload`. /// /// - Parameters: - /// - created_at: - /// - discarded_at: - /// - id: /// - oauth: - /// - updated_at: /// - webhook: Obtained directly from the incoming_webhook object in the installation response from the Slack API. public init( - created_at: Foundation.Date, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - oauth: Components.Schemas.SlackTokenResponse.oauthPayload? = nil, - updated_at: Foundation.Date? = nil, - webhook: Components.Schemas.SlackTokenResponse.webhookPayload? = nil + oauth: Components.Schemas.SlackTokenPayload.oauthPayload? = nil, + webhook: Components.Schemas.SlackTokenPayload.webhookPayload? = nil ) { - self.created_at = created_at - self.discarded_at = discarded_at - self.id = id self.oauth = oauth - self.updated_at = updated_at self.webhook = webhook } public enum CodingKeys: String, CodingKey { - case created_at - case discarded_at - case id case oauth - case updated_at case webhook } + public init(from decoder: any Decoder) throws { + let container = try decoder.container(keyedBy: CodingKeys.self) + self.oauth = try container.decodeIfPresent( + Components.Schemas.SlackTokenPayload.oauthPayload.self, + forKey: .oauth + ) + self.webhook = try container.decodeIfPresent( + Components.Schemas.SlackTokenPayload.webhookPayload.self, + forKey: .webhook + ) + try decoder.ensureNoAdditionalProperties(knownKeys: [ + "oauth", + "webhook" + ]) + } } /// - Remark: Generated from `#/components/schemas/TeamsToken`. public struct TeamsToken: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/TeamsToken/created_at`. + public var created_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/TeamsToken/discarded_at`. + public var discarded_at: Foundation.Date? + /// - Remark: Generated from `#/components/schemas/TeamsToken/id`. + public var id: Swift.String + /// - Remark: Generated from `#/components/schemas/TeamsToken/updated_at`. + public var updated_at: Foundation.Date? /// - Remark: Generated from `#/components/schemas/TeamsToken/webhook`. public struct webhookPayload: Codable, Hashable, Sendable { /// - Remark: Generated from `#/components/schemas/TeamsToken/webhook/url`. @@ -2096,27 +2641,60 @@ public enum Components { /// Creates a new `TeamsToken`. /// /// - Parameters: + /// - created_at: + /// - discarded_at: + /// - id: + /// - updated_at: /// - webhook: - public init(webhook: Components.Schemas.TeamsToken.webhookPayload? = nil) { + public init( + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + updated_at: Foundation.Date? = nil, + webhook: Components.Schemas.TeamsToken.webhookPayload? = nil + ) { + self.created_at = created_at + self.discarded_at = discarded_at + self.id = id + self.updated_at = updated_at self.webhook = webhook } public enum CodingKeys: String, CodingKey { + case created_at + case discarded_at + case id + case updated_at case webhook } } - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse`. - public struct TeamsTokenResponse: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/discarded_at`. - public var discarded_at: Foundation.Date? - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/id`. - public var id: Swift.String - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/updated_at`. - public var updated_at: Foundation.Date? - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/webhook`. + /// - Remark: Generated from `#/components/schemas/TeamsTokenCollection`. + public struct TeamsTokenCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/TeamsTokenCollection/data`. + public var data: [Components.Schemas.TeamsToken]? + /// - Remark: Generated from `#/components/schemas/TeamsTokenCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `TeamsTokenCollection`. + /// + /// - Parameters: + /// - data: + /// - links: + public init( + data: [Components.Schemas.TeamsToken]? = nil, + links: Components.Schemas.Links? = nil + ) { + self.data = data + self.links = links + } + public enum CodingKeys: String, CodingKey { + case data + case links + } + } + /// - Remark: Generated from `#/components/schemas/TeamsTokenPayload`. + public struct TeamsTokenPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/TeamsTokenPayload/webhook`. public struct webhookPayload: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/webhook/url`. + /// - Remark: Generated from `#/components/schemas/TeamsTokenPayload/webhook/url`. public var url: Swift.String? /// Creates a new `webhookPayload`. /// @@ -2129,64 +2707,88 @@ public enum Components { case url } } - /// - Remark: Generated from `#/components/schemas/TeamsTokenResponse/webhook`. - public var webhook: Components.Schemas.TeamsTokenResponse.webhookPayload? - /// Creates a new `TeamsTokenResponse`. + /// - Remark: Generated from `#/components/schemas/TeamsTokenPayload/webhook`. + public var webhook: Components.Schemas.TeamsTokenPayload.webhookPayload? + /// Creates a new `TeamsTokenPayload`. /// /// - Parameters: - /// - created_at: - /// - discarded_at: - /// - id: - /// - updated_at: /// - webhook: - public init( - created_at: Foundation.Date, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - updated_at: Foundation.Date? = nil, - webhook: Components.Schemas.TeamsTokenResponse.webhookPayload? = nil - ) { - self.created_at = created_at - self.discarded_at = discarded_at - self.id = id - self.updated_at = updated_at + public init(webhook: Components.Schemas.TeamsTokenPayload.webhookPayload? = nil) { self.webhook = webhook } public enum CodingKeys: String, CodingKey { - case created_at - case discarded_at - case id - case updated_at case webhook } } - /// - Remark: Generated from `#/components/schemas/TemplatesInstallation`. - public struct TemplatesInstallation: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/TemplatesInstallation/category`. - public var category: Swift.String? - /// - Remark: Generated from `#/components/schemas/TemplatesInstallation/channel`. - public var channel: Swift.String - /// - Remark: Generated from `#/components/schemas/TemplatesInstallation/text`. - public var text: Swift.String - /// Creates a new `TemplatesInstallation`. + /// - Remark: Generated from `#/components/schemas/UserPreferences`. + public struct UserPreferences: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload`. + public struct categoriesPayloadPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channelsPayload`. + public struct channelsPayloadPayload: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channelsPayload/enabled`. + public var enabled: Swift.Bool? + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channelsPayload/name`. + public var name: Swift.String? + /// Creates a new `channelsPayloadPayload`. + /// + /// - Parameters: + /// - enabled: + /// - name: + public init( + enabled: Swift.Bool? = nil, + name: Swift.String? = nil + ) { + self.enabled = enabled + self.name = name + } + public enum CodingKeys: String, CodingKey { + case enabled + case name + } + } + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channels`. + public typealias channelsPayload = [Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload] + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channels`. + public var channels: Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload? + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/key`. + public var key: Swift.String? + /// - Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/label`. + public var label: Swift.String? + /// Creates a new `categoriesPayloadPayload`. + /// + /// - Parameters: + /// - channels: + /// - key: + /// - label: + public init( + channels: Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload? = nil, + key: Swift.String? = nil, + label: Swift.String? = nil + ) { + self.channels = channels + self.key = key + self.label = label + } + public enum CodingKeys: String, CodingKey { + case channels + case key + case label + } + } + /// - Remark: Generated from `#/components/schemas/UserPreferences/categories`. + public typealias categoriesPayload = [Components.Schemas.UserPreferences.categoriesPayloadPayload] + /// - Remark: Generated from `#/components/schemas/UserPreferences/categories`. + public var categories: Components.Schemas.UserPreferences.categoriesPayload? + /// Creates a new `UserPreferences`. /// /// - Parameters: - /// - category: - /// - channel: - /// - text: - public init( - category: Swift.String? = nil, - channel: Swift.String, - text: Swift.String - ) { - self.category = category - self.channel = channel - self.text = text + /// - categories: + public init(categories: Components.Schemas.UserPreferences.categoriesPayload? = nil) { + self.categories = categories } public enum CodingKeys: String, CodingKey { - case category - case channel - case text + case categories } } /// - Remark: Generated from `#/components/schemas/WebPushStartInstallationResponse`. @@ -2214,10 +2816,16 @@ public enum Components { } /// - Remark: Generated from `#/components/schemas/WebPushToken`. public struct WebPushToken: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/WebPushToken/created_at`. + public var created_at: Foundation.Date + /// - Remark: Generated from `#/components/schemas/WebPushToken/discarded_at`. + public var discarded_at: Foundation.Date? /// The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. /// /// - Remark: Generated from `#/components/schemas/WebPushToken/endpoint`. public var endpoint: Swift.String + /// - Remark: Generated from `#/components/schemas/WebPushToken/id`. + public var id: Swift.String /// The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. /// /// - Remark: Generated from `#/components/schemas/WebPushToken/keys`. @@ -2225,19 +2833,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 @@ -2251,55 +2859,90 @@ public enum Components { /// /// - Remark: Generated from `#/components/schemas/WebPushToken/keys`. public var keys: Components.Schemas.WebPushToken.keysPayload + /// - Remark: Generated from `#/components/schemas/WebPushToken/updated_at`. + public var updated_at: Foundation.Date? /// Creates a new `WebPushToken`. /// /// - Parameters: + /// - created_at: + /// - discarded_at: /// - endpoint: The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. + /// - id: /// - keys: The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. + /// - updated_at: public init( + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, endpoint: Swift.String, - keys: Components.Schemas.WebPushToken.keysPayload + id: Swift.String, + keys: Components.Schemas.WebPushToken.keysPayload, + updated_at: Foundation.Date? = nil ) { + self.created_at = created_at + self.discarded_at = discarded_at self.endpoint = endpoint + self.id = id self.keys = keys + self.updated_at = updated_at } public enum CodingKeys: String, CodingKey { + case created_at + case discarded_at case endpoint + case id case keys + case updated_at } } - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse`. - public struct WebPushTokenResponse: Codable, Hashable, Sendable { - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/created_at`. - public var created_at: Foundation.Date - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/discarded_at`. - public var discarded_at: Foundation.Date? - /// The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. - /// - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/endpoint`. - public var endpoint: Swift.String - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/id`. - public var id: Swift.String - /// The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. + /// - Remark: Generated from `#/components/schemas/WebPushTokenCollection`. + public struct WebPushTokenCollection: Codable, Hashable, Sendable { + /// - Remark: Generated from `#/components/schemas/WebPushTokenCollection/data`. + public var data: [Components.Schemas.WebPushToken]? + /// - Remark: Generated from `#/components/schemas/WebPushTokenCollection/links`. + public var links: Components.Schemas.Links? + /// Creates a new `WebPushTokenCollection`. /// - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys`. - public struct keysPayload: Codable, Hashable, Sendable { - /// 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 - /// 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 - /// Creates a new `keysPayload`. + /// - Parameters: + /// - data: + /// - links: + public init( + data: [Components.Schemas.WebPushToken]? = nil, + links: Components.Schemas.Links? = nil + ) { + self.data = data + self.links = links + } + public enum CodingKeys: String, CodingKey { + case data + case links + } + } + /// - Remark: Generated from `#/components/schemas/WebPushTokenPayload`. + public struct WebPushTokenPayload: Codable, Hashable, Sendable { + /// The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. + /// + /// - Remark: Generated from `#/components/schemas/WebPushTokenPayload/endpoint`. + public var endpoint: Swift.String + /// The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. + /// + /// - Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys`. + public struct keysPayload: Codable, Hashable, Sendable { + /// The authentication secret obtained from PushSubscription.getKey('auth'). Used to encrypt push messages for this subscription. + /// + /// - Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys/auth`. + 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/WebPushTokenPayload/keys/p256dh`. + 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 @@ -2311,41 +2954,23 @@ public enum Components { } /// The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. /// - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys`. - public var keys: Components.Schemas.WebPushTokenResponse.keysPayload - /// - Remark: Generated from `#/components/schemas/WebPushTokenResponse/updated_at`. - public var updated_at: Foundation.Date? - /// Creates a new `WebPushTokenResponse`. + /// - Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys`. + public var keys: Components.Schemas.WebPushTokenPayload.keysPayload + /// Creates a new `WebPushTokenPayload`. /// /// - Parameters: - /// - created_at: - /// - discarded_at: /// - endpoint: The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. - /// - id: /// - keys: The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. - /// - updated_at: public init( - created_at: Foundation.Date, - discarded_at: Foundation.Date? = nil, endpoint: Swift.String, - id: Swift.String, - keys: Components.Schemas.WebPushTokenResponse.keysPayload, - updated_at: Foundation.Date? = nil + keys: Components.Schemas.WebPushTokenPayload.keysPayload ) { - self.created_at = created_at - self.discarded_at = discarded_at self.endpoint = endpoint - self.id = id self.keys = keys - self.updated_at = updated_at } public enum CodingKeys: String, CodingKey { - case created_at - case discarded_at case endpoint - case id case keys - case updated_at } } } @@ -2361,20 +2986,22 @@ public enum Components { /// API operations, with input and output types, generated from `#/paths` in the OpenAPI document. public enum Operations { - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Inbox tokens /// - /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. - public enum get_mobile_push_apns_tokens { - public static let id: Swift.String = "get_mobile_push_apns_tokens" + /// Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + public enum list_inbox_tokens { + public static let id: Swift.String = "list_inbox_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query`. public struct Query: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query/limit`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query/limit`. public var limit: Swift.Int? - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query/starting_after`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query/starting_after`. public var starting_after: Swift.String? - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query/ending_before`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query/ending_before`. public var ending_before: Swift.String? /// Creates a new `Query`. /// @@ -2392,27 +3019,27 @@ public enum Operations { self.ending_before = ending_before } } - public var query: Operations.get_mobile_push_apns_tokens.Input.Query - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/header`. + public var query: Operations.list_inbox_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_mobile_push_apns_tokens.Input.Headers + public var headers: Operations.list_inbox_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - query: /// - headers: public init( - query: Operations.get_mobile_push_apns_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_apns_tokens.Input.Headers = .init() + query: Operations.list_inbox_tokens.Input.Query = .init(), + headers: Operations.list_inbox_tokens.Input.Headers = .init() ) { self.query = query self.headers = headers @@ -2420,15 +3047,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ArrayOfAPNSTokenResponses) + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.InboxTokenResponseCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ArrayOfAPNSTokenResponses { + public var json: Components.Schemas.InboxTokenResponseCollection { get throws { switch self { case let .json(body): @@ -2438,26 +3065,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_mobile_push_apns_tokens.Output.Ok.Body + public var body: Operations.list_inbox_tokens.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_mobile_push_apns_tokens.Output.Ok.Body) { + public init(body: Operations.list_inbox_tokens.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)/responses/200`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_mobile_push_apns_tokens.Output.Ok) + case ok(Operations.list_inbox_tokens.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_mobile_push_apns_tokens.Output.Ok { + public var ok: Operations.list_inbox_tokens.Output.Ok { get throws { switch self { case let .ok(response): @@ -2501,55 +3128,57 @@ public enum Operations { } } } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save an Inbox token + /// + /// Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/apns/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. - public enum save_mobile_push_apns_token { - public static let id: Swift.String = "save_mobile_push_apns_token" + /// - Remark: HTTP `PUT /channels/in_app/inbox/tokens`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + public enum save_inbox_token { + public static let id: Swift.String = "save_inbox_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/header`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_mobile_push_apns_token.Input.Headers - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/requestBody`. + public var headers: Operations.save_inbox_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/requestBody/content/application\/json`. - case json(Components.Schemas.APNSToken) + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.InboxToken) } - public var body: Operations.save_mobile_push_apns_token.Input.Body? + public var body: Operations.save_inbox_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_mobile_push_apns_token.Input.Headers = .init(), - body: Operations.save_mobile_push_apns_token.Input.Body? = nil + headers: Operations.save_inbox_token.Input.Headers = .init(), + body: Operations.save_inbox_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/responses/201/content/application\/json`. - case json(Components.Schemas.APNSToken) + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.InboxToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.APNSToken { + public var json: Components.Schemas.InboxToken { get throws { switch self { case let .json(body): @@ -2559,33 +3188,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_mobile_push_apns_token.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_inbox_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_mobile_push_apns_token.Output.Created.Body) { + public init(body: Operations.save_inbox_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)/responses/201`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_mobile_push_apns_token.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_inbox_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_mobile_push_apns_token.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_inbox_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -2622,16 +3251,18 @@ public enum Operations { } } } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an Inbox token /// - /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. - public enum get_mobile_push_apns_token { - public static let id: Swift.String = "get_mobile_push_apns_token" + /// Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + public enum fetch_inbox_token { + public static let id: Swift.String = "fetch_inbox_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/path`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/path/token_id`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -2641,27 +3272,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.get_mobile_push_apns_token.Input.Path - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/header`. + public var path: Operations.fetch_inbox_token.Input.Path + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_mobile_push_apns_token.Input.Headers + public var headers: Operations.fetch_inbox_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.get_mobile_push_apns_token.Input.Path, - headers: Operations.get_mobile_push_apns_token.Input.Headers = .init() + path: Operations.fetch_inbox_token.Input.Path, + headers: Operations.fetch_inbox_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -2669,15 +3300,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content/application\/json`. - case json(Components.Schemas.APNSTokenResponse) + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.InboxTokenResponse) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.APNSTokenResponse { + public var json: Components.Schemas.InboxTokenResponse { get throws { switch self { case let .json(body): @@ -2687,26 +3318,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_mobile_push_apns_token.Output.Ok.Body + public var body: Operations.fetch_inbox_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_mobile_push_apns_token.Output.Ok.Body) { + public init(body: Operations.fetch_inbox_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_mobile_push_apns_token.Output.Ok) + case ok(Operations.fetch_inbox_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_mobile_push_apns_token.Output.Ok { + public var ok: Operations.fetch_inbox_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -2750,16 +3381,18 @@ public enum Operations { } } } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an Inbox token /// - /// - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. - public enum discard_mobile_push_apns_token { - public static let id: Swift.String = "discard_mobile_push_apns_token" + /// Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + public enum delete_inbox_token { + public static let id: Swift.String = "delete_inbox_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/path`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/path/token_id`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -2769,27 +3402,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.discard_mobile_push_apns_token.Input.Path - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/header`. + public var path: Operations.delete_inbox_token.Input.Path + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.discard_mobile_push_apns_token.Input.Headers + public var headers: Operations.delete_inbox_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.discard_mobile_push_apns_token.Input.Path, - headers: Operations.discard_mobile_push_apns_token.Input.Headers = .init() + path: Operations.delete_inbox_token.Input.Path, + headers: Operations.delete_inbox_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -2797,9 +3430,9 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + /// - Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/responses/200/content/application\/json`. case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// @@ -2815,26 +3448,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.discard_mobile_push_apns_token.Output.Ok.Body + public var body: Operations.delete_inbox_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.discard_mobile_push_apns_token.Output.Ok.Body) { + public init(body: Operations.delete_inbox_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.discard_mobile_push_apns_token.Output.Ok) + case ok(Operations.delete_inbox_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.discard_mobile_push_apns_token.Output.Ok { + public var ok: Operations.delete_inbox_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -2878,20 +3511,22 @@ public enum Operations { } } } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all APNs tokens /// - /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. - public enum get_mobile_push_expo_tokens { - public static let id: Swift.String = "get_mobile_push_expo_tokens" + /// Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. + public enum list_apns_tokens { + public static let id: Swift.String = "list_apns_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query`. public struct Query: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query/limit`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query/limit`. public var limit: Swift.Int? - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query/starting_after`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query/starting_after`. public var starting_after: Swift.String? - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query/ending_before`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/query/ending_before`. public var ending_before: Swift.String? /// Creates a new `Query`. /// @@ -2909,27 +3544,27 @@ public enum Operations { self.ending_before = ending_before } } - public var query: Operations.get_mobile_push_expo_tokens.Input.Query - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/header`. + public var query: Operations.list_apns_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_mobile_push_expo_tokens.Input.Headers + public var headers: Operations.list_apns_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - query: /// - headers: public init( - query: Operations.get_mobile_push_expo_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_expo_tokens.Input.Headers = .init() + query: Operations.list_apns_tokens.Input.Query = .init(), + headers: Operations.list_apns_tokens.Input.Headers = .init() ) { self.query = query self.headers = headers @@ -2937,15 +3572,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ArrayOfExpoTokenResponses) + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.APNSTokenCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ArrayOfExpoTokenResponses { + public var json: Components.Schemas.APNSTokenCollection { get throws { switch self { case let .json(body): @@ -2955,26 +3590,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_mobile_push_expo_tokens.Output.Ok.Body + public var body: Operations.list_apns_tokens.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_mobile_push_expo_tokens.Output.Ok.Body) { + public init(body: Operations.list_apns_tokens.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_mobile_push_expo_tokens.Output.Ok) + case ok(Operations.list_apns_tokens.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_mobile_push_expo_tokens.Output.Ok { + public var ok: Operations.list_apns_tokens.Output.Ok { get throws { switch self { case let .ok(response): @@ -3018,55 +3653,57 @@ public enum Operations { } } } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save an APNs token + /// + /// Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/expo/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. - public enum save_mobile_push_expo_token { - public static let id: Swift.String = "save_mobile_push_expo_token" + /// - Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. + public enum save_apns_token { + public static let id: Swift.String = "save_apns_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/header`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_mobile_push_expo_token.Input.Headers - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/requestBody`. + public var headers: Operations.save_apns_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/requestBody/content/application\/json`. - case json(Components.Schemas.ExpoToken) + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.APNSTokenPayload) } - public var body: Operations.save_mobile_push_expo_token.Input.Body? + public var body: Operations.save_apns_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_mobile_push_expo_token.Input.Headers = .init(), - body: Operations.save_mobile_push_expo_token.Input.Body? = nil + headers: Operations.save_apns_token.Input.Headers = .init(), + body: Operations.save_apns_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/responses/201/content/application\/json`. - case json(Components.Schemas.ExpoToken) + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.APNSTokenPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ExpoToken { + public var json: Components.Schemas.APNSTokenPayload { get throws { switch self { case let .json(body): @@ -3076,33 +3713,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_mobile_push_expo_token.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_apns_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_mobile_push_expo_token.Output.Created.Body) { + public init(body: Operations.save_apns_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)/responses/201`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_mobile_push_expo_token.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_apns_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_mobile_push_expo_token.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_apns_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -3139,16 +3776,18 @@ public enum Operations { } } } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an APNs token /// - /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. - public enum get_mobile_push_expo_token { - public static let id: Swift.String = "get_mobile_push_expo_token" + /// Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. + public enum fetch_apns_token { + public static let id: Swift.String = "fetch_apns_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/path`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/path/token_id`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -3158,27 +3797,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.get_mobile_push_expo_token.Input.Path - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/header`. + public var path: Operations.fetch_apns_token.Input.Path + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_mobile_push_expo_token.Input.Headers + public var headers: Operations.fetch_apns_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.get_mobile_push_expo_token.Input.Path, - headers: Operations.get_mobile_push_expo_token.Input.Headers = .init() + path: Operations.fetch_apns_token.Input.Path, + headers: Operations.fetch_apns_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -3186,15 +3825,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ExpoTokenResponse) + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.APNSToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ExpoTokenResponse { + public var json: Components.Schemas.APNSToken { get throws { switch self { case let .json(body): @@ -3204,26 +3843,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_mobile_push_expo_token.Output.Ok.Body + public var body: Operations.fetch_apns_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_mobile_push_expo_token.Output.Ok.Body) { + public init(body: Operations.fetch_apns_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_mobile_push_expo_token.Output.Ok) + case ok(Operations.fetch_apns_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_mobile_push_expo_token.Output.Ok { + public var ok: Operations.fetch_apns_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -3267,16 +3906,18 @@ public enum Operations { } } } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an APNs token /// - /// - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. - public enum discard_mobile_push_expo_token { - public static let id: Swift.String = "discard_mobile_push_expo_token" + /// Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. + public enum delete_apns_token { + public static let id: Swift.String = "delete_apns_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/path`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/path/token_id`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -3286,27 +3927,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.discard_mobile_push_expo_token.Input.Path - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/header`. + public var path: Operations.delete_apns_token.Input.Path + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.discard_mobile_push_expo_token.Input.Headers + public var headers: Operations.delete_apns_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.discard_mobile_push_expo_token.Input.Path, - headers: Operations.discard_mobile_push_expo_token.Input.Headers = .init() + path: Operations.delete_apns_token.Input.Path, + headers: Operations.delete_apns_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -3314,9 +3955,9 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + /// - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/DELETE/responses/200/content/application\/json`. case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// @@ -3332,26 +3973,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.discard_mobile_push_expo_token.Output.Ok.Body + public var body: Operations.delete_apns_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.discard_mobile_push_expo_token.Output.Ok.Body) { + public init(body: Operations.delete_apns_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.discard_mobile_push_expo_token.Output.Ok) + case ok(Operations.delete_apns_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.discard_mobile_push_expo_token.Output.Ok { + public var ok: Operations.delete_apns_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -3395,20 +4036,22 @@ public enum Operations { } } } - /// Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Expo tokens /// - /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. - public enum get_mobile_push_fcm_tokens { - public static let id: Swift.String = "get_mobile_push_fcm_tokens" + /// Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. + public enum list_expo_tokens { + public static let id: Swift.String = "list_expo_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query`. public struct Query: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query/limit`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query/limit`. public var limit: Swift.Int? - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query/starting_after`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query/starting_after`. public var starting_after: Swift.String? - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query/ending_before`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/query/ending_before`. public var ending_before: Swift.String? /// Creates a new `Query`. /// @@ -3426,27 +4069,27 @@ public enum Operations { self.ending_before = ending_before } } - public var query: Operations.get_mobile_push_fcm_tokens.Input.Query - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/header`. + public var query: Operations.list_expo_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_mobile_push_fcm_tokens.Input.Headers + public var headers: Operations.list_expo_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - query: /// - headers: public init( - query: Operations.get_mobile_push_fcm_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_fcm_tokens.Input.Headers = .init() + query: Operations.list_expo_tokens.Input.Query = .init(), + headers: Operations.list_expo_tokens.Input.Headers = .init() ) { self.query = query self.headers = headers @@ -3454,15 +4097,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ArrayOfFCMTokenResponses) + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.ExpoTokenCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ArrayOfFCMTokenResponses { + public var json: Components.Schemas.ExpoTokenCollection { get throws { switch self { case let .json(body): @@ -3472,26 +4115,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_mobile_push_fcm_tokens.Output.Ok.Body + public var body: Operations.list_expo_tokens.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_mobile_push_fcm_tokens.Output.Ok.Body) { + public init(body: Operations.list_expo_tokens.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_mobile_push_fcm_tokens.Output.Ok) + case ok(Operations.list_expo_tokens.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_mobile_push_fcm_tokens.Output.Ok { + public var ok: Operations.list_expo_tokens.Output.Ok { get throws { switch self { case let .ok(response): @@ -3535,55 +4178,57 @@ public enum Operations { } } } - /// Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save an Expo token + /// + /// Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. /// - /// - Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. - public enum save_mobile_push_fcm_token { - public static let id: Swift.String = "save_mobile_push_fcm_token" + /// - Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. + public enum save_expo_token { + public static let id: Swift.String = "save_expo_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/header`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_mobile_push_fcm_token.Input.Headers - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/requestBody`. + public var headers: Operations.save_expo_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/requestBody/content/application\/json`. - case json(Components.Schemas.FCMToken) + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.ExpoTokenPayload) } - public var body: Operations.save_mobile_push_fcm_token.Input.Body? + public var body: Operations.save_expo_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_mobile_push_fcm_token.Input.Headers = .init(), - body: Operations.save_mobile_push_fcm_token.Input.Body? = nil + headers: Operations.save_expo_token.Input.Headers = .init(), + body: Operations.save_expo_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/responses/201/content/application\/json`. - case json(Components.Schemas.FCMToken) + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.ExpoTokenPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.FCMToken { + public var json: Components.Schemas.ExpoTokenPayload { get throws { switch self { case let .json(body): @@ -3593,33 +4238,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_mobile_push_fcm_token.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_expo_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_mobile_push_fcm_token.Output.Created.Body) { + public init(body: Operations.save_expo_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)/responses/201`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_mobile_push_fcm_token.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_expo_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_mobile_push_fcm_token.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_expo_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -3656,16 +4301,18 @@ public enum Operations { } } } - /// Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch an Expo token /// - /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. - public enum get_mobile_push_fcm_token { - public static let id: Swift.String = "get_mobile_push_fcm_token" + /// Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. + public enum fetch_expo_token { + public static let id: Swift.String = "fetch_expo_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/path`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/path/token_id`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -3675,27 +4322,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.get_mobile_push_fcm_token.Input.Path - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/header`. + public var path: Operations.fetch_expo_token.Input.Path + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_mobile_push_fcm_token.Input.Headers + public var headers: Operations.fetch_expo_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.get_mobile_push_fcm_token.Input.Path, - headers: Operations.get_mobile_push_fcm_token.Input.Headers = .init() + path: Operations.fetch_expo_token.Input.Path, + headers: Operations.fetch_expo_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -3703,15 +4350,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content/application\/json`. - case json(Components.Schemas.FCMTokenResponse) + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.ExpoToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.FCMTokenResponse { + public var json: Components.Schemas.ExpoToken { get throws { switch self { case let .json(body): @@ -3721,26 +4368,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_mobile_push_fcm_token.Output.Ok.Body + public var body: Operations.fetch_expo_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_mobile_push_fcm_token.Output.Ok.Body) { + public init(body: Operations.fetch_expo_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_mobile_push_fcm_token.Output.Ok) + case ok(Operations.fetch_expo_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_mobile_push_fcm_token.Output.Ok { + public var ok: Operations.fetch_expo_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -3784,16 +4431,18 @@ public enum Operations { } } } - /// Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete an Expo token /// - /// - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. - public enum discard_mobile_push_fcm_token { - public static let id: Swift.String = "discard_mobile_push_fcm_token" + /// Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. + public enum delete_expo_token { + public static let id: Swift.String = "delete_expo_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/path`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/path/token_id`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -3803,27 +4452,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.discard_mobile_push_fcm_token.Input.Path - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/header`. + public var path: Operations.delete_expo_token.Input.Path + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.discard_mobile_push_fcm_token.Input.Headers + public var headers: Operations.delete_expo_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.discard_mobile_push_fcm_token.Input.Path, - headers: Operations.discard_mobile_push_fcm_token.Input.Headers = .init() + path: Operations.delete_expo_token.Input.Path, + headers: Operations.delete_expo_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -3831,9 +4480,9 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + /// - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/DELETE/responses/200/content/application\/json`. case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// @@ -3849,26 +4498,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.discard_mobile_push_fcm_token.Output.Ok.Body + public var body: Operations.delete_expo_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.discard_mobile_push_fcm_token.Output.Ok.Body) { + public init(body: Operations.delete_expo_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.discard_mobile_push_fcm_token.Output.Ok) + case ok(Operations.delete_expo_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.discard_mobile_push_fcm_token.Output.Ok { + public var ok: Operations.delete_expo_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -3912,20 +4561,22 @@ public enum Operations { } } } - /// Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all FCM tokens /// - /// - Remark: HTTP `GET /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. - public enum get_slack_tokens { - public static let id: Swift.String = "get_slack_tokens" + /// Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. + public enum list_fcm_tokens { + public static let id: Swift.String = "list_fcm_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query`. public struct Query: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query/limit`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query/limit`. public var limit: Swift.Int? - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query/starting_after`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query/starting_after`. public var starting_after: Swift.String? - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query/ending_before`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/query/ending_before`. public var ending_before: Swift.String? /// Creates a new `Query`. /// @@ -3943,27 +4594,27 @@ public enum Operations { self.ending_before = ending_before } } - public var query: Operations.get_slack_tokens.Input.Query - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/header`. + public var query: Operations.list_fcm_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_slack_tokens.Input.Headers + public var headers: Operations.list_fcm_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - query: /// - headers: public init( - query: Operations.get_slack_tokens.Input.Query = .init(), - headers: Operations.get_slack_tokens.Input.Headers = .init() + query: Operations.list_fcm_tokens.Input.Query = .init(), + headers: Operations.list_fcm_tokens.Input.Headers = .init() ) { self.query = query self.headers = headers @@ -3971,15 +4622,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ArrayOfSlackTokenResponses) + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.FCMTokenCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ArrayOfSlackTokenResponses { + public var json: Components.Schemas.FCMTokenCollection { get throws { switch self { case let .json(body): @@ -3989,26 +4640,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_slack_tokens.Output.Ok.Body + public var body: Operations.list_fcm_tokens.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_slack_tokens.Output.Ok.Body) { + public init(body: Operations.list_fcm_tokens.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_slack_tokens.Output.Ok) + case ok(Operations.list_fcm_tokens.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_slack_tokens.Output.Ok { + public var ok: Operations.list_fcm_tokens.Output.Ok { get throws { switch self { case let .ok(response): @@ -4052,55 +4703,57 @@ public enum Operations { } } } - /// Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a FCM token /// - /// - Remark: HTTP `POST /channels/slack/tokens`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. - public enum save_slack_token { - public static let id: Swift.String = "save_slack_token" + /// Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + public enum save_fcm_token { + public static let id: Swift.String = "save_fcm_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/POST/header`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_slack_token.Input.Headers - /// - Remark: Generated from `#/paths/channels/slack/tokens/POST/requestBody`. + public var headers: Operations.save_fcm_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/POST/requestBody/content/application\/json`. - case json(Components.Schemas.SlackToken) + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.FCMTokenPayload) } - public var body: Operations.save_slack_token.Input.Body? + public var body: Operations.save_fcm_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_slack_token.Input.Headers = .init(), - body: Operations.save_slack_token.Input.Body? = nil + headers: Operations.save_fcm_token.Input.Headers = .init(), + body: Operations.save_fcm_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/POST/responses/201/content/application\/json`. - case json(Components.Schemas.SlackToken) + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.FCMTokenPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.SlackToken { + public var json: Components.Schemas.FCMTokenPayload { get throws { switch self { case let .json(body): @@ -4110,33 +4763,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_slack_token.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_fcm_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_slack_token.Output.Created.Body) { + public init(body: Operations.save_fcm_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)/responses/201`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_slack_token.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_fcm_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_slack_token.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_fcm_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -4173,16 +4826,18 @@ public enum Operations { } } } - /// Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a FCM token /// - /// - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. - public enum get_slack_token { - public static let id: Swift.String = "get_slack_token" + /// Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. + public enum fetch_fcm_token { + public static let id: Swift.String = "fetch_fcm_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/path`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/path/token_id`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -4192,27 +4847,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.get_slack_token.Input.Path - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/header`. + public var path: Operations.fetch_fcm_token.Input.Path + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_slack_token.Input.Headers + public var headers: Operations.fetch_fcm_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.get_slack_token.Input.Path, - headers: Operations.get_slack_token.Input.Headers = .init() + path: Operations.fetch_fcm_token.Input.Path, + headers: Operations.fetch_fcm_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -4220,15 +4875,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/responses/200/content/application\/json`. - case json(Components.Schemas.SlackTokenResponse) + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.FCMToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.SlackTokenResponse { + public var json: Components.Schemas.FCMToken { get throws { switch self { case let .json(body): @@ -4238,26 +4893,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_slack_token.Output.Ok.Body + public var body: Operations.fetch_fcm_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_slack_token.Output.Ok.Body) { + public init(body: Operations.fetch_fcm_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_slack_token.Output.Ok) + case ok(Operations.fetch_fcm_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_slack_token.Output.Ok { + public var ok: Operations.fetch_fcm_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -4301,16 +4956,18 @@ public enum Operations { } } } - /// Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a FCM token /// - /// - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. - public enum discard_slack_token { - public static let id: Swift.String = "discard_slack_token" + /// Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. + public enum delete_fcm_token { + public static let id: Swift.String = "delete_fcm_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/path`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/path/token_id`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -4320,27 +4977,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.discard_slack_token.Input.Path - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/header`. + public var path: Operations.delete_fcm_token.Input.Path + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.discard_slack_token.Input.Headers + public var headers: Operations.delete_fcm_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.discard_slack_token.Input.Path, - headers: Operations.discard_slack_token.Input.Headers = .init() + path: Operations.delete_fcm_token.Input.Path, + headers: Operations.delete_fcm_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -4348,9 +5005,9 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + /// - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/DELETE/responses/200/content/application\/json`. case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// @@ -4366,26 +5023,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.discard_slack_token.Output.Ok.Body + public var body: Operations.delete_fcm_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.discard_slack_token.Output.Ok.Body) { + public init(body: Operations.delete_fcm_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.discard_slack_token.Output.Ok) + case ok(Operations.delete_fcm_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.discard_slack_token.Output.Ok { + public var ok: Operations.delete_fcm_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -4429,20 +5086,22 @@ public enum Operations { } } } - /// Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Slack tokens /// - /// - Remark: HTTP `GET /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. - public enum get_teams_tokens { - public static let id: Swift.String = "get_teams_tokens" + /// Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/slack/tokens`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. + public enum list_slack_tokens { + public static let id: Swift.String = "list_slack_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query`. public struct Query: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query/limit`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query/limit`. public var limit: Swift.Int? - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query/starting_after`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query/starting_after`. public var starting_after: Swift.String? - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query/ending_before`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/query/ending_before`. public var ending_before: Swift.String? /// Creates a new `Query`. /// @@ -4460,27 +5119,27 @@ public enum Operations { self.ending_before = ending_before } } - public var query: Operations.get_teams_tokens.Input.Query - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/header`. + public var query: Operations.list_slack_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_teams_tokens.Input.Headers + public var headers: Operations.list_slack_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - query: /// - headers: public init( - query: Operations.get_teams_tokens.Input.Query = .init(), - headers: Operations.get_teams_tokens.Input.Headers = .init() + query: Operations.list_slack_tokens.Input.Query = .init(), + headers: Operations.list_slack_tokens.Input.Headers = .init() ) { self.query = query self.headers = headers @@ -4488,15 +5147,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ArrayOfTeamsTokenResponses) + /// - Remark: Generated from `#/paths/channels/slack/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.SlackTokenCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ArrayOfTeamsTokenResponses { + public var json: Components.Schemas.SlackTokenCollection { get throws { switch self { case let .json(body): @@ -4506,26 +5165,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_teams_tokens.Output.Ok.Body + public var body: Operations.list_slack_tokens.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_teams_tokens.Output.Ok.Body) { + public init(body: Operations.list_slack_tokens.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)/responses/200`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_teams_tokens.Output.Ok) + case ok(Operations.list_slack_tokens.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_teams_tokens.Output.Ok { + public var ok: Operations.list_slack_tokens.Output.Ok { get throws { switch self { case let .ok(response): @@ -4569,55 +5228,57 @@ public enum Operations { } } } - /// Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Slack token /// - /// - Remark: HTTP `POST /channels/teams/tokens`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. - public enum save_teams_token { - public static let id: Swift.String = "save_teams_token" + /// Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/slack/tokens`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. + public enum save_slack_token { + public static let id: Swift.String = "save_slack_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/POST/header`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_teams_token.Input.Headers - /// - Remark: Generated from `#/paths/channels/teams/tokens/POST/requestBody`. + public var headers: Operations.save_slack_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/slack/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/POST/requestBody/content/application\/json`. - case json(Components.Schemas.TeamsToken) + /// - Remark: Generated from `#/paths/channels/slack/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.SlackTokenPayload) } - public var body: Operations.save_teams_token.Input.Body? + public var body: Operations.save_slack_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_teams_token.Input.Headers = .init(), - body: Operations.save_teams_token.Input.Body? = nil + headers: Operations.save_slack_token.Input.Headers = .init(), + body: Operations.save_slack_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/slack/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/POST/responses/201/content/application\/json`. - case json(Components.Schemas.TeamsToken) + /// - Remark: Generated from `#/paths/channels/slack/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.SlackTokenPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.TeamsToken { + public var json: Components.Schemas.SlackTokenPayload { get throws { switch self { case let .json(body): @@ -4627,33 +5288,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_teams_token.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_slack_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_teams_token.Output.Created.Body) { + public init(body: Operations.save_slack_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)/responses/201`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_teams_token.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_slack_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_teams_token.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_slack_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -4690,16 +5351,18 @@ public enum Operations { } } } - /// Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Slack token /// - /// - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. - public enum get_teams_token { - public static let id: Swift.String = "get_teams_token" + /// Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. + public enum fetch_slack_token { + public static let id: Swift.String = "fetch_slack_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/path`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/path/token_id`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -4709,27 +5372,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.get_teams_token.Input.Path - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/header`. + public var path: Operations.fetch_slack_token.Input.Path + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_teams_token.Input.Headers + public var headers: Operations.fetch_slack_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.get_teams_token.Input.Path, - headers: Operations.get_teams_token.Input.Headers = .init() + path: Operations.fetch_slack_token.Input.Path, + headers: Operations.fetch_slack_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -4737,15 +5400,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/responses/200/content/application\/json`. - case json(Components.Schemas.TeamsTokenResponse) + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.SlackToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.TeamsTokenResponse { + public var json: Components.Schemas.SlackToken { get throws { switch self { case let .json(body): @@ -4755,26 +5418,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_teams_token.Output.Ok.Body + public var body: Operations.fetch_slack_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_teams_token.Output.Ok.Body) { + public init(body: Operations.fetch_slack_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_teams_token.Output.Ok) + case ok(Operations.fetch_slack_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_teams_token.Output.Ok { + public var ok: Operations.fetch_slack_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -4818,16 +5481,18 @@ public enum Operations { } } } - /// Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Slack token /// - /// - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. - public enum discard_teams_token { - public static let id: Swift.String = "discard_teams_token" + /// Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. + public enum delete_slack_token { + public static let id: Swift.String = "delete_slack_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/path`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/path/token_id`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -4837,27 +5502,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.discard_teams_token.Input.Path - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/header`. + public var path: Operations.delete_slack_token.Input.Path + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.discard_teams_token.Input.Headers + public var headers: Operations.delete_slack_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.discard_teams_token.Input.Path, - headers: Operations.discard_teams_token.Input.Headers = .init() + path: Operations.delete_slack_token.Input.Path, + headers: Operations.delete_slack_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -4865,9 +5530,9 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + /// - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/DELETE/responses/200/content/application\/json`. case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// @@ -4883,26 +5548,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.discard_teams_token.Output.Ok.Body + public var body: Operations.delete_slack_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.discard_teams_token.Output.Ok.Body) { + public init(body: Operations.delete_slack_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.discard_teams_token.Output.Ok) + case ok(Operations.delete_slack_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.discard_teams_token.Output.Ok { + public var ok: Operations.delete_slack_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -4946,20 +5611,22 @@ public enum Operations { } } } - /// Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// List all Teams tokens /// - /// - Remark: HTTP `GET /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. - public enum get_web_push_tokens { - public static let id: Swift.String = "get_web_push_tokens" + /// Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/teams/tokens`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. + public enum list_teams_tokens { + public static let id: Swift.String = "list_teams_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query`. public struct Query: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query/limit`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query/limit`. public var limit: Swift.Int? - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query/starting_after`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query/starting_after`. public var starting_after: Swift.String? - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query/ending_before`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/query/ending_before`. public var ending_before: Swift.String? /// Creates a new `Query`. /// @@ -4977,27 +5644,27 @@ public enum Operations { self.ending_before = ending_before } } - public var query: Operations.get_web_push_tokens.Input.Query - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/header`. + public var query: Operations.list_teams_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_web_push_tokens.Input.Headers + public var headers: Operations.list_teams_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - query: /// - headers: public init( - query: Operations.get_web_push_tokens.Input.Query = .init(), - headers: Operations.get_web_push_tokens.Input.Headers = .init() + query: Operations.list_teams_tokens.Input.Query = .init(), + headers: Operations.list_teams_tokens.Input.Headers = .init() ) { self.query = query self.headers = headers @@ -5005,15 +5672,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/responses/200/content/application\/json`. - case json(Components.Schemas.ArrayOfWebPushTokenResponses) + /// - Remark: Generated from `#/paths/channels/teams/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.TeamsTokenCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.ArrayOfWebPushTokenResponses { + public var json: Components.Schemas.TeamsTokenCollection { get throws { switch self { case let .json(body): @@ -5023,26 +5690,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_web_push_tokens.Output.Ok.Body + public var body: Operations.list_teams_tokens.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_web_push_tokens.Output.Ok.Body) { + public init(body: Operations.list_teams_tokens.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)/responses/200`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_web_push_tokens.Output.Ok) + case ok(Operations.list_teams_tokens.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_web_push_tokens.Output.Ok { + public var ok: Operations.list_teams_tokens.Output.Ok { get throws { switch self { case let .ok(response): @@ -5086,55 +5753,57 @@ public enum Operations { } } } - /// Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// Save a Teams token /// - /// - Remark: HTTP `POST /channels/web_push/tokens`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. - public enum save_web_push_token { - public static let id: Swift.String = "save_web_push_token" + /// Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/teams/tokens`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. + public enum save_teams_token { + public static let id: Swift.String = "save_teams_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/POST/header`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_web_push_token.Input.Headers - /// - Remark: Generated from `#/paths/channels/web_push/tokens/POST/requestBody`. + public var headers: Operations.save_teams_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/teams/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/POST/requestBody/content/application\/json`. - case json(Components.Schemas.WebPushToken) + /// - Remark: Generated from `#/paths/channels/teams/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.TeamsTokenPayload) } - public var body: Operations.save_web_push_token.Input.Body? + public var body: Operations.save_teams_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_web_push_token.Input.Headers = .init(), - body: Operations.save_web_push_token.Input.Body? = nil + headers: Operations.save_teams_token.Input.Headers = .init(), + body: Operations.save_teams_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/teams/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/POST/responses/201/content/application\/json`. - case json(Components.Schemas.WebPushToken) + /// - Remark: Generated from `#/paths/channels/teams/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.TeamsTokenPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.WebPushToken { + public var json: Components.Schemas.TeamsTokenPayload { get throws { switch self { case let .json(body): @@ -5144,33 +5813,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_web_push_token.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_teams_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_web_push_token.Output.Created.Body) { + public init(body: Operations.save_teams_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)/responses/201`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_web_push_token.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_teams_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_web_push_token.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_teams_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -5207,16 +5876,18 @@ public enum Operations { } } } - /// Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// Fetch a Teams token /// - /// - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. - public enum get_web_push_token { - public static let id: Swift.String = "get_web_push_token" + /// Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. + public enum fetch_teams_token { + public static let id: Swift.String = "fetch_teams_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/path`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/path/token_id`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -5226,27 +5897,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.get_web_push_token.Input.Path - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/header`. + public var path: Operations.fetch_teams_token.Input.Path + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.get_web_push_token.Input.Headers + public var headers: Operations.fetch_teams_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.get_web_push_token.Input.Path, - headers: Operations.get_web_push_token.Input.Headers = .init() + path: Operations.fetch_teams_token.Input.Path, + headers: Operations.fetch_teams_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -5254,15 +5925,15 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/responses/200/content/application\/json`. - case json(Components.Schemas.WebPushTokenResponse) + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.TeamsToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.WebPushTokenResponse { + public var json: Components.Schemas.TeamsToken { get throws { switch self { case let .json(body): @@ -5272,26 +5943,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.get_web_push_token.Output.Ok.Body + public var body: Operations.fetch_teams_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.get_web_push_token.Output.Ok.Body) { + public init(body: Operations.fetch_teams_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.get_web_push_token.Output.Ok) + case ok(Operations.fetch_teams_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.get_web_push_token.Output.Ok { + public var ok: Operations.fetch_teams_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -5335,16 +6006,18 @@ public enum Operations { } } } - /// Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// Delete a Teams token /// - /// - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. - public enum discard_web_push_token { - public static let id: Swift.String = "discard_web_push_token" + /// Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + public enum delete_teams_token { + public static let id: Swift.String = "delete_teams_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/path`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/path`. public struct Path: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/path/token_id`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/path/token_id`. public var token_id: Swift.String /// Creates a new `Path`. /// @@ -5354,27 +6027,27 @@ public enum Operations { self.token_id = token_id } } - public var path: Operations.discard_web_push_token.Input.Path - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/header`. + public var path: Operations.delete_teams_token.Input.Path + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.discard_web_push_token.Input.Headers + public var headers: Operations.delete_teams_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - path: /// - headers: public init( - path: Operations.discard_web_push_token.Input.Path, - headers: Operations.discard_web_push_token.Input.Headers = .init() + path: Operations.delete_teams_token.Input.Path, + headers: Operations.delete_teams_token.Input.Headers = .init() ) { self.path = path self.headers = headers @@ -5382,9 +6055,9 @@ public enum Operations { } @frozen public enum Output: Sendable, Hashable { public struct Ok: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/responses/200/content`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + /// - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/DELETE/responses/200/content/application\/json`. case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// @@ -5400,26 +6073,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.discard_web_push_token.Output.Ok.Body + public var body: Operations.delete_teams_token.Output.Ok.Body /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.discard_web_push_token.Output.Ok.Body) { + public init(body: Operations.delete_teams_token.Output.Ok.Body) { self.body = body } } /// OK /// - /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)/responses/200`. + /// - Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)/responses/200`. /// /// HTTP response code: `200 ok`. - case ok(Operations.discard_web_push_token.Output.Ok) + case ok(Operations.delete_teams_token.Output.Ok) /// The associated value of the enum case if `self` is `.ok`. /// /// - Throws: An error if `self` is not `.ok`. /// - SeeAlso: `.ok`. - public var ok: Operations.discard_web_push_token.Output.Ok { + public var ok: Operations.delete_teams_token.Output.Ok { get throws { switch self { case let .ok(response): @@ -5463,55 +6136,46 @@ public enum Operations { } } } - /// Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Fetch channel preferences /// - /// - Remark: HTTP `POST /integrations/inbox/installations`. - /// - Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. - public enum save_inbox_installation { - public static let id: Swift.String = "save_inbox_installation" + /// Fetch a user's channel delivery preferences. + /// + /// - Remark: HTTP `GET /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + public enum fetch_user_preferences { + public static let id: Swift.String = "fetch_user_preferences" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/POST/header`. + /// - Remark: Generated from `#/paths/channels/user_preferences/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_inbox_installation.Input.Headers - /// - Remark: Generated from `#/paths/integrations/inbox/installations/POST/requestBody`. - @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/POST/requestBody/content/application\/json`. - case json(Components.Schemas.InboxConfig) - } - public var body: Operations.save_inbox_installation.Input.Body? + public var headers: Operations.fetch_user_preferences.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - headers: - /// - body: - public init( - headers: Operations.save_inbox_installation.Input.Headers = .init(), - body: Operations.save_inbox_installation.Input.Body? = nil - ) { + public init(headers: Operations.fetch_user_preferences.Input.Headers = .init()) { self.headers = headers - self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/user_preferences/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/POST/responses/201/content/application\/json`. - case json(Components.Schemas.InboxConfig) + /// - Remark: Generated from `#/paths/channels/user_preferences/GET/responses/200/content/application\/json`. + case json(Components.Schemas.UserPreferences) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.InboxConfig { + public var json: Components.Schemas.UserPreferences { get throws { switch self { case let .json(body): @@ -5521,33 +6185,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_inbox_installation.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.fetch_user_preferences.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_inbox_installation.Output.Created.Body) { + public init(body: Operations.fetch_user_preferences.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)/responses/201`. + /// - Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_inbox_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.fetch_user_preferences.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_inbox_installation.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.fetch_user_preferences.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -5584,80 +6248,60 @@ public enum Operations { } } } - /// Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Save channel preferences /// - /// - Remark: HTTP `POST /integrations/inbox/installations/start`. - /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. - public enum start_inbox_installation { - public static let id: Swift.String = "start_inbox_installation" + /// Save a user's channel preferences. + /// + /// - Remark: HTTP `PUT /channels/user_preferences`. + /// - Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + public enum save_user_preferences { + public static let id: Swift.String = "save_user_preferences" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/header`. - public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] - /// Creates a new `Headers`. - /// - /// - Parameters: - /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { - self.accept = accept - } + /// - Remark: Generated from `#/paths/channels/user_preferences/PUT/requestBody`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/user_preferences/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.UserPreferences) } - public var headers: Operations.start_inbox_installation.Input.Headers + public var body: Operations.save_user_preferences.Input.Body? /// Creates a new `Input`. /// /// - Parameters: - /// - headers: - public init(headers: Operations.start_inbox_installation.Input.Headers = .init()) { - self.headers = headers + /// - body: + public init(body: Operations.save_user_preferences.Input.Body? = nil) { + self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/responses/201/content`. - @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/responses/201/content/application\/json`. - case json(Components.Schemas.InboxConfig) - /// The associated value of the enum case if `self` is `.json`. - /// - /// - Throws: An error if `self` is not `.json`. - /// - SeeAlso: `.json`. - public var json: Components.Schemas.InboxConfig { - get throws { - switch self { - case let .json(body): - return body - } - } - } - } - /// Received HTTP response body - public var body: Operations.start_inbox_installation.Output.Created.Body - /// Creates a new `Created`. - /// - /// - Parameters: - /// - body: Received HTTP response body - public init(body: Operations.start_inbox_installation.Output.Created.Body) { - self.body = body - } + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} } - /// Created + /// No Content /// - /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)/responses/201`. + /// - Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)/responses/204`. /// - /// HTTP response code: `201 created`. - case created(Operations.start_inbox_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `204 noContent`. + case noContent(Operations.save_user_preferences.Output.NoContent) + /// No Content /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.start_inbox_installation.Output.Created { + /// - Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.save_user_preferences.Output.NoContent { get throws { switch self { - case let .created(response): + case let .noContent(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "noContent", response: self ) } @@ -5668,81 +6312,77 @@ public enum Operations { /// A response with a code that is not documented in the OpenAPI document. case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) } - @frozen public enum AcceptableContentType: AcceptableProtocol { - case json - case other(Swift.String) - public init?(rawValue: Swift.String) { - switch rawValue.lowercased() { - case "application/json": - self = .json - default: - self = .other(rawValue) - } - } - public var rawValue: Swift.String { - switch self { - case let .other(string): - return string - case .json: - return "application/json" - } - } - public static var allCases: [Self] { - [ - .json - ] - } - } } - /// Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// List all Web Push tokens /// - /// - Remark: HTTP `POST /integrations/slack/installations`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. - public enum save_slack_installation { - public static let id: Swift.String = "save_slack_installation" + /// Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + /// + /// - Remark: HTTP `GET /channels/web_push/tokens`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. + public enum list_web_push_tokens { + public static let id: Swift.String = "list_web_push_tokens" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/POST/header`. + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query`. + public struct Query: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query/limit`. + public var limit: Swift.Int? + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query/starting_after`. + public var starting_after: Swift.String? + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/query/ending_before`. + public var ending_before: Swift.String? + /// Creates a new `Query`. + /// + /// - Parameters: + /// - limit: + /// - starting_after: + /// - ending_before: + public init( + limit: Swift.Int? = nil, + starting_after: Swift.String? = nil, + ending_before: Swift.String? = nil + ) { + self.limit = limit + self.starting_after = starting_after + self.ending_before = ending_before + } + } + public var query: Operations.list_web_push_tokens.Input.Query + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_slack_installation.Input.Headers - /// - Remark: Generated from `#/paths/integrations/slack/installations/POST/requestBody`. - @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/POST/requestBody/content/application\/json`. - case json(Components.Schemas.SlackInstallation) - } - public var body: Operations.save_slack_installation.Input.Body? + public var headers: Operations.list_web_push_tokens.Input.Headers /// Creates a new `Input`. /// /// - Parameters: + /// - query: /// - headers: - /// - body: public init( - headers: Operations.save_slack_installation.Input.Headers = .init(), - body: Operations.save_slack_installation.Input.Body? = nil + query: Operations.list_web_push_tokens.Input.Query = .init(), + headers: Operations.list_web_push_tokens.Input.Headers = .init() ) { + self.query = query self.headers = headers - self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/POST/responses/201/content/application\/json`. - case json(Components.Schemas.SlackInstallation) + /// - Remark: Generated from `#/paths/channels/web_push/tokens/GET/responses/200/content/application\/json`. + case json(Components.Schemas.WebPushTokenCollection) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.SlackInstallation { + public var json: Components.Schemas.WebPushTokenCollection { get throws { switch self { case let .json(body): @@ -5752,33 +6392,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_slack_installation.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.list_web_push_tokens.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_slack_installation.Output.Created.Body) { + public init(body: Operations.list_web_push_tokens.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)/responses/201`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_slack_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.list_web_push_tokens.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_slack_installation.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.list_web_push_tokens.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -5815,55 +6455,57 @@ public enum Operations { } } } - /// Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. + /// Save a Web Push token /// - /// - Remark: HTTP `POST /integrations/slack/installations/finish`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. - public enum finish_slack_installation { - public static let id: Swift.String = "finish_slack_installation" + /// Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + /// + /// - Remark: HTTP `PUT /channels/web_push/tokens`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. + public enum save_web_push_token { + public static let id: Swift.String = "save_web_push_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/header`. + /// - Remark: Generated from `#/paths/channels/web_push/tokens/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.finish_slack_installation.Input.Headers - /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/requestBody`. + public var headers: Operations.save_web_push_token.Input.Headers + /// - Remark: Generated from `#/paths/channels/web_push/tokens/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/requestBody/content/application\/json`. - case json(Components.Schemas.SlackFinishInstallResponse) + /// - Remark: Generated from `#/paths/channels/web_push/tokens/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.WebPushTokenPayload) } - public var body: Operations.finish_slack_installation.Input.Body? + public var body: Operations.save_web_push_token.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.finish_slack_installation.Input.Headers = .init(), - body: Operations.finish_slack_installation.Input.Body? = nil + headers: Operations.save_web_push_token.Input.Headers = .init(), + body: Operations.save_web_push_token.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/responses/201/content/application\/json`. - case json(Components.Schemas.SlackInstallation) + /// - Remark: Generated from `#/paths/channels/web_push/tokens/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.WebPushTokenPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.SlackInstallation { + public var json: Components.Schemas.WebPushTokenPayload { get throws { switch self { case let .json(body): @@ -5873,33 +6515,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.finish_slack_installation.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_web_push_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.finish_slack_installation.Output.Created.Body) { + public init(body: Operations.save_web_push_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)/responses/201`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.finish_slack_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_web_push_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.finish_slack_installation.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_web_push_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -5936,55 +6578,64 @@ public enum Operations { } } } - /// Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Fetch a Web Push token /// - /// - Remark: HTTP `POST /integrations/slack/installations/start`. - /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. - public enum start_slack_installation { - public static let id: Swift.String = "start_slack_installation" + /// Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + /// + /// - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. + public enum fetch_web_push_token { + public static let id: Swift.String = "fetch_web_push_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/header`. + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/path/token_id`. + public var token_id: Swift.String + /// Creates a new `Path`. + /// + /// - Parameters: + /// - token_id: + public init(token_id: Swift.String) { + self.token_id = token_id + } + } + public var path: Operations.fetch_web_push_token.Input.Path + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.start_slack_installation.Input.Headers - /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/requestBody`. - @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/requestBody/content/application\/json`. - case json(Components.Schemas.SlackStartInstall) - } - public var body: Operations.start_slack_installation.Input.Body? + public var headers: Operations.fetch_web_push_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: + /// - path: /// - headers: - /// - body: public init( - headers: Operations.start_slack_installation.Input.Headers = .init(), - body: Operations.start_slack_installation.Input.Body? = nil + path: Operations.fetch_web_push_token.Input.Path, + headers: Operations.fetch_web_push_token.Input.Headers = .init() ) { + self.path = path self.headers = headers - self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/responses/201/content/application\/json`. - case json(Components.Schemas.SlackStartInstallResponseContent) + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.WebPushToken) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.SlackStartInstallResponseContent { + public var json: Components.Schemas.WebPushToken { get throws { switch self { case let .json(body): @@ -5994,33 +6645,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.start_slack_installation.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.fetch_web_push_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.start_slack_installation.Output.Created.Body) { + public init(body: Operations.fetch_web_push_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)/responses/201`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.start_slack_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.fetch_web_push_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.start_slack_installation.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.fetch_web_push_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -6057,55 +6708,64 @@ public enum Operations { } } } - /// Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Delete a Web Push token /// - /// - Remark: HTTP `POST /integrations/templates/installations`. - /// - Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - public enum save_templates_installation { - public static let id: Swift.String = "save_templates_installation" + /// Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + /// + /// - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. + public enum delete_web_push_token { + public static let id: Swift.String = "delete_web_push_token" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/templates/installations/POST/header`. - public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] - /// Creates a new `Headers`. + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/path/token_id`. + public var token_id: Swift.String + /// Creates a new `Path`. /// /// - Parameters: - /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { - self.accept = accept + /// - token_id: + public init(token_id: Swift.String) { + self.token_id = token_id } } - public var headers: Operations.save_templates_installation.Input.Headers - /// - Remark: Generated from `#/paths/integrations/templates/installations/POST/requestBody`. - @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/templates/installations/POST/requestBody/content/application\/json`. - case json(Components.Schemas.TemplatesInstallation) + public var path: Operations.delete_web_push_token.Input.Path + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } } - public var body: Operations.save_templates_installation.Input.Body? + public var headers: Operations.delete_web_push_token.Input.Headers /// Creates a new `Input`. /// /// - Parameters: + /// - path: /// - headers: - /// - body: public init( - headers: Operations.save_templates_installation.Input.Headers = .init(), - body: Operations.save_templates_installation.Input.Body? = nil + path: Operations.delete_web_push_token.Input.Path, + headers: Operations.delete_web_push_token.Input.Headers = .init() ) { + self.path = path self.headers = headers - self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/templates/installations/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/templates/installations/POST/responses/201/content/application\/json`. - case json(Components.Schemas.TemplatesInstallation) + /// - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + case json(Components.Schemas.DiscardResult) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.TemplatesInstallation { + public var json: Components.Schemas.DiscardResult { get throws { switch self { case let .json(body): @@ -6115,33 +6775,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_templates_installation.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.delete_web_push_token.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_templates_installation.Output.Created.Body) { + public init(body: Operations.delete_web_push_token.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)/responses/201`. + /// - Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_templates_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.delete_web_push_token.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_templates_installation.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.delete_web_push_token.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -6178,55 +6838,57 @@ public enum Operations { } } } - /// Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// Save an Inbox installation /// - /// - Remark: HTTP `POST /integrations/web_push/installations`. - /// - Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. - public enum save_web_push_installation { - public static let id: Swift.String = "save_web_push_installation" + /// Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/inbox/installations`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. + public enum save_inbox_installation { + public static let id: Swift.String = "save_inbox_installation" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/POST/header`. + /// - Remark: Generated from `#/paths/integrations/inbox/installations/PUT/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.save_web_push_installation.Input.Headers - /// - Remark: Generated from `#/paths/integrations/web_push/installations/POST/requestBody`. + public var headers: Operations.save_inbox_installation.Input.Headers + /// - Remark: Generated from `#/paths/integrations/inbox/installations/PUT/requestBody`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/POST/requestBody/content/application\/json`. - case json(Components.Schemas.WebPushToken) + /// - Remark: Generated from `#/paths/integrations/inbox/installations/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.InboxConfigPayload) } - public var body: Operations.save_web_push_installation.Input.Body? + public var body: Operations.save_inbox_installation.Input.Body? /// Creates a new `Input`. /// /// - Parameters: /// - headers: /// - body: public init( - headers: Operations.save_web_push_installation.Input.Headers = .init(), - body: Operations.save_web_push_installation.Input.Body? = nil + headers: Operations.save_inbox_installation.Input.Headers = .init(), + body: Operations.save_inbox_installation.Input.Body? = nil ) { self.headers = headers self.body = body } } @frozen public enum Output: Sendable, Hashable { - public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/POST/responses/201/content`. + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/inbox/installations/PUT/responses/200/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/POST/responses/201/content/application\/json`. - case json(Components.Schemas.WebPushToken) + /// - Remark: Generated from `#/paths/integrations/inbox/installations/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.InboxConfigPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.WebPushToken { + public var json: Components.Schemas.InboxConfigPayload { get throws { switch self { case let .json(body): @@ -6236,33 +6898,33 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.save_web_push_installation.Output.Created.Body - /// Creates a new `Created`. + public var body: Operations.save_inbox_installation.Output.Ok.Body + /// Creates a new `Ok`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.save_web_push_installation.Output.Created.Body) { + public init(body: Operations.save_inbox_installation.Output.Ok.Body) { self.body = body } } - /// Created + /// OK /// - /// - Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)/responses/201`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)/responses/200`. /// - /// HTTP response code: `201 created`. - case created(Operations.save_web_push_installation.Output.Created) - /// The associated value of the enum case if `self` is `.created`. + /// HTTP response code: `200 ok`. + case ok(Operations.save_inbox_installation.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. /// - /// - Throws: An error if `self` is not `.created`. - /// - SeeAlso: `.created`. - public var created: Operations.save_web_push_installation.Output.Created { + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_inbox_installation.Output.Ok { get throws { switch self { - case let .created(response): + case let .ok(response): return response default: try throwUnexpectedResponseStatus( - expectedStatus: "created", + expectedStatus: "ok", response: self ) } @@ -6299,44 +6961,46 @@ public enum Operations { } } } - /// Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// Start an Inbox installation /// - /// - Remark: HTTP `POST /integrations/web_push/installations/start`. - /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. - public enum start_web_push_installation { - public static let id: Swift.String = "start_web_push_installation" + /// Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// + /// - Remark: HTTP `POST /integrations/inbox/installations/start`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. + public enum start_inbox_installation { + public static let id: Swift.String = "start_inbox_installation" public struct Input: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/start/POST/header`. + /// - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/header`. public struct Headers: Sendable, Hashable { - public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] /// Creates a new `Headers`. /// /// - Parameters: /// - accept: - public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { self.accept = accept } } - public var headers: Operations.start_web_push_installation.Input.Headers + public var headers: Operations.start_inbox_installation.Input.Headers /// Creates a new `Input`. /// /// - Parameters: /// - headers: - public init(headers: Operations.start_web_push_installation.Input.Headers = .init()) { + public init(headers: Operations.start_inbox_installation.Input.Headers = .init()) { self.headers = headers } } @frozen public enum Output: Sendable, Hashable { public struct Created: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/start/POST/responses/201/content`. + /// - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/responses/201/content`. @frozen public enum Body: Sendable, Hashable { - /// - Remark: Generated from `#/paths/integrations/web_push/installations/start/POST/responses/201/content/application\/json`. - case json(Components.Schemas.WebPushStartInstallationResponse) + /// - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/responses/201/content/application\/json`. + case json(Components.Schemas.InboxConfigPayload) /// The associated value of the enum case if `self` is `.json`. /// /// - Throws: An error if `self` is not `.json`. /// - SeeAlso: `.json`. - public var json: Components.Schemas.WebPushStartInstallationResponse { + public var json: Components.Schemas.InboxConfigPayload { get throws { switch self { case let .json(body): @@ -6346,26 +7010,26 @@ public enum Operations { } } /// Received HTTP response body - public var body: Operations.start_web_push_installation.Output.Created.Body + public var body: Operations.start_inbox_installation.Output.Created.Body /// Creates a new `Created`. /// /// - Parameters: /// - body: Received HTTP response body - public init(body: Operations.start_web_push_installation.Output.Created.Body) { + public init(body: Operations.start_inbox_installation.Output.Created.Body) { self.body = body } } /// Created /// - /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)/responses/201`. + /// - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)/responses/201`. /// /// HTTP response code: `201 created`. - case created(Operations.start_web_push_installation.Output.Created) + case created(Operations.start_inbox_installation.Output.Created) /// The associated value of the enum case if `self` is `.created`. /// /// - Throws: An error if `self` is not `.created`. /// - SeeAlso: `.created`. - public var created: Operations.start_web_push_installation.Output.Created { + public var created: Operations.start_inbox_installation.Output.Created { get throws { switch self { case let .created(response): @@ -6409,4 +7073,1341 @@ public enum Operations { } } } + /// Save a Slack installation + /// + /// Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/slack/installations`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. + public enum save_slack_installation { + public static let id: Swift.String = "save_slack_installation" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/PUT/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.save_slack_installation.Input.Headers + /// - Remark: Generated from `#/paths/integrations/slack/installations/PUT/requestBody`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.SlackInstallation) + } + public var body: Operations.save_slack_installation.Input.Body? + /// Creates a new `Input`. + /// + /// - Parameters: + /// - headers: + /// - body: + public init( + headers: Operations.save_slack_installation.Input.Headers = .init(), + body: Operations.save_slack_installation.Input.Body? = nil + ) { + self.headers = headers + self.body = body + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/PUT/responses/200/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.SlackInstallation) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.SlackInstallation { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.save_slack_installation.Output.Ok.Body + /// Creates a new `Ok`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.save_slack_installation.Output.Ok.Body) { + self.body = body + } + } + /// OK + /// + /// - Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)/responses/200`. + /// + /// HTTP response code: `200 ok`. + case ok(Operations.save_slack_installation.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. + /// + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_slack_installation.Output.Ok { + get throws { + switch self { + case let .ok(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "ok", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// Finish a Slack installation + /// + /// Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. + /// + /// - Remark: HTTP `POST /integrations/slack/installations/finish`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. + public enum finish_slack_installation { + public static let id: Swift.String = "finish_slack_installation" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.finish_slack_installation.Input.Headers + /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/requestBody`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/requestBody/content/application\/json`. + case json(Components.Schemas.SlackFinishInstallResponse) + } + public var body: Operations.finish_slack_installation.Input.Body? + /// Creates a new `Input`. + /// + /// - Parameters: + /// - headers: + /// - body: + public init( + headers: Operations.finish_slack_installation.Input.Headers = .init(), + body: Operations.finish_slack_installation.Input.Body? = nil + ) { + self.headers = headers + self.body = body + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Created: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/responses/201/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/finish/POST/responses/201/content/application\/json`. + case json(Components.Schemas.SlackInstallation) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.SlackInstallation { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.finish_slack_installation.Output.Created.Body + /// Creates a new `Created`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.finish_slack_installation.Output.Created.Body) { + self.body = body + } + } + /// Created + /// + /// - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)/responses/201`. + /// + /// HTTP response code: `201 created`. + case created(Operations.finish_slack_installation.Output.Created) + /// The associated value of the enum case if `self` is `.created`. + /// + /// - Throws: An error if `self` is not `.created`. + /// - SeeAlso: `.created`. + public var created: Operations.finish_slack_installation.Output.Created { + get throws { + switch self { + case let .created(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "created", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// Start a Slack installation + /// + /// Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// + /// - Remark: HTTP `POST /integrations/slack/installations/start`. + /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. + public enum start_slack_installation { + public static let id: Swift.String = "start_slack_installation" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.start_slack_installation.Input.Headers + /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/requestBody`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/requestBody/content/application\/json`. + case json(Components.Schemas.SlackStartInstall) + } + public var body: Operations.start_slack_installation.Input.Body? + /// Creates a new `Input`. + /// + /// - Parameters: + /// - headers: + /// - body: + public init( + headers: Operations.start_slack_installation.Input.Headers = .init(), + body: Operations.start_slack_installation.Input.Body? = nil + ) { + self.headers = headers + self.body = body + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Created: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/responses/201/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/slack/installations/start/POST/responses/201/content/application\/json`. + case json(Components.Schemas.SlackStartInstallResponseContent) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.SlackStartInstallResponseContent { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.start_slack_installation.Output.Created.Body + /// Creates a new `Created`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.start_slack_installation.Output.Created.Body) { + self.body = body + } + } + /// Created + /// + /// - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)/responses/201`. + /// + /// HTTP response code: `201 created`. + case created(Operations.start_slack_installation.Output.Created) + /// The associated value of the enum case if `self` is `.created`. + /// + /// - Throws: An error if `self` is not `.created`. + /// - SeeAlso: `.created`. + public var created: Operations.start_slack_installation.Output.Created { + get throws { + switch self { + case let .created(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "created", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// Save a Web Push installation + /// + /// Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + /// + /// - Remark: HTTP `PUT /integrations/web_push/installations`. + /// - Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. + public enum save_web_push_installation { + public static let id: Swift.String = "save_web_push_installation" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/PUT/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.save_web_push_installation.Input.Headers + /// - Remark: Generated from `#/paths/integrations/web_push/installations/PUT/requestBody`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/PUT/requestBody/content/application\/json`. + case json(Components.Schemas.WebPushTokenPayload) + } + public var body: Operations.save_web_push_installation.Input.Body? + /// Creates a new `Input`. + /// + /// - Parameters: + /// - headers: + /// - body: + public init( + headers: Operations.save_web_push_installation.Input.Headers = .init(), + body: Operations.save_web_push_installation.Input.Body? = nil + ) { + self.headers = headers + self.body = body + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/PUT/responses/200/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/PUT/responses/200/content/application\/json`. + case json(Components.Schemas.WebPushTokenPayload) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.WebPushTokenPayload { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.save_web_push_installation.Output.Ok.Body + /// Creates a new `Ok`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.save_web_push_installation.Output.Ok.Body) { + self.body = body + } + } + /// OK + /// + /// - Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)/responses/200`. + /// + /// HTTP response code: `200 ok`. + case ok(Operations.save_web_push_installation.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. + /// + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.save_web_push_installation.Output.Ok { + get throws { + switch self { + case let .ok(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "ok", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// Start a Web Push installation + /// + /// Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. + /// + /// - Remark: HTTP `POST /integrations/web_push/installations/start`. + /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. + public enum start_web_push_installation { + public static let id: Swift.String = "start_web_push_installation" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/start/POST/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.start_web_push_installation.Input.Headers + /// Creates a new `Input`. + /// + /// - Parameters: + /// - headers: + public init(headers: Operations.start_web_push_installation.Input.Headers = .init()) { + self.headers = headers + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Created: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/start/POST/responses/201/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/integrations/web_push/installations/start/POST/responses/201/content/application\/json`. + case json(Components.Schemas.WebPushStartInstallationResponse) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.WebPushStartInstallationResponse { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.start_web_push_installation.Output.Created.Body + /// Creates a new `Created`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.start_web_push_installation.Output.Created.Body) { + self.body = body + } + } + /// Created + /// + /// - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)/responses/201`. + /// + /// HTTP response code: `201 created`. + case created(Operations.start_web_push_installation.Output.Created) + /// The associated value of the enum case if `self` is `.created`. + /// + /// - Throws: An error if `self` is not `.created`. + /// - SeeAlso: `.created`. + public var created: Operations.start_web_push_installation.Output.Created { + get throws { + switch self { + case let .created(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "created", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// List all notifications + /// + /// Lists all notifications for a user. + /// + /// - Remark: HTTP `GET /notifications`. + /// - Remark: Generated from `#/paths//notifications/get(list_notifications)`. + public enum list_notifications { + public static let id: Swift.String = "list_notifications" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/GET/query`. + public struct Query: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/GET/query/limit`. + public var limit: Swift.Int? + /// - Remark: Generated from `#/paths/notifications/GET/query/starting_after`. + public var starting_after: Swift.String? + /// - Remark: Generated from `#/paths/notifications/GET/query/ending_before`. + public var ending_before: Swift.String? + /// - Remark: Generated from `#/paths/notifications/GET/query/status`. + public var status: Swift.String? + /// - Remark: Generated from `#/paths/notifications/GET/query/category`. + public var category: Swift.String? + /// - Remark: Generated from `#/paths/notifications/GET/query/topic`. + public var topic: Swift.String? + /// Creates a new `Query`. + /// + /// - Parameters: + /// - limit: + /// - starting_after: + /// - ending_before: + /// - status: + /// - category: + /// - topic: + public init( + limit: Swift.Int? = nil, + starting_after: Swift.String? = nil, + ending_before: Swift.String? = nil, + status: Swift.String? = nil, + category: Swift.String? = nil, + topic: Swift.String? = nil + ) { + self.limit = limit + self.starting_after = starting_after + self.ending_before = ending_before + self.status = status + self.category = category + self.topic = topic + } + } + public var query: Operations.list_notifications.Input.Query + /// - Remark: Generated from `#/paths/notifications/GET/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.list_notifications.Input.Headers + /// Creates a new `Input`. + /// + /// - Parameters: + /// - query: + /// - headers: + public init( + query: Operations.list_notifications.Input.Query = .init(), + headers: Operations.list_notifications.Input.Headers = .init() + ) { + self.query = query + self.headers = headers + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/GET/responses/200/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/GET/responses/200/content/application\/json`. + case json(Components.Schemas.NotificationCollection) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.NotificationCollection { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.list_notifications.Output.Ok.Body + /// Creates a new `Ok`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.list_notifications.Output.Ok.Body) { + self.body = body + } + } + /// OK + /// + /// - Remark: Generated from `#/paths//notifications/get(list_notifications)/responses/200`. + /// + /// HTTP response code: `200 ok`. + case ok(Operations.list_notifications.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. + /// + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.list_notifications.Output.Ok { + get throws { + switch self { + case let .ok(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "ok", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// Archive all notifications + /// + /// Archive all notifications. + /// + /// - Remark: HTTP `POST /notifications/archive`. + /// - Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + public enum archive_all_notifications { + public static let id: Swift.String = "archive_all_notifications" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/archive/POST/query`. + public struct Query: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/archive/POST/query/category`. + public var category: Swift.String? + /// - Remark: Generated from `#/paths/notifications/archive/POST/query/topic`. + public var topic: Swift.String? + /// Creates a new `Query`. + /// + /// - Parameters: + /// - category: + /// - topic: + public init( + category: Swift.String? = nil, + topic: Swift.String? = nil + ) { + self.category = category + self.topic = topic + } + } + public var query: Operations.archive_all_notifications.Input.Query + /// Creates a new `Input`. + /// + /// - Parameters: + /// - query: + public init(query: Operations.archive_all_notifications.Input.Query = .init()) { + self.query = query + } + } + @frozen public enum Output: Sendable, Hashable { + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} + } + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + case noContent(Operations.archive_all_notifications.Output.NoContent) + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.archive_all_notifications.Output.NoContent { + get throws { + switch self { + case let .noContent(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "noContent", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + } + /// Mark all notifications read + /// + /// Marks all notifications as read. + /// + /// - Remark: HTTP `POST /notifications/read`. + /// - Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + public enum mark_all_notifications_read { + public static let id: Swift.String = "mark_all_notifications_read" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/read/POST/query`. + public struct Query: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/read/POST/query/category`. + public var category: Swift.String? + /// - Remark: Generated from `#/paths/notifications/read/POST/query/topic`. + public var topic: Swift.String? + /// Creates a new `Query`. + /// + /// - Parameters: + /// - category: + /// - topic: + public init( + category: Swift.String? = nil, + topic: Swift.String? = nil + ) { + self.category = category + self.topic = topic + } + } + public var query: Operations.mark_all_notifications_read.Input.Query + /// Creates a new `Input`. + /// + /// - Parameters: + /// - query: + public init(query: Operations.mark_all_notifications_read.Input.Query = .init()) { + self.query = query + } + } + @frozen public enum Output: Sendable, Hashable { + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} + } + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + case noContent(Operations.mark_all_notifications_read.Output.NoContent) + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.mark_all_notifications_read.Output.NoContent { + get throws { + switch self { + case let .noContent(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "noContent", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + } + /// Fetch a notification + /// + /// Gets a notification by ID. + /// + /// - Remark: HTTP `GET /notifications/{notification_id}`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + public enum fetch_notification { + public static let id: Swift.String = "fetch_notification" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/GET/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/GET/path/notification_id`. + public var notification_id: Swift.String + /// Creates a new `Path`. + /// + /// - Parameters: + /// - notification_id: + public init(notification_id: Swift.String) { + self.notification_id = notification_id + } + } + public var path: Operations.fetch_notification.Input.Path + /// - Remark: Generated from `#/paths/notifications/{notification_id}/GET/header`. + public struct Headers: Sendable, Hashable { + public var accept: [OpenAPIRuntime.AcceptHeaderContentType] + /// Creates a new `Headers`. + /// + /// - Parameters: + /// - accept: + public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) { + self.accept = accept + } + } + public var headers: Operations.fetch_notification.Input.Headers + /// Creates a new `Input`. + /// + /// - Parameters: + /// - path: + /// - headers: + public init( + path: Operations.fetch_notification.Input.Path, + headers: Operations.fetch_notification.Input.Headers = .init() + ) { + self.path = path + self.headers = headers + } + } + @frozen public enum Output: Sendable, Hashable { + public struct Ok: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/GET/responses/200/content`. + @frozen public enum Body: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/GET/responses/200/content/application\/json`. + case json(Components.Schemas.Notification) + /// The associated value of the enum case if `self` is `.json`. + /// + /// - Throws: An error if `self` is not `.json`. + /// - SeeAlso: `.json`. + public var json: Components.Schemas.Notification { + get throws { + switch self { + case let .json(body): + return body + } + } + } + } + /// Received HTTP response body + public var body: Operations.fetch_notification.Output.Ok.Body + /// Creates a new `Ok`. + /// + /// - Parameters: + /// - body: Received HTTP response body + public init(body: Operations.fetch_notification.Output.Ok.Body) { + self.body = body + } + } + /// OK + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)/responses/200`. + /// + /// HTTP response code: `200 ok`. + case ok(Operations.fetch_notification.Output.Ok) + /// The associated value of the enum case if `self` is `.ok`. + /// + /// - Throws: An error if `self` is not `.ok`. + /// - SeeAlso: `.ok`. + public var ok: Operations.fetch_notification.Output.Ok { + get throws { + switch self { + case let .ok(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "ok", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + @frozen public enum AcceptableContentType: AcceptableProtocol { + case json + case other(Swift.String) + public init?(rawValue: Swift.String) { + switch rawValue.lowercased() { + case "application/json": + self = .json + default: + self = .other(rawValue) + } + } + public var rawValue: Swift.String { + switch self { + case let .other(string): + return string + case .json: + return "application/json" + } + } + public static var allCases: [Self] { + [ + .json + ] + } + } + } + /// Archive a notification + /// + /// Archive a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/archive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + public enum archive_notification { + public static let id: Swift.String = "archive_notification" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/archive/POST/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/archive/POST/path/notification_id`. + public var notification_id: Swift.String + /// Creates a new `Path`. + /// + /// - Parameters: + /// - notification_id: + public init(notification_id: Swift.String) { + self.notification_id = notification_id + } + } + public var path: Operations.archive_notification.Input.Path + /// Creates a new `Input`. + /// + /// - Parameters: + /// - path: + public init(path: Operations.archive_notification.Input.Path) { + self.path = path + } + } + @frozen public enum Output: Sendable, Hashable { + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} + } + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + case noContent(Operations.archive_notification.Output.NoContent) + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.archive_notification.Output.NoContent { + get throws { + switch self { + case let .noContent(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "noContent", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + } + /// Mark a notification read + /// + /// Marks a notification as read. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/read`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + public enum mark_notification_read { + public static let id: Swift.String = "mark_notification_read" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/read/POST/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/read/POST/path/notification_id`. + public var notification_id: Swift.String + /// Creates a new `Path`. + /// + /// - Parameters: + /// - notification_id: + public init(notification_id: Swift.String) { + self.notification_id = notification_id + } + } + public var path: Operations.mark_notification_read.Input.Path + /// Creates a new `Input`. + /// + /// - Parameters: + /// - path: + public init(path: Operations.mark_notification_read.Input.Path) { + self.path = path + } + } + @frozen public enum Output: Sendable, Hashable { + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} + } + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + case noContent(Operations.mark_notification_read.Output.NoContent) + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.mark_notification_read.Output.NoContent { + get throws { + switch self { + case let .noContent(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "noContent", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + } + /// Unarchive a notification + /// + /// Unarchives a notification. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unarchive`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + public enum unarchive_notification { + public static let id: Swift.String = "unarchive_notification" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/unarchive/POST/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/unarchive/POST/path/notification_id`. + public var notification_id: Swift.String + /// Creates a new `Path`. + /// + /// - Parameters: + /// - notification_id: + public init(notification_id: Swift.String) { + self.notification_id = notification_id + } + } + public var path: Operations.unarchive_notification.Input.Path + /// Creates a new `Input`. + /// + /// - Parameters: + /// - path: + public init(path: Operations.unarchive_notification.Input.Path) { + self.path = path + } + } + @frozen public enum Output: Sendable, Hashable { + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} + } + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + case noContent(Operations.unarchive_notification.Output.NoContent) + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.unarchive_notification.Output.NoContent { + get throws { + switch self { + case let .noContent(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "noContent", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + } + /// Mark a notification unread + /// + /// Marks a notification as unread. + /// + /// - Remark: HTTP `POST /notifications/{notification_id}/unread`. + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. + public enum mark_notification_unread { + public static let id: Swift.String = "mark_notification_unread" + public struct Input: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/unread/POST/path`. + public struct Path: Sendable, Hashable { + /// - Remark: Generated from `#/paths/notifications/{notification_id}/unread/POST/path/notification_id`. + public var notification_id: Swift.String + /// Creates a new `Path`. + /// + /// - Parameters: + /// - notification_id: + public init(notification_id: Swift.String) { + self.notification_id = notification_id + } + } + public var path: Operations.mark_notification_unread.Input.Path + /// Creates a new `Input`. + /// + /// - Parameters: + /// - path: + public init(path: Operations.mark_notification_unread.Input.Path) { + self.path = path + } + } + @frozen public enum Output: Sendable, Hashable { + public struct NoContent: Sendable, Hashable { + /// Creates a new `NoContent`. + public init() {} + } + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + case noContent(Operations.mark_notification_unread.Output.NoContent) + /// No Content + /// + /// - Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)/responses/204`. + /// + /// HTTP response code: `204 noContent`. + public static var noContent: Self { + .noContent(.init()) + } + /// The associated value of the enum case if `self` is `.noContent`. + /// + /// - Throws: An error if `self` is not `.noContent`. + /// - SeeAlso: `.noContent`. + public var noContent: Operations.mark_notification_unread.Output.NoContent { + get throws { + switch self { + case let .noContent(response): + return response + default: + try throwUnexpectedResponseStatus( + expectedStatus: "noContent", + response: self + ) + } + } + } + /// Undocumented response. + /// + /// A response with a code that is not documented in the OpenAPI document. + case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) + } + } } diff --git a/documentation/README.md b/documentation/README.md index 876760a..923d25e 100644 --- a/documentation/README.md +++ b/documentation/README.md @@ -8,38 +8,40 @@ - [Client](structs/Client.md) - [Components.Schemas.APNSToken](structs/Components.Schemas.APNSToken.md) -- [Components.Schemas.APNSTokenResponse](structs/Components.Schemas.APNSTokenResponse.md) -- [Components.Schemas.ArrayOfAPNSTokenResponses](structs/Components.Schemas.ArrayOfAPNSTokenResponses.md) -- [Components.Schemas.ArrayOfExpoTokenResponses](structs/Components.Schemas.ArrayOfExpoTokenResponses.md) -- [Components.Schemas.ArrayOfFCMTokenResponses](structs/Components.Schemas.ArrayOfFCMTokenResponses.md) -- [Components.Schemas.ArrayOfSlackTokenResponses](structs/Components.Schemas.ArrayOfSlackTokenResponses.md) -- [Components.Schemas.ArrayOfTeamsTokenResponses](structs/Components.Schemas.ArrayOfTeamsTokenResponses.md) -- [Components.Schemas.ArrayOfWebPushTokenResponses](structs/Components.Schemas.ArrayOfWebPushTokenResponses.md) +- [Components.Schemas.APNSTokenCollection](structs/Components.Schemas.APNSTokenCollection.md) +- [Components.Schemas.APNSTokenPayload](structs/Components.Schemas.APNSTokenPayload.md) - [Components.Schemas.DiscardResult](structs/Components.Schemas.DiscardResult.md) - [Components.Schemas.ExpoToken](structs/Components.Schemas.ExpoToken.md) -- [Components.Schemas.ExpoTokenResponse](structs/Components.Schemas.ExpoTokenResponse.md) +- [Components.Schemas.ExpoTokenCollection](structs/Components.Schemas.ExpoTokenCollection.md) +- [Components.Schemas.ExpoTokenPayload](structs/Components.Schemas.ExpoTokenPayload.md) - [Components.Schemas.FCMToken](structs/Components.Schemas.FCMToken.md) -- [Components.Schemas.FCMTokenResponse](structs/Components.Schemas.FCMTokenResponse.md) -- [Components.Schemas.InboxConfig](structs/Components.Schemas.InboxConfig.md) -- [Components.Schemas.InboxConfig.imagesPayload](structs/Components.Schemas.InboxConfig.imagesPayload.md) -- [Components.Schemas.InboxConfig.themePayload](structs/Components.Schemas.InboxConfig.themePayload.md) -- [Components.Schemas.InboxConfig.themePayload.bannerPayload](structs/Components.Schemas.InboxConfig.themePayload.bannerPayload.md) -- [Components.Schemas.InboxConfig.themePayload.dialogPayload](structs/Components.Schemas.InboxConfig.themePayload.dialogPayload.md) -- [Components.Schemas.InboxConfig.themePayload.footerPayload](structs/Components.Schemas.InboxConfig.themePayload.footerPayload.md) -- [Components.Schemas.InboxConfig.themePayload.headerPayload](structs/Components.Schemas.InboxConfig.themePayload.headerPayload.md) -- [Components.Schemas.InboxConfig.themePayload.iconPayload](structs/Components.Schemas.InboxConfig.themePayload.iconPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload](structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.md) -- [Components.Schemas.InboxConfig.themePayload.unseenBadgePayload](structs/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.md) +- [Components.Schemas.FCMTokenCollection](structs/Components.Schemas.FCMTokenCollection.md) +- [Components.Schemas.FCMTokenPayload](structs/Components.Schemas.FCMTokenPayload.md) +- [Components.Schemas.InboxConfigPayload](structs/Components.Schemas.InboxConfigPayload.md) +- [Components.Schemas.InboxConfigPayload.imagesPayload](structs/Components.Schemas.InboxConfigPayload.imagesPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload](structs/Components.Schemas.InboxConfigPayload.themePayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.bannerPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.dialogPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.footerPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.headerPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.iconPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload](structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.md) +- [Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload](structs/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.md) +- [Components.Schemas.InboxToken](structs/Components.Schemas.InboxToken.md) +- [Components.Schemas.InboxTokenResponse](structs/Components.Schemas.InboxTokenResponse.md) +- [Components.Schemas.InboxTokenResponseCollection](structs/Components.Schemas.InboxTokenResponseCollection.md) - [Components.Schemas.Links](structs/Components.Schemas.Links.md) +- [Components.Schemas.Notification](structs/Components.Schemas.Notification.md) +- [Components.Schemas.NotificationCollection](structs/Components.Schemas.NotificationCollection.md) - [Components.Schemas.SlackFinishInstallResponse](structs/Components.Schemas.SlackFinishInstallResponse.md) - [Components.Schemas.SlackInstallation](structs/Components.Schemas.SlackInstallation.md) - [Components.Schemas.SlackInstallation.authed_userPayload](structs/Components.Schemas.SlackInstallation.authed_userPayload.md) @@ -51,124 +53,169 @@ - [Components.Schemas.SlackToken](structs/Components.Schemas.SlackToken.md) - [Components.Schemas.SlackToken.oauthPayload](structs/Components.Schemas.SlackToken.oauthPayload.md) - [Components.Schemas.SlackToken.webhookPayload](structs/Components.Schemas.SlackToken.webhookPayload.md) -- [Components.Schemas.SlackTokenResponse](structs/Components.Schemas.SlackTokenResponse.md) -- [Components.Schemas.SlackTokenResponse.oauthPayload](structs/Components.Schemas.SlackTokenResponse.oauthPayload.md) -- [Components.Schemas.SlackTokenResponse.webhookPayload](structs/Components.Schemas.SlackTokenResponse.webhookPayload.md) +- [Components.Schemas.SlackTokenCollection](structs/Components.Schemas.SlackTokenCollection.md) +- [Components.Schemas.SlackTokenPayload](structs/Components.Schemas.SlackTokenPayload.md) +- [Components.Schemas.SlackTokenPayload.oauthPayload](structs/Components.Schemas.SlackTokenPayload.oauthPayload.md) +- [Components.Schemas.SlackTokenPayload.webhookPayload](structs/Components.Schemas.SlackTokenPayload.webhookPayload.md) - [Components.Schemas.TeamsToken](structs/Components.Schemas.TeamsToken.md) - [Components.Schemas.TeamsToken.webhookPayload](structs/Components.Schemas.TeamsToken.webhookPayload.md) -- [Components.Schemas.TeamsTokenResponse](structs/Components.Schemas.TeamsTokenResponse.md) -- [Components.Schemas.TeamsTokenResponse.webhookPayload](structs/Components.Schemas.TeamsTokenResponse.webhookPayload.md) -- [Components.Schemas.TemplatesInstallation](structs/Components.Schemas.TemplatesInstallation.md) +- [Components.Schemas.TeamsTokenCollection](structs/Components.Schemas.TeamsTokenCollection.md) +- [Components.Schemas.TeamsTokenPayload](structs/Components.Schemas.TeamsTokenPayload.md) +- [Components.Schemas.TeamsTokenPayload.webhookPayload](structs/Components.Schemas.TeamsTokenPayload.webhookPayload.md) +- [Components.Schemas.UserPreferences](structs/Components.Schemas.UserPreferences.md) +- [Components.Schemas.UserPreferences.categoriesPayloadPayload](structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.md) +- [Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload](structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.md) - [Components.Schemas.WebPushStartInstallationResponse](structs/Components.Schemas.WebPushStartInstallationResponse.md) - [Components.Schemas.WebPushToken](structs/Components.Schemas.WebPushToken.md) - [Components.Schemas.WebPushToken.keysPayload](structs/Components.Schemas.WebPushToken.keysPayload.md) -- [Components.Schemas.WebPushTokenResponse](structs/Components.Schemas.WebPushTokenResponse.md) -- [Components.Schemas.WebPushTokenResponse.keysPayload](structs/Components.Schemas.WebPushTokenResponse.keysPayload.md) -- [Operations.discard_mobile_push_apns_token.Input](structs/Operations.discard_mobile_push_apns_token.Input.md) -- [Operations.discard_mobile_push_apns_token.Input.Headers](structs/Operations.discard_mobile_push_apns_token.Input.Headers.md) -- [Operations.discard_mobile_push_apns_token.Input.Path](structs/Operations.discard_mobile_push_apns_token.Input.Path.md) -- [Operations.discard_mobile_push_apns_token.Output.Ok](structs/Operations.discard_mobile_push_apns_token.Output.Ok.md) -- [Operations.discard_mobile_push_expo_token.Input](structs/Operations.discard_mobile_push_expo_token.Input.md) -- [Operations.discard_mobile_push_expo_token.Input.Headers](structs/Operations.discard_mobile_push_expo_token.Input.Headers.md) -- [Operations.discard_mobile_push_expo_token.Input.Path](structs/Operations.discard_mobile_push_expo_token.Input.Path.md) -- [Operations.discard_mobile_push_expo_token.Output.Ok](structs/Operations.discard_mobile_push_expo_token.Output.Ok.md) -- [Operations.discard_mobile_push_fcm_token.Input](structs/Operations.discard_mobile_push_fcm_token.Input.md) -- [Operations.discard_mobile_push_fcm_token.Input.Headers](structs/Operations.discard_mobile_push_fcm_token.Input.Headers.md) -- [Operations.discard_mobile_push_fcm_token.Input.Path](structs/Operations.discard_mobile_push_fcm_token.Input.Path.md) -- [Operations.discard_mobile_push_fcm_token.Output.Ok](structs/Operations.discard_mobile_push_fcm_token.Output.Ok.md) -- [Operations.discard_slack_token.Input](structs/Operations.discard_slack_token.Input.md) -- [Operations.discard_slack_token.Input.Headers](structs/Operations.discard_slack_token.Input.Headers.md) -- [Operations.discard_slack_token.Input.Path](structs/Operations.discard_slack_token.Input.Path.md) -- [Operations.discard_slack_token.Output.Ok](structs/Operations.discard_slack_token.Output.Ok.md) -- [Operations.discard_teams_token.Input](structs/Operations.discard_teams_token.Input.md) -- [Operations.discard_teams_token.Input.Headers](structs/Operations.discard_teams_token.Input.Headers.md) -- [Operations.discard_teams_token.Input.Path](structs/Operations.discard_teams_token.Input.Path.md) -- [Operations.discard_teams_token.Output.Ok](structs/Operations.discard_teams_token.Output.Ok.md) -- [Operations.discard_web_push_token.Input](structs/Operations.discard_web_push_token.Input.md) -- [Operations.discard_web_push_token.Input.Headers](structs/Operations.discard_web_push_token.Input.Headers.md) -- [Operations.discard_web_push_token.Input.Path](structs/Operations.discard_web_push_token.Input.Path.md) -- [Operations.discard_web_push_token.Output.Ok](structs/Operations.discard_web_push_token.Output.Ok.md) +- [Components.Schemas.WebPushTokenCollection](structs/Components.Schemas.WebPushTokenCollection.md) +- [Components.Schemas.WebPushTokenPayload](structs/Components.Schemas.WebPushTokenPayload.md) +- [Components.Schemas.WebPushTokenPayload.keysPayload](structs/Components.Schemas.WebPushTokenPayload.keysPayload.md) +- [Operations.archive_all_notifications.Input](structs/Operations.archive_all_notifications.Input.md) +- [Operations.archive_all_notifications.Input.Query](structs/Operations.archive_all_notifications.Input.Query.md) +- [Operations.archive_all_notifications.Output.NoContent](structs/Operations.archive_all_notifications.Output.NoContent.md) +- [Operations.archive_notification.Input](structs/Operations.archive_notification.Input.md) +- [Operations.archive_notification.Input.Path](structs/Operations.archive_notification.Input.Path.md) +- [Operations.archive_notification.Output.NoContent](structs/Operations.archive_notification.Output.NoContent.md) +- [Operations.delete_apns_token.Input](structs/Operations.delete_apns_token.Input.md) +- [Operations.delete_apns_token.Input.Headers](structs/Operations.delete_apns_token.Input.Headers.md) +- [Operations.delete_apns_token.Input.Path](structs/Operations.delete_apns_token.Input.Path.md) +- [Operations.delete_apns_token.Output.Ok](structs/Operations.delete_apns_token.Output.Ok.md) +- [Operations.delete_expo_token.Input](structs/Operations.delete_expo_token.Input.md) +- [Operations.delete_expo_token.Input.Headers](structs/Operations.delete_expo_token.Input.Headers.md) +- [Operations.delete_expo_token.Input.Path](structs/Operations.delete_expo_token.Input.Path.md) +- [Operations.delete_expo_token.Output.Ok](structs/Operations.delete_expo_token.Output.Ok.md) +- [Operations.delete_fcm_token.Input](structs/Operations.delete_fcm_token.Input.md) +- [Operations.delete_fcm_token.Input.Headers](structs/Operations.delete_fcm_token.Input.Headers.md) +- [Operations.delete_fcm_token.Input.Path](structs/Operations.delete_fcm_token.Input.Path.md) +- [Operations.delete_fcm_token.Output.Ok](structs/Operations.delete_fcm_token.Output.Ok.md) +- [Operations.delete_inbox_token.Input](structs/Operations.delete_inbox_token.Input.md) +- [Operations.delete_inbox_token.Input.Headers](structs/Operations.delete_inbox_token.Input.Headers.md) +- [Operations.delete_inbox_token.Input.Path](structs/Operations.delete_inbox_token.Input.Path.md) +- [Operations.delete_inbox_token.Output.Ok](structs/Operations.delete_inbox_token.Output.Ok.md) +- [Operations.delete_slack_token.Input](structs/Operations.delete_slack_token.Input.md) +- [Operations.delete_slack_token.Input.Headers](structs/Operations.delete_slack_token.Input.Headers.md) +- [Operations.delete_slack_token.Input.Path](structs/Operations.delete_slack_token.Input.Path.md) +- [Operations.delete_slack_token.Output.Ok](structs/Operations.delete_slack_token.Output.Ok.md) +- [Operations.delete_teams_token.Input](structs/Operations.delete_teams_token.Input.md) +- [Operations.delete_teams_token.Input.Headers](structs/Operations.delete_teams_token.Input.Headers.md) +- [Operations.delete_teams_token.Input.Path](structs/Operations.delete_teams_token.Input.Path.md) +- [Operations.delete_teams_token.Output.Ok](structs/Operations.delete_teams_token.Output.Ok.md) +- [Operations.delete_web_push_token.Input](structs/Operations.delete_web_push_token.Input.md) +- [Operations.delete_web_push_token.Input.Headers](structs/Operations.delete_web_push_token.Input.Headers.md) +- [Operations.delete_web_push_token.Input.Path](structs/Operations.delete_web_push_token.Input.Path.md) +- [Operations.delete_web_push_token.Output.Ok](structs/Operations.delete_web_push_token.Output.Ok.md) +- [Operations.fetch_apns_token.Input](structs/Operations.fetch_apns_token.Input.md) +- [Operations.fetch_apns_token.Input.Headers](structs/Operations.fetch_apns_token.Input.Headers.md) +- [Operations.fetch_apns_token.Input.Path](structs/Operations.fetch_apns_token.Input.Path.md) +- [Operations.fetch_apns_token.Output.Ok](structs/Operations.fetch_apns_token.Output.Ok.md) +- [Operations.fetch_expo_token.Input](structs/Operations.fetch_expo_token.Input.md) +- [Operations.fetch_expo_token.Input.Headers](structs/Operations.fetch_expo_token.Input.Headers.md) +- [Operations.fetch_expo_token.Input.Path](structs/Operations.fetch_expo_token.Input.Path.md) +- [Operations.fetch_expo_token.Output.Ok](structs/Operations.fetch_expo_token.Output.Ok.md) +- [Operations.fetch_fcm_token.Input](structs/Operations.fetch_fcm_token.Input.md) +- [Operations.fetch_fcm_token.Input.Headers](structs/Operations.fetch_fcm_token.Input.Headers.md) +- [Operations.fetch_fcm_token.Input.Path](structs/Operations.fetch_fcm_token.Input.Path.md) +- [Operations.fetch_fcm_token.Output.Ok](structs/Operations.fetch_fcm_token.Output.Ok.md) +- [Operations.fetch_inbox_token.Input](structs/Operations.fetch_inbox_token.Input.md) +- [Operations.fetch_inbox_token.Input.Headers](structs/Operations.fetch_inbox_token.Input.Headers.md) +- [Operations.fetch_inbox_token.Input.Path](structs/Operations.fetch_inbox_token.Input.Path.md) +- [Operations.fetch_inbox_token.Output.Ok](structs/Operations.fetch_inbox_token.Output.Ok.md) +- [Operations.fetch_notification.Input](structs/Operations.fetch_notification.Input.md) +- [Operations.fetch_notification.Input.Headers](structs/Operations.fetch_notification.Input.Headers.md) +- [Operations.fetch_notification.Input.Path](structs/Operations.fetch_notification.Input.Path.md) +- [Operations.fetch_notification.Output.Ok](structs/Operations.fetch_notification.Output.Ok.md) +- [Operations.fetch_slack_token.Input](structs/Operations.fetch_slack_token.Input.md) +- [Operations.fetch_slack_token.Input.Headers](structs/Operations.fetch_slack_token.Input.Headers.md) +- [Operations.fetch_slack_token.Input.Path](structs/Operations.fetch_slack_token.Input.Path.md) +- [Operations.fetch_slack_token.Output.Ok](structs/Operations.fetch_slack_token.Output.Ok.md) +- [Operations.fetch_teams_token.Input](structs/Operations.fetch_teams_token.Input.md) +- [Operations.fetch_teams_token.Input.Headers](structs/Operations.fetch_teams_token.Input.Headers.md) +- [Operations.fetch_teams_token.Input.Path](structs/Operations.fetch_teams_token.Input.Path.md) +- [Operations.fetch_teams_token.Output.Ok](structs/Operations.fetch_teams_token.Output.Ok.md) +- [Operations.fetch_user_preferences.Input](structs/Operations.fetch_user_preferences.Input.md) +- [Operations.fetch_user_preferences.Input.Headers](structs/Operations.fetch_user_preferences.Input.Headers.md) +- [Operations.fetch_user_preferences.Output.Ok](structs/Operations.fetch_user_preferences.Output.Ok.md) +- [Operations.fetch_web_push_token.Input](structs/Operations.fetch_web_push_token.Input.md) +- [Operations.fetch_web_push_token.Input.Headers](structs/Operations.fetch_web_push_token.Input.Headers.md) +- [Operations.fetch_web_push_token.Input.Path](structs/Operations.fetch_web_push_token.Input.Path.md) +- [Operations.fetch_web_push_token.Output.Ok](structs/Operations.fetch_web_push_token.Output.Ok.md) - [Operations.finish_slack_installation.Input](structs/Operations.finish_slack_installation.Input.md) - [Operations.finish_slack_installation.Input.Headers](structs/Operations.finish_slack_installation.Input.Headers.md) - [Operations.finish_slack_installation.Output.Created](structs/Operations.finish_slack_installation.Output.Created.md) -- [Operations.get_mobile_push_apns_token.Input](structs/Operations.get_mobile_push_apns_token.Input.md) -- [Operations.get_mobile_push_apns_token.Input.Headers](structs/Operations.get_mobile_push_apns_token.Input.Headers.md) -- [Operations.get_mobile_push_apns_token.Input.Path](structs/Operations.get_mobile_push_apns_token.Input.Path.md) -- [Operations.get_mobile_push_apns_token.Output.Ok](structs/Operations.get_mobile_push_apns_token.Output.Ok.md) -- [Operations.get_mobile_push_apns_tokens.Input](structs/Operations.get_mobile_push_apns_tokens.Input.md) -- [Operations.get_mobile_push_apns_tokens.Input.Headers](structs/Operations.get_mobile_push_apns_tokens.Input.Headers.md) -- [Operations.get_mobile_push_apns_tokens.Input.Query](structs/Operations.get_mobile_push_apns_tokens.Input.Query.md) -- [Operations.get_mobile_push_apns_tokens.Output.Ok](structs/Operations.get_mobile_push_apns_tokens.Output.Ok.md) -- [Operations.get_mobile_push_expo_token.Input](structs/Operations.get_mobile_push_expo_token.Input.md) -- [Operations.get_mobile_push_expo_token.Input.Headers](structs/Operations.get_mobile_push_expo_token.Input.Headers.md) -- [Operations.get_mobile_push_expo_token.Input.Path](structs/Operations.get_mobile_push_expo_token.Input.Path.md) -- [Operations.get_mobile_push_expo_token.Output.Ok](structs/Operations.get_mobile_push_expo_token.Output.Ok.md) -- [Operations.get_mobile_push_expo_tokens.Input](structs/Operations.get_mobile_push_expo_tokens.Input.md) -- [Operations.get_mobile_push_expo_tokens.Input.Headers](structs/Operations.get_mobile_push_expo_tokens.Input.Headers.md) -- [Operations.get_mobile_push_expo_tokens.Input.Query](structs/Operations.get_mobile_push_expo_tokens.Input.Query.md) -- [Operations.get_mobile_push_expo_tokens.Output.Ok](structs/Operations.get_mobile_push_expo_tokens.Output.Ok.md) -- [Operations.get_mobile_push_fcm_token.Input](structs/Operations.get_mobile_push_fcm_token.Input.md) -- [Operations.get_mobile_push_fcm_token.Input.Headers](structs/Operations.get_mobile_push_fcm_token.Input.Headers.md) -- [Operations.get_mobile_push_fcm_token.Input.Path](structs/Operations.get_mobile_push_fcm_token.Input.Path.md) -- [Operations.get_mobile_push_fcm_token.Output.Ok](structs/Operations.get_mobile_push_fcm_token.Output.Ok.md) -- [Operations.get_mobile_push_fcm_tokens.Input](structs/Operations.get_mobile_push_fcm_tokens.Input.md) -- [Operations.get_mobile_push_fcm_tokens.Input.Headers](structs/Operations.get_mobile_push_fcm_tokens.Input.Headers.md) -- [Operations.get_mobile_push_fcm_tokens.Input.Query](structs/Operations.get_mobile_push_fcm_tokens.Input.Query.md) -- [Operations.get_mobile_push_fcm_tokens.Output.Ok](structs/Operations.get_mobile_push_fcm_tokens.Output.Ok.md) -- [Operations.get_slack_token.Input](structs/Operations.get_slack_token.Input.md) -- [Operations.get_slack_token.Input.Headers](structs/Operations.get_slack_token.Input.Headers.md) -- [Operations.get_slack_token.Input.Path](structs/Operations.get_slack_token.Input.Path.md) -- [Operations.get_slack_token.Output.Ok](structs/Operations.get_slack_token.Output.Ok.md) -- [Operations.get_slack_tokens.Input](structs/Operations.get_slack_tokens.Input.md) -- [Operations.get_slack_tokens.Input.Headers](structs/Operations.get_slack_tokens.Input.Headers.md) -- [Operations.get_slack_tokens.Input.Query](structs/Operations.get_slack_tokens.Input.Query.md) -- [Operations.get_slack_tokens.Output.Ok](structs/Operations.get_slack_tokens.Output.Ok.md) -- [Operations.get_teams_token.Input](structs/Operations.get_teams_token.Input.md) -- [Operations.get_teams_token.Input.Headers](structs/Operations.get_teams_token.Input.Headers.md) -- [Operations.get_teams_token.Input.Path](structs/Operations.get_teams_token.Input.Path.md) -- [Operations.get_teams_token.Output.Ok](structs/Operations.get_teams_token.Output.Ok.md) -- [Operations.get_teams_tokens.Input](structs/Operations.get_teams_tokens.Input.md) -- [Operations.get_teams_tokens.Input.Headers](structs/Operations.get_teams_tokens.Input.Headers.md) -- [Operations.get_teams_tokens.Input.Query](structs/Operations.get_teams_tokens.Input.Query.md) -- [Operations.get_teams_tokens.Output.Ok](structs/Operations.get_teams_tokens.Output.Ok.md) -- [Operations.get_web_push_token.Input](structs/Operations.get_web_push_token.Input.md) -- [Operations.get_web_push_token.Input.Headers](structs/Operations.get_web_push_token.Input.Headers.md) -- [Operations.get_web_push_token.Input.Path](structs/Operations.get_web_push_token.Input.Path.md) -- [Operations.get_web_push_token.Output.Ok](structs/Operations.get_web_push_token.Output.Ok.md) -- [Operations.get_web_push_tokens.Input](structs/Operations.get_web_push_tokens.Input.md) -- [Operations.get_web_push_tokens.Input.Headers](structs/Operations.get_web_push_tokens.Input.Headers.md) -- [Operations.get_web_push_tokens.Input.Query](structs/Operations.get_web_push_tokens.Input.Query.md) -- [Operations.get_web_push_tokens.Output.Ok](structs/Operations.get_web_push_tokens.Output.Ok.md) +- [Operations.list_apns_tokens.Input](structs/Operations.list_apns_tokens.Input.md) +- [Operations.list_apns_tokens.Input.Headers](structs/Operations.list_apns_tokens.Input.Headers.md) +- [Operations.list_apns_tokens.Input.Query](structs/Operations.list_apns_tokens.Input.Query.md) +- [Operations.list_apns_tokens.Output.Ok](structs/Operations.list_apns_tokens.Output.Ok.md) +- [Operations.list_expo_tokens.Input](structs/Operations.list_expo_tokens.Input.md) +- [Operations.list_expo_tokens.Input.Headers](structs/Operations.list_expo_tokens.Input.Headers.md) +- [Operations.list_expo_tokens.Input.Query](structs/Operations.list_expo_tokens.Input.Query.md) +- [Operations.list_expo_tokens.Output.Ok](structs/Operations.list_expo_tokens.Output.Ok.md) +- [Operations.list_fcm_tokens.Input](structs/Operations.list_fcm_tokens.Input.md) +- [Operations.list_fcm_tokens.Input.Headers](structs/Operations.list_fcm_tokens.Input.Headers.md) +- [Operations.list_fcm_tokens.Input.Query](structs/Operations.list_fcm_tokens.Input.Query.md) +- [Operations.list_fcm_tokens.Output.Ok](structs/Operations.list_fcm_tokens.Output.Ok.md) +- [Operations.list_inbox_tokens.Input](structs/Operations.list_inbox_tokens.Input.md) +- [Operations.list_inbox_tokens.Input.Headers](structs/Operations.list_inbox_tokens.Input.Headers.md) +- [Operations.list_inbox_tokens.Input.Query](structs/Operations.list_inbox_tokens.Input.Query.md) +- [Operations.list_inbox_tokens.Output.Ok](structs/Operations.list_inbox_tokens.Output.Ok.md) +- [Operations.list_notifications.Input](structs/Operations.list_notifications.Input.md) +- [Operations.list_notifications.Input.Headers](structs/Operations.list_notifications.Input.Headers.md) +- [Operations.list_notifications.Input.Query](structs/Operations.list_notifications.Input.Query.md) +- [Operations.list_notifications.Output.Ok](structs/Operations.list_notifications.Output.Ok.md) +- [Operations.list_slack_tokens.Input](structs/Operations.list_slack_tokens.Input.md) +- [Operations.list_slack_tokens.Input.Headers](structs/Operations.list_slack_tokens.Input.Headers.md) +- [Operations.list_slack_tokens.Input.Query](structs/Operations.list_slack_tokens.Input.Query.md) +- [Operations.list_slack_tokens.Output.Ok](structs/Operations.list_slack_tokens.Output.Ok.md) +- [Operations.list_teams_tokens.Input](structs/Operations.list_teams_tokens.Input.md) +- [Operations.list_teams_tokens.Input.Headers](structs/Operations.list_teams_tokens.Input.Headers.md) +- [Operations.list_teams_tokens.Input.Query](structs/Operations.list_teams_tokens.Input.Query.md) +- [Operations.list_teams_tokens.Output.Ok](structs/Operations.list_teams_tokens.Output.Ok.md) +- [Operations.list_web_push_tokens.Input](structs/Operations.list_web_push_tokens.Input.md) +- [Operations.list_web_push_tokens.Input.Headers](structs/Operations.list_web_push_tokens.Input.Headers.md) +- [Operations.list_web_push_tokens.Input.Query](structs/Operations.list_web_push_tokens.Input.Query.md) +- [Operations.list_web_push_tokens.Output.Ok](structs/Operations.list_web_push_tokens.Output.Ok.md) +- [Operations.mark_all_notifications_read.Input](structs/Operations.mark_all_notifications_read.Input.md) +- [Operations.mark_all_notifications_read.Input.Query](structs/Operations.mark_all_notifications_read.Input.Query.md) +- [Operations.mark_all_notifications_read.Output.NoContent](structs/Operations.mark_all_notifications_read.Output.NoContent.md) +- [Operations.mark_notification_read.Input](structs/Operations.mark_notification_read.Input.md) +- [Operations.mark_notification_read.Input.Path](structs/Operations.mark_notification_read.Input.Path.md) +- [Operations.mark_notification_read.Output.NoContent](structs/Operations.mark_notification_read.Output.NoContent.md) +- [Operations.mark_notification_unread.Input](structs/Operations.mark_notification_unread.Input.md) +- [Operations.mark_notification_unread.Input.Path](structs/Operations.mark_notification_unread.Input.Path.md) +- [Operations.mark_notification_unread.Output.NoContent](structs/Operations.mark_notification_unread.Output.NoContent.md) +- [Operations.save_apns_token.Input](structs/Operations.save_apns_token.Input.md) +- [Operations.save_apns_token.Input.Headers](structs/Operations.save_apns_token.Input.Headers.md) +- [Operations.save_apns_token.Output.Ok](structs/Operations.save_apns_token.Output.Ok.md) +- [Operations.save_expo_token.Input](structs/Operations.save_expo_token.Input.md) +- [Operations.save_expo_token.Input.Headers](structs/Operations.save_expo_token.Input.Headers.md) +- [Operations.save_expo_token.Output.Ok](structs/Operations.save_expo_token.Output.Ok.md) +- [Operations.save_fcm_token.Input](structs/Operations.save_fcm_token.Input.md) +- [Operations.save_fcm_token.Input.Headers](structs/Operations.save_fcm_token.Input.Headers.md) +- [Operations.save_fcm_token.Output.Ok](structs/Operations.save_fcm_token.Output.Ok.md) - [Operations.save_inbox_installation.Input](structs/Operations.save_inbox_installation.Input.md) - [Operations.save_inbox_installation.Input.Headers](structs/Operations.save_inbox_installation.Input.Headers.md) -- [Operations.save_inbox_installation.Output.Created](structs/Operations.save_inbox_installation.Output.Created.md) -- [Operations.save_mobile_push_apns_token.Input](structs/Operations.save_mobile_push_apns_token.Input.md) -- [Operations.save_mobile_push_apns_token.Input.Headers](structs/Operations.save_mobile_push_apns_token.Input.Headers.md) -- [Operations.save_mobile_push_apns_token.Output.Created](structs/Operations.save_mobile_push_apns_token.Output.Created.md) -- [Operations.save_mobile_push_expo_token.Input](structs/Operations.save_mobile_push_expo_token.Input.md) -- [Operations.save_mobile_push_expo_token.Input.Headers](structs/Operations.save_mobile_push_expo_token.Input.Headers.md) -- [Operations.save_mobile_push_expo_token.Output.Created](structs/Operations.save_mobile_push_expo_token.Output.Created.md) -- [Operations.save_mobile_push_fcm_token.Input](structs/Operations.save_mobile_push_fcm_token.Input.md) -- [Operations.save_mobile_push_fcm_token.Input.Headers](structs/Operations.save_mobile_push_fcm_token.Input.Headers.md) -- [Operations.save_mobile_push_fcm_token.Output.Created](structs/Operations.save_mobile_push_fcm_token.Output.Created.md) +- [Operations.save_inbox_installation.Output.Ok](structs/Operations.save_inbox_installation.Output.Ok.md) +- [Operations.save_inbox_token.Input](structs/Operations.save_inbox_token.Input.md) +- [Operations.save_inbox_token.Input.Headers](structs/Operations.save_inbox_token.Input.Headers.md) +- [Operations.save_inbox_token.Output.Ok](structs/Operations.save_inbox_token.Output.Ok.md) - [Operations.save_slack_installation.Input](structs/Operations.save_slack_installation.Input.md) - [Operations.save_slack_installation.Input.Headers](structs/Operations.save_slack_installation.Input.Headers.md) -- [Operations.save_slack_installation.Output.Created](structs/Operations.save_slack_installation.Output.Created.md) +- [Operations.save_slack_installation.Output.Ok](structs/Operations.save_slack_installation.Output.Ok.md) - [Operations.save_slack_token.Input](structs/Operations.save_slack_token.Input.md) - [Operations.save_slack_token.Input.Headers](structs/Operations.save_slack_token.Input.Headers.md) -- [Operations.save_slack_token.Output.Created](structs/Operations.save_slack_token.Output.Created.md) +- [Operations.save_slack_token.Output.Ok](structs/Operations.save_slack_token.Output.Ok.md) - [Operations.save_teams_token.Input](structs/Operations.save_teams_token.Input.md) - [Operations.save_teams_token.Input.Headers](structs/Operations.save_teams_token.Input.Headers.md) -- [Operations.save_teams_token.Output.Created](structs/Operations.save_teams_token.Output.Created.md) -- [Operations.save_templates_installation.Input](structs/Operations.save_templates_installation.Input.md) -- [Operations.save_templates_installation.Input.Headers](structs/Operations.save_templates_installation.Input.Headers.md) -- [Operations.save_templates_installation.Output.Created](structs/Operations.save_templates_installation.Output.Created.md) +- [Operations.save_teams_token.Output.Ok](structs/Operations.save_teams_token.Output.Ok.md) +- [Operations.save_user_preferences.Input](structs/Operations.save_user_preferences.Input.md) +- [Operations.save_user_preferences.Output.NoContent](structs/Operations.save_user_preferences.Output.NoContent.md) - [Operations.save_web_push_installation.Input](structs/Operations.save_web_push_installation.Input.md) - [Operations.save_web_push_installation.Input.Headers](structs/Operations.save_web_push_installation.Input.Headers.md) -- [Operations.save_web_push_installation.Output.Created](structs/Operations.save_web_push_installation.Output.Created.md) +- [Operations.save_web_push_installation.Output.Ok](structs/Operations.save_web_push_installation.Output.Ok.md) - [Operations.save_web_push_token.Input](structs/Operations.save_web_push_token.Input.md) - [Operations.save_web_push_token.Input.Headers](structs/Operations.save_web_push_token.Input.Headers.md) -- [Operations.save_web_push_token.Output.Created](structs/Operations.save_web_push_token.Output.Created.md) +- [Operations.save_web_push_token.Output.Ok](structs/Operations.save_web_push_token.Output.Ok.md) - [Operations.start_inbox_installation.Input](structs/Operations.start_inbox_installation.Input.md) - [Operations.start_inbox_installation.Input.Headers](structs/Operations.start_inbox_installation.Input.Headers.md) - [Operations.start_inbox_installation.Output.Created](structs/Operations.start_inbox_installation.Output.Created.md) @@ -178,6 +225,9 @@ - [Operations.start_web_push_installation.Input](structs/Operations.start_web_push_installation.Input.md) - [Operations.start_web_push_installation.Input.Headers](structs/Operations.start_web_push_installation.Input.Headers.md) - [Operations.start_web_push_installation.Output.Created](structs/Operations.start_web_push_installation.Output.Created.md) +- [Operations.unarchive_notification.Input](structs/Operations.unarchive_notification.Input.md) +- [Operations.unarchive_notification.Input.Path](structs/Operations.unarchive_notification.Input.Path.md) +- [Operations.unarchive_notification.Output.NoContent](structs/Operations.unarchive_notification.Output.NoContent.md) ## Enums @@ -189,41 +239,43 @@ - [Components.Schemas](enums/Components.Schemas.md) - [Components.Schemas.APNSToken.CodingKeys](enums/Components.Schemas.APNSToken.CodingKeys.md) - [Components.Schemas.APNSToken.installation_idPayload](enums/Components.Schemas.APNSToken.installation_idPayload.md) -- [Components.Schemas.APNSTokenResponse.CodingKeys](enums/Components.Schemas.APNSTokenResponse.CodingKeys.md) -- [Components.Schemas.APNSTokenResponse.installation_idPayload](enums/Components.Schemas.APNSTokenResponse.installation_idPayload.md) -- [Components.Schemas.ArrayOfAPNSTokenResponses.CodingKeys](enums/Components.Schemas.ArrayOfAPNSTokenResponses.CodingKeys.md) -- [Components.Schemas.ArrayOfExpoTokenResponses.CodingKeys](enums/Components.Schemas.ArrayOfExpoTokenResponses.CodingKeys.md) -- [Components.Schemas.ArrayOfFCMTokenResponses.CodingKeys](enums/Components.Schemas.ArrayOfFCMTokenResponses.CodingKeys.md) -- [Components.Schemas.ArrayOfSlackTokenResponses.CodingKeys](enums/Components.Schemas.ArrayOfSlackTokenResponses.CodingKeys.md) -- [Components.Schemas.ArrayOfTeamsTokenResponses.CodingKeys](enums/Components.Schemas.ArrayOfTeamsTokenResponses.CodingKeys.md) -- [Components.Schemas.ArrayOfWebPushTokenResponses.CodingKeys](enums/Components.Schemas.ArrayOfWebPushTokenResponses.CodingKeys.md) +- [Components.Schemas.APNSTokenCollection.CodingKeys](enums/Components.Schemas.APNSTokenCollection.CodingKeys.md) +- [Components.Schemas.APNSTokenPayload.CodingKeys](enums/Components.Schemas.APNSTokenPayload.CodingKeys.md) +- [Components.Schemas.APNSTokenPayload.installation_idPayload](enums/Components.Schemas.APNSTokenPayload.installation_idPayload.md) - [Components.Schemas.DiscardResult.CodingKeys](enums/Components.Schemas.DiscardResult.CodingKeys.md) - [Components.Schemas.ExpoToken.CodingKeys](enums/Components.Schemas.ExpoToken.CodingKeys.md) -- [Components.Schemas.ExpoTokenResponse.CodingKeys](enums/Components.Schemas.ExpoTokenResponse.CodingKeys.md) +- [Components.Schemas.ExpoTokenCollection.CodingKeys](enums/Components.Schemas.ExpoTokenCollection.CodingKeys.md) +- [Components.Schemas.ExpoTokenPayload.CodingKeys](enums/Components.Schemas.ExpoTokenPayload.CodingKeys.md) - [Components.Schemas.FCMToken.CodingKeys](enums/Components.Schemas.FCMToken.CodingKeys.md) - [Components.Schemas.FCMToken.installation_idPayload](enums/Components.Schemas.FCMToken.installation_idPayload.md) -- [Components.Schemas.FCMTokenResponse.CodingKeys](enums/Components.Schemas.FCMTokenResponse.CodingKeys.md) -- [Components.Schemas.FCMTokenResponse.installation_idPayload](enums/Components.Schemas.FCMTokenResponse.installation_idPayload.md) -- [Components.Schemas.InboxConfig.CodingKeys](enums/Components.Schemas.InboxConfig.CodingKeys.md) -- [Components.Schemas.InboxConfig.imagesPayload.CodingKeys](enums/Components.Schemas.InboxConfig.imagesPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.bannerPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.bannerPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.dialogPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.dialogPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.footerPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.footerPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.headerPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.headerPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.iconPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.iconPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md) -- [Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.CodingKeys](enums/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.CodingKeys.md) +- [Components.Schemas.FCMTokenCollection.CodingKeys](enums/Components.Schemas.FCMTokenCollection.CodingKeys.md) +- [Components.Schemas.FCMTokenPayload.CodingKeys](enums/Components.Schemas.FCMTokenPayload.CodingKeys.md) +- [Components.Schemas.FCMTokenPayload.installation_idPayload](enums/Components.Schemas.FCMTokenPayload.installation_idPayload.md) +- [Components.Schemas.InboxConfigPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.imagesPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.imagesPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.footerPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.headerPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.iconPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md) +- [Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.CodingKeys](enums/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.CodingKeys.md) +- [Components.Schemas.InboxToken.CodingKeys](enums/Components.Schemas.InboxToken.CodingKeys.md) +- [Components.Schemas.InboxTokenResponse.CodingKeys](enums/Components.Schemas.InboxTokenResponse.CodingKeys.md) +- [Components.Schemas.InboxTokenResponseCollection.CodingKeys](enums/Components.Schemas.InboxTokenResponseCollection.CodingKeys.md) - [Components.Schemas.Links.CodingKeys](enums/Components.Schemas.Links.CodingKeys.md) +- [Components.Schemas.Notification.CodingKeys](enums/Components.Schemas.Notification.CodingKeys.md) +- [Components.Schemas.NotificationCollection.CodingKeys](enums/Components.Schemas.NotificationCollection.CodingKeys.md) - [Components.Schemas.SlackFinishInstallResponse.CodingKeys](enums/Components.Schemas.SlackFinishInstallResponse.CodingKeys.md) - [Components.Schemas.SlackInstallation.CodingKeys](enums/Components.Schemas.SlackInstallation.CodingKeys.md) - [Components.Schemas.SlackInstallation.authed_userPayload.CodingKeys](enums/Components.Schemas.SlackInstallation.authed_userPayload.CodingKeys.md) @@ -235,147 +287,189 @@ - [Components.Schemas.SlackToken.CodingKeys](enums/Components.Schemas.SlackToken.CodingKeys.md) - [Components.Schemas.SlackToken.oauthPayload.CodingKeys](enums/Components.Schemas.SlackToken.oauthPayload.CodingKeys.md) - [Components.Schemas.SlackToken.webhookPayload.CodingKeys](enums/Components.Schemas.SlackToken.webhookPayload.CodingKeys.md) -- [Components.Schemas.SlackTokenResponse.CodingKeys](enums/Components.Schemas.SlackTokenResponse.CodingKeys.md) -- [Components.Schemas.SlackTokenResponse.oauthPayload.CodingKeys](enums/Components.Schemas.SlackTokenResponse.oauthPayload.CodingKeys.md) -- [Components.Schemas.SlackTokenResponse.webhookPayload.CodingKeys](enums/Components.Schemas.SlackTokenResponse.webhookPayload.CodingKeys.md) +- [Components.Schemas.SlackTokenCollection.CodingKeys](enums/Components.Schemas.SlackTokenCollection.CodingKeys.md) +- [Components.Schemas.SlackTokenPayload.CodingKeys](enums/Components.Schemas.SlackTokenPayload.CodingKeys.md) +- [Components.Schemas.SlackTokenPayload.oauthPayload.CodingKeys](enums/Components.Schemas.SlackTokenPayload.oauthPayload.CodingKeys.md) +- [Components.Schemas.SlackTokenPayload.webhookPayload.CodingKeys](enums/Components.Schemas.SlackTokenPayload.webhookPayload.CodingKeys.md) - [Components.Schemas.TeamsToken.CodingKeys](enums/Components.Schemas.TeamsToken.CodingKeys.md) - [Components.Schemas.TeamsToken.webhookPayload.CodingKeys](enums/Components.Schemas.TeamsToken.webhookPayload.CodingKeys.md) -- [Components.Schemas.TeamsTokenResponse.CodingKeys](enums/Components.Schemas.TeamsTokenResponse.CodingKeys.md) -- [Components.Schemas.TeamsTokenResponse.webhookPayload.CodingKeys](enums/Components.Schemas.TeamsTokenResponse.webhookPayload.CodingKeys.md) -- [Components.Schemas.TemplatesInstallation.CodingKeys](enums/Components.Schemas.TemplatesInstallation.CodingKeys.md) +- [Components.Schemas.TeamsTokenCollection.CodingKeys](enums/Components.Schemas.TeamsTokenCollection.CodingKeys.md) +- [Components.Schemas.TeamsTokenPayload.CodingKeys](enums/Components.Schemas.TeamsTokenPayload.CodingKeys.md) +- [Components.Schemas.TeamsTokenPayload.webhookPayload.CodingKeys](enums/Components.Schemas.TeamsTokenPayload.webhookPayload.CodingKeys.md) +- [Components.Schemas.UserPreferences.CodingKeys](enums/Components.Schemas.UserPreferences.CodingKeys.md) +- [Components.Schemas.UserPreferences.categoriesPayloadPayload.CodingKeys](enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.CodingKeys.md) +- [Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.CodingKeys](enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.CodingKeys.md) - [Components.Schemas.WebPushStartInstallationResponse.CodingKeys](enums/Components.Schemas.WebPushStartInstallationResponse.CodingKeys.md) - [Components.Schemas.WebPushToken.CodingKeys](enums/Components.Schemas.WebPushToken.CodingKeys.md) - [Components.Schemas.WebPushToken.keysPayload.CodingKeys](enums/Components.Schemas.WebPushToken.keysPayload.CodingKeys.md) -- [Components.Schemas.WebPushTokenResponse.CodingKeys](enums/Components.Schemas.WebPushTokenResponse.CodingKeys.md) -- [Components.Schemas.WebPushTokenResponse.keysPayload.CodingKeys](enums/Components.Schemas.WebPushTokenResponse.keysPayload.CodingKeys.md) +- [Components.Schemas.WebPushTokenCollection.CodingKeys](enums/Components.Schemas.WebPushTokenCollection.CodingKeys.md) +- [Components.Schemas.WebPushTokenPayload.CodingKeys](enums/Components.Schemas.WebPushTokenPayload.CodingKeys.md) +- [Components.Schemas.WebPushTokenPayload.keysPayload.CodingKeys](enums/Components.Schemas.WebPushTokenPayload.keysPayload.CodingKeys.md) - [Operations](enums/Operations.md) -- [Operations.discard_mobile_push_apns_token](enums/Operations.discard_mobile_push_apns_token.md) -- [Operations.discard_mobile_push_apns_token.AcceptableContentType](enums/Operations.discard_mobile_push_apns_token.AcceptableContentType.md) -- [Operations.discard_mobile_push_apns_token.Output](enums/Operations.discard_mobile_push_apns_token.Output.md) -- [Operations.discard_mobile_push_apns_token.Output.Ok.Body](enums/Operations.discard_mobile_push_apns_token.Output.Ok.Body.md) -- [Operations.discard_mobile_push_expo_token](enums/Operations.discard_mobile_push_expo_token.md) -- [Operations.discard_mobile_push_expo_token.AcceptableContentType](enums/Operations.discard_mobile_push_expo_token.AcceptableContentType.md) -- [Operations.discard_mobile_push_expo_token.Output](enums/Operations.discard_mobile_push_expo_token.Output.md) -- [Operations.discard_mobile_push_expo_token.Output.Ok.Body](enums/Operations.discard_mobile_push_expo_token.Output.Ok.Body.md) -- [Operations.discard_mobile_push_fcm_token](enums/Operations.discard_mobile_push_fcm_token.md) -- [Operations.discard_mobile_push_fcm_token.AcceptableContentType](enums/Operations.discard_mobile_push_fcm_token.AcceptableContentType.md) -- [Operations.discard_mobile_push_fcm_token.Output](enums/Operations.discard_mobile_push_fcm_token.Output.md) -- [Operations.discard_mobile_push_fcm_token.Output.Ok.Body](enums/Operations.discard_mobile_push_fcm_token.Output.Ok.Body.md) -- [Operations.discard_slack_token](enums/Operations.discard_slack_token.md) -- [Operations.discard_slack_token.AcceptableContentType](enums/Operations.discard_slack_token.AcceptableContentType.md) -- [Operations.discard_slack_token.Output](enums/Operations.discard_slack_token.Output.md) -- [Operations.discard_slack_token.Output.Ok.Body](enums/Operations.discard_slack_token.Output.Ok.Body.md) -- [Operations.discard_teams_token](enums/Operations.discard_teams_token.md) -- [Operations.discard_teams_token.AcceptableContentType](enums/Operations.discard_teams_token.AcceptableContentType.md) -- [Operations.discard_teams_token.Output](enums/Operations.discard_teams_token.Output.md) -- [Operations.discard_teams_token.Output.Ok.Body](enums/Operations.discard_teams_token.Output.Ok.Body.md) -- [Operations.discard_web_push_token](enums/Operations.discard_web_push_token.md) -- [Operations.discard_web_push_token.AcceptableContentType](enums/Operations.discard_web_push_token.AcceptableContentType.md) -- [Operations.discard_web_push_token.Output](enums/Operations.discard_web_push_token.Output.md) -- [Operations.discard_web_push_token.Output.Ok.Body](enums/Operations.discard_web_push_token.Output.Ok.Body.md) +- [Operations.archive_all_notifications](enums/Operations.archive_all_notifications.md) +- [Operations.archive_all_notifications.Output](enums/Operations.archive_all_notifications.Output.md) +- [Operations.archive_notification](enums/Operations.archive_notification.md) +- [Operations.archive_notification.Output](enums/Operations.archive_notification.Output.md) +- [Operations.delete_apns_token](enums/Operations.delete_apns_token.md) +- [Operations.delete_apns_token.AcceptableContentType](enums/Operations.delete_apns_token.AcceptableContentType.md) +- [Operations.delete_apns_token.Output](enums/Operations.delete_apns_token.Output.md) +- [Operations.delete_apns_token.Output.Ok.Body](enums/Operations.delete_apns_token.Output.Ok.Body.md) +- [Operations.delete_expo_token](enums/Operations.delete_expo_token.md) +- [Operations.delete_expo_token.AcceptableContentType](enums/Operations.delete_expo_token.AcceptableContentType.md) +- [Operations.delete_expo_token.Output](enums/Operations.delete_expo_token.Output.md) +- [Operations.delete_expo_token.Output.Ok.Body](enums/Operations.delete_expo_token.Output.Ok.Body.md) +- [Operations.delete_fcm_token](enums/Operations.delete_fcm_token.md) +- [Operations.delete_fcm_token.AcceptableContentType](enums/Operations.delete_fcm_token.AcceptableContentType.md) +- [Operations.delete_fcm_token.Output](enums/Operations.delete_fcm_token.Output.md) +- [Operations.delete_fcm_token.Output.Ok.Body](enums/Operations.delete_fcm_token.Output.Ok.Body.md) +- [Operations.delete_inbox_token](enums/Operations.delete_inbox_token.md) +- [Operations.delete_inbox_token.AcceptableContentType](enums/Operations.delete_inbox_token.AcceptableContentType.md) +- [Operations.delete_inbox_token.Output](enums/Operations.delete_inbox_token.Output.md) +- [Operations.delete_inbox_token.Output.Ok.Body](enums/Operations.delete_inbox_token.Output.Ok.Body.md) +- [Operations.delete_slack_token](enums/Operations.delete_slack_token.md) +- [Operations.delete_slack_token.AcceptableContentType](enums/Operations.delete_slack_token.AcceptableContentType.md) +- [Operations.delete_slack_token.Output](enums/Operations.delete_slack_token.Output.md) +- [Operations.delete_slack_token.Output.Ok.Body](enums/Operations.delete_slack_token.Output.Ok.Body.md) +- [Operations.delete_teams_token](enums/Operations.delete_teams_token.md) +- [Operations.delete_teams_token.AcceptableContentType](enums/Operations.delete_teams_token.AcceptableContentType.md) +- [Operations.delete_teams_token.Output](enums/Operations.delete_teams_token.Output.md) +- [Operations.delete_teams_token.Output.Ok.Body](enums/Operations.delete_teams_token.Output.Ok.Body.md) +- [Operations.delete_web_push_token](enums/Operations.delete_web_push_token.md) +- [Operations.delete_web_push_token.AcceptableContentType](enums/Operations.delete_web_push_token.AcceptableContentType.md) +- [Operations.delete_web_push_token.Output](enums/Operations.delete_web_push_token.Output.md) +- [Operations.delete_web_push_token.Output.Ok.Body](enums/Operations.delete_web_push_token.Output.Ok.Body.md) +- [Operations.fetch_apns_token](enums/Operations.fetch_apns_token.md) +- [Operations.fetch_apns_token.AcceptableContentType](enums/Operations.fetch_apns_token.AcceptableContentType.md) +- [Operations.fetch_apns_token.Output](enums/Operations.fetch_apns_token.Output.md) +- [Operations.fetch_apns_token.Output.Ok.Body](enums/Operations.fetch_apns_token.Output.Ok.Body.md) +- [Operations.fetch_expo_token](enums/Operations.fetch_expo_token.md) +- [Operations.fetch_expo_token.AcceptableContentType](enums/Operations.fetch_expo_token.AcceptableContentType.md) +- [Operations.fetch_expo_token.Output](enums/Operations.fetch_expo_token.Output.md) +- [Operations.fetch_expo_token.Output.Ok.Body](enums/Operations.fetch_expo_token.Output.Ok.Body.md) +- [Operations.fetch_fcm_token](enums/Operations.fetch_fcm_token.md) +- [Operations.fetch_fcm_token.AcceptableContentType](enums/Operations.fetch_fcm_token.AcceptableContentType.md) +- [Operations.fetch_fcm_token.Output](enums/Operations.fetch_fcm_token.Output.md) +- [Operations.fetch_fcm_token.Output.Ok.Body](enums/Operations.fetch_fcm_token.Output.Ok.Body.md) +- [Operations.fetch_inbox_token](enums/Operations.fetch_inbox_token.md) +- [Operations.fetch_inbox_token.AcceptableContentType](enums/Operations.fetch_inbox_token.AcceptableContentType.md) +- [Operations.fetch_inbox_token.Output](enums/Operations.fetch_inbox_token.Output.md) +- [Operations.fetch_inbox_token.Output.Ok.Body](enums/Operations.fetch_inbox_token.Output.Ok.Body.md) +- [Operations.fetch_notification](enums/Operations.fetch_notification.md) +- [Operations.fetch_notification.AcceptableContentType](enums/Operations.fetch_notification.AcceptableContentType.md) +- [Operations.fetch_notification.Output](enums/Operations.fetch_notification.Output.md) +- [Operations.fetch_notification.Output.Ok.Body](enums/Operations.fetch_notification.Output.Ok.Body.md) +- [Operations.fetch_slack_token](enums/Operations.fetch_slack_token.md) +- [Operations.fetch_slack_token.AcceptableContentType](enums/Operations.fetch_slack_token.AcceptableContentType.md) +- [Operations.fetch_slack_token.Output](enums/Operations.fetch_slack_token.Output.md) +- [Operations.fetch_slack_token.Output.Ok.Body](enums/Operations.fetch_slack_token.Output.Ok.Body.md) +- [Operations.fetch_teams_token](enums/Operations.fetch_teams_token.md) +- [Operations.fetch_teams_token.AcceptableContentType](enums/Operations.fetch_teams_token.AcceptableContentType.md) +- [Operations.fetch_teams_token.Output](enums/Operations.fetch_teams_token.Output.md) +- [Operations.fetch_teams_token.Output.Ok.Body](enums/Operations.fetch_teams_token.Output.Ok.Body.md) +- [Operations.fetch_user_preferences](enums/Operations.fetch_user_preferences.md) +- [Operations.fetch_user_preferences.AcceptableContentType](enums/Operations.fetch_user_preferences.AcceptableContentType.md) +- [Operations.fetch_user_preferences.Output](enums/Operations.fetch_user_preferences.Output.md) +- [Operations.fetch_user_preferences.Output.Ok.Body](enums/Operations.fetch_user_preferences.Output.Ok.Body.md) +- [Operations.fetch_web_push_token](enums/Operations.fetch_web_push_token.md) +- [Operations.fetch_web_push_token.AcceptableContentType](enums/Operations.fetch_web_push_token.AcceptableContentType.md) +- [Operations.fetch_web_push_token.Output](enums/Operations.fetch_web_push_token.Output.md) +- [Operations.fetch_web_push_token.Output.Ok.Body](enums/Operations.fetch_web_push_token.Output.Ok.Body.md) - [Operations.finish_slack_installation](enums/Operations.finish_slack_installation.md) - [Operations.finish_slack_installation.AcceptableContentType](enums/Operations.finish_slack_installation.AcceptableContentType.md) - [Operations.finish_slack_installation.Input.Body](enums/Operations.finish_slack_installation.Input.Body.md) - [Operations.finish_slack_installation.Output](enums/Operations.finish_slack_installation.Output.md) - [Operations.finish_slack_installation.Output.Created.Body](enums/Operations.finish_slack_installation.Output.Created.Body.md) -- [Operations.get_mobile_push_apns_token](enums/Operations.get_mobile_push_apns_token.md) -- [Operations.get_mobile_push_apns_token.AcceptableContentType](enums/Operations.get_mobile_push_apns_token.AcceptableContentType.md) -- [Operations.get_mobile_push_apns_token.Output](enums/Operations.get_mobile_push_apns_token.Output.md) -- [Operations.get_mobile_push_apns_token.Output.Ok.Body](enums/Operations.get_mobile_push_apns_token.Output.Ok.Body.md) -- [Operations.get_mobile_push_apns_tokens](enums/Operations.get_mobile_push_apns_tokens.md) -- [Operations.get_mobile_push_apns_tokens.AcceptableContentType](enums/Operations.get_mobile_push_apns_tokens.AcceptableContentType.md) -- [Operations.get_mobile_push_apns_tokens.Output](enums/Operations.get_mobile_push_apns_tokens.Output.md) -- [Operations.get_mobile_push_apns_tokens.Output.Ok.Body](enums/Operations.get_mobile_push_apns_tokens.Output.Ok.Body.md) -- [Operations.get_mobile_push_expo_token](enums/Operations.get_mobile_push_expo_token.md) -- [Operations.get_mobile_push_expo_token.AcceptableContentType](enums/Operations.get_mobile_push_expo_token.AcceptableContentType.md) -- [Operations.get_mobile_push_expo_token.Output](enums/Operations.get_mobile_push_expo_token.Output.md) -- [Operations.get_mobile_push_expo_token.Output.Ok.Body](enums/Operations.get_mobile_push_expo_token.Output.Ok.Body.md) -- [Operations.get_mobile_push_expo_tokens](enums/Operations.get_mobile_push_expo_tokens.md) -- [Operations.get_mobile_push_expo_tokens.AcceptableContentType](enums/Operations.get_mobile_push_expo_tokens.AcceptableContentType.md) -- [Operations.get_mobile_push_expo_tokens.Output](enums/Operations.get_mobile_push_expo_tokens.Output.md) -- [Operations.get_mobile_push_expo_tokens.Output.Ok.Body](enums/Operations.get_mobile_push_expo_tokens.Output.Ok.Body.md) -- [Operations.get_mobile_push_fcm_token](enums/Operations.get_mobile_push_fcm_token.md) -- [Operations.get_mobile_push_fcm_token.AcceptableContentType](enums/Operations.get_mobile_push_fcm_token.AcceptableContentType.md) -- [Operations.get_mobile_push_fcm_token.Output](enums/Operations.get_mobile_push_fcm_token.Output.md) -- [Operations.get_mobile_push_fcm_token.Output.Ok.Body](enums/Operations.get_mobile_push_fcm_token.Output.Ok.Body.md) -- [Operations.get_mobile_push_fcm_tokens](enums/Operations.get_mobile_push_fcm_tokens.md) -- [Operations.get_mobile_push_fcm_tokens.AcceptableContentType](enums/Operations.get_mobile_push_fcm_tokens.AcceptableContentType.md) -- [Operations.get_mobile_push_fcm_tokens.Output](enums/Operations.get_mobile_push_fcm_tokens.Output.md) -- [Operations.get_mobile_push_fcm_tokens.Output.Ok.Body](enums/Operations.get_mobile_push_fcm_tokens.Output.Ok.Body.md) -- [Operations.get_slack_token](enums/Operations.get_slack_token.md) -- [Operations.get_slack_token.AcceptableContentType](enums/Operations.get_slack_token.AcceptableContentType.md) -- [Operations.get_slack_token.Output](enums/Operations.get_slack_token.Output.md) -- [Operations.get_slack_token.Output.Ok.Body](enums/Operations.get_slack_token.Output.Ok.Body.md) -- [Operations.get_slack_tokens](enums/Operations.get_slack_tokens.md) -- [Operations.get_slack_tokens.AcceptableContentType](enums/Operations.get_slack_tokens.AcceptableContentType.md) -- [Operations.get_slack_tokens.Output](enums/Operations.get_slack_tokens.Output.md) -- [Operations.get_slack_tokens.Output.Ok.Body](enums/Operations.get_slack_tokens.Output.Ok.Body.md) -- [Operations.get_teams_token](enums/Operations.get_teams_token.md) -- [Operations.get_teams_token.AcceptableContentType](enums/Operations.get_teams_token.AcceptableContentType.md) -- [Operations.get_teams_token.Output](enums/Operations.get_teams_token.Output.md) -- [Operations.get_teams_token.Output.Ok.Body](enums/Operations.get_teams_token.Output.Ok.Body.md) -- [Operations.get_teams_tokens](enums/Operations.get_teams_tokens.md) -- [Operations.get_teams_tokens.AcceptableContentType](enums/Operations.get_teams_tokens.AcceptableContentType.md) -- [Operations.get_teams_tokens.Output](enums/Operations.get_teams_tokens.Output.md) -- [Operations.get_teams_tokens.Output.Ok.Body](enums/Operations.get_teams_tokens.Output.Ok.Body.md) -- [Operations.get_web_push_token](enums/Operations.get_web_push_token.md) -- [Operations.get_web_push_token.AcceptableContentType](enums/Operations.get_web_push_token.AcceptableContentType.md) -- [Operations.get_web_push_token.Output](enums/Operations.get_web_push_token.Output.md) -- [Operations.get_web_push_token.Output.Ok.Body](enums/Operations.get_web_push_token.Output.Ok.Body.md) -- [Operations.get_web_push_tokens](enums/Operations.get_web_push_tokens.md) -- [Operations.get_web_push_tokens.AcceptableContentType](enums/Operations.get_web_push_tokens.AcceptableContentType.md) -- [Operations.get_web_push_tokens.Output](enums/Operations.get_web_push_tokens.Output.md) -- [Operations.get_web_push_tokens.Output.Ok.Body](enums/Operations.get_web_push_tokens.Output.Ok.Body.md) +- [Operations.list_apns_tokens](enums/Operations.list_apns_tokens.md) +- [Operations.list_apns_tokens.AcceptableContentType](enums/Operations.list_apns_tokens.AcceptableContentType.md) +- [Operations.list_apns_tokens.Output](enums/Operations.list_apns_tokens.Output.md) +- [Operations.list_apns_tokens.Output.Ok.Body](enums/Operations.list_apns_tokens.Output.Ok.Body.md) +- [Operations.list_expo_tokens](enums/Operations.list_expo_tokens.md) +- [Operations.list_expo_tokens.AcceptableContentType](enums/Operations.list_expo_tokens.AcceptableContentType.md) +- [Operations.list_expo_tokens.Output](enums/Operations.list_expo_tokens.Output.md) +- [Operations.list_expo_tokens.Output.Ok.Body](enums/Operations.list_expo_tokens.Output.Ok.Body.md) +- [Operations.list_fcm_tokens](enums/Operations.list_fcm_tokens.md) +- [Operations.list_fcm_tokens.AcceptableContentType](enums/Operations.list_fcm_tokens.AcceptableContentType.md) +- [Operations.list_fcm_tokens.Output](enums/Operations.list_fcm_tokens.Output.md) +- [Operations.list_fcm_tokens.Output.Ok.Body](enums/Operations.list_fcm_tokens.Output.Ok.Body.md) +- [Operations.list_inbox_tokens](enums/Operations.list_inbox_tokens.md) +- [Operations.list_inbox_tokens.AcceptableContentType](enums/Operations.list_inbox_tokens.AcceptableContentType.md) +- [Operations.list_inbox_tokens.Output](enums/Operations.list_inbox_tokens.Output.md) +- [Operations.list_inbox_tokens.Output.Ok.Body](enums/Operations.list_inbox_tokens.Output.Ok.Body.md) +- [Operations.list_notifications](enums/Operations.list_notifications.md) +- [Operations.list_notifications.AcceptableContentType](enums/Operations.list_notifications.AcceptableContentType.md) +- [Operations.list_notifications.Output](enums/Operations.list_notifications.Output.md) +- [Operations.list_notifications.Output.Ok.Body](enums/Operations.list_notifications.Output.Ok.Body.md) +- [Operations.list_slack_tokens](enums/Operations.list_slack_tokens.md) +- [Operations.list_slack_tokens.AcceptableContentType](enums/Operations.list_slack_tokens.AcceptableContentType.md) +- [Operations.list_slack_tokens.Output](enums/Operations.list_slack_tokens.Output.md) +- [Operations.list_slack_tokens.Output.Ok.Body](enums/Operations.list_slack_tokens.Output.Ok.Body.md) +- [Operations.list_teams_tokens](enums/Operations.list_teams_tokens.md) +- [Operations.list_teams_tokens.AcceptableContentType](enums/Operations.list_teams_tokens.AcceptableContentType.md) +- [Operations.list_teams_tokens.Output](enums/Operations.list_teams_tokens.Output.md) +- [Operations.list_teams_tokens.Output.Ok.Body](enums/Operations.list_teams_tokens.Output.Ok.Body.md) +- [Operations.list_web_push_tokens](enums/Operations.list_web_push_tokens.md) +- [Operations.list_web_push_tokens.AcceptableContentType](enums/Operations.list_web_push_tokens.AcceptableContentType.md) +- [Operations.list_web_push_tokens.Output](enums/Operations.list_web_push_tokens.Output.md) +- [Operations.list_web_push_tokens.Output.Ok.Body](enums/Operations.list_web_push_tokens.Output.Ok.Body.md) +- [Operations.mark_all_notifications_read](enums/Operations.mark_all_notifications_read.md) +- [Operations.mark_all_notifications_read.Output](enums/Operations.mark_all_notifications_read.Output.md) +- [Operations.mark_notification_read](enums/Operations.mark_notification_read.md) +- [Operations.mark_notification_read.Output](enums/Operations.mark_notification_read.Output.md) +- [Operations.mark_notification_unread](enums/Operations.mark_notification_unread.md) +- [Operations.mark_notification_unread.Output](enums/Operations.mark_notification_unread.Output.md) +- [Operations.save_apns_token](enums/Operations.save_apns_token.md) +- [Operations.save_apns_token.AcceptableContentType](enums/Operations.save_apns_token.AcceptableContentType.md) +- [Operations.save_apns_token.Input.Body](enums/Operations.save_apns_token.Input.Body.md) +- [Operations.save_apns_token.Output](enums/Operations.save_apns_token.Output.md) +- [Operations.save_apns_token.Output.Ok.Body](enums/Operations.save_apns_token.Output.Ok.Body.md) +- [Operations.save_expo_token](enums/Operations.save_expo_token.md) +- [Operations.save_expo_token.AcceptableContentType](enums/Operations.save_expo_token.AcceptableContentType.md) +- [Operations.save_expo_token.Input.Body](enums/Operations.save_expo_token.Input.Body.md) +- [Operations.save_expo_token.Output](enums/Operations.save_expo_token.Output.md) +- [Operations.save_expo_token.Output.Ok.Body](enums/Operations.save_expo_token.Output.Ok.Body.md) +- [Operations.save_fcm_token](enums/Operations.save_fcm_token.md) +- [Operations.save_fcm_token.AcceptableContentType](enums/Operations.save_fcm_token.AcceptableContentType.md) +- [Operations.save_fcm_token.Input.Body](enums/Operations.save_fcm_token.Input.Body.md) +- [Operations.save_fcm_token.Output](enums/Operations.save_fcm_token.Output.md) +- [Operations.save_fcm_token.Output.Ok.Body](enums/Operations.save_fcm_token.Output.Ok.Body.md) - [Operations.save_inbox_installation](enums/Operations.save_inbox_installation.md) - [Operations.save_inbox_installation.AcceptableContentType](enums/Operations.save_inbox_installation.AcceptableContentType.md) - [Operations.save_inbox_installation.Input.Body](enums/Operations.save_inbox_installation.Input.Body.md) - [Operations.save_inbox_installation.Output](enums/Operations.save_inbox_installation.Output.md) -- [Operations.save_inbox_installation.Output.Created.Body](enums/Operations.save_inbox_installation.Output.Created.Body.md) -- [Operations.save_mobile_push_apns_token](enums/Operations.save_mobile_push_apns_token.md) -- [Operations.save_mobile_push_apns_token.AcceptableContentType](enums/Operations.save_mobile_push_apns_token.AcceptableContentType.md) -- [Operations.save_mobile_push_apns_token.Input.Body](enums/Operations.save_mobile_push_apns_token.Input.Body.md) -- [Operations.save_mobile_push_apns_token.Output](enums/Operations.save_mobile_push_apns_token.Output.md) -- [Operations.save_mobile_push_apns_token.Output.Created.Body](enums/Operations.save_mobile_push_apns_token.Output.Created.Body.md) -- [Operations.save_mobile_push_expo_token](enums/Operations.save_mobile_push_expo_token.md) -- [Operations.save_mobile_push_expo_token.AcceptableContentType](enums/Operations.save_mobile_push_expo_token.AcceptableContentType.md) -- [Operations.save_mobile_push_expo_token.Input.Body](enums/Operations.save_mobile_push_expo_token.Input.Body.md) -- [Operations.save_mobile_push_expo_token.Output](enums/Operations.save_mobile_push_expo_token.Output.md) -- [Operations.save_mobile_push_expo_token.Output.Created.Body](enums/Operations.save_mobile_push_expo_token.Output.Created.Body.md) -- [Operations.save_mobile_push_fcm_token](enums/Operations.save_mobile_push_fcm_token.md) -- [Operations.save_mobile_push_fcm_token.AcceptableContentType](enums/Operations.save_mobile_push_fcm_token.AcceptableContentType.md) -- [Operations.save_mobile_push_fcm_token.Input.Body](enums/Operations.save_mobile_push_fcm_token.Input.Body.md) -- [Operations.save_mobile_push_fcm_token.Output](enums/Operations.save_mobile_push_fcm_token.Output.md) -- [Operations.save_mobile_push_fcm_token.Output.Created.Body](enums/Operations.save_mobile_push_fcm_token.Output.Created.Body.md) +- [Operations.save_inbox_installation.Output.Ok.Body](enums/Operations.save_inbox_installation.Output.Ok.Body.md) +- [Operations.save_inbox_token](enums/Operations.save_inbox_token.md) +- [Operations.save_inbox_token.AcceptableContentType](enums/Operations.save_inbox_token.AcceptableContentType.md) +- [Operations.save_inbox_token.Input.Body](enums/Operations.save_inbox_token.Input.Body.md) +- [Operations.save_inbox_token.Output](enums/Operations.save_inbox_token.Output.md) +- [Operations.save_inbox_token.Output.Ok.Body](enums/Operations.save_inbox_token.Output.Ok.Body.md) - [Operations.save_slack_installation](enums/Operations.save_slack_installation.md) - [Operations.save_slack_installation.AcceptableContentType](enums/Operations.save_slack_installation.AcceptableContentType.md) - [Operations.save_slack_installation.Input.Body](enums/Operations.save_slack_installation.Input.Body.md) - [Operations.save_slack_installation.Output](enums/Operations.save_slack_installation.Output.md) -- [Operations.save_slack_installation.Output.Created.Body](enums/Operations.save_slack_installation.Output.Created.Body.md) +- [Operations.save_slack_installation.Output.Ok.Body](enums/Operations.save_slack_installation.Output.Ok.Body.md) - [Operations.save_slack_token](enums/Operations.save_slack_token.md) - [Operations.save_slack_token.AcceptableContentType](enums/Operations.save_slack_token.AcceptableContentType.md) - [Operations.save_slack_token.Input.Body](enums/Operations.save_slack_token.Input.Body.md) - [Operations.save_slack_token.Output](enums/Operations.save_slack_token.Output.md) -- [Operations.save_slack_token.Output.Created.Body](enums/Operations.save_slack_token.Output.Created.Body.md) +- [Operations.save_slack_token.Output.Ok.Body](enums/Operations.save_slack_token.Output.Ok.Body.md) - [Operations.save_teams_token](enums/Operations.save_teams_token.md) - [Operations.save_teams_token.AcceptableContentType](enums/Operations.save_teams_token.AcceptableContentType.md) - [Operations.save_teams_token.Input.Body](enums/Operations.save_teams_token.Input.Body.md) - [Operations.save_teams_token.Output](enums/Operations.save_teams_token.Output.md) -- [Operations.save_teams_token.Output.Created.Body](enums/Operations.save_teams_token.Output.Created.Body.md) -- [Operations.save_templates_installation](enums/Operations.save_templates_installation.md) -- [Operations.save_templates_installation.AcceptableContentType](enums/Operations.save_templates_installation.AcceptableContentType.md) -- [Operations.save_templates_installation.Input.Body](enums/Operations.save_templates_installation.Input.Body.md) -- [Operations.save_templates_installation.Output](enums/Operations.save_templates_installation.Output.md) -- [Operations.save_templates_installation.Output.Created.Body](enums/Operations.save_templates_installation.Output.Created.Body.md) +- [Operations.save_teams_token.Output.Ok.Body](enums/Operations.save_teams_token.Output.Ok.Body.md) +- [Operations.save_user_preferences](enums/Operations.save_user_preferences.md) +- [Operations.save_user_preferences.Input.Body](enums/Operations.save_user_preferences.Input.Body.md) +- [Operations.save_user_preferences.Output](enums/Operations.save_user_preferences.Output.md) - [Operations.save_web_push_installation](enums/Operations.save_web_push_installation.md) - [Operations.save_web_push_installation.AcceptableContentType](enums/Operations.save_web_push_installation.AcceptableContentType.md) - [Operations.save_web_push_installation.Input.Body](enums/Operations.save_web_push_installation.Input.Body.md) - [Operations.save_web_push_installation.Output](enums/Operations.save_web_push_installation.Output.md) -- [Operations.save_web_push_installation.Output.Created.Body](enums/Operations.save_web_push_installation.Output.Created.Body.md) +- [Operations.save_web_push_installation.Output.Ok.Body](enums/Operations.save_web_push_installation.Output.Ok.Body.md) - [Operations.save_web_push_token](enums/Operations.save_web_push_token.md) - [Operations.save_web_push_token.AcceptableContentType](enums/Operations.save_web_push_token.AcceptableContentType.md) - [Operations.save_web_push_token.Input.Body](enums/Operations.save_web_push_token.Input.Body.md) - [Operations.save_web_push_token.Output](enums/Operations.save_web_push_token.Output.md) -- [Operations.save_web_push_token.Output.Created.Body](enums/Operations.save_web_push_token.Output.Created.Body.md) +- [Operations.save_web_push_token.Output.Ok.Body](enums/Operations.save_web_push_token.Output.Ok.Body.md) - [Operations.start_inbox_installation](enums/Operations.start_inbox_installation.md) - [Operations.start_inbox_installation.AcceptableContentType](enums/Operations.start_inbox_installation.AcceptableContentType.md) - [Operations.start_inbox_installation.Output](enums/Operations.start_inbox_installation.Output.md) @@ -389,6 +483,8 @@ - [Operations.start_web_push_installation.AcceptableContentType](enums/Operations.start_web_push_installation.AcceptableContentType.md) - [Operations.start_web_push_installation.Output](enums/Operations.start_web_push_installation.Output.md) - [Operations.start_web_push_installation.Output.Created.Body](enums/Operations.start_web_push_installation.Output.Created.Body.md) +- [Operations.unarchive_notification](enums/Operations.unarchive_notification.md) +- [Operations.unarchive_notification.Output](enums/Operations.unarchive_notification.Output.md) - [Servers](enums/Servers.md) - [Servers.Server1](enums/Servers.Server1.md) @@ -396,4 +492,9 @@ - [APIProtocol](extensions/APIProtocol.md) +## Typealiases + +- [Components.Schemas.UserPreferences.categoriesPayload](typealiases/Components.Schemas.UserPreferences.categoriesPayload.md) +- [Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload](typealiases/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload.md) + This file was generated by [SourceDocs](https://github.com/eneko/SourceDocs) \ No newline at end of file diff --git a/documentation/enums/Components.Schemas.APNSToken.CodingKeys.md b/documentation/enums/Components.Schemas.APNSToken.CodingKeys.md index 033f989..9fb5833 100644 --- a/documentation/enums/Components.Schemas.APNSToken.CodingKeys.md +++ b/documentation/enums/Components.Schemas.APNSToken.CodingKeys.md @@ -6,8 +6,12 @@ - [Cases](#cases) - `app_id` + - `created_at` - `device_token` + - `discarded_at` + - `id` - `installation_id` + - `updated_at` ```swift public enum CodingKeys: String, CodingKey @@ -20,14 +24,38 @@ public enum CodingKeys: String, CodingKey case app_id ``` +### `created_at` + +```swift +case created_at +``` + ### `device_token` ```swift case device_token ``` +### `discarded_at` + +```swift +case discarded_at +``` + +### `id` + +```swift +case id +``` + ### `installation_id` ```swift case installation_id ``` + +### `updated_at` + +```swift +case updated_at +``` diff --git a/documentation/enums/Components.Schemas.ArrayOfFCMTokenResponses.CodingKeys.md b/documentation/enums/Components.Schemas.APNSTokenCollection.CodingKeys.md similarity index 77% rename from documentation/enums/Components.Schemas.ArrayOfFCMTokenResponses.CodingKeys.md rename to documentation/enums/Components.Schemas.APNSTokenCollection.CodingKeys.md index 5442806..bd24d41 100644 --- a/documentation/enums/Components.Schemas.ArrayOfFCMTokenResponses.CodingKeys.md +++ b/documentation/enums/Components.Schemas.APNSTokenCollection.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.ArrayOfFCMTokenResponses.CodingKeys` +# `Components.Schemas.APNSTokenCollection.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.APNSTokenResponse.CodingKeys.md b/documentation/enums/Components.Schemas.APNSTokenPayload.CodingKeys.md similarity index 51% rename from documentation/enums/Components.Schemas.APNSTokenResponse.CodingKeys.md rename to documentation/enums/Components.Schemas.APNSTokenPayload.CodingKeys.md index 5925d1d..695a3f9 100644 --- a/documentation/enums/Components.Schemas.APNSTokenResponse.CodingKeys.md +++ b/documentation/enums/Components.Schemas.APNSTokenPayload.CodingKeys.md @@ -1,17 +1,13 @@ **ENUM** -# `Components.Schemas.APNSTokenResponse.CodingKeys` +# `Components.Schemas.APNSTokenPayload.CodingKeys` **Contents** - [Cases](#cases) - `app_id` - - `created_at` - `device_token` - - `discarded_at` - - `id` - `installation_id` - - `updated_at` ```swift public enum CodingKeys: String, CodingKey @@ -24,38 +20,14 @@ public enum CodingKeys: String, CodingKey case app_id ``` -### `created_at` - -```swift -case created_at -``` - ### `device_token` ```swift case device_token ``` -### `discarded_at` - -```swift -case discarded_at -``` - -### `id` - -```swift -case id -``` - ### `installation_id` ```swift case installation_id ``` - -### `updated_at` - -```swift -case updated_at -``` diff --git a/documentation/enums/Components.Schemas.APNSTokenResponse.installation_idPayload.md b/documentation/enums/Components.Schemas.APNSTokenPayload.installation_idPayload.md similarity index 75% rename from documentation/enums/Components.Schemas.APNSTokenResponse.installation_idPayload.md rename to documentation/enums/Components.Schemas.APNSTokenPayload.installation_idPayload.md index 315d017..23ceecb 100644 --- a/documentation/enums/Components.Schemas.APNSTokenResponse.installation_idPayload.md +++ b/documentation/enums/Components.Schemas.APNSTokenPayload.installation_idPayload.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.APNSTokenResponse.installation_idPayload` +# `Components.Schemas.APNSTokenPayload.installation_idPayload` **Contents** @@ -14,7 +14,7 @@ (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. -- Remark: Generated from `#/components/schemas/APNSTokenResponse/installation_id`. +- Remark: Generated from `#/components/schemas/APNSTokenPayload/installation_id`. ## Cases ### `development` diff --git a/documentation/enums/Components.Schemas.ArrayOfTeamsTokenResponses.CodingKeys.md b/documentation/enums/Components.Schemas.ArrayOfTeamsTokenResponses.CodingKeys.md deleted file mode 100644 index 8c4d9d4..0000000 --- a/documentation/enums/Components.Schemas.ArrayOfTeamsTokenResponses.CodingKeys.md +++ /dev/null @@ -1,26 +0,0 @@ -**ENUM** - -# `Components.Schemas.ArrayOfTeamsTokenResponses.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `data` - - `links` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `data` - -```swift -case data -``` - -### `links` - -```swift -case links -``` diff --git a/documentation/enums/Components.Schemas.ArrayOfWebPushTokenResponses.CodingKeys.md b/documentation/enums/Components.Schemas.ArrayOfWebPushTokenResponses.CodingKeys.md deleted file mode 100644 index 2624709..0000000 --- a/documentation/enums/Components.Schemas.ArrayOfWebPushTokenResponses.CodingKeys.md +++ /dev/null @@ -1,26 +0,0 @@ -**ENUM** - -# `Components.Schemas.ArrayOfWebPushTokenResponses.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `data` - - `links` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `data` - -```swift -case data -``` - -### `links` - -```swift -case links -``` diff --git a/documentation/enums/Components.Schemas.ExpoToken.CodingKeys.md b/documentation/enums/Components.Schemas.ExpoToken.CodingKeys.md index 3f29e57..531f124 100644 --- a/documentation/enums/Components.Schemas.ExpoToken.CodingKeys.md +++ b/documentation/enums/Components.Schemas.ExpoToken.CodingKeys.md @@ -5,15 +5,43 @@ **Contents** - [Cases](#cases) + - `created_at` - `device_token` + - `discarded_at` + - `id` + - `updated_at` ```swift public enum CodingKeys: String, CodingKey ``` ## Cases +### `created_at` + +```swift +case created_at +``` + ### `device_token` ```swift case device_token ``` + +### `discarded_at` + +```swift +case discarded_at +``` + +### `id` + +```swift +case id +``` + +### `updated_at` + +```swift +case updated_at +``` diff --git a/documentation/enums/Components.Schemas.ArrayOfAPNSTokenResponses.CodingKeys.md b/documentation/enums/Components.Schemas.ExpoTokenCollection.CodingKeys.md similarity index 77% rename from documentation/enums/Components.Schemas.ArrayOfAPNSTokenResponses.CodingKeys.md rename to documentation/enums/Components.Schemas.ExpoTokenCollection.CodingKeys.md index 47da362..f191413 100644 --- a/documentation/enums/Components.Schemas.ArrayOfAPNSTokenResponses.CodingKeys.md +++ b/documentation/enums/Components.Schemas.ExpoTokenCollection.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.ArrayOfAPNSTokenResponses.CodingKeys` +# `Components.Schemas.ExpoTokenCollection.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.ExpoTokenPayload.CodingKeys.md b/documentation/enums/Components.Schemas.ExpoTokenPayload.CodingKeys.md new file mode 100644 index 0000000..dfb16e1 --- /dev/null +++ b/documentation/enums/Components.Schemas.ExpoTokenPayload.CodingKeys.md @@ -0,0 +1,19 @@ +**ENUM** + +# `Components.Schemas.ExpoTokenPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `device_token` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `device_token` + +```swift +case device_token +``` diff --git a/documentation/enums/Components.Schemas.ExpoTokenResponse.CodingKeys.md b/documentation/enums/Components.Schemas.ExpoTokenResponse.CodingKeys.md deleted file mode 100644 index 732f014..0000000 --- a/documentation/enums/Components.Schemas.ExpoTokenResponse.CodingKeys.md +++ /dev/null @@ -1,47 +0,0 @@ -**ENUM** - -# `Components.Schemas.ExpoTokenResponse.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `created_at` - - `device_token` - - `discarded_at` - - `id` - - `updated_at` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `created_at` - -```swift -case created_at -``` - -### `device_token` - -```swift -case device_token -``` - -### `discarded_at` - -```swift -case discarded_at -``` - -### `id` - -```swift -case id -``` - -### `updated_at` - -```swift -case updated_at -``` diff --git a/documentation/enums/Components.Schemas.FCMToken.CodingKeys.md b/documentation/enums/Components.Schemas.FCMToken.CodingKeys.md index b050ae4..3190799 100644 --- a/documentation/enums/Components.Schemas.FCMToken.CodingKeys.md +++ b/documentation/enums/Components.Schemas.FCMToken.CodingKeys.md @@ -5,22 +5,50 @@ **Contents** - [Cases](#cases) + - `created_at` - `device_token` + - `discarded_at` + - `id` - `installation_id` + - `updated_at` ```swift public enum CodingKeys: String, CodingKey ``` ## Cases +### `created_at` + +```swift +case created_at +``` + ### `device_token` ```swift case device_token ``` +### `discarded_at` + +```swift +case discarded_at +``` + +### `id` + +```swift +case id +``` + ### `installation_id` ```swift case installation_id ``` + +### `updated_at` + +```swift +case updated_at +``` diff --git a/documentation/enums/Components.Schemas.ArrayOfExpoTokenResponses.CodingKeys.md b/documentation/enums/Components.Schemas.FCMTokenCollection.CodingKeys.md similarity index 77% rename from documentation/enums/Components.Schemas.ArrayOfExpoTokenResponses.CodingKeys.md rename to documentation/enums/Components.Schemas.FCMTokenCollection.CodingKeys.md index bf61e3d..f933835 100644 --- a/documentation/enums/Components.Schemas.ArrayOfExpoTokenResponses.CodingKeys.md +++ b/documentation/enums/Components.Schemas.FCMTokenCollection.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.ArrayOfExpoTokenResponses.CodingKeys` +# `Components.Schemas.FCMTokenCollection.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.FCMTokenPayload.CodingKeys.md b/documentation/enums/Components.Schemas.FCMTokenPayload.CodingKeys.md new file mode 100644 index 0000000..a91e08c --- /dev/null +++ b/documentation/enums/Components.Schemas.FCMTokenPayload.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.FCMTokenPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `device_token` + - `installation_id` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `device_token` + +```swift +case device_token +``` + +### `installation_id` + +```swift +case installation_id +``` diff --git a/documentation/enums/Components.Schemas.FCMTokenResponse.installation_idPayload.md b/documentation/enums/Components.Schemas.FCMTokenPayload.installation_idPayload.md similarity index 69% rename from documentation/enums/Components.Schemas.FCMTokenResponse.installation_idPayload.md rename to documentation/enums/Components.Schemas.FCMTokenPayload.installation_idPayload.md index d491b95..09da629 100644 --- a/documentation/enums/Components.Schemas.FCMTokenResponse.installation_idPayload.md +++ b/documentation/enums/Components.Schemas.FCMTokenPayload.installation_idPayload.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.FCMTokenResponse.installation_idPayload` +# `Components.Schemas.FCMTokenPayload.installation_idPayload` **Contents** @@ -12,7 +12,7 @@ @frozen public enum installation_idPayload: String, Codable, Hashable, Sendable, CaseIterable ``` -- Remark: Generated from `#/components/schemas/FCMTokenResponse/installation_id`. +- Remark: Generated from `#/components/schemas/FCMTokenPayload/installation_id`. ## Cases ### `development` diff --git a/documentation/enums/Components.Schemas.FCMTokenResponse.CodingKeys.md b/documentation/enums/Components.Schemas.FCMTokenResponse.CodingKeys.md deleted file mode 100644 index 56b4491..0000000 --- a/documentation/enums/Components.Schemas.FCMTokenResponse.CodingKeys.md +++ /dev/null @@ -1,54 +0,0 @@ -**ENUM** - -# `Components.Schemas.FCMTokenResponse.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `created_at` - - `device_token` - - `discarded_at` - - `id` - - `installation_id` - - `updated_at` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `created_at` - -```swift -case created_at -``` - -### `device_token` - -```swift -case device_token -``` - -### `discarded_at` - -```swift -case discarded_at -``` - -### `id` - -```swift -case id -``` - -### `installation_id` - -```swift -case installation_id -``` - -### `updated_at` - -```swift -case updated_at -``` diff --git a/documentation/enums/Components.Schemas.InboxConfig.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.CodingKeys.md similarity index 83% rename from documentation/enums/Components.Schemas.InboxConfig.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.CodingKeys.md index 4ac8d33..2d8317d 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.CodingKeys` +# `Components.Schemas.InboxConfigPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.imagesPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.imagesPayload.CodingKeys.md similarity index 73% rename from documentation/enums/Components.Schemas.InboxConfig.imagesPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.imagesPayload.CodingKeys.md index e506b19..18d11bd 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.imagesPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.imagesPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.imagesPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.imagesPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.CodingKeys.md similarity index 88% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.CodingKeys.md index 0610aa1..d2243dc 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.bannerPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.CodingKeys.md similarity index 83% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.bannerPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.CodingKeys.md index f1a0de2..d5dd717 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.bannerPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.bannerPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.dialogPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.CodingKeys.md similarity index 79% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.dialogPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.CodingKeys.md index 1e11afb..e171489 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.dialogPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.dialogPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.footerPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.CodingKeys.md similarity index 82% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.footerPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.CodingKeys.md index c881420..f677a69 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.footerPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.footerPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.footerPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.headerPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.CodingKeys.md similarity index 84% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.headerPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.CodingKeys.md index 4c2b7ba..fa5d324 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.headerPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.headerPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.headerPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.iconPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.CodingKeys.md similarity index 74% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.iconPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.CodingKeys.md index d0028af..e13d4bc 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.iconPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.iconPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.iconPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.CodingKeys.md similarity index 76% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.CodingKeys.md index 916ec86..e8f7d20 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.CodingKeys.md similarity index 85% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.CodingKeys.md index ead1434..ab853db 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md similarity index 62% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md index 13b309e..4a1240f 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md similarity index 57% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md index 70721ca..0b8723f 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.CodingKeys.md similarity index 77% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.CodingKeys.md index f51ede4..49abd61 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md similarity index 62% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md index 80783e3..11997bb 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md similarity index 58% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md index b1dd697..a0222f7 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.CodingKeys.md similarity index 77% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.CodingKeys.md index f4d1cdb..7258451 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md similarity index 62% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md index 3ffdaa0..7d72a29 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md similarity index 58% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md index 82be8de..595efef 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.CodingKeys.md b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.CodingKeys.md similarity index 68% rename from documentation/enums/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.CodingKeys.md index ada1acb..f11a182 100644 --- a/documentation/enums/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.CodingKeys` +# `Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.InboxToken.CodingKeys.md b/documentation/enums/Components.Schemas.InboxToken.CodingKeys.md new file mode 100644 index 0000000..c8d1cd1 --- /dev/null +++ b/documentation/enums/Components.Schemas.InboxToken.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.InboxToken.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `connection_id` + - `token` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `connection_id` + +```swift +case connection_id +``` + +### `token` + +```swift +case token +``` diff --git a/documentation/enums/Components.Schemas.WebPushTokenResponse.CodingKeys.md b/documentation/enums/Components.Schemas.InboxTokenResponse.CodingKeys.md similarity index 72% rename from documentation/enums/Components.Schemas.WebPushTokenResponse.CodingKeys.md rename to documentation/enums/Components.Schemas.InboxTokenResponse.CodingKeys.md index e13caa2..ee1a293 100644 --- a/documentation/enums/Components.Schemas.WebPushTokenResponse.CodingKeys.md +++ b/documentation/enums/Components.Schemas.InboxTokenResponse.CodingKeys.md @@ -1,15 +1,15 @@ **ENUM** -# `Components.Schemas.WebPushTokenResponse.CodingKeys` +# `Components.Schemas.InboxTokenResponse.CodingKeys` **Contents** - [Cases](#cases) + - `connection_id` - `created_at` - `discarded_at` - - `endpoint` - `id` - - `keys` + - `token` - `updated_at` ```swift @@ -17,22 +17,22 @@ public enum CodingKeys: String, CodingKey ``` ## Cases -### `created_at` +### `connection_id` ```swift -case created_at +case connection_id ``` -### `discarded_at` +### `created_at` ```swift -case discarded_at +case created_at ``` -### `endpoint` +### `discarded_at` ```swift -case endpoint +case discarded_at ``` ### `id` @@ -41,10 +41,10 @@ case endpoint case id ``` -### `keys` +### `token` ```swift -case keys +case token ``` ### `updated_at` diff --git a/documentation/enums/Components.Schemas.InboxTokenResponseCollection.CodingKeys.md b/documentation/enums/Components.Schemas.InboxTokenResponseCollection.CodingKeys.md new file mode 100644 index 0000000..1777bc2 --- /dev/null +++ b/documentation/enums/Components.Schemas.InboxTokenResponseCollection.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.InboxTokenResponseCollection.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `data` + - `links` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `data` + +```swift +case data +``` + +### `links` + +```swift +case links +``` diff --git a/documentation/enums/Components.Schemas.Notification.CodingKeys.md b/documentation/enums/Components.Schemas.Notification.CodingKeys.md new file mode 100644 index 0000000..b3ef92d --- /dev/null +++ b/documentation/enums/Components.Schemas.Notification.CodingKeys.md @@ -0,0 +1,117 @@ +**ENUM** + +# `Components.Schemas.Notification.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `action_url` + - `archived_at` + - `category` + - `content` + - `created_at` + - `custom_attributes` + - `discarded_at` + - `id` + - `read_at` + - `seen_at` + - `sent_at` + - `title` + - `topic` + - `updated_at` + - `user_id` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `action_url` + +```swift +case action_url +``` + +### `archived_at` + +```swift +case archived_at +``` + +### `category` + +```swift +case category +``` + +### `content` + +```swift +case content +``` + +### `created_at` + +```swift +case created_at +``` + +### `custom_attributes` + +```swift +case custom_attributes +``` + +### `discarded_at` + +```swift +case discarded_at +``` + +### `id` + +```swift +case id +``` + +### `read_at` + +```swift +case read_at +``` + +### `seen_at` + +```swift +case seen_at +``` + +### `sent_at` + +```swift +case sent_at +``` + +### `title` + +```swift +case title +``` + +### `topic` + +```swift +case topic +``` + +### `updated_at` + +```swift +case updated_at +``` + +### `user_id` + +```swift +case user_id +``` diff --git a/documentation/enums/Components.Schemas.ArrayOfSlackTokenResponses.CodingKeys.md b/documentation/enums/Components.Schemas.NotificationCollection.CodingKeys.md similarity index 77% rename from documentation/enums/Components.Schemas.ArrayOfSlackTokenResponses.CodingKeys.md rename to documentation/enums/Components.Schemas.NotificationCollection.CodingKeys.md index d500c2c..b60cea1 100644 --- a/documentation/enums/Components.Schemas.ArrayOfSlackTokenResponses.CodingKeys.md +++ b/documentation/enums/Components.Schemas.NotificationCollection.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.ArrayOfSlackTokenResponses.CodingKeys` +# `Components.Schemas.NotificationCollection.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.SlackToken.CodingKeys.md b/documentation/enums/Components.Schemas.SlackToken.CodingKeys.md index fdaa588..9edb255 100644 --- a/documentation/enums/Components.Schemas.SlackToken.CodingKeys.md +++ b/documentation/enums/Components.Schemas.SlackToken.CodingKeys.md @@ -5,7 +5,11 @@ **Contents** - [Cases](#cases) + - `created_at` + - `discarded_at` + - `id` - `oauth` + - `updated_at` - `webhook` ```swift @@ -13,12 +17,36 @@ public enum CodingKeys: String, CodingKey ``` ## Cases +### `created_at` + +```swift +case created_at +``` + +### `discarded_at` + +```swift +case discarded_at +``` + +### `id` + +```swift +case id +``` + ### `oauth` ```swift case oauth ``` +### `updated_at` + +```swift +case updated_at +``` + ### `webhook` ```swift diff --git a/documentation/enums/Components.Schemas.SlackTokenCollection.CodingKeys.md b/documentation/enums/Components.Schemas.SlackTokenCollection.CodingKeys.md new file mode 100644 index 0000000..cef2279 --- /dev/null +++ b/documentation/enums/Components.Schemas.SlackTokenCollection.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.SlackTokenCollection.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `data` + - `links` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `data` + +```swift +case data +``` + +### `links` + +```swift +case links +``` diff --git a/documentation/enums/Components.Schemas.SlackTokenPayload.CodingKeys.md b/documentation/enums/Components.Schemas.SlackTokenPayload.CodingKeys.md new file mode 100644 index 0000000..b4b47b5 --- /dev/null +++ b/documentation/enums/Components.Schemas.SlackTokenPayload.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.SlackTokenPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `oauth` + - `webhook` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `oauth` + +```swift +case oauth +``` + +### `webhook` + +```swift +case webhook +``` diff --git a/documentation/enums/Components.Schemas.SlackTokenResponse.oauthPayload.CodingKeys.md b/documentation/enums/Components.Schemas.SlackTokenPayload.oauthPayload.CodingKeys.md similarity index 82% rename from documentation/enums/Components.Schemas.SlackTokenResponse.oauthPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.SlackTokenPayload.oauthPayload.CodingKeys.md index 25d32bc..5f038c1 100644 --- a/documentation/enums/Components.Schemas.SlackTokenResponse.oauthPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.SlackTokenPayload.oauthPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.SlackTokenResponse.oauthPayload.CodingKeys` +# `Components.Schemas.SlackTokenPayload.oauthPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.SlackTokenResponse.webhookPayload.CodingKeys.md b/documentation/enums/Components.Schemas.SlackTokenPayload.webhookPayload.CodingKeys.md similarity index 69% rename from documentation/enums/Components.Schemas.SlackTokenResponse.webhookPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.SlackTokenPayload.webhookPayload.CodingKeys.md index 432e4dc..d970a2c 100644 --- a/documentation/enums/Components.Schemas.SlackTokenResponse.webhookPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.SlackTokenPayload.webhookPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.SlackTokenResponse.webhookPayload.CodingKeys` +# `Components.Schemas.SlackTokenPayload.webhookPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.SlackTokenResponse.CodingKeys.md b/documentation/enums/Components.Schemas.SlackTokenResponse.CodingKeys.md deleted file mode 100644 index 1fb10a1..0000000 --- a/documentation/enums/Components.Schemas.SlackTokenResponse.CodingKeys.md +++ /dev/null @@ -1,54 +0,0 @@ -**ENUM** - -# `Components.Schemas.SlackTokenResponse.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `created_at` - - `discarded_at` - - `id` - - `oauth` - - `updated_at` - - `webhook` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `created_at` - -```swift -case created_at -``` - -### `discarded_at` - -```swift -case discarded_at -``` - -### `id` - -```swift -case id -``` - -### `oauth` - -```swift -case oauth -``` - -### `updated_at` - -```swift -case updated_at -``` - -### `webhook` - -```swift -case webhook -``` diff --git a/documentation/enums/Components.Schemas.TeamsToken.CodingKeys.md b/documentation/enums/Components.Schemas.TeamsToken.CodingKeys.md index 697ec3d..ccb0abc 100644 --- a/documentation/enums/Components.Schemas.TeamsToken.CodingKeys.md +++ b/documentation/enums/Components.Schemas.TeamsToken.CodingKeys.md @@ -5,6 +5,10 @@ **Contents** - [Cases](#cases) + - `created_at` + - `discarded_at` + - `id` + - `updated_at` - `webhook` ```swift @@ -12,6 +16,30 @@ public enum CodingKeys: String, CodingKey ``` ## Cases +### `created_at` + +```swift +case created_at +``` + +### `discarded_at` + +```swift +case discarded_at +``` + +### `id` + +```swift +case id +``` + +### `updated_at` + +```swift +case updated_at +``` + ### `webhook` ```swift diff --git a/documentation/enums/Components.Schemas.TeamsTokenCollection.CodingKeys.md b/documentation/enums/Components.Schemas.TeamsTokenCollection.CodingKeys.md new file mode 100644 index 0000000..1cd4182 --- /dev/null +++ b/documentation/enums/Components.Schemas.TeamsTokenCollection.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.TeamsTokenCollection.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `data` + - `links` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `data` + +```swift +case data +``` + +### `links` + +```swift +case links +``` diff --git a/documentation/enums/Components.Schemas.TeamsTokenPayload.CodingKeys.md b/documentation/enums/Components.Schemas.TeamsTokenPayload.CodingKeys.md new file mode 100644 index 0000000..adb7d62 --- /dev/null +++ b/documentation/enums/Components.Schemas.TeamsTokenPayload.CodingKeys.md @@ -0,0 +1,19 @@ +**ENUM** + +# `Components.Schemas.TeamsTokenPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `webhook` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `webhook` + +```swift +case webhook +``` diff --git a/documentation/enums/Components.Schemas.TeamsTokenResponse.webhookPayload.CodingKeys.md b/documentation/enums/Components.Schemas.TeamsTokenPayload.webhookPayload.CodingKeys.md similarity index 69% rename from documentation/enums/Components.Schemas.TeamsTokenResponse.webhookPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.TeamsTokenPayload.webhookPayload.CodingKeys.md index 5e9ce7a..0c4a94f 100644 --- a/documentation/enums/Components.Schemas.TeamsTokenResponse.webhookPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.TeamsTokenPayload.webhookPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.TeamsTokenResponse.webhookPayload.CodingKeys` +# `Components.Schemas.TeamsTokenPayload.webhookPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Components.Schemas.TeamsTokenResponse.CodingKeys.md b/documentation/enums/Components.Schemas.TeamsTokenResponse.CodingKeys.md deleted file mode 100644 index 04c07a5..0000000 --- a/documentation/enums/Components.Schemas.TeamsTokenResponse.CodingKeys.md +++ /dev/null @@ -1,47 +0,0 @@ -**ENUM** - -# `Components.Schemas.TeamsTokenResponse.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `created_at` - - `discarded_at` - - `id` - - `updated_at` - - `webhook` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `created_at` - -```swift -case created_at -``` - -### `discarded_at` - -```swift -case discarded_at -``` - -### `id` - -```swift -case id -``` - -### `updated_at` - -```swift -case updated_at -``` - -### `webhook` - -```swift -case webhook -``` diff --git a/documentation/enums/Components.Schemas.TemplatesInstallation.CodingKeys.md b/documentation/enums/Components.Schemas.TemplatesInstallation.CodingKeys.md deleted file mode 100644 index 83a552e..0000000 --- a/documentation/enums/Components.Schemas.TemplatesInstallation.CodingKeys.md +++ /dev/null @@ -1,33 +0,0 @@ -**ENUM** - -# `Components.Schemas.TemplatesInstallation.CodingKeys` - -**Contents** - -- [Cases](#cases) - - `category` - - `channel` - - `text` - -```swift -public enum CodingKeys: String, CodingKey -``` - -## Cases -### `category` - -```swift -case category -``` - -### `channel` - -```swift -case channel -``` - -### `text` - -```swift -case text -``` diff --git a/documentation/enums/Components.Schemas.UserPreferences.CodingKeys.md b/documentation/enums/Components.Schemas.UserPreferences.CodingKeys.md new file mode 100644 index 0000000..13885e7 --- /dev/null +++ b/documentation/enums/Components.Schemas.UserPreferences.CodingKeys.md @@ -0,0 +1,19 @@ +**ENUM** + +# `Components.Schemas.UserPreferences.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `categories` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `categories` + +```swift +case categories +``` diff --git a/documentation/enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.CodingKeys.md b/documentation/enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.CodingKeys.md new file mode 100644 index 0000000..aa4d180 --- /dev/null +++ b/documentation/enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.CodingKeys.md @@ -0,0 +1,33 @@ +**ENUM** + +# `Components.Schemas.UserPreferences.categoriesPayloadPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `channels` + - `key` + - `label` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `channels` + +```swift +case channels +``` + +### `key` + +```swift +case key +``` + +### `label` + +```swift +case label +``` diff --git a/documentation/enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.CodingKeys.md b/documentation/enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.CodingKeys.md new file mode 100644 index 0000000..836aa6f --- /dev/null +++ b/documentation/enums/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `enabled` + - `name` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `enabled` + +```swift +case enabled +``` + +### `name` + +```swift +case name +``` diff --git a/documentation/enums/Components.Schemas.WebPushToken.CodingKeys.md b/documentation/enums/Components.Schemas.WebPushToken.CodingKeys.md index f56f49a..e610cc2 100644 --- a/documentation/enums/Components.Schemas.WebPushToken.CodingKeys.md +++ b/documentation/enums/Components.Schemas.WebPushToken.CodingKeys.md @@ -5,22 +5,50 @@ **Contents** - [Cases](#cases) + - `created_at` + - `discarded_at` - `endpoint` + - `id` - `keys` + - `updated_at` ```swift public enum CodingKeys: String, CodingKey ``` ## Cases +### `created_at` + +```swift +case created_at +``` + +### `discarded_at` + +```swift +case discarded_at +``` + ### `endpoint` ```swift case endpoint ``` +### `id` + +```swift +case id +``` + ### `keys` ```swift case keys ``` + +### `updated_at` + +```swift +case updated_at +``` diff --git a/documentation/enums/Components.Schemas.WebPushTokenCollection.CodingKeys.md b/documentation/enums/Components.Schemas.WebPushTokenCollection.CodingKeys.md new file mode 100644 index 0000000..efcd68b --- /dev/null +++ b/documentation/enums/Components.Schemas.WebPushTokenCollection.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.WebPushTokenCollection.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `data` + - `links` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `data` + +```swift +case data +``` + +### `links` + +```swift +case links +``` diff --git a/documentation/enums/Components.Schemas.WebPushTokenPayload.CodingKeys.md b/documentation/enums/Components.Schemas.WebPushTokenPayload.CodingKeys.md new file mode 100644 index 0000000..791b66a --- /dev/null +++ b/documentation/enums/Components.Schemas.WebPushTokenPayload.CodingKeys.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Components.Schemas.WebPushTokenPayload.CodingKeys` + +**Contents** + +- [Cases](#cases) + - `endpoint` + - `keys` + +```swift +public enum CodingKeys: String, CodingKey +``` + +## Cases +### `endpoint` + +```swift +case endpoint +``` + +### `keys` + +```swift +case keys +``` diff --git a/documentation/enums/Components.Schemas.WebPushTokenResponse.keysPayload.CodingKeys.md b/documentation/enums/Components.Schemas.WebPushTokenPayload.keysPayload.CodingKeys.md similarity index 75% rename from documentation/enums/Components.Schemas.WebPushTokenResponse.keysPayload.CodingKeys.md rename to documentation/enums/Components.Schemas.WebPushTokenPayload.keysPayload.CodingKeys.md index db6df37..fbf25ec 100644 --- a/documentation/enums/Components.Schemas.WebPushTokenResponse.keysPayload.CodingKeys.md +++ b/documentation/enums/Components.Schemas.WebPushTokenPayload.keysPayload.CodingKeys.md @@ -1,6 +1,6 @@ **ENUM** -# `Components.Schemas.WebPushTokenResponse.keysPayload.CodingKeys` +# `Components.Schemas.WebPushTokenPayload.keysPayload.CodingKeys` **Contents** diff --git a/documentation/enums/Operations.archive_all_notifications.Output.md b/documentation/enums/Operations.archive_all_notifications.Output.md new file mode 100644 index 0000000..607a3c7 --- /dev/null +++ b/documentation/enums/Operations.archive_all_notifications.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.archive_all_notifications.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.archive_all_notifications.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.archive_all_notifications.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.archive_all_notifications.md b/documentation/enums/Operations.archive_all_notifications.md new file mode 100644 index 0000000..d78926c --- /dev/null +++ b/documentation/enums/Operations.archive_all_notifications.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.archive_all_notifications` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum archive_all_notifications +``` + +Archive all notifications + +Archive all notifications. + +- Remark: HTTP `POST /notifications/archive`. +- Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "archive_all_notifications" +``` diff --git a/documentation/enums/Operations.archive_notification.Output.md b/documentation/enums/Operations.archive_notification.Output.md new file mode 100644 index 0000000..cf79e46 --- /dev/null +++ b/documentation/enums/Operations.archive_notification.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.archive_notification.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.archive_notification.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.archive_notification.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.archive_notification.md b/documentation/enums/Operations.archive_notification.md new file mode 100644 index 0000000..4894fd3 --- /dev/null +++ b/documentation/enums/Operations.archive_notification.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.archive_notification` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum archive_notification +``` + +Archive a notification + +Archive a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/archive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "archive_notification" +``` diff --git a/documentation/enums/Operations.delete_apns_token.AcceptableContentType.md b/documentation/enums/Operations.delete_apns_token.AcceptableContentType.md new file mode 100644 index 0000000..21813bd --- /dev/null +++ b/documentation/enums/Operations.delete_apns_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.delete_apns_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.discard_mobile_push_apns_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_apns_token.Output.Ok.Body.md similarity index 91% rename from documentation/enums/Operations.discard_mobile_push_apns_token.Output.Ok.Body.md rename to documentation/enums/Operations.delete_apns_token.Output.Ok.Body.md index df3c970..bea0ed2 100644 --- a/documentation/enums/Operations.discard_mobile_push_apns_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.delete_apns_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_mobile_push_apns_token.Output.Ok.Body` +# `Operations.delete_apns_token.Output.Ok.Body` **Contents** diff --git a/documentation/enums/Operations.get_mobile_push_apns_tokens.Output.md b/documentation/enums/Operations.delete_apns_token.Output.md similarity index 75% rename from documentation/enums/Operations.get_mobile_push_apns_tokens.Output.md rename to documentation/enums/Operations.delete_apns_token.Output.md index 2da9ae7..4100123 100644 --- a/documentation/enums/Operations.get_mobile_push_apns_tokens.Output.md +++ b/documentation/enums/Operations.delete_apns_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_apns_tokens.Output` +# `Operations.delete_apns_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_mobile_push_apns_tokens.Output.Ok) +case ok(Operations.delete_apns_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_mobile_push_apns_tokens.Output.Ok +public var ok: Operations.delete_apns_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.delete_apns_token.md b/documentation/enums/Operations.delete_apns_token.md new file mode 100644 index 0000000..f2e9f9f --- /dev/null +++ b/documentation/enums/Operations.delete_apns_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.delete_apns_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum delete_apns_token +``` + +Delete an APNs token + +Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "delete_apns_token" +``` diff --git a/documentation/enums/Operations.delete_expo_token.AcceptableContentType.md b/documentation/enums/Operations.delete_expo_token.AcceptableContentType.md new file mode 100644 index 0000000..ce81071 --- /dev/null +++ b/documentation/enums/Operations.delete_expo_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.delete_expo_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.discard_mobile_push_expo_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_expo_token.Output.Ok.Body.md similarity index 91% rename from documentation/enums/Operations.discard_mobile_push_expo_token.Output.Ok.Body.md rename to documentation/enums/Operations.delete_expo_token.Output.Ok.Body.md index 4a952c4..6de7c99 100644 --- a/documentation/enums/Operations.discard_mobile_push_expo_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.delete_expo_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_mobile_push_expo_token.Output.Ok.Body` +# `Operations.delete_expo_token.Output.Ok.Body` **Contents** diff --git a/documentation/enums/Operations.get_mobile_push_expo_tokens.Output.md b/documentation/enums/Operations.delete_expo_token.Output.md similarity index 75% rename from documentation/enums/Operations.get_mobile_push_expo_tokens.Output.md rename to documentation/enums/Operations.delete_expo_token.Output.md index 48328ef..2808daf 100644 --- a/documentation/enums/Operations.get_mobile_push_expo_tokens.Output.md +++ b/documentation/enums/Operations.delete_expo_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_expo_tokens.Output` +# `Operations.delete_expo_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_mobile_push_expo_tokens.Output.Ok) +case ok(Operations.delete_expo_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_mobile_push_expo_tokens.Output.Ok +public var ok: Operations.delete_expo_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.delete_expo_token.md b/documentation/enums/Operations.delete_expo_token.md new file mode 100644 index 0000000..600f1db --- /dev/null +++ b/documentation/enums/Operations.delete_expo_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.delete_expo_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum delete_expo_token +``` + +Delete an Expo token + +Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "delete_expo_token" +``` diff --git a/documentation/enums/Operations.get_slack_tokens.AcceptableContentType.md b/documentation/enums/Operations.delete_fcm_token.AcceptableContentType.md similarity index 91% rename from documentation/enums/Operations.get_slack_tokens.AcceptableContentType.md rename to documentation/enums/Operations.delete_fcm_token.AcceptableContentType.md index 2f6123e..23d0b9c 100644 --- a/documentation/enums/Operations.get_slack_tokens.AcceptableContentType.md +++ b/documentation/enums/Operations.delete_fcm_token.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_slack_tokens.AcceptableContentType` +# `Operations.delete_fcm_token.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.discard_mobile_push_fcm_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_fcm_token.Output.Ok.Body.md similarity index 92% rename from documentation/enums/Operations.discard_mobile_push_fcm_token.Output.Ok.Body.md rename to documentation/enums/Operations.delete_fcm_token.Output.Ok.Body.md index 990fde9..5f9eb70 100644 --- a/documentation/enums/Operations.discard_mobile_push_fcm_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.delete_fcm_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_mobile_push_fcm_token.Output.Ok.Body` +# `Operations.delete_fcm_token.Output.Ok.Body` **Contents** diff --git a/documentation/enums/Operations.get_mobile_push_fcm_tokens.Output.md b/documentation/enums/Operations.delete_fcm_token.Output.md similarity index 76% rename from documentation/enums/Operations.get_mobile_push_fcm_tokens.Output.md rename to documentation/enums/Operations.delete_fcm_token.Output.md index cedb986..57e06b6 100644 --- a/documentation/enums/Operations.get_mobile_push_fcm_tokens.Output.md +++ b/documentation/enums/Operations.delete_fcm_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_fcm_tokens.Output` +# `Operations.delete_fcm_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_mobile_push_fcm_tokens.Output.Ok) +case ok(Operations.delete_fcm_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_mobile_push_fcm_tokens.Output.Ok +public var ok: Operations.delete_fcm_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.delete_fcm_token.md b/documentation/enums/Operations.delete_fcm_token.md new file mode 100644 index 0000000..5331b7d --- /dev/null +++ b/documentation/enums/Operations.delete_fcm_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.delete_fcm_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum delete_fcm_token +``` + +Delete a FCM token + +Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "delete_fcm_token" +``` diff --git a/documentation/enums/Operations.delete_inbox_token.AcceptableContentType.md b/documentation/enums/Operations.delete_inbox_token.AcceptableContentType.md new file mode 100644 index 0000000..f38eb79 --- /dev/null +++ b/documentation/enums/Operations.delete_inbox_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.delete_inbox_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.delete_inbox_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_inbox_token.Output.Ok.Body.md new file mode 100644 index 0000000..6d9bc50 --- /dev/null +++ b/documentation/enums/Operations.delete_inbox_token.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.delete_inbox_token.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.DiscardResult) +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.DiscardResult +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.delete_inbox_token.Output.md b/documentation/enums/Operations.delete_inbox_token.Output.md new file mode 100644 index 0000000..73d1bdb --- /dev/null +++ b/documentation/enums/Operations.delete_inbox_token.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.delete_inbox_token.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.delete_inbox_token.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.delete_inbox_token.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.delete_inbox_token.md b/documentation/enums/Operations.delete_inbox_token.md new file mode 100644 index 0000000..e6e975d --- /dev/null +++ b/documentation/enums/Operations.delete_inbox_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.delete_inbox_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum delete_inbox_token +``` + +Delete an Inbox token + +Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "delete_inbox_token" +``` diff --git a/documentation/enums/Operations.delete_slack_token.AcceptableContentType.md b/documentation/enums/Operations.delete_slack_token.AcceptableContentType.md new file mode 100644 index 0000000..73f53ab --- /dev/null +++ b/documentation/enums/Operations.delete_slack_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.delete_slack_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.discard_slack_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_slack_token.Output.Ok.Body.md similarity index 93% rename from documentation/enums/Operations.discard_slack_token.Output.Ok.Body.md rename to documentation/enums/Operations.delete_slack_token.Output.Ok.Body.md index 71438d0..f7b310d 100644 --- a/documentation/enums/Operations.discard_slack_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.delete_slack_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_slack_token.Output.Ok.Body` +# `Operations.delete_slack_token.Output.Ok.Body` **Contents** diff --git a/documentation/enums/Operations.discard_slack_token.Output.md b/documentation/enums/Operations.delete_slack_token.Output.md similarity index 78% rename from documentation/enums/Operations.discard_slack_token.Output.md rename to documentation/enums/Operations.delete_slack_token.Output.md index 23af343..4a7a7d4 100644 --- a/documentation/enums/Operations.discard_slack_token.Output.md +++ b/documentation/enums/Operations.delete_slack_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_slack_token.Output` +# `Operations.delete_slack_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.discard_slack_token.Output.Ok) +case ok(Operations.delete_slack_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)/responses/200`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.discard_slack_token.Output.Ok +public var ok: Operations.delete_slack_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.discard_slack_token.md b/documentation/enums/Operations.delete_slack_token.md similarity index 62% rename from documentation/enums/Operations.discard_slack_token.md rename to documentation/enums/Operations.delete_slack_token.md index 31f4975..4124120 100644 --- a/documentation/enums/Operations.discard_slack_token.md +++ b/documentation/enums/Operations.delete_slack_token.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_slack_token` +# `Operations.delete_slack_token` **Contents** @@ -8,17 +8,19 @@ - `id` ```swift -public enum discard_slack_token +public enum delete_slack_token ``` -Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Slack token + +Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. ## Properties ### `id` ```swift -public static let id: Swift.String = "discard_slack_token" +public static let id: Swift.String = "delete_slack_token" ``` diff --git a/documentation/enums/Operations.delete_teams_token.AcceptableContentType.md b/documentation/enums/Operations.delete_teams_token.AcceptableContentType.md new file mode 100644 index 0000000..88dc6d2 --- /dev/null +++ b/documentation/enums/Operations.delete_teams_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.delete_teams_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.discard_teams_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_teams_token.Output.Ok.Body.md similarity index 93% rename from documentation/enums/Operations.discard_teams_token.Output.Ok.Body.md rename to documentation/enums/Operations.delete_teams_token.Output.Ok.Body.md index a89f586..17c98c3 100644 --- a/documentation/enums/Operations.discard_teams_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.delete_teams_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_teams_token.Output.Ok.Body` +# `Operations.delete_teams_token.Output.Ok.Body` **Contents** diff --git a/documentation/enums/Operations.discard_teams_token.Output.md b/documentation/enums/Operations.delete_teams_token.Output.md similarity index 78% rename from documentation/enums/Operations.discard_teams_token.Output.md rename to documentation/enums/Operations.delete_teams_token.Output.md index 593bcbc..0fbf7a2 100644 --- a/documentation/enums/Operations.discard_teams_token.Output.md +++ b/documentation/enums/Operations.delete_teams_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_teams_token.Output` +# `Operations.delete_teams_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.discard_teams_token.Output.Ok) +case ok(Operations.delete_teams_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)/responses/200`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.discard_teams_token.Output.Ok +public var ok: Operations.delete_teams_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.discard_teams_token.md b/documentation/enums/Operations.delete_teams_token.md similarity index 62% rename from documentation/enums/Operations.discard_teams_token.md rename to documentation/enums/Operations.delete_teams_token.md index 9bf3db4..b8979e8 100644 --- a/documentation/enums/Operations.discard_teams_token.md +++ b/documentation/enums/Operations.delete_teams_token.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_teams_token` +# `Operations.delete_teams_token` **Contents** @@ -8,17 +8,19 @@ - `id` ```swift -public enum discard_teams_token +public enum delete_teams_token ``` -Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Teams token + +Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. ## Properties ### `id` ```swift -public static let id: Swift.String = "discard_teams_token" +public static let id: Swift.String = "delete_teams_token" ``` diff --git a/documentation/enums/Operations.delete_web_push_token.AcceptableContentType.md b/documentation/enums/Operations.delete_web_push_token.AcceptableContentType.md new file mode 100644 index 0000000..3d2bf84 --- /dev/null +++ b/documentation/enums/Operations.delete_web_push_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.delete_web_push_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.discard_web_push_token.Output.Ok.Body.md b/documentation/enums/Operations.delete_web_push_token.Output.Ok.Body.md similarity index 92% rename from documentation/enums/Operations.discard_web_push_token.Output.Ok.Body.md rename to documentation/enums/Operations.delete_web_push_token.Output.Ok.Body.md index 1b31d9d..a27cfb3 100644 --- a/documentation/enums/Operations.discard_web_push_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.delete_web_push_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_web_push_token.Output.Ok.Body` +# `Operations.delete_web_push_token.Output.Ok.Body` **Contents** diff --git a/documentation/enums/Operations.discard_web_push_token.Output.md b/documentation/enums/Operations.delete_web_push_token.Output.md similarity index 76% rename from documentation/enums/Operations.discard_web_push_token.Output.md rename to documentation/enums/Operations.delete_web_push_token.Output.md index a00d5d4..92aa9c5 100644 --- a/documentation/enums/Operations.discard_web_push_token.Output.md +++ b/documentation/enums/Operations.delete_web_push_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_web_push_token.Output` +# `Operations.delete_web_push_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.discard_web_push_token.Output.Ok) +case ok(Operations.delete_web_push_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)/responses/200`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.discard_web_push_token.Output.Ok +public var ok: Operations.delete_web_push_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.discard_web_push_token.md b/documentation/enums/Operations.delete_web_push_token.md similarity index 61% rename from documentation/enums/Operations.discard_web_push_token.md rename to documentation/enums/Operations.delete_web_push_token.md index 0063cf1..cc54504 100644 --- a/documentation/enums/Operations.discard_web_push_token.md +++ b/documentation/enums/Operations.delete_web_push_token.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_web_push_token` +# `Operations.delete_web_push_token` **Contents** @@ -8,17 +8,19 @@ - `id` ```swift -public enum discard_web_push_token +public enum delete_web_push_token ``` -Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Web Push token + +Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. ## Properties ### `id` ```swift -public static let id: Swift.String = "discard_web_push_token" +public static let id: Swift.String = "delete_web_push_token" ``` diff --git a/documentation/enums/Operations.discard_mobile_push_apns_token.AcceptableContentType.md b/documentation/enums/Operations.discard_mobile_push_apns_token.AcceptableContentType.md deleted file mode 100644 index eff5c8b..0000000 --- a/documentation/enums/Operations.discard_mobile_push_apns_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.discard_mobile_push_apns_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.discard_mobile_push_apns_token.md b/documentation/enums/Operations.discard_mobile_push_apns_token.md deleted file mode 100644 index c4445a9..0000000 --- a/documentation/enums/Operations.discard_mobile_push_apns_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.discard_mobile_push_apns_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum discard_mobile_push_apns_token -``` - -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - -- Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "discard_mobile_push_apns_token" -``` diff --git a/documentation/enums/Operations.discard_mobile_push_expo_token.AcceptableContentType.md b/documentation/enums/Operations.discard_mobile_push_expo_token.AcceptableContentType.md deleted file mode 100644 index bba285e..0000000 --- a/documentation/enums/Operations.discard_mobile_push_expo_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.discard_mobile_push_expo_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.discard_mobile_push_expo_token.md b/documentation/enums/Operations.discard_mobile_push_expo_token.md deleted file mode 100644 index b12813b..0000000 --- a/documentation/enums/Operations.discard_mobile_push_expo_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.discard_mobile_push_expo_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum discard_mobile_push_expo_token -``` - -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - -- Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "discard_mobile_push_expo_token" -``` diff --git a/documentation/enums/Operations.discard_mobile_push_fcm_token.AcceptableContentType.md b/documentation/enums/Operations.discard_mobile_push_fcm_token.AcceptableContentType.md deleted file mode 100644 index af9c56a..0000000 --- a/documentation/enums/Operations.discard_mobile_push_fcm_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.discard_mobile_push_fcm_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.discard_mobile_push_fcm_token.md b/documentation/enums/Operations.discard_mobile_push_fcm_token.md deleted file mode 100644 index 15e12c0..0000000 --- a/documentation/enums/Operations.discard_mobile_push_fcm_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.discard_mobile_push_fcm_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum discard_mobile_push_fcm_token -``` - -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - -- Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "discard_mobile_push_fcm_token" -``` diff --git a/documentation/enums/Operations.get_teams_tokens.AcceptableContentType.md b/documentation/enums/Operations.fetch_apns_token.AcceptableContentType.md similarity index 91% rename from documentation/enums/Operations.get_teams_tokens.AcceptableContentType.md rename to documentation/enums/Operations.fetch_apns_token.AcceptableContentType.md index 21aba41..9c5c8df 100644 --- a/documentation/enums/Operations.get_teams_tokens.AcceptableContentType.md +++ b/documentation/enums/Operations.fetch_apns_token.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_teams_tokens.AcceptableContentType` +# `Operations.fetch_apns_token.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.save_mobile_push_apns_token.Output.Created.Body.md b/documentation/enums/Operations.fetch_apns_token.Output.Ok.Body.md similarity index 79% rename from documentation/enums/Operations.save_mobile_push_apns_token.Output.Created.Body.md rename to documentation/enums/Operations.fetch_apns_token.Output.Ok.Body.md index b21cfab..f6ec738 100644 --- a/documentation/enums/Operations.save_mobile_push_apns_token.Output.Created.Body.md +++ b/documentation/enums/Operations.fetch_apns_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_mobile_push_apns_token.Output.Created.Body` +# `Operations.fetch_apns_token.Output.Ok.Body` **Contents** @@ -13,7 +13,7 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/responses/201/content`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content`. ## Cases ### `json(_:)` @@ -22,7 +22,7 @@ case json(Components.Schemas.APNSToken) ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content/application\/json`. ## Properties ### `json` diff --git a/documentation/enums/Operations.get_mobile_push_apns_token.Output.md b/documentation/enums/Operations.fetch_apns_token.Output.md similarity index 75% rename from documentation/enums/Operations.get_mobile_push_apns_token.Output.md rename to documentation/enums/Operations.fetch_apns_token.Output.md index 6eaf8d7..3a1f652 100644 --- a/documentation/enums/Operations.get_mobile_push_apns_token.Output.md +++ b/documentation/enums/Operations.fetch_apns_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_apns_token.Output` +# `Operations.fetch_apns_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_mobile_push_apns_token.Output.Ok) +case ok(Operations.fetch_apns_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_mobile_push_apns_token.Output.Ok +public var ok: Operations.fetch_apns_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.fetch_apns_token.md b/documentation/enums/Operations.fetch_apns_token.md new file mode 100644 index 0000000..9067a04 --- /dev/null +++ b/documentation/enums/Operations.fetch_apns_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_apns_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_apns_token +``` + +Fetch an APNs token + +Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_apns_token" +``` diff --git a/documentation/enums/Operations.fetch_expo_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_expo_token.AcceptableContentType.md new file mode 100644 index 0000000..1a6c38c --- /dev/null +++ b/documentation/enums/Operations.fetch_expo_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.fetch_expo_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.save_mobile_push_expo_token.Output.Created.Body.md b/documentation/enums/Operations.fetch_expo_token.Output.Ok.Body.md similarity index 79% rename from documentation/enums/Operations.save_mobile_push_expo_token.Output.Created.Body.md rename to documentation/enums/Operations.fetch_expo_token.Output.Ok.Body.md index 62ef5ce..d387b1c 100644 --- a/documentation/enums/Operations.save_mobile_push_expo_token.Output.Created.Body.md +++ b/documentation/enums/Operations.fetch_expo_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_mobile_push_expo_token.Output.Created.Body` +# `Operations.fetch_expo_token.Output.Ok.Body` **Contents** @@ -13,7 +13,7 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/responses/201/content`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content`. ## Cases ### `json(_:)` @@ -22,7 +22,7 @@ case json(Components.Schemas.ExpoToken) ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content/application\/json`. ## Properties ### `json` diff --git a/documentation/enums/Operations.get_mobile_push_expo_token.Output.md b/documentation/enums/Operations.fetch_expo_token.Output.md similarity index 75% rename from documentation/enums/Operations.get_mobile_push_expo_token.Output.md rename to documentation/enums/Operations.fetch_expo_token.Output.md index c8ab7b2..d69d942 100644 --- a/documentation/enums/Operations.get_mobile_push_expo_token.Output.md +++ b/documentation/enums/Operations.fetch_expo_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_expo_token.Output` +# `Operations.fetch_expo_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_mobile_push_expo_token.Output.Ok) +case ok(Operations.fetch_expo_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_mobile_push_expo_token.Output.Ok +public var ok: Operations.fetch_expo_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.fetch_expo_token.md b/documentation/enums/Operations.fetch_expo_token.md new file mode 100644 index 0000000..75ae797 --- /dev/null +++ b/documentation/enums/Operations.fetch_expo_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_expo_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_expo_token +``` + +Fetch an Expo token + +Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_expo_token" +``` diff --git a/documentation/enums/Operations.get_teams_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_fcm_token.AcceptableContentType.md similarity index 91% rename from documentation/enums/Operations.get_teams_token.AcceptableContentType.md rename to documentation/enums/Operations.fetch_fcm_token.AcceptableContentType.md index 9cc8ee0..6c5b779 100644 --- a/documentation/enums/Operations.get_teams_token.AcceptableContentType.md +++ b/documentation/enums/Operations.fetch_fcm_token.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_teams_token.AcceptableContentType` +# `Operations.fetch_fcm_token.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.save_mobile_push_fcm_token.Output.Created.Body.md b/documentation/enums/Operations.fetch_fcm_token.Output.Ok.Body.md similarity index 79% rename from documentation/enums/Operations.save_mobile_push_fcm_token.Output.Created.Body.md rename to documentation/enums/Operations.fetch_fcm_token.Output.Ok.Body.md index d37aca8..1ad6216 100644 --- a/documentation/enums/Operations.save_mobile_push_fcm_token.Output.Created.Body.md +++ b/documentation/enums/Operations.fetch_fcm_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_mobile_push_fcm_token.Output.Created.Body` +# `Operations.fetch_fcm_token.Output.Ok.Body` **Contents** @@ -13,7 +13,7 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/responses/201/content`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content`. ## Cases ### `json(_:)` @@ -22,7 +22,7 @@ case json(Components.Schemas.FCMToken) ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content/application\/json`. ## Properties ### `json` diff --git a/documentation/enums/Operations.get_mobile_push_fcm_token.Output.md b/documentation/enums/Operations.fetch_fcm_token.Output.md similarity index 75% rename from documentation/enums/Operations.get_mobile_push_fcm_token.Output.md rename to documentation/enums/Operations.fetch_fcm_token.Output.md index eb8f9f4..3d3349d 100644 --- a/documentation/enums/Operations.get_mobile_push_fcm_token.Output.md +++ b/documentation/enums/Operations.fetch_fcm_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_fcm_token.Output` +# `Operations.fetch_fcm_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_mobile_push_fcm_token.Output.Ok) +case ok(Operations.fetch_fcm_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_mobile_push_fcm_token.Output.Ok +public var ok: Operations.fetch_fcm_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.fetch_fcm_token.md b/documentation/enums/Operations.fetch_fcm_token.md new file mode 100644 index 0000000..66b266c --- /dev/null +++ b/documentation/enums/Operations.fetch_fcm_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_fcm_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_fcm_token +``` + +Fetch a FCM token + +Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_fcm_token" +``` diff --git a/documentation/enums/Operations.fetch_inbox_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_inbox_token.AcceptableContentType.md new file mode 100644 index 0000000..31ab17f --- /dev/null +++ b/documentation/enums/Operations.fetch_inbox_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.fetch_inbox_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.fetch_inbox_token.Output.Ok.Body.md b/documentation/enums/Operations.fetch_inbox_token.Output.Ok.Body.md new file mode 100644 index 0000000..67d9112 --- /dev/null +++ b/documentation/enums/Operations.fetch_inbox_token.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.fetch_inbox_token.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.InboxTokenResponse) +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.InboxTokenResponse +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.fetch_inbox_token.Output.md b/documentation/enums/Operations.fetch_inbox_token.Output.md new file mode 100644 index 0000000..78b4010 --- /dev/null +++ b/documentation/enums/Operations.fetch_inbox_token.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.fetch_inbox_token.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.fetch_inbox_token.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.fetch_inbox_token.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.fetch_inbox_token.md b/documentation/enums/Operations.fetch_inbox_token.md new file mode 100644 index 0000000..3e25346 --- /dev/null +++ b/documentation/enums/Operations.fetch_inbox_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_inbox_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_inbox_token +``` + +Fetch an Inbox token + +Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_inbox_token" +``` diff --git a/documentation/enums/Operations.fetch_notification.AcceptableContentType.md b/documentation/enums/Operations.fetch_notification.AcceptableContentType.md new file mode 100644 index 0000000..b4ab9ad --- /dev/null +++ b/documentation/enums/Operations.fetch_notification.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.fetch_notification.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.fetch_notification.Output.Ok.Body.md b/documentation/enums/Operations.fetch_notification.Output.Ok.Body.md new file mode 100644 index 0000000..c4fd2c0 --- /dev/null +++ b/documentation/enums/Operations.fetch_notification.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.fetch_notification.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/GET/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.Notification) +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/GET/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.Notification +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.fetch_notification.Output.md b/documentation/enums/Operations.fetch_notification.Output.md new file mode 100644 index 0000000..298054e --- /dev/null +++ b/documentation/enums/Operations.fetch_notification.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.fetch_notification.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.fetch_notification.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.fetch_notification.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.fetch_notification.md b/documentation/enums/Operations.fetch_notification.md new file mode 100644 index 0000000..1f790a2 --- /dev/null +++ b/documentation/enums/Operations.fetch_notification.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_notification` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_notification +``` + +Fetch a notification + +Gets a notification by ID. + +- Remark: HTTP `GET /notifications/{notification_id}`. +- Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_notification" +``` diff --git a/documentation/enums/Operations.fetch_slack_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_slack_token.AcceptableContentType.md new file mode 100644 index 0000000..e560fb0 --- /dev/null +++ b/documentation/enums/Operations.fetch_slack_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.fetch_slack_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.get_slack_token.Output.Ok.Body.md b/documentation/enums/Operations.fetch_slack_token.Output.Ok.Body.md similarity index 79% rename from documentation/enums/Operations.get_slack_token.Output.Ok.Body.md rename to documentation/enums/Operations.fetch_slack_token.Output.Ok.Body.md index 1ac191f..2a3d5e5 100644 --- a/documentation/enums/Operations.get_slack_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.fetch_slack_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_slack_token.Output.Ok.Body` +# `Operations.fetch_slack_token.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.SlackTokenResponse) +case json(Components.Schemas.SlackToken) ``` - Remark: Generated from `#/paths/channels/slack/tokens/{token_id}/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.SlackTokenResponse) ### `json` ```swift -public var json: Components.Schemas.SlackTokenResponse +public var json: Components.Schemas.SlackToken ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.get_slack_token.Output.md b/documentation/enums/Operations.fetch_slack_token.Output.md similarity index 79% rename from documentation/enums/Operations.get_slack_token.Output.md rename to documentation/enums/Operations.fetch_slack_token.Output.md index 555527f..eecbace 100644 --- a/documentation/enums/Operations.get_slack_token.Output.md +++ b/documentation/enums/Operations.fetch_slack_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_slack_token.Output` +# `Operations.fetch_slack_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_slack_token.Output.Ok) +case ok(Operations.fetch_slack_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)/responses/200`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_slack_token.Output.Ok +public var ok: Operations.fetch_slack_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.fetch_slack_token.md b/documentation/enums/Operations.fetch_slack_token.md new file mode 100644 index 0000000..0e0ab46 --- /dev/null +++ b/documentation/enums/Operations.fetch_slack_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_slack_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_slack_token +``` + +Fetch a Slack token + +Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/slack/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_slack_token" +``` diff --git a/documentation/enums/Operations.fetch_teams_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_teams_token.AcceptableContentType.md new file mode 100644 index 0000000..d1cd0c5 --- /dev/null +++ b/documentation/enums/Operations.fetch_teams_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.fetch_teams_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.get_teams_token.Output.Ok.Body.md b/documentation/enums/Operations.fetch_teams_token.Output.Ok.Body.md similarity index 79% rename from documentation/enums/Operations.get_teams_token.Output.Ok.Body.md rename to documentation/enums/Operations.fetch_teams_token.Output.Ok.Body.md index f59daf5..c9d55a7 100644 --- a/documentation/enums/Operations.get_teams_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.fetch_teams_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_teams_token.Output.Ok.Body` +# `Operations.fetch_teams_token.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.TeamsTokenResponse) +case json(Components.Schemas.TeamsToken) ``` - Remark: Generated from `#/paths/channels/teams/tokens/{token_id}/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.TeamsTokenResponse) ### `json` ```swift -public var json: Components.Schemas.TeamsTokenResponse +public var json: Components.Schemas.TeamsToken ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.get_teams_token.Output.md b/documentation/enums/Operations.fetch_teams_token.Output.md similarity index 79% rename from documentation/enums/Operations.get_teams_token.Output.md rename to documentation/enums/Operations.fetch_teams_token.Output.md index 2d855ff..dc602a2 100644 --- a/documentation/enums/Operations.get_teams_token.Output.md +++ b/documentation/enums/Operations.fetch_teams_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_teams_token.Output` +# `Operations.fetch_teams_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_teams_token.Output.Ok) +case ok(Operations.fetch_teams_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)/responses/200`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_teams_token.Output.Ok +public var ok: Operations.fetch_teams_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.fetch_teams_token.md b/documentation/enums/Operations.fetch_teams_token.md new file mode 100644 index 0000000..b609991 --- /dev/null +++ b/documentation/enums/Operations.fetch_teams_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_teams_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_teams_token +``` + +Fetch a Teams token + +Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/teams/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_teams_token" +``` diff --git a/documentation/enums/Operations.discard_web_push_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_user_preferences.AcceptableContentType.md similarity index 90% rename from documentation/enums/Operations.discard_web_push_token.AcceptableContentType.md rename to documentation/enums/Operations.fetch_user_preferences.AcceptableContentType.md index d159a29..2f018db 100644 --- a/documentation/enums/Operations.discard_web_push_token.AcceptableContentType.md +++ b/documentation/enums/Operations.fetch_user_preferences.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_web_push_token.AcceptableContentType` +# `Operations.fetch_user_preferences.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.save_web_push_token.Output.Created.Body.md b/documentation/enums/Operations.fetch_user_preferences.Output.Ok.Body.md similarity index 51% rename from documentation/enums/Operations.save_web_push_token.Output.Created.Body.md rename to documentation/enums/Operations.fetch_user_preferences.Output.Ok.Body.md index eed6b56..100670b 100644 --- a/documentation/enums/Operations.save_web_push_token.Output.Created.Body.md +++ b/documentation/enums/Operations.fetch_user_preferences.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_web_push_token.Output.Created.Body` +# `Operations.fetch_user_preferences.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/web_push/tokens/POST/responses/201/content`. +- Remark: Generated from `#/paths/channels/user_preferences/GET/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.WebPushToken) +case json(Components.Schemas.UserPreferences) ``` -- Remark: Generated from `#/paths/channels/web_push/tokens/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/channels/user_preferences/GET/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.WebPushToken +public var json: Components.Schemas.UserPreferences ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.fetch_user_preferences.Output.md b/documentation/enums/Operations.fetch_user_preferences.Output.md new file mode 100644 index 0000000..133d02c --- /dev/null +++ b/documentation/enums/Operations.fetch_user_preferences.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.fetch_user_preferences.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.fetch_user_preferences.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.fetch_user_preferences.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.fetch_user_preferences.md b/documentation/enums/Operations.fetch_user_preferences.md new file mode 100644 index 0000000..cd0a060 --- /dev/null +++ b/documentation/enums/Operations.fetch_user_preferences.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_user_preferences` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_user_preferences +``` + +Fetch channel preferences + +Fetch a user's channel delivery preferences. + +- Remark: HTTP `GET /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_user_preferences" +``` diff --git a/documentation/enums/Operations.discard_teams_token.AcceptableContentType.md b/documentation/enums/Operations.fetch_web_push_token.AcceptableContentType.md similarity index 90% rename from documentation/enums/Operations.discard_teams_token.AcceptableContentType.md rename to documentation/enums/Operations.fetch_web_push_token.AcceptableContentType.md index dd41f9f..21e003f 100644 --- a/documentation/enums/Operations.discard_teams_token.AcceptableContentType.md +++ b/documentation/enums/Operations.fetch_web_push_token.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_teams_token.AcceptableContentType` +# `Operations.fetch_web_push_token.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.get_web_push_token.Output.Ok.Body.md b/documentation/enums/Operations.fetch_web_push_token.Output.Ok.Body.md similarity index 78% rename from documentation/enums/Operations.get_web_push_token.Output.Ok.Body.md rename to documentation/enums/Operations.fetch_web_push_token.Output.Ok.Body.md index 4a72e7c..fba871d 100644 --- a/documentation/enums/Operations.get_web_push_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.fetch_web_push_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_web_push_token.Output.Ok.Body` +# `Operations.fetch_web_push_token.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.WebPushTokenResponse) +case json(Components.Schemas.WebPushToken) ``` - Remark: Generated from `#/paths/channels/web_push/tokens/{token_id}/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.WebPushTokenResponse) ### `json` ```swift -public var json: Components.Schemas.WebPushTokenResponse +public var json: Components.Schemas.WebPushToken ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.get_web_push_token.Output.md b/documentation/enums/Operations.fetch_web_push_token.Output.md similarity index 77% rename from documentation/enums/Operations.get_web_push_token.Output.md rename to documentation/enums/Operations.fetch_web_push_token.Output.md index 2f85da4..1d4cfc1 100644 --- a/documentation/enums/Operations.get_web_push_token.Output.md +++ b/documentation/enums/Operations.fetch_web_push_token.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_web_push_token.Output` +# `Operations.fetch_web_push_token.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_web_push_token.Output.Ok) +case ok(Operations.fetch_web_push_token.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)/responses/200`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_web_push_token.Output.Ok +public var ok: Operations.fetch_web_push_token.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.fetch_web_push_token.md b/documentation/enums/Operations.fetch_web_push_token.md new file mode 100644 index 0000000..1756108 --- /dev/null +++ b/documentation/enums/Operations.fetch_web_push_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.fetch_web_push_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum fetch_web_push_token +``` + +Fetch a Web Push token + +Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "fetch_web_push_token" +``` diff --git a/documentation/enums/Operations.finish_slack_installation.md b/documentation/enums/Operations.finish_slack_installation.md index 94fc7a0..363457e 100644 --- a/documentation/enums/Operations.finish_slack_installation.md +++ b/documentation/enums/Operations.finish_slack_installation.md @@ -11,7 +11,9 @@ public enum finish_slack_installation ``` -Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. +Finish a Slack installation + +Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. - Remark: HTTP `POST /integrations/slack/installations/finish`. - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. diff --git a/documentation/enums/Operations.get_mobile_push_apns_token.AcceptableContentType.md b/documentation/enums/Operations.get_mobile_push_apns_token.AcceptableContentType.md deleted file mode 100644 index 2793c11..0000000 --- a/documentation/enums/Operations.get_mobile_push_apns_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_apns_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_mobile_push_apns_token.md b/documentation/enums/Operations.get_mobile_push_apns_token.md deleted file mode 100644 index 413fdee..0000000 --- a/documentation/enums/Operations.get_mobile_push_apns_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_apns_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_mobile_push_apns_token -``` - -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - -- Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_mobile_push_apns_token" -``` diff --git a/documentation/enums/Operations.get_mobile_push_apns_tokens.AcceptableContentType.md b/documentation/enums/Operations.get_mobile_push_apns_tokens.AcceptableContentType.md deleted file mode 100644 index b865ce9..0000000 --- a/documentation/enums/Operations.get_mobile_push_apns_tokens.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_apns_tokens.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_mobile_push_apns_tokens.md b/documentation/enums/Operations.get_mobile_push_apns_tokens.md deleted file mode 100644 index 6826240..0000000 --- a/documentation/enums/Operations.get_mobile_push_apns_tokens.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_apns_tokens` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_mobile_push_apns_tokens -``` - -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - -- Remark: HTTP `GET /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_mobile_push_apns_tokens" -``` diff --git a/documentation/enums/Operations.get_mobile_push_expo_token.AcceptableContentType.md b/documentation/enums/Operations.get_mobile_push_expo_token.AcceptableContentType.md deleted file mode 100644 index 8a9009e..0000000 --- a/documentation/enums/Operations.get_mobile_push_expo_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_expo_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_mobile_push_expo_token.md b/documentation/enums/Operations.get_mobile_push_expo_token.md deleted file mode 100644 index 76c33f4..0000000 --- a/documentation/enums/Operations.get_mobile_push_expo_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_expo_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_mobile_push_expo_token -``` - -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - -- Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_mobile_push_expo_token" -``` diff --git a/documentation/enums/Operations.get_mobile_push_expo_tokens.AcceptableContentType.md b/documentation/enums/Operations.get_mobile_push_expo_tokens.AcceptableContentType.md deleted file mode 100644 index 3ca5882..0000000 --- a/documentation/enums/Operations.get_mobile_push_expo_tokens.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_expo_tokens.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_mobile_push_expo_tokens.md b/documentation/enums/Operations.get_mobile_push_expo_tokens.md deleted file mode 100644 index bcb193c..0000000 --- a/documentation/enums/Operations.get_mobile_push_expo_tokens.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_expo_tokens` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_mobile_push_expo_tokens -``` - -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - -- Remark: HTTP `GET /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_mobile_push_expo_tokens" -``` diff --git a/documentation/enums/Operations.get_mobile_push_fcm_token.AcceptableContentType.md b/documentation/enums/Operations.get_mobile_push_fcm_token.AcceptableContentType.md deleted file mode 100644 index 44bf762..0000000 --- a/documentation/enums/Operations.get_mobile_push_fcm_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_fcm_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_mobile_push_fcm_token.md b/documentation/enums/Operations.get_mobile_push_fcm_token.md deleted file mode 100644 index bd265c1..0000000 --- a/documentation/enums/Operations.get_mobile_push_fcm_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_fcm_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_mobile_push_fcm_token -``` - -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - -- Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_mobile_push_fcm_token" -``` diff --git a/documentation/enums/Operations.get_mobile_push_fcm_tokens.AcceptableContentType.md b/documentation/enums/Operations.get_mobile_push_fcm_tokens.AcceptableContentType.md deleted file mode 100644 index 6e37054..0000000 --- a/documentation/enums/Operations.get_mobile_push_fcm_tokens.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_fcm_tokens.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_mobile_push_fcm_tokens.md b/documentation/enums/Operations.get_mobile_push_fcm_tokens.md deleted file mode 100644 index dc080c7..0000000 --- a/documentation/enums/Operations.get_mobile_push_fcm_tokens.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_mobile_push_fcm_tokens` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_mobile_push_fcm_tokens -``` - -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - -- Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_mobile_push_fcm_tokens" -``` diff --git a/documentation/enums/Operations.get_slack_token.md b/documentation/enums/Operations.get_slack_token.md deleted file mode 100644 index 8bbe482..0000000 --- a/documentation/enums/Operations.get_slack_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_slack_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_slack_token -``` - -Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - -- Remark: HTTP `GET /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_slack_token" -``` diff --git a/documentation/enums/Operations.get_slack_tokens.md b/documentation/enums/Operations.get_slack_tokens.md deleted file mode 100644 index 70423f4..0000000 --- a/documentation/enums/Operations.get_slack_tokens.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_slack_tokens` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_slack_tokens -``` - -Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - -- Remark: HTTP `GET /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_slack_tokens" -``` diff --git a/documentation/enums/Operations.get_teams_token.md b/documentation/enums/Operations.get_teams_token.md deleted file mode 100644 index 32d9349..0000000 --- a/documentation/enums/Operations.get_teams_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_teams_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_teams_token -``` - -Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - -- Remark: HTTP `GET /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_teams_token" -``` diff --git a/documentation/enums/Operations.get_teams_tokens.md b/documentation/enums/Operations.get_teams_tokens.md deleted file mode 100644 index a13506b..0000000 --- a/documentation/enums/Operations.get_teams_tokens.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_teams_tokens` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_teams_tokens -``` - -Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - -- Remark: HTTP `GET /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_teams_tokens" -``` diff --git a/documentation/enums/Operations.get_web_push_token.AcceptableContentType.md b/documentation/enums/Operations.get_web_push_token.AcceptableContentType.md deleted file mode 100644 index ffbb035..0000000 --- a/documentation/enums/Operations.get_web_push_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_web_push_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.get_web_push_token.md b/documentation/enums/Operations.get_web_push_token.md deleted file mode 100644 index 340de81..0000000 --- a/documentation/enums/Operations.get_web_push_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.get_web_push_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum get_web_push_token -``` - -Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - -- Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "get_web_push_token" -``` diff --git a/documentation/enums/Operations.get_web_push_tokens.AcceptableContentType.md b/documentation/enums/Operations.get_web_push_tokens.AcceptableContentType.md deleted file mode 100644 index c7612f1..0000000 --- a/documentation/enums/Operations.get_web_push_tokens.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.get_web_push_tokens.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.list_apns_tokens.AcceptableContentType.md b/documentation/enums/Operations.list_apns_tokens.AcceptableContentType.md new file mode 100644 index 0000000..641b182 --- /dev/null +++ b/documentation/enums/Operations.list_apns_tokens.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.list_apns_tokens.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.get_mobile_push_apns_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_apns_tokens.Output.Ok.Body.md similarity index 76% rename from documentation/enums/Operations.get_mobile_push_apns_tokens.Output.Ok.Body.md rename to documentation/enums/Operations.list_apns_tokens.Output.Ok.Body.md index bbd9569..d509f0c 100644 --- a/documentation/enums/Operations.get_mobile_push_apns_tokens.Output.Ok.Body.md +++ b/documentation/enums/Operations.list_apns_tokens.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_apns_tokens.Output.Ok.Body` +# `Operations.list_apns_tokens.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.ArrayOfAPNSTokenResponses) +case json(Components.Schemas.APNSTokenCollection) ``` - Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.ArrayOfAPNSTokenResponses) ### `json` ```swift -public var json: Components.Schemas.ArrayOfAPNSTokenResponses +public var json: Components.Schemas.APNSTokenCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.discard_mobile_push_apns_token.Output.md b/documentation/enums/Operations.list_apns_tokens.Output.md similarity index 73% rename from documentation/enums/Operations.discard_mobile_push_apns_token.Output.md rename to documentation/enums/Operations.list_apns_tokens.Output.md index e59aebc..a7a1275 100644 --- a/documentation/enums/Operations.discard_mobile_push_apns_token.Output.md +++ b/documentation/enums/Operations.list_apns_tokens.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_mobile_push_apns_token.Output` +# `Operations.list_apns_tokens.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.discard_mobile_push_apns_token.Output.Ok) +case ok(Operations.list_apns_tokens.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.discard_mobile_push_apns_token.Output.Ok +public var ok: Operations.list_apns_tokens.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.list_apns_tokens.md b/documentation/enums/Operations.list_apns_tokens.md new file mode 100644 index 0000000..727b0fb --- /dev/null +++ b/documentation/enums/Operations.list_apns_tokens.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_apns_tokens` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_apns_tokens +``` + +List all APNs tokens + +Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/mobile_push/apns/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_apns_tokens" +``` diff --git a/documentation/enums/Operations.list_expo_tokens.AcceptableContentType.md b/documentation/enums/Operations.list_expo_tokens.AcceptableContentType.md new file mode 100644 index 0000000..b7c9dca --- /dev/null +++ b/documentation/enums/Operations.list_expo_tokens.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.list_expo_tokens.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.get_mobile_push_expo_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_expo_tokens.Output.Ok.Body.md similarity index 76% rename from documentation/enums/Operations.get_mobile_push_expo_tokens.Output.Ok.Body.md rename to documentation/enums/Operations.list_expo_tokens.Output.Ok.Body.md index 4e42cff..b38ca3c 100644 --- a/documentation/enums/Operations.get_mobile_push_expo_tokens.Output.Ok.Body.md +++ b/documentation/enums/Operations.list_expo_tokens.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_expo_tokens.Output.Ok.Body` +# `Operations.list_expo_tokens.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.ArrayOfExpoTokenResponses) +case json(Components.Schemas.ExpoTokenCollection) ``` - Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.ArrayOfExpoTokenResponses) ### `json` ```swift -public var json: Components.Schemas.ArrayOfExpoTokenResponses +public var json: Components.Schemas.ExpoTokenCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.discard_mobile_push_expo_token.Output.md b/documentation/enums/Operations.list_expo_tokens.Output.md similarity index 73% rename from documentation/enums/Operations.discard_mobile_push_expo_token.Output.md rename to documentation/enums/Operations.list_expo_tokens.Output.md index 3e0bf8c..09414d5 100644 --- a/documentation/enums/Operations.discard_mobile_push_expo_token.Output.md +++ b/documentation/enums/Operations.list_expo_tokens.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_mobile_push_expo_token.Output` +# `Operations.list_expo_tokens.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.discard_mobile_push_expo_token.Output.Ok) +case ok(Operations.list_expo_tokens.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.discard_mobile_push_expo_token.Output.Ok +public var ok: Operations.list_expo_tokens.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.list_expo_tokens.md b/documentation/enums/Operations.list_expo_tokens.md new file mode 100644 index 0000000..629543d --- /dev/null +++ b/documentation/enums/Operations.list_expo_tokens.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_expo_tokens` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_expo_tokens +``` + +List all Expo tokens + +Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/mobile_push/expo/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_expo_tokens" +``` diff --git a/documentation/enums/Operations.get_slack_token.AcceptableContentType.md b/documentation/enums/Operations.list_fcm_tokens.AcceptableContentType.md similarity index 91% rename from documentation/enums/Operations.get_slack_token.AcceptableContentType.md rename to documentation/enums/Operations.list_fcm_tokens.AcceptableContentType.md index eb06b5f..f10823e 100644 --- a/documentation/enums/Operations.get_slack_token.AcceptableContentType.md +++ b/documentation/enums/Operations.list_fcm_tokens.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_slack_token.AcceptableContentType` +# `Operations.list_fcm_tokens.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.get_mobile_push_fcm_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_fcm_tokens.Output.Ok.Body.md similarity index 76% rename from documentation/enums/Operations.get_mobile_push_fcm_tokens.Output.Ok.Body.md rename to documentation/enums/Operations.list_fcm_tokens.Output.Ok.Body.md index 669a015..52f486d 100644 --- a/documentation/enums/Operations.get_mobile_push_fcm_tokens.Output.Ok.Body.md +++ b/documentation/enums/Operations.list_fcm_tokens.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_fcm_tokens.Output.Ok.Body` +# `Operations.list_fcm_tokens.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.ArrayOfFCMTokenResponses) +case json(Components.Schemas.FCMTokenCollection) ``` - Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.ArrayOfFCMTokenResponses) ### `json` ```swift -public var json: Components.Schemas.ArrayOfFCMTokenResponses +public var json: Components.Schemas.FCMTokenCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.discard_mobile_push_fcm_token.Output.md b/documentation/enums/Operations.list_fcm_tokens.Output.md similarity index 74% rename from documentation/enums/Operations.discard_mobile_push_fcm_token.Output.md rename to documentation/enums/Operations.list_fcm_tokens.Output.md index 2ec3e26..6e4308a 100644 --- a/documentation/enums/Operations.discard_mobile_push_fcm_token.Output.md +++ b/documentation/enums/Operations.list_fcm_tokens.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_mobile_push_fcm_token.Output` +# `Operations.list_fcm_tokens.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.discard_mobile_push_fcm_token.Output.Ok) +case ok(Operations.list_fcm_tokens.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)/responses/200`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.discard_mobile_push_fcm_token.Output.Ok +public var ok: Operations.list_fcm_tokens.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.list_fcm_tokens.md b/documentation/enums/Operations.list_fcm_tokens.md new file mode 100644 index 0000000..11ed26b --- /dev/null +++ b/documentation/enums/Operations.list_fcm_tokens.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_fcm_tokens` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_fcm_tokens +``` + +List all FCM tokens + +Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_fcm_tokens" +``` diff --git a/documentation/enums/Operations.list_inbox_tokens.AcceptableContentType.md b/documentation/enums/Operations.list_inbox_tokens.AcceptableContentType.md new file mode 100644 index 0000000..3e25b8b --- /dev/null +++ b/documentation/enums/Operations.list_inbox_tokens.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.list_inbox_tokens.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.list_inbox_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_inbox_tokens.Output.Ok.Body.md new file mode 100644 index 0000000..5f39cff --- /dev/null +++ b/documentation/enums/Operations.list_inbox_tokens.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.list_inbox_tokens.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.InboxTokenResponseCollection) +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.InboxTokenResponseCollection +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.list_inbox_tokens.Output.md b/documentation/enums/Operations.list_inbox_tokens.Output.md new file mode 100644 index 0000000..50bc61c --- /dev/null +++ b/documentation/enums/Operations.list_inbox_tokens.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.list_inbox_tokens.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.list_inbox_tokens.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.list_inbox_tokens.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.list_inbox_tokens.md b/documentation/enums/Operations.list_inbox_tokens.md new file mode 100644 index 0000000..a007550 --- /dev/null +++ b/documentation/enums/Operations.list_inbox_tokens.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_inbox_tokens` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_inbox_tokens +``` + +List all Inbox tokens + +Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_inbox_tokens" +``` diff --git a/documentation/enums/Operations.list_notifications.AcceptableContentType.md b/documentation/enums/Operations.list_notifications.AcceptableContentType.md new file mode 100644 index 0000000..0b77b43 --- /dev/null +++ b/documentation/enums/Operations.list_notifications.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.list_notifications.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.save_teams_token.Output.Created.Body.md b/documentation/enums/Operations.list_notifications.Output.Ok.Body.md similarity index 52% rename from documentation/enums/Operations.save_teams_token.Output.Created.Body.md rename to documentation/enums/Operations.list_notifications.Output.Ok.Body.md index c328963..98ab3d2 100644 --- a/documentation/enums/Operations.save_teams_token.Output.Created.Body.md +++ b/documentation/enums/Operations.list_notifications.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_teams_token.Output.Created.Body` +# `Operations.list_notifications.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/teams/tokens/POST/responses/201/content`. +- Remark: Generated from `#/paths/notifications/GET/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.TeamsToken) +case json(Components.Schemas.NotificationCollection) ``` -- Remark: Generated from `#/paths/channels/teams/tokens/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/notifications/GET/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.TeamsToken +public var json: Components.Schemas.NotificationCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.get_slack_tokens.Output.md b/documentation/enums/Operations.list_notifications.Output.md similarity index 73% rename from documentation/enums/Operations.get_slack_tokens.Output.md rename to documentation/enums/Operations.list_notifications.Output.md index a82283a..36196cb 100644 --- a/documentation/enums/Operations.get_slack_tokens.Output.md +++ b/documentation/enums/Operations.list_notifications.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_slack_tokens.Output` +# `Operations.list_notifications.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_slack_tokens.Output.Ok) +case ok(Operations.list_notifications.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)/responses/200`. +- Remark: Generated from `#/paths//notifications/get(list_notifications)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_slack_tokens.Output.Ok +public var ok: Operations.list_notifications.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.list_notifications.md b/documentation/enums/Operations.list_notifications.md new file mode 100644 index 0000000..486a273 --- /dev/null +++ b/documentation/enums/Operations.list_notifications.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_notifications` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_notifications +``` + +List all notifications + +Lists all notifications for a user. + +- Remark: HTTP `GET /notifications`. +- Remark: Generated from `#/paths//notifications/get(list_notifications)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_notifications" +``` diff --git a/documentation/enums/Operations.list_slack_tokens.AcceptableContentType.md b/documentation/enums/Operations.list_slack_tokens.AcceptableContentType.md new file mode 100644 index 0000000..440eeea --- /dev/null +++ b/documentation/enums/Operations.list_slack_tokens.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.list_slack_tokens.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.get_slack_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_slack_tokens.Output.Ok.Body.md similarity index 76% rename from documentation/enums/Operations.get_slack_tokens.Output.Ok.Body.md rename to documentation/enums/Operations.list_slack_tokens.Output.Ok.Body.md index edd801b..9610e8a 100644 --- a/documentation/enums/Operations.get_slack_tokens.Output.Ok.Body.md +++ b/documentation/enums/Operations.list_slack_tokens.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_slack_tokens.Output.Ok.Body` +# `Operations.list_slack_tokens.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.ArrayOfSlackTokenResponses) +case json(Components.Schemas.SlackTokenCollection) ``` - Remark: Generated from `#/paths/channels/slack/tokens/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.ArrayOfSlackTokenResponses) ### `json` ```swift -public var json: Components.Schemas.ArrayOfSlackTokenResponses +public var json: Components.Schemas.SlackTokenCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.get_teams_tokens.Output.md b/documentation/enums/Operations.list_slack_tokens.Output.md similarity index 72% rename from documentation/enums/Operations.get_teams_tokens.Output.md rename to documentation/enums/Operations.list_slack_tokens.Output.md index fa15c81..35e3a51 100644 --- a/documentation/enums/Operations.get_teams_tokens.Output.md +++ b/documentation/enums/Operations.list_slack_tokens.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_teams_tokens.Output` +# `Operations.list_slack_tokens.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_teams_tokens.Output.Ok) +case ok(Operations.list_slack_tokens.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)/responses/200`. +- Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_teams_tokens.Output.Ok +public var ok: Operations.list_slack_tokens.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.list_slack_tokens.md b/documentation/enums/Operations.list_slack_tokens.md new file mode 100644 index 0000000..77f436a --- /dev/null +++ b/documentation/enums/Operations.list_slack_tokens.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_slack_tokens` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_slack_tokens +``` + +List all Slack tokens + +Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/slack/tokens`. +- Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_slack_tokens" +``` diff --git a/documentation/enums/Operations.list_teams_tokens.AcceptableContentType.md b/documentation/enums/Operations.list_teams_tokens.AcceptableContentType.md new file mode 100644 index 0000000..03d0d72 --- /dev/null +++ b/documentation/enums/Operations.list_teams_tokens.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.list_teams_tokens.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.get_teams_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_teams_tokens.Output.Ok.Body.md similarity index 76% rename from documentation/enums/Operations.get_teams_tokens.Output.Ok.Body.md rename to documentation/enums/Operations.list_teams_tokens.Output.Ok.Body.md index 8c4f74f..e2dfc0a 100644 --- a/documentation/enums/Operations.get_teams_tokens.Output.Ok.Body.md +++ b/documentation/enums/Operations.list_teams_tokens.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_teams_tokens.Output.Ok.Body` +# `Operations.list_teams_tokens.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.ArrayOfTeamsTokenResponses) +case json(Components.Schemas.TeamsTokenCollection) ``` - Remark: Generated from `#/paths/channels/teams/tokens/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.ArrayOfTeamsTokenResponses) ### `json` ```swift -public var json: Components.Schemas.ArrayOfTeamsTokenResponses +public var json: Components.Schemas.TeamsTokenCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.list_teams_tokens.Output.md b/documentation/enums/Operations.list_teams_tokens.Output.md new file mode 100644 index 0000000..61e81ab --- /dev/null +++ b/documentation/enums/Operations.list_teams_tokens.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.list_teams_tokens.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.list_teams_tokens.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.list_teams_tokens.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.list_teams_tokens.md b/documentation/enums/Operations.list_teams_tokens.md new file mode 100644 index 0000000..0a446a0 --- /dev/null +++ b/documentation/enums/Operations.list_teams_tokens.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.list_teams_tokens` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum list_teams_tokens +``` + +List all Teams tokens + +Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/teams/tokens`. +- Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "list_teams_tokens" +``` diff --git a/documentation/enums/Operations.discard_slack_token.AcceptableContentType.md b/documentation/enums/Operations.list_web_push_tokens.AcceptableContentType.md similarity index 90% rename from documentation/enums/Operations.discard_slack_token.AcceptableContentType.md rename to documentation/enums/Operations.list_web_push_tokens.AcceptableContentType.md index df52e6f..f9f0aca 100644 --- a/documentation/enums/Operations.discard_slack_token.AcceptableContentType.md +++ b/documentation/enums/Operations.list_web_push_tokens.AcceptableContentType.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.discard_slack_token.AcceptableContentType` +# `Operations.list_web_push_tokens.AcceptableContentType` **Contents** diff --git a/documentation/enums/Operations.get_web_push_tokens.Output.Ok.Body.md b/documentation/enums/Operations.list_web_push_tokens.Output.Ok.Body.md similarity index 76% rename from documentation/enums/Operations.get_web_push_tokens.Output.Ok.Body.md rename to documentation/enums/Operations.list_web_push_tokens.Output.Ok.Body.md index defade9..ce0fb6f 100644 --- a/documentation/enums/Operations.get_web_push_tokens.Output.Ok.Body.md +++ b/documentation/enums/Operations.list_web_push_tokens.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_web_push_tokens.Output.Ok.Body` +# `Operations.list_web_push_tokens.Output.Ok.Body` **Contents** @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.ArrayOfWebPushTokenResponses) +case json(Components.Schemas.WebPushTokenCollection) ``` - Remark: Generated from `#/paths/channels/web_push/tokens/GET/responses/200/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.ArrayOfWebPushTokenResponses) ### `json` ```swift -public var json: Components.Schemas.ArrayOfWebPushTokenResponses +public var json: Components.Schemas.WebPushTokenCollection ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.get_web_push_tokens.Output.md b/documentation/enums/Operations.list_web_push_tokens.Output.md similarity index 78% rename from documentation/enums/Operations.get_web_push_tokens.Output.md rename to documentation/enums/Operations.list_web_push_tokens.Output.md index 36974e9..5ee77ba 100644 --- a/documentation/enums/Operations.get_web_push_tokens.Output.md +++ b/documentation/enums/Operations.list_web_push_tokens.Output.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_web_push_tokens.Output` +# `Operations.list_web_push_tokens.Output` **Contents** @@ -18,12 +18,12 @@ ### `ok(_:)` ```swift -case ok(Operations.get_web_push_tokens.Output.Ok) +case ok(Operations.list_web_push_tokens.Output.Ok) ``` OK -- Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)/responses/200`. +- Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)/responses/200`. HTTP response code: `200 ok`. @@ -41,7 +41,7 @@ A response with a code that is not documented in the OpenAPI document. ### `ok` ```swift -public var ok: Operations.get_web_push_tokens.Output.Ok +public var ok: Operations.list_web_push_tokens.Output.Ok ``` The associated value of the enum case if `self` is `.ok`. diff --git a/documentation/enums/Operations.get_web_push_tokens.md b/documentation/enums/Operations.list_web_push_tokens.md similarity index 57% rename from documentation/enums/Operations.get_web_push_tokens.md rename to documentation/enums/Operations.list_web_push_tokens.md index 7874ae8..0f3bfec 100644 --- a/documentation/enums/Operations.get_web_push_tokens.md +++ b/documentation/enums/Operations.list_web_push_tokens.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_web_push_tokens` +# `Operations.list_web_push_tokens` **Contents** @@ -8,17 +8,19 @@ - `id` ```swift -public enum get_web_push_tokens +public enum list_web_push_tokens ``` -Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Web Push tokens + +Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. ## Properties ### `id` ```swift -public static let id: Swift.String = "get_web_push_tokens" +public static let id: Swift.String = "list_web_push_tokens" ``` diff --git a/documentation/enums/Operations.mark_all_notifications_read.Output.md b/documentation/enums/Operations.mark_all_notifications_read.Output.md new file mode 100644 index 0000000..ab19db2 --- /dev/null +++ b/documentation/enums/Operations.mark_all_notifications_read.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.mark_all_notifications_read.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.mark_all_notifications_read.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.mark_all_notifications_read.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.mark_all_notifications_read.md b/documentation/enums/Operations.mark_all_notifications_read.md new file mode 100644 index 0000000..dc89c09 --- /dev/null +++ b/documentation/enums/Operations.mark_all_notifications_read.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.mark_all_notifications_read` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum mark_all_notifications_read +``` + +Mark all notifications read + +Marks all notifications as read. + +- Remark: HTTP `POST /notifications/read`. +- Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "mark_all_notifications_read" +``` diff --git a/documentation/enums/Operations.mark_notification_read.Output.md b/documentation/enums/Operations.mark_notification_read.Output.md new file mode 100644 index 0000000..4c222b8 --- /dev/null +++ b/documentation/enums/Operations.mark_notification_read.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.mark_notification_read.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.mark_notification_read.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.mark_notification_read.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.mark_notification_read.md b/documentation/enums/Operations.mark_notification_read.md new file mode 100644 index 0000000..042f8f0 --- /dev/null +++ b/documentation/enums/Operations.mark_notification_read.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.mark_notification_read` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum mark_notification_read +``` + +Mark a notification read + +Marks a notification as read. + +- Remark: HTTP `POST /notifications/{notification_id}/read`. +- Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "mark_notification_read" +``` diff --git a/documentation/enums/Operations.mark_notification_unread.Output.md b/documentation/enums/Operations.mark_notification_unread.Output.md new file mode 100644 index 0000000..3f36d2a --- /dev/null +++ b/documentation/enums/Operations.mark_notification_unread.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.mark_notification_unread.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.mark_notification_unread.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.mark_notification_unread.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.mark_notification_unread.md b/documentation/enums/Operations.mark_notification_unread.md new file mode 100644 index 0000000..8d8fc1e --- /dev/null +++ b/documentation/enums/Operations.mark_notification_unread.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.mark_notification_unread` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum mark_notification_unread +``` + +Mark a notification unread + +Marks a notification as unread. + +- Remark: HTTP `POST /notifications/{notification_id}/unread`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "mark_notification_unread" +``` diff --git a/documentation/enums/Operations.save_apns_token.AcceptableContentType.md b/documentation/enums/Operations.save_apns_token.AcceptableContentType.md new file mode 100644 index 0000000..77c5779 --- /dev/null +++ b/documentation/enums/Operations.save_apns_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.save_apns_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.save_mobile_push_apns_token.Input.Body.md b/documentation/enums/Operations.save_apns_token.Input.Body.md similarity index 63% rename from documentation/enums/Operations.save_mobile_push_apns_token.Input.Body.md rename to documentation/enums/Operations.save_apns_token.Input.Body.md index 279dbad..b034071 100644 --- a/documentation/enums/Operations.save_mobile_push_apns_token.Input.Body.md +++ b/documentation/enums/Operations.save_apns_token.Input.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_mobile_push_apns_token.Input.Body` +# `Operations.save_apns_token.Input.Body` **Contents** @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/requestBody`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.APNSToken) +case json(Components.Schemas.APNSTokenPayload) ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.get_mobile_push_apns_token.Output.Ok.Body.md b/documentation/enums/Operations.save_apns_token.Output.Ok.Body.md similarity index 65% rename from documentation/enums/Operations.get_mobile_push_apns_token.Output.Ok.Body.md rename to documentation/enums/Operations.save_apns_token.Output.Ok.Body.md index e88bd70..99acf50 100644 --- a/documentation/enums/Operations.get_mobile_push_apns_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.save_apns_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_apns_token.Output.Ok.Body` +# `Operations.save_apns_token.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.APNSTokenResponse) +case json(Components.Schemas.APNSTokenPayload) ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/{token_id}/GET/responses/200/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.APNSTokenResponse +public var json: Components.Schemas.APNSTokenPayload ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.save_apns_token.Output.md b/documentation/enums/Operations.save_apns_token.Output.md new file mode 100644 index 0000000..12a6966 --- /dev/null +++ b/documentation/enums/Operations.save_apns_token.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.save_apns_token.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.save_apns_token.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.save_apns_token.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_apns_token.md b/documentation/enums/Operations.save_apns_token.md new file mode 100644 index 0000000..6ad0825 --- /dev/null +++ b/documentation/enums/Operations.save_apns_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.save_apns_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum save_apns_token +``` + +Save an APNs token + +Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "save_apns_token" +``` diff --git a/documentation/enums/Operations.save_expo_token.AcceptableContentType.md b/documentation/enums/Operations.save_expo_token.AcceptableContentType.md new file mode 100644 index 0000000..0b7e713 --- /dev/null +++ b/documentation/enums/Operations.save_expo_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.save_expo_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.save_mobile_push_expo_token.Input.Body.md b/documentation/enums/Operations.save_expo_token.Input.Body.md similarity index 63% rename from documentation/enums/Operations.save_mobile_push_expo_token.Input.Body.md rename to documentation/enums/Operations.save_expo_token.Input.Body.md index 6fbb64a..1693dd3 100644 --- a/documentation/enums/Operations.save_mobile_push_expo_token.Input.Body.md +++ b/documentation/enums/Operations.save_expo_token.Input.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_mobile_push_expo_token.Input.Body` +# `Operations.save_expo_token.Input.Body` **Contents** @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/requestBody`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.ExpoToken) +case json(Components.Schemas.ExpoTokenPayload) ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.get_mobile_push_expo_token.Output.Ok.Body.md b/documentation/enums/Operations.save_expo_token.Output.Ok.Body.md similarity index 65% rename from documentation/enums/Operations.get_mobile_push_expo_token.Output.Ok.Body.md rename to documentation/enums/Operations.save_expo_token.Output.Ok.Body.md index 683f531..8a215b6 100644 --- a/documentation/enums/Operations.get_mobile_push_expo_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.save_expo_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_expo_token.Output.Ok.Body` +# `Operations.save_expo_token.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.ExpoTokenResponse) +case json(Components.Schemas.ExpoTokenPayload) ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/{token_id}/GET/responses/200/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.ExpoTokenResponse +public var json: Components.Schemas.ExpoTokenPayload ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.save_expo_token.Output.md b/documentation/enums/Operations.save_expo_token.Output.md new file mode 100644 index 0000000..320dfda --- /dev/null +++ b/documentation/enums/Operations.save_expo_token.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.save_expo_token.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.save_expo_token.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.save_expo_token.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_expo_token.md b/documentation/enums/Operations.save_expo_token.md new file mode 100644 index 0000000..b94ab24 --- /dev/null +++ b/documentation/enums/Operations.save_expo_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.save_expo_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum save_expo_token +``` + +Save an Expo token + +Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "save_expo_token" +``` diff --git a/documentation/enums/Operations.save_fcm_token.AcceptableContentType.md b/documentation/enums/Operations.save_fcm_token.AcceptableContentType.md new file mode 100644 index 0000000..7c67b33 --- /dev/null +++ b/documentation/enums/Operations.save_fcm_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.save_fcm_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.save_mobile_push_fcm_token.Input.Body.md b/documentation/enums/Operations.save_fcm_token.Input.Body.md similarity index 64% rename from documentation/enums/Operations.save_mobile_push_fcm_token.Input.Body.md rename to documentation/enums/Operations.save_fcm_token.Input.Body.md index ae84a38..be95157 100644 --- a/documentation/enums/Operations.save_mobile_push_fcm_token.Input.Body.md +++ b/documentation/enums/Operations.save_fcm_token.Input.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_mobile_push_fcm_token.Input.Body` +# `Operations.save_fcm_token.Input.Body` **Contents** @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/requestBody`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.FCMToken) +case json(Components.Schemas.FCMTokenPayload) ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.get_mobile_push_fcm_token.Output.Ok.Body.md b/documentation/enums/Operations.save_fcm_token.Output.Ok.Body.md similarity index 65% rename from documentation/enums/Operations.get_mobile_push_fcm_token.Output.Ok.Body.md rename to documentation/enums/Operations.save_fcm_token.Output.Ok.Body.md index a78b5a2..d9a565c 100644 --- a/documentation/enums/Operations.get_mobile_push_fcm_token.Output.Ok.Body.md +++ b/documentation/enums/Operations.save_fcm_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.get_mobile_push_fcm_token.Output.Ok.Body` +# `Operations.save_fcm_token.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.FCMTokenResponse) +case json(Components.Schemas.FCMTokenPayload) ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/{token_id}/GET/responses/200/content/application\/json`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.FCMTokenResponse +public var json: Components.Schemas.FCMTokenPayload ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.save_fcm_token.Output.md b/documentation/enums/Operations.save_fcm_token.Output.md new file mode 100644 index 0000000..8085594 --- /dev/null +++ b/documentation/enums/Operations.save_fcm_token.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.save_fcm_token.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.save_fcm_token.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.save_fcm_token.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_fcm_token.md b/documentation/enums/Operations.save_fcm_token.md new file mode 100644 index 0000000..fca69b6 --- /dev/null +++ b/documentation/enums/Operations.save_fcm_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.save_fcm_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum save_fcm_token +``` + +Save a FCM token + +Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "save_fcm_token" +``` diff --git a/documentation/enums/Operations.save_inbox_installation.Input.Body.md b/documentation/enums/Operations.save_inbox_installation.Input.Body.md index 36e0407..80ce8b2 100644 --- a/documentation/enums/Operations.save_inbox_installation.Input.Body.md +++ b/documentation/enums/Operations.save_inbox_installation.Input.Body.md @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/inbox/installations/POST/requestBody`. +- Remark: Generated from `#/paths/integrations/inbox/installations/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.InboxConfig) +case json(Components.Schemas.InboxConfigPayload) ``` -- Remark: Generated from `#/paths/integrations/inbox/installations/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/integrations/inbox/installations/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_inbox_installation.Output.Created.Body.md b/documentation/enums/Operations.save_inbox_installation.Output.Ok.Body.md similarity index 67% rename from documentation/enums/Operations.save_inbox_installation.Output.Created.Body.md rename to documentation/enums/Operations.save_inbox_installation.Output.Ok.Body.md index 3b33d88..ec8da6d 100644 --- a/documentation/enums/Operations.save_inbox_installation.Output.Created.Body.md +++ b/documentation/enums/Operations.save_inbox_installation.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_inbox_installation.Output.Created.Body` +# `Operations.save_inbox_installation.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/inbox/installations/POST/responses/201/content`. +- Remark: Generated from `#/paths/integrations/inbox/installations/PUT/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.InboxConfig) +case json(Components.Schemas.InboxConfigPayload) ``` -- Remark: Generated from `#/paths/integrations/inbox/installations/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/integrations/inbox/installations/PUT/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.InboxConfig +public var json: Components.Schemas.InboxConfigPayload ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.save_inbox_installation.Output.md b/documentation/enums/Operations.save_inbox_installation.Output.md index f8c8e37..04591ae 100644 --- a/documentation/enums/Operations.save_inbox_installation.Output.md +++ b/documentation/enums/Operations.save_inbox_installation.Output.md @@ -5,27 +5,27 @@ **Contents** - [Cases](#cases) - - `created(_:)` + - `ok(_:)` - `undocumented(statusCode:_:)` - [Properties](#properties) - - `created` + - `ok` ```swift @frozen public enum Output: Sendable, Hashable ``` ## Cases -### `created(_:)` +### `ok(_:)` ```swift -case created(Operations.save_inbox_installation.Output.Created) +case ok(Operations.save_inbox_installation.Output.Ok) ``` -Created +OK -- Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)/responses/201`. +- Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)/responses/200`. -HTTP response code: `201 created`. +HTTP response code: `200 ok`. ### `undocumented(statusCode:_:)` @@ -38,13 +38,13 @@ Undocumented response. A response with a code that is not documented in the OpenAPI document. ## Properties -### `created` +### `ok` ```swift -public var created: Operations.save_inbox_installation.Output.Created +public var ok: Operations.save_inbox_installation.Output.Ok ``` -The associated value of the enum case if `self` is `.created`. +The associated value of the enum case if `self` is `.ok`. -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_inbox_installation.md b/documentation/enums/Operations.save_inbox_installation.md index 1a759ea..3b2157f 100644 --- a/documentation/enums/Operations.save_inbox_installation.md +++ b/documentation/enums/Operations.save_inbox_installation.md @@ -11,10 +11,12 @@ public enum save_inbox_installation ``` -Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save an Inbox installation -- Remark: HTTP `POST /integrations/inbox/installations`. -- Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. +Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/inbox/installations`. +- Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. ## Properties ### `id` diff --git a/documentation/enums/Operations.save_inbox_token.AcceptableContentType.md b/documentation/enums/Operations.save_inbox_token.AcceptableContentType.md new file mode 100644 index 0000000..17d9388 --- /dev/null +++ b/documentation/enums/Operations.save_inbox_token.AcceptableContentType.md @@ -0,0 +1,51 @@ +**ENUM** + +# `Operations.save_inbox_token.AcceptableContentType` + +**Contents** + +- [Cases](#cases) + - `json` + - `other(_:)` +- [Properties](#properties) + - `rawValue` + - `allCases` +- [Methods](#methods) + - `init(rawValue:)` + +```swift +@frozen public enum AcceptableContentType: AcceptableProtocol +``` + +## Cases +### `json` + +```swift +case json +``` + +### `other(_:)` + +```swift +case other(Swift.String) +``` + +## Properties +### `rawValue` + +```swift +public var rawValue: Swift.String +``` + +### `allCases` + +```swift +public static var allCases: [Self] +``` + +## Methods +### `init(rawValue:)` + +```swift +public init?(rawValue: Swift.String) +``` diff --git a/documentation/enums/Operations.save_inbox_token.Input.Body.md b/documentation/enums/Operations.save_inbox_token.Input.Body.md new file mode 100644 index 0000000..44d0944 --- /dev/null +++ b/documentation/enums/Operations.save_inbox_token.Input.Body.md @@ -0,0 +1,23 @@ +**ENUM** + +# `Operations.save_inbox_token.Input.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/requestBody`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.InboxToken) +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_slack_token.Output.Created.Body.md b/documentation/enums/Operations.save_inbox_token.Output.Ok.Body.md similarity index 52% rename from documentation/enums/Operations.save_slack_token.Output.Created.Body.md rename to documentation/enums/Operations.save_inbox_token.Output.Ok.Body.md index b1439f7..5e17bfb 100644 --- a/documentation/enums/Operations.save_slack_token.Output.Created.Body.md +++ b/documentation/enums/Operations.save_inbox_token.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_slack_token.Output.Created.Body` +# `Operations.save_inbox_token.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/slack/tokens/POST/responses/201/content`. +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.SlackToken) +case json(Components.Schemas.InboxToken) ``` -- Remark: Generated from `#/paths/channels/slack/tokens/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.SlackToken +public var json: Components.Schemas.InboxToken ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.save_inbox_token.Output.md b/documentation/enums/Operations.save_inbox_token.Output.md new file mode 100644 index 0000000..27c3708 --- /dev/null +++ b/documentation/enums/Operations.save_inbox_token.Output.md @@ -0,0 +1,50 @@ +**ENUM** + +# `Operations.save_inbox_token.Output` + +**Contents** + +- [Cases](#cases) + - `ok(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `ok` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `ok(_:)` + +```swift +case ok(Operations.save_inbox_token.Output.Ok) +``` + +OK + +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)/responses/200`. + +HTTP response code: `200 ok`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `ok` + +```swift +public var ok: Operations.save_inbox_token.Output.Ok +``` + +The associated value of the enum case if `self` is `.ok`. + +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_inbox_token.md b/documentation/enums/Operations.save_inbox_token.md new file mode 100644 index 0000000..064b4f7 --- /dev/null +++ b/documentation/enums/Operations.save_inbox_token.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.save_inbox_token` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum save_inbox_token +``` + +Save an Inbox token + +Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "save_inbox_token" +``` diff --git a/documentation/enums/Operations.save_mobile_push_apns_token.AcceptableContentType.md b/documentation/enums/Operations.save_mobile_push_apns_token.AcceptableContentType.md deleted file mode 100644 index 99ebc19..0000000 --- a/documentation/enums/Operations.save_mobile_push_apns_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_apns_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.save_mobile_push_apns_token.Output.md b/documentation/enums/Operations.save_mobile_push_apns_token.Output.md deleted file mode 100644 index 7c8fb69..0000000 --- a/documentation/enums/Operations.save_mobile_push_apns_token.Output.md +++ /dev/null @@ -1,50 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_apns_token.Output` - -**Contents** - -- [Cases](#cases) - - `created(_:)` - - `undocumented(statusCode:_:)` -- [Properties](#properties) - - `created` - -```swift -@frozen public enum Output: Sendable, Hashable -``` - -## Cases -### `created(_:)` - -```swift -case created(Operations.save_mobile_push_apns_token.Output.Created) -``` - -Created - -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)/responses/201`. - -HTTP response code: `201 created`. - -### `undocumented(statusCode:_:)` - -```swift -case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) -``` - -Undocumented response. - -A response with a code that is not documented in the OpenAPI document. - -## Properties -### `created` - -```swift -public var created: Operations.save_mobile_push_apns_token.Output.Created -``` - -The associated value of the enum case if `self` is `.created`. - -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. diff --git a/documentation/enums/Operations.save_mobile_push_apns_token.md b/documentation/enums/Operations.save_mobile_push_apns_token.md deleted file mode 100644 index b0e0162..0000000 --- a/documentation/enums/Operations.save_mobile_push_apns_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_apns_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum save_mobile_push_apns_token -``` - -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. - -- Remark: HTTP `POST /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "save_mobile_push_apns_token" -``` diff --git a/documentation/enums/Operations.save_mobile_push_expo_token.AcceptableContentType.md b/documentation/enums/Operations.save_mobile_push_expo_token.AcceptableContentType.md deleted file mode 100644 index 23914b9..0000000 --- a/documentation/enums/Operations.save_mobile_push_expo_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_expo_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.save_mobile_push_expo_token.Output.md b/documentation/enums/Operations.save_mobile_push_expo_token.Output.md deleted file mode 100644 index 7e944f7..0000000 --- a/documentation/enums/Operations.save_mobile_push_expo_token.Output.md +++ /dev/null @@ -1,50 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_expo_token.Output` - -**Contents** - -- [Cases](#cases) - - `created(_:)` - - `undocumented(statusCode:_:)` -- [Properties](#properties) - - `created` - -```swift -@frozen public enum Output: Sendable, Hashable -``` - -## Cases -### `created(_:)` - -```swift -case created(Operations.save_mobile_push_expo_token.Output.Created) -``` - -Created - -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)/responses/201`. - -HTTP response code: `201 created`. - -### `undocumented(statusCode:_:)` - -```swift -case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) -``` - -Undocumented response. - -A response with a code that is not documented in the OpenAPI document. - -## Properties -### `created` - -```swift -public var created: Operations.save_mobile_push_expo_token.Output.Created -``` - -The associated value of the enum case if `self` is `.created`. - -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. diff --git a/documentation/enums/Operations.save_mobile_push_expo_token.md b/documentation/enums/Operations.save_mobile_push_expo_token.md deleted file mode 100644 index 93c5467..0000000 --- a/documentation/enums/Operations.save_mobile_push_expo_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_expo_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum save_mobile_push_expo_token -``` - -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. - -- Remark: HTTP `POST /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "save_mobile_push_expo_token" -``` diff --git a/documentation/enums/Operations.save_mobile_push_fcm_token.AcceptableContentType.md b/documentation/enums/Operations.save_mobile_push_fcm_token.AcceptableContentType.md deleted file mode 100644 index 570f390..0000000 --- a/documentation/enums/Operations.save_mobile_push_fcm_token.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_fcm_token.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.save_mobile_push_fcm_token.Output.md b/documentation/enums/Operations.save_mobile_push_fcm_token.Output.md deleted file mode 100644 index 3b5443f..0000000 --- a/documentation/enums/Operations.save_mobile_push_fcm_token.Output.md +++ /dev/null @@ -1,50 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_fcm_token.Output` - -**Contents** - -- [Cases](#cases) - - `created(_:)` - - `undocumented(statusCode:_:)` -- [Properties](#properties) - - `created` - -```swift -@frozen public enum Output: Sendable, Hashable -``` - -## Cases -### `created(_:)` - -```swift -case created(Operations.save_mobile_push_fcm_token.Output.Created) -``` - -Created - -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)/responses/201`. - -HTTP response code: `201 created`. - -### `undocumented(statusCode:_:)` - -```swift -case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) -``` - -Undocumented response. - -A response with a code that is not documented in the OpenAPI document. - -## Properties -### `created` - -```swift -public var created: Operations.save_mobile_push_fcm_token.Output.Created -``` - -The associated value of the enum case if `self` is `.created`. - -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. diff --git a/documentation/enums/Operations.save_mobile_push_fcm_token.md b/documentation/enums/Operations.save_mobile_push_fcm_token.md deleted file mode 100644 index 87fff3d..0000000 --- a/documentation/enums/Operations.save_mobile_push_fcm_token.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.save_mobile_push_fcm_token` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum save_mobile_push_fcm_token -``` - -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. - -- Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "save_mobile_push_fcm_token" -``` diff --git a/documentation/enums/Operations.save_slack_installation.Input.Body.md b/documentation/enums/Operations.save_slack_installation.Input.Body.md index ecd4dd4..11b9e45 100644 --- a/documentation/enums/Operations.save_slack_installation.Input.Body.md +++ b/documentation/enums/Operations.save_slack_installation.Input.Body.md @@ -11,7 +11,7 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/slack/installations/POST/requestBody`. +- Remark: Generated from `#/paths/integrations/slack/installations/PUT/requestBody`. ## Cases ### `json(_:)` @@ -20,4 +20,4 @@ case json(Components.Schemas.SlackInstallation) ``` -- Remark: Generated from `#/paths/integrations/slack/installations/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/integrations/slack/installations/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_slack_installation.Output.Created.Body.md b/documentation/enums/Operations.save_slack_installation.Output.Ok.Body.md similarity index 80% rename from documentation/enums/Operations.save_slack_installation.Output.Created.Body.md rename to documentation/enums/Operations.save_slack_installation.Output.Ok.Body.md index 1191ea1..86fff4c 100644 --- a/documentation/enums/Operations.save_slack_installation.Output.Created.Body.md +++ b/documentation/enums/Operations.save_slack_installation.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_slack_installation.Output.Created.Body` +# `Operations.save_slack_installation.Output.Ok.Body` **Contents** @@ -13,7 +13,7 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/slack/installations/POST/responses/201/content`. +- Remark: Generated from `#/paths/integrations/slack/installations/PUT/responses/200/content`. ## Cases ### `json(_:)` @@ -22,7 +22,7 @@ case json(Components.Schemas.SlackInstallation) ``` -- Remark: Generated from `#/paths/integrations/slack/installations/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/integrations/slack/installations/PUT/responses/200/content/application\/json`. ## Properties ### `json` diff --git a/documentation/enums/Operations.save_slack_installation.Output.md b/documentation/enums/Operations.save_slack_installation.Output.md index e6dbe41..d59d392 100644 --- a/documentation/enums/Operations.save_slack_installation.Output.md +++ b/documentation/enums/Operations.save_slack_installation.Output.md @@ -5,27 +5,27 @@ **Contents** - [Cases](#cases) - - `created(_:)` + - `ok(_:)` - `undocumented(statusCode:_:)` - [Properties](#properties) - - `created` + - `ok` ```swift @frozen public enum Output: Sendable, Hashable ``` ## Cases -### `created(_:)` +### `ok(_:)` ```swift -case created(Operations.save_slack_installation.Output.Created) +case ok(Operations.save_slack_installation.Output.Ok) ``` -Created +OK -- Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)/responses/201`. +- Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)/responses/200`. -HTTP response code: `201 created`. +HTTP response code: `200 ok`. ### `undocumented(statusCode:_:)` @@ -38,13 +38,13 @@ Undocumented response. A response with a code that is not documented in the OpenAPI document. ## Properties -### `created` +### `ok` ```swift -public var created: Operations.save_slack_installation.Output.Created +public var ok: Operations.save_slack_installation.Output.Ok ``` -The associated value of the enum case if `self` is `.created`. +The associated value of the enum case if `self` is `.ok`. -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_slack_installation.md b/documentation/enums/Operations.save_slack_installation.md index b621518..4eaced5 100644 --- a/documentation/enums/Operations.save_slack_installation.md +++ b/documentation/enums/Operations.save_slack_installation.md @@ -11,10 +11,12 @@ public enum save_slack_installation ``` -Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Slack installation -- Remark: HTTP `POST /integrations/slack/installations`. -- Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. +Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/slack/installations`. +- Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. ## Properties ### `id` diff --git a/documentation/enums/Operations.save_slack_token.Input.Body.md b/documentation/enums/Operations.save_slack_token.Input.Body.md index 967d8e4..275948f 100644 --- a/documentation/enums/Operations.save_slack_token.Input.Body.md +++ b/documentation/enums/Operations.save_slack_token.Input.Body.md @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/slack/tokens/POST/requestBody`. +- Remark: Generated from `#/paths/channels/slack/tokens/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.SlackToken) +case json(Components.Schemas.SlackTokenPayload) ``` -- Remark: Generated from `#/paths/channels/slack/tokens/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/channels/slack/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_slack_token.Output.Ok.Body.md b/documentation/enums/Operations.save_slack_token.Output.Ok.Body.md new file mode 100644 index 0000000..2695c45 --- /dev/null +++ b/documentation/enums/Operations.save_slack_token.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.save_slack_token.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/slack/tokens/PUT/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.SlackTokenPayload) +``` + +- Remark: Generated from `#/paths/channels/slack/tokens/PUT/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.SlackTokenPayload +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.save_slack_token.Output.md b/documentation/enums/Operations.save_slack_token.Output.md index 360709c..98778d2 100644 --- a/documentation/enums/Operations.save_slack_token.Output.md +++ b/documentation/enums/Operations.save_slack_token.Output.md @@ -5,27 +5,27 @@ **Contents** - [Cases](#cases) - - `created(_:)` + - `ok(_:)` - `undocumented(statusCode:_:)` - [Properties](#properties) - - `created` + - `ok` ```swift @frozen public enum Output: Sendable, Hashable ``` ## Cases -### `created(_:)` +### `ok(_:)` ```swift -case created(Operations.save_slack_token.Output.Created) +case ok(Operations.save_slack_token.Output.Ok) ``` -Created +OK -- Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)/responses/201`. +- Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)/responses/200`. -HTTP response code: `201 created`. +HTTP response code: `200 ok`. ### `undocumented(statusCode:_:)` @@ -38,13 +38,13 @@ Undocumented response. A response with a code that is not documented in the OpenAPI document. ## Properties -### `created` +### `ok` ```swift -public var created: Operations.save_slack_token.Output.Created +public var ok: Operations.save_slack_token.Output.Ok ``` -The associated value of the enum case if `self` is `.created`. +The associated value of the enum case if `self` is `.ok`. -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_slack_token.md b/documentation/enums/Operations.save_slack_token.md index 1655e6f..3f6a80f 100644 --- a/documentation/enums/Operations.save_slack_token.md +++ b/documentation/enums/Operations.save_slack_token.md @@ -11,10 +11,12 @@ public enum save_slack_token ``` -Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Slack token -- Remark: HTTP `POST /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. +Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/slack/tokens`. +- Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. ## Properties ### `id` diff --git a/documentation/enums/Operations.save_teams_token.Input.Body.md b/documentation/enums/Operations.save_teams_token.Input.Body.md index ae10c35..770f26f 100644 --- a/documentation/enums/Operations.save_teams_token.Input.Body.md +++ b/documentation/enums/Operations.save_teams_token.Input.Body.md @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/teams/tokens/POST/requestBody`. +- Remark: Generated from `#/paths/channels/teams/tokens/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.TeamsToken) +case json(Components.Schemas.TeamsTokenPayload) ``` -- Remark: Generated from `#/paths/channels/teams/tokens/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/channels/teams/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_teams_token.Output.Ok.Body.md b/documentation/enums/Operations.save_teams_token.Output.Ok.Body.md new file mode 100644 index 0000000..a896108 --- /dev/null +++ b/documentation/enums/Operations.save_teams_token.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.save_teams_token.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/teams/tokens/PUT/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.TeamsTokenPayload) +``` + +- Remark: Generated from `#/paths/channels/teams/tokens/PUT/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.TeamsTokenPayload +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.save_teams_token.Output.md b/documentation/enums/Operations.save_teams_token.Output.md index 0562fbf..436c8d9 100644 --- a/documentation/enums/Operations.save_teams_token.Output.md +++ b/documentation/enums/Operations.save_teams_token.Output.md @@ -5,27 +5,27 @@ **Contents** - [Cases](#cases) - - `created(_:)` + - `ok(_:)` - `undocumented(statusCode:_:)` - [Properties](#properties) - - `created` + - `ok` ```swift @frozen public enum Output: Sendable, Hashable ``` ## Cases -### `created(_:)` +### `ok(_:)` ```swift -case created(Operations.save_teams_token.Output.Created) +case ok(Operations.save_teams_token.Output.Ok) ``` -Created +OK -- Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)/responses/201`. +- Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)/responses/200`. -HTTP response code: `201 created`. +HTTP response code: `200 ok`. ### `undocumented(statusCode:_:)` @@ -38,13 +38,13 @@ Undocumented response. A response with a code that is not documented in the OpenAPI document. ## Properties -### `created` +### `ok` ```swift -public var created: Operations.save_teams_token.Output.Created +public var ok: Operations.save_teams_token.Output.Ok ``` -The associated value of the enum case if `self` is `.created`. +The associated value of the enum case if `self` is `.ok`. -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_teams_token.md b/documentation/enums/Operations.save_teams_token.md index f2016d7..5ad0e38 100644 --- a/documentation/enums/Operations.save_teams_token.md +++ b/documentation/enums/Operations.save_teams_token.md @@ -11,10 +11,12 @@ public enum save_teams_token ``` -Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Teams token -- Remark: HTTP `POST /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. +Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/teams/tokens`. +- Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. ## Properties ### `id` diff --git a/documentation/enums/Operations.save_templates_installation.AcceptableContentType.md b/documentation/enums/Operations.save_templates_installation.AcceptableContentType.md deleted file mode 100644 index ecb8979..0000000 --- a/documentation/enums/Operations.save_templates_installation.AcceptableContentType.md +++ /dev/null @@ -1,51 +0,0 @@ -**ENUM** - -# `Operations.save_templates_installation.AcceptableContentType` - -**Contents** - -- [Cases](#cases) - - `json` - - `other(_:)` -- [Properties](#properties) - - `rawValue` - - `allCases` -- [Methods](#methods) - - `init(rawValue:)` - -```swift -@frozen public enum AcceptableContentType: AcceptableProtocol -``` - -## Cases -### `json` - -```swift -case json -``` - -### `other(_:)` - -```swift -case other(Swift.String) -``` - -## Properties -### `rawValue` - -```swift -public var rawValue: Swift.String -``` - -### `allCases` - -```swift -public static var allCases: [Self] -``` - -## Methods -### `init(rawValue:)` - -```swift -public init?(rawValue: Swift.String) -``` diff --git a/documentation/enums/Operations.save_templates_installation.Input.Body.md b/documentation/enums/Operations.save_templates_installation.Input.Body.md deleted file mode 100644 index 090cf11..0000000 --- a/documentation/enums/Operations.save_templates_installation.Input.Body.md +++ /dev/null @@ -1,23 +0,0 @@ -**ENUM** - -# `Operations.save_templates_installation.Input.Body` - -**Contents** - -- [Cases](#cases) - - `json(_:)` - -```swift -@frozen public enum Body: Sendable, Hashable -``` - -- Remark: Generated from `#/paths/integrations/templates/installations/POST/requestBody`. - -## Cases -### `json(_:)` - -```swift -case json(Components.Schemas.TemplatesInstallation) -``` - -- Remark: Generated from `#/paths/integrations/templates/installations/POST/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_templates_installation.Output.Created.Body.md b/documentation/enums/Operations.save_templates_installation.Output.Created.Body.md deleted file mode 100644 index 1d9656a..0000000 --- a/documentation/enums/Operations.save_templates_installation.Output.Created.Body.md +++ /dev/null @@ -1,37 +0,0 @@ -**ENUM** - -# `Operations.save_templates_installation.Output.Created.Body` - -**Contents** - -- [Cases](#cases) - - `json(_:)` -- [Properties](#properties) - - `json` - -```swift -@frozen public enum Body: Sendable, Hashable -``` - -- Remark: Generated from `#/paths/integrations/templates/installations/POST/responses/201/content`. - -## Cases -### `json(_:)` - -```swift -case json(Components.Schemas.TemplatesInstallation) -``` - -- Remark: Generated from `#/paths/integrations/templates/installations/POST/responses/201/content/application\/json`. - -## Properties -### `json` - -```swift -public var json: Components.Schemas.TemplatesInstallation -``` - -The associated value of the enum case if `self` is `.json`. - -- Throws: An error if `self` is not `.json`. -- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.save_templates_installation.Output.md b/documentation/enums/Operations.save_templates_installation.Output.md deleted file mode 100644 index 4e2bbf1..0000000 --- a/documentation/enums/Operations.save_templates_installation.Output.md +++ /dev/null @@ -1,50 +0,0 @@ -**ENUM** - -# `Operations.save_templates_installation.Output` - -**Contents** - -- [Cases](#cases) - - `created(_:)` - - `undocumented(statusCode:_:)` -- [Properties](#properties) - - `created` - -```swift -@frozen public enum Output: Sendable, Hashable -``` - -## Cases -### `created(_:)` - -```swift -case created(Operations.save_templates_installation.Output.Created) -``` - -Created - -- Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)/responses/201`. - -HTTP response code: `201 created`. - -### `undocumented(statusCode:_:)` - -```swift -case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) -``` - -Undocumented response. - -A response with a code that is not documented in the OpenAPI document. - -## Properties -### `created` - -```swift -public var created: Operations.save_templates_installation.Output.Created -``` - -The associated value of the enum case if `self` is `.created`. - -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. diff --git a/documentation/enums/Operations.save_templates_installation.md b/documentation/enums/Operations.save_templates_installation.md deleted file mode 100644 index 4ae98f2..0000000 --- a/documentation/enums/Operations.save_templates_installation.md +++ /dev/null @@ -1,24 +0,0 @@ -**ENUM** - -# `Operations.save_templates_installation` - -**Contents** - -- [Properties](#properties) - - `id` - -```swift -public enum save_templates_installation -``` - -Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. - -- Remark: HTTP `POST /integrations/templates/installations`. -- Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - -## Properties -### `id` - -```swift -public static let id: Swift.String = "save_templates_installation" -``` diff --git a/documentation/enums/Operations.save_user_preferences.Input.Body.md b/documentation/enums/Operations.save_user_preferences.Input.Body.md new file mode 100644 index 0000000..3895e73 --- /dev/null +++ b/documentation/enums/Operations.save_user_preferences.Input.Body.md @@ -0,0 +1,23 @@ +**ENUM** + +# `Operations.save_user_preferences.Input.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/user_preferences/PUT/requestBody`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.UserPreferences) +``` + +- Remark: Generated from `#/paths/channels/user_preferences/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_user_preferences.Output.md b/documentation/enums/Operations.save_user_preferences.Output.md new file mode 100644 index 0000000..c3d2136 --- /dev/null +++ b/documentation/enums/Operations.save_user_preferences.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.save_user_preferences.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.save_user_preferences.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.save_user_preferences.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.save_user_preferences.md b/documentation/enums/Operations.save_user_preferences.md new file mode 100644 index 0000000..9ad25e8 --- /dev/null +++ b/documentation/enums/Operations.save_user_preferences.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.save_user_preferences` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum save_user_preferences +``` + +Save channel preferences + +Save a user's channel preferences. + +- Remark: HTTP `PUT /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "save_user_preferences" +``` diff --git a/documentation/enums/Operations.save_web_push_installation.Input.Body.md b/documentation/enums/Operations.save_web_push_installation.Input.Body.md index 59d5029..4367d94 100644 --- a/documentation/enums/Operations.save_web_push_installation.Input.Body.md +++ b/documentation/enums/Operations.save_web_push_installation.Input.Body.md @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/web_push/installations/POST/requestBody`. +- Remark: Generated from `#/paths/integrations/web_push/installations/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.WebPushToken) +case json(Components.Schemas.WebPushTokenPayload) ``` -- Remark: Generated from `#/paths/integrations/web_push/installations/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/integrations/web_push/installations/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_web_push_installation.Output.Created.Body.md b/documentation/enums/Operations.save_web_push_installation.Output.Ok.Body.md similarity index 66% rename from documentation/enums/Operations.save_web_push_installation.Output.Created.Body.md rename to documentation/enums/Operations.save_web_push_installation.Output.Ok.Body.md index 8a2bb58..e12dfd7 100644 --- a/documentation/enums/Operations.save_web_push_installation.Output.Created.Body.md +++ b/documentation/enums/Operations.save_web_push_installation.Output.Ok.Body.md @@ -1,6 +1,6 @@ **ENUM** -# `Operations.save_web_push_installation.Output.Created.Body` +# `Operations.save_web_push_installation.Output.Ok.Body` **Contents** @@ -13,22 +13,22 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/web_push/installations/POST/responses/201/content`. +- Remark: Generated from `#/paths/integrations/web_push/installations/PUT/responses/200/content`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.WebPushToken) +case json(Components.Schemas.WebPushTokenPayload) ``` -- Remark: Generated from `#/paths/integrations/web_push/installations/POST/responses/201/content/application\/json`. +- Remark: Generated from `#/paths/integrations/web_push/installations/PUT/responses/200/content/application\/json`. ## Properties ### `json` ```swift -public var json: Components.Schemas.WebPushToken +public var json: Components.Schemas.WebPushTokenPayload ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.save_web_push_installation.Output.md b/documentation/enums/Operations.save_web_push_installation.Output.md index 567c56a..3946daa 100644 --- a/documentation/enums/Operations.save_web_push_installation.Output.md +++ b/documentation/enums/Operations.save_web_push_installation.Output.md @@ -5,27 +5,27 @@ **Contents** - [Cases](#cases) - - `created(_:)` + - `ok(_:)` - `undocumented(statusCode:_:)` - [Properties](#properties) - - `created` + - `ok` ```swift @frozen public enum Output: Sendable, Hashable ``` ## Cases -### `created(_:)` +### `ok(_:)` ```swift -case created(Operations.save_web_push_installation.Output.Created) +case ok(Operations.save_web_push_installation.Output.Ok) ``` -Created +OK -- Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)/responses/201`. +- Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)/responses/200`. -HTTP response code: `201 created`. +HTTP response code: `200 ok`. ### `undocumented(statusCode:_:)` @@ -38,13 +38,13 @@ Undocumented response. A response with a code that is not documented in the OpenAPI document. ## Properties -### `created` +### `ok` ```swift -public var created: Operations.save_web_push_installation.Output.Created +public var ok: Operations.save_web_push_installation.Output.Ok ``` -The associated value of the enum case if `self` is `.created`. +The associated value of the enum case if `self` is `.ok`. -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_web_push_installation.md b/documentation/enums/Operations.save_web_push_installation.md index 401c42a..05b82f8 100644 --- a/documentation/enums/Operations.save_web_push_installation.md +++ b/documentation/enums/Operations.save_web_push_installation.md @@ -11,10 +11,12 @@ public enum save_web_push_installation ``` -Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Web Push installation -- Remark: HTTP `POST /integrations/web_push/installations`. -- Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. +Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/web_push/installations`. +- Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. ## Properties ### `id` diff --git a/documentation/enums/Operations.save_web_push_token.Input.Body.md b/documentation/enums/Operations.save_web_push_token.Input.Body.md index fc9a562..01b8a6d 100644 --- a/documentation/enums/Operations.save_web_push_token.Input.Body.md +++ b/documentation/enums/Operations.save_web_push_token.Input.Body.md @@ -11,13 +11,13 @@ @frozen public enum Body: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/web_push/tokens/POST/requestBody`. +- Remark: Generated from `#/paths/channels/web_push/tokens/PUT/requestBody`. ## Cases ### `json(_:)` ```swift -case json(Components.Schemas.WebPushToken) +case json(Components.Schemas.WebPushTokenPayload) ``` -- Remark: Generated from `#/paths/channels/web_push/tokens/POST/requestBody/content/application\/json`. +- Remark: Generated from `#/paths/channels/web_push/tokens/PUT/requestBody/content/application\/json`. diff --git a/documentation/enums/Operations.save_web_push_token.Output.Ok.Body.md b/documentation/enums/Operations.save_web_push_token.Output.Ok.Body.md new file mode 100644 index 0000000..3fca1c2 --- /dev/null +++ b/documentation/enums/Operations.save_web_push_token.Output.Ok.Body.md @@ -0,0 +1,37 @@ +**ENUM** + +# `Operations.save_web_push_token.Output.Ok.Body` + +**Contents** + +- [Cases](#cases) + - `json(_:)` +- [Properties](#properties) + - `json` + +```swift +@frozen public enum Body: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/web_push/tokens/PUT/responses/200/content`. + +## Cases +### `json(_:)` + +```swift +case json(Components.Schemas.WebPushTokenPayload) +``` + +- Remark: Generated from `#/paths/channels/web_push/tokens/PUT/responses/200/content/application\/json`. + +## Properties +### `json` + +```swift +public var json: Components.Schemas.WebPushTokenPayload +``` + +The associated value of the enum case if `self` is `.json`. + +- Throws: An error if `self` is not `.json`. +- SeeAlso: `.json`. diff --git a/documentation/enums/Operations.save_web_push_token.Output.md b/documentation/enums/Operations.save_web_push_token.Output.md index 1d85c6a..ae6fa5e 100644 --- a/documentation/enums/Operations.save_web_push_token.Output.md +++ b/documentation/enums/Operations.save_web_push_token.Output.md @@ -5,27 +5,27 @@ **Contents** - [Cases](#cases) - - `created(_:)` + - `ok(_:)` - `undocumented(statusCode:_:)` - [Properties](#properties) - - `created` + - `ok` ```swift @frozen public enum Output: Sendable, Hashable ``` ## Cases -### `created(_:)` +### `ok(_:)` ```swift -case created(Operations.save_web_push_token.Output.Created) +case ok(Operations.save_web_push_token.Output.Ok) ``` -Created +OK -- Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)/responses/201`. +- Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)/responses/200`. -HTTP response code: `201 created`. +HTTP response code: `200 ok`. ### `undocumented(statusCode:_:)` @@ -38,13 +38,13 @@ Undocumented response. A response with a code that is not documented in the OpenAPI document. ## Properties -### `created` +### `ok` ```swift -public var created: Operations.save_web_push_token.Output.Created +public var ok: Operations.save_web_push_token.Output.Ok ``` -The associated value of the enum case if `self` is `.created`. +The associated value of the enum case if `self` is `.ok`. -- Throws: An error if `self` is not `.created`. -- SeeAlso: `.created`. +- Throws: An error if `self` is not `.ok`. +- SeeAlso: `.ok`. diff --git a/documentation/enums/Operations.save_web_push_token.md b/documentation/enums/Operations.save_web_push_token.md index df7077e..790f3de 100644 --- a/documentation/enums/Operations.save_web_push_token.md +++ b/documentation/enums/Operations.save_web_push_token.md @@ -11,10 +11,12 @@ public enum save_web_push_token ``` -Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Web Push token -- Remark: HTTP `POST /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. +Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/web_push/tokens`. +- Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. ## Properties ### `id` diff --git a/documentation/enums/Operations.start_inbox_installation.Output.Created.Body.md b/documentation/enums/Operations.start_inbox_installation.Output.Created.Body.md index fda6740..bd1f824 100644 --- a/documentation/enums/Operations.start_inbox_installation.Output.Created.Body.md +++ b/documentation/enums/Operations.start_inbox_installation.Output.Created.Body.md @@ -19,7 +19,7 @@ ### `json(_:)` ```swift -case json(Components.Schemas.InboxConfig) +case json(Components.Schemas.InboxConfigPayload) ``` - Remark: Generated from `#/paths/integrations/inbox/installations/start/POST/responses/201/content/application\/json`. @@ -28,7 +28,7 @@ case json(Components.Schemas.InboxConfig) ### `json` ```swift -public var json: Components.Schemas.InboxConfig +public var json: Components.Schemas.InboxConfigPayload ``` The associated value of the enum case if `self` is `.json`. diff --git a/documentation/enums/Operations.start_inbox_installation.md b/documentation/enums/Operations.start_inbox_installation.md index 3009eaa..f7ca179 100644 --- a/documentation/enums/Operations.start_inbox_installation.md +++ b/documentation/enums/Operations.start_inbox_installation.md @@ -11,7 +11,9 @@ public enum start_inbox_installation ``` -Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start an Inbox installation + +Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/inbox/installations/start`. - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. diff --git a/documentation/enums/Operations.start_slack_installation.md b/documentation/enums/Operations.start_slack_installation.md index b9af9d4..642e01a 100644 --- a/documentation/enums/Operations.start_slack_installation.md +++ b/documentation/enums/Operations.start_slack_installation.md @@ -11,7 +11,9 @@ public enum start_slack_installation ``` -Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Slack installation + +Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/slack/installations/start`. - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. diff --git a/documentation/enums/Operations.start_web_push_installation.md b/documentation/enums/Operations.start_web_push_installation.md index 5577a82..6b0e34c 100644 --- a/documentation/enums/Operations.start_web_push_installation.md +++ b/documentation/enums/Operations.start_web_push_installation.md @@ -11,7 +11,9 @@ public enum start_web_push_installation ``` -Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Web Push installation + +Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/web_push/installations/start`. - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. diff --git a/documentation/enums/Operations.unarchive_notification.Output.md b/documentation/enums/Operations.unarchive_notification.Output.md new file mode 100644 index 0000000..dfbad8d --- /dev/null +++ b/documentation/enums/Operations.unarchive_notification.Output.md @@ -0,0 +1,63 @@ +**ENUM** + +# `Operations.unarchive_notification.Output` + +**Contents** + +- [Cases](#cases) + - `noContent(_:)` + - `undocumented(statusCode:_:)` +- [Properties](#properties) + - `noContent` + - `noContent` + +```swift +@frozen public enum Output: Sendable, Hashable +``` + +## Cases +### `noContent(_:)` + +```swift +case noContent(Operations.unarchive_notification.Output.NoContent) +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)/responses/204`. + +HTTP response code: `204 noContent`. + +### `undocumented(statusCode:_:)` + +```swift +case undocumented(statusCode: Swift.Int, OpenAPIRuntime.UndocumentedPayload) +``` + +Undocumented response. + +A response with a code that is not documented in the OpenAPI document. + +## Properties +### `noContent` + +```swift +public static var noContent: Self +``` + +No Content + +- Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)/responses/204`. + +HTTP response code: `204 noContent`. + +### `noContent` + +```swift +public var noContent: Operations.unarchive_notification.Output.NoContent +``` + +The associated value of the enum case if `self` is `.noContent`. + +- Throws: An error if `self` is not `.noContent`. +- SeeAlso: `.noContent`. diff --git a/documentation/enums/Operations.unarchive_notification.md b/documentation/enums/Operations.unarchive_notification.md new file mode 100644 index 0000000..523d041 --- /dev/null +++ b/documentation/enums/Operations.unarchive_notification.md @@ -0,0 +1,26 @@ +**ENUM** + +# `Operations.unarchive_notification` + +**Contents** + +- [Properties](#properties) + - `id` + +```swift +public enum unarchive_notification +``` + +Unarchive a notification + +Unarchives a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/unarchive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + +## Properties +### `id` + +```swift +public static let id: Swift.String = "unarchive_notification" +``` diff --git a/documentation/enums/Servers.Server1.md b/documentation/enums/Servers.Server1.md index 3b45455..0a73523 100644 --- a/documentation/enums/Servers.Server1.md +++ b/documentation/enums/Servers.Server1.md @@ -11,7 +11,7 @@ public enum Server1 ``` -MagicBell REST API Base URL +MagicBell API (v2) Base URL ## Methods ### `url()` @@ -20,4 +20,4 @@ MagicBell REST API Base URL public static func url() throws -> Foundation.URL ``` -MagicBell REST API Base URL +MagicBell API (v2) Base URL diff --git a/documentation/enums/Servers.md b/documentation/enums/Servers.md index 0ec0dc2..092884b 100644 --- a/documentation/enums/Servers.md +++ b/documentation/enums/Servers.md @@ -20,4 +20,4 @@ Server URLs defined in the OpenAPI document. public static func server1() throws -> Foundation.URL ``` -MagicBell REST API Base URL +MagicBell API (v2) Base URL diff --git a/documentation/extensions/APIProtocol.md b/documentation/extensions/APIProtocol.md index 2e2609f..5643168 100644 --- a/documentation/extensions/APIProtocol.md +++ b/documentation/extensions/APIProtocol.md @@ -6,187 +6,277 @@ extension APIProtocol ``` ## Methods -### `get_mobile_push_apns_tokens(query:headers:)` +### `list_inbox_tokens(query:headers:)` ```swift -public func get_mobile_push_apns_tokens( - query: Operations.get_mobile_push_apns_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_apns_tokens.Input.Headers = .init() -) async throws -> Operations.get_mobile_push_apns_tokens.Output +public func list_inbox_tokens( + query: Operations.list_inbox_tokens.Input.Query = .init(), + headers: Operations.list_inbox_tokens.Input.Headers = .init() +) async throws -> Operations.list_inbox_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Inbox tokens + +Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + +### `save_inbox_token(headers:body:)` + +```swift +public func save_inbox_token( + headers: Operations.save_inbox_token.Input.Headers = .init(), + body: Operations.save_inbox_token.Input.Body? = nil +) async throws -> Operations.save_inbox_token.Output +``` + +Save an Inbox token + +Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + +### `fetch_inbox_token(path:headers:)` + +```swift +public func fetch_inbox_token( + path: Operations.fetch_inbox_token.Input.Path, + headers: Operations.fetch_inbox_token.Input.Headers = .init() +) async throws -> Operations.fetch_inbox_token.Output +``` + +Fetch an Inbox token + +Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + +### `delete_inbox_token(path:headers:)` + +```swift +public func delete_inbox_token( + path: Operations.delete_inbox_token.Input.Path, + headers: Operations.delete_inbox_token.Input.Headers = .init() +) async throws -> Operations.delete_inbox_token.Output +``` + +Delete an Inbox token + +Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + +### `list_apns_tokens(query:headers:)` + +```swift +public func list_apns_tokens( + query: Operations.list_apns_tokens.Input.Query = .init(), + headers: Operations.list_apns_tokens.Input.Headers = .init() +) async throws -> Operations.list_apns_tokens.Output +``` + +List all APNs tokens + +Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. -### `save_mobile_push_apns_token(headers:body:)` +### `save_apns_token(headers:body:)` ```swift -public func save_mobile_push_apns_token( - headers: Operations.save_mobile_push_apns_token.Input.Headers = .init(), - body: Operations.save_mobile_push_apns_token.Input.Body? = nil -) async throws -> Operations.save_mobile_push_apns_token.Output +public func save_apns_token( + headers: Operations.save_apns_token.Input.Headers = .init(), + body: Operations.save_apns_token.Input.Body? = nil +) async throws -> Operations.save_apns_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save an APNs token + +Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. +- Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. -### `get_mobile_push_apns_token(path:headers:)` +### `fetch_apns_token(path:headers:)` ```swift -public func get_mobile_push_apns_token( - path: Operations.get_mobile_push_apns_token.Input.Path, - headers: Operations.get_mobile_push_apns_token.Input.Headers = .init() -) async throws -> Operations.get_mobile_push_apns_token.Output +public func fetch_apns_token( + path: Operations.fetch_apns_token.Input.Path, + headers: Operations.fetch_apns_token.Input.Headers = .init() +) async throws -> Operations.fetch_apns_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch an APNs token + +Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. -### `discard_mobile_push_apns_token(path:headers:)` +### `delete_apns_token(path:headers:)` ```swift -public func discard_mobile_push_apns_token( - path: Operations.discard_mobile_push_apns_token.Input.Path, - headers: Operations.discard_mobile_push_apns_token.Input.Headers = .init() -) async throws -> Operations.discard_mobile_push_apns_token.Output +public func delete_apns_token( + path: Operations.delete_apns_token.Input.Path, + headers: Operations.delete_apns_token.Input.Headers = .init() +) async throws -> Operations.delete_apns_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete an APNs token + +Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. -### `get_mobile_push_expo_tokens(query:headers:)` +### `list_expo_tokens(query:headers:)` ```swift -public func get_mobile_push_expo_tokens( - query: Operations.get_mobile_push_expo_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_expo_tokens.Input.Headers = .init() -) async throws -> Operations.get_mobile_push_expo_tokens.Output +public func list_expo_tokens( + query: Operations.list_expo_tokens.Input.Query = .init(), + headers: Operations.list_expo_tokens.Input.Headers = .init() +) async throws -> Operations.list_expo_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Expo tokens + +Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. -### `save_mobile_push_expo_token(headers:body:)` +### `save_expo_token(headers:body:)` ```swift -public func save_mobile_push_expo_token( - headers: Operations.save_mobile_push_expo_token.Input.Headers = .init(), - body: Operations.save_mobile_push_expo_token.Input.Body? = nil -) async throws -> Operations.save_mobile_push_expo_token.Output +public func save_expo_token( + headers: Operations.save_expo_token.Input.Headers = .init(), + body: Operations.save_expo_token.Input.Body? = nil +) async throws -> Operations.save_expo_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save an Expo token + +Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. +- Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. -### `get_mobile_push_expo_token(path:headers:)` +### `fetch_expo_token(path:headers:)` ```swift -public func get_mobile_push_expo_token( - path: Operations.get_mobile_push_expo_token.Input.Path, - headers: Operations.get_mobile_push_expo_token.Input.Headers = .init() -) async throws -> Operations.get_mobile_push_expo_token.Output +public func fetch_expo_token( + path: Operations.fetch_expo_token.Input.Path, + headers: Operations.fetch_expo_token.Input.Headers = .init() +) async throws -> Operations.fetch_expo_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch an Expo token + +Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. -### `discard_mobile_push_expo_token(path:headers:)` +### `delete_expo_token(path:headers:)` ```swift -public func discard_mobile_push_expo_token( - path: Operations.discard_mobile_push_expo_token.Input.Path, - headers: Operations.discard_mobile_push_expo_token.Input.Headers = .init() -) async throws -> Operations.discard_mobile_push_expo_token.Output +public func delete_expo_token( + path: Operations.delete_expo_token.Input.Path, + headers: Operations.delete_expo_token.Input.Headers = .init() +) async throws -> Operations.delete_expo_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete an Expo token + +Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. -### `get_mobile_push_fcm_tokens(query:headers:)` +### `list_fcm_tokens(query:headers:)` ```swift -public func get_mobile_push_fcm_tokens( - query: Operations.get_mobile_push_fcm_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_fcm_tokens.Input.Headers = .init() -) async throws -> Operations.get_mobile_push_fcm_tokens.Output +public func list_fcm_tokens( + query: Operations.list_fcm_tokens.Input.Query = .init(), + headers: Operations.list_fcm_tokens.Input.Headers = .init() +) async throws -> Operations.list_fcm_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all FCM tokens + +Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. -### `save_mobile_push_fcm_token(headers:body:)` +### `save_fcm_token(headers:body:)` ```swift -public func save_mobile_push_fcm_token( - headers: Operations.save_mobile_push_fcm_token.Input.Headers = .init(), - body: Operations.save_mobile_push_fcm_token.Input.Body? = nil -) async throws -> Operations.save_mobile_push_fcm_token.Output +public func save_fcm_token( + headers: Operations.save_fcm_token.Input.Headers = .init(), + body: Operations.save_fcm_token.Input.Body? = nil +) async throws -> Operations.save_fcm_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a FCM token -- Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. +Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_mobile_push_fcm_token(path:headers:)` +- Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + +### `fetch_fcm_token(path:headers:)` ```swift -public func get_mobile_push_fcm_token( - path: Operations.get_mobile_push_fcm_token.Input.Path, - headers: Operations.get_mobile_push_fcm_token.Input.Headers = .init() -) async throws -> Operations.get_mobile_push_fcm_token.Output +public func fetch_fcm_token( + path: Operations.fetch_fcm_token.Input.Path, + headers: Operations.fetch_fcm_token.Input.Headers = .init() +) async throws -> Operations.fetch_fcm_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a FCM token + +Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. -### `discard_mobile_push_fcm_token(path:headers:)` +### `delete_fcm_token(path:headers:)` ```swift -public func discard_mobile_push_fcm_token( - path: Operations.discard_mobile_push_fcm_token.Input.Path, - headers: Operations.discard_mobile_push_fcm_token.Input.Headers = .init() -) async throws -> Operations.discard_mobile_push_fcm_token.Output +public func delete_fcm_token( + path: Operations.delete_fcm_token.Input.Path, + headers: Operations.delete_fcm_token.Input.Headers = .init() +) async throws -> Operations.delete_fcm_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a FCM token + +Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. -### `get_slack_tokens(query:headers:)` +### `list_slack_tokens(query:headers:)` ```swift -public func get_slack_tokens( - query: Operations.get_slack_tokens.Input.Query = .init(), - headers: Operations.get_slack_tokens.Input.Headers = .init() -) async throws -> Operations.get_slack_tokens.Output +public func list_slack_tokens( + query: Operations.list_slack_tokens.Input.Query = .init(), + headers: Operations.list_slack_tokens.Input.Headers = .init() +) async throws -> Operations.list_slack_tokens.Output ``` -Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Slack tokens + +Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. +- Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. ### `save_slack_token(headers:body:)` @@ -197,52 +287,60 @@ public func save_slack_token( ) async throws -> Operations.save_slack_token.Output ``` -Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Slack token -- Remark: HTTP `POST /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. +Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_slack_token(path:headers:)` +- Remark: HTTP `PUT /channels/slack/tokens`. +- Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. + +### `fetch_slack_token(path:headers:)` ```swift -public func get_slack_token( - path: Operations.get_slack_token.Input.Path, - headers: Operations.get_slack_token.Input.Headers = .init() -) async throws -> Operations.get_slack_token.Output +public func fetch_slack_token( + path: Operations.fetch_slack_token.Input.Path, + headers: Operations.fetch_slack_token.Input.Headers = .init() +) async throws -> Operations.fetch_slack_token.Output ``` -Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Slack token + +Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. -### `discard_slack_token(path:headers:)` +### `delete_slack_token(path:headers:)` ```swift -public func discard_slack_token( - path: Operations.discard_slack_token.Input.Path, - headers: Operations.discard_slack_token.Input.Headers = .init() -) async throws -> Operations.discard_slack_token.Output +public func delete_slack_token( + path: Operations.delete_slack_token.Input.Path, + headers: Operations.delete_slack_token.Input.Headers = .init() +) async throws -> Operations.delete_slack_token.Output ``` -Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Slack token + +Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. -### `get_teams_tokens(query:headers:)` +### `list_teams_tokens(query:headers:)` ```swift -public func get_teams_tokens( - query: Operations.get_teams_tokens.Input.Query = .init(), - headers: Operations.get_teams_tokens.Input.Headers = .init() -) async throws -> Operations.get_teams_tokens.Output +public func list_teams_tokens( + query: Operations.list_teams_tokens.Input.Query = .init(), + headers: Operations.list_teams_tokens.Input.Headers = .init() +) async throws -> Operations.list_teams_tokens.Output ``` -Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Teams tokens + +Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. +- Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. ### `save_teams_token(headers:body:)` @@ -253,52 +351,86 @@ public func save_teams_token( ) async throws -> Operations.save_teams_token.Output ``` -Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Teams token -- Remark: HTTP `POST /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. +Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_teams_token(path:headers:)` +- Remark: HTTP `PUT /channels/teams/tokens`. +- Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. + +### `fetch_teams_token(path:headers:)` ```swift -public func get_teams_token( - path: Operations.get_teams_token.Input.Path, - headers: Operations.get_teams_token.Input.Headers = .init() -) async throws -> Operations.get_teams_token.Output +public func fetch_teams_token( + path: Operations.fetch_teams_token.Input.Path, + headers: Operations.fetch_teams_token.Input.Headers = .init() +) async throws -> Operations.fetch_teams_token.Output ``` -Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Teams token + +Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. -### `discard_teams_token(path:headers:)` +### `delete_teams_token(path:headers:)` ```swift -public func discard_teams_token( - path: Operations.discard_teams_token.Input.Path, - headers: Operations.discard_teams_token.Input.Headers = .init() -) async throws -> Operations.discard_teams_token.Output +public func delete_teams_token( + path: Operations.delete_teams_token.Input.Path, + headers: Operations.delete_teams_token.Input.Headers = .init() +) async throws -> Operations.delete_teams_token.Output ``` -Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Teams token + +Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + +### `fetch_user_preferences(headers:)` + +```swift +public func fetch_user_preferences(headers: Operations.fetch_user_preferences.Input.Headers = .init()) async throws -> Operations.fetch_user_preferences.Output +``` + +Fetch channel preferences + +Fetch a user's channel delivery preferences. -### `get_web_push_tokens(query:headers:)` +- Remark: HTTP `GET /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + +### `save_user_preferences(body:)` ```swift -public func get_web_push_tokens( - query: Operations.get_web_push_tokens.Input.Query = .init(), - headers: Operations.get_web_push_tokens.Input.Headers = .init() -) async throws -> Operations.get_web_push_tokens.Output +public func save_user_preferences(body: Operations.save_user_preferences.Input.Body? = nil) async throws -> Operations.save_user_preferences.Output ``` -Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +Save channel preferences + +Save a user's channel preferences. + +- Remark: HTTP `PUT /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + +### `list_web_push_tokens(query:headers:)` + +```swift +public func list_web_push_tokens( + query: Operations.list_web_push_tokens.Input.Query = .init(), + headers: Operations.list_web_push_tokens.Input.Headers = .init() +) async throws -> Operations.list_web_push_tokens.Output +``` + +List all Web Push tokens + +Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. ### `save_web_push_token(headers:body:)` @@ -309,38 +441,44 @@ public func save_web_push_token( ) async throws -> Operations.save_web_push_token.Output ``` -Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Web Push token + +Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. +- Remark: HTTP `PUT /channels/web_push/tokens`. +- Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. -### `get_web_push_token(path:headers:)` +### `fetch_web_push_token(path:headers:)` ```swift -public func get_web_push_token( - path: Operations.get_web_push_token.Input.Path, - headers: Operations.get_web_push_token.Input.Headers = .init() -) async throws -> Operations.get_web_push_token.Output +public func fetch_web_push_token( + path: Operations.fetch_web_push_token.Input.Path, + headers: Operations.fetch_web_push_token.Input.Headers = .init() +) async throws -> Operations.fetch_web_push_token.Output ``` -Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Web Push token + +Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. -### `discard_web_push_token(path:headers:)` +### `delete_web_push_token(path:headers:)` ```swift -public func discard_web_push_token( - path: Operations.discard_web_push_token.Input.Path, - headers: Operations.discard_web_push_token.Input.Headers = .init() -) async throws -> Operations.discard_web_push_token.Output +public func delete_web_push_token( + path: Operations.delete_web_push_token.Input.Path, + headers: Operations.delete_web_push_token.Input.Headers = .init() +) async throws -> Operations.delete_web_push_token.Output ``` -Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Web Push token + +Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. ### `save_inbox_installation(headers:body:)` @@ -351,10 +489,12 @@ public func save_inbox_installation( ) async throws -> Operations.save_inbox_installation.Output ``` -Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save an Inbox installation -- Remark: HTTP `POST /integrations/inbox/installations`. -- Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. +Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/inbox/installations`. +- Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. ### `start_inbox_installation(headers:)` @@ -362,7 +502,9 @@ Creates a new installation of a inbox integration for a user. This endpoint is u public func start_inbox_installation(headers: Operations.start_inbox_installation.Input.Headers = .init()) async throws -> Operations.start_inbox_installation.Output ``` -Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start an Inbox installation + +Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/inbox/installations/start`. - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. @@ -376,10 +518,12 @@ public func save_slack_installation( ) async throws -> Operations.save_slack_installation.Output ``` -Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Slack installation -- Remark: HTTP `POST /integrations/slack/installations`. -- Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. +Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/slack/installations`. +- Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. ### `finish_slack_installation(headers:body:)` @@ -390,7 +534,9 @@ public func finish_slack_installation( ) async throws -> Operations.finish_slack_installation.Output ``` -Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. +Finish a Slack installation + +Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. - Remark: HTTP `POST /integrations/slack/installations/finish`. - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. @@ -404,25 +550,13 @@ public func start_slack_installation( ) async throws -> Operations.start_slack_installation.Output ``` -Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Slack installation + +Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/slack/installations/start`. - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. -### `save_templates_installation(headers:body:)` - -```swift -public func save_templates_installation( - headers: Operations.save_templates_installation.Input.Headers = .init(), - body: Operations.save_templates_installation.Input.Body? = nil -) async throws -> Operations.save_templates_installation.Output -``` - -Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. - -- Remark: HTTP `POST /integrations/templates/installations`. -- Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - ### `save_web_push_installation(headers:body:)` ```swift @@ -432,10 +566,12 @@ public func save_web_push_installation( ) async throws -> Operations.save_web_push_installation.Output ``` -Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Web Push installation -- Remark: HTTP `POST /integrations/web_push/installations`. -- Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. +Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/web_push/installations`. +- Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. ### `start_web_push_installation(headers:)` @@ -443,7 +579,119 @@ Creates a new installation of a web_push integration for a user. This endpoint i public func start_web_push_installation(headers: Operations.start_web_push_installation.Input.Headers = .init()) async throws -> Operations.start_web_push_installation.Output ``` -Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Web Push installation + +Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/web_push/installations/start`. - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. + +### `list_notifications(query:headers:)` + +```swift +public func list_notifications( + query: Operations.list_notifications.Input.Query = .init(), + headers: Operations.list_notifications.Input.Headers = .init() +) async throws -> Operations.list_notifications.Output +``` + +List all notifications + +Lists all notifications for a user. + +- Remark: HTTP `GET /notifications`. +- Remark: Generated from `#/paths//notifications/get(list_notifications)`. + +### `archive_all_notifications(query:)` + +```swift +public func archive_all_notifications(query: Operations.archive_all_notifications.Input.Query = .init()) async throws -> Operations.archive_all_notifications.Output +``` + +Archive all notifications + +Archive all notifications. + +- Remark: HTTP `POST /notifications/archive`. +- Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + +### `mark_all_notifications_read(query:)` + +```swift +public func mark_all_notifications_read(query: Operations.mark_all_notifications_read.Input.Query = .init()) async throws -> Operations.mark_all_notifications_read.Output +``` + +Mark all notifications read + +Marks all notifications as read. + +- Remark: HTTP `POST /notifications/read`. +- Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + +### `fetch_notification(path:headers:)` + +```swift +public func fetch_notification( + path: Operations.fetch_notification.Input.Path, + headers: Operations.fetch_notification.Input.Headers = .init() +) async throws -> Operations.fetch_notification.Output +``` + +Fetch a notification + +Gets a notification by ID. + +- Remark: HTTP `GET /notifications/{notification_id}`. +- Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + +### `archive_notification(path:)` + +```swift +public func archive_notification(path: Operations.archive_notification.Input.Path) async throws -> Operations.archive_notification.Output +``` + +Archive a notification + +Archive a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/archive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + +### `mark_notification_read(path:)` + +```swift +public func mark_notification_read(path: Operations.mark_notification_read.Input.Path) async throws -> Operations.mark_notification_read.Output +``` + +Mark a notification read + +Marks a notification as read. + +- Remark: HTTP `POST /notifications/{notification_id}/read`. +- Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + +### `unarchive_notification(path:)` + +```swift +public func unarchive_notification(path: Operations.unarchive_notification.Input.Path) async throws -> Operations.unarchive_notification.Output +``` + +Unarchive a notification + +Unarchives a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/unarchive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + +### `mark_notification_unread(path:)` + +```swift +public func mark_notification_unread(path: Operations.mark_notification_unread.Input.Path) async throws -> Operations.mark_notification_unread.Output +``` + +Mark a notification unread + +Marks a notification as unread. + +- Remark: HTTP `POST /notifications/{notification_id}/unread`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. diff --git a/documentation/protocols/APIProtocol.md b/documentation/protocols/APIProtocol.md index e4d845c..47c5e52 100644 --- a/documentation/protocols/APIProtocol.md +++ b/documentation/protocols/APIProtocol.md @@ -9,148 +9,226 @@ public protocol APIProtocol: Sendable A type that performs HTTP operations defined by the OpenAPI document. ## Methods -### `get_mobile_push_apns_tokens(_:)` +### `list_inbox_tokens(_:)` ```swift -func get_mobile_push_apns_tokens(_ input: Operations.get_mobile_push_apns_tokens.Input) async throws -> Operations.get_mobile_push_apns_tokens.Output +func list_inbox_tokens(_ input: Operations.list_inbox_tokens.Input) async throws -> Operations.list_inbox_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Inbox tokens + +Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + +### `save_inbox_token(_:)` + +```swift +func save_inbox_token(_ input: Operations.save_inbox_token.Input) async throws -> Operations.save_inbox_token.Output +``` + +Save an Inbox token + +Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + +### `fetch_inbox_token(_:)` + +```swift +func fetch_inbox_token(_ input: Operations.fetch_inbox_token.Input) async throws -> Operations.fetch_inbox_token.Output +``` + +Fetch an Inbox token + +Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + +### `delete_inbox_token(_:)` + +```swift +func delete_inbox_token(_ input: Operations.delete_inbox_token.Input) async throws -> Operations.delete_inbox_token.Output +``` + +Delete an Inbox token + +Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + +### `list_apns_tokens(_:)` + +```swift +func list_apns_tokens(_ input: Operations.list_apns_tokens.Input) async throws -> Operations.list_apns_tokens.Output +``` + +List all APNs tokens + +Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. -### `save_mobile_push_apns_token(_:)` +### `save_apns_token(_:)` ```swift -func save_mobile_push_apns_token(_ input: Operations.save_mobile_push_apns_token.Input) async throws -> Operations.save_mobile_push_apns_token.Output +func save_apns_token(_ input: Operations.save_apns_token.Input) async throws -> Operations.save_apns_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save an APNs token + +Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. +- Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. -### `get_mobile_push_apns_token(_:)` +### `fetch_apns_token(_:)` ```swift -func get_mobile_push_apns_token(_ input: Operations.get_mobile_push_apns_token.Input) async throws -> Operations.get_mobile_push_apns_token.Output +func fetch_apns_token(_ input: Operations.fetch_apns_token.Input) async throws -> Operations.fetch_apns_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch an APNs token + +Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. -### `discard_mobile_push_apns_token(_:)` +### `delete_apns_token(_:)` ```swift -func discard_mobile_push_apns_token(_ input: Operations.discard_mobile_push_apns_token.Input) async throws -> Operations.discard_mobile_push_apns_token.Output +func delete_apns_token(_ input: Operations.delete_apns_token.Input) async throws -> Operations.delete_apns_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete an APNs token + +Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. -### `get_mobile_push_expo_tokens(_:)` +### `list_expo_tokens(_:)` ```swift -func get_mobile_push_expo_tokens(_ input: Operations.get_mobile_push_expo_tokens.Input) async throws -> Operations.get_mobile_push_expo_tokens.Output +func list_expo_tokens(_ input: Operations.list_expo_tokens.Input) async throws -> Operations.list_expo_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Expo tokens + +Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. -### `save_mobile_push_expo_token(_:)` +### `save_expo_token(_:)` ```swift -func save_mobile_push_expo_token(_ input: Operations.save_mobile_push_expo_token.Input) async throws -> Operations.save_mobile_push_expo_token.Output +func save_expo_token(_ input: Operations.save_expo_token.Input) async throws -> Operations.save_expo_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save an Expo token + +Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. +- Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. -### `get_mobile_push_expo_token(_:)` +### `fetch_expo_token(_:)` ```swift -func get_mobile_push_expo_token(_ input: Operations.get_mobile_push_expo_token.Input) async throws -> Operations.get_mobile_push_expo_token.Output +func fetch_expo_token(_ input: Operations.fetch_expo_token.Input) async throws -> Operations.fetch_expo_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch an Expo token + +Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. -### `discard_mobile_push_expo_token(_:)` +### `delete_expo_token(_:)` ```swift -func discard_mobile_push_expo_token(_ input: Operations.discard_mobile_push_expo_token.Input) async throws -> Operations.discard_mobile_push_expo_token.Output +func delete_expo_token(_ input: Operations.delete_expo_token.Input) async throws -> Operations.delete_expo_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete an Expo token + +Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. -### `get_mobile_push_fcm_tokens(_:)` +### `list_fcm_tokens(_:)` ```swift -func get_mobile_push_fcm_tokens(_ input: Operations.get_mobile_push_fcm_tokens.Input) async throws -> Operations.get_mobile_push_fcm_tokens.Output +func list_fcm_tokens(_ input: Operations.list_fcm_tokens.Input) async throws -> Operations.list_fcm_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all FCM tokens + +Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. -### `save_mobile_push_fcm_token(_:)` +### `save_fcm_token(_:)` ```swift -func save_mobile_push_fcm_token(_ input: Operations.save_mobile_push_fcm_token.Input) async throws -> Operations.save_mobile_push_fcm_token.Output +func save_fcm_token(_ input: Operations.save_fcm_token.Input) async throws -> Operations.save_fcm_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a FCM token -- Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. +Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_mobile_push_fcm_token(_:)` +- Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + +### `fetch_fcm_token(_:)` ```swift -func get_mobile_push_fcm_token(_ input: Operations.get_mobile_push_fcm_token.Input) async throws -> Operations.get_mobile_push_fcm_token.Output +func fetch_fcm_token(_ input: Operations.fetch_fcm_token.Input) async throws -> Operations.fetch_fcm_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a FCM token + +Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. -### `discard_mobile_push_fcm_token(_:)` +### `delete_fcm_token(_:)` ```swift -func discard_mobile_push_fcm_token(_ input: Operations.discard_mobile_push_fcm_token.Input) async throws -> Operations.discard_mobile_push_fcm_token.Output +func delete_fcm_token(_ input: Operations.delete_fcm_token.Input) async throws -> Operations.delete_fcm_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a FCM token + +Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. -### `get_slack_tokens(_:)` +### `list_slack_tokens(_:)` ```swift -func get_slack_tokens(_ input: Operations.get_slack_tokens.Input) async throws -> Operations.get_slack_tokens.Output +func list_slack_tokens(_ input: Operations.list_slack_tokens.Input) async throws -> Operations.list_slack_tokens.Output ``` -Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Slack tokens + +Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. +- Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. ### `save_slack_token(_:)` @@ -158,43 +236,51 @@ Lists all slack tokens belonging to the authenticated user. Returns a paginated func save_slack_token(_ input: Operations.save_slack_token.Input) async throws -> Operations.save_slack_token.Output ``` -Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Slack token -- Remark: HTTP `POST /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. +Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_slack_token(_:)` +- Remark: HTTP `PUT /channels/slack/tokens`. +- Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. + +### `fetch_slack_token(_:)` ```swift -func get_slack_token(_ input: Operations.get_slack_token.Input) async throws -> Operations.get_slack_token.Output +func fetch_slack_token(_ input: Operations.fetch_slack_token.Input) async throws -> Operations.fetch_slack_token.Output ``` -Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Slack token + +Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. -### `discard_slack_token(_:)` +### `delete_slack_token(_:)` ```swift -func discard_slack_token(_ input: Operations.discard_slack_token.Input) async throws -> Operations.discard_slack_token.Output +func delete_slack_token(_ input: Operations.delete_slack_token.Input) async throws -> Operations.delete_slack_token.Output ``` -Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Slack token + +Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. -### `get_teams_tokens(_:)` +### `list_teams_tokens(_:)` ```swift -func get_teams_tokens(_ input: Operations.get_teams_tokens.Input) async throws -> Operations.get_teams_tokens.Output +func list_teams_tokens(_ input: Operations.list_teams_tokens.Input) async throws -> Operations.list_teams_tokens.Output ``` -Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Teams tokens + +Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. +- Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. ### `save_teams_token(_:)` @@ -202,43 +288,77 @@ Lists all teams tokens belonging to the authenticated user. Returns a paginated func save_teams_token(_ input: Operations.save_teams_token.Input) async throws -> Operations.save_teams_token.Output ``` -Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Teams token -- Remark: HTTP `POST /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. +Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_teams_token(_:)` +- Remark: HTTP `PUT /channels/teams/tokens`. +- Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. + +### `fetch_teams_token(_:)` ```swift -func get_teams_token(_ input: Operations.get_teams_token.Input) async throws -> Operations.get_teams_token.Output +func fetch_teams_token(_ input: Operations.fetch_teams_token.Input) async throws -> Operations.fetch_teams_token.Output ``` -Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Teams token + +Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. -### `discard_teams_token(_:)` +### `delete_teams_token(_:)` ```swift -func discard_teams_token(_ input: Operations.discard_teams_token.Input) async throws -> Operations.discard_teams_token.Output +func delete_teams_token(_ input: Operations.delete_teams_token.Input) async throws -> Operations.delete_teams_token.Output ``` -Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Teams token + +Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + +### `fetch_user_preferences(_:)` + +```swift +func fetch_user_preferences(_ input: Operations.fetch_user_preferences.Input) async throws -> Operations.fetch_user_preferences.Output +``` + +Fetch channel preferences + +Fetch a user's channel delivery preferences. -### `get_web_push_tokens(_:)` +- Remark: HTTP `GET /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + +### `save_user_preferences(_:)` ```swift -func get_web_push_tokens(_ input: Operations.get_web_push_tokens.Input) async throws -> Operations.get_web_push_tokens.Output +func save_user_preferences(_ input: Operations.save_user_preferences.Input) async throws -> Operations.save_user_preferences.Output ``` -Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +Save channel preferences + +Save a user's channel preferences. + +- Remark: HTTP `PUT /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + +### `list_web_push_tokens(_:)` + +```swift +func list_web_push_tokens(_ input: Operations.list_web_push_tokens.Input) async throws -> Operations.list_web_push_tokens.Output +``` + +List all Web Push tokens + +Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. ### `save_web_push_token(_:)` @@ -246,32 +366,38 @@ Lists all web_push tokens belonging to the authenticated user. Returns a paginat func save_web_push_token(_ input: Operations.save_web_push_token.Input) async throws -> Operations.save_web_push_token.Output ``` -Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Web Push token + +Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. +- Remark: HTTP `PUT /channels/web_push/tokens`. +- Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. -### `get_web_push_token(_:)` +### `fetch_web_push_token(_:)` ```swift -func get_web_push_token(_ input: Operations.get_web_push_token.Input) async throws -> Operations.get_web_push_token.Output +func fetch_web_push_token(_ input: Operations.fetch_web_push_token.Input) async throws -> Operations.fetch_web_push_token.Output ``` -Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Web Push token + +Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. -### `discard_web_push_token(_:)` +### `delete_web_push_token(_:)` ```swift -func discard_web_push_token(_ input: Operations.discard_web_push_token.Input) async throws -> Operations.discard_web_push_token.Output +func delete_web_push_token(_ input: Operations.delete_web_push_token.Input) async throws -> Operations.delete_web_push_token.Output ``` -Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Web Push token + +Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. ### `save_inbox_installation(_:)` @@ -279,10 +405,12 @@ Revokes one of the authenticated user's web_push tokens. This permanently invali func save_inbox_installation(_ input: Operations.save_inbox_installation.Input) async throws -> Operations.save_inbox_installation.Output ``` -Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save an Inbox installation -- Remark: HTTP `POST /integrations/inbox/installations`. -- Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. +Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/inbox/installations`. +- Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. ### `start_inbox_installation(_:)` @@ -290,7 +418,9 @@ Creates a new installation of a inbox integration for a user. This endpoint is u func start_inbox_installation(_ input: Operations.start_inbox_installation.Input) async throws -> Operations.start_inbox_installation.Output ``` -Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start an Inbox installation + +Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/inbox/installations/start`. - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. @@ -301,10 +431,12 @@ Initiates the installation flow for a inbox integration. This is the first step func save_slack_installation(_ input: Operations.save_slack_installation.Input) async throws -> Operations.save_slack_installation.Output ``` -Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Slack installation -- Remark: HTTP `POST /integrations/slack/installations`. -- Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. +Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/slack/installations`. +- Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. ### `finish_slack_installation(_:)` @@ -312,7 +444,9 @@ Creates a new installation of a slack integration for a user. This endpoint is u func finish_slack_installation(_ input: Operations.finish_slack_installation.Input) async throws -> Operations.finish_slack_installation.Output ``` -Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. +Finish a Slack installation + +Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. - Remark: HTTP `POST /integrations/slack/installations/finish`. - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. @@ -323,32 +457,25 @@ Completes the installation flow for a slack integration. This endpoint is typica func start_slack_installation(_ input: Operations.start_slack_installation.Input) async throws -> Operations.start_slack_installation.Output ``` -Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Slack installation + +Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/slack/installations/start`. - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. -### `save_templates_installation(_:)` - -```swift -func save_templates_installation(_ input: Operations.save_templates_installation.Input) async throws -> Operations.save_templates_installation.Output -``` - -Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. - -- Remark: HTTP `POST /integrations/templates/installations`. -- Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - ### `save_web_push_installation(_:)` ```swift func save_web_push_installation(_ input: Operations.save_web_push_installation.Input) async throws -> Operations.save_web_push_installation.Output ``` -Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Web Push installation -- Remark: HTTP `POST /integrations/web_push/installations`. -- Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. +Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/web_push/installations`. +- Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. ### `start_web_push_installation(_:)` @@ -356,7 +483,113 @@ Creates a new installation of a web_push integration for a user. This endpoint i func start_web_push_installation(_ input: Operations.start_web_push_installation.Input) async throws -> Operations.start_web_push_installation.Output ``` -Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Web Push installation + +Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/web_push/installations/start`. - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. + +### `list_notifications(_:)` + +```swift +func list_notifications(_ input: Operations.list_notifications.Input) async throws -> Operations.list_notifications.Output +``` + +List all notifications + +Lists all notifications for a user. + +- Remark: HTTP `GET /notifications`. +- Remark: Generated from `#/paths//notifications/get(list_notifications)`. + +### `archive_all_notifications(_:)` + +```swift +func archive_all_notifications(_ input: Operations.archive_all_notifications.Input) async throws -> Operations.archive_all_notifications.Output +``` + +Archive all notifications + +Archive all notifications. + +- Remark: HTTP `POST /notifications/archive`. +- Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + +### `mark_all_notifications_read(_:)` + +```swift +func mark_all_notifications_read(_ input: Operations.mark_all_notifications_read.Input) async throws -> Operations.mark_all_notifications_read.Output +``` + +Mark all notifications read + +Marks all notifications as read. + +- Remark: HTTP `POST /notifications/read`. +- Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + +### `fetch_notification(_:)` + +```swift +func fetch_notification(_ input: Operations.fetch_notification.Input) async throws -> Operations.fetch_notification.Output +``` + +Fetch a notification + +Gets a notification by ID. + +- Remark: HTTP `GET /notifications/{notification_id}`. +- Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + +### `archive_notification(_:)` + +```swift +func archive_notification(_ input: Operations.archive_notification.Input) async throws -> Operations.archive_notification.Output +``` + +Archive a notification + +Archive a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/archive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + +### `mark_notification_read(_:)` + +```swift +func mark_notification_read(_ input: Operations.mark_notification_read.Input) async throws -> Operations.mark_notification_read.Output +``` + +Mark a notification read + +Marks a notification as read. + +- Remark: HTTP `POST /notifications/{notification_id}/read`. +- Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + +### `unarchive_notification(_:)` + +```swift +func unarchive_notification(_ input: Operations.unarchive_notification.Input) async throws -> Operations.unarchive_notification.Output +``` + +Unarchive a notification + +Unarchives a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/unarchive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + +### `mark_notification_unread(_:)` + +```swift +func mark_notification_unread(_ input: Operations.mark_notification_unread.Input) async throws -> Operations.mark_notification_unread.Output +``` + +Mark a notification unread + +Marks a notification as unread. + +- Remark: HTTP `POST /notifications/{notification_id}/unread`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. diff --git a/documentation/structs/Client.md b/documentation/structs/Client.md index ddd746d..e671c98 100644 --- a/documentation/structs/Client.md +++ b/documentation/structs/Client.md @@ -6,44 +6,57 @@ - [Methods](#methods) - `init(serverURL:configuration:transport:middlewares:)` - - `get_mobile_push_apns_tokens(_:)` - - `save_mobile_push_apns_token(_:)` - - `get_mobile_push_apns_token(_:)` - - `discard_mobile_push_apns_token(_:)` - - `get_mobile_push_expo_tokens(_:)` - - `save_mobile_push_expo_token(_:)` - - `get_mobile_push_expo_token(_:)` - - `discard_mobile_push_expo_token(_:)` - - `get_mobile_push_fcm_tokens(_:)` - - `save_mobile_push_fcm_token(_:)` - - `get_mobile_push_fcm_token(_:)` - - `discard_mobile_push_fcm_token(_:)` - - `get_slack_tokens(_:)` + - `list_inbox_tokens(_:)` + - `save_inbox_token(_:)` + - `fetch_inbox_token(_:)` + - `delete_inbox_token(_:)` + - `list_apns_tokens(_:)` + - `save_apns_token(_:)` + - `fetch_apns_token(_:)` + - `delete_apns_token(_:)` + - `list_expo_tokens(_:)` + - `save_expo_token(_:)` + - `fetch_expo_token(_:)` + - `delete_expo_token(_:)` + - `list_fcm_tokens(_:)` + - `save_fcm_token(_:)` + - `fetch_fcm_token(_:)` + - `delete_fcm_token(_:)` + - `list_slack_tokens(_:)` - `save_slack_token(_:)` - - `get_slack_token(_:)` - - `discard_slack_token(_:)` - - `get_teams_tokens(_:)` + - `fetch_slack_token(_:)` + - `delete_slack_token(_:)` + - `list_teams_tokens(_:)` - `save_teams_token(_:)` - - `get_teams_token(_:)` - - `discard_teams_token(_:)` - - `get_web_push_tokens(_:)` + - `fetch_teams_token(_:)` + - `delete_teams_token(_:)` + - `fetch_user_preferences(_:)` + - `save_user_preferences(_:)` + - `list_web_push_tokens(_:)` - `save_web_push_token(_:)` - - `get_web_push_token(_:)` - - `discard_web_push_token(_:)` + - `fetch_web_push_token(_:)` + - `delete_web_push_token(_:)` - `save_inbox_installation(_:)` - `start_inbox_installation(_:)` - `save_slack_installation(_:)` - `finish_slack_installation(_:)` - `start_slack_installation(_:)` - - `save_templates_installation(_:)` - `save_web_push_installation(_:)` - `start_web_push_installation(_:)` + - `list_notifications(_:)` + - `archive_all_notifications(_:)` + - `mark_all_notifications_read(_:)` + - `fetch_notification(_:)` + - `archive_notification(_:)` + - `mark_notification_read(_:)` + - `unarchive_notification(_:)` + - `mark_notification_unread(_:)` ```swift 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:)` @@ -75,148 +88,226 @@ Creates a new client. | transport | A transport that performs HTTP operations. | | middlewares | A list of middlewares to call before the transport. | -### `get_mobile_push_apns_tokens(_:)` +### `list_inbox_tokens(_:)` ```swift -public func get_mobile_push_apns_tokens(_ input: Operations.get_mobile_push_apns_tokens.Input) async throws -> Operations.get_mobile_push_apns_tokens.Output +public func list_inbox_tokens(_ input: Operations.list_inbox_tokens.Input) async throws -> Operations.list_inbox_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Inbox tokens + +Lists all Inbox tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/get(list_inbox_tokens)`. + +### `save_inbox_token(_:)` + +```swift +public func save_inbox_token(_ input: Operations.save_inbox_token.Input) async throws -> Operations.save_inbox_token.Output +``` + +Save an Inbox token + +Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. + +- Remark: HTTP `PUT /channels/in_app/inbox/tokens`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/put(save_inbox_token)`. + +### `fetch_inbox_token(_:)` + +```swift +public func fetch_inbox_token(_ input: Operations.fetch_inbox_token.Input) async throws -> Operations.fetch_inbox_token.Output +``` + +Fetch an Inbox token + +Fetches details of a specific Inbox token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. + +- Remark: HTTP `GET /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/get(fetch_inbox_token)`. + +### `delete_inbox_token(_:)` + +```swift +public func delete_inbox_token(_ input: Operations.delete_inbox_token.Input) async throws -> Operations.delete_inbox_token.Output +``` + +Delete an Inbox token + +Deletes one of the authenticated user's Inbox tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. + +- Remark: HTTP `DELETE /channels/in_app/inbox/tokens/{token_id}`. +- Remark: Generated from `#/paths//channels/in_app/inbox/tokens/{token_id}/delete(delete_inbox_token)`. + +### `list_apns_tokens(_:)` + +```swift +public func list_apns_tokens(_ input: Operations.list_apns_tokens.Input) async throws -> Operations.list_apns_tokens.Output +``` + +List all APNs tokens + +Lists all APNs tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(get_mobile_push_apns_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/get(list_apns_tokens)`. -### `save_mobile_push_apns_token(_:)` +### `save_apns_token(_:)` ```swift -public func save_mobile_push_apns_token(_ input: Operations.save_mobile_push_apns_token.Input) async throws -> Operations.save_mobile_push_apns_token.Output +public func save_apns_token(_ input: Operations.save_apns_token.Input) async throws -> Operations.save_apns_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save an APNs token + +Saves the APNs token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/mobile_push/apns/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/post(save_mobile_push_apns_token)`. +- Remark: HTTP `PUT /channels/mobile_push/apns/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/put(save_apns_token)`. -### `get_mobile_push_apns_token(_:)` +### `fetch_apns_token(_:)` ```swift -public func get_mobile_push_apns_token(_ input: Operations.get_mobile_push_apns_token.Input) async throws -> Operations.get_mobile_push_apns_token.Output +public func fetch_apns_token(_ input: Operations.fetch_apns_token.Input) async throws -> Operations.fetch_apns_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch an APNs token + +Fetches details of a specific APNs token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(get_mobile_push_apns_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/get(fetch_apns_token)`. -### `discard_mobile_push_apns_token(_:)` +### `delete_apns_token(_:)` ```swift -public func discard_mobile_push_apns_token(_ input: Operations.discard_mobile_push_apns_token.Input) async throws -> Operations.discard_mobile_push_apns_token.Output +public func delete_apns_token(_ input: Operations.delete_apns_token.Input) async throws -> Operations.delete_apns_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete an APNs token + +Deletes one of the authenticated user's APNs tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/apns/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(discard_mobile_push_apns_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/apns/tokens/{token_id}/delete(delete_apns_token)`. -### `get_mobile_push_expo_tokens(_:)` +### `list_expo_tokens(_:)` ```swift -public func get_mobile_push_expo_tokens(_ input: Operations.get_mobile_push_expo_tokens.Input) async throws -> Operations.get_mobile_push_expo_tokens.Output +public func list_expo_tokens(_ input: Operations.list_expo_tokens.Input) async throws -> Operations.list_expo_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Expo tokens + +Lists all Expo tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(get_mobile_push_expo_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/get(list_expo_tokens)`. -### `save_mobile_push_expo_token(_:)` +### `save_expo_token(_:)` ```swift -public func save_mobile_push_expo_token(_ input: Operations.save_mobile_push_expo_token.Input) async throws -> Operations.save_mobile_push_expo_token.Output +public func save_expo_token(_ input: Operations.save_expo_token.Input) async throws -> Operations.save_expo_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save an Expo token + +Saves the Expo token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/mobile_push/expo/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/post(save_mobile_push_expo_token)`. +- Remark: HTTP `PUT /channels/mobile_push/expo/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/put(save_expo_token)`. -### `get_mobile_push_expo_token(_:)` +### `fetch_expo_token(_:)` ```swift -public func get_mobile_push_expo_token(_ input: Operations.get_mobile_push_expo_token.Input) async throws -> Operations.get_mobile_push_expo_token.Output +public func fetch_expo_token(_ input: Operations.fetch_expo_token.Input) async throws -> Operations.fetch_expo_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch an Expo token + +Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(get_mobile_push_expo_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/get(fetch_expo_token)`. -### `discard_mobile_push_expo_token(_:)` +### `delete_expo_token(_:)` ```swift -public func discard_mobile_push_expo_token(_ input: Operations.discard_mobile_push_expo_token.Input) async throws -> Operations.discard_mobile_push_expo_token.Output +public func delete_expo_token(_ input: Operations.delete_expo_token.Input) async throws -> Operations.delete_expo_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete an Expo token + +Deletes one of the authenticated user's Expo tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/expo/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(discard_mobile_push_expo_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/expo/tokens/{token_id}/delete(delete_expo_token)`. -### `get_mobile_push_fcm_tokens(_:)` +### `list_fcm_tokens(_:)` ```swift -public func get_mobile_push_fcm_tokens(_ input: Operations.get_mobile_push_fcm_tokens.Input) async throws -> Operations.get_mobile_push_fcm_tokens.Output +public func list_fcm_tokens(_ input: Operations.list_fcm_tokens.Input) async throws -> Operations.list_fcm_tokens.Output ``` -Lists all mobile_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all FCM tokens + +Lists all FCM tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(get_mobile_push_fcm_tokens)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/get(list_fcm_tokens)`. -### `save_mobile_push_fcm_token(_:)` +### `save_fcm_token(_:)` ```swift -public func save_mobile_push_fcm_token(_ input: Operations.save_mobile_push_fcm_token.Input) async throws -> Operations.save_mobile_push_fcm_token.Output +public func save_fcm_token(_ input: Operations.save_fcm_token.Input) async throws -> Operations.save_fcm_token.Output ``` -Saves a mobile_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a FCM token -- Remark: HTTP `POST /channels/mobile_push/fcm/tokens`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/post(save_mobile_push_fcm_token)`. +Saves the FCM token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_mobile_push_fcm_token(_:)` +- Remark: HTTP `PUT /channels/mobile_push/fcm/tokens`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/put(save_fcm_token)`. + +### `fetch_fcm_token(_:)` ```swift -public func get_mobile_push_fcm_token(_ input: Operations.get_mobile_push_fcm_token.Input) async throws -> Operations.get_mobile_push_fcm_token.Output +public func fetch_fcm_token(_ input: Operations.fetch_fcm_token.Input) async throws -> Operations.fetch_fcm_token.Output ``` -Retrieves details of a specific mobile_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a FCM token + +Fetches details of a specific FCM token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(get_mobile_push_fcm_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/get(fetch_fcm_token)`. -### `discard_mobile_push_fcm_token(_:)` +### `delete_fcm_token(_:)` ```swift -public func discard_mobile_push_fcm_token(_ input: Operations.discard_mobile_push_fcm_token.Input) async throws -> Operations.discard_mobile_push_fcm_token.Output +public func delete_fcm_token(_ input: Operations.delete_fcm_token.Input) async throws -> Operations.delete_fcm_token.Output ``` -Revokes one of the authenticated user's mobile_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a FCM token + +Deletes one of the authenticated user's FCM tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/mobile_push/fcm/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(discard_mobile_push_fcm_token)`. +- Remark: Generated from `#/paths//channels/mobile_push/fcm/tokens/{token_id}/delete(delete_fcm_token)`. -### `get_slack_tokens(_:)` +### `list_slack_tokens(_:)` ```swift -public func get_slack_tokens(_ input: Operations.get_slack_tokens.Input) async throws -> Operations.get_slack_tokens.Output +public func list_slack_tokens(_ input: Operations.list_slack_tokens.Input) async throws -> Operations.list_slack_tokens.Output ``` -Lists all slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Slack tokens + +Lists all Slack tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/get(get_slack_tokens)`. +- Remark: Generated from `#/paths//channels/slack/tokens/get(list_slack_tokens)`. ### `save_slack_token(_:)` @@ -224,43 +315,51 @@ Lists all slack tokens belonging to the authenticated user. Returns a paginated public func save_slack_token(_ input: Operations.save_slack_token.Input) async throws -> Operations.save_slack_token.Output ``` -Saves a slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Slack token -- Remark: HTTP `POST /channels/slack/tokens`. -- Remark: Generated from `#/paths//channels/slack/tokens/post(save_slack_token)`. +Saves the Slack token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_slack_token(_:)` +- Remark: HTTP `PUT /channels/slack/tokens`. +- Remark: Generated from `#/paths//channels/slack/tokens/put(save_slack_token)`. + +### `fetch_slack_token(_:)` ```swift -public func get_slack_token(_ input: Operations.get_slack_token.Input) async throws -> Operations.get_slack_token.Output +public func fetch_slack_token(_ input: Operations.fetch_slack_token.Input) async throws -> Operations.fetch_slack_token.Output ``` -Retrieves details of a specific slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Slack token + +Fetches details of a specific Slack token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(get_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/get(fetch_slack_token)`. -### `discard_slack_token(_:)` +### `delete_slack_token(_:)` ```swift -public func discard_slack_token(_ input: Operations.discard_slack_token.Input) async throws -> Operations.discard_slack_token.Output +public func delete_slack_token(_ input: Operations.delete_slack_token.Input) async throws -> Operations.delete_slack_token.Output ``` -Revokes one of the authenticated user's slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Slack token + +Deletes one of the authenticated user's Slack tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/slack/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(discard_slack_token)`. +- Remark: Generated from `#/paths//channels/slack/tokens/{token_id}/delete(delete_slack_token)`. -### `get_teams_tokens(_:)` +### `list_teams_tokens(_:)` ```swift -public func get_teams_tokens(_ input: Operations.get_teams_tokens.Input) async throws -> Operations.get_teams_tokens.Output +public func list_teams_tokens(_ input: Operations.list_teams_tokens.Input) async throws -> Operations.list_teams_tokens.Output ``` -Lists all teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +List all Teams tokens + +Lists all Teams tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/get(get_teams_tokens)`. +- Remark: Generated from `#/paths//channels/teams/tokens/get(list_teams_tokens)`. ### `save_teams_token(_:)` @@ -268,43 +367,77 @@ Lists all teams tokens belonging to the authenticated user. Returns a paginated public func save_teams_token(_ input: Operations.save_teams_token.Input) async throws -> Operations.save_teams_token.Output ``` -Saves a teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Teams token -- Remark: HTTP `POST /channels/teams/tokens`. -- Remark: Generated from `#/paths//channels/teams/tokens/post(save_teams_token)`. +Saves the Teams token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -### `get_teams_token(_:)` +- Remark: HTTP `PUT /channels/teams/tokens`. +- Remark: Generated from `#/paths//channels/teams/tokens/put(save_teams_token)`. + +### `fetch_teams_token(_:)` ```swift -public func get_teams_token(_ input: Operations.get_teams_token.Input) async throws -> Operations.get_teams_token.Output +public func fetch_teams_token(_ input: Operations.fetch_teams_token.Input) async throws -> Operations.fetch_teams_token.Output ``` -Retrieves details of a specific teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Teams token + +Fetches details of a specific Teams token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(get_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/get(fetch_teams_token)`. -### `discard_teams_token(_:)` +### `delete_teams_token(_:)` ```swift -public func discard_teams_token(_ input: Operations.discard_teams_token.Input) async throws -> Operations.discard_teams_token.Output +public func delete_teams_token(_ input: Operations.delete_teams_token.Input) async throws -> Operations.delete_teams_token.Output ``` -Revokes one of the authenticated user's teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Teams token + +Deletes one of the authenticated user's Teams tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/teams/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(discard_teams_token)`. +- Remark: Generated from `#/paths//channels/teams/tokens/{token_id}/delete(delete_teams_token)`. + +### `fetch_user_preferences(_:)` + +```swift +public func fetch_user_preferences(_ input: Operations.fetch_user_preferences.Input) async throws -> Operations.fetch_user_preferences.Output +``` + +Fetch channel preferences + +Fetch a user's channel delivery preferences. -### `get_web_push_tokens(_:)` +- Remark: HTTP `GET /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/get(fetch_user_preferences)`. + +### `save_user_preferences(_:)` ```swift -public func get_web_push_tokens(_ input: Operations.get_web_push_tokens.Input) async throws -> Operations.get_web_push_tokens.Output +public func save_user_preferences(_ input: Operations.save_user_preferences.Input) async throws -> Operations.save_user_preferences.Output ``` -Lists all web_push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. +Save channel preferences + +Save a user's channel preferences. + +- Remark: HTTP `PUT /channels/user_preferences`. +- Remark: Generated from `#/paths//channels/user_preferences/put(save_user_preferences)`. + +### `list_web_push_tokens(_:)` + +```swift +public func list_web_push_tokens(_ input: Operations.list_web_push_tokens.Input) async throws -> Operations.list_web_push_tokens.Output +``` + +List all Web Push tokens + +Lists all Web Push tokens belonging to the authenticated user. Returns a paginated list of tokens, including their status, creation dates, and associated metadata. - Remark: HTTP `GET /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/get(get_web_push_tokens)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/get(list_web_push_tokens)`. ### `save_web_push_token(_:)` @@ -312,32 +445,38 @@ Lists all web_push tokens belonging to the authenticated user. Returns a paginat public func save_web_push_token(_ input: Operations.save_web_push_token.Input) async throws -> Operations.save_web_push_token.Output ``` -Saves a web_push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. +Save a Web Push token + +Saves the Web Push token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel. -- Remark: HTTP `POST /channels/web_push/tokens`. -- Remark: Generated from `#/paths//channels/web_push/tokens/post(save_web_push_token)`. +- Remark: HTTP `PUT /channels/web_push/tokens`. +- Remark: Generated from `#/paths//channels/web_push/tokens/put(save_web_push_token)`. -### `get_web_push_token(_:)` +### `fetch_web_push_token(_:)` ```swift -public func get_web_push_token(_ input: Operations.get_web_push_token.Input) async throws -> Operations.get_web_push_token.Output +public func fetch_web_push_token(_ input: Operations.fetch_web_push_token.Input) async throws -> Operations.fetch_web_push_token.Output ``` -Retrieves details of a specific web_push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. +Fetch a Web Push token + +Fetches details of a specific Web Push token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens. - Remark: HTTP `GET /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(get_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/get(fetch_web_push_token)`. -### `discard_web_push_token(_:)` +### `delete_web_push_token(_:)` ```swift -public func discard_web_push_token(_ input: Operations.discard_web_push_token.Input) async throws -> Operations.discard_web_push_token.Output +public func delete_web_push_token(_ input: Operations.delete_web_push_token.Input) async throws -> Operations.delete_web_push_token.Output ``` -Revokes one of the authenticated user's web_push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. +Delete a Web Push token + +Deletes one of the authenticated user's Web Push tokens. This permanently invalidates the specified token, preventing it from being used for future channel access. This action cannot be undone. Users can only revoke their own tokens. - Remark: HTTP `DELETE /channels/web_push/tokens/{token_id}`. -- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(discard_web_push_token)`. +- Remark: Generated from `#/paths//channels/web_push/tokens/{token_id}/delete(delete_web_push_token)`. ### `save_inbox_installation(_:)` @@ -345,10 +484,12 @@ Revokes one of the authenticated user's web_push tokens. This permanently invali public func save_inbox_installation(_ input: Operations.save_inbox_installation.Input) async throws -> Operations.save_inbox_installation.Output ``` -Creates a new installation of a inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save an Inbox installation -- Remark: HTTP `POST /integrations/inbox/installations`. -- Remark: Generated from `#/paths//integrations/inbox/installations/post(save_inbox_installation)`. +Creates a new installation of a Inbox integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/inbox/installations`. +- Remark: Generated from `#/paths//integrations/inbox/installations/put(save_inbox_installation)`. ### `start_inbox_installation(_:)` @@ -356,7 +497,9 @@ Creates a new installation of a inbox integration for a user. This endpoint is u public func start_inbox_installation(_ input: Operations.start_inbox_installation.Input) async throws -> Operations.start_inbox_installation.Output ``` -Initiates the installation flow for a inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start an Inbox installation + +Initiates the installation flow for an Inbox integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/inbox/installations/start`. - Remark: Generated from `#/paths//integrations/inbox/installations/start/post(start_inbox_installation)`. @@ -367,10 +510,12 @@ Initiates the installation flow for a inbox integration. This is the first step public func save_slack_installation(_ input: Operations.save_slack_installation.Input) async throws -> Operations.save_slack_installation.Output ``` -Creates a new installation of a slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Slack installation -- Remark: HTTP `POST /integrations/slack/installations`. -- Remark: Generated from `#/paths//integrations/slack/installations/post(save_slack_installation)`. +Creates a new installation of a Slack integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/slack/installations`. +- Remark: Generated from `#/paths//integrations/slack/installations/put(save_slack_installation)`. ### `finish_slack_installation(_:)` @@ -378,7 +523,9 @@ Creates a new installation of a slack integration for a user. This endpoint is u public func finish_slack_installation(_ input: Operations.finish_slack_installation.Input) async throws -> Operations.finish_slack_installation.Output ``` -Completes the installation flow for a slack integration. This endpoint is typically called after the user has completed any required authorization steps with slack. +Finish a Slack installation + +Completes the installation flow for the Slack integration. This endpoint is typically called after the user has completed any required authorization steps with Slack. - Remark: HTTP `POST /integrations/slack/installations/finish`. - Remark: Generated from `#/paths//integrations/slack/installations/finish/post(finish_slack_installation)`. @@ -389,32 +536,25 @@ Completes the installation flow for a slack integration. This endpoint is typica public func start_slack_installation(_ input: Operations.start_slack_installation.Input) async throws -> Operations.start_slack_installation.Output ``` -Initiates the installation flow for a slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Slack installation + +Initiates the installation flow for a Slack integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/slack/installations/start`. - Remark: Generated from `#/paths//integrations/slack/installations/start/post(start_slack_installation)`. -### `save_templates_installation(_:)` - -```swift -public func save_templates_installation(_ input: Operations.save_templates_installation.Input) async throws -> Operations.save_templates_installation.Output -``` - -Creates a new installation of a templates integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. - -- Remark: HTTP `POST /integrations/templates/installations`. -- Remark: Generated from `#/paths//integrations/templates/installations/post(save_templates_installation)`. - ### `save_web_push_installation(_:)` ```swift public func save_web_push_installation(_ input: Operations.save_web_push_installation.Input) async throws -> Operations.save_web_push_installation.Output ``` -Creates a new installation of a web_push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. +Save a Web Push installation -- Remark: HTTP `POST /integrations/web_push/installations`. -- Remark: Generated from `#/paths//integrations/web_push/installations/post(save_web_push_installation)`. +Creates a new installation of a Web Push integration for a user. This endpoint is used when an integration needs to be set up with user-specific credentials or configuration. + +- Remark: HTTP `PUT /integrations/web_push/installations`. +- Remark: Generated from `#/paths//integrations/web_push/installations/put(save_web_push_installation)`. ### `start_web_push_installation(_:)` @@ -422,7 +562,113 @@ Creates a new installation of a web_push integration for a user. This endpoint i public func start_web_push_installation(_ input: Operations.start_web_push_installation.Input) async throws -> Operations.start_web_push_installation.Output ``` -Initiates the installation flow for a web_push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. +Start a Web Push installation + +Initiates the installation flow for a Web Push integration. This is the first step in a multi-step installation process where user authorization or external service configuration may be required. - Remark: HTTP `POST /integrations/web_push/installations/start`. - Remark: Generated from `#/paths//integrations/web_push/installations/start/post(start_web_push_installation)`. + +### `list_notifications(_:)` + +```swift +public func list_notifications(_ input: Operations.list_notifications.Input) async throws -> Operations.list_notifications.Output +``` + +List all notifications + +Lists all notifications for a user. + +- Remark: HTTP `GET /notifications`. +- Remark: Generated from `#/paths//notifications/get(list_notifications)`. + +### `archive_all_notifications(_:)` + +```swift +public func archive_all_notifications(_ input: Operations.archive_all_notifications.Input) async throws -> Operations.archive_all_notifications.Output +``` + +Archive all notifications + +Archive all notifications. + +- Remark: HTTP `POST /notifications/archive`. +- Remark: Generated from `#/paths//notifications/archive/post(archive_all_notifications)`. + +### `mark_all_notifications_read(_:)` + +```swift +public func mark_all_notifications_read(_ input: Operations.mark_all_notifications_read.Input) async throws -> Operations.mark_all_notifications_read.Output +``` + +Mark all notifications read + +Marks all notifications as read. + +- Remark: HTTP `POST /notifications/read`. +- Remark: Generated from `#/paths//notifications/read/post(mark_all_notifications_read)`. + +### `fetch_notification(_:)` + +```swift +public func fetch_notification(_ input: Operations.fetch_notification.Input) async throws -> Operations.fetch_notification.Output +``` + +Fetch a notification + +Gets a notification by ID. + +- Remark: HTTP `GET /notifications/{notification_id}`. +- Remark: Generated from `#/paths//notifications/{notification_id}/get(fetch_notification)`. + +### `archive_notification(_:)` + +```swift +public func archive_notification(_ input: Operations.archive_notification.Input) async throws -> Operations.archive_notification.Output +``` + +Archive a notification + +Archive a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/archive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/archive/post(archive_notification)`. + +### `mark_notification_read(_:)` + +```swift +public func mark_notification_read(_ input: Operations.mark_notification_read.Input) async throws -> Operations.mark_notification_read.Output +``` + +Mark a notification read + +Marks a notification as read. + +- Remark: HTTP `POST /notifications/{notification_id}/read`. +- Remark: Generated from `#/paths//notifications/{notification_id}/read/post(mark_notification_read)`. + +### `unarchive_notification(_:)` + +```swift +public func unarchive_notification(_ input: Operations.unarchive_notification.Input) async throws -> Operations.unarchive_notification.Output +``` + +Unarchive a notification + +Unarchives a notification. + +- Remark: HTTP `POST /notifications/{notification_id}/unarchive`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unarchive/post(unarchive_notification)`. + +### `mark_notification_unread(_:)` + +```swift +public func mark_notification_unread(_ input: Operations.mark_notification_unread.Input) async throws -> Operations.mark_notification_unread.Output +``` + +Mark a notification unread + +Marks a notification as unread. + +- Remark: HTTP `POST /notifications/{notification_id}/unread`. +- Remark: Generated from `#/paths//notifications/{notification_id}/unread/post(mark_notification_unread)`. diff --git a/documentation/structs/Components.Schemas.APNSToken.md b/documentation/structs/Components.Schemas.APNSToken.md index a14dd9f..9338f46 100644 --- a/documentation/structs/Components.Schemas.APNSToken.md +++ b/documentation/structs/Components.Schemas.APNSToken.md @@ -6,10 +6,14 @@ - [Properties](#properties) - `app_id` + - `created_at` - `device_token` + - `discarded_at` + - `id` - `installation_id` + - `updated_at` - [Methods](#methods) - - `init(app_id:device_token:installation_id:)` + - `init(app_id:created_at:device_token:discarded_at:id:installation_id:updated_at:)` ```swift public struct APNSToken: Codable, Hashable, Sendable @@ -28,6 +32,14 @@ public var app_id: Swift.String? - Remark: Generated from `#/components/schemas/APNSToken/app_id`. +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/APNSToken/created_at`. + ### `device_token` ```swift @@ -36,6 +48,22 @@ public var device_token: Swift.String - Remark: Generated from `#/components/schemas/APNSToken/device_token`. +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/APNSToken/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/APNSToken/id`. + ### `installation_id` ```swift @@ -46,14 +74,26 @@ public var installation_id: Components.Schemas.APNSToken.installation_idPayload? - Remark: Generated from `#/components/schemas/APNSToken/installation_id`. +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/APNSToken/updated_at`. + ## Methods -### `init(app_id:device_token:installation_id:)` +### `init(app_id:created_at:device_token:discarded_at:id:installation_id:updated_at:)` ```swift public init( app_id: Swift.String? = nil, + created_at: Foundation.Date, device_token: Swift.String, - installation_id: Components.Schemas.APNSToken.installation_idPayload? = nil + discarded_at: Foundation.Date? = nil, + id: Swift.String, + installation_id: Components.Schemas.APNSToken.installation_idPayload? = nil, + updated_at: Foundation.Date? = nil ) ``` @@ -61,13 +101,21 @@ Creates a new `APNSToken`. - Parameters: - app_id: (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. + - created_at: - device_token: + - discarded_at: + - id: - installation_id: (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. + - updated_at: #### Parameters | Name | Description | | ---- | ----------- | | app_id | (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. | +| created_at | | | device_token | | -| installation_id | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. | \ No newline at end of file +| discarded_at | | +| id | | +| installation_id | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. | +| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.APNSTokenCollection.md b/documentation/structs/Components.Schemas.APNSTokenCollection.md new file mode 100644 index 0000000..f0a46d5 --- /dev/null +++ b/documentation/structs/Components.Schemas.APNSTokenCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.APNSTokenCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct APNSTokenCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/APNSTokenCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.APNSToken]? +``` + +- Remark: Generated from `#/components/schemas/APNSTokenCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/APNSTokenCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.APNSToken]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `APNSTokenCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.APNSTokenPayload.md b/documentation/structs/Components.Schemas.APNSTokenPayload.md new file mode 100644 index 0000000..716efc7 --- /dev/null +++ b/documentation/structs/Components.Schemas.APNSTokenPayload.md @@ -0,0 +1,73 @@ +**STRUCT** + +# `Components.Schemas.APNSTokenPayload` + +**Contents** + +- [Properties](#properties) + - `app_id` + - `device_token` + - `installation_id` +- [Methods](#methods) + - `init(app_id:device_token:installation_id:)` + +```swift +public struct APNSTokenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/APNSTokenPayload`. + +## Properties +### `app_id` + +```swift +public var app_id: Swift.String? +``` + +(Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. + +- Remark: Generated from `#/components/schemas/APNSTokenPayload/app_id`. + +### `device_token` + +```swift +public var device_token: Swift.String +``` + +- Remark: Generated from `#/components/schemas/APNSTokenPayload/device_token`. + +### `installation_id` + +```swift +public var installation_id: Components.Schemas.APNSTokenPayload.installation_idPayload? +``` + +(Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. + +- Remark: Generated from `#/components/schemas/APNSTokenPayload/installation_id`. + +## Methods +### `init(app_id:device_token:installation_id:)` + +```swift +public init( + app_id: Swift.String? = nil, + device_token: Swift.String, + installation_id: Components.Schemas.APNSTokenPayload.installation_idPayload? = nil +) +``` + +Creates a new `APNSTokenPayload`. + +- Parameters: + - app_id: (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. + - device_token: + - installation_id: (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| app_id | (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. | +| device_token | | +| installation_id | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.APNSTokenResponse.md b/documentation/structs/Components.Schemas.APNSTokenResponse.md deleted file mode 100644 index 571e09d..0000000 --- a/documentation/structs/Components.Schemas.APNSTokenResponse.md +++ /dev/null @@ -1,121 +0,0 @@ -**STRUCT** - -# `Components.Schemas.APNSTokenResponse` - -**Contents** - -- [Properties](#properties) - - `app_id` - - `created_at` - - `device_token` - - `discarded_at` - - `id` - - `installation_id` - - `updated_at` -- [Methods](#methods) - - `init(app_id:created_at:device_token:discarded_at:id:installation_id:updated_at:)` - -```swift -public struct APNSTokenResponse: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/APNSTokenResponse`. - -## Properties -### `app_id` - -```swift -public var app_id: Swift.String? -``` - -(Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/app_id`. - -### `created_at` - -```swift -public var created_at: Foundation.Date -``` - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/created_at`. - -### `device_token` - -```swift -public var device_token: Swift.String -``` - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/device_token`. - -### `discarded_at` - -```swift -public var discarded_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/discarded_at`. - -### `id` - -```swift -public var id: Swift.String -``` - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/id`. - -### `installation_id` - -```swift -public var installation_id: Components.Schemas.APNSTokenResponse.installation_idPayload? -``` - -(Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/installation_id`. - -### `updated_at` - -```swift -public var updated_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/APNSTokenResponse/updated_at`. - -## Methods -### `init(app_id:created_at:device_token:discarded_at:id:installation_id:updated_at:)` - -```swift -public init( - app_id: Swift.String? = nil, - created_at: Foundation.Date, - device_token: Swift.String, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - installation_id: Components.Schemas.APNSTokenResponse.installation_idPayload? = nil, - updated_at: Foundation.Date? = nil -) -``` - -Creates a new `APNSTokenResponse`. - -- Parameters: - - app_id: (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. - - created_at: - - device_token: - - discarded_at: - - id: - - installation_id: (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. - - updated_at: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| app_id | (Optional) The bundle identifier of the application that is registering this token. Use this field to override the default identifier specified in the projects APNs integration. | -| created_at | | -| device_token | | -| discarded_at | | -| id | | -| installation_id | (Optional) The APNs environment the token is registered for. If none is provided we assume the token is used in `production`. | -| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ArrayOfAPNSTokenResponses.md b/documentation/structs/Components.Schemas.ArrayOfAPNSTokenResponses.md deleted file mode 100644 index b75f002..0000000 --- a/documentation/structs/Components.Schemas.ArrayOfAPNSTokenResponses.md +++ /dev/null @@ -1,57 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ArrayOfAPNSTokenResponses` - -**Contents** - -- [Properties](#properties) - - `data` - - `links` -- [Methods](#methods) - - `init(data:links:)` - -```swift -public struct ArrayOfAPNSTokenResponses: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ArrayOfAPNSTokenResponses`. - -## Properties -### `data` - -```swift -public var data: [Components.Schemas.APNSTokenResponse]? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfAPNSTokenResponses/data`. - -### `links` - -```swift -public var links: Components.Schemas.Links? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfAPNSTokenResponses/links`. - -## Methods -### `init(data:links:)` - -```swift -public init( - data: [Components.Schemas.APNSTokenResponse]? = nil, - links: Components.Schemas.Links? = nil -) -``` - -Creates a new `ArrayOfAPNSTokenResponses`. - -- Parameters: - - data: - - links: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| data | | -| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ArrayOfExpoTokenResponses.md b/documentation/structs/Components.Schemas.ArrayOfExpoTokenResponses.md deleted file mode 100644 index 3d026a6..0000000 --- a/documentation/structs/Components.Schemas.ArrayOfExpoTokenResponses.md +++ /dev/null @@ -1,57 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ArrayOfExpoTokenResponses` - -**Contents** - -- [Properties](#properties) - - `data` - - `links` -- [Methods](#methods) - - `init(data:links:)` - -```swift -public struct ArrayOfExpoTokenResponses: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ArrayOfExpoTokenResponses`. - -## Properties -### `data` - -```swift -public var data: [Components.Schemas.ExpoTokenResponse]? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfExpoTokenResponses/data`. - -### `links` - -```swift -public var links: Components.Schemas.Links? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfExpoTokenResponses/links`. - -## Methods -### `init(data:links:)` - -```swift -public init( - data: [Components.Schemas.ExpoTokenResponse]? = nil, - links: Components.Schemas.Links? = nil -) -``` - -Creates a new `ArrayOfExpoTokenResponses`. - -- Parameters: - - data: - - links: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| data | | -| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ArrayOfFCMTokenResponses.md b/documentation/structs/Components.Schemas.ArrayOfFCMTokenResponses.md deleted file mode 100644 index 914a217..0000000 --- a/documentation/structs/Components.Schemas.ArrayOfFCMTokenResponses.md +++ /dev/null @@ -1,57 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ArrayOfFCMTokenResponses` - -**Contents** - -- [Properties](#properties) - - `data` - - `links` -- [Methods](#methods) - - `init(data:links:)` - -```swift -public struct ArrayOfFCMTokenResponses: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ArrayOfFCMTokenResponses`. - -## Properties -### `data` - -```swift -public var data: [Components.Schemas.FCMTokenResponse]? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfFCMTokenResponses/data`. - -### `links` - -```swift -public var links: Components.Schemas.Links? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfFCMTokenResponses/links`. - -## Methods -### `init(data:links:)` - -```swift -public init( - data: [Components.Schemas.FCMTokenResponse]? = nil, - links: Components.Schemas.Links? = nil -) -``` - -Creates a new `ArrayOfFCMTokenResponses`. - -- Parameters: - - data: - - links: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| data | | -| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ArrayOfSlackTokenResponses.md b/documentation/structs/Components.Schemas.ArrayOfSlackTokenResponses.md deleted file mode 100644 index f65d5f8..0000000 --- a/documentation/structs/Components.Schemas.ArrayOfSlackTokenResponses.md +++ /dev/null @@ -1,57 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ArrayOfSlackTokenResponses` - -**Contents** - -- [Properties](#properties) - - `data` - - `links` -- [Methods](#methods) - - `init(data:links:)` - -```swift -public struct ArrayOfSlackTokenResponses: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ArrayOfSlackTokenResponses`. - -## Properties -### `data` - -```swift -public var data: [Components.Schemas.SlackTokenResponse]? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfSlackTokenResponses/data`. - -### `links` - -```swift -public var links: Components.Schemas.Links? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfSlackTokenResponses/links`. - -## Methods -### `init(data:links:)` - -```swift -public init( - data: [Components.Schemas.SlackTokenResponse]? = nil, - links: Components.Schemas.Links? = nil -) -``` - -Creates a new `ArrayOfSlackTokenResponses`. - -- Parameters: - - data: - - links: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| data | | -| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ArrayOfTeamsTokenResponses.md b/documentation/structs/Components.Schemas.ArrayOfTeamsTokenResponses.md deleted file mode 100644 index 28ed7b2..0000000 --- a/documentation/structs/Components.Schemas.ArrayOfTeamsTokenResponses.md +++ /dev/null @@ -1,57 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ArrayOfTeamsTokenResponses` - -**Contents** - -- [Properties](#properties) - - `data` - - `links` -- [Methods](#methods) - - `init(data:links:)` - -```swift -public struct ArrayOfTeamsTokenResponses: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ArrayOfTeamsTokenResponses`. - -## Properties -### `data` - -```swift -public var data: [Components.Schemas.TeamsTokenResponse]? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfTeamsTokenResponses/data`. - -### `links` - -```swift -public var links: Components.Schemas.Links? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfTeamsTokenResponses/links`. - -## Methods -### `init(data:links:)` - -```swift -public init( - data: [Components.Schemas.TeamsTokenResponse]? = nil, - links: Components.Schemas.Links? = nil -) -``` - -Creates a new `ArrayOfTeamsTokenResponses`. - -- Parameters: - - data: - - links: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| data | | -| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ArrayOfWebPushTokenResponses.md b/documentation/structs/Components.Schemas.ArrayOfWebPushTokenResponses.md deleted file mode 100644 index 4f56885..0000000 --- a/documentation/structs/Components.Schemas.ArrayOfWebPushTokenResponses.md +++ /dev/null @@ -1,57 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ArrayOfWebPushTokenResponses` - -**Contents** - -- [Properties](#properties) - - `data` - - `links` -- [Methods](#methods) - - `init(data:links:)` - -```swift -public struct ArrayOfWebPushTokenResponses: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ArrayOfWebPushTokenResponses`. - -## Properties -### `data` - -```swift -public var data: [Components.Schemas.WebPushTokenResponse]? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfWebPushTokenResponses/data`. - -### `links` - -```swift -public var links: Components.Schemas.Links? -``` - -- Remark: Generated from `#/components/schemas/ArrayOfWebPushTokenResponses/links`. - -## Methods -### `init(data:links:)` - -```swift -public init( - data: [Components.Schemas.WebPushTokenResponse]? = nil, - links: Components.Schemas.Links? = nil -) -``` - -Creates a new `ArrayOfWebPushTokenResponses`. - -- Parameters: - - data: - - links: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| data | | -| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ExpoToken.md b/documentation/structs/Components.Schemas.ExpoToken.md index 6227664..c79911c 100644 --- a/documentation/structs/Components.Schemas.ExpoToken.md +++ b/documentation/structs/Components.Schemas.ExpoToken.md @@ -5,9 +5,13 @@ **Contents** - [Properties](#properties) + - `created_at` - `device_token` + - `discarded_at` + - `id` + - `updated_at` - [Methods](#methods) - - `init(device_token:)` + - `init(created_at:device_token:discarded_at:id:updated_at:)` ```swift public struct ExpoToken: Codable, Hashable, Sendable @@ -16,6 +20,14 @@ public struct ExpoToken: Codable, Hashable, Sendable - Remark: Generated from `#/components/schemas/ExpoToken`. ## Properties +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/ExpoToken/created_at`. + ### `device_token` ```swift @@ -24,20 +36,58 @@ public var device_token: Swift.String - Remark: Generated from `#/components/schemas/ExpoToken/device_token`. +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/ExpoToken/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/ExpoToken/id`. + +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/ExpoToken/updated_at`. + ## Methods -### `init(device_token:)` +### `init(created_at:device_token:discarded_at:id:updated_at:)` ```swift -public init(device_token: Swift.String) +public init( + created_at: Foundation.Date, + device_token: Swift.String, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + updated_at: Foundation.Date? = nil +) ``` Creates a new `ExpoToken`. - Parameters: + - created_at: - device_token: + - discarded_at: + - id: + - updated_at: #### Parameters | Name | Description | | ---- | ----------- | -| device_token | | \ No newline at end of file +| created_at | | +| device_token | | +| discarded_at | | +| id | | +| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ExpoTokenCollection.md b/documentation/structs/Components.Schemas.ExpoTokenCollection.md new file mode 100644 index 0000000..7c067dd --- /dev/null +++ b/documentation/structs/Components.Schemas.ExpoTokenCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.ExpoTokenCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct ExpoTokenCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/ExpoTokenCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.ExpoToken]? +``` + +- Remark: Generated from `#/components/schemas/ExpoTokenCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/ExpoTokenCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.ExpoToken]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `ExpoTokenCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ExpoTokenPayload.md b/documentation/structs/Components.Schemas.ExpoTokenPayload.md new file mode 100644 index 0000000..a7abd39 --- /dev/null +++ b/documentation/structs/Components.Schemas.ExpoTokenPayload.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Components.Schemas.ExpoTokenPayload` + +**Contents** + +- [Properties](#properties) + - `device_token` +- [Methods](#methods) + - `init(device_token:)` + +```swift +public struct ExpoTokenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/ExpoTokenPayload`. + +## Properties +### `device_token` + +```swift +public var device_token: Swift.String +``` + +- Remark: Generated from `#/components/schemas/ExpoTokenPayload/device_token`. + +## Methods +### `init(device_token:)` + +```swift +public init(device_token: Swift.String) +``` + +Creates a new `ExpoTokenPayload`. + +- Parameters: + - device_token: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| device_token | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.ExpoTokenResponse.md b/documentation/structs/Components.Schemas.ExpoTokenResponse.md deleted file mode 100644 index 3d4c715..0000000 --- a/documentation/structs/Components.Schemas.ExpoTokenResponse.md +++ /dev/null @@ -1,93 +0,0 @@ -**STRUCT** - -# `Components.Schemas.ExpoTokenResponse` - -**Contents** - -- [Properties](#properties) - - `created_at` - - `device_token` - - `discarded_at` - - `id` - - `updated_at` -- [Methods](#methods) - - `init(created_at:device_token:discarded_at:id:updated_at:)` - -```swift -public struct ExpoTokenResponse: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/ExpoTokenResponse`. - -## Properties -### `created_at` - -```swift -public var created_at: Foundation.Date -``` - -- Remark: Generated from `#/components/schemas/ExpoTokenResponse/created_at`. - -### `device_token` - -```swift -public var device_token: Swift.String -``` - -- Remark: Generated from `#/components/schemas/ExpoTokenResponse/device_token`. - -### `discarded_at` - -```swift -public var discarded_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/ExpoTokenResponse/discarded_at`. - -### `id` - -```swift -public var id: Swift.String -``` - -- Remark: Generated from `#/components/schemas/ExpoTokenResponse/id`. - -### `updated_at` - -```swift -public var updated_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/ExpoTokenResponse/updated_at`. - -## Methods -### `init(created_at:device_token:discarded_at:id:updated_at:)` - -```swift -public init( - created_at: Foundation.Date, - device_token: Swift.String, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - updated_at: Foundation.Date? = nil -) -``` - -Creates a new `ExpoTokenResponse`. - -- Parameters: - - created_at: - - device_token: - - discarded_at: - - id: - - updated_at: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| created_at | | -| device_token | | -| discarded_at | | -| id | | -| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.FCMToken.md b/documentation/structs/Components.Schemas.FCMToken.md index d4254f9..464bf0e 100644 --- a/documentation/structs/Components.Schemas.FCMToken.md +++ b/documentation/structs/Components.Schemas.FCMToken.md @@ -5,10 +5,14 @@ **Contents** - [Properties](#properties) + - `created_at` - `device_token` + - `discarded_at` + - `id` - `installation_id` + - `updated_at` - [Methods](#methods) - - `init(device_token:installation_id:)` + - `init(created_at:device_token:discarded_at:id:installation_id:updated_at:)` ```swift public struct FCMToken: Codable, Hashable, Sendable @@ -17,6 +21,14 @@ public struct FCMToken: Codable, Hashable, Sendable - Remark: Generated from `#/components/schemas/FCMToken`. ## Properties +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/FCMToken/created_at`. + ### `device_token` ```swift @@ -25,6 +37,22 @@ public var device_token: Swift.String - Remark: Generated from `#/components/schemas/FCMToken/device_token`. +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/FCMToken/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/FCMToken/id`. + ### `installation_id` ```swift @@ -33,25 +61,45 @@ public var installation_id: Components.Schemas.FCMToken.installation_idPayload? - Remark: Generated from `#/components/schemas/FCMToken/installation_id`. +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/FCMToken/updated_at`. + ## Methods -### `init(device_token:installation_id:)` +### `init(created_at:device_token:discarded_at:id:installation_id:updated_at:)` ```swift public init( + created_at: Foundation.Date, device_token: Swift.String, - installation_id: Components.Schemas.FCMToken.installation_idPayload? = nil + discarded_at: Foundation.Date? = nil, + id: Swift.String, + installation_id: Components.Schemas.FCMToken.installation_idPayload? = nil, + updated_at: Foundation.Date? = nil ) ``` Creates a new `FCMToken`. - Parameters: + - created_at: - device_token: + - discarded_at: + - id: - installation_id: + - updated_at: #### Parameters | Name | Description | | ---- | ----------- | +| created_at | | | device_token | | -| installation_id | | \ No newline at end of file +| discarded_at | | +| id | | +| installation_id | | +| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.FCMTokenCollection.md b/documentation/structs/Components.Schemas.FCMTokenCollection.md new file mode 100644 index 0000000..7df5d42 --- /dev/null +++ b/documentation/structs/Components.Schemas.FCMTokenCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.FCMTokenCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct FCMTokenCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/FCMTokenCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.FCMToken]? +``` + +- Remark: Generated from `#/components/schemas/FCMTokenCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/FCMTokenCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.FCMToken]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `FCMTokenCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.FCMTokenPayload.md b/documentation/structs/Components.Schemas.FCMTokenPayload.md new file mode 100644 index 0000000..786af82 --- /dev/null +++ b/documentation/structs/Components.Schemas.FCMTokenPayload.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.FCMTokenPayload` + +**Contents** + +- [Properties](#properties) + - `device_token` + - `installation_id` +- [Methods](#methods) + - `init(device_token:installation_id:)` + +```swift +public struct FCMTokenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/FCMTokenPayload`. + +## Properties +### `device_token` + +```swift +public var device_token: Swift.String +``` + +- Remark: Generated from `#/components/schemas/FCMTokenPayload/device_token`. + +### `installation_id` + +```swift +public var installation_id: Components.Schemas.FCMTokenPayload.installation_idPayload? +``` + +- Remark: Generated from `#/components/schemas/FCMTokenPayload/installation_id`. + +## Methods +### `init(device_token:installation_id:)` + +```swift +public init( + device_token: Swift.String, + installation_id: Components.Schemas.FCMTokenPayload.installation_idPayload? = nil +) +``` + +Creates a new `FCMTokenPayload`. + +- Parameters: + - device_token: + - installation_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| device_token | | +| installation_id | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.FCMTokenResponse.md b/documentation/structs/Components.Schemas.FCMTokenResponse.md deleted file mode 100644 index 18d1b81..0000000 --- a/documentation/structs/Components.Schemas.FCMTokenResponse.md +++ /dev/null @@ -1,105 +0,0 @@ -**STRUCT** - -# `Components.Schemas.FCMTokenResponse` - -**Contents** - -- [Properties](#properties) - - `created_at` - - `device_token` - - `discarded_at` - - `id` - - `installation_id` - - `updated_at` -- [Methods](#methods) - - `init(created_at:device_token:discarded_at:id:installation_id:updated_at:)` - -```swift -public struct FCMTokenResponse: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse`. - -## Properties -### `created_at` - -```swift -public var created_at: Foundation.Date -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse/created_at`. - -### `device_token` - -```swift -public var device_token: Swift.String -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse/device_token`. - -### `discarded_at` - -```swift -public var discarded_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse/discarded_at`. - -### `id` - -```swift -public var id: Swift.String -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse/id`. - -### `installation_id` - -```swift -public var installation_id: Components.Schemas.FCMTokenResponse.installation_idPayload? -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse/installation_id`. - -### `updated_at` - -```swift -public var updated_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/FCMTokenResponse/updated_at`. - -## Methods -### `init(created_at:device_token:discarded_at:id:installation_id:updated_at:)` - -```swift -public init( - created_at: Foundation.Date, - device_token: Swift.String, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - installation_id: Components.Schemas.FCMTokenResponse.installation_idPayload? = nil, - updated_at: Foundation.Date? = nil -) -``` - -Creates a new `FCMTokenResponse`. - -- Parameters: - - created_at: - - device_token: - - discarded_at: - - id: - - installation_id: - - updated_at: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| created_at | | -| device_token | | -| discarded_at | | -| id | | -| installation_id | | -| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.md b/documentation/structs/Components.Schemas.InboxConfig.md deleted file mode 100644 index 5c527ed..0000000 --- a/documentation/structs/Components.Schemas.InboxConfig.md +++ /dev/null @@ -1,69 +0,0 @@ -**STRUCT** - -# `Components.Schemas.InboxConfig` - -**Contents** - -- [Properties](#properties) - - `images` - - `locale` - - `theme` -- [Methods](#methods) - - `init(images:locale:theme:)` - -```swift -public struct InboxConfig: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/InboxConfig`. - -## Properties -### `images` - -```swift -public var images: Components.Schemas.InboxConfig.imagesPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/images`. - -### `locale` - -```swift -public var locale: Swift.String? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/locale`. - -### `theme` - -```swift -public var theme: Components.Schemas.InboxConfig.themePayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme`. - -## Methods -### `init(images:locale:theme:)` - -```swift -public init( - images: Components.Schemas.InboxConfig.imagesPayload? = nil, - locale: Swift.String? = nil, - theme: Components.Schemas.InboxConfig.themePayload? = nil -) -``` - -Creates a new `InboxConfig`. - -- Parameters: - - images: - - locale: - - theme: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| images | | -| locale | | -| theme | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.md b/documentation/structs/Components.Schemas.InboxConfig.themePayload.md deleted file mode 100644 index f37fa02..0000000 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.md +++ /dev/null @@ -1,117 +0,0 @@ -**STRUCT** - -# `Components.Schemas.InboxConfig.themePayload` - -**Contents** - -- [Properties](#properties) - - `banner` - - `dialog` - - `footer` - - `header` - - `icon` - - `notification` - - `unseenBadge` -- [Methods](#methods) - - `init(banner:dialog:footer:header:icon:notification:unseenBadge:)` - -```swift -public struct themePayload: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme`. - -## Properties -### `banner` - -```swift -public var banner: Components.Schemas.InboxConfig.themePayload.bannerPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/banner`. - -### `dialog` - -```swift -public var dialog: Components.Schemas.InboxConfig.themePayload.dialogPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog`. - -### `footer` - -```swift -public var footer: Components.Schemas.InboxConfig.themePayload.footerPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/footer`. - -### `header` - -```swift -public var header: Components.Schemas.InboxConfig.themePayload.headerPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header`. - -### `icon` - -```swift -public var icon: Components.Schemas.InboxConfig.themePayload.iconPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/icon`. - -### `notification` - -```swift -public var notification: Components.Schemas.InboxConfig.themePayload.notificationPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification`. - -### `unseenBadge` - -```swift -public var unseenBadge: Components.Schemas.InboxConfig.themePayload.unseenBadgePayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/unseenBadge`. - -## Methods -### `init(banner:dialog:footer:header:icon:notification:unseenBadge:)` - -```swift -public init( - banner: Components.Schemas.InboxConfig.themePayload.bannerPayload? = nil, - dialog: Components.Schemas.InboxConfig.themePayload.dialogPayload? = nil, - footer: Components.Schemas.InboxConfig.themePayload.footerPayload? = nil, - header: Components.Schemas.InboxConfig.themePayload.headerPayload? = nil, - icon: Components.Schemas.InboxConfig.themePayload.iconPayload? = nil, - notification: Components.Schemas.InboxConfig.themePayload.notificationPayload? = nil, - unseenBadge: Components.Schemas.InboxConfig.themePayload.unseenBadgePayload? = nil -) -``` - -Creates a new `themePayload`. - -- Parameters: - - banner: - - dialog: - - footer: - - header: - - icon: - - notification: - - unseenBadge: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| banner | | -| dialog | | -| footer | | -| header | | -| icon | | -| notification | | -| unseenBadge | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.md b/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.md deleted file mode 100644 index 107eb21..0000000 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.md +++ /dev/null @@ -1,69 +0,0 @@ -**STRUCT** - -# `Components.Schemas.InboxConfig.themePayload.notificationPayload` - -**Contents** - -- [Properties](#properties) - - `_default` - - `unread` - - `unseen` -- [Methods](#methods) - - `init(_default:unread:unseen:)` - -```swift -public struct notificationPayload: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification`. - -## Properties -### `_default` - -```swift -public var _default: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default`. - -### `unread` - -```swift -public var unread: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread`. - -### `unseen` - -```swift -public var unseen: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen`. - -## Methods -### `init(_default:unread:unseen:)` - -```swift -public init( - _default: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload, - unread: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload, - unseen: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload -) -``` - -Creates a new `notificationPayload`. - -- Parameters: - - _default: - - unread: - - unseen: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| _default | | -| unread | | -| unseen | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.md b/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.md deleted file mode 100644 index 0d4c06e..0000000 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.md +++ /dev/null @@ -1,81 +0,0 @@ -**STRUCT** - -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload` - -**Contents** - -- [Properties](#properties) - - `backgroundColor` - - `hover` - - `state` - - `textColor` -- [Methods](#methods) - - `init(backgroundColor:hover:state:textColor:)` - -```swift -public struct unreadPayload: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread`. - -## Properties -### `backgroundColor` - -```swift -public var backgroundColor: Swift.String -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/backgroundColor`. - -### `hover` - -```swift -public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/hover`. - -### `state` - -```swift -public var state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/state`. - -### `textColor` - -```swift -public var textColor: Swift.String -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/textColor`. - -## Methods -### `init(backgroundColor:hover:state:textColor:)` - -```swift -public init( - backgroundColor: Swift.String, - hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload? = nil, - state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload? = nil, - textColor: Swift.String -) -``` - -Creates a new `unreadPayload`. - -- Parameters: - - backgroundColor: - - hover: - - state: - - textColor: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| backgroundColor | | -| hover | | -| state | | -| textColor | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.md b/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.md deleted file mode 100644 index 58801d9..0000000 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.md +++ /dev/null @@ -1,81 +0,0 @@ -**STRUCT** - -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload` - -**Contents** - -- [Properties](#properties) - - `backgroundColor` - - `hover` - - `state` - - `textColor` -- [Methods](#methods) - - `init(backgroundColor:hover:state:textColor:)` - -```swift -public struct unseenPayload: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen`. - -## Properties -### `backgroundColor` - -```swift -public var backgroundColor: Swift.String -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/backgroundColor`. - -### `hover` - -```swift -public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/hover`. - -### `state` - -```swift -public var state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload? -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/state`. - -### `textColor` - -```swift -public var textColor: Swift.String -``` - -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/textColor`. - -## Methods -### `init(backgroundColor:hover:state:textColor:)` - -```swift -public init( - backgroundColor: Swift.String, - hover: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload? = nil, - state: Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload? = nil, - textColor: Swift.String -) -``` - -Creates a new `unseenPayload`. - -- Parameters: - - backgroundColor: - - hover: - - state: - - textColor: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| backgroundColor | | -| hover | | -| state | | -| textColor | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.imagesPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.imagesPayload.md similarity index 70% rename from documentation/structs/Components.Schemas.InboxConfig.imagesPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.imagesPayload.md index b8c2d76..953d323 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.imagesPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.imagesPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.imagesPayload` +# `Components.Schemas.InboxConfigPayload.imagesPayload` **Contents** @@ -13,7 +13,7 @@ public struct imagesPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/images`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/images`. ## Properties ### `emptyInboxUrl` @@ -22,7 +22,7 @@ public struct imagesPayload: Codable, Hashable, Sendable public var emptyInboxUrl: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/images/emptyInboxUrl`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/images/emptyInboxUrl`. ## Methods ### `init(emptyInboxUrl:)` diff --git a/documentation/structs/Components.Schemas.InboxConfigPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.md new file mode 100644 index 0000000..4904be3 --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.md @@ -0,0 +1,69 @@ +**STRUCT** + +# `Components.Schemas.InboxConfigPayload` + +**Contents** + +- [Properties](#properties) + - `images` + - `locale` + - `theme` +- [Methods](#methods) + - `init(images:locale:theme:)` + +```swift +public struct InboxConfigPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload`. + +## Properties +### `images` + +```swift +public var images: Components.Schemas.InboxConfigPayload.imagesPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/images`. + +### `locale` + +```swift +public var locale: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/locale`. + +### `theme` + +```swift +public var theme: Components.Schemas.InboxConfigPayload.themePayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme`. + +## Methods +### `init(images:locale:theme:)` + +```swift +public init( + images: Components.Schemas.InboxConfigPayload.imagesPayload? = nil, + locale: Swift.String? = nil, + theme: Components.Schemas.InboxConfigPayload.themePayload? = nil +) +``` + +Creates a new `InboxConfigPayload`. + +- Parameters: + - images: + - locale: + - theme: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| images | | +| locale | | +| theme | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.bannerPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.md similarity index 67% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.bannerPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.md index eef9125..b827242 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.bannerPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.bannerPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.bannerPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.bannerPayload` **Contents** @@ -16,7 +16,7 @@ public struct bannerPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/banner`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner`. ## Properties ### `backgroundColor` @@ -25,7 +25,7 @@ public struct bannerPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/backgroundColor`. ### `backgroundOpacity` @@ -33,7 +33,7 @@ public var backgroundColor: Swift.String public var backgroundOpacity: Swift.Double? ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/backgroundOpacity`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/backgroundOpacity`. ### `fontSize` @@ -41,7 +41,7 @@ public var backgroundOpacity: Swift.Double? public var fontSize: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/fontSize`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/fontSize`. ### `textColor` @@ -49,7 +49,7 @@ public var fontSize: Swift.String public var textColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/banner/textColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner/textColor`. ## Methods ### `init(backgroundColor:backgroundOpacity:fontSize:textColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.dialogPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.md similarity index 67% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.dialogPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.md index 00d6fa8..595bdda 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.dialogPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.dialogPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.dialogPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.dialogPayload` **Contents** @@ -15,7 +15,7 @@ public struct dialogPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog`. ## Properties ### `accentColor` @@ -24,7 +24,7 @@ public struct dialogPayload: Codable, Hashable, Sendable public var accentColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog/accentColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog/accentColor`. ### `backgroundColor` @@ -32,7 +32,7 @@ public var accentColor: Swift.String public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog/backgroundColor`. ### `textColor` @@ -40,7 +40,7 @@ public var backgroundColor: Swift.String public var textColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/dialog/textColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog/textColor`. ## Methods ### `init(accentColor:backgroundColor:textColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.footerPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.md similarity index 66% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.footerPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.md index 777aa80..d4325b4 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.footerPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.footerPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.footerPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.footerPayload` **Contents** @@ -16,7 +16,7 @@ public struct footerPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/footer`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer`. ## Properties ### `backgroundColor` @@ -25,7 +25,7 @@ public struct footerPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/backgroundColor`. ### `borderRadius` @@ -33,7 +33,7 @@ public var backgroundColor: Swift.String public var borderRadius: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/borderRadius`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/borderRadius`. ### `fontSize` @@ -41,7 +41,7 @@ public var borderRadius: Swift.String public var fontSize: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/fontSize`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/fontSize`. ### `textColor` @@ -49,7 +49,7 @@ public var fontSize: Swift.String public var textColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/footer/textColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer/textColor`. ## Methods ### `init(backgroundColor:borderRadius:fontSize:textColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.headerPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.md similarity index 66% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.headerPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.md index fed7ecc..ebfc573 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.headerPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.headerPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.headerPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.headerPayload` **Contents** @@ -17,7 +17,7 @@ public struct headerPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header`. ## Properties ### `backgroundColor` @@ -26,7 +26,7 @@ public struct headerPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/backgroundColor`. ### `borderRadius` @@ -34,7 +34,7 @@ public var backgroundColor: Swift.String public var borderRadius: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header/borderRadius`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/borderRadius`. ### `fontFamily` @@ -42,7 +42,7 @@ public var borderRadius: Swift.String public var fontFamily: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header/fontFamily`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/fontFamily`. ### `fontSize` @@ -50,7 +50,7 @@ public var fontFamily: Swift.String public var fontSize: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header/fontSize`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/fontSize`. ### `textColor` @@ -58,7 +58,7 @@ public var fontSize: Swift.String public var textColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/header/textColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header/textColor`. ## Methods ### `init(backgroundColor:borderRadius:fontFamily:fontSize:textColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.iconPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.md similarity index 66% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.iconPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.md index 6e03f23..16225e0 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.iconPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.iconPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.iconPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.iconPayload` **Contents** @@ -14,7 +14,7 @@ public struct iconPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/icon`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon`. ## Properties ### `borderColor` @@ -23,7 +23,7 @@ public struct iconPayload: Codable, Hashable, Sendable public var borderColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/icon/borderColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon/borderColor`. ### `width` @@ -31,7 +31,7 @@ public var borderColor: Swift.String public var width: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/icon/width`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon/width`. ## Methods ### `init(borderColor:width:)` diff --git a/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.md new file mode 100644 index 0000000..1846efc --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.md @@ -0,0 +1,117 @@ +**STRUCT** + +# `Components.Schemas.InboxConfigPayload.themePayload` + +**Contents** + +- [Properties](#properties) + - `banner` + - `dialog` + - `footer` + - `header` + - `icon` + - `notification` + - `unseenBadge` +- [Methods](#methods) + - `init(banner:dialog:footer:header:icon:notification:unseenBadge:)` + +```swift +public struct themePayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme`. + +## Properties +### `banner` + +```swift +public var banner: Components.Schemas.InboxConfigPayload.themePayload.bannerPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/banner`. + +### `dialog` + +```swift +public var dialog: Components.Schemas.InboxConfigPayload.themePayload.dialogPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/dialog`. + +### `footer` + +```swift +public var footer: Components.Schemas.InboxConfigPayload.themePayload.footerPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/footer`. + +### `header` + +```swift +public var header: Components.Schemas.InboxConfigPayload.themePayload.headerPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/header`. + +### `icon` + +```swift +public var icon: Components.Schemas.InboxConfigPayload.themePayload.iconPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/icon`. + +### `notification` + +```swift +public var notification: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification`. + +### `unseenBadge` + +```swift +public var unseenBadge: Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/unseenBadge`. + +## Methods +### `init(banner:dialog:footer:header:icon:notification:unseenBadge:)` + +```swift +public init( + banner: Components.Schemas.InboxConfigPayload.themePayload.bannerPayload? = nil, + dialog: Components.Schemas.InboxConfigPayload.themePayload.dialogPayload? = nil, + footer: Components.Schemas.InboxConfigPayload.themePayload.footerPayload? = nil, + header: Components.Schemas.InboxConfigPayload.themePayload.headerPayload? = nil, + icon: Components.Schemas.InboxConfigPayload.themePayload.iconPayload? = nil, + notification: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload? = nil, + unseenBadge: Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload? = nil +) +``` + +Creates a new `themePayload`. + +- Parameters: + - banner: + - dialog: + - footer: + - header: + - icon: + - notification: + - unseenBadge: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| banner | | +| dialog | | +| footer | | +| header | | +| icon | | +| notification | | +| unseenBadge | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.md similarity index 62% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.md index d52d3af..5420026 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload` **Contents** @@ -13,7 +13,7 @@ public struct hoverPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/hover`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/hover`. ## Properties ### `backgroundColor` @@ -22,7 +22,7 @@ public struct hoverPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/hover/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/hover/backgroundColor`. ## Methods ### `init(backgroundColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.md similarity index 50% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.md index 2a2b7b8..ad51cea 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload` **Contents** @@ -20,7 +20,7 @@ public struct _defaultPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default`. ## Properties ### `backgroundColor` @@ -29,7 +29,7 @@ public struct _defaultPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/backgroundColor`. ### `borderRadius` @@ -37,7 +37,7 @@ public var backgroundColor: Swift.String public var borderRadius: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/borderRadius`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/borderRadius`. ### `fontFamily` @@ -45,7 +45,7 @@ public var borderRadius: Swift.String public var fontFamily: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/fontFamily`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/fontFamily`. ### `fontSize` @@ -53,15 +53,15 @@ public var fontFamily: Swift.String public var fontSize: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/fontSize`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/fontSize`. ### `hover` ```swift -public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload? +public var hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload? ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/hover`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/hover`. ### `margin` @@ -69,15 +69,15 @@ public var hover: Components.Schemas.InboxConfig.themePayload.notificationPayloa public var margin: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/margin`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/margin`. ### `state` ```swift -public var state: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload? +public var state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload? ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/state`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/state`. ### `textColor` @@ -85,7 +85,7 @@ public var state: Components.Schemas.InboxConfig.themePayload.notificationPayloa public var textColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/textColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/textColor`. ## Methods ### `init(backgroundColor:borderRadius:fontFamily:fontSize:hover:margin:state:textColor:)` @@ -96,9 +96,9 @@ public init( borderRadius: Swift.String, fontFamily: Swift.String, fontSize: Swift.String, - hover: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.hoverPayload? = nil, + hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.hoverPayload? = nil, margin: Swift.String, - state: Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload? = nil, + state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload? = nil, textColor: Swift.String ) ``` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.md similarity index 59% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.md index a5f8b2e..c09f6be 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload._defaultPayload.statePayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload.statePayload` **Contents** @@ -13,7 +13,7 @@ public struct statePayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/state`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/state`. ## Properties ### `color` @@ -22,7 +22,7 @@ public struct statePayload: Codable, Hashable, Sendable public var color: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/default/state/color`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default/state/color`. ## Methods ### `init(color:)` diff --git a/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.md new file mode 100644 index 0000000..5c72175 --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.md @@ -0,0 +1,69 @@ +**STRUCT** + +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload` + +**Contents** + +- [Properties](#properties) + - `_default` + - `unread` + - `unseen` +- [Methods](#methods) + - `init(_default:unread:unseen:)` + +```swift +public struct notificationPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification`. + +## Properties +### `_default` + +```swift +public var _default: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/default`. + +### `unread` + +```swift +public var unread: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread`. + +### `unseen` + +```swift +public var unseen: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen`. + +## Methods +### `init(_default:unread:unseen:)` + +```swift +public init( + _default: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload._defaultPayload, + unread: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload, + unseen: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload +) +``` + +Creates a new `notificationPayload`. + +- Parameters: + - _default: + - unread: + - unseen: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| _default | | +| unread | | +| unseen | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.md similarity index 63% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.md index 061cd60..d0316b0 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.hoverPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload` **Contents** @@ -13,7 +13,7 @@ public struct hoverPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/hover`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/hover`. ## Properties ### `backgroundColor` @@ -22,7 +22,7 @@ public struct hoverPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/hover/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/hover/backgroundColor`. ## Methods ### `init(backgroundColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.md new file mode 100644 index 0000000..98ca957 --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.md @@ -0,0 +1,81 @@ +**STRUCT** + +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload` + +**Contents** + +- [Properties](#properties) + - `backgroundColor` + - `hover` + - `state` + - `textColor` +- [Methods](#methods) + - `init(backgroundColor:hover:state:textColor:)` + +```swift +public struct unreadPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread`. + +## Properties +### `backgroundColor` + +```swift +public var backgroundColor: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/backgroundColor`. + +### `hover` + +```swift +public var hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/hover`. + +### `state` + +```swift +public var state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/state`. + +### `textColor` + +```swift +public var textColor: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/textColor`. + +## Methods +### `init(backgroundColor:hover:state:textColor:)` + +```swift +public init( + backgroundColor: Swift.String, + hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.hoverPayload? = nil, + state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload? = nil, + textColor: Swift.String +) +``` + +Creates a new `unreadPayload`. + +- Parameters: + - backgroundColor: + - hover: + - state: + - textColor: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| backgroundColor | | +| hover | | +| state | | +| textColor | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.md similarity index 60% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.md index 03bab0d..8d97297 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.statePayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unreadPayload.statePayload` **Contents** @@ -13,7 +13,7 @@ public struct statePayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/state`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/state`. ## Properties ### `color` @@ -22,7 +22,7 @@ public struct statePayload: Codable, Hashable, Sendable public var color: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/state/color`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unread/state/color`. ## Methods ### `init(color:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.md similarity index 63% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.md index bdcd27a..bb45e93 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unseenPayload.hoverPayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload` **Contents** @@ -13,7 +13,7 @@ public struct hoverPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/hover`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/hover`. ## Properties ### `backgroundColor` @@ -22,7 +22,7 @@ public struct hoverPayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unseen/hover/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/hover/backgroundColor`. ## Methods ### `init(backgroundColor:)` diff --git a/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.md new file mode 100644 index 0000000..8adbda8 --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.md @@ -0,0 +1,81 @@ +**STRUCT** + +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload` + +**Contents** + +- [Properties](#properties) + - `backgroundColor` + - `hover` + - `state` + - `textColor` +- [Methods](#methods) + - `init(backgroundColor:hover:state:textColor:)` + +```swift +public struct unseenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen`. + +## Properties +### `backgroundColor` + +```swift +public var backgroundColor: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/backgroundColor`. + +### `hover` + +```swift +public var hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/hover`. + +### `state` + +```swift +public var state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload? +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/state`. + +### `textColor` + +```swift +public var textColor: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/textColor`. + +## Methods +### `init(backgroundColor:hover:state:textColor:)` + +```swift +public init( + backgroundColor: Swift.String, + hover: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.hoverPayload? = nil, + state: Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload? = nil, + textColor: Swift.String +) +``` + +Creates a new `unseenPayload`. + +- Parameters: + - backgroundColor: + - hover: + - state: + - textColor: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| backgroundColor | | +| hover | | +| state | | +| textColor | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.md similarity index 60% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.md index dd44ffa..aeed8cd 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.notificationPayload.unreadPayload.statePayload` +# `Components.Schemas.InboxConfigPayload.themePayload.notificationPayload.unseenPayload.statePayload` **Contents** @@ -13,7 +13,7 @@ public struct statePayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/state`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/state`. ## Properties ### `color` @@ -22,7 +22,7 @@ public struct statePayload: Codable, Hashable, Sendable public var color: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/notification/unread/state/color`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/notification/unseen/state/color`. ## Methods ### `init(color:)` diff --git a/documentation/structs/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.md b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.md similarity index 67% rename from documentation/structs/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.md rename to documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.md index c54256b..225878e 100644 --- a/documentation/structs/Components.Schemas.InboxConfig.themePayload.unseenBadgePayload.md +++ b/documentation/structs/Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.InboxConfig.themePayload.unseenBadgePayload` +# `Components.Schemas.InboxConfigPayload.themePayload.unseenBadgePayload` **Contents** @@ -13,7 +13,7 @@ public struct unseenBadgePayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/unseenBadge`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/unseenBadge`. ## Properties ### `backgroundColor` @@ -22,7 +22,7 @@ public struct unseenBadgePayload: Codable, Hashable, Sendable public var backgroundColor: Swift.String ``` -- Remark: Generated from `#/components/schemas/InboxConfig/theme/unseenBadge/backgroundColor`. +- Remark: Generated from `#/components/schemas/InboxConfigPayload/theme/unseenBadge/backgroundColor`. ## Methods ### `init(backgroundColor:)` diff --git a/documentation/structs/Components.Schemas.InboxToken.md b/documentation/structs/Components.Schemas.InboxToken.md new file mode 100644 index 0000000..4a1ec9f --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxToken.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.InboxToken` + +**Contents** + +- [Properties](#properties) + - `connection_id` + - `token` +- [Methods](#methods) + - `init(connection_id:token:)` + +```swift +public struct InboxToken: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxToken`. + +## Properties +### `connection_id` + +```swift +public var connection_id: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/InboxToken/connection_id`. + +### `token` + +```swift +public var token: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxToken/token`. + +## Methods +### `init(connection_id:token:)` + +```swift +public init( + connection_id: Swift.String? = nil, + token: Swift.String +) +``` + +Creates a new `InboxToken`. + +- Parameters: + - connection_id: + - token: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| connection_id | | +| token | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxTokenResponse.md b/documentation/structs/Components.Schemas.InboxTokenResponse.md new file mode 100644 index 0000000..c455946 --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxTokenResponse.md @@ -0,0 +1,105 @@ +**STRUCT** + +# `Components.Schemas.InboxTokenResponse` + +**Contents** + +- [Properties](#properties) + - `connection_id` + - `created_at` + - `discarded_at` + - `id` + - `token` + - `updated_at` +- [Methods](#methods) + - `init(connection_id:created_at:discarded_at:id:token:updated_at:)` + +```swift +public struct InboxTokenResponse: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse`. + +## Properties +### `connection_id` + +```swift +public var connection_id: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse/connection_id`. + +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse/created_at`. + +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse/id`. + +### `token` + +```swift +public var token: Swift.String +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse/token`. + +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponse/updated_at`. + +## Methods +### `init(connection_id:created_at:discarded_at:id:token:updated_at:)` + +```swift +public init( + connection_id: Swift.String? = nil, + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + token: Swift.String, + updated_at: Foundation.Date? = nil +) +``` + +Creates a new `InboxTokenResponse`. + +- Parameters: + - connection_id: + - created_at: + - discarded_at: + - id: + - token: + - updated_at: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| connection_id | | +| created_at | | +| discarded_at | | +| id | | +| token | | +| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.InboxTokenResponseCollection.md b/documentation/structs/Components.Schemas.InboxTokenResponseCollection.md new file mode 100644 index 0000000..ceb25ce --- /dev/null +++ b/documentation/structs/Components.Schemas.InboxTokenResponseCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.InboxTokenResponseCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct InboxTokenResponseCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponseCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.InboxTokenResponse]? +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponseCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/InboxTokenResponseCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.InboxTokenResponse]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `InboxTokenResponseCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.Notification.md b/documentation/structs/Components.Schemas.Notification.md new file mode 100644 index 0000000..1371d4e --- /dev/null +++ b/documentation/structs/Components.Schemas.Notification.md @@ -0,0 +1,213 @@ +**STRUCT** + +# `Components.Schemas.Notification` + +**Contents** + +- [Properties](#properties) + - `action_url` + - `archived_at` + - `category` + - `content` + - `created_at` + - `custom_attributes` + - `discarded_at` + - `id` + - `read_at` + - `seen_at` + - `sent_at` + - `title` + - `topic` + - `updated_at` + - `user_id` +- [Methods](#methods) + - `init(action_url:archived_at:category:content:created_at:custom_attributes:discarded_at:id:read_at:seen_at:sent_at:title:topic:updated_at:user_id:)` + +```swift +public struct Notification: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/Notification`. + +## Properties +### `action_url` + +```swift +public var action_url: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/Notification/action_url`. + +### `archived_at` + +```swift +public var archived_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/Notification/archived_at`. + +### `category` + +```swift +public var category: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/Notification/category`. + +### `content` + +```swift +public var content: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/Notification/content`. + +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/Notification/created_at`. + +### `custom_attributes` + +```swift +public var custom_attributes: OpenAPIRuntime.OpenAPIObjectContainer? +``` + +- Remark: Generated from `#/components/schemas/Notification/custom_attributes`. + +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/Notification/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/Notification/id`. + +### `read_at` + +```swift +public var read_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/Notification/read_at`. + +### `seen_at` + +```swift +public var seen_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/Notification/seen_at`. + +### `sent_at` + +```swift +public var sent_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/Notification/sent_at`. + +### `title` + +```swift +public var title: Swift.String +``` + +- Remark: Generated from `#/components/schemas/Notification/title`. + +### `topic` + +```swift +public var topic: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/Notification/topic`. + +### `updated_at` + +```swift +public var updated_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/Notification/updated_at`. + +### `user_id` + +```swift +public var user_id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/Notification/user_id`. + +## Methods +### `init(action_url:archived_at:category:content:created_at:custom_attributes:discarded_at:id:read_at:seen_at:sent_at:title:topic:updated_at:user_id:)` + +```swift +public init( + action_url: Swift.String? = nil, + archived_at: Foundation.Date? = nil, + category: Swift.String? = nil, + content: Swift.String? = nil, + created_at: Foundation.Date, + custom_attributes: OpenAPIRuntime.OpenAPIObjectContainer? = nil, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + read_at: Foundation.Date? = nil, + seen_at: Foundation.Date? = nil, + sent_at: Foundation.Date? = nil, + title: Swift.String, + topic: Swift.String? = nil, + updated_at: Foundation.Date, + user_id: Swift.String +) +``` + +Creates a new `Notification`. + +- Parameters: + - action_url: + - archived_at: + - category: + - content: + - created_at: + - custom_attributes: + - discarded_at: + - id: + - read_at: + - seen_at: + - sent_at: + - title: + - topic: + - updated_at: + - user_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| action_url | | +| archived_at | | +| category | | +| content | | +| created_at | | +| custom_attributes | | +| discarded_at | | +| id | | +| read_at | | +| seen_at | | +| sent_at | | +| title | | +| topic | | +| updated_at | | +| user_id | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.NotificationCollection.md b/documentation/structs/Components.Schemas.NotificationCollection.md new file mode 100644 index 0000000..f3d67c0 --- /dev/null +++ b/documentation/structs/Components.Schemas.NotificationCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.NotificationCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct NotificationCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/NotificationCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.Notification]? +``` + +- Remark: Generated from `#/components/schemas/NotificationCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/NotificationCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.Notification]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `NotificationCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.SlackToken.md b/documentation/structs/Components.Schemas.SlackToken.md index 623d38d..555c639 100644 --- a/documentation/structs/Components.Schemas.SlackToken.md +++ b/documentation/structs/Components.Schemas.SlackToken.md @@ -5,11 +5,14 @@ **Contents** - [Properties](#properties) + - `created_at` + - `discarded_at` + - `id` - `oauth` + - `updated_at` - `webhook` - [Methods](#methods) - - `init(oauth:webhook:)` - - `init(from:)` + - `init(created_at:discarded_at:id:oauth:updated_at:webhook:)` ```swift public struct SlackToken: Codable, Hashable, Sendable @@ -18,6 +21,30 @@ public struct SlackToken: Codable, Hashable, Sendable - Remark: Generated from `#/components/schemas/SlackToken`. ## Properties +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/SlackToken/created_at`. + +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/SlackToken/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/SlackToken/id`. + ### `oauth` ```swift @@ -26,6 +53,14 @@ public var oauth: Components.Schemas.SlackToken.oauthPayload? - Remark: Generated from `#/components/schemas/SlackToken/oauth`. +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/SlackToken/updated_at`. + ### `webhook` ```swift @@ -37,11 +72,15 @@ Obtained directly from the incoming_webhook object in the installation response - Remark: Generated from `#/components/schemas/SlackToken/webhook`. ## Methods -### `init(oauth:webhook:)` +### `init(created_at:discarded_at:id:oauth:updated_at:webhook:)` ```swift public init( + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, + id: Swift.String, oauth: Components.Schemas.SlackToken.oauthPayload? = nil, + updated_at: Foundation.Date? = nil, webhook: Components.Schemas.SlackToken.webhookPayload? = nil ) ``` @@ -49,24 +88,20 @@ public init( Creates a new `SlackToken`. - Parameters: + - created_at: + - discarded_at: + - id: - oauth: + - updated_at: - webhook: Obtained directly from the incoming_webhook object in the installation response from the Slack API. #### Parameters | Name | Description | | ---- | ----------- | +| created_at | | +| discarded_at | | +| id | | | oauth | | -| webhook | Obtained directly from the incoming_webhook object in the installation response from the Slack API. | - -### `init(from:)` - -```swift -public init(from decoder: any Decoder) throws -``` - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| decoder | The decoder to read data from. | \ No newline at end of file +| updated_at | | +| webhook | Obtained directly from the incoming_webhook object in the installation response from the Slack API. | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.SlackTokenCollection.md b/documentation/structs/Components.Schemas.SlackTokenCollection.md new file mode 100644 index 0000000..0425911 --- /dev/null +++ b/documentation/structs/Components.Schemas.SlackTokenCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.SlackTokenCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct SlackTokenCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/SlackTokenCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.SlackToken]? +``` + +- Remark: Generated from `#/components/schemas/SlackTokenCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/SlackTokenCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.SlackToken]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `SlackTokenCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.SlackTokenPayload.md b/documentation/structs/Components.Schemas.SlackTokenPayload.md new file mode 100644 index 0000000..758feae --- /dev/null +++ b/documentation/structs/Components.Schemas.SlackTokenPayload.md @@ -0,0 +1,72 @@ +**STRUCT** + +# `Components.Schemas.SlackTokenPayload` + +**Contents** + +- [Properties](#properties) + - `oauth` + - `webhook` +- [Methods](#methods) + - `init(oauth:webhook:)` + - `init(from:)` + +```swift +public struct SlackTokenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/SlackTokenPayload`. + +## Properties +### `oauth` + +```swift +public var oauth: Components.Schemas.SlackTokenPayload.oauthPayload? +``` + +- Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth`. + +### `webhook` + +```swift +public var webhook: Components.Schemas.SlackTokenPayload.webhookPayload? +``` + +Obtained directly from the incoming_webhook object in the installation response from the Slack API. + +- Remark: Generated from `#/components/schemas/SlackTokenPayload/webhook`. + +## Methods +### `init(oauth:webhook:)` + +```swift +public init( + oauth: Components.Schemas.SlackTokenPayload.oauthPayload? = nil, + webhook: Components.Schemas.SlackTokenPayload.webhookPayload? = nil +) +``` + +Creates a new `SlackTokenPayload`. + +- Parameters: + - oauth: + - webhook: Obtained directly from the incoming_webhook object in the installation response from the Slack API. + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| oauth | | +| webhook | Obtained directly from the incoming_webhook object in the installation response from the Slack API. | + +### `init(from:)` + +```swift +public init(from decoder: any Decoder) throws +``` + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| decoder | The decoder to read data from. | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.SlackTokenResponse.oauthPayload.md b/documentation/structs/Components.Schemas.SlackTokenPayload.oauthPayload.md similarity index 69% rename from documentation/structs/Components.Schemas.SlackTokenResponse.oauthPayload.md rename to documentation/structs/Components.Schemas.SlackTokenPayload.oauthPayload.md index dc41364..19e4876 100644 --- a/documentation/structs/Components.Schemas.SlackTokenResponse.oauthPayload.md +++ b/documentation/structs/Components.Schemas.SlackTokenPayload.oauthPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.SlackTokenResponse.oauthPayload` +# `Components.Schemas.SlackTokenPayload.oauthPayload` **Contents** @@ -15,7 +15,7 @@ public struct oauthPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth`. +- Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth`. ## Properties ### `channel_id` @@ -24,7 +24,7 @@ public struct oauthPayload: Codable, Hashable, Sendable public var channel_id: Swift.String ``` -- Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth/channel_id`. +- Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth/channel_id`. ### `installation_id` @@ -32,7 +32,7 @@ public var channel_id: Swift.String public var installation_id: Swift.String ``` -- Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth/installation_id`. +- Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth/installation_id`. ### `scope` @@ -40,7 +40,7 @@ public var installation_id: Swift.String public var scope: Swift.String? ``` -- Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth/scope`. +- Remark: Generated from `#/components/schemas/SlackTokenPayload/oauth/scope`. ## Methods ### `init(channel_id:installation_id:scope:)` diff --git a/documentation/structs/Components.Schemas.SlackTokenResponse.webhookPayload.md b/documentation/structs/Components.Schemas.SlackTokenPayload.webhookPayload.md similarity index 72% rename from documentation/structs/Components.Schemas.SlackTokenResponse.webhookPayload.md rename to documentation/structs/Components.Schemas.SlackTokenPayload.webhookPayload.md index e40b67a..6499899 100644 --- a/documentation/structs/Components.Schemas.SlackTokenResponse.webhookPayload.md +++ b/documentation/structs/Components.Schemas.SlackTokenPayload.webhookPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.SlackTokenResponse.webhookPayload` +# `Components.Schemas.SlackTokenPayload.webhookPayload` **Contents** @@ -15,7 +15,7 @@ public struct webhookPayload: Codable, Hashable, Sendable Obtained directly from the incoming_webhook object in the installation response from the Slack API. -- Remark: Generated from `#/components/schemas/SlackTokenResponse/webhook`. +- Remark: Generated from `#/components/schemas/SlackTokenPayload/webhook`. ## Properties ### `url` @@ -24,7 +24,7 @@ Obtained directly from the incoming_webhook object in the installation response public var url: Swift.String ``` -- Remark: Generated from `#/components/schemas/SlackTokenResponse/webhook/url`. +- Remark: Generated from `#/components/schemas/SlackTokenPayload/webhook/url`. ## Methods ### `init(url:)` diff --git a/documentation/structs/Components.Schemas.SlackTokenResponse.md b/documentation/structs/Components.Schemas.SlackTokenResponse.md deleted file mode 100644 index 949483b..0000000 --- a/documentation/structs/Components.Schemas.SlackTokenResponse.md +++ /dev/null @@ -1,107 +0,0 @@ -**STRUCT** - -# `Components.Schemas.SlackTokenResponse` - -**Contents** - -- [Properties](#properties) - - `created_at` - - `discarded_at` - - `id` - - `oauth` - - `updated_at` - - `webhook` -- [Methods](#methods) - - `init(created_at:discarded_at:id:oauth:updated_at:webhook:)` - -```swift -public struct SlackTokenResponse: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/SlackTokenResponse`. - -## Properties -### `created_at` - -```swift -public var created_at: Foundation.Date -``` - -- Remark: Generated from `#/components/schemas/SlackTokenResponse/created_at`. - -### `discarded_at` - -```swift -public var discarded_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/SlackTokenResponse/discarded_at`. - -### `id` - -```swift -public var id: Swift.String -``` - -- Remark: Generated from `#/components/schemas/SlackTokenResponse/id`. - -### `oauth` - -```swift -public var oauth: Components.Schemas.SlackTokenResponse.oauthPayload? -``` - -- Remark: Generated from `#/components/schemas/SlackTokenResponse/oauth`. - -### `updated_at` - -```swift -public var updated_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/SlackTokenResponse/updated_at`. - -### `webhook` - -```swift -public var webhook: Components.Schemas.SlackTokenResponse.webhookPayload? -``` - -Obtained directly from the incoming_webhook object in the installation response from the Slack API. - -- Remark: Generated from `#/components/schemas/SlackTokenResponse/webhook`. - -## Methods -### `init(created_at:discarded_at:id:oauth:updated_at:webhook:)` - -```swift -public init( - created_at: Foundation.Date, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - oauth: Components.Schemas.SlackTokenResponse.oauthPayload? = nil, - updated_at: Foundation.Date? = nil, - webhook: Components.Schemas.SlackTokenResponse.webhookPayload? = nil -) -``` - -Creates a new `SlackTokenResponse`. - -- Parameters: - - created_at: - - discarded_at: - - id: - - oauth: - - updated_at: - - webhook: Obtained directly from the incoming_webhook object in the installation response from the Slack API. - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| created_at | | -| discarded_at | | -| id | | -| oauth | | -| updated_at | | -| webhook | Obtained directly from the incoming_webhook object in the installation response from the Slack API. | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.TeamsToken.md b/documentation/structs/Components.Schemas.TeamsToken.md index 05231a1..a387288 100644 --- a/documentation/structs/Components.Schemas.TeamsToken.md +++ b/documentation/structs/Components.Schemas.TeamsToken.md @@ -5,9 +5,13 @@ **Contents** - [Properties](#properties) + - `created_at` + - `discarded_at` + - `id` + - `updated_at` - `webhook` - [Methods](#methods) - - `init(webhook:)` + - `init(created_at:discarded_at:id:updated_at:webhook:)` ```swift public struct TeamsToken: Codable, Hashable, Sendable @@ -16,6 +20,38 @@ public struct TeamsToken: Codable, Hashable, Sendable - Remark: Generated from `#/components/schemas/TeamsToken`. ## Properties +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/TeamsToken/created_at`. + +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/TeamsToken/discarded_at`. + +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/TeamsToken/id`. + +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/TeamsToken/updated_at`. + ### `webhook` ```swift @@ -25,19 +61,33 @@ public var webhook: Components.Schemas.TeamsToken.webhookPayload? - Remark: Generated from `#/components/schemas/TeamsToken/webhook`. ## Methods -### `init(webhook:)` +### `init(created_at:discarded_at:id:updated_at:webhook:)` ```swift -public init(webhook: Components.Schemas.TeamsToken.webhookPayload? = nil) +public init( + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, + id: Swift.String, + updated_at: Foundation.Date? = nil, + webhook: Components.Schemas.TeamsToken.webhookPayload? = nil +) ``` Creates a new `TeamsToken`. - Parameters: + - created_at: + - discarded_at: + - id: + - updated_at: - webhook: #### Parameters | Name | Description | | ---- | ----------- | +| created_at | | +| discarded_at | | +| id | | +| updated_at | | | webhook | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.TeamsTokenCollection.md b/documentation/structs/Components.Schemas.TeamsTokenCollection.md new file mode 100644 index 0000000..4b050b1 --- /dev/null +++ b/documentation/structs/Components.Schemas.TeamsTokenCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.TeamsTokenCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct TeamsTokenCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/TeamsTokenCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.TeamsToken]? +``` + +- Remark: Generated from `#/components/schemas/TeamsTokenCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/TeamsTokenCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.TeamsToken]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `TeamsTokenCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.TeamsTokenPayload.md b/documentation/structs/Components.Schemas.TeamsTokenPayload.md new file mode 100644 index 0000000..45a8d5b --- /dev/null +++ b/documentation/structs/Components.Schemas.TeamsTokenPayload.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Components.Schemas.TeamsTokenPayload` + +**Contents** + +- [Properties](#properties) + - `webhook` +- [Methods](#methods) + - `init(webhook:)` + +```swift +public struct TeamsTokenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/TeamsTokenPayload`. + +## Properties +### `webhook` + +```swift +public var webhook: Components.Schemas.TeamsTokenPayload.webhookPayload? +``` + +- Remark: Generated from `#/components/schemas/TeamsTokenPayload/webhook`. + +## Methods +### `init(webhook:)` + +```swift +public init(webhook: Components.Schemas.TeamsTokenPayload.webhookPayload? = nil) +``` + +Creates a new `TeamsTokenPayload`. + +- Parameters: + - webhook: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| webhook | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.TeamsTokenResponse.webhookPayload.md b/documentation/structs/Components.Schemas.TeamsTokenPayload.webhookPayload.md similarity index 68% rename from documentation/structs/Components.Schemas.TeamsTokenResponse.webhookPayload.md rename to documentation/structs/Components.Schemas.TeamsTokenPayload.webhookPayload.md index 22729ff..1b4a22d 100644 --- a/documentation/structs/Components.Schemas.TeamsTokenResponse.webhookPayload.md +++ b/documentation/structs/Components.Schemas.TeamsTokenPayload.webhookPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.TeamsTokenResponse.webhookPayload` +# `Components.Schemas.TeamsTokenPayload.webhookPayload` **Contents** @@ -13,7 +13,7 @@ public struct webhookPayload: Codable, Hashable, Sendable ``` -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/webhook`. +- Remark: Generated from `#/components/schemas/TeamsTokenPayload/webhook`. ## Properties ### `url` @@ -22,7 +22,7 @@ public struct webhookPayload: Codable, Hashable, Sendable public var url: Swift.String? ``` -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/webhook/url`. +- Remark: Generated from `#/components/schemas/TeamsTokenPayload/webhook/url`. ## Methods ### `init(url:)` diff --git a/documentation/structs/Components.Schemas.TeamsTokenResponse.md b/documentation/structs/Components.Schemas.TeamsTokenResponse.md deleted file mode 100644 index e9c5cae..0000000 --- a/documentation/structs/Components.Schemas.TeamsTokenResponse.md +++ /dev/null @@ -1,93 +0,0 @@ -**STRUCT** - -# `Components.Schemas.TeamsTokenResponse` - -**Contents** - -- [Properties](#properties) - - `created_at` - - `discarded_at` - - `id` - - `updated_at` - - `webhook` -- [Methods](#methods) - - `init(created_at:discarded_at:id:updated_at:webhook:)` - -```swift -public struct TeamsTokenResponse: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/TeamsTokenResponse`. - -## Properties -### `created_at` - -```swift -public var created_at: Foundation.Date -``` - -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/created_at`. - -### `discarded_at` - -```swift -public var discarded_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/discarded_at`. - -### `id` - -```swift -public var id: Swift.String -``` - -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/id`. - -### `updated_at` - -```swift -public var updated_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/updated_at`. - -### `webhook` - -```swift -public var webhook: Components.Schemas.TeamsTokenResponse.webhookPayload? -``` - -- Remark: Generated from `#/components/schemas/TeamsTokenResponse/webhook`. - -## Methods -### `init(created_at:discarded_at:id:updated_at:webhook:)` - -```swift -public init( - created_at: Foundation.Date, - discarded_at: Foundation.Date? = nil, - id: Swift.String, - updated_at: Foundation.Date? = nil, - webhook: Components.Schemas.TeamsTokenResponse.webhookPayload? = nil -) -``` - -Creates a new `TeamsTokenResponse`. - -- Parameters: - - created_at: - - discarded_at: - - id: - - updated_at: - - webhook: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| created_at | | -| discarded_at | | -| id | | -| updated_at | | -| webhook | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.TemplatesInstallation.md b/documentation/structs/Components.Schemas.TemplatesInstallation.md deleted file mode 100644 index f7c02b7..0000000 --- a/documentation/structs/Components.Schemas.TemplatesInstallation.md +++ /dev/null @@ -1,69 +0,0 @@ -**STRUCT** - -# `Components.Schemas.TemplatesInstallation` - -**Contents** - -- [Properties](#properties) - - `category` - - `channel` - - `text` -- [Methods](#methods) - - `init(category:channel:text:)` - -```swift -public struct TemplatesInstallation: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/TemplatesInstallation`. - -## Properties -### `category` - -```swift -public var category: Swift.String? -``` - -- Remark: Generated from `#/components/schemas/TemplatesInstallation/category`. - -### `channel` - -```swift -public var channel: Swift.String -``` - -- Remark: Generated from `#/components/schemas/TemplatesInstallation/channel`. - -### `text` - -```swift -public var text: Swift.String -``` - -- Remark: Generated from `#/components/schemas/TemplatesInstallation/text`. - -## Methods -### `init(category:channel:text:)` - -```swift -public init( - category: Swift.String? = nil, - channel: Swift.String, - text: Swift.String -) -``` - -Creates a new `TemplatesInstallation`. - -- Parameters: - - category: - - channel: - - text: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| category | | -| channel | | -| text | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.md b/documentation/structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.md new file mode 100644 index 0000000..b9a8780 --- /dev/null +++ b/documentation/structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload` + +**Contents** + +- [Properties](#properties) + - `enabled` + - `name` +- [Methods](#methods) + - `init(enabled:name:)` + +```swift +public struct channelsPayloadPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channelsPayload`. + +## Properties +### `enabled` + +```swift +public var enabled: Swift.Bool? +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channelsPayload/enabled`. + +### `name` + +```swift +public var name: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channelsPayload/name`. + +## Methods +### `init(enabled:name:)` + +```swift +public init( + enabled: Swift.Bool? = nil, + name: Swift.String? = nil +) +``` + +Creates a new `channelsPayloadPayload`. + +- Parameters: + - enabled: + - name: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| enabled | | +| name | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.md b/documentation/structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.md new file mode 100644 index 0000000..065be22 --- /dev/null +++ b/documentation/structs/Components.Schemas.UserPreferences.categoriesPayloadPayload.md @@ -0,0 +1,69 @@ +**STRUCT** + +# `Components.Schemas.UserPreferences.categoriesPayloadPayload` + +**Contents** + +- [Properties](#properties) + - `channels` + - `key` + - `label` +- [Methods](#methods) + - `init(channels:key:label:)` + +```swift +public struct categoriesPayloadPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload`. + +## Properties +### `channels` + +```swift +public var channels: Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload? +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channels`. + +### `key` + +```swift +public var key: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/key`. + +### `label` + +```swift +public var label: Swift.String? +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/label`. + +## Methods +### `init(channels:key:label:)` + +```swift +public init( + channels: Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload? = nil, + key: Swift.String? = nil, + label: Swift.String? = nil +) +``` + +Creates a new `categoriesPayloadPayload`. + +- Parameters: + - channels: + - key: + - label: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| channels | | +| key | | +| label | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.UserPreferences.md b/documentation/structs/Components.Schemas.UserPreferences.md new file mode 100644 index 0000000..725a165 --- /dev/null +++ b/documentation/structs/Components.Schemas.UserPreferences.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Components.Schemas.UserPreferences` + +**Contents** + +- [Properties](#properties) + - `categories` +- [Methods](#methods) + - `init(categories:)` + +```swift +public struct UserPreferences: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/UserPreferences`. + +## Properties +### `categories` + +```swift +public var categories: Components.Schemas.UserPreferences.categoriesPayload? +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categories`. + +## Methods +### `init(categories:)` + +```swift +public init(categories: Components.Schemas.UserPreferences.categoriesPayload? = nil) +``` + +Creates a new `UserPreferences`. + +- Parameters: + - categories: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| categories | | \ No newline at end of file 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.WebPushToken.md b/documentation/structs/Components.Schemas.WebPushToken.md index cf642ef..b047c1c 100644 --- a/documentation/structs/Components.Schemas.WebPushToken.md +++ b/documentation/structs/Components.Schemas.WebPushToken.md @@ -5,10 +5,14 @@ **Contents** - [Properties](#properties) + - `created_at` + - `discarded_at` - `endpoint` + - `id` - `keys` + - `updated_at` - [Methods](#methods) - - `init(endpoint:keys:)` + - `init(created_at:discarded_at:endpoint:id:keys:updated_at:)` ```swift public struct WebPushToken: Codable, Hashable, Sendable @@ -17,6 +21,22 @@ public struct WebPushToken: Codable, Hashable, Sendable - Remark: Generated from `#/components/schemas/WebPushToken`. ## Properties +### `created_at` + +```swift +public var created_at: Foundation.Date +``` + +- Remark: Generated from `#/components/schemas/WebPushToken/created_at`. + +### `discarded_at` + +```swift +public var discarded_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/WebPushToken/discarded_at`. + ### `endpoint` ```swift @@ -27,6 +47,14 @@ The push subscription URL obtained from PushSubscription.endpoint after calling - Remark: Generated from `#/components/schemas/WebPushToken/endpoint`. +### `id` + +```swift +public var id: Swift.String +``` + +- Remark: Generated from `#/components/schemas/WebPushToken/id`. + ### `keys` ```swift @@ -37,25 +65,45 @@ The encryption keys from the PushSubscription.getKey() method, needed to encrypt - Remark: Generated from `#/components/schemas/WebPushToken/keys`. +### `updated_at` + +```swift +public var updated_at: Foundation.Date? +``` + +- Remark: Generated from `#/components/schemas/WebPushToken/updated_at`. + ## Methods -### `init(endpoint:keys:)` +### `init(created_at:discarded_at:endpoint:id:keys:updated_at:)` ```swift public init( + created_at: Foundation.Date, + discarded_at: Foundation.Date? = nil, endpoint: Swift.String, - keys: Components.Schemas.WebPushToken.keysPayload + id: Swift.String, + keys: Components.Schemas.WebPushToken.keysPayload, + updated_at: Foundation.Date? = nil ) ``` Creates a new `WebPushToken`. - Parameters: + - created_at: + - discarded_at: - endpoint: The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. + - id: - keys: The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. + - updated_at: #### Parameters | Name | Description | | ---- | ----------- | +| created_at | | +| discarded_at | | | endpoint | The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. | -| keys | The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. | \ No newline at end of file +| id | | +| keys | The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. | +| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.WebPushTokenCollection.md b/documentation/structs/Components.Schemas.WebPushTokenCollection.md new file mode 100644 index 0000000..8882945 --- /dev/null +++ b/documentation/structs/Components.Schemas.WebPushTokenCollection.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Components.Schemas.WebPushTokenCollection` + +**Contents** + +- [Properties](#properties) + - `data` + - `links` +- [Methods](#methods) + - `init(data:links:)` + +```swift +public struct WebPushTokenCollection: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/WebPushTokenCollection`. + +## Properties +### `data` + +```swift +public var data: [Components.Schemas.WebPushToken]? +``` + +- Remark: Generated from `#/components/schemas/WebPushTokenCollection/data`. + +### `links` + +```swift +public var links: Components.Schemas.Links? +``` + +- Remark: Generated from `#/components/schemas/WebPushTokenCollection/links`. + +## Methods +### `init(data:links:)` + +```swift +public init( + data: [Components.Schemas.WebPushToken]? = nil, + links: Components.Schemas.Links? = nil +) +``` + +Creates a new `WebPushTokenCollection`. + +- Parameters: + - data: + - links: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| data | | +| links | | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md b/documentation/structs/Components.Schemas.WebPushTokenPayload.keysPayload.md similarity index 74% rename from documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md rename to documentation/structs/Components.Schemas.WebPushTokenPayload.keysPayload.md index edf3699..3dea8fa 100644 --- a/documentation/structs/Components.Schemas.WebPushTokenResponse.keysPayload.md +++ b/documentation/structs/Components.Schemas.WebPushTokenPayload.keysPayload.md @@ -1,6 +1,6 @@ **STRUCT** -# `Components.Schemas.WebPushTokenResponse.keysPayload` +# `Components.Schemas.WebPushTokenPayload.keysPayload` **Contents** @@ -16,36 +16,36 @@ public struct keysPayload: Codable, Hashable, Sendable The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys`. +- Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys`. ## Properties ### `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. -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys/auth`. +- Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys/auth`. ### `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. -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys/p256dh`. +- Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys/p256dh`. ## Methods ### `init(auth:p256dh:)` ```swift public init( - auth: Swift.String, - p256dh: Swift.String + auth: OpenAPIRuntime.Base64EncodedData, + p256dh: OpenAPIRuntime.Base64EncodedData ) ``` diff --git a/documentation/structs/Components.Schemas.WebPushTokenPayload.md b/documentation/structs/Components.Schemas.WebPushTokenPayload.md new file mode 100644 index 0000000..84df0d0 --- /dev/null +++ b/documentation/structs/Components.Schemas.WebPushTokenPayload.md @@ -0,0 +1,61 @@ +**STRUCT** + +# `Components.Schemas.WebPushTokenPayload` + +**Contents** + +- [Properties](#properties) + - `endpoint` + - `keys` +- [Methods](#methods) + - `init(endpoint:keys:)` + +```swift +public struct WebPushTokenPayload: Codable, Hashable, Sendable +``` + +- Remark: Generated from `#/components/schemas/WebPushTokenPayload`. + +## Properties +### `endpoint` + +```swift +public var endpoint: Swift.String +``` + +The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. + +- Remark: Generated from `#/components/schemas/WebPushTokenPayload/endpoint`. + +### `keys` + +```swift +public var keys: Components.Schemas.WebPushTokenPayload.keysPayload +``` + +The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. + +- Remark: Generated from `#/components/schemas/WebPushTokenPayload/keys`. + +## Methods +### `init(endpoint:keys:)` + +```swift +public init( + endpoint: Swift.String, + keys: Components.Schemas.WebPushTokenPayload.keysPayload +) +``` + +Creates a new `WebPushTokenPayload`. + +- Parameters: + - endpoint: The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. + - keys: The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| endpoint | The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. | +| keys | The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. | \ No newline at end of file diff --git a/documentation/structs/Components.Schemas.WebPushTokenResponse.md b/documentation/structs/Components.Schemas.WebPushTokenResponse.md deleted file mode 100644 index 030d97b..0000000 --- a/documentation/structs/Components.Schemas.WebPushTokenResponse.md +++ /dev/null @@ -1,109 +0,0 @@ -**STRUCT** - -# `Components.Schemas.WebPushTokenResponse` - -**Contents** - -- [Properties](#properties) - - `created_at` - - `discarded_at` - - `endpoint` - - `id` - - `keys` - - `updated_at` -- [Methods](#methods) - - `init(created_at:discarded_at:endpoint:id:keys:updated_at:)` - -```swift -public struct WebPushTokenResponse: Codable, Hashable, Sendable -``` - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse`. - -## Properties -### `created_at` - -```swift -public var created_at: Foundation.Date -``` - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/created_at`. - -### `discarded_at` - -```swift -public var discarded_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/discarded_at`. - -### `endpoint` - -```swift -public var endpoint: Swift.String -``` - -The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/endpoint`. - -### `id` - -```swift -public var id: Swift.String -``` - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/id`. - -### `keys` - -```swift -public var keys: Components.Schemas.WebPushTokenResponse.keysPayload -``` - -The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/keys`. - -### `updated_at` - -```swift -public var updated_at: Foundation.Date? -``` - -- Remark: Generated from `#/components/schemas/WebPushTokenResponse/updated_at`. - -## Methods -### `init(created_at:discarded_at:endpoint:id:keys:updated_at:)` - -```swift -public init( - created_at: Foundation.Date, - discarded_at: Foundation.Date? = nil, - endpoint: Swift.String, - id: Swift.String, - keys: Components.Schemas.WebPushTokenResponse.keysPayload, - updated_at: Foundation.Date? = nil -) -``` - -Creates a new `WebPushTokenResponse`. - -- Parameters: - - created_at: - - discarded_at: - - endpoint: The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. - - id: - - keys: The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. - - updated_at: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| created_at | | -| discarded_at | | -| endpoint | The push subscription URL obtained from PushSubscription.endpoint after calling registration.pushManager.subscribe(). This is the unique URL for this device that push messages will be sent to. | -| id | | -| keys | The encryption keys from the PushSubscription.getKey() method, needed to encrypt push messages for this subscription. | -| updated_at | | \ No newline at end of file diff --git a/documentation/structs/Operations.archive_all_notifications.Input.Query.md b/documentation/structs/Operations.archive_all_notifications.Input.Query.md new file mode 100644 index 0000000..d3201a7 --- /dev/null +++ b/documentation/structs/Operations.archive_all_notifications.Input.Query.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Operations.archive_all_notifications.Input.Query` + +**Contents** + +- [Properties](#properties) + - `category` + - `topic` +- [Methods](#methods) + - `init(category:topic:)` + +```swift +public struct Query: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/archive/POST/query`. + +## Properties +### `category` + +```swift +public var category: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/archive/POST/query/category`. + +### `topic` + +```swift +public var topic: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/archive/POST/query/topic`. + +## Methods +### `init(category:topic:)` + +```swift +public init( + category: Swift.String? = nil, + topic: Swift.String? = nil +) +``` + +Creates a new `Query`. + +- Parameters: + - category: + - topic: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| category | | +| topic | | \ No newline at end of file diff --git a/documentation/structs/Operations.archive_all_notifications.Input.md b/documentation/structs/Operations.archive_all_notifications.Input.md new file mode 100644 index 0000000..24efc89 --- /dev/null +++ b/documentation/structs/Operations.archive_all_notifications.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.archive_all_notifications.Input` + +**Contents** + +- [Properties](#properties) + - `query` +- [Methods](#methods) + - `init(query:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `query` + +```swift +public var query: Operations.archive_all_notifications.Input.Query +``` + +## Methods +### `init(query:)` + +```swift +public init(query: Operations.archive_all_notifications.Input.Query = .init()) +``` + +Creates a new `Input`. + +- Parameters: + - query: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| query | | \ No newline at end of file diff --git a/documentation/structs/Operations.archive_all_notifications.Output.NoContent.md b/documentation/structs/Operations.archive_all_notifications.Output.NoContent.md new file mode 100644 index 0000000..bd1bf74 --- /dev/null +++ b/documentation/structs/Operations.archive_all_notifications.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.archive_all_notifications.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/structs/Operations.archive_notification.Input.Path.md b/documentation/structs/Operations.archive_notification.Input.Path.md new file mode 100644 index 0000000..e0d7a41 --- /dev/null +++ b/documentation/structs/Operations.archive_notification.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.archive_notification.Input.Path` + +**Contents** + +- [Properties](#properties) + - `notification_id` +- [Methods](#methods) + - `init(notification_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/archive/POST/path`. + +## Properties +### `notification_id` + +```swift +public var notification_id: Swift.String +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/archive/POST/path/notification_id`. + +## Methods +### `init(notification_id:)` + +```swift +public init(notification_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - notification_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| notification_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.archive_notification.Input.md b/documentation/structs/Operations.archive_notification.Input.md new file mode 100644 index 0000000..73d634a --- /dev/null +++ b/documentation/structs/Operations.archive_notification.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.archive_notification.Input` + +**Contents** + +- [Properties](#properties) + - `path` +- [Methods](#methods) + - `init(path:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.archive_notification.Input.Path +``` + +## Methods +### `init(path:)` + +```swift +public init(path: Operations.archive_notification.Input.Path) +``` + +Creates a new `Input`. + +- Parameters: + - path: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | \ No newline at end of file diff --git a/documentation/structs/Operations.archive_notification.Output.NoContent.md b/documentation/structs/Operations.archive_notification.Output.NoContent.md new file mode 100644 index 0000000..2f980f1 --- /dev/null +++ b/documentation/structs/Operations.archive_notification.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.archive_notification.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/structs/Operations.discard_mobile_push_apns_token.Input.Headers.md b/documentation/structs/Operations.delete_apns_token.Input.Headers.md similarity index 74% rename from documentation/structs/Operations.discard_mobile_push_apns_token.Input.Headers.md rename to documentation/structs/Operations.delete_apns_token.Input.Headers.md index 1aa58cb..68ffb68 100644 --- a/documentation/structs/Operations.discard_mobile_push_apns_token.Input.Headers.md +++ b/documentation/structs/Operations.delete_apns_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_mobile_push_apns_token.Input.Headers` +# `Operations.delete_apns_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.discard_mobile_push_apns_token.Input.Path.md b/documentation/structs/Operations.delete_apns_token.Input.Path.md similarity index 91% rename from documentation/structs/Operations.discard_mobile_push_apns_token.Input.Path.md rename to documentation/structs/Operations.delete_apns_token.Input.Path.md index c23def3..3c8d78e 100644 --- a/documentation/structs/Operations.discard_mobile_push_apns_token.Input.Path.md +++ b/documentation/structs/Operations.delete_apns_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_mobile_push_apns_token.Input.Path` +# `Operations.delete_apns_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.delete_apns_token.Input.md b/documentation/structs/Operations.delete_apns_token.Input.md new file mode 100644 index 0000000..8b7506e --- /dev/null +++ b/documentation/structs/Operations.delete_apns_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.delete_apns_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.delete_apns_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.delete_apns_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.delete_apns_token.Input.Path, + headers: Operations.delete_apns_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.delete_apns_token.Output.Ok.md b/documentation/structs/Operations.delete_apns_token.Output.Ok.md new file mode 100644 index 0000000..a7056f0 --- /dev/null +++ b/documentation/structs/Operations.delete_apns_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.delete_apns_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.delete_apns_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.delete_apns_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_expo_token.Input.Headers.md b/documentation/structs/Operations.delete_expo_token.Input.Headers.md similarity index 74% rename from documentation/structs/Operations.discard_mobile_push_expo_token.Input.Headers.md rename to documentation/structs/Operations.delete_expo_token.Input.Headers.md index 2f6b803..3bdf710 100644 --- a/documentation/structs/Operations.discard_mobile_push_expo_token.Input.Headers.md +++ b/documentation/structs/Operations.delete_expo_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_mobile_push_expo_token.Input.Headers` +# `Operations.delete_expo_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.discard_mobile_push_expo_token.Input.Path.md b/documentation/structs/Operations.delete_expo_token.Input.Path.md similarity index 91% rename from documentation/structs/Operations.discard_mobile_push_expo_token.Input.Path.md rename to documentation/structs/Operations.delete_expo_token.Input.Path.md index ccd4ff0..4589896 100644 --- a/documentation/structs/Operations.discard_mobile_push_expo_token.Input.Path.md +++ b/documentation/structs/Operations.delete_expo_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_mobile_push_expo_token.Input.Path` +# `Operations.delete_expo_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.delete_expo_token.Input.md b/documentation/structs/Operations.delete_expo_token.Input.md new file mode 100644 index 0000000..55365c3 --- /dev/null +++ b/documentation/structs/Operations.delete_expo_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.delete_expo_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.delete_expo_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.delete_expo_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.delete_expo_token.Input.Path, + headers: Operations.delete_expo_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.delete_expo_token.Output.Ok.md b/documentation/structs/Operations.delete_expo_token.Output.Ok.md new file mode 100644 index 0000000..90a242f --- /dev/null +++ b/documentation/structs/Operations.delete_expo_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.delete_expo_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.delete_expo_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.delete_expo_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.Headers.md b/documentation/structs/Operations.delete_fcm_token.Input.Headers.md similarity index 75% rename from documentation/structs/Operations.discard_mobile_push_fcm_token.Input.Headers.md rename to documentation/structs/Operations.delete_fcm_token.Input.Headers.md index c7fe617..c627d7d 100644 --- a/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.Headers.md +++ b/documentation/structs/Operations.delete_fcm_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_mobile_push_fcm_token.Input.Headers` +# `Operations.delete_fcm_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.Path.md b/documentation/structs/Operations.delete_fcm_token.Input.Path.md similarity index 92% rename from documentation/structs/Operations.discard_mobile_push_fcm_token.Input.Path.md rename to documentation/structs/Operations.delete_fcm_token.Input.Path.md index 06c007b..c1ca241 100644 --- a/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.Path.md +++ b/documentation/structs/Operations.delete_fcm_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_mobile_push_fcm_token.Input.Path` +# `Operations.delete_fcm_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.get_slack_token.Input.md b/documentation/structs/Operations.delete_fcm_token.Input.md similarity index 63% rename from documentation/structs/Operations.get_slack_token.Input.md rename to documentation/structs/Operations.delete_fcm_token.Input.md index 0d5ad92..139887f 100644 --- a/documentation/structs/Operations.get_slack_token.Input.md +++ b/documentation/structs/Operations.delete_fcm_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_token.Input` +# `Operations.delete_fcm_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `path` ```swift -public var path: Operations.get_slack_token.Input.Path +public var path: Operations.delete_fcm_token.Input.Path ``` ### `headers` ```swift -public var headers: Operations.get_slack_token.Input.Headers +public var headers: Operations.delete_fcm_token.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_slack_token.Input.Headers ```swift public init( - path: Operations.get_slack_token.Input.Path, - headers: Operations.get_slack_token.Input.Headers = .init() + path: Operations.delete_fcm_token.Input.Path, + headers: Operations.delete_fcm_token.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.get_teams_tokens.Output.Ok.md b/documentation/structs/Operations.delete_fcm_token.Output.Ok.md similarity index 73% rename from documentation/structs/Operations.get_teams_tokens.Output.Ok.md rename to documentation/structs/Operations.delete_fcm_token.Output.Ok.md index 7d91240..e22f880 100644 --- a/documentation/structs/Operations.get_teams_tokens.Output.Ok.md +++ b/documentation/structs/Operations.delete_fcm_token.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_tokens.Output.Ok` +# `Operations.delete_fcm_token.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.get_teams_tokens.Output.Ok.Body +public var body: Operations.delete_fcm_token.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.get_teams_tokens.Output.Ok.Body) +public init(body: Operations.delete_fcm_token.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.delete_inbox_token.Input.Headers.md b/documentation/structs/Operations.delete_inbox_token.Input.Headers.md new file mode 100644 index 0000000..c5f83f4 --- /dev/null +++ b/documentation/structs/Operations.delete_inbox_token.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.delete_inbox_token.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.delete_inbox_token.Input.Path.md b/documentation/structs/Operations.delete_inbox_token.Input.Path.md new file mode 100644 index 0000000..2d784ac --- /dev/null +++ b/documentation/structs/Operations.delete_inbox_token.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.delete_inbox_token.Input.Path` + +**Contents** + +- [Properties](#properties) + - `token_id` +- [Methods](#methods) + - `init(token_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/path`. + +## Properties +### `token_id` + +```swift +public var token_id: Swift.String +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/DELETE/path/token_id`. + +## Methods +### `init(token_id:)` + +```swift +public init(token_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - token_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| token_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_web_push_token.Input.md b/documentation/structs/Operations.delete_inbox_token.Input.md similarity index 62% rename from documentation/structs/Operations.get_web_push_token.Input.md rename to documentation/structs/Operations.delete_inbox_token.Input.md index 0663200..2ebb4b3 100644 --- a/documentation/structs/Operations.get_web_push_token.Input.md +++ b/documentation/structs/Operations.delete_inbox_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_token.Input` +# `Operations.delete_inbox_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `path` ```swift -public var path: Operations.get_web_push_token.Input.Path +public var path: Operations.delete_inbox_token.Input.Path ``` ### `headers` ```swift -public var headers: Operations.get_web_push_token.Input.Headers +public var headers: Operations.delete_inbox_token.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_web_push_token.Input.Headers ```swift public init( - path: Operations.get_web_push_token.Input.Path, - headers: Operations.get_web_push_token.Input.Headers = .init() + path: Operations.delete_inbox_token.Input.Path, + headers: Operations.delete_inbox_token.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.delete_inbox_token.Output.Ok.md b/documentation/structs/Operations.delete_inbox_token.Output.Ok.md new file mode 100644 index 0000000..2f74e43 --- /dev/null +++ b/documentation/structs/Operations.delete_inbox_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.delete_inbox_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.delete_inbox_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.delete_inbox_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_slack_token.Input.Headers.md b/documentation/structs/Operations.delete_slack_token.Input.Headers.md similarity index 77% rename from documentation/structs/Operations.discard_slack_token.Input.Headers.md rename to documentation/structs/Operations.delete_slack_token.Input.Headers.md index 9c7b138..63e32e9 100644 --- a/documentation/structs/Operations.discard_slack_token.Input.Headers.md +++ b/documentation/structs/Operations.delete_slack_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_slack_token.Input.Headers` +# `Operations.delete_slack_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.discard_slack_token.Input.Path.md b/documentation/structs/Operations.delete_slack_token.Input.Path.md similarity index 93% rename from documentation/structs/Operations.discard_slack_token.Input.Path.md rename to documentation/structs/Operations.delete_slack_token.Input.Path.md index 763122d..6327bcb 100644 --- a/documentation/structs/Operations.discard_slack_token.Input.Path.md +++ b/documentation/structs/Operations.delete_slack_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_slack_token.Input.Path` +# `Operations.delete_slack_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.delete_slack_token.Input.md b/documentation/structs/Operations.delete_slack_token.Input.md new file mode 100644 index 0000000..b46de93 --- /dev/null +++ b/documentation/structs/Operations.delete_slack_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.delete_slack_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.delete_slack_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.delete_slack_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.delete_slack_token.Input.Path, + headers: Operations.delete_slack_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.delete_slack_token.Output.Ok.md b/documentation/structs/Operations.delete_slack_token.Output.Ok.md new file mode 100644 index 0000000..4cf9781 --- /dev/null +++ b/documentation/structs/Operations.delete_slack_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.delete_slack_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.delete_slack_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.delete_slack_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_teams_token.Input.Headers.md b/documentation/structs/Operations.delete_teams_token.Input.Headers.md similarity index 77% rename from documentation/structs/Operations.discard_teams_token.Input.Headers.md rename to documentation/structs/Operations.delete_teams_token.Input.Headers.md index 0ef0e2e..5744d97 100644 --- a/documentation/structs/Operations.discard_teams_token.Input.Headers.md +++ b/documentation/structs/Operations.delete_teams_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_teams_token.Input.Headers` +# `Operations.delete_teams_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.discard_teams_token.Input.Path.md b/documentation/structs/Operations.delete_teams_token.Input.Path.md similarity index 93% rename from documentation/structs/Operations.discard_teams_token.Input.Path.md rename to documentation/structs/Operations.delete_teams_token.Input.Path.md index f567e01..630e166 100644 --- a/documentation/structs/Operations.discard_teams_token.Input.Path.md +++ b/documentation/structs/Operations.delete_teams_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_teams_token.Input.Path` +# `Operations.delete_teams_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.delete_teams_token.Input.md b/documentation/structs/Operations.delete_teams_token.Input.md new file mode 100644 index 0000000..75091ee --- /dev/null +++ b/documentation/structs/Operations.delete_teams_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.delete_teams_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.delete_teams_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.delete_teams_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.delete_teams_token.Input.Path, + headers: Operations.delete_teams_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.delete_teams_token.Output.Ok.md b/documentation/structs/Operations.delete_teams_token.Output.Ok.md new file mode 100644 index 0000000..1f3c72b --- /dev/null +++ b/documentation/structs/Operations.delete_teams_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.delete_teams_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.delete_teams_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.delete_teams_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_web_push_token.Input.Headers.md b/documentation/structs/Operations.delete_web_push_token.Input.Headers.md similarity index 76% rename from documentation/structs/Operations.discard_web_push_token.Input.Headers.md rename to documentation/structs/Operations.delete_web_push_token.Input.Headers.md index c20eb5a..1c581e7 100644 --- a/documentation/structs/Operations.discard_web_push_token.Input.Headers.md +++ b/documentation/structs/Operations.delete_web_push_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_web_push_token.Input.Headers` +# `Operations.delete_web_push_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.discard_web_push_token.Input.Path.md b/documentation/structs/Operations.delete_web_push_token.Input.Path.md similarity index 92% rename from documentation/structs/Operations.discard_web_push_token.Input.Path.md rename to documentation/structs/Operations.delete_web_push_token.Input.Path.md index 6c1b989..88a9e80 100644 --- a/documentation/structs/Operations.discard_web_push_token.Input.Path.md +++ b/documentation/structs/Operations.delete_web_push_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_web_push_token.Input.Path` +# `Operations.delete_web_push_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.delete_web_push_token.Input.md b/documentation/structs/Operations.delete_web_push_token.Input.md new file mode 100644 index 0000000..bdd01a5 --- /dev/null +++ b/documentation/structs/Operations.delete_web_push_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.delete_web_push_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.delete_web_push_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.delete_web_push_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.delete_web_push_token.Input.Path, + headers: Operations.delete_web_push_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_web_push_tokens.Output.Ok.md b/documentation/structs/Operations.delete_web_push_token.Output.Ok.md similarity index 71% rename from documentation/structs/Operations.get_web_push_tokens.Output.Ok.md rename to documentation/structs/Operations.delete_web_push_token.Output.Ok.md index 1debad1..819cc5e 100644 --- a/documentation/structs/Operations.get_web_push_tokens.Output.Ok.md +++ b/documentation/structs/Operations.delete_web_push_token.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_tokens.Output.Ok` +# `Operations.delete_web_push_token.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.get_web_push_tokens.Output.Ok.Body +public var body: Operations.delete_web_push_token.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.get_web_push_tokens.Output.Ok.Body) +public init(body: Operations.delete_web_push_token.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.discard_mobile_push_apns_token.Input.md b/documentation/structs/Operations.discard_mobile_push_apns_token.Input.md deleted file mode 100644 index dae2371..0000000 --- a/documentation/structs/Operations.discard_mobile_push_apns_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.discard_mobile_push_apns_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.discard_mobile_push_apns_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.discard_mobile_push_apns_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.discard_mobile_push_apns_token.Input.Path, - headers: Operations.discard_mobile_push_apns_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_apns_token.Output.Ok.md b/documentation/structs/Operations.discard_mobile_push_apns_token.Output.Ok.md deleted file mode 100644 index 956aa46..0000000 --- a/documentation/structs/Operations.discard_mobile_push_apns_token.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.discard_mobile_push_apns_token.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.discard_mobile_push_apns_token.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.discard_mobile_push_apns_token.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_expo_token.Input.md b/documentation/structs/Operations.discard_mobile_push_expo_token.Input.md deleted file mode 100644 index b20d106..0000000 --- a/documentation/structs/Operations.discard_mobile_push_expo_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.discard_mobile_push_expo_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.discard_mobile_push_expo_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.discard_mobile_push_expo_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.discard_mobile_push_expo_token.Input.Path, - headers: Operations.discard_mobile_push_expo_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_expo_token.Output.Ok.md b/documentation/structs/Operations.discard_mobile_push_expo_token.Output.Ok.md deleted file mode 100644 index f8a5575..0000000 --- a/documentation/structs/Operations.discard_mobile_push_expo_token.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.discard_mobile_push_expo_token.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.discard_mobile_push_expo_token.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.discard_mobile_push_expo_token.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.md b/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.md deleted file mode 100644 index 9d2d10c..0000000 --- a/documentation/structs/Operations.discard_mobile_push_fcm_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.discard_mobile_push_fcm_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.discard_mobile_push_fcm_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.discard_mobile_push_fcm_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.discard_mobile_push_fcm_token.Input.Path, - headers: Operations.discard_mobile_push_fcm_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_mobile_push_fcm_token.Output.Ok.md b/documentation/structs/Operations.discard_mobile_push_fcm_token.Output.Ok.md deleted file mode 100644 index c379017..0000000 --- a/documentation/structs/Operations.discard_mobile_push_fcm_token.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.discard_mobile_push_fcm_token.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.discard_mobile_push_fcm_token.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.discard_mobile_push_fcm_token.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_web_push_token.Input.md b/documentation/structs/Operations.discard_web_push_token.Input.md deleted file mode 100644 index 834961d..0000000 --- a/documentation/structs/Operations.discard_web_push_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.discard_web_push_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.discard_web_push_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.discard_web_push_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.discard_web_push_token.Input.Path, - headers: Operations.discard_web_push_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_apns_token.Input.Headers.md b/documentation/structs/Operations.fetch_apns_token.Input.Headers.md similarity index 75% rename from documentation/structs/Operations.get_mobile_push_apns_token.Input.Headers.md rename to documentation/structs/Operations.fetch_apns_token.Input.Headers.md index 4b25af3..233fcba 100644 --- a/documentation/structs/Operations.get_mobile_push_apns_token.Input.Headers.md +++ b/documentation/structs/Operations.fetch_apns_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_apns_token.Input.Headers` +# `Operations.fetch_apns_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_mobile_push_apns_token.Input.Path.md b/documentation/structs/Operations.fetch_apns_token.Input.Path.md similarity index 92% rename from documentation/structs/Operations.get_mobile_push_apns_token.Input.Path.md rename to documentation/structs/Operations.fetch_apns_token.Input.Path.md index 937cefe..4259dbe 100644 --- a/documentation/structs/Operations.get_mobile_push_apns_token.Input.Path.md +++ b/documentation/structs/Operations.fetch_apns_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_apns_token.Input.Path` +# `Operations.fetch_apns_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.discard_slack_token.Input.md b/documentation/structs/Operations.fetch_apns_token.Input.md similarity index 62% rename from documentation/structs/Operations.discard_slack_token.Input.md rename to documentation/structs/Operations.fetch_apns_token.Input.md index db0fccf..05345ff 100644 --- a/documentation/structs/Operations.discard_slack_token.Input.md +++ b/documentation/structs/Operations.fetch_apns_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_slack_token.Input` +# `Operations.fetch_apns_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `path` ```swift -public var path: Operations.discard_slack_token.Input.Path +public var path: Operations.fetch_apns_token.Input.Path ``` ### `headers` ```swift -public var headers: Operations.discard_slack_token.Input.Headers +public var headers: Operations.fetch_apns_token.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.discard_slack_token.Input.Headers ```swift public init( - path: Operations.discard_slack_token.Input.Path, - headers: Operations.discard_slack_token.Input.Headers = .init() + path: Operations.fetch_apns_token.Input.Path, + headers: Operations.fetch_apns_token.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.get_slack_tokens.Output.Ok.md b/documentation/structs/Operations.fetch_apns_token.Output.Ok.md similarity index 73% rename from documentation/structs/Operations.get_slack_tokens.Output.Ok.md rename to documentation/structs/Operations.fetch_apns_token.Output.Ok.md index f526c5c..f345507 100644 --- a/documentation/structs/Operations.get_slack_tokens.Output.Ok.md +++ b/documentation/structs/Operations.fetch_apns_token.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_tokens.Output.Ok` +# `Operations.fetch_apns_token.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.get_slack_tokens.Output.Ok.Body +public var body: Operations.fetch_apns_token.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.get_slack_tokens.Output.Ok.Body) +public init(body: Operations.fetch_apns_token.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.get_mobile_push_expo_token.Input.Headers.md b/documentation/structs/Operations.fetch_expo_token.Input.Headers.md similarity index 75% rename from documentation/structs/Operations.get_mobile_push_expo_token.Input.Headers.md rename to documentation/structs/Operations.fetch_expo_token.Input.Headers.md index be6fbd5..4fc16a1 100644 --- a/documentation/structs/Operations.get_mobile_push_expo_token.Input.Headers.md +++ b/documentation/structs/Operations.fetch_expo_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_expo_token.Input.Headers` +# `Operations.fetch_expo_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_mobile_push_expo_token.Input.Path.md b/documentation/structs/Operations.fetch_expo_token.Input.Path.md similarity index 92% rename from documentation/structs/Operations.get_mobile_push_expo_token.Input.Path.md rename to documentation/structs/Operations.fetch_expo_token.Input.Path.md index 3e639a3..957f761 100644 --- a/documentation/structs/Operations.get_mobile_push_expo_token.Input.Path.md +++ b/documentation/structs/Operations.fetch_expo_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_expo_token.Input.Path` +# `Operations.fetch_expo_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.fetch_expo_token.Input.md b/documentation/structs/Operations.fetch_expo_token.Input.md new file mode 100644 index 0000000..1a3fcc8 --- /dev/null +++ b/documentation/structs/Operations.fetch_expo_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.fetch_expo_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.fetch_expo_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.fetch_expo_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.fetch_expo_token.Input.Path, + headers: Operations.fetch_expo_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_expo_token.Output.Ok.md b/documentation/structs/Operations.fetch_expo_token.Output.Ok.md new file mode 100644 index 0000000..36e79af --- /dev/null +++ b/documentation/structs/Operations.fetch_expo_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_expo_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.fetch_expo_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.fetch_expo_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_fcm_token.Input.Headers.md b/documentation/structs/Operations.fetch_fcm_token.Input.Headers.md similarity index 76% rename from documentation/structs/Operations.get_mobile_push_fcm_token.Input.Headers.md rename to documentation/structs/Operations.fetch_fcm_token.Input.Headers.md index b3a1901..460deaa 100644 --- a/documentation/structs/Operations.get_mobile_push_fcm_token.Input.Headers.md +++ b/documentation/structs/Operations.fetch_fcm_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_fcm_token.Input.Headers` +# `Operations.fetch_fcm_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_mobile_push_fcm_token.Input.Path.md b/documentation/structs/Operations.fetch_fcm_token.Input.Path.md similarity index 92% rename from documentation/structs/Operations.get_mobile_push_fcm_token.Input.Path.md rename to documentation/structs/Operations.fetch_fcm_token.Input.Path.md index 893b323..ee04f2c 100644 --- a/documentation/structs/Operations.get_mobile_push_fcm_token.Input.Path.md +++ b/documentation/structs/Operations.fetch_fcm_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_fcm_token.Input.Path` +# `Operations.fetch_fcm_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.get_teams_token.Input.md b/documentation/structs/Operations.fetch_fcm_token.Input.md similarity index 63% rename from documentation/structs/Operations.get_teams_token.Input.md rename to documentation/structs/Operations.fetch_fcm_token.Input.md index e6ad667..872993f 100644 --- a/documentation/structs/Operations.get_teams_token.Input.md +++ b/documentation/structs/Operations.fetch_fcm_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_token.Input` +# `Operations.fetch_fcm_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `path` ```swift -public var path: Operations.get_teams_token.Input.Path +public var path: Operations.fetch_fcm_token.Input.Path ``` ### `headers` ```swift -public var headers: Operations.get_teams_token.Input.Headers +public var headers: Operations.fetch_fcm_token.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_teams_token.Input.Headers ```swift public init( - path: Operations.get_teams_token.Input.Path, - headers: Operations.get_teams_token.Input.Headers = .init() + path: Operations.fetch_fcm_token.Input.Path, + headers: Operations.fetch_fcm_token.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.get_teams_token.Output.Ok.md b/documentation/structs/Operations.fetch_fcm_token.Output.Ok.md similarity index 73% rename from documentation/structs/Operations.get_teams_token.Output.Ok.md rename to documentation/structs/Operations.fetch_fcm_token.Output.Ok.md index 1dfafd5..a0fd182 100644 --- a/documentation/structs/Operations.get_teams_token.Output.Ok.md +++ b/documentation/structs/Operations.fetch_fcm_token.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_token.Output.Ok` +# `Operations.fetch_fcm_token.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.get_teams_token.Output.Ok.Body +public var body: Operations.fetch_fcm_token.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.get_teams_token.Output.Ok.Body) +public init(body: Operations.fetch_fcm_token.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.fetch_inbox_token.Input.Headers.md b/documentation/structs/Operations.fetch_inbox_token.Input.Headers.md new file mode 100644 index 0000000..60cf656 --- /dev/null +++ b/documentation/structs/Operations.fetch_inbox_token.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_inbox_token.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_inbox_token.Input.Path.md b/documentation/structs/Operations.fetch_inbox_token.Input.Path.md new file mode 100644 index 0000000..8603d90 --- /dev/null +++ b/documentation/structs/Operations.fetch_inbox_token.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.fetch_inbox_token.Input.Path` + +**Contents** + +- [Properties](#properties) + - `token_id` +- [Methods](#methods) + - `init(token_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/path`. + +## Properties +### `token_id` + +```swift +public var token_id: Swift.String +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/{token_id}/GET/path/token_id`. + +## Methods +### `init(token_id:)` + +```swift +public init(token_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - token_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| token_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_inbox_token.Input.md b/documentation/structs/Operations.fetch_inbox_token.Input.md new file mode 100644 index 0000000..627b25f --- /dev/null +++ b/documentation/structs/Operations.fetch_inbox_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.fetch_inbox_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.fetch_inbox_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.fetch_inbox_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.fetch_inbox_token.Input.Path, + headers: Operations.fetch_inbox_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_inbox_token.Output.Ok.md b/documentation/structs/Operations.fetch_inbox_token.Output.Ok.md new file mode 100644 index 0000000..329eace --- /dev/null +++ b/documentation/structs/Operations.fetch_inbox_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_inbox_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.fetch_inbox_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.fetch_inbox_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_notification.Input.Headers.md b/documentation/structs/Operations.fetch_notification.Input.Headers.md new file mode 100644 index 0000000..5f43787 --- /dev/null +++ b/documentation/structs/Operations.fetch_notification.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_notification.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/GET/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_notification.Input.Path.md b/documentation/structs/Operations.fetch_notification.Input.Path.md new file mode 100644 index 0000000..92ce22d --- /dev/null +++ b/documentation/structs/Operations.fetch_notification.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.fetch_notification.Input.Path` + +**Contents** + +- [Properties](#properties) + - `notification_id` +- [Methods](#methods) + - `init(notification_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/GET/path`. + +## Properties +### `notification_id` + +```swift +public var notification_id: Swift.String +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/GET/path/notification_id`. + +## Methods +### `init(notification_id:)` + +```swift +public init(notification_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - notification_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| notification_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_notification.Input.md b/documentation/structs/Operations.fetch_notification.Input.md new file mode 100644 index 0000000..45d25d7 --- /dev/null +++ b/documentation/structs/Operations.fetch_notification.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.fetch_notification.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.fetch_notification.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.fetch_notification.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.fetch_notification.Input.Path, + headers: Operations.fetch_notification.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_notification.Output.Ok.md b/documentation/structs/Operations.fetch_notification.Output.Ok.md new file mode 100644 index 0000000..0b92d23 --- /dev/null +++ b/documentation/structs/Operations.fetch_notification.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_notification.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.fetch_notification.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.fetch_notification.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_slack_token.Input.Headers.md b/documentation/structs/Operations.fetch_slack_token.Input.Headers.md similarity index 78% rename from documentation/structs/Operations.get_slack_token.Input.Headers.md rename to documentation/structs/Operations.fetch_slack_token.Input.Headers.md index 16ac827..bb81dd9 100644 --- a/documentation/structs/Operations.get_slack_token.Input.Headers.md +++ b/documentation/structs/Operations.fetch_slack_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_token.Input.Headers` +# `Operations.fetch_slack_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_slack_token.Input.Path.md b/documentation/structs/Operations.fetch_slack_token.Input.Path.md similarity index 93% rename from documentation/structs/Operations.get_slack_token.Input.Path.md rename to documentation/structs/Operations.fetch_slack_token.Input.Path.md index 6854f1f..4ffac30 100644 --- a/documentation/structs/Operations.get_slack_token.Input.Path.md +++ b/documentation/structs/Operations.fetch_slack_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_token.Input.Path` +# `Operations.fetch_slack_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.fetch_slack_token.Input.md b/documentation/structs/Operations.fetch_slack_token.Input.md new file mode 100644 index 0000000..0a56652 --- /dev/null +++ b/documentation/structs/Operations.fetch_slack_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.fetch_slack_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.fetch_slack_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.fetch_slack_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.fetch_slack_token.Input.Path, + headers: Operations.fetch_slack_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_slack_token.Output.Ok.md b/documentation/structs/Operations.fetch_slack_token.Output.Ok.md new file mode 100644 index 0000000..720f83d --- /dev/null +++ b/documentation/structs/Operations.fetch_slack_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_slack_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.fetch_slack_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.fetch_slack_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_teams_token.Input.Headers.md b/documentation/structs/Operations.fetch_teams_token.Input.Headers.md similarity index 78% rename from documentation/structs/Operations.get_teams_token.Input.Headers.md rename to documentation/structs/Operations.fetch_teams_token.Input.Headers.md index 7e2160c..0d8778c 100644 --- a/documentation/structs/Operations.get_teams_token.Input.Headers.md +++ b/documentation/structs/Operations.fetch_teams_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_token.Input.Headers` +# `Operations.fetch_teams_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_teams_token.Input.Path.md b/documentation/structs/Operations.fetch_teams_token.Input.Path.md similarity index 93% rename from documentation/structs/Operations.get_teams_token.Input.Path.md rename to documentation/structs/Operations.fetch_teams_token.Input.Path.md index bf3251b..f95f0c5 100644 --- a/documentation/structs/Operations.get_teams_token.Input.Path.md +++ b/documentation/structs/Operations.fetch_teams_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_token.Input.Path` +# `Operations.fetch_teams_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.fetch_teams_token.Input.md b/documentation/structs/Operations.fetch_teams_token.Input.md new file mode 100644 index 0000000..4e38a3c --- /dev/null +++ b/documentation/structs/Operations.fetch_teams_token.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.fetch_teams_token.Input` + +**Contents** + +- [Properties](#properties) + - `path` + - `headers` +- [Methods](#methods) + - `init(path:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.fetch_teams_token.Input.Path +``` + +### `headers` + +```swift +public var headers: Operations.fetch_teams_token.Input.Headers +``` + +## Methods +### `init(path:headers:)` + +```swift +public init( + path: Operations.fetch_teams_token.Input.Path, + headers: Operations.fetch_teams_token.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - path: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_teams_token.Output.Ok.md b/documentation/structs/Operations.fetch_teams_token.Output.Ok.md new file mode 100644 index 0000000..9a37a7a --- /dev/null +++ b/documentation/structs/Operations.fetch_teams_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_teams_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.fetch_teams_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.fetch_teams_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_user_preferences.Input.Headers.md b/documentation/structs/Operations.fetch_user_preferences.Input.Headers.md new file mode 100644 index 0000000..de12ecd --- /dev/null +++ b/documentation/structs/Operations.fetch_user_preferences.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.fetch_user_preferences.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/user_preferences/GET/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.fetch_user_preferences.Input.md b/documentation/structs/Operations.fetch_user_preferences.Input.md new file mode 100644 index 0000000..8b97f75 --- /dev/null +++ b/documentation/structs/Operations.fetch_user_preferences.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.fetch_user_preferences.Input` + +**Contents** + +- [Properties](#properties) + - `headers` +- [Methods](#methods) + - `init(headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `headers` + +```swift +public var headers: Operations.fetch_user_preferences.Input.Headers +``` + +## Methods +### `init(headers:)` + +```swift +public init(headers: Operations.fetch_user_preferences.Input.Headers = .init()) +``` + +Creates a new `Input`. + +- Parameters: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_web_push_token.Output.Ok.md b/documentation/structs/Operations.fetch_user_preferences.Output.Ok.md similarity index 71% rename from documentation/structs/Operations.discard_web_push_token.Output.Ok.md rename to documentation/structs/Operations.fetch_user_preferences.Output.Ok.md index 3fc18e5..85cb7ab 100644 --- a/documentation/structs/Operations.discard_web_push_token.Output.Ok.md +++ b/documentation/structs/Operations.fetch_user_preferences.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_web_push_token.Output.Ok` +# `Operations.fetch_user_preferences.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.discard_web_push_token.Output.Ok.Body +public var body: Operations.fetch_user_preferences.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.discard_web_push_token.Output.Ok.Body) +public init(body: Operations.fetch_user_preferences.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.get_web_push_token.Input.Headers.md b/documentation/structs/Operations.fetch_web_push_token.Input.Headers.md similarity index 77% rename from documentation/structs/Operations.get_web_push_token.Input.Headers.md rename to documentation/structs/Operations.fetch_web_push_token.Input.Headers.md index 3af9252..e63f507 100644 --- a/documentation/structs/Operations.get_web_push_token.Input.Headers.md +++ b/documentation/structs/Operations.fetch_web_push_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_token.Input.Headers` +# `Operations.fetch_web_push_token.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_web_push_token.Input.Path.md b/documentation/structs/Operations.fetch_web_push_token.Input.Path.md similarity index 93% rename from documentation/structs/Operations.get_web_push_token.Input.Path.md rename to documentation/structs/Operations.fetch_web_push_token.Input.Path.md index 0f8cb90..f43233f 100644 --- a/documentation/structs/Operations.get_web_push_token.Input.Path.md +++ b/documentation/structs/Operations.fetch_web_push_token.Input.Path.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_token.Input.Path` +# `Operations.fetch_web_push_token.Input.Path` **Contents** diff --git a/documentation/structs/Operations.discard_teams_token.Input.md b/documentation/structs/Operations.fetch_web_push_token.Input.md similarity index 61% rename from documentation/structs/Operations.discard_teams_token.Input.md rename to documentation/structs/Operations.fetch_web_push_token.Input.md index 330ffe6..38df11f 100644 --- a/documentation/structs/Operations.discard_teams_token.Input.md +++ b/documentation/structs/Operations.fetch_web_push_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_teams_token.Input` +# `Operations.fetch_web_push_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `path` ```swift -public var path: Operations.discard_teams_token.Input.Path +public var path: Operations.fetch_web_push_token.Input.Path ``` ### `headers` ```swift -public var headers: Operations.discard_teams_token.Input.Headers +public var headers: Operations.fetch_web_push_token.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.discard_teams_token.Input.Headers ```swift public init( - path: Operations.discard_teams_token.Input.Path, - headers: Operations.discard_teams_token.Input.Headers = .init() + path: Operations.fetch_web_push_token.Input.Path, + headers: Operations.fetch_web_push_token.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.discard_teams_token.Output.Ok.md b/documentation/structs/Operations.fetch_web_push_token.Output.Ok.md similarity index 71% rename from documentation/structs/Operations.discard_teams_token.Output.Ok.md rename to documentation/structs/Operations.fetch_web_push_token.Output.Ok.md index fc8978d..40bcf0f 100644 --- a/documentation/structs/Operations.discard_teams_token.Output.Ok.md +++ b/documentation/structs/Operations.fetch_web_push_token.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_teams_token.Output.Ok` +# `Operations.fetch_web_push_token.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.discard_teams_token.Output.Ok.Body +public var body: Operations.fetch_web_push_token.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.discard_teams_token.Output.Ok.Body) +public init(body: Operations.fetch_web_push_token.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.get_mobile_push_apns_token.Input.md b/documentation/structs/Operations.get_mobile_push_apns_token.Input.md deleted file mode 100644 index 270bcb8..0000000 --- a/documentation/structs/Operations.get_mobile_push_apns_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_apns_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.get_mobile_push_apns_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.get_mobile_push_apns_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.get_mobile_push_apns_token.Input.Path, - headers: Operations.get_mobile_push_apns_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_apns_token.Output.Ok.md b/documentation/structs/Operations.get_mobile_push_apns_token.Output.Ok.md deleted file mode 100644 index 71ae157..0000000 --- a/documentation/structs/Operations.get_mobile_push_apns_token.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_apns_token.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.get_mobile_push_apns_token.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.get_mobile_push_apns_token.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.md b/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.md deleted file mode 100644 index 61cc43d..0000000 --- a/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_apns_tokens.Input` - -**Contents** - -- [Properties](#properties) - - `query` - - `headers` -- [Methods](#methods) - - `init(query:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `query` - -```swift -public var query: Operations.get_mobile_push_apns_tokens.Input.Query -``` - -### `headers` - -```swift -public var headers: Operations.get_mobile_push_apns_tokens.Input.Headers -``` - -## Methods -### `init(query:headers:)` - -```swift -public init( - query: Operations.get_mobile_push_apns_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_apns_tokens.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - query: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| query | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_apns_tokens.Output.Ok.md b/documentation/structs/Operations.get_mobile_push_apns_tokens.Output.Ok.md deleted file mode 100644 index 72a9be7..0000000 --- a/documentation/structs/Operations.get_mobile_push_apns_tokens.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_apns_tokens.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.get_mobile_push_apns_tokens.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.get_mobile_push_apns_tokens.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_expo_token.Input.md b/documentation/structs/Operations.get_mobile_push_expo_token.Input.md deleted file mode 100644 index 879892f..0000000 --- a/documentation/structs/Operations.get_mobile_push_expo_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_expo_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.get_mobile_push_expo_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.get_mobile_push_expo_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.get_mobile_push_expo_token.Input.Path, - headers: Operations.get_mobile_push_expo_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.md b/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.md deleted file mode 100644 index 0601672..0000000 --- a/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_expo_tokens.Input` - -**Contents** - -- [Properties](#properties) - - `query` - - `headers` -- [Methods](#methods) - - `init(query:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `query` - -```swift -public var query: Operations.get_mobile_push_expo_tokens.Input.Query -``` - -### `headers` - -```swift -public var headers: Operations.get_mobile_push_expo_tokens.Input.Headers -``` - -## Methods -### `init(query:headers:)` - -```swift -public init( - query: Operations.get_mobile_push_expo_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_expo_tokens.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - query: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| query | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_expo_tokens.Output.Ok.md b/documentation/structs/Operations.get_mobile_push_expo_tokens.Output.Ok.md deleted file mode 100644 index 46dc43d..0000000 --- a/documentation/structs/Operations.get_mobile_push_expo_tokens.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_expo_tokens.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.get_mobile_push_expo_tokens.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.get_mobile_push_expo_tokens.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_fcm_token.Input.md b/documentation/structs/Operations.get_mobile_push_fcm_token.Input.md deleted file mode 100644 index 68bb1c0..0000000 --- a/documentation/structs/Operations.get_mobile_push_fcm_token.Input.md +++ /dev/null @@ -1,51 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_fcm_token.Input` - -**Contents** - -- [Properties](#properties) - - `path` - - `headers` -- [Methods](#methods) - - `init(path:headers:)` - -```swift -public struct Input: Sendable, Hashable -``` - -## Properties -### `path` - -```swift -public var path: Operations.get_mobile_push_fcm_token.Input.Path -``` - -### `headers` - -```swift -public var headers: Operations.get_mobile_push_fcm_token.Input.Headers -``` - -## Methods -### `init(path:headers:)` - -```swift -public init( - path: Operations.get_mobile_push_fcm_token.Input.Path, - headers: Operations.get_mobile_push_fcm_token.Input.Headers = .init() -) -``` - -Creates a new `Input`. - -- Parameters: - - path: - - headers: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| path | | -| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_fcm_token.Output.Ok.md b/documentation/structs/Operations.get_mobile_push_fcm_token.Output.Ok.md deleted file mode 100644 index 1ddfaf4..0000000 --- a/documentation/structs/Operations.get_mobile_push_fcm_token.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_fcm_token.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.get_mobile_push_fcm_token.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.get_mobile_push_fcm_token.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Output.Ok.md b/documentation/structs/Operations.get_mobile_push_fcm_tokens.Output.Ok.md deleted file mode 100644 index d90cdba..0000000 --- a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.get_mobile_push_fcm_tokens.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.get_mobile_push_fcm_tokens.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.get_mobile_push_fcm_tokens.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_web_push_token.Output.Ok.md b/documentation/structs/Operations.get_web_push_token.Output.Ok.md deleted file mode 100644 index 66713e5..0000000 --- a/documentation/structs/Operations.get_web_push_token.Output.Ok.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.get_web_push_token.Output.Ok` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Ok: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.get_web_push_token.Output.Ok.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.get_web_push_token.Output.Ok.Body) -``` - -Creates a new `Ok`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.Headers.md b/documentation/structs/Operations.list_apns_tokens.Input.Headers.md similarity index 75% rename from documentation/structs/Operations.get_mobile_push_apns_tokens.Input.Headers.md rename to documentation/structs/Operations.list_apns_tokens.Input.Headers.md index 771e7df..9958de3 100644 --- a/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.Headers.md +++ b/documentation/structs/Operations.list_apns_tokens.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_apns_tokens.Input.Headers` +# `Operations.list_apns_tokens.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.Query.md b/documentation/structs/Operations.list_apns_tokens.Input.Query.md similarity index 95% rename from documentation/structs/Operations.get_mobile_push_apns_tokens.Input.Query.md rename to documentation/structs/Operations.list_apns_tokens.Input.Query.md index db10177..cfe31cc 100644 --- a/documentation/structs/Operations.get_mobile_push_apns_tokens.Input.Query.md +++ b/documentation/structs/Operations.list_apns_tokens.Input.Query.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_apns_tokens.Input.Query` +# `Operations.list_apns_tokens.Input.Query` **Contents** diff --git a/documentation/structs/Operations.get_teams_tokens.Input.md b/documentation/structs/Operations.list_apns_tokens.Input.md similarity index 62% rename from documentation/structs/Operations.get_teams_tokens.Input.md rename to documentation/structs/Operations.list_apns_tokens.Input.md index c4b54db..8951ff4 100644 --- a/documentation/structs/Operations.get_teams_tokens.Input.md +++ b/documentation/structs/Operations.list_apns_tokens.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_tokens.Input` +# `Operations.list_apns_tokens.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `query` ```swift -public var query: Operations.get_teams_tokens.Input.Query +public var query: Operations.list_apns_tokens.Input.Query ``` ### `headers` ```swift -public var headers: Operations.get_teams_tokens.Input.Headers +public var headers: Operations.list_apns_tokens.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_teams_tokens.Input.Headers ```swift public init( - query: Operations.get_teams_tokens.Input.Query = .init(), - headers: Operations.get_teams_tokens.Input.Headers = .init() + query: Operations.list_apns_tokens.Input.Query = .init(), + headers: Operations.list_apns_tokens.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.list_apns_tokens.Output.Ok.md b/documentation/structs/Operations.list_apns_tokens.Output.Ok.md new file mode 100644 index 0000000..bfa406d --- /dev/null +++ b/documentation/structs/Operations.list_apns_tokens.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_apns_tokens.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_apns_tokens.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_apns_tokens.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.Headers.md b/documentation/structs/Operations.list_expo_tokens.Input.Headers.md similarity index 75% rename from documentation/structs/Operations.get_mobile_push_expo_tokens.Input.Headers.md rename to documentation/structs/Operations.list_expo_tokens.Input.Headers.md index f241962..b747d8f 100644 --- a/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.Headers.md +++ b/documentation/structs/Operations.list_expo_tokens.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_expo_tokens.Input.Headers` +# `Operations.list_expo_tokens.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.Query.md b/documentation/structs/Operations.list_expo_tokens.Input.Query.md similarity index 95% rename from documentation/structs/Operations.get_mobile_push_expo_tokens.Input.Query.md rename to documentation/structs/Operations.list_expo_tokens.Input.Query.md index e621a17..5384589 100644 --- a/documentation/structs/Operations.get_mobile_push_expo_tokens.Input.Query.md +++ b/documentation/structs/Operations.list_expo_tokens.Input.Query.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_expo_tokens.Input.Query` +# `Operations.list_expo_tokens.Input.Query` **Contents** diff --git a/documentation/structs/Operations.get_slack_tokens.Input.md b/documentation/structs/Operations.list_expo_tokens.Input.md similarity index 62% rename from documentation/structs/Operations.get_slack_tokens.Input.md rename to documentation/structs/Operations.list_expo_tokens.Input.md index 847116e..a5da21c 100644 --- a/documentation/structs/Operations.get_slack_tokens.Input.md +++ b/documentation/structs/Operations.list_expo_tokens.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_tokens.Input` +# `Operations.list_expo_tokens.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `query` ```swift -public var query: Operations.get_slack_tokens.Input.Query +public var query: Operations.list_expo_tokens.Input.Query ``` ### `headers` ```swift -public var headers: Operations.get_slack_tokens.Input.Headers +public var headers: Operations.list_expo_tokens.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_slack_tokens.Input.Headers ```swift public init( - query: Operations.get_slack_tokens.Input.Query = .init(), - headers: Operations.get_slack_tokens.Input.Headers = .init() + query: Operations.list_expo_tokens.Input.Query = .init(), + headers: Operations.list_expo_tokens.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.list_expo_tokens.Output.Ok.md b/documentation/structs/Operations.list_expo_tokens.Output.Ok.md new file mode 100644 index 0000000..4ae91e9 --- /dev/null +++ b/documentation/structs/Operations.list_expo_tokens.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_expo_tokens.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_expo_tokens.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_expo_tokens.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.Headers.md b/documentation/structs/Operations.list_fcm_tokens.Input.Headers.md similarity index 75% rename from documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.Headers.md rename to documentation/structs/Operations.list_fcm_tokens.Input.Headers.md index f2f3b80..f2946ca 100644 --- a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.Headers.md +++ b/documentation/structs/Operations.list_fcm_tokens.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_fcm_tokens.Input.Headers` +# `Operations.list_fcm_tokens.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.Query.md b/documentation/structs/Operations.list_fcm_tokens.Input.Query.md similarity index 95% rename from documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.Query.md rename to documentation/structs/Operations.list_fcm_tokens.Input.Query.md index 0a1affd..706e883 100644 --- a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.Query.md +++ b/documentation/structs/Operations.list_fcm_tokens.Input.Query.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_fcm_tokens.Input.Query` +# `Operations.list_fcm_tokens.Input.Query` **Contents** diff --git a/documentation/structs/Operations.get_web_push_tokens.Input.md b/documentation/structs/Operations.list_fcm_tokens.Input.md similarity index 61% rename from documentation/structs/Operations.get_web_push_tokens.Input.md rename to documentation/structs/Operations.list_fcm_tokens.Input.md index 8440a5f..db4edd5 100644 --- a/documentation/structs/Operations.get_web_push_tokens.Input.md +++ b/documentation/structs/Operations.list_fcm_tokens.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_tokens.Input` +# `Operations.list_fcm_tokens.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `query` ```swift -public var query: Operations.get_web_push_tokens.Input.Query +public var query: Operations.list_fcm_tokens.Input.Query ``` ### `headers` ```swift -public var headers: Operations.get_web_push_tokens.Input.Headers +public var headers: Operations.list_fcm_tokens.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_web_push_tokens.Input.Headers ```swift public init( - query: Operations.get_web_push_tokens.Input.Query = .init(), - headers: Operations.get_web_push_tokens.Input.Headers = .init() + query: Operations.list_fcm_tokens.Input.Query = .init(), + headers: Operations.list_fcm_tokens.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.get_slack_token.Output.Ok.md b/documentation/structs/Operations.list_fcm_tokens.Output.Ok.md similarity index 73% rename from documentation/structs/Operations.get_slack_token.Output.Ok.md rename to documentation/structs/Operations.list_fcm_tokens.Output.Ok.md index f957b57..6d9bccb 100644 --- a/documentation/structs/Operations.get_slack_token.Output.Ok.md +++ b/documentation/structs/Operations.list_fcm_tokens.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_token.Output.Ok` +# `Operations.list_fcm_tokens.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.get_slack_token.Output.Ok.Body +public var body: Operations.list_fcm_tokens.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.get_slack_token.Output.Ok.Body) +public init(body: Operations.list_fcm_tokens.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.list_inbox_tokens.Input.Headers.md b/documentation/structs/Operations.list_inbox_tokens.Input.Headers.md new file mode 100644 index 0000000..ad57d64 --- /dev/null +++ b/documentation/structs/Operations.list_inbox_tokens.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_inbox_tokens.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_inbox_tokens.Input.Query.md b/documentation/structs/Operations.list_inbox_tokens.Input.Query.md new file mode 100644 index 0000000..10c80fc --- /dev/null +++ b/documentation/structs/Operations.list_inbox_tokens.Input.Query.md @@ -0,0 +1,69 @@ +**STRUCT** + +# `Operations.list_inbox_tokens.Input.Query` + +**Contents** + +- [Properties](#properties) + - `limit` + - `starting_after` + - `ending_before` +- [Methods](#methods) + - `init(limit:starting_after:ending_before:)` + +```swift +public struct Query: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query`. + +## Properties +### `limit` + +```swift +public var limit: Swift.Int? +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query/limit`. + +### `starting_after` + +```swift +public var starting_after: Swift.String? +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query/starting_after`. + +### `ending_before` + +```swift +public var ending_before: Swift.String? +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/GET/query/ending_before`. + +## Methods +### `init(limit:starting_after:ending_before:)` + +```swift +public init( + limit: Swift.Int? = nil, + starting_after: Swift.String? = nil, + ending_before: Swift.String? = nil +) +``` + +Creates a new `Query`. + +- Parameters: + - limit: + - starting_after: + - ending_before: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| limit | | +| starting_after | | +| ending_before | | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.md b/documentation/structs/Operations.list_inbox_tokens.Input.md similarity index 58% rename from documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.md rename to documentation/structs/Operations.list_inbox_tokens.Input.md index 44612ef..b934878 100644 --- a/documentation/structs/Operations.get_mobile_push_fcm_tokens.Input.md +++ b/documentation/structs/Operations.list_inbox_tokens.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_fcm_tokens.Input` +# `Operations.list_inbox_tokens.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `query` ```swift -public var query: Operations.get_mobile_push_fcm_tokens.Input.Query +public var query: Operations.list_inbox_tokens.Input.Query ``` ### `headers` ```swift -public var headers: Operations.get_mobile_push_fcm_tokens.Input.Headers +public var headers: Operations.list_inbox_tokens.Input.Headers ``` ## Methods @@ -32,8 +32,8 @@ public var headers: Operations.get_mobile_push_fcm_tokens.Input.Headers ```swift public init( - query: Operations.get_mobile_push_fcm_tokens.Input.Query = .init(), - headers: Operations.get_mobile_push_fcm_tokens.Input.Headers = .init() + query: Operations.list_inbox_tokens.Input.Query = .init(), + headers: Operations.list_inbox_tokens.Input.Headers = .init() ) ``` diff --git a/documentation/structs/Operations.list_inbox_tokens.Output.Ok.md b/documentation/structs/Operations.list_inbox_tokens.Output.Ok.md new file mode 100644 index 0000000..56c877f --- /dev/null +++ b/documentation/structs/Operations.list_inbox_tokens.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_inbox_tokens.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_inbox_tokens.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_inbox_tokens.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.list_notifications.Input.Headers.md b/documentation/structs/Operations.list_notifications.Input.Headers.md new file mode 100644 index 0000000..452f2be --- /dev/null +++ b/documentation/structs/Operations.list_notifications.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_notifications.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/GET/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_notifications.Input.Query.md b/documentation/structs/Operations.list_notifications.Input.Query.md new file mode 100644 index 0000000..3875b29 --- /dev/null +++ b/documentation/structs/Operations.list_notifications.Input.Query.md @@ -0,0 +1,105 @@ +**STRUCT** + +# `Operations.list_notifications.Input.Query` + +**Contents** + +- [Properties](#properties) + - `limit` + - `starting_after` + - `ending_before` + - `status` + - `category` + - `topic` +- [Methods](#methods) + - `init(limit:starting_after:ending_before:status:category:topic:)` + +```swift +public struct Query: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/GET/query`. + +## Properties +### `limit` + +```swift +public var limit: Swift.Int? +``` + +- Remark: Generated from `#/paths/notifications/GET/query/limit`. + +### `starting_after` + +```swift +public var starting_after: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/GET/query/starting_after`. + +### `ending_before` + +```swift +public var ending_before: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/GET/query/ending_before`. + +### `status` + +```swift +public var status: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/GET/query/status`. + +### `category` + +```swift +public var category: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/GET/query/category`. + +### `topic` + +```swift +public var topic: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/GET/query/topic`. + +## Methods +### `init(limit:starting_after:ending_before:status:category:topic:)` + +```swift +public init( + limit: Swift.Int? = nil, + starting_after: Swift.String? = nil, + ending_before: Swift.String? = nil, + status: Swift.String? = nil, + category: Swift.String? = nil, + topic: Swift.String? = nil +) +``` + +Creates a new `Query`. + +- Parameters: + - limit: + - starting_after: + - ending_before: + - status: + - category: + - topic: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| limit | | +| starting_after | | +| ending_before | | +| status | | +| category | | +| topic | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_notifications.Input.md b/documentation/structs/Operations.list_notifications.Input.md new file mode 100644 index 0000000..bd6858a --- /dev/null +++ b/documentation/structs/Operations.list_notifications.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.list_notifications.Input` + +**Contents** + +- [Properties](#properties) + - `query` + - `headers` +- [Methods](#methods) + - `init(query:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `query` + +```swift +public var query: Operations.list_notifications.Input.Query +``` + +### `headers` + +```swift +public var headers: Operations.list_notifications.Input.Headers +``` + +## Methods +### `init(query:headers:)` + +```swift +public init( + query: Operations.list_notifications.Input.Query = .init(), + headers: Operations.list_notifications.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - query: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| query | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_notifications.Output.Ok.md b/documentation/structs/Operations.list_notifications.Output.Ok.md new file mode 100644 index 0000000..4cfc5b3 --- /dev/null +++ b/documentation/structs/Operations.list_notifications.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_notifications.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_notifications.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_notifications.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_slack_tokens.Input.Headers.md b/documentation/structs/Operations.list_slack_tokens.Input.Headers.md similarity index 78% rename from documentation/structs/Operations.get_slack_tokens.Input.Headers.md rename to documentation/structs/Operations.list_slack_tokens.Input.Headers.md index bc8135f..8fd8895 100644 --- a/documentation/structs/Operations.get_slack_tokens.Input.Headers.md +++ b/documentation/structs/Operations.list_slack_tokens.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_tokens.Input.Headers` +# `Operations.list_slack_tokens.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_slack_tokens.Input.Query.md b/documentation/structs/Operations.list_slack_tokens.Input.Query.md similarity index 96% rename from documentation/structs/Operations.get_slack_tokens.Input.Query.md rename to documentation/structs/Operations.list_slack_tokens.Input.Query.md index 7a1ad19..ac57c5c 100644 --- a/documentation/structs/Operations.get_slack_tokens.Input.Query.md +++ b/documentation/structs/Operations.list_slack_tokens.Input.Query.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_slack_tokens.Input.Query` +# `Operations.list_slack_tokens.Input.Query` **Contents** diff --git a/documentation/structs/Operations.list_slack_tokens.Input.md b/documentation/structs/Operations.list_slack_tokens.Input.md new file mode 100644 index 0000000..326a104 --- /dev/null +++ b/documentation/structs/Operations.list_slack_tokens.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.list_slack_tokens.Input` + +**Contents** + +- [Properties](#properties) + - `query` + - `headers` +- [Methods](#methods) + - `init(query:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `query` + +```swift +public var query: Operations.list_slack_tokens.Input.Query +``` + +### `headers` + +```swift +public var headers: Operations.list_slack_tokens.Input.Headers +``` + +## Methods +### `init(query:headers:)` + +```swift +public init( + query: Operations.list_slack_tokens.Input.Query = .init(), + headers: Operations.list_slack_tokens.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - query: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| query | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_slack_tokens.Output.Ok.md b/documentation/structs/Operations.list_slack_tokens.Output.Ok.md new file mode 100644 index 0000000..a4e89fb --- /dev/null +++ b/documentation/structs/Operations.list_slack_tokens.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_slack_tokens.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_slack_tokens.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_slack_tokens.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_teams_tokens.Input.Headers.md b/documentation/structs/Operations.list_teams_tokens.Input.Headers.md similarity index 78% rename from documentation/structs/Operations.get_teams_tokens.Input.Headers.md rename to documentation/structs/Operations.list_teams_tokens.Input.Headers.md index 0cefcef..56b1aa6 100644 --- a/documentation/structs/Operations.get_teams_tokens.Input.Headers.md +++ b/documentation/structs/Operations.list_teams_tokens.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_tokens.Input.Headers` +# `Operations.list_teams_tokens.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_teams_tokens.Input.Query.md b/documentation/structs/Operations.list_teams_tokens.Input.Query.md similarity index 96% rename from documentation/structs/Operations.get_teams_tokens.Input.Query.md rename to documentation/structs/Operations.list_teams_tokens.Input.Query.md index b81398a..26e2255 100644 --- a/documentation/structs/Operations.get_teams_tokens.Input.Query.md +++ b/documentation/structs/Operations.list_teams_tokens.Input.Query.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_teams_tokens.Input.Query` +# `Operations.list_teams_tokens.Input.Query` **Contents** diff --git a/documentation/structs/Operations.list_teams_tokens.Input.md b/documentation/structs/Operations.list_teams_tokens.Input.md new file mode 100644 index 0000000..ed2c952 --- /dev/null +++ b/documentation/structs/Operations.list_teams_tokens.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.list_teams_tokens.Input` + +**Contents** + +- [Properties](#properties) + - `query` + - `headers` +- [Methods](#methods) + - `init(query:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `query` + +```swift +public var query: Operations.list_teams_tokens.Input.Query +``` + +### `headers` + +```swift +public var headers: Operations.list_teams_tokens.Input.Headers +``` + +## Methods +### `init(query:headers:)` + +```swift +public init( + query: Operations.list_teams_tokens.Input.Query = .init(), + headers: Operations.list_teams_tokens.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - query: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| query | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_teams_tokens.Output.Ok.md b/documentation/structs/Operations.list_teams_tokens.Output.Ok.md new file mode 100644 index 0000000..1bada5d --- /dev/null +++ b/documentation/structs/Operations.list_teams_tokens.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_teams_tokens.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_teams_tokens.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_teams_tokens.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_web_push_tokens.Input.Headers.md b/documentation/structs/Operations.list_web_push_tokens.Input.Headers.md similarity index 77% rename from documentation/structs/Operations.get_web_push_tokens.Input.Headers.md rename to documentation/structs/Operations.list_web_push_tokens.Input.Headers.md index e545d64..fbd7675 100644 --- a/documentation/structs/Operations.get_web_push_tokens.Input.Headers.md +++ b/documentation/structs/Operations.list_web_push_tokens.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_tokens.Input.Headers` +# `Operations.list_web_push_tokens.Input.Headers` **Contents** @@ -19,14 +19,14 @@ public struct Headers: Sendable, Hashable ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.get_web_push_tokens.Input.Query.md b/documentation/structs/Operations.list_web_push_tokens.Input.Query.md similarity index 96% rename from documentation/structs/Operations.get_web_push_tokens.Input.Query.md rename to documentation/structs/Operations.list_web_push_tokens.Input.Query.md index 3dafe46..8647ccf 100644 --- a/documentation/structs/Operations.get_web_push_tokens.Input.Query.md +++ b/documentation/structs/Operations.list_web_push_tokens.Input.Query.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_web_push_tokens.Input.Query` +# `Operations.list_web_push_tokens.Input.Query` **Contents** diff --git a/documentation/structs/Operations.list_web_push_tokens.Input.md b/documentation/structs/Operations.list_web_push_tokens.Input.md new file mode 100644 index 0000000..ecd7a57 --- /dev/null +++ b/documentation/structs/Operations.list_web_push_tokens.Input.md @@ -0,0 +1,51 @@ +**STRUCT** + +# `Operations.list_web_push_tokens.Input` + +**Contents** + +- [Properties](#properties) + - `query` + - `headers` +- [Methods](#methods) + - `init(query:headers:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `query` + +```swift +public var query: Operations.list_web_push_tokens.Input.Query +``` + +### `headers` + +```swift +public var headers: Operations.list_web_push_tokens.Input.Headers +``` + +## Methods +### `init(query:headers:)` + +```swift +public init( + query: Operations.list_web_push_tokens.Input.Query = .init(), + headers: Operations.list_web_push_tokens.Input.Headers = .init() +) +``` + +Creates a new `Input`. + +- Parameters: + - query: + - headers: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| query | | +| headers | | \ No newline at end of file diff --git a/documentation/structs/Operations.list_web_push_tokens.Output.Ok.md b/documentation/structs/Operations.list_web_push_tokens.Output.Ok.md new file mode 100644 index 0000000..edcbcac --- /dev/null +++ b/documentation/structs/Operations.list_web_push_tokens.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.list_web_push_tokens.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.list_web_push_tokens.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.list_web_push_tokens.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_all_notifications_read.Input.Query.md b/documentation/structs/Operations.mark_all_notifications_read.Input.Query.md new file mode 100644 index 0000000..323e874 --- /dev/null +++ b/documentation/structs/Operations.mark_all_notifications_read.Input.Query.md @@ -0,0 +1,57 @@ +**STRUCT** + +# `Operations.mark_all_notifications_read.Input.Query` + +**Contents** + +- [Properties](#properties) + - `category` + - `topic` +- [Methods](#methods) + - `init(category:topic:)` + +```swift +public struct Query: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/read/POST/query`. + +## Properties +### `category` + +```swift +public var category: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/read/POST/query/category`. + +### `topic` + +```swift +public var topic: Swift.String? +``` + +- Remark: Generated from `#/paths/notifications/read/POST/query/topic`. + +## Methods +### `init(category:topic:)` + +```swift +public init( + category: Swift.String? = nil, + topic: Swift.String? = nil +) +``` + +Creates a new `Query`. + +- Parameters: + - category: + - topic: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| category | | +| topic | | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_all_notifications_read.Input.md b/documentation/structs/Operations.mark_all_notifications_read.Input.md new file mode 100644 index 0000000..5f6ee7a --- /dev/null +++ b/documentation/structs/Operations.mark_all_notifications_read.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.mark_all_notifications_read.Input` + +**Contents** + +- [Properties](#properties) + - `query` +- [Methods](#methods) + - `init(query:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `query` + +```swift +public var query: Operations.mark_all_notifications_read.Input.Query +``` + +## Methods +### `init(query:)` + +```swift +public init(query: Operations.mark_all_notifications_read.Input.Query = .init()) +``` + +Creates a new `Input`. + +- Parameters: + - query: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| query | | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_all_notifications_read.Output.NoContent.md b/documentation/structs/Operations.mark_all_notifications_read.Output.NoContent.md new file mode 100644 index 0000000..7dea014 --- /dev/null +++ b/documentation/structs/Operations.mark_all_notifications_read.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.mark_all_notifications_read.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/structs/Operations.mark_notification_read.Input.Path.md b/documentation/structs/Operations.mark_notification_read.Input.Path.md new file mode 100644 index 0000000..4ad7286 --- /dev/null +++ b/documentation/structs/Operations.mark_notification_read.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.mark_notification_read.Input.Path` + +**Contents** + +- [Properties](#properties) + - `notification_id` +- [Methods](#methods) + - `init(notification_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/read/POST/path`. + +## Properties +### `notification_id` + +```swift +public var notification_id: Swift.String +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/read/POST/path/notification_id`. + +## Methods +### `init(notification_id:)` + +```swift +public init(notification_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - notification_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| notification_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_notification_read.Input.md b/documentation/structs/Operations.mark_notification_read.Input.md new file mode 100644 index 0000000..a4739e5 --- /dev/null +++ b/documentation/structs/Operations.mark_notification_read.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.mark_notification_read.Input` + +**Contents** + +- [Properties](#properties) + - `path` +- [Methods](#methods) + - `init(path:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.mark_notification_read.Input.Path +``` + +## Methods +### `init(path:)` + +```swift +public init(path: Operations.mark_notification_read.Input.Path) +``` + +Creates a new `Input`. + +- Parameters: + - path: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_notification_read.Output.NoContent.md b/documentation/structs/Operations.mark_notification_read.Output.NoContent.md new file mode 100644 index 0000000..4c8f9ed --- /dev/null +++ b/documentation/structs/Operations.mark_notification_read.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.mark_notification_read.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/structs/Operations.mark_notification_unread.Input.Path.md b/documentation/structs/Operations.mark_notification_unread.Input.Path.md new file mode 100644 index 0000000..fdf7d2a --- /dev/null +++ b/documentation/structs/Operations.mark_notification_unread.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.mark_notification_unread.Input.Path` + +**Contents** + +- [Properties](#properties) + - `notification_id` +- [Methods](#methods) + - `init(notification_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/unread/POST/path`. + +## Properties +### `notification_id` + +```swift +public var notification_id: Swift.String +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/unread/POST/path/notification_id`. + +## Methods +### `init(notification_id:)` + +```swift +public init(notification_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - notification_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| notification_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_notification_unread.Input.md b/documentation/structs/Operations.mark_notification_unread.Input.md new file mode 100644 index 0000000..27cced5 --- /dev/null +++ b/documentation/structs/Operations.mark_notification_unread.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.mark_notification_unread.Input` + +**Contents** + +- [Properties](#properties) + - `path` +- [Methods](#methods) + - `init(path:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.mark_notification_unread.Input.Path +``` + +## Methods +### `init(path:)` + +```swift +public init(path: Operations.mark_notification_unread.Input.Path) +``` + +Creates a new `Input`. + +- Parameters: + - path: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | \ No newline at end of file diff --git a/documentation/structs/Operations.mark_notification_unread.Output.NoContent.md b/documentation/structs/Operations.mark_notification_unread.Output.NoContent.md new file mode 100644 index 0000000..19d1aae --- /dev/null +++ b/documentation/structs/Operations.mark_notification_unread.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.mark_notification_unread.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/structs/Operations.save_mobile_push_apns_token.Input.Headers.md b/documentation/structs/Operations.save_apns_token.Input.Headers.md similarity index 73% rename from documentation/structs/Operations.save_mobile_push_apns_token.Input.Headers.md rename to documentation/structs/Operations.save_apns_token.Input.Headers.md index 16baed1..323012b 100644 --- a/documentation/structs/Operations.save_mobile_push_apns_token.Input.Headers.md +++ b/documentation/structs/Operations.save_apns_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_mobile_push_apns_token.Input.Headers` +# `Operations.save_apns_token.Input.Headers` **Contents** @@ -13,20 +13,20 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/POST/header`. +- Remark: Generated from `#/paths/channels/mobile_push/apns/tokens/PUT/header`. ## Properties ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.save_mobile_push_fcm_token.Input.md b/documentation/structs/Operations.save_apns_token.Input.md similarity index 58% rename from documentation/structs/Operations.save_mobile_push_fcm_token.Input.md rename to documentation/structs/Operations.save_apns_token.Input.md index 83c0596..9b7fcfb 100644 --- a/documentation/structs/Operations.save_mobile_push_fcm_token.Input.md +++ b/documentation/structs/Operations.save_apns_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_mobile_push_fcm_token.Input` +# `Operations.save_apns_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `headers` ```swift -public var headers: Operations.save_mobile_push_fcm_token.Input.Headers +public var headers: Operations.save_apns_token.Input.Headers ``` ### `body` ```swift -public var body: Operations.save_mobile_push_fcm_token.Input.Body? +public var body: Operations.save_apns_token.Input.Body? ``` ## Methods @@ -32,8 +32,8 @@ public var body: Operations.save_mobile_push_fcm_token.Input.Body? ```swift public init( - headers: Operations.save_mobile_push_fcm_token.Input.Headers = .init(), - body: Operations.save_mobile_push_fcm_token.Input.Body? = nil + headers: Operations.save_apns_token.Input.Headers = .init(), + body: Operations.save_apns_token.Input.Body? = nil ) ``` diff --git a/documentation/structs/Operations.save_apns_token.Output.Ok.md b/documentation/structs/Operations.save_apns_token.Output.Ok.md new file mode 100644 index 0000000..ee9c449 --- /dev/null +++ b/documentation/structs/Operations.save_apns_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_apns_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_apns_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_apns_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_mobile_push_expo_token.Input.Headers.md b/documentation/structs/Operations.save_expo_token.Input.Headers.md similarity index 73% rename from documentation/structs/Operations.save_mobile_push_expo_token.Input.Headers.md rename to documentation/structs/Operations.save_expo_token.Input.Headers.md index cf1d81e..c98ac4b 100644 --- a/documentation/structs/Operations.save_mobile_push_expo_token.Input.Headers.md +++ b/documentation/structs/Operations.save_expo_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_mobile_push_expo_token.Input.Headers` +# `Operations.save_expo_token.Input.Headers` **Contents** @@ -13,20 +13,20 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/POST/header`. +- Remark: Generated from `#/paths/channels/mobile_push/expo/tokens/PUT/header`. ## Properties ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.save_mobile_push_expo_token.Input.md b/documentation/structs/Operations.save_expo_token.Input.md similarity index 58% rename from documentation/structs/Operations.save_mobile_push_expo_token.Input.md rename to documentation/structs/Operations.save_expo_token.Input.md index 5558364..2e6fdd5 100644 --- a/documentation/structs/Operations.save_mobile_push_expo_token.Input.md +++ b/documentation/structs/Operations.save_expo_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_mobile_push_expo_token.Input` +# `Operations.save_expo_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `headers` ```swift -public var headers: Operations.save_mobile_push_expo_token.Input.Headers +public var headers: Operations.save_expo_token.Input.Headers ``` ### `body` ```swift -public var body: Operations.save_mobile_push_expo_token.Input.Body? +public var body: Operations.save_expo_token.Input.Body? ``` ## Methods @@ -32,8 +32,8 @@ public var body: Operations.save_mobile_push_expo_token.Input.Body? ```swift public init( - headers: Operations.save_mobile_push_expo_token.Input.Headers = .init(), - body: Operations.save_mobile_push_expo_token.Input.Body? = nil + headers: Operations.save_expo_token.Input.Headers = .init(), + body: Operations.save_expo_token.Input.Body? = nil ) ``` diff --git a/documentation/structs/Operations.save_expo_token.Output.Ok.md b/documentation/structs/Operations.save_expo_token.Output.Ok.md new file mode 100644 index 0000000..87a5ac8 --- /dev/null +++ b/documentation/structs/Operations.save_expo_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_expo_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_expo_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_expo_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_mobile_push_fcm_token.Input.Headers.md b/documentation/structs/Operations.save_fcm_token.Input.Headers.md similarity index 73% rename from documentation/structs/Operations.save_mobile_push_fcm_token.Input.Headers.md rename to documentation/structs/Operations.save_fcm_token.Input.Headers.md index 617b44d..2366793 100644 --- a/documentation/structs/Operations.save_mobile_push_fcm_token.Input.Headers.md +++ b/documentation/structs/Operations.save_fcm_token.Input.Headers.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_mobile_push_fcm_token.Input.Headers` +# `Operations.save_fcm_token.Input.Headers` **Contents** @@ -13,20 +13,20 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/POST/header`. +- Remark: Generated from `#/paths/channels/mobile_push/fcm/tokens/PUT/header`. ## Properties ### `accept` ```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] ``` ## Methods ### `init(accept:)` ```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) ``` Creates a new `Headers`. diff --git a/documentation/structs/Operations.save_templates_installation.Input.md b/documentation/structs/Operations.save_fcm_token.Input.md similarity index 58% rename from documentation/structs/Operations.save_templates_installation.Input.md rename to documentation/structs/Operations.save_fcm_token.Input.md index 348ae47..4309f1d 100644 --- a/documentation/structs/Operations.save_templates_installation.Input.md +++ b/documentation/structs/Operations.save_fcm_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_templates_installation.Input` +# `Operations.save_fcm_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `headers` ```swift -public var headers: Operations.save_templates_installation.Input.Headers +public var headers: Operations.save_fcm_token.Input.Headers ``` ### `body` ```swift -public var body: Operations.save_templates_installation.Input.Body? +public var body: Operations.save_fcm_token.Input.Body? ``` ## Methods @@ -32,8 +32,8 @@ public var body: Operations.save_templates_installation.Input.Body? ```swift public init( - headers: Operations.save_templates_installation.Input.Headers = .init(), - body: Operations.save_templates_installation.Input.Body? = nil + headers: Operations.save_fcm_token.Input.Headers = .init(), + body: Operations.save_fcm_token.Input.Body? = nil ) ``` diff --git a/documentation/structs/Operations.save_fcm_token.Output.Ok.md b/documentation/structs/Operations.save_fcm_token.Output.Ok.md new file mode 100644 index 0000000..3af3a42 --- /dev/null +++ b/documentation/structs/Operations.save_fcm_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_fcm_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_fcm_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_fcm_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_inbox_installation.Input.Headers.md b/documentation/structs/Operations.save_inbox_installation.Input.Headers.md index a375bcf..adccd0a 100644 --- a/documentation/structs/Operations.save_inbox_installation.Input.Headers.md +++ b/documentation/structs/Operations.save_inbox_installation.Input.Headers.md @@ -13,7 +13,7 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/inbox/installations/POST/header`. +- Remark: Generated from `#/paths/integrations/inbox/installations/PUT/header`. ## Properties ### `accept` diff --git a/documentation/structs/Operations.save_inbox_installation.Output.Created.md b/documentation/structs/Operations.save_inbox_installation.Output.Created.md deleted file mode 100644 index d1a5e7a..0000000 --- a/documentation/structs/Operations.save_inbox_installation.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_inbox_installation.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_inbox_installation.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_inbox_installation.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_inbox_installation.Output.Ok.md b/documentation/structs/Operations.save_inbox_installation.Output.Ok.md new file mode 100644 index 0000000..ed0934a --- /dev/null +++ b/documentation/structs/Operations.save_inbox_installation.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_inbox_installation.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_inbox_installation.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_inbox_installation.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_inbox_token.Input.Headers.md b/documentation/structs/Operations.save_inbox_token.Input.Headers.md new file mode 100644 index 0000000..299eecc --- /dev/null +++ b/documentation/structs/Operations.save_inbox_token.Input.Headers.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_inbox_token.Input.Headers` + +**Contents** + +- [Properties](#properties) + - `accept` +- [Methods](#methods) + - `init(accept:)` + +```swift +public struct Headers: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/channels/in_app/inbox/tokens/PUT/header`. + +## Properties +### `accept` + +```swift +public var accept: [OpenAPIRuntime.AcceptHeaderContentType] +``` + +## Methods +### `init(accept:)` + +```swift +public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) +``` + +Creates a new `Headers`. + +- Parameters: + - accept: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.save_mobile_push_apns_token.Input.md b/documentation/structs/Operations.save_inbox_token.Input.md similarity index 58% rename from documentation/structs/Operations.save_mobile_push_apns_token.Input.md rename to documentation/structs/Operations.save_inbox_token.Input.md index b4ddd0f..940368b 100644 --- a/documentation/structs/Operations.save_mobile_push_apns_token.Input.md +++ b/documentation/structs/Operations.save_inbox_token.Input.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.save_mobile_push_apns_token.Input` +# `Operations.save_inbox_token.Input` **Contents** @@ -18,13 +18,13 @@ public struct Input: Sendable, Hashable ### `headers` ```swift -public var headers: Operations.save_mobile_push_apns_token.Input.Headers +public var headers: Operations.save_inbox_token.Input.Headers ``` ### `body` ```swift -public var body: Operations.save_mobile_push_apns_token.Input.Body? +public var body: Operations.save_inbox_token.Input.Body? ``` ## Methods @@ -32,8 +32,8 @@ public var body: Operations.save_mobile_push_apns_token.Input.Body? ```swift public init( - headers: Operations.save_mobile_push_apns_token.Input.Headers = .init(), - body: Operations.save_mobile_push_apns_token.Input.Body? = nil + headers: Operations.save_inbox_token.Input.Headers = .init(), + body: Operations.save_inbox_token.Input.Body? = nil ) ``` diff --git a/documentation/structs/Operations.save_inbox_token.Output.Ok.md b/documentation/structs/Operations.save_inbox_token.Output.Ok.md new file mode 100644 index 0000000..472bfda --- /dev/null +++ b/documentation/structs/Operations.save_inbox_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_inbox_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_inbox_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_inbox_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_mobile_push_apns_token.Output.Created.md b/documentation/structs/Operations.save_mobile_push_apns_token.Output.Created.md deleted file mode 100644 index db73b65..0000000 --- a/documentation/structs/Operations.save_mobile_push_apns_token.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_mobile_push_apns_token.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_mobile_push_apns_token.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_mobile_push_apns_token.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_mobile_push_expo_token.Output.Created.md b/documentation/structs/Operations.save_mobile_push_expo_token.Output.Created.md deleted file mode 100644 index 7f17e05..0000000 --- a/documentation/structs/Operations.save_mobile_push_expo_token.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_mobile_push_expo_token.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_mobile_push_expo_token.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_mobile_push_expo_token.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_mobile_push_fcm_token.Output.Created.md b/documentation/structs/Operations.save_mobile_push_fcm_token.Output.Created.md deleted file mode 100644 index 0d93d46..0000000 --- a/documentation/structs/Operations.save_mobile_push_fcm_token.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_mobile_push_fcm_token.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_mobile_push_fcm_token.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_mobile_push_fcm_token.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_slack_installation.Input.Headers.md b/documentation/structs/Operations.save_slack_installation.Input.Headers.md index 2b3161d..956d945 100644 --- a/documentation/structs/Operations.save_slack_installation.Input.Headers.md +++ b/documentation/structs/Operations.save_slack_installation.Input.Headers.md @@ -13,7 +13,7 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/slack/installations/POST/header`. +- Remark: Generated from `#/paths/integrations/slack/installations/PUT/header`. ## Properties ### `accept` diff --git a/documentation/structs/Operations.save_slack_installation.Output.Created.md b/documentation/structs/Operations.save_slack_installation.Output.Created.md deleted file mode 100644 index f2c2726..0000000 --- a/documentation/structs/Operations.save_slack_installation.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_slack_installation.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_slack_installation.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_slack_installation.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_slack_installation.Output.Ok.md b/documentation/structs/Operations.save_slack_installation.Output.Ok.md new file mode 100644 index 0000000..5870ea7 --- /dev/null +++ b/documentation/structs/Operations.save_slack_installation.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_slack_installation.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_slack_installation.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_slack_installation.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_slack_token.Input.Headers.md b/documentation/structs/Operations.save_slack_token.Input.Headers.md index e27f773..742a8dc 100644 --- a/documentation/structs/Operations.save_slack_token.Input.Headers.md +++ b/documentation/structs/Operations.save_slack_token.Input.Headers.md @@ -13,7 +13,7 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/slack/tokens/POST/header`. +- Remark: Generated from `#/paths/channels/slack/tokens/PUT/header`. ## Properties ### `accept` diff --git a/documentation/structs/Operations.save_slack_token.Output.Created.md b/documentation/structs/Operations.save_slack_token.Output.Created.md deleted file mode 100644 index 88d3bb9..0000000 --- a/documentation/structs/Operations.save_slack_token.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_slack_token.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_slack_token.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_slack_token.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_slack_token.Output.Ok.md b/documentation/structs/Operations.save_slack_token.Output.Ok.md new file mode 100644 index 0000000..63d8c0a --- /dev/null +++ b/documentation/structs/Operations.save_slack_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_slack_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_slack_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_slack_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_teams_token.Input.Headers.md b/documentation/structs/Operations.save_teams_token.Input.Headers.md index b98d264..92bb8ea 100644 --- a/documentation/structs/Operations.save_teams_token.Input.Headers.md +++ b/documentation/structs/Operations.save_teams_token.Input.Headers.md @@ -13,7 +13,7 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/teams/tokens/POST/header`. +- Remark: Generated from `#/paths/channels/teams/tokens/PUT/header`. ## Properties ### `accept` diff --git a/documentation/structs/Operations.save_teams_token.Output.Created.md b/documentation/structs/Operations.save_teams_token.Output.Created.md deleted file mode 100644 index 6524a45..0000000 --- a/documentation/structs/Operations.save_teams_token.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_teams_token.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_teams_token.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_teams_token.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_teams_token.Output.Ok.md b/documentation/structs/Operations.save_teams_token.Output.Ok.md new file mode 100644 index 0000000..6b73cf6 --- /dev/null +++ b/documentation/structs/Operations.save_teams_token.Output.Ok.md @@ -0,0 +1,41 @@ +**STRUCT** + +# `Operations.save_teams_token.Output.Ok` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Ok: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_teams_token.Output.Ok.Body +``` + +Received HTTP response body + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_teams_token.Output.Ok.Body) +``` + +Creates a new `Ok`. + +- Parameters: + - body: Received HTTP response body + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_templates_installation.Input.Headers.md b/documentation/structs/Operations.save_templates_installation.Input.Headers.md deleted file mode 100644 index f11df67..0000000 --- a/documentation/structs/Operations.save_templates_installation.Input.Headers.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_templates_installation.Input.Headers` - -**Contents** - -- [Properties](#properties) - - `accept` -- [Methods](#methods) - - `init(accept:)` - -```swift -public struct Headers: Sendable, Hashable -``` - -- Remark: Generated from `#/paths/integrations/templates/installations/POST/header`. - -## Properties -### `accept` - -```swift -public var accept: [OpenAPIRuntime.AcceptHeaderContentType] -``` - -## Methods -### `init(accept:)` - -```swift -public init(accept: [OpenAPIRuntime.AcceptHeaderContentType] = .defaultValues()) -``` - -Creates a new `Headers`. - -- Parameters: - - accept: - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| accept | | \ No newline at end of file diff --git a/documentation/structs/Operations.save_templates_installation.Output.Created.md b/documentation/structs/Operations.save_templates_installation.Output.Created.md deleted file mode 100644 index 9bbd85e..0000000 --- a/documentation/structs/Operations.save_templates_installation.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_templates_installation.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_templates_installation.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_templates_installation.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.save_user_preferences.Input.md b/documentation/structs/Operations.save_user_preferences.Input.md new file mode 100644 index 0000000..2c9e5ab --- /dev/null +++ b/documentation/structs/Operations.save_user_preferences.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.save_user_preferences.Input` + +**Contents** + +- [Properties](#properties) + - `body` +- [Methods](#methods) + - `init(body:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `body` + +```swift +public var body: Operations.save_user_preferences.Input.Body? +``` + +## Methods +### `init(body:)` + +```swift +public init(body: Operations.save_user_preferences.Input.Body? = nil) +``` + +Creates a new `Input`. + +- Parameters: + - body: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| body | | \ No newline at end of file diff --git a/documentation/structs/Operations.save_user_preferences.Output.NoContent.md b/documentation/structs/Operations.save_user_preferences.Output.NoContent.md new file mode 100644 index 0000000..4d188da --- /dev/null +++ b/documentation/structs/Operations.save_user_preferences.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.save_user_preferences.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/structs/Operations.save_web_push_installation.Input.Headers.md b/documentation/structs/Operations.save_web_push_installation.Input.Headers.md index a80905a..7331cc0 100644 --- a/documentation/structs/Operations.save_web_push_installation.Input.Headers.md +++ b/documentation/structs/Operations.save_web_push_installation.Input.Headers.md @@ -13,7 +13,7 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/integrations/web_push/installations/POST/header`. +- Remark: Generated from `#/paths/integrations/web_push/installations/PUT/header`. ## Properties ### `accept` diff --git a/documentation/structs/Operations.save_web_push_installation.Output.Created.md b/documentation/structs/Operations.save_web_push_installation.Output.Created.md deleted file mode 100644 index 97304f3..0000000 --- a/documentation/structs/Operations.save_web_push_installation.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_web_push_installation.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_web_push_installation.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_web_push_installation.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.get_mobile_push_expo_token.Output.Ok.md b/documentation/structs/Operations.save_web_push_installation.Output.Ok.md similarity index 71% rename from documentation/structs/Operations.get_mobile_push_expo_token.Output.Ok.md rename to documentation/structs/Operations.save_web_push_installation.Output.Ok.md index 37a13bd..9687069 100644 --- a/documentation/structs/Operations.get_mobile_push_expo_token.Output.Ok.md +++ b/documentation/structs/Operations.save_web_push_installation.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.get_mobile_push_expo_token.Output.Ok` +# `Operations.save_web_push_installation.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.get_mobile_push_expo_token.Output.Ok.Body +public var body: Operations.save_web_push_installation.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.get_mobile_push_expo_token.Output.Ok.Body) +public init(body: Operations.save_web_push_installation.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.save_web_push_token.Input.Headers.md b/documentation/structs/Operations.save_web_push_token.Input.Headers.md index d0faf34..dd88ff4 100644 --- a/documentation/structs/Operations.save_web_push_token.Input.Headers.md +++ b/documentation/structs/Operations.save_web_push_token.Input.Headers.md @@ -13,7 +13,7 @@ public struct Headers: Sendable, Hashable ``` -- Remark: Generated from `#/paths/channels/web_push/tokens/POST/header`. +- Remark: Generated from `#/paths/channels/web_push/tokens/PUT/header`. ## Properties ### `accept` diff --git a/documentation/structs/Operations.save_web_push_token.Output.Created.md b/documentation/structs/Operations.save_web_push_token.Output.Created.md deleted file mode 100644 index 49f2036..0000000 --- a/documentation/structs/Operations.save_web_push_token.Output.Created.md +++ /dev/null @@ -1,41 +0,0 @@ -**STRUCT** - -# `Operations.save_web_push_token.Output.Created` - -**Contents** - -- [Properties](#properties) - - `body` -- [Methods](#methods) - - `init(body:)` - -```swift -public struct Created: Sendable, Hashable -``` - -## Properties -### `body` - -```swift -public var body: Operations.save_web_push_token.Output.Created.Body -``` - -Received HTTP response body - -## Methods -### `init(body:)` - -```swift -public init(body: Operations.save_web_push_token.Output.Created.Body) -``` - -Creates a new `Created`. - -- Parameters: - - body: Received HTTP response body - -#### Parameters - -| Name | Description | -| ---- | ----------- | -| body | Received HTTP response body | \ No newline at end of file diff --git a/documentation/structs/Operations.discard_slack_token.Output.Ok.md b/documentation/structs/Operations.save_web_push_token.Output.Ok.md similarity index 72% rename from documentation/structs/Operations.discard_slack_token.Output.Ok.md rename to documentation/structs/Operations.save_web_push_token.Output.Ok.md index 1f20244..ade112d 100644 --- a/documentation/structs/Operations.discard_slack_token.Output.Ok.md +++ b/documentation/structs/Operations.save_web_push_token.Output.Ok.md @@ -1,6 +1,6 @@ **STRUCT** -# `Operations.discard_slack_token.Output.Ok` +# `Operations.save_web_push_token.Output.Ok` **Contents** @@ -17,7 +17,7 @@ public struct Ok: Sendable, Hashable ### `body` ```swift -public var body: Operations.discard_slack_token.Output.Ok.Body +public var body: Operations.save_web_push_token.Output.Ok.Body ``` Received HTTP response body @@ -26,7 +26,7 @@ Received HTTP response body ### `init(body:)` ```swift -public init(body: Operations.discard_slack_token.Output.Ok.Body) +public init(body: Operations.save_web_push_token.Output.Ok.Body) ``` Creates a new `Ok`. diff --git a/documentation/structs/Operations.unarchive_notification.Input.Path.md b/documentation/structs/Operations.unarchive_notification.Input.Path.md new file mode 100644 index 0000000..8e87ea8 --- /dev/null +++ b/documentation/structs/Operations.unarchive_notification.Input.Path.md @@ -0,0 +1,43 @@ +**STRUCT** + +# `Operations.unarchive_notification.Input.Path` + +**Contents** + +- [Properties](#properties) + - `notification_id` +- [Methods](#methods) + - `init(notification_id:)` + +```swift +public struct Path: Sendable, Hashable +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/unarchive/POST/path`. + +## Properties +### `notification_id` + +```swift +public var notification_id: Swift.String +``` + +- Remark: Generated from `#/paths/notifications/{notification_id}/unarchive/POST/path/notification_id`. + +## Methods +### `init(notification_id:)` + +```swift +public init(notification_id: Swift.String) +``` + +Creates a new `Path`. + +- Parameters: + - notification_id: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| notification_id | | \ No newline at end of file diff --git a/documentation/structs/Operations.unarchive_notification.Input.md b/documentation/structs/Operations.unarchive_notification.Input.md new file mode 100644 index 0000000..f1b2f1c --- /dev/null +++ b/documentation/structs/Operations.unarchive_notification.Input.md @@ -0,0 +1,39 @@ +**STRUCT** + +# `Operations.unarchive_notification.Input` + +**Contents** + +- [Properties](#properties) + - `path` +- [Methods](#methods) + - `init(path:)` + +```swift +public struct Input: Sendable, Hashable +``` + +## Properties +### `path` + +```swift +public var path: Operations.unarchive_notification.Input.Path +``` + +## Methods +### `init(path:)` + +```swift +public init(path: Operations.unarchive_notification.Input.Path) +``` + +Creates a new `Input`. + +- Parameters: + - path: + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| path | | \ No newline at end of file diff --git a/documentation/structs/Operations.unarchive_notification.Output.NoContent.md b/documentation/structs/Operations.unarchive_notification.Output.NoContent.md new file mode 100644 index 0000000..146d844 --- /dev/null +++ b/documentation/structs/Operations.unarchive_notification.Output.NoContent.md @@ -0,0 +1,21 @@ +**STRUCT** + +# `Operations.unarchive_notification.Output.NoContent` + +**Contents** + +- [Methods](#methods) + - `init()` + +```swift +public struct NoContent: Sendable, Hashable +``` + +## Methods +### `init()` + +```swift +public init() +``` + +Creates a new `NoContent`. diff --git a/documentation/typealiases/Components.Schemas.UserPreferences.categoriesPayload.md b/documentation/typealiases/Components.Schemas.UserPreferences.categoriesPayload.md new file mode 100644 index 0000000..c5192ce --- /dev/null +++ b/documentation/typealiases/Components.Schemas.UserPreferences.categoriesPayload.md @@ -0,0 +1,9 @@ +**TYPEALIAS** + +# `Components.Schemas.UserPreferences.categoriesPayload` + +```swift +public typealias categoriesPayload = [Components.Schemas.UserPreferences.categoriesPayloadPayload] +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categories`. \ No newline at end of file diff --git a/documentation/typealiases/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload.md b/documentation/typealiases/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload.md new file mode 100644 index 0000000..a0470d0 --- /dev/null +++ b/documentation/typealiases/Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload.md @@ -0,0 +1,9 @@ +**TYPEALIAS** + +# `Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayload` + +```swift +public typealias channelsPayload = [Components.Schemas.UserPreferences.categoriesPayloadPayload.channelsPayloadPayload] +``` + +- Remark: Generated from `#/components/schemas/UserPreferences/categoriesPayload/channels`. \ No newline at end of file