sendmux-sending 1.4.0 → 2.0.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. metadata +11 -120
  3. data/CHANGELOG.md +0 -41
  4. data/LICENSE +0 -21
  5. data/README.md +0 -112
  6. data/lib/sendmux/sending/client.rb +0 -49
  7. data/lib/sendmux/sending/version.rb +0 -7
  8. data/lib/sendmux/sending.rb +0 -12
  9. data/lib/sendmux_sending_generated/api/attachments_api.rb +0 -370
  10. data/lib/sendmux_sending_generated/api/emails_api.rb +0 -172
  11. data/lib/sendmux_sending_generated/api/meta_api.rb +0 -142
  12. data/lib/sendmux_sending_generated/api_client.rb +0 -447
  13. data/lib/sendmux_sending_generated/api_error.rb +0 -58
  14. data/lib/sendmux_sending_generated/api_model_base.rb +0 -88
  15. data/lib/sendmux_sending_generated/configuration.rb +0 -399
  16. data/lib/sendmux_sending_generated/models/address.rb +0 -215
  17. data/lib/sendmux_sending_generated/models/attachment.rb +0 -103
  18. data/lib/sendmux_sending_generated/models/attachment_upload_data.rb +0 -284
  19. data/lib/sendmux_sending_generated/models/attachment_upload_intent_data.rb +0 -337
  20. data/lib/sendmux_sending_generated/models/attachment_upload_intent_request.rb +0 -279
  21. data/lib/sendmux_sending_generated/models/attachment_upload_intent_response.rb +0 -223
  22. data/lib/sendmux_sending_generated/models/attachment_upload_response.rb +0 -223
  23. data/lib/sendmux_sending_generated/models/batch_result_item.rb +0 -256
  24. data/lib/sendmux_sending_generated/models/batch_send_request.rb +0 -185
  25. data/lib/sendmux_sending_generated/models/batch_send_success_data.rb +0 -192
  26. data/lib/sendmux_sending_generated/models/batch_send_success_response.rb +0 -223
  27. data/lib/sendmux_sending_generated/models/batch_summary.rb +0 -219
  28. data/lib/sendmux_sending_generated/models/connection.rb +0 -273
  29. data/lib/sendmux_sending_generated/models/connection_credential.rb +0 -226
  30. data/lib/sendmux_sending_generated/models/connection_mailboxes_inner.rb +0 -190
  31. data/lib/sendmux_sending_generated/models/connection_response.rb +0 -223
  32. data/lib/sendmux_sending_generated/models/connection_team.rb +0 -190
  33. data/lib/sendmux_sending_generated/models/email_send_request.rb +0 -465
  34. data/lib/sendmux_sending_generated/models/error_detail.rb +0 -251
  35. data/lib/sendmux_sending_generated/models/error_issue.rb +0 -219
  36. data/lib/sendmux_sending_generated/models/error_response.rb +0 -216
  37. data/lib/sendmux_sending_generated/models/inline_attachment.rb +0 -274
  38. data/lib/sendmux_sending_generated/models/meta.rb +0 -165
  39. data/lib/sendmux_sending_generated/models/recipient.rb +0 -214
  40. data/lib/sendmux_sending_generated/models/send_success_data.rb +0 -227
  41. data/lib/sendmux_sending_generated/models/send_success_response.rb +0 -223
  42. data/lib/sendmux_sending_generated/models/success_envelope.rb +0 -190
  43. data/lib/sendmux_sending_generated/models/uploaded_attachment_ref.rb +0 -176
  44. data/lib/sendmux_sending_generated/version.rb +0 -15
  45. data/lib/sendmux_sending_generated.rb +0 -71
