diff --git a/csharp/Svix/MessageAttempt.cs b/csharp/Svix/MessageAttempt.cs index 274ef0a03..e64d200d4 100644 --- a/csharp/Svix/MessageAttempt.cs +++ b/csharp/Svix/MessageAttempt.cs @@ -80,6 +80,7 @@ public List ListAttemptedMessages(string appId, string endpo options?.Limit, options?.Iterator, options?.Channel, + options?.Tag, (Svix.Model.MessageStatus?)options?.Status, options?.Before, options?.After); @@ -108,6 +109,7 @@ public async Task> ListAttemptedMessagesAsync(string ap options?.Limit, options?.Iterator, options?.Channel, + options?.Tag, (Svix.Model.MessageStatus?)options?.Status, options?.Before, options?.After, @@ -141,6 +143,7 @@ public List 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, @@ -173,6 +176,7 @@ public async Task> ListAttemptsByEndpointAsync(string ap (Svix.Model.MessageStatus?)options?.Status, (Svix.Model.StatusCodeClass?)options?.Code, options?.Channel, + options?.Tag, options?.Before, options?.After, options?.WithContent, @@ -206,6 +210,7 @@ public List 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, @@ -238,6 +243,7 @@ public async Task> ListAttemptsByMessageAsync(string app (Svix.Model.MessageStatus?)options?.Status, (Svix.Model.StatusCodeClass?)options?.Code, options?.Channel, + options?.Tag, options?.EndpointId, options?.Before, options?.After, @@ -271,6 +277,7 @@ public List ListAttemptsForEndpoint(string appId, str options?.Limit, options?.Iterator, options?.Channel, + options?.Tag, (Svix.Model.MessageStatus?)options?.Status, options?.Before, options?.After, @@ -303,6 +310,7 @@ public async Task> ListAttemptsForEndpointAsync( options?.Limit, options?.Iterator, options?.Channel, + options?.Tag, (Svix.Model.MessageStatus?)options?.Status, options?.Before, options?.After, @@ -335,6 +343,7 @@ public List ListAttempts(string appId, string messageId, Mess options?.Iterator, options?.EndpointId, options?.Channel, + options?.Tag, (Svix.Model.MessageStatus?)options?.Status, options?.Before, options?.After, @@ -367,6 +376,7 @@ public async Task> ListAttemptsAsync(string appId, strin options?.Iterator, options?.EndpointId, options?.Channel, + options?.Tag, (Svix.Model.MessageStatus?)options?.Status, options?.Before, options?.After, diff --git a/csharp/Svix/Models/AttemptsByEndpointListOptions.cs b/csharp/Svix/Models/AttemptsByEndpointListOptions.cs index 597666d0c..fddeda2ee 100644 --- a/csharp/Svix/Models/AttemptsByEndpointListOptions.cs +++ b/csharp/Svix/Models/AttemptsByEndpointListOptions.cs @@ -20,5 +20,7 @@ public sealed class AttemptsByEndpointListOptions : ListOptions public bool? WithContent { get; set; } public bool? WithMsg { get; set; } + + public string? Tag { get; set; } } } \ No newline at end of file diff --git a/csharp/Svix/Models/AttemptsByMessageListOptions.cs b/csharp/Svix/Models/AttemptsByMessageListOptions.cs index 04bad3450..34e6e42a7 100644 --- a/csharp/Svix/Models/AttemptsByMessageListOptions.cs +++ b/csharp/Svix/Models/AttemptsByMessageListOptions.cs @@ -20,5 +20,7 @@ public sealed class AttemptsByMessageListOptions : ListOptions public DateTime? After { get; set; } public bool? WithContent { get; set; } + + public string? Tag { get; set; } } } \ No newline at end of file diff --git a/csharp/Svix/Models/MessageAttemptListOptions.cs b/csharp/Svix/Models/MessageAttemptListOptions.cs index bac490651..8c1ed53c2 100644 --- a/csharp/Svix/Models/MessageAttemptListOptions.cs +++ b/csharp/Svix/Models/MessageAttemptListOptions.cs @@ -18,5 +18,7 @@ public class MessageAttemptListOptions : ListOptions public DateTime? After { get; set; } public bool? WithContent { get; set; } + + public string? Tag { get; set; } } } \ No newline at end of file diff --git a/go/internal/openapi/api_inbound.go b/go/internal/openapi/api_inbound.go index e59a82395..faeae00a8 100644 --- a/go/internal/openapi/api_inbound.go +++ b/go/internal/openapi/api_inbound.go @@ -111,7 +111,7 @@ func (a *InboundApiService) V1InboundMsgExecute(r ApiV1InboundMsgRequest) (Messa localVarQueryParams.Add("event_type", parameterToString(*r.eventType, "")) } // to determine the Content-Type header - localVarHTTPContentTypes := []string{"text/plain; charset=utf-8"} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) diff --git a/go/internal/openapi/api_message_attempt.go b/go/internal/openapi/api_message_attempt.go index 98cce9007..9e755dc12 100644 --- a/go/internal/openapi/api_message_attempt.go +++ b/go/internal/openapi/api_message_attempt.go @@ -819,6 +819,7 @@ type ApiV1MessageAttemptListAttemptedMessagesRequest struct { limit *int32 iterator *string channel *string + tag *string status *MessageStatus before *time.Time after *time.Time @@ -838,6 +839,10 @@ func (r ApiV1MessageAttemptListAttemptedMessagesRequest) Channel(channel string) r.channel = &channel return r } +func (r ApiV1MessageAttemptListAttemptedMessagesRequest) Tag(tag string) ApiV1MessageAttemptListAttemptedMessagesRequest { + r.tag = &tag + return r +} func (r ApiV1MessageAttemptListAttemptedMessagesRequest) Status(status MessageStatus) ApiV1MessageAttemptListAttemptedMessagesRequest { r.status = &status return r @@ -936,6 +941,9 @@ func (a *MessageAttemptApiService) V1MessageAttemptListAttemptedMessagesExecute( if r.channel != nil { localVarQueryParams.Add("channel", parameterToString(*r.channel, "")) } + if r.tag != nil { + localVarQueryParams.Add("tag", parameterToString(*r.tag, "")) + } if r.status != nil { localVarQueryParams.Add("status", parameterToString(*r.status, "")) } @@ -1092,6 +1100,7 @@ type ApiV1MessageAttemptListByEndpointRequest struct { status *MessageStatus statusCodeClass *StatusCodeClass channel *string + tag *string before *time.Time after *time.Time withContent *bool @@ -1119,6 +1128,10 @@ func (r ApiV1MessageAttemptListByEndpointRequest) Channel(channel string) ApiV1M r.channel = &channel return r } +func (r ApiV1MessageAttemptListByEndpointRequest) Tag(tag string) ApiV1MessageAttemptListByEndpointRequest { + r.tag = &tag + return r +} func (r ApiV1MessageAttemptListByEndpointRequest) Before(before time.Time) ApiV1MessageAttemptListByEndpointRequest { r.before = &before return r @@ -1221,6 +1234,9 @@ func (a *MessageAttemptApiService) V1MessageAttemptListByEndpointExecute(r ApiV1 if r.channel != nil { localVarQueryParams.Add("channel", parameterToString(*r.channel, "")) } + if r.tag != nil { + localVarQueryParams.Add("tag", parameterToString(*r.tag, "")) + } if r.before != nil { localVarQueryParams.Add("before", parameterToString(*r.before, "")) } @@ -1376,6 +1392,7 @@ type ApiV1MessageAttemptListByEndpointDeprecatedRequest struct { limit *int32 iterator *string channel *string + tag *string status *MessageStatus before *time.Time after *time.Time @@ -1394,6 +1411,10 @@ func (r ApiV1MessageAttemptListByEndpointDeprecatedRequest) Channel(channel stri r.channel = &channel return r } +func (r ApiV1MessageAttemptListByEndpointDeprecatedRequest) Tag(tag string) ApiV1MessageAttemptListByEndpointDeprecatedRequest { + r.tag = &tag + return r +} func (r ApiV1MessageAttemptListByEndpointDeprecatedRequest) Status(status MessageStatus) ApiV1MessageAttemptListByEndpointDeprecatedRequest { r.status = &status return r @@ -1501,6 +1522,9 @@ func (a *MessageAttemptApiService) V1MessageAttemptListByEndpointDeprecatedExecu if r.channel != nil { localVarQueryParams.Add("channel", parameterToString(*r.channel, "")) } + if r.tag != nil { + localVarQueryParams.Add("tag", parameterToString(*r.tag, "")) + } if r.status != nil { localVarQueryParams.Add("status", parameterToString(*r.status, "")) } @@ -1654,6 +1678,7 @@ type ApiV1MessageAttemptListByMsgRequest struct { status *MessageStatus statusCodeClass *StatusCodeClass channel *string + tag *string endpointId *string before *time.Time after *time.Time @@ -1681,6 +1706,10 @@ func (r ApiV1MessageAttemptListByMsgRequest) Channel(channel string) ApiV1Messag r.channel = &channel return r } +func (r ApiV1MessageAttemptListByMsgRequest) Tag(tag string) ApiV1MessageAttemptListByMsgRequest { + r.tag = &tag + return r +} func (r ApiV1MessageAttemptListByMsgRequest) EndpointId(endpointId string) ApiV1MessageAttemptListByMsgRequest { r.endpointId = &endpointId return r @@ -1783,6 +1812,9 @@ func (a *MessageAttemptApiService) V1MessageAttemptListByMsgExecute(r ApiV1Messa if r.channel != nil { localVarQueryParams.Add("channel", parameterToString(*r.channel, "")) } + if r.tag != nil { + localVarQueryParams.Add("tag", parameterToString(*r.tag, "")) + } if r.endpointId != nil { localVarQueryParams.Add("endpoint_id", parameterToString(*r.endpointId, "")) } @@ -1938,6 +1970,7 @@ type ApiV1MessageAttemptListByMsgDeprecatedRequest struct { iterator *string endpointId *string channel *string + tag *string status *MessageStatus before *time.Time after *time.Time @@ -1961,6 +1994,10 @@ func (r ApiV1MessageAttemptListByMsgDeprecatedRequest) Channel(channel string) A r.channel = &channel return r } +func (r ApiV1MessageAttemptListByMsgDeprecatedRequest) Tag(tag string) ApiV1MessageAttemptListByMsgDeprecatedRequest { + r.tag = &tag + return r +} func (r ApiV1MessageAttemptListByMsgDeprecatedRequest) Status(status MessageStatus) ApiV1MessageAttemptListByMsgDeprecatedRequest { r.status = &status return r @@ -2061,6 +2098,9 @@ func (a *MessageAttemptApiService) V1MessageAttemptListByMsgDeprecatedExecute(r if r.channel != nil { localVarQueryParams.Add("channel", parameterToString(*r.channel, "")) } + if r.tag != nil { + localVarQueryParams.Add("tag", parameterToString(*r.tag, "")) + } if r.status != nil { localVarQueryParams.Add("status", parameterToString(*r.status, "")) } diff --git a/go/internal/openapi/model_endpoint_message_out.go b/go/internal/openapi/model_endpoint_message_out.go index 737b8b1dd..f8dcc06b0 100644 --- a/go/internal/openapi/model_endpoint_message_out.go +++ b/go/internal/openapi/model_endpoint_message_out.go @@ -28,6 +28,7 @@ type EndpointMessageOut struct { NextAttempt NullableTime `json:"nextAttempt,omitempty"` Payload map[string]interface{} `json:"payload"` Status MessageStatus `json:"status"` + Tags []string `json:"tags,omitempty"` Timestamp time.Time `json:"timestamp"` } @@ -266,6 +267,39 @@ func (o *EndpointMessageOut) SetStatus(v MessageStatus) { o.Status = v } +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *EndpointMessageOut) GetTags() []string { + if o == nil { + var ret []string + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *EndpointMessageOut) GetTagsOk() (*[]string, bool) { + if o == nil || o.Tags == nil { + return nil, false + } + return &o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *EndpointMessageOut) HasTags() bool { + if o != nil && o.Tags != nil { + return true + } + + return false +} + +// SetTags gets a reference to the given []string and assigns it to the Tags field. +func (o *EndpointMessageOut) SetTags(v []string) { + o.Tags = v +} + // GetTimestamp returns the Timestamp field value func (o *EndpointMessageOut) GetTimestamp() time.Time { if o == nil { @@ -313,6 +347,9 @@ func (o EndpointMessageOut) MarshalJSON() ([]byte, error) { if true { toSerialize["status"] = o.Status } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } if true { toSerialize["timestamp"] = o.Timestamp } diff --git a/go/internal/openapi/model_message_out.go b/go/internal/openapi/model_message_out.go index 0bff7158b..d8381c957 100644 --- a/go/internal/openapi/model_message_out.go +++ b/go/internal/openapi/model_message_out.go @@ -26,6 +26,7 @@ type MessageOut struct { // The msg's ID Id string `json:"id"` Payload map[string]interface{} `json:"payload"` + Tags []string `json:"tags,omitempty"` Timestamp time.Time `json:"timestamp"` } @@ -197,6 +198,39 @@ func (o *MessageOut) SetPayload(v map[string]interface{}) { o.Payload = v } +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MessageOut) GetTags() []string { + if o == nil { + var ret []string + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MessageOut) GetTagsOk() (*[]string, bool) { + if o == nil || o.Tags == nil { + return nil, false + } + return &o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *MessageOut) HasTags() bool { + if o != nil && o.Tags != nil { + return true + } + + return false +} + +// SetTags gets a reference to the given []string and assigns it to the Tags field. +func (o *MessageOut) SetTags(v []string) { + o.Tags = v +} + // GetTimestamp returns the Timestamp field value func (o *MessageOut) GetTimestamp() time.Time { if o == nil { @@ -238,6 +272,9 @@ func (o MessageOut) MarshalJSON() ([]byte, error) { if true { toSerialize["payload"] = o.Payload } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } if true { toSerialize["timestamp"] = o.Timestamp } diff --git a/java/lib/src/main/java/com/svix/MessageAttempt.java b/java/lib/src/main/java/com/svix/MessageAttempt.java index 3243847e8..a80cc8cbd 100644 --- a/java/lib/src/main/java/com/svix/MessageAttempt.java +++ b/java/lib/src/main/java/com/svix/MessageAttempt.java @@ -35,6 +35,7 @@ public ListResponseMessageAttemptOut listByMsg(final String appId, final String options.getMessageStatus(), options.getStatusCodeClass(), options.getChannel(), + options.getTag(), options.getEndpointId(), options.getBefore(), options.getAfter(), @@ -56,6 +57,7 @@ public ListResponseMessageAttemptOut listByEndpoint(final String appId, final St options.getMessageStatus(), options.getStatusCodeClass(), options.getChannel(), + options.getTag(), options.getBefore(), options.getAfter(), options.getWithContent(), @@ -95,6 +97,7 @@ public ListResponseEndpointMessageOut listAttemptedMessages(final String appId, options.getLimit(), options.getIterator(), options.getChannel(), + options.getTag(), options.getMessageStatus(), options.getBefore(), options.getAfter(), @@ -124,6 +127,7 @@ public ListResponseMessageAttemptEndpointOut listAttemptsForEndpoint(final Strin options.getLimit(), options.getIterator(), options.getChannel(), + options.getTag(), options.getMessageStatus(), options.getBefore(), options.getAfter(), diff --git a/java/lib/src/main/java/com/svix/MessageAttemptListOptions.java b/java/lib/src/main/java/com/svix/MessageAttemptListOptions.java index 4555c5548..d76d6a1d6 100644 --- a/java/lib/src/main/java/com/svix/MessageAttemptListOptions.java +++ b/java/lib/src/main/java/com/svix/MessageAttemptListOptions.java @@ -14,6 +14,7 @@ public class MessageAttemptListOptions extends ListOptions { private OffsetDateTime after; private StatusCodeClass statusCodeClass; private String channel; + private String tag; private Boolean withContent; private String endpointId; private Boolean withMsg; @@ -138,4 +139,17 @@ public MessageAttemptListOptions withMsg(final Boolean withMsg) { this.withMsg = withMsg; return this; } + + public String getTag() { + return tag; + } + + public void setTag(final String tag) { + this.tag = tag; + } + + public MessageAttemptListOptions tag(final String tag) { + this.tag = tag; + return this; + } } diff --git a/kotlin/lib/src/main/kotlin/MessageAttempt.kt b/kotlin/lib/src/main/kotlin/MessageAttempt.kt index 64f196455..8f15de813 100644 --- a/kotlin/lib/src/main/kotlin/MessageAttempt.kt +++ b/kotlin/lib/src/main/kotlin/MessageAttempt.kt @@ -36,6 +36,7 @@ class MessageAttempt internal constructor(token: String, options: SvixOptions) { options.messageStatus, options.statusCodeClass, options.channel, + options.tag, options.endpointId, options.before, options.after, @@ -57,6 +58,7 @@ class MessageAttempt internal constructor(token: String, options: SvixOptions) { options.messageStatus, options.statusCodeClass, options.channel, + options.tag, options.before, options.after, options.withContent, @@ -101,6 +103,7 @@ class MessageAttempt internal constructor(token: String, options: SvixOptions) { options.limit, options.iterator, options.channel, + options.tag, options.messageStatus, options.before, options.after, @@ -143,6 +146,7 @@ class MessageAttempt internal constructor(token: String, options: SvixOptions) { options.limit, options.iterator, options.channel, + options.tag, options.messageStatus, options.before, options.after, diff --git a/kotlin/lib/src/main/kotlin/MessageAttemptListOptions.kt b/kotlin/lib/src/main/kotlin/MessageAttemptListOptions.kt index a28fa5efe..42b675bf2 100644 --- a/kotlin/lib/src/main/kotlin/MessageAttemptListOptions.kt +++ b/kotlin/lib/src/main/kotlin/MessageAttemptListOptions.kt @@ -4,7 +4,7 @@ import com.svix.kotlin.models.MessageStatus import com.svix.kotlin.models.StatusCodeClass import java.time.OffsetDateTime -class MessageAttemptListOptions(var messageStatus: MessageStatus? = null, var before: OffsetDateTime? = null, var after: OffsetDateTime? = null, var eventTypes: List? = null, var statusCodeClass: StatusCodeClass? = null, var channel: String? = null, var endpointId: String? = null, var withContent: Boolean? = null, var withMsg: Boolean? = null) : ListOptions() { +class MessageAttemptListOptions(var messageStatus: MessageStatus? = null, var before: OffsetDateTime? = null, var after: OffsetDateTime? = null, var eventTypes: List? = null, var statusCodeClass: StatusCodeClass? = null, var channel: String? = null, var tag: String? = null, var endpointId: String? = null, var withContent: Boolean? = null, var withMsg: Boolean? = null) : ListOptions() { fun messageStatus(messageStatus: MessageStatus) = apply { this.messageStatus = messageStatus } fun before(before: OffsetDateTime) = apply { this.before = before } @@ -24,4 +24,6 @@ class MessageAttemptListOptions(var messageStatus: MessageStatus? = null, var be fun withContent(withContent: Boolean) = apply { this.withContent = withContent } fun withMsg(withMsg: Boolean) = apply { this.withMsg = withMsg } + + fun tag(tag: String) = apply { this.tag = tag } } diff --git a/openapi.json b/openapi.json index 809923d0c..2f56f5257 100644 --- a/openapi.json +++ b/openapi.json @@ -910,6 +910,17 @@ "status": { "$ref": "#/components/schemas/MessageStatus" }, + "tags": { + "items": { + "example": "project_1337", + "maxLength": 128, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "nullable": true, + "type": "array", + "uniqueItems": true + }, "timestamp": { "format": "date-time", "type": "string" @@ -3173,6 +3184,17 @@ }, "type": "object" }, + "tags": { + "items": { + "example": "project_1337", + "maxLength": 128, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "nullable": true, + "type": "array", + "uniqueItems": true + }, "timestamp": { "format": "date-time", "type": "string" @@ -5367,6 +5389,20 @@ }, "style": "form" }, + { + "description": "Filter response based on the tag", + "in": "query", + "name": "tag", + "schema": { + "description": "Filter response based on the tag", + "example": "project_1337", + "maxLength": 128, + "nullable": true, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "style": "form" + }, { "description": "Only include items created before a certain date", "in": "query", @@ -5684,6 +5720,20 @@ }, "style": "form" }, + { + "description": "Filter response based on the tag", + "in": "query", + "name": "tag", + "schema": { + "description": "Filter response based on the tag", + "example": "project_1337", + "maxLength": 128, + "nullable": true, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "style": "form" + }, { "description": "Filter the attempts based on the attempted endpoint", "in": "query", @@ -7744,6 +7794,20 @@ }, "style": "form" }, + { + "description": "Filter response based on the message tags", + "in": "query", + "name": "tag", + "schema": { + "description": "Filter response based on the message tags", + "example": "project_1337", + "maxLength": 128, + "nullable": true, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "style": "form" + }, { "description": "Filter response based on the delivery status", "in": "query", @@ -10267,7 +10331,7 @@ ], "requestBody": { "content": { - "text/plain; charset=utf-8": { + "application/json": { "schema": { "type": "string" } @@ -12716,6 +12780,20 @@ }, "style": "form" }, + { + "description": "Filter response based on the tag", + "in": "query", + "name": "tag", + "schema": { + "description": "Filter response based on the tag", + "example": "project_1337", + "maxLength": 128, + "nullable": true, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "style": "form" + }, { "description": "Filter response based on the delivery status", "in": "query", @@ -14014,6 +14092,20 @@ }, "style": "form" }, + { + "description": "Filter response based on the tag", + "in": "query", + "name": "tag", + "schema": { + "description": "Filter response based on the tag", + "example": "project_1337", + "maxLength": 128, + "nullable": true, + "pattern": "^[a-zA-Z0-9\\-_.]+$", + "type": "string" + }, + "style": "form" + }, { "description": "Filter response based on the delivery status", "in": "query", @@ -18803,61 +18895,6 @@ "Health" ], "x-codeSamples": [ - { - "label": "JavaScript", - "lang": "JavaScript", - "source": "await svix.health.get();" - }, - { - "label": "TypeScript", - "lang": "JavaScript", - "source": "await svix.health.get();" - }, - { - "label": "Python", - "lang": "Python", - "source": "svix.health.get()" - }, - { - "label": "Python (Async)", - "lang": "Python", - "source": "await svix.health.get()" - }, - { - "label": "Go", - "lang": "Go", - "source": "err := svixClient.Health.Get(ctx)" - }, - { - "label": "Kotlin", - "lang": "Kotlin", - "source": "svix.health.get()" - }, - { - "label": "Java", - "lang": "Java", - "source": "svix.getHealth().get()" - }, - { - "label": "Ruby", - "lang": "Ruby", - "source": "svix.health.get()" - }, - { - "label": "Rust", - "lang": "Rust", - "source": "svix.health().get().await?;" - }, - { - "label": "C#", - "lang": "C#", - "source": "await svix.Health.GetAsync()" - }, - { - "label": "CLI", - "lang": "Shell", - "source": "svix health get " - }, { "label": "cURL", "lang": "Shell", @@ -21876,4 +21913,4 @@ } } } -} +} \ No newline at end of file diff --git a/rust/src/api.rs b/rust/src/api.rs index 38eddcd08..e475279ed 100644 --- a/rust/src/api.rs +++ b/rust/src/api.rs @@ -898,6 +898,7 @@ pub struct MessageAttemptListOptions { /// RFC3339 date string pub after: Option, pub channel: Option, + pub tag: Option, pub status: Option, pub status_code_class: Option, pub with_content: Option, @@ -915,6 +916,7 @@ pub struct MessageAttemptListByEndpointOptions { /// RFC3339 date string pub after: Option, pub channel: Option, + pub tag: Option, pub status: Option, pub status_code_class: Option, pub with_content: Option, @@ -945,6 +947,7 @@ impl<'a> MessageAttempt<'a> { after, channel, status, + tag, status_code_class, endpoint_id, with_content, @@ -960,6 +963,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, status_code_class, endpoint_id, @@ -982,6 +986,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, status_code_class, endpoint_id: _, @@ -999,6 +1004,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, status_code_class, with_content, @@ -1021,6 +1027,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, status_code_class: _, with_content, @@ -1037,6 +1044,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, with_content, event_types, @@ -1081,6 +1089,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, status_code_class: _, endpoint_id: _, @@ -1099,6 +1108,7 @@ impl<'a> MessageAttempt<'a> { before, after, channel, + tag, status, }, )