Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
717309f
codegen metadata
stainless-app[bot] Jun 18, 2026
39d225f
codegen metadata
stainless-app[bot] Jun 18, 2026
84197f3
codegen metadata
stainless-app[bot] Jun 18, 2026
000f1d6
codegen metadata
stainless-app[bot] Jun 18, 2026
da96359
codegen metadata
stainless-app[bot] Jun 19, 2026
dfcc53c
codegen metadata
stainless-app[bot] Jun 19, 2026
0b5d184
codegen metadata
stainless-app[bot] Jun 19, 2026
d965858
codegen metadata
stainless-app[bot] Jun 19, 2026
01058fe
codegen metadata
stainless-app[bot] Jun 19, 2026
d67a003
codegen metadata
stainless-app[bot] Jun 19, 2026
a09080a
codegen metadata
stainless-app[bot] Jun 19, 2026
435ac83
codegen metadata
stainless-app[bot] Jun 19, 2026
1ee02a3
codegen metadata
stainless-app[bot] Jun 19, 2026
39320bc
codegen metadata
stainless-app[bot] Jun 19, 2026
42339ab
codegen metadata
stainless-app[bot] Jun 19, 2026
e2635bd
codegen metadata
stainless-app[bot] Jun 19, 2026
cc850c4
codegen metadata
stainless-app[bot] Jun 19, 2026
a4eeb93
codegen metadata
stainless-app[bot] Jun 19, 2026
9d0919e
codegen metadata
stainless-app[bot] Jun 19, 2026
d515e4d
codegen metadata
stainless-app[bot] Jun 19, 2026
e9ad22a
codegen metadata
stainless-app[bot] Jun 19, 2026
12d8f69
codegen metadata
stainless-app[bot] Jun 19, 2026
54504c3
codegen metadata
stainless-app[bot] Jun 19, 2026
257330e
codegen metadata
stainless-app[bot] Jun 19, 2026
932a938
codegen metadata
stainless-app[bot] Jun 20, 2026
aa9e721
codegen metadata
stainless-app[bot] Jun 20, 2026
b3e3472
codegen metadata
stainless-app[bot] Jun 20, 2026
3a68032
codegen metadata
stainless-app[bot] Jun 20, 2026
fee68ac
codegen metadata
stainless-app[bot] Jun 20, 2026
0a5fc3f
codegen metadata
stainless-app[bot] Jun 20, 2026
edb0839
codegen metadata
stainless-app[bot] Jun 20, 2026
fa3eac4
codegen metadata
stainless-app[bot] Jun 20, 2026
57c2ef2
codegen metadata
stainless-app[bot] Jun 20, 2026
7beb338
codegen metadata
stainless-app[bot] Jun 20, 2026
532140b
codegen metadata
stainless-app[bot] Jun 20, 2026
87bd7db
codegen metadata
stainless-app[bot] Jun 20, 2026
11f8c86
codegen metadata
stainless-app[bot] Jun 20, 2026
dea188b
codegen metadata
stainless-app[bot] Jun 20, 2026
ec6a717
codegen metadata
stainless-app[bot] Jun 20, 2026
448269e
codegen metadata
stainless-app[bot] Jun 20, 2026
d60320f
codegen metadata
stainless-app[bot] Jun 20, 2026
e270973
codegen metadata
stainless-app[bot] Jun 20, 2026
de82196
codegen metadata
stainless-app[bot] Jun 20, 2026
68b78db
codegen metadata
stainless-app[bot] Jun 21, 2026
dd5f49e
codegen metadata
stainless-app[bot] Jun 21, 2026
a7436ba
codegen metadata
stainless-app[bot] Jun 21, 2026
60dce6b
codegen metadata
stainless-app[bot] Jun 21, 2026
9925bac
codegen metadata
stainless-app[bot] Jun 21, 2026
8a31a0c
codegen metadata
stainless-app[bot] Jun 21, 2026
7918840
codegen metadata
stainless-app[bot] Jun 21, 2026
ffbf037
codegen metadata
stainless-app[bot] Jun 21, 2026
c14d404
codegen metadata
stainless-app[bot] Jun 21, 2026
cf27fe9
codegen metadata
stainless-app[bot] Jun 21, 2026
38586ac
codegen metadata
stainless-app[bot] Jun 21, 2026
2769720
codegen metadata
stainless-app[bot] Jun 21, 2026
61467b0
codegen metadata
stainless-app[bot] Jun 21, 2026
15c6021
codegen metadata
stainless-app[bot] Jun 21, 2026
21efcbe
codegen metadata
stainless-app[bot] Jun 21, 2026
e46d5e2
codegen metadata
stainless-app[bot] Jun 21, 2026
80c80eb
codegen metadata
stainless-app[bot] Jun 21, 2026
da6b535
codegen metadata
stainless-app[bot] Jun 21, 2026
c853b33
codegen metadata
stainless-app[bot] Jun 21, 2026
c10aa1b
codegen metadata
stainless-app[bot] Jun 22, 2026
d2595ca
codegen metadata
stainless-app[bot] Jun 22, 2026
4a5d6ca
codegen metadata
stainless-app[bot] Jun 22, 2026
912b6ee
codegen metadata
stainless-app[bot] Jun 22, 2026
c7d8cca
codegen metadata
stainless-app[bot] Jun 22, 2026
e2d98a7
codegen metadata
stainless-app[bot] Jun 22, 2026
8075b8c
codegen metadata
stainless-app[bot] Jun 22, 2026
143b46e
codegen metadata
stainless-app[bot] Jun 22, 2026
949f37c
codegen metadata
stainless-app[bot] Jun 22, 2026
7dc3121
codegen metadata
stainless-app[bot] Jun 22, 2026
84b3a0a
codegen metadata
stainless-app[bot] Jun 22, 2026
4729c22
codegen metadata
stainless-app[bot] Jun 22, 2026
87da4a0
codegen metadata
stainless-app[bot] Jun 22, 2026
702b196
feat(api): api update
stainless-app[bot] Jun 22, 2026
721484c
codegen metadata
stainless-app[bot] Jun 22, 2026
7c0c04e
codegen metadata
stainless-app[bot] Jun 22, 2026
f715cc5
codegen metadata
stainless-app[bot] Jun 22, 2026
b3e6119
codegen metadata
stainless-app[bot] Jun 22, 2026
eb71eb5
codegen metadata
stainless-app[bot] Jun 22, 2026
cac586f
codegen metadata
stainless-app[bot] Jun 23, 2026
a348cc6
codegen metadata
stainless-app[bot] Jun 23, 2026
506813f
codegen metadata
stainless-app[bot] Jun 23, 2026
44b953c
codegen metadata
stainless-app[bot] Jun 23, 2026
ecc8ddf
codegen metadata
stainless-app[bot] Jun 23, 2026
25d4f55
codegen metadata
stainless-app[bot] Jun 23, 2026
7786ca2
codegen metadata
stainless-app[bot] Jun 23, 2026
e9792b3
codegen metadata
stainless-app[bot] Jun 23, 2026
d1199cc
codegen metadata
stainless-app[bot] Jun 23, 2026
74db857
codegen metadata
stainless-app[bot] Jun 23, 2026
ab1393a
codegen metadata
stainless-app[bot] Jun 23, 2026
ddd7f7a
codegen metadata
stainless-app[bot] Jun 23, 2026
fcb3017
codegen metadata
stainless-app[bot] Jun 23, 2026
6734856
codegen metadata
stainless-app[bot] Jun 23, 2026
f0caceb
codegen metadata
stainless-app[bot] Jun 23, 2026
96a0423
codegen metadata
stainless-app[bot] Jun 23, 2026
cff1357
codegen metadata
stainless-app[bot] Jun 23, 2026
151aeb0
codegen metadata
stainless-app[bot] Jun 23, 2026
a8c8d4b
codegen metadata
stainless-app[bot] Jun 23, 2026
5c96b33
codegen metadata
stainless-app[bot] Jun 24, 2026
8d90a6a
codegen metadata
stainless-app[bot] Jun 24, 2026
3528c89
codegen metadata
stainless-app[bot] Jun 24, 2026
13825b0
release: 0.23.0
stainless-app[bot] Jun 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.22.1"
".": "0.23.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 40
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-ed2d25d8fc35788cd5a487e5041365c3d269407578e74930a2bab21152dcd082.yml
openapi_spec_hash: f2858e2f82502940c623e8705564ac83
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-70158a5693284683c26fb7a2d23d4ba725ba84faef47000b087d90fa71ac2e10.yml
openapi_spec_hash: ae426252b063a5f13914fb4fb64f1b1a
config_hash: 32929c7d4b1344f5bbf67df044a518af
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.23.0 (2026-06-24)