@@ -1,223 +0,0 @@
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 'date'
14
- require 'time'
15
-
16
- module Sendmux::Sending::Generated
17
- class SendSuccessResponse < ApiModelBase
18
- attr_accessor :meta
19
-
20
- attr_accessor :ok
21
-
22
- attr_accessor :data
23
-
24
- # Attribute mapping from ruby-style variable name to JSON key.
25
- def self.attribute_map
26
- {
27
- :'meta' => :'meta',
28
- :'ok' => :'ok',
29
- :'data' => :'data'
30
- }
31
- end
32
-
33
- # Returns attribute mapping this model knows about
34
- def self.acceptable_attribute_map
35
- attribute_map
36
- end
37
-
38
- # Returns all the JSON keys this model knows about
39
- def self.acceptable_attributes
40
- acceptable_attribute_map.values
41
- end
42
-
43
- # Attribute type mapping.
44
- def self.openapi_types
45
- {
46
- :'meta' => :'Meta',
47
- :'ok' => :'Boolean',
48
- :'data' => :'SendSuccessData'
49
- }
50
- end
51
-
52
- # List of attributes with nullable: true
53
- def self.openapi_nullable
54
- Set.new([
55
- ])
56
- end
57
-
58
- # List of class defined in allOf (OpenAPI v3)
59
- def self.openapi_all_of
60
- [
61
- :'SuccessEnvelope'
62
- ]
63
- end
64
-
65
- # Initializes the object
66
- # @param [Hash] attributes Model attributes in the form of hash
67
- def initialize(attributes = {})
68
- if (!attributes.is_a?(Hash))
69
- fail ArgumentError, "The input argument (attributes) must be a hash in `Sendmux::Sending::Generated::SendSuccessResponse` initialize method"
70
- end
71
-
72
- # check to see if the attribute exists and convert string to symbol for hash key
73
- acceptable_attribute_map = self.class.acceptable_attribute_map
74
- attributes = attributes.each_with_object({}) { |(k, v), h|
75
- if (!acceptable_attribute_map.key?(k.to_sym))
76
- fail ArgumentError, "`#{k}` is not a valid attribute in `Sendmux::Sending::Generated::SendSuccessResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
77
- end
78
- h[k.to_sym] = v
79
- }
80
-
81
- if attributes.key?(:'meta')
82
- self.meta = attributes[:'meta']
83
- else
84
- self.meta = nil
85
- end
86
-
87
- if attributes.key?(:'ok')
88
- self.ok = attributes[:'ok']
89
- else
90
- self.ok = nil
91
- end
92
-
93
- if attributes.key?(:'data')
94
- self.data = attributes[:'data']
95
- else
96
- self.data = nil
97
- end
98
- end
99
-
100
- # Show invalid properties with the reasons. Usually used together with valid?
101
- # @return Array for valid properties with the reasons
102
- def list_invalid_properties
103
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
104
- invalid_properties = Array.new
105
- if @meta.nil?
106
- invalid_properties.push('invalid value for "meta", meta cannot be nil.')
107
- end
108
-
109
- if @ok.nil?
110
- invalid_properties.push('invalid value for "ok", ok cannot be nil.')
111
- end
112
-
113
- if @data.nil?
114
- invalid_properties.push('invalid value for "data", data cannot be nil.')
115
- end
116
-
117
- invalid_properties
118
- end
119
-
120
- # Check to see if the all the properties in the model are valid
121
- # @return true if the model is valid
122
- def valid?
123
- warn '[DEPRECATED] the `valid?` method is obsolete'
124
- return false if @meta.nil?
125
- return false if @ok.nil?
126
- return false if @data.nil?
127
- true
128
- end
129
-
130
- # Custom attribute writer method with validation
131
- # @param [Object] meta Value to be assigned
132
- def meta=(meta)
133
- if meta.nil?
134
- fail ArgumentError, 'meta cannot be nil'
135
- end
136
-
137
- @meta = meta
138
- end
139
-
140
- # Custom attribute writer method with validation
141
- # @param [Object] ok Value to be assigned
142
- def ok=(ok)
143
- if ok.nil?
144
- fail ArgumentError, 'ok cannot be nil'
145
- end
146
-
147
- @ok = ok
148
- end
149
-
150
- # Custom attribute writer method with validation
151
- # @param [Object] data Value to be assigned
152
- def data=(data)
153
- if data.nil?
154
- fail ArgumentError, 'data cannot be nil'
155
- end
156
-
157
- @data = data
158
- end
159
-
160
- # Checks equality by comparing each attribute.
161
- # @param [Object] Object to be compared
162
- def ==(o)
163
- return true if self.equal?(o)
164
- self.class == o.class &&
165
- meta == o.meta &&
166
- ok == o.ok &&
167
- data == o.data
168
- end
169
-
170
- # @see the `==` method
171
- # @param [Object] Object to be compared
172
- def eql?(o)
173
- self == o
174
- end
175
-
176
- # Calculates hash code according to all attributes.
177
- # @return [Integer] Hash code
178
- def hash
179
- [meta, ok, data].hash
180
- end
181
-
182
- # Builds the object from hash
183
- # @param [Hash] attributes Model attributes in the form of hash
184
- # @return [Object] Returns the model itself
185
- def self.build_from_hash(attributes)
186
- return nil unless attributes.is_a?(Hash)
187
- attributes = attributes.transform_keys(&:to_sym)
188
- transformed_hash = {}
189
- openapi_types.each_pair do |key, type|
190
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
191
- transformed_hash["#{key}"] = nil
192
- elsif type =~ /\AArray<(.*)>/i
193
- # check to ensure the input is an array given that the attribute
194
- # is documented as an array but the input is not
195
- if attributes[attribute_map[key]].is_a?(Array)
196
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
197
- end
198
- elsif !attributes[attribute_map[key]].nil?
199
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
200
- end
201
- end
202
- new(transformed_hash)
203
- end
204
-
205
- # Returns the object in the form of hash
206
- # @return [Hash] Returns the object in the form of hash
207
- def to_hash
208
- hash = {}
209
- self.class.attribute_map.each_pair do |attr, param|
210
- value = self.send(attr)
211
- if value.nil?
212
- is_nullable = self.class.openapi_nullable.include?(attr)
213
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
214
- end
215
-
216
- hash[param] = _to_hash(value)
217
- end
218
- hash
219
- end
220
-
221
- end
222
-
223
- end
@@ -1,190 +0,0 @@
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 'date'
14
- require 'time'
15
-
16
- module Sendmux::Sending::Generated
17
- class SuccessEnvelope < ApiModelBase
18
- attr_accessor :meta
19
-
20
- attr_accessor :ok
21
-
22
- # Attribute mapping from ruby-style variable name to JSON key.
23
- def self.attribute_map
24
- {
25
- :'meta' => :'meta',
26
- :'ok' => :'ok'
27
- }
28
- end
29
-
30
- # Returns attribute mapping this model knows about
31
- def self.acceptable_attribute_map
32
- attribute_map
33
- end
34
-
35
- # Returns all the JSON keys this model knows about
36
- def self.acceptable_attributes
37
- acceptable_attribute_map.values
38
- end
39
-
40
- # Attribute type mapping.
41
- def self.openapi_types
42
- {
43
- :'meta' => :'Meta',
44
- :'ok' => :'Boolean'
45
- }
46
- end
47
-
48
- # List of attributes with nullable: true
49
- def self.openapi_nullable
50
- Set.new([
51
- ])
52
- end
53
-
54
- # Initializes the object
55
- # @param [Hash] attributes Model attributes in the form of hash
56
- def initialize(attributes = {})
57
- if (!attributes.is_a?(Hash))
58
- fail ArgumentError, "The input argument (attributes) must be a hash in `Sendmux::Sending::Generated::SuccessEnvelope` initialize method"
59
- end
60
-
61
- # check to see if the attribute exists and convert string to symbol for hash key
62
- acceptable_attribute_map = self.class.acceptable_attribute_map
63
- attributes = attributes.each_with_object({}) { |(k, v), h|
64
- if (!acceptable_attribute_map.key?(k.to_sym))
65
- fail ArgumentError, "`#{k}` is not a valid attribute in `Sendmux::Sending::Generated::SuccessEnvelope`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
- end
67
- h[k.to_sym] = v
68
- }
69
-
70
- if attributes.key?(:'meta')
71
- self.meta = attributes[:'meta']
72
- else
73
- self.meta = nil
74
- end
75
-
76
- if attributes.key?(:'ok')
77
- self.ok = attributes[:'ok']
78
- else
79
- self.ok = nil
80
- end
81
- end
82
-
83
- # Show invalid properties with the reasons. Usually used together with valid?
84
- # @return Array for valid properties with the reasons
85
- def list_invalid_properties
86
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
87
- invalid_properties = Array.new
88
- if @meta.nil?
89
- invalid_properties.push('invalid value for "meta", meta cannot be nil.')
90
- end
91
-
92
- if @ok.nil?
93
- invalid_properties.push('invalid value for "ok", ok cannot be nil.')
94
- end
95
-
96
- invalid_properties
97
- end
98
-
99
- # Check to see if the all the properties in the model are valid
100
- # @return true if the model is valid
101
- def valid?
102
- warn '[DEPRECATED] the `valid?` method is obsolete'
103
- return false if @meta.nil?
104
- return false if @ok.nil?
105
- true
106
- end
107
-
108
- # Custom attribute writer method with validation
109
- # @param [Object] meta Value to be assigned
110
- def meta=(meta)
111
- if meta.nil?
112
- fail ArgumentError, 'meta cannot be nil'
113
- end
114
-
115
- @meta = meta
116
- end
117
-
118
- # Custom attribute writer method with validation
119
- # @param [Object] ok Value to be assigned
120
- def ok=(ok)
121
- if ok.nil?
122
- fail ArgumentError, 'ok cannot be nil'
123
- end
124
-
125
- @ok = ok
126
- end
127
-
128
- # Checks equality by comparing each attribute.
129
- # @param [Object] Object to be compared
130
- def ==(o)
131
- return true if self.equal?(o)
132
- self.class == o.class &&
133
- meta == o.meta &&
134
- ok == o.ok
135
- end
136
-
137
- # @see the `==` method
138
- # @param [Object] Object to be compared
139
- def eql?(o)
140
- self == o
141
- end
142
-
143
- # Calculates hash code according to all attributes.
144
- # @return [Integer] Hash code
145
- def hash
146
- [meta, ok].hash
147
- end
148
-
149
- # Builds the object from hash
150
- # @param [Hash] attributes Model attributes in the form of hash
151
- # @return [Object] Returns the model itself
152
- def self.build_from_hash(attributes)
153
- return nil unless attributes.is_a?(Hash)
154
- attributes = attributes.transform_keys(&:to_sym)
155
- transformed_hash = {}
156
- openapi_types.each_pair do |key, type|
157
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
158
- transformed_hash["#{key}"] = nil
159
- elsif type =~ /\AArray<(.*)>/i
160
- # check to ensure the input is an array given that the attribute
161
- # is documented as an array but the input is not
162
- if attributes[attribute_map[key]].is_a?(Array)
163
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
164
- end
165
- elsif !attributes[attribute_map[key]].nil?
166
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
167
- end
168
- end
169
- new(transformed_hash)
170
- end
171
-
172
- # Returns the object in the form of hash
173
- # @return [Hash] Returns the object in the form of hash
174
- def to_hash
175
- hash = {}
176
- self.class.attribute_map.each_pair do |attr, param|
177
- value = self.send(attr)
178
- if value.nil?
179
- is_nullable = self.class.openapi_nullable.include?(attr)
180
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
181
- end
182
-
183
- hash[param] = _to_hash(value)
184
- end
185
- hash
186
- end
187
-
188
- end
189
-
190
- end
@@ -1,176 +0,0 @@
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 'date'
14
- require 'time'
15
-
16
- module Sendmux::Sending::Generated
17
- class UploadedAttachmentRef < ApiModelBase
18
- # Temporary uploaded attachment ID returned by POST /emails/attachments.
19
- attr_accessor :attachment_id
20
-
21
- # Attribute mapping from ruby-style variable name to JSON key.
22
- def self.attribute_map
23
- {
24
- :'attachment_id' => :'attachment_id'
25
- }
26
- end
27
-
28
- # Returns attribute mapping this model knows about
29
- def self.acceptable_attribute_map
30
- attribute_map
31
- end
32
-
33
- # Returns all the JSON keys this model knows about
34
- def self.acceptable_attributes
35
- acceptable_attribute_map.values
36
- end
37
-
38
- # Attribute type mapping.
39
- def self.openapi_types
40
- {
41
- :'attachment_id' => :'String'
42
- }
43
- end
44
-
45
- # List of attributes with nullable: true
46
- def self.openapi_nullable
47
- Set.new([
48
- ])
49
- end
50
-
51
- # Initializes the object
52
- # @param [Hash] attributes Model attributes in the form of hash
53
- def initialize(attributes = {})
54
- if (!attributes.is_a?(Hash))
55
- fail ArgumentError, "The input argument (attributes) must be a hash in `Sendmux::Sending::Generated::UploadedAttachmentRef` initialize method"
56
- end
57
-
58
- # check to see if the attribute exists and convert string to symbol for hash key
59
- acceptable_attribute_map = self.class.acceptable_attribute_map
60
- attributes = attributes.each_with_object({}) { |(k, v), h|
61
- if (!acceptable_attribute_map.key?(k.to_sym))
62
- fail ArgumentError, "`#{k}` is not a valid attribute in `Sendmux::Sending::Generated::UploadedAttachmentRef`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
63
- end
64
- h[k.to_sym] = v
65
- }
66
-
67
- if attributes.key?(:'attachment_id')
68
- self.attachment_id = attributes[:'attachment_id']
69
- else
70
- self.attachment_id = nil
71
- end
72
- end
73
-
74
- # Show invalid properties with the reasons. Usually used together with valid?
75
- # @return Array for valid properties with the reasons
76
- def list_invalid_properties
77
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
78
- invalid_properties = Array.new
79
- if @attachment_id.nil?
80
- invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
81
- end
82
-
83
- pattern = Regexp.new(/^att_[a-z0-9]{24}$/)
84
- if @attachment_id !~ pattern
85
- invalid_properties.push("invalid value for \"attachment_id\", must conform to the pattern #{pattern}.")
86
- end
87
-
88
- invalid_properties
89
- end
90
-
91
- # Check to see if the all the properties in the model are valid
92
- # @return true if the model is valid
93
- def valid?
94
- warn '[DEPRECATED] the `valid?` method is obsolete'
95
- return false if @attachment_id.nil?
96
- return false if @attachment_id !~ Regexp.new(/^att_[a-z0-9]{24}$/)
97
- true
98
- end
99
-
100
- # Custom attribute writer method with validation
101
- # @param [Object] attachment_id Value to be assigned
102
- def attachment_id=(attachment_id)
103
- if attachment_id.nil?
104
- fail ArgumentError, 'attachment_id cannot be nil'
105
- end
106
-
107
- pattern = Regexp.new(/^att_[a-z0-9]{24}$/)
108
- if attachment_id !~ pattern
109
- fail ArgumentError, "invalid value for \"attachment_id\", must conform to the pattern #{pattern}."
110
- end
111
-
112
- @attachment_id = attachment_id
113
- end
114
-
115
- # Checks equality by comparing each attribute.
116
- # @param [Object] Object to be compared
117
- def ==(o)
118
- return true if self.equal?(o)
119
- self.class == o.class &&
120
- attachment_id == o.attachment_id
121
- end
122
-
123
- # @see the `==` method
124
- # @param [Object] Object to be compared
125
- def eql?(o)
126
- self == o
127
- end
128
-
129
- # Calculates hash code according to all attributes.
130
- # @return [Integer] Hash code
131
- def hash
132
- [attachment_id].hash
133
- end
134
-
135
- # Builds the object from hash
136
- # @param [Hash] attributes Model attributes in the form of hash
137
- # @return [Object] Returns the model itself
138
- def self.build_from_hash(attributes)
139
- return nil unless attributes.is_a?(Hash)
140
- attributes = attributes.transform_keys(&:to_sym)
141
- transformed_hash = {}
142
- openapi_types.each_pair do |key, type|
143
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
144
- transformed_hash["#{key}"] = nil
145
- elsif type =~ /\AArray<(.*)>/i
146
- # check to ensure the input is an array given that the attribute
147
- # is documented as an array but the input is not
148
- if attributes[attribute_map[key]].is_a?(Array)
149
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
150
- end
151
- elsif !attributes[attribute_map[key]].nil?
152
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
153
- end
154
- end
155
- new(transformed_hash)
156
- end
157
-
158
- # Returns the object in the form of hash
159
- # @return [Hash] Returns the object in the form of hash
160
- def to_hash
161
- hash = {}
162
- self.class.attribute_map.each_pair do |attr, param|
163
- value = self.send(attr)
164
- if value.nil?
165
- is_nullable = self.class.openapi_nullable.include?(attr)
166
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
167
- end
168
-
169
- hash[param] = _to_hash(value)
170
- end
171
- hash
172
- end
173
-
174
- end
175
-
176
- end
@@ -1,15 +0,0 @@
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
- module Sendmux::Sending::Generated
14
- VERSION = '1.0.0'
15
- end
@@ -1,71 +0,0 @@
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
- # Common files
14
- require 'sendmux_sending_generated/api_client'
15
- require 'sendmux_sending_generated/api_error'
16
- require 'sendmux_sending_generated/api_model_base'
17
- require 'sendmux_sending_generated/version'
18
- require 'sendmux_sending_generated/configuration'
19
-
20
- # Models
21
- require 'sendmux_sending_generated/models/address'
22
- require 'sendmux_sending_generated/models/attachment'
23
- require 'sendmux_sending_generated/models/attachment_upload_data'
24
- require 'sendmux_sending_generated/models/attachment_upload_intent_data'
25
- require 'sendmux_sending_generated/models/attachment_upload_intent_request'
26
- require 'sendmux_sending_generated/models/attachment_upload_intent_response'
27
- require 'sendmux_sending_generated/models/attachment_upload_response'
28
- require 'sendmux_sending_generated/models/batch_result_item'
29
- require 'sendmux_sending_generated/models/batch_send_request'
30
- require 'sendmux_sending_generated/models/batch_send_success_data'
31
- require 'sendmux_sending_generated/models/batch_send_success_response'
32
- require 'sendmux_sending_generated/models/batch_summary'
33
- require 'sendmux_sending_generated/models/connection'
34
- require 'sendmux_sending_generated/models/connection_credential'
35
- require 'sendmux_sending_generated/models/connection_mailboxes_inner'
36
- require 'sendmux_sending_generated/models/connection_response'
37
- require 'sendmux_sending_generated/models/connection_team'
38
- require 'sendmux_sending_generated/models/email_send_request'
39
- require 'sendmux_sending_generated/models/error_detail'
40
- require 'sendmux_sending_generated/models/error_issue'
41
- require 'sendmux_sending_generated/models/error_response'
42
- require 'sendmux_sending_generated/models/inline_attachment'
43
- require 'sendmux_sending_generated/models/meta'
44
- require 'sendmux_sending_generated/models/recipient'
45
- require 'sendmux_sending_generated/models/send_success_data'
46
- require 'sendmux_sending_generated/models/send_success_response'
47
- require 'sendmux_sending_generated/models/success_envelope'
48
- require 'sendmux_sending_generated/models/uploaded_attachment_ref'
49
-
50
- # APIs
51
- require 'sendmux_sending_generated/api/attachments_api'
52
- require 'sendmux_sending_generated/api/emails_api'
53
- require 'sendmux_sending_generated/api/meta_api'
54
-
55
- module Sendmux::Sending::Generated
56
- class << self
57
- # Customize default settings for the SDK using block.
58
- # Sendmux::Sending::Generated.configure do |config|
59
- # config.username = "xxx"
60
- # config.password = "xxx"
61
- # end
62
- # If no block given, return the default Configuration object.
63
- def configure
64
- if block_given?
65
- yield(Configuration.default)
66
- else
67
- Configuration.default
68
- end
69
- end
70
- end
71
- end