Skip to content

Commit

Permalink
Update OpenAPI spec and regenerate libs
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-lucho committed Jan 30, 2024
1 parent 484d8e0 commit 642e4a7
Show file tree
Hide file tree
Showing 14 changed files with 260 additions and 59 deletions.
10 changes: 10 additions & 0 deletions csharp/Svix/MessageAttempt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public List<EndpointMessageOut> ListAttemptedMessages(string appId, string endpo
options?.Limit,
options?.Iterator,
options?.Channel,
options?.Tag,
(Svix.Model.MessageStatus?)options?.Status,
options?.Before,
options?.After);
Expand Down Expand Up @@ -108,6 +109,7 @@ public async Task<List<EndpointMessageOut>> ListAttemptedMessagesAsync(string ap
options?.Limit,
options?.Iterator,
options?.Channel,
options?.Tag,
(Svix.Model.MessageStatus?)options?.Status,
options?.Before,
options?.After,
Expand Down Expand Up @@ -141,6 +143,7 @@ public List<MessageAttemptOut> ListAttemptsByEndpoint(string appId, string endpo
(Svix.Model.MessageStatus?)options?.Status,
(Svix.Model.StatusCodeClass?)options?.Code,
options?.Channel,
options?.Tag,
options?.Before,
options?.After,
options?.WithContent,
Expand Down Expand Up @@ -173,6 +176,7 @@ public async Task<List<MessageAttemptOut>> ListAttemptsByEndpointAsync(string ap
(Svix.Model.MessageStatus?)options?.Status,
(Svix.Model.StatusCodeClass?)options?.Code,
options?.Channel,
options?.Tag,
options?.Before,
options?.After,
options?.WithContent,
Expand Down Expand Up @@ -206,6 +210,7 @@ public List<MessageAttemptOut> ListAttemptsByMessage(string appId, string messag
(Svix.Model.MessageStatus?)options?.Status,
(Svix.Model.StatusCodeClass?)options?.Code,
options?.Channel,
options?.Tag,
options?.EndpointId,
options?.Before,
options?.After,
Expand Down Expand Up @@ -238,6 +243,7 @@ public async Task<List<MessageAttemptOut>> ListAttemptsByMessageAsync(string app
(Svix.Model.MessageStatus?)options?.Status,
(Svix.Model.StatusCodeClass?)options?.Code,
options?.Channel,
options?.Tag,
options?.EndpointId,
options?.Before,
options?.After,
Expand Down Expand Up @@ -271,6 +277,7 @@ public List<MessageAttemptEndpointOut> ListAttemptsForEndpoint(string appId, str
options?.Limit,
options?.Iterator,
options?.Channel,
options?.Tag,
(Svix.Model.MessageStatus?)options?.Status,
options?.Before,
options?.After,
Expand Down Expand Up @@ -303,6 +310,7 @@ public async Task<List<MessageAttemptEndpointOut>> ListAttemptsForEndpointAsync(
options?.Limit,
options?.Iterator,
options?.Channel,
options?.Tag,
(Svix.Model.MessageStatus?)options?.Status,
options?.Before,
options?.After,
Expand Down Expand Up @@ -335,6 +343,7 @@ public List<MessageAttemptOut> ListAttempts(string appId, string messageId, Mess
options?.Iterator,
options?.EndpointId,
options?.Channel,
options?.Tag,
(Svix.Model.MessageStatus?)options?.Status,
options?.Before,
options?.After,
Expand Down Expand Up @@ -367,6 +376,7 @@ public async Task<List<MessageAttemptOut>> ListAttemptsAsync(string appId, strin
options?.Iterator,
options?.EndpointId,
options?.Channel,
options?.Tag,
(Svix.Model.MessageStatus?)options?.Status,
options?.Before,
options?.After,
Expand Down
2 changes: 2 additions & 0 deletions csharp/Svix/Models/AttemptsByEndpointListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ public sealed class AttemptsByEndpointListOptions : ListOptions
public bool? WithContent { get; set; }

public bool? WithMsg { get; set; }

public string? Tag { get; set; }

Check warning on line 24 in csharp/Svix/Models/AttemptsByEndpointListOptions.cs

View workflow job for this annotation

GitHub Actions / C# Lint

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
}
}
2 changes: 2 additions & 0 deletions csharp/Svix/Models/AttemptsByMessageListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ public sealed class AttemptsByMessageListOptions : ListOptions
public DateTime? After { get; set; }

public bool? WithContent { get; set; }

public string? Tag { get; set; }

Check warning on line 24 in csharp/Svix/Models/AttemptsByMessageListOptions.cs

View workflow job for this annotation

GitHub Actions / C# Lint

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
}
}
2 changes: 2 additions & 0 deletions csharp/Svix/Models/MessageAttemptListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ public class MessageAttemptListOptions : ListOptions
public DateTime? After { get; set; }

public bool? WithContent { get; set; }

public string? Tag { get; set; }

Check warning on line 22 in csharp/Svix/Models/MessageAttemptListOptions.cs

View workflow job for this annotation

GitHub Actions / C# Lint

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
}
}
2 changes: 1 addition & 1 deletion go/internal/openapi/api_inbound.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions go/internal/openapi/api_message_attempt.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions go/internal/openapi/model_endpoint_message_out.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions go/internal/openapi/model_message_out.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 642e4a7

Please sign in to comment.