Full Changelog: [v0.22.1...v0.23.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.22.1...v0.23.0)

### Features

* **api:** api update ([702b196](https://github.com/sentdm/sent-dm-ruby/commit/702b196e3037740b8980f60bc4c67719d582d261))

## 0.22.1 (2026-06-18)

Full Changelog: [v0.22.0...v0.22.1](https://github.com/sentdm/sent-dm-ruby/compare/v0.22.0...v0.22.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
sentdm (0.22.1)
sentdm (0.23.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "sentdm", "~> 0.22.1"
gem "sentdm", "~> 0.23.0"
```

<!-- x-release-please-end -->
Expand Down
46 changes: 45 additions & 1 deletion lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ class TcrCampaignWithUseCases < Sentdm::Models::Profiles::BaseDto
# @return [String, nil]
optional :description, String

# @!attribute has_submission_transaction
# True when this campaign already has a billing transaction of reference type
# TCR_CAMPAIGN_SUBMISSION (the one-time submission fee was charged). Populated
# only by the campaigns-list path; defaults false on other responses.
#
# @return [Boolean, nil]
optional :has_submission_transaction,
Sentdm::Internal::Type::Boolean,
api_name: :hasSubmissionTransaction

# @!attribute help_keywords
#
# @return [String, nil]
Expand Down Expand Up @@ -162,36 +172,70 @@ class TcrCampaignWithUseCases < Sentdm::Models::Profiles::BaseDto
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase] },
api_name: :useCases

# @!method initialize(billed_date: nil, brand_id: nil, cost: nil, csp_id: nil, customer_id: nil, dca_elections_complete: nil, dca_elections_completed_at: nil, description: nil, help_keywords: nil, help_message: nil, kyc_submission_form_id: nil, message_flow: nil, name: nil, optin_keywords: nil, optin_message: nil, optout_keywords: nil, optout_message: nil, privacy_policy_link: nil, reseller_id: nil, sharing_status: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_campaign_id: nil, tcr_sync_error: nil, telnyx_campaign_id: nil, terms_and_conditions_link: nil, type: nil, upstream_cnp_id: nil, use_cases: nil)
# @!method initialize(billed_date: nil, brand_id: nil, cost: nil, csp_id: nil, customer_id: nil, dca_elections_complete: nil, dca_elections_completed_at: nil, description: nil, has_submission_transaction: nil, help_keywords: nil, help_message: nil, kyc_submission_form_id: nil, message_flow: nil, name: nil, optin_keywords: nil, optin_message: nil, optout_keywords: nil, optout_message: nil, privacy_policy_link: nil, reseller_id: nil, sharing_status: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_campaign_id: nil, tcr_sync_error: nil, telnyx_campaign_id: nil, terms_and_conditions_link: nil, type: nil, upstream_cnp_id: nil, use_cases: nil)
# Some parameter documentations has been truncated, see
# {Sentdm::Models::Profiles::TcrCampaignWithUseCases} for more details.
#
# @param billed_date [Time, nil]
#
# @param brand_id [String, nil]
#
# @param cost [Float, nil]
#
# @param csp_id [String, nil]
#
# @param customer_id [String]
#
# @param dca_elections_complete [Boolean, nil]
#
# @param dca_elections_completed_at [Time, nil]
#
# @param description [String]
#
# @param has_submission_transaction [Boolean] True when this campaign already has a billing transaction of reference type
#
# @param help_keywords [String, nil]
#
# @param help_message [String, nil]
#
# @param kyc_submission_form_id [String, nil]
#
# @param message_flow [String, nil]
#
# @param name [String]
#
# @param optin_keywords [String, nil]
#
# @param optin_message [String, nil]
#
# @param optout_keywords [String, nil]
#
# @param optout_message [String, nil]
#
# @param privacy_policy_link [String, nil]
#
# @param reseller_id [String, nil]
#
# @param sharing_status [Symbol, Sentdm::Models::Profiles::TcrCampaignWithUseCases::SharingStatus, nil]
#
# @param status [Symbol, Sentdm::Models::Profiles::TcrCampaignWithUseCases::Status, nil]
#
# @param submitted_at [Time, nil]
#
# @param submitted_to_tcr [Boolean]
#
# @param tcr_campaign_id [String, nil]
#
# @param tcr_sync_error [String, nil]
#
# @param telnyx_campaign_id [String, nil]
#
# @param terms_and_conditions_link [String, nil]
#
# @param type [String]
#
# @param upstream_cnp_id [String, nil]
#
# @param use_cases [Array<Sentdm::Models::Profiles::TcrCampaignWithUseCases::UseCase>]

module SharingStatus
Expand Down
2 changes: 1 addition & 1 deletion lib/sentdm/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Sentdm
VERSION = "0.22.1"
VERSION = "0.23.0"
end
15 changes: 15 additions & 0 deletions rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ module Sentdm
sig { params(description: String).void }
attr_writer :description

# True when this campaign already has a billing transaction of reference type
# TCR_CAMPAIGN_SUBMISSION (the one-time submission fee was charged). Populated
# only by the campaigns-list path; defaults false on other responses.
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_submission_transaction

sig { params(has_submission_transaction: T::Boolean).void }
attr_writer :has_submission_transaction

sig { returns(T.nilable(String)) }
attr_accessor :help_keywords

Expand Down Expand Up @@ -155,6 +164,7 @@ module Sentdm
dca_elections_complete: T.nilable(T::Boolean),
dca_elections_completed_at: T.nilable(Time),
description: String,
has_submission_transaction: T::Boolean,
help_keywords: T.nilable(String),
help_message: T.nilable(String),
kyc_submission_form_id: T.nilable(String),
Expand Down Expand Up @@ -197,6 +207,10 @@ module Sentdm
dca_elections_complete: nil,
dca_elections_completed_at: nil,
description: nil,
# True when this campaign already has a billing transaction of reference type
# TCR_CAMPAIGN_SUBMISSION (the one-time submission fee was charged). Populated
# only by the campaigns-list path; defaults false on other responses.
has_submission_transaction: nil,
help_keywords: nil,
help_message: nil,
kyc_submission_form_id: nil,
Expand Down Expand Up @@ -233,6 +247,7 @@ module Sentdm
dca_elections_complete: T.nilable(T::Boolean),
dca_elections_completed_at: T.nilable(Time),
description: String,
has_submission_transaction: T::Boolean,
help_keywords: T.nilable(String),
help_message: T.nilable(String),
kyc_submission_form_id: T.nilable(String),
Expand Down
7 changes: 7 additions & 0 deletions sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module Sentdm
dca_elections_complete: bool?,
dca_elections_completed_at: Time?,
description: String,
has_submission_transaction: bool,
help_keywords: String?,
help_message: String?,
kyc_submission_form_id: String?,
Expand Down Expand Up @@ -68,6 +69,10 @@ module Sentdm

def description=: (String _) -> String

def has_submission_transaction: -> bool?

def has_submission_transaction=: (bool _) -> bool

def help_keywords: -> String?

def help_keywords=: (String? _) -> String?
Expand Down Expand Up @@ -171,6 +176,7 @@ module Sentdm
?dca_elections_complete: bool?,
?dca_elections_completed_at: Time?,
?description: String,
?has_submission_transaction: bool,
?help_keywords: String?,
?help_message: String?,
?kyc_submission_form_id: String?,
Expand Down Expand Up @@ -204,6 +210,7 @@ module Sentdm
dca_elections_complete: bool?,
dca_elections_completed_at: Time?,
description: String,
has_submission_transaction: bool,
help_keywords: String?,
help_message: String?,
kyc_submission_form_id: String?,
Expand Down