Skip to content

Commit eea867c

Browse files
authored
Merge pull request #10 from sentdm/release-please--branches--main--changes--next
release: 0.6.0
2 parents 80907af + d3a7d5e commit eea867c

File tree

49 files changed

+2179
-1789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2179
-1789
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.5.0"
2+
".": "0.6.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-38aaadafbb2bf0c5d5bb9330a0a5e7a89052fe3e791569c8a12051e040193edf.yml
33
openapi_spec_hash: 2d35c1223beebaf2c1b8d8a474cbf7c2
4-
config_hash: 17e6614cece9c3c0bd77591c75fd4351
4+
config_hash: ad652575976c2c8db09e4575778f0e77

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.6.0 (2026-03-11)
4+
5+
Full Changelog: [v0.5.0...v0.6.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.5.0...v0.6.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([df62aff](https://github.com/sentdm/sent-dm-ruby/commit/df62affd4c31572d0fb8a4bc6b2787cfaabea4f2))
10+
311
## 0.5.0 (2026-03-11)
412

513
Full Changelog: [v0.4.0...v0.5.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.4.0...v0.5.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
sentdm (0.5.0)
14+
sentdm (0.6.0)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
2626
<!-- x-release-please-start-version -->
2727

2828
```ruby
29-
gem "sentdm", "~> 0.5.0"
29+
gem "sentdm", "~> 0.6.0"
3030
```
3131

3232
<!-- x-release-please-end -->
@@ -265,6 +265,36 @@ params = Sentdm::MessageSendParams.new(
265265
sent_dm.messages.send_(**params)
266266
```
267267

268+
### Enums
269+
270+
Since this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:
271+
272+
```ruby
273+
# :PRIVATE_PROFIT
274+
puts(
275+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::PRIVATE_PROFIT
276+
)
277+
278+
# Revealed type: `T.all(Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType, Symbol)`
279+
T.reveal_type(
280+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::PRIVATE_PROFIT
281+
)
282+
```
283+
284+
Enum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:
285+
286+
```ruby
287+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo.new(
288+
entity_type: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::PRIVATE_PROFIT,
289+
#
290+
)
291+
292+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo.new(
293+
entity_type: :PRIVATE_PROFIT,
294+
#
295+
)
296+
```
297+
268298
## Versioning
269299

270300
This package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.

lib/sentdm.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,19 @@
9999
require_relative "sentdm/models/profiles/campaign_list_response"
100100
require_relative "sentdm/models/profiles/campaign_update_params"
101101
require_relative "sentdm/models/profiles/messaging_use_case_us"
102+
require_relative "sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data"
102103
require_relative "sentdm/models/profiles/tcr_campaign_with_use_cases"
103104
require_relative "sentdm/models/profile_settings"
104105
require_relative "sentdm/models/profile_update_params"
106+
require_relative "sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config"
107+
require_relative "sentdm/models/sent_dm_services_common_contracts_poc_os_template_body"
108+
require_relative "sentdm/models/sent_dm_services_common_contracts_poc_os_template_button"
109+
require_relative "sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props"
110+
require_relative "sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer"
111+
require_relative "sentdm/models/sent_dm_services_common_contracts_poc_os_template_header"
112+
require_relative "sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info"
113+
require_relative "sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info"
114+
require_relative "sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info"
105115
require_relative "sentdm/models/tcr_brand_relationship"
106116
require_relative "sentdm/models/tcr_vertical"
107117
require_relative "sentdm/models/template"

lib/sentdm/models.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,33 @@ module Sentdm
107107

108108
ProfileUpdateParams = Sentdm::Models::ProfileUpdateParams
109109

110+
SentDmServicesCommonContractsPocOsAuthenticationConfig =
111+
Sentdm::Models::SentDmServicesCommonContractsPocOsAuthenticationConfig
112+
113+
SentDmServicesCommonContractsPocOsTemplateBody =
114+
Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateBody
115+
116+
SentDmServicesCommonContractsPocOsTemplateButton =
117+
Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton
118+
119+
SentDmServicesCommonContractsPocOsTemplateButtonProps =
120+
Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps
121+
122+
SentDmServicesCommonContractsPocOsTemplateFooter =
123+
Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateFooter
124+
125+
SentDmServicesCommonContractsPocOsTemplateHeader =
126+
Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateHeader
127+
128+
SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo =
129+
Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo
130+
131+
SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo =
132+
Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo
133+
134+
SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo =
135+
Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo
136+
110137
TcrBrandRelationship = Sentdm::Models::TcrBrandRelationship
111138

112139
TcrVertical = Sentdm::Models::TcrVertical

0 commit comments

Comments
 (0)