sendmux-sending 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/LICENSE +21 -0
- data/README.md +95 -0
- data/lib/sendmux/sending/client.rb +5 -1
- data/lib/sendmux/sending/version.rb +1 -1
- data/lib/sendmux_sending_generated/api/emails_api.rb +2 -20
- data/lib/sendmux_sending_generated/api/meta_api.rb +82 -0
- data/lib/sendmux_sending_generated/api_client.rb +2 -2
- data/lib/sendmux_sending_generated/api_error.rb +2 -2
- data/lib/sendmux_sending_generated/api_model_base.rb +2 -2
- data/lib/sendmux_sending_generated/configuration.rb +2 -2
- data/lib/sendmux_sending_generated/models/address.rb +2 -2
- data/lib/sendmux_sending_generated/models/attachment.rb +2 -2
- data/lib/sendmux_sending_generated/models/batch_result_item.rb +2 -2
- data/lib/sendmux_sending_generated/models/batch_send_request.rb +2 -2
- data/lib/sendmux_sending_generated/models/batch_send_success_data.rb +2 -2
- data/lib/sendmux_sending_generated/models/batch_send_success_response.rb +2 -2
- data/lib/sendmux_sending_generated/models/batch_summary.rb +2 -2
- data/lib/sendmux_sending_generated/models/email_send_request.rb +2 -2
- data/lib/sendmux_sending_generated/models/error_detail.rb +2 -2
- data/lib/sendmux_sending_generated/models/error_issue.rb +2 -2
- data/lib/sendmux_sending_generated/models/error_response.rb +2 -2
- data/lib/sendmux_sending_generated/models/meta.rb +2 -2
- data/lib/sendmux_sending_generated/models/recipient.rb +2 -2
- data/lib/sendmux_sending_generated/models/send_success_data.rb +2 -2
- data/lib/sendmux_sending_generated/models/send_success_response.rb +2 -2
- data/lib/sendmux_sending_generated/models/success_envelope.rb +2 -2
- data/lib/sendmux_sending_generated/version.rb +2 -2
- data/lib/sendmux_sending_generated.rb +3 -2
- metadata +14 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5301be9c45f5bac835a7737c78dc6d1cdeecd233d281b89d1f8ecec9f1edbf10
|
|
4
|
+
data.tar.gz: d5e0f65ed993691e988e1ca9d25051dc3188ff62e7151ae67804338677bc04c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0cafeb960f73fc14508a567ff55a7a21548f64b3ae188d42b3d7ae9b3cab023c9aa61806dd51a6c1997bd7adb5a95d3051e4c576b47da0fb9193208c468a7a22
|
|
7
|
+
data.tar.gz: f4f5aeb71bb646281e9798f5404a2bb833f5f73b4731fb10685a83adf35b548abdc8da3825598fadac44348abf834135a211aca700af2e4c36ec160df90bb781
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.0](https://github.com/Sendmux/sendmux-sdk/compare/ruby-sending/v1.0.0...ruby-sending/v1.1.0) (2026-07-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* allow owner-approved agent tokens for sending ([9d1cb7d](https://github.com/Sendmux/sendmux-sdk/commit/9d1cb7df3df5aef1f59a4990dc087178ba3a7b21))
|
|
9
|
+
|
|
3
10
|
## 1.0.0 (2026-06-02)
|
|
4
11
|
|
|
5
12
|
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Sendmux
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,3 +1,98 @@
|
|
|
1
1
|
# sendmux-sending
|
|
2
2
|
|
|
3
|
+
[](https://rubygems.org/gems/sendmux-sending)
|
|
4
|
+
[](https://github.com/Sendmux/sendmux-sdk/actions/workflows/ci.yml)
|
|
5
|
+
[](https://github.com/Sendmux/sendmux-sdk/blob/main/LICENSE)
|
|
6
|
+
|
|
3
7
|
Ruby SDK package for the Sendmux Sending API.
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
- Ruby SDK guide: https://sendmux.ai/docs/sdks/ruby
|
|
12
|
+
- Sending API reference: https://sendmux.ai/docs/sending-api
|
|
13
|
+
- Source: https://github.com/Sendmux/sendmux-sdk/tree/main/packages/ruby/sending
|
|
14
|
+
- Changelog: https://github.com/Sendmux/sendmux-sdk/blob/main/packages/ruby/sending/CHANGELOG.md
|
|
15
|
+
|
|
16
|
+
## Requirements
|
|
17
|
+
|
|
18
|
+
- Ruby 3.1 or newer.
|
|
19
|
+
- A send-capable `smx_mbx_` key or owner-approved Sending-resource `smx_agent_` token.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
gem install sendmux-sending
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Or add it to your Gemfile:
|
|
28
|
+
|
|
29
|
+
```ruby
|
|
30
|
+
gem "sendmux-sending", "~> 1.0"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
|
|
35
|
+
Create a sending client with a send-capable key before calling generated operations.
|
|
36
|
+
|
|
37
|
+
```ruby
|
|
38
|
+
require "sendmux/sending"
|
|
39
|
+
|
|
40
|
+
client = Sendmux::Sending::Client.new(
|
|
41
|
+
api_key: ENV.fetch("SENDMUX_MAILBOX_KEY")
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
request = Sendmux::Sending::Generated::EmailSendRequest.new(
|
|
45
|
+
from: Sendmux::Sending::Generated::Address.new(email: "sender@example.com"),
|
|
46
|
+
to: Sendmux::Sending::Generated::Address.new(email: "recipient@example.com"),
|
|
47
|
+
subject: "Hello from Sendmux",
|
|
48
|
+
text_body: "This message was sent with the Sendmux Ruby SDK."
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
response = client.emails.sending_send_email(
|
|
52
|
+
request,
|
|
53
|
+
Sendmux::Core::Headers.idempotency_key("send-email-001")
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
puts response.data.message_id
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Client surface
|
|
60
|
+
|
|
61
|
+
`Sendmux::Sending::Client` exposes:
|
|
62
|
+
|
|
63
|
+
- `client.emails` for `sending_send_email` and `sending_send_email_batch`.
|
|
64
|
+
- `client.meta` for `sending_get_open_api_spec`.
|
|
65
|
+
|
|
66
|
+
Pass `base_url:` only when you are targeting an explicitly provided Sendmux endpoint for a controlled environment.
|
|
67
|
+
|
|
68
|
+
### Idempotency and retries
|
|
69
|
+
|
|
70
|
+
Mutating sending operations accept the `:idempotency_key` option. Use `Sendmux::Core::Headers.idempotency_key` so retries are safe when a request is replayable.
|
|
71
|
+
|
|
72
|
+
```ruby
|
|
73
|
+
client.emails.sending_send_email(
|
|
74
|
+
request,
|
|
75
|
+
Sendmux::Core::Headers.idempotency_key("send-email-002")
|
|
76
|
+
)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Errors
|
|
80
|
+
|
|
81
|
+
Generated API errors are mapped to `Sendmux::Core::ApiError`.
|
|
82
|
+
|
|
83
|
+
```ruby
|
|
84
|
+
begin
|
|
85
|
+
client.emails.sending_send_email(request)
|
|
86
|
+
rescue Sendmux::Core::ApiError => error
|
|
87
|
+
warn "#{error.status} #{error.code}: #{error.message}"
|
|
88
|
+
end
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Support
|
|
92
|
+
|
|
93
|
+
- Documentation: https://sendmux.ai/docs
|
|
94
|
+
- Contact: contact@sendmux.ai
|
|
95
|
+
|
|
96
|
+
## Licence
|
|
97
|
+
|
|
98
|
+
MIT licence. See https://github.com/Sendmux/sendmux-sdk/blob/main/LICENSE.
|
|
@@ -19,7 +19,7 @@ module Sendmux
|
|
|
19
19
|
@configuration = Sendmux::Core::Auth.configure_bearer(
|
|
20
20
|
Generated::Configuration.new,
|
|
21
21
|
api_key,
|
|
22
|
-
Sendmux::Core::ApiKeySurface::
|
|
22
|
+
Sendmux::Core::ApiKeySurface::SENDING,
|
|
23
23
|
base_url: base_url
|
|
24
24
|
)
|
|
25
25
|
Sendmux::Core::Retry.configure(@configuration, retry_options)
|
|
@@ -29,6 +29,10 @@ module Sendmux
|
|
|
29
29
|
def emails
|
|
30
30
|
@emails ||= Generated::EmailsApi.new(@api_client)
|
|
31
31
|
end
|
|
32
|
+
|
|
33
|
+
def meta
|
|
34
|
+
@meta ||= Generated::MetaApi.new(@api_client)
|
|
35
|
+
end
|
|
32
36
|
end
|
|
33
37
|
end
|
|
34
38
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -48,15 +48,6 @@ module Sendmux::Sending::Generated
|
|
|
48
48
|
fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EmailsApi.sending_send_email, the character length must be smaller than or equal to 255.'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length < 1
|
|
52
|
-
fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EmailsApi.sending_send_email, the character length must be greater than or equal to 1.'
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
pattern = Regexp.new(/^[a-zA-Z0-9_-]+$/)
|
|
56
|
-
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'] !~ pattern
|
|
57
|
-
fail ArgumentError, "invalid value for 'opts[:\"idempotency_key\"]' when calling EmailsApi.sending_send_email, must conform to the pattern #{pattern}."
|
|
58
|
-
end
|
|
59
|
-
|
|
60
51
|
# resource path
|
|
61
52
|
local_var_path = '/emails/send'
|
|
62
53
|
|
|
@@ -132,15 +123,6 @@ module Sendmux::Sending::Generated
|
|
|
132
123
|
fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EmailsApi.sending_send_email_batch, the character length must be smaller than or equal to 255.'
|
|
133
124
|
end
|
|
134
125
|
|
|
135
|
-
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length < 1
|
|
136
|
-
fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EmailsApi.sending_send_email_batch, the character length must be greater than or equal to 1.'
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
pattern = Regexp.new(/^[a-zA-Z0-9_-]+$/)
|
|
140
|
-
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'] !~ pattern
|
|
141
|
-
fail ArgumentError, "invalid value for 'opts[:\"idempotency_key\"]' when calling EmailsApi.sending_send_email_batch, must conform to the pattern #{pattern}."
|
|
142
|
-
end
|
|
143
|
-
|
|
144
126
|
# resource path
|
|
145
127
|
local_var_path = '/emails/send/batch'
|
|
146
128
|
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Sendmux Sending API
|
|
3
|
+
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module Sendmux::Sending::Generated
|
|
16
|
+
class MetaApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# OpenAPI 3.1 specification
|
|
23
|
+
# Auto-generated OpenAPI 3.1 spec for the Sendmux Sending API. Public endpoint (no authentication). Emits a weak ETag; clients may send `If-None-Match` to receive 304 Not Modified.
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [String] :if_none_match Weak ETag from a previous response. When it matches the current resource, the server returns 304 Not Modified with no body.
|
|
26
|
+
# @return [Hash<String, Object>]
|
|
27
|
+
def sending_get_open_api_spec(opts = {})
|
|
28
|
+
data, _status_code, _headers = sending_get_open_api_spec_with_http_info(opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# OpenAPI 3.1 specification
|
|
33
|
+
# Auto-generated OpenAPI 3.1 spec for the Sendmux Sending API. Public endpoint (no authentication). Emits a weak ETag; clients may send `If-None-Match` to receive 304 Not Modified.
|
|
34
|
+
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [String] :if_none_match Weak ETag from a previous response. When it matches the current resource, the server returns 304 Not Modified with no body.
|
|
36
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
37
|
+
def sending_get_open_api_spec_with_http_info(opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: MetaApi.sending_get_open_api_spec ...'
|
|
40
|
+
end
|
|
41
|
+
# resource path
|
|
42
|
+
local_var_path = '/openapi.json'
|
|
43
|
+
|
|
44
|
+
# query parameters
|
|
45
|
+
query_params = opts[:query_params] || {}
|
|
46
|
+
|
|
47
|
+
# header parameters
|
|
48
|
+
header_params = opts[:header_params] || {}
|
|
49
|
+
# HTTP header 'Accept' (if needed)
|
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
51
|
+
header_params[:'If-None-Match'] = opts[:'if_none_match'] if !opts[:'if_none_match'].nil?
|
|
52
|
+
|
|
53
|
+
# form parameters
|
|
54
|
+
form_params = opts[:form_params] || {}
|
|
55
|
+
|
|
56
|
+
# http body (model)
|
|
57
|
+
post_body = opts[:debug_body]
|
|
58
|
+
|
|
59
|
+
# return_type
|
|
60
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
61
|
+
|
|
62
|
+
# auth_names
|
|
63
|
+
auth_names = opts[:debug_auth_names] || []
|
|
64
|
+
|
|
65
|
+
new_options = opts.merge(
|
|
66
|
+
:operation => :"MetaApi.sending_get_open_api_spec",
|
|
67
|
+
:header_params => header_params,
|
|
68
|
+
:query_params => query_params,
|
|
69
|
+
:form_params => form_params,
|
|
70
|
+
:body => post_body,
|
|
71
|
+
:auth_names => auth_names,
|
|
72
|
+
:return_type => return_type
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
76
|
+
if @api_client.config.debugging
|
|
77
|
+
@api_client.config.logger.debug "API called: MetaApi#sending_get_open_api_spec\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
78
|
+
end
|
|
79
|
+
return data, status_code, headers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
|
-
#
|
|
2
|
+
#Sendmux Sending API
|
|
3
3
|
|
|
4
|
-
#Send emails programmatically via the
|
|
4
|
+
#Send emails programmatically via the Sendmux email infrastructure. Every response carries an `X-Request-Id` header; errors include a `retryable` flag. 429 and 503 responses include `Retry-After`. Mutating endpoints accept an `Idempotency-Key` header for safe retries.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -37,6 +37,7 @@ require 'sendmux_sending_generated/models/success_envelope'
|
|
|
37
37
|
|
|
38
38
|
# APIs
|
|
39
39
|
require 'sendmux_sending_generated/api/emails_api'
|
|
40
|
+
require 'sendmux_sending_generated/api/meta_api'
|
|
40
41
|
|
|
41
42
|
module Sendmux::Sending::Generated
|
|
42
43
|
class << self
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sendmux-sending
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sendmux
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-07-01 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: faraday
|
|
@@ -75,16 +75,22 @@ dependencies:
|
|
|
75
75
|
name: sendmux-core
|
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
|
-
- - "
|
|
78
|
+
- - ">="
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
|
-
version:
|
|
80
|
+
version: 1.1.0
|
|
81
|
+
- - "<"
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: '2.0'
|
|
81
84
|
type: :runtime
|
|
82
85
|
prerelease: false
|
|
83
86
|
version_requirements: !ruby/object:Gem::Requirement
|
|
84
87
|
requirements:
|
|
85
|
-
- - "
|
|
88
|
+
- - ">="
|
|
86
89
|
- !ruby/object:Gem::Version
|
|
87
|
-
version:
|
|
90
|
+
version: 1.1.0
|
|
91
|
+
- - "<"
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '2.0'
|
|
88
94
|
email:
|
|
89
95
|
- contact@sendmux.ai
|
|
90
96
|
executables: []
|
|
@@ -92,12 +98,14 @@ extensions: []
|
|
|
92
98
|
extra_rdoc_files: []
|
|
93
99
|
files:
|
|
94
100
|
- CHANGELOG.md
|
|
101
|
+
- LICENSE
|
|
95
102
|
- README.md
|
|
96
103
|
- lib/sendmux/sending.rb
|
|
97
104
|
- lib/sendmux/sending/client.rb
|
|
98
105
|
- lib/sendmux/sending/version.rb
|
|
99
106
|
- lib/sendmux_sending_generated.rb
|
|
100
107
|
- lib/sendmux_sending_generated/api/emails_api.rb
|
|
108
|
+
- lib/sendmux_sending_generated/api/meta_api.rb
|
|
101
109
|
- lib/sendmux_sending_generated/api_client.rb
|
|
102
110
|
- lib/sendmux_sending_generated/api_error.rb
|
|
103
111
|
- lib/sendmux_sending_generated/api_model_base.rb
|