Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
728 commits
Select commit Hold shift + click to select a range
ee66f14
codegen metadata
stainless-app[bot] Jun 17, 2026
d0eb176
codegen metadata
stainless-app[bot] Jun 17, 2026
f03adf6
codegen metadata
stainless-app[bot] Jun 17, 2026
ef3bc39
codegen metadata
stainless-app[bot] Jun 17, 2026
67162a4
codegen metadata
stainless-app[bot] Jun 17, 2026
639ef66
codegen metadata
stainless-app[bot] Jun 17, 2026
2b9e6d0
codegen metadata
stainless-app[bot] Jun 17, 2026
16fa3b5
codegen metadata
stainless-app[bot] Jun 17, 2026
ad8f2b0
codegen metadata
stainless-app[bot] Jun 17, 2026
c1283df
codegen metadata
stainless-app[bot] Jun 17, 2026
c659d2d
codegen metadata
stainless-app[bot] Jun 17, 2026
6d9e379
codegen metadata
stainless-app[bot] Jun 17, 2026
f5b8f65
codegen metadata
stainless-app[bot] Jun 17, 2026
93b2226
codegen metadata
stainless-app[bot] Jun 17, 2026
d5b222e
codegen metadata
stainless-app[bot] Jun 17, 2026
3c894c0
codegen metadata
stainless-app[bot] Jun 18, 2026
cd8d5ff
codegen metadata
stainless-app[bot] Jun 18, 2026
f91ca68
codegen metadata
stainless-app[bot] Jun 18, 2026
09238ae
codegen metadata
stainless-app[bot] Jun 18, 2026
c4017c7
codegen metadata
stainless-app[bot] Jun 18, 2026
37b7e16
codegen metadata
stainless-app[bot] Jun 18, 2026
ca0ccb4
codegen metadata
stainless-app[bot] Jun 18, 2026
9efd6d1
codegen metadata
stainless-app[bot] Jun 18, 2026
2fe79b4
codegen metadata
stainless-app[bot] Jun 18, 2026
28dce71
codegen metadata
stainless-app[bot] Jun 18, 2026
5e87ecb
codegen metadata
stainless-app[bot] Jun 18, 2026
d33643d
codegen metadata
stainless-app[bot] Jun 18, 2026
df73c15
codegen metadata
stainless-app[bot] Jun 18, 2026
59a3343
codegen metadata
stainless-app[bot] Jun 18, 2026
d780d9c
codegen metadata
stainless-app[bot] Jun 18, 2026
2a5d0bb
codegen metadata
stainless-app[bot] Jun 18, 2026
75173e1
codegen metadata
stainless-app[bot] Jun 18, 2026
771e1e3
codegen metadata
stainless-app[bot] Jun 18, 2026
c4d21f2
codegen metadata
stainless-app[bot] Jun 18, 2026
1cadfc5
codegen metadata
stainless-app[bot] Jun 18, 2026
9ce22fa
codegen metadata
stainless-app[bot] Jun 19, 2026
9bbaa35
codegen metadata
stainless-app[bot] Jun 19, 2026
90406dc
codegen metadata
stainless-app[bot] Jun 19, 2026
8c175fa
codegen metadata
stainless-app[bot] Jun 19, 2026
40f966b
codegen metadata
stainless-app[bot] Jun 19, 2026
277a736
codegen metadata
stainless-app[bot] Jun 19, 2026
c284d38
codegen metadata
stainless-app[bot] Jun 19, 2026
7c35917
codegen metadata
stainless-app[bot] Jun 19, 2026
eb64549
codegen metadata
stainless-app[bot] Jun 19, 2026
93cb7c3
codegen metadata
stainless-app[bot] Jun 19, 2026
c3cd669
codegen metadata
stainless-app[bot] Jun 19, 2026
ba0731d
codegen metadata
stainless-app[bot] Jun 19, 2026
0f4393e
codegen metadata
stainless-app[bot] Jun 19, 2026
2788ee1
codegen metadata
stainless-app[bot] Jun 19, 2026
b455570
codegen metadata
stainless-app[bot] Jun 19, 2026
c6227f2
codegen metadata
stainless-app[bot] Jun 19, 2026
1a5e964
codegen metadata
stainless-app[bot] Jun 19, 2026
ef4da72
codegen metadata
stainless-app[bot] Jun 19, 2026
b61d18d
codegen metadata
stainless-app[bot] Jun 19, 2026
3f219a7
codegen metadata
stainless-app[bot] Jun 19, 2026
085c6e1
codegen metadata
stainless-app[bot] Jun 20, 2026
50f92c4
codegen metadata
stainless-app[bot] Jun 20, 2026
d980b00
codegen metadata
stainless-app[bot] Jun 20, 2026
c710ef8
codegen metadata
stainless-app[bot] Jun 20, 2026
9216236
codegen metadata
stainless-app[bot] Jun 20, 2026
cb542bb
codegen metadata
stainless-app[bot] Jun 20, 2026
99c565b
codegen metadata
stainless-app[bot] Jun 20, 2026
139b7c4
codegen metadata
stainless-app[bot] Jun 20, 2026
49533fa
codegen metadata
stainless-app[bot] Jun 20, 2026
6eb097f
codegen metadata
stainless-app[bot] Jun 20, 2026
55e7799
codegen metadata
stainless-app[bot] Jun 20, 2026
74a9e68
codegen metadata
stainless-app[bot] Jun 20, 2026
a804963
codegen metadata
stainless-app[bot] Jun 20, 2026
72864a5
codegen metadata
stainless-app[bot] Jun 20, 2026
26573b9
codegen metadata
stainless-app[bot] Jun 20, 2026
962cd6e
codegen metadata
stainless-app[bot] Jun 20, 2026
582eeb9
codegen metadata
stainless-app[bot] Jun 20, 2026
65de6e7
codegen metadata
stainless-app[bot] Jun 20, 2026
4934267
codegen metadata
stainless-app[bot] Jun 20, 2026
9240ee8
codegen metadata
stainless-app[bot] Jun 21, 2026
c83e3b6
codegen metadata
stainless-app[bot] Jun 21, 2026
1affa77
codegen metadata
stainless-app[bot] Jun 21, 2026
1211426
codegen metadata
stainless-app[bot] Jun 21, 2026
8a2a14b
codegen metadata
stainless-app[bot] Jun 21, 2026
947f3c2
codegen metadata
stainless-app[bot] Jun 21, 2026
bf2592e
codegen metadata
stainless-app[bot] Jun 21, 2026
1520fa2
codegen metadata
stainless-app[bot] Jun 21, 2026
55ca5a0
codegen metadata
stainless-app[bot] Jun 21, 2026
8d04bee
codegen metadata
stainless-app[bot] Jun 21, 2026
35b87a2
codegen metadata
stainless-app[bot] Jun 21, 2026
9ade89b
codegen metadata
stainless-app[bot] Jun 21, 2026
cf9338c
codegen metadata
stainless-app[bot] Jun 21, 2026
1064138
codegen metadata
stainless-app[bot] Jun 21, 2026
9c90288
codegen metadata
stainless-app[bot] Jun 21, 2026
d3f32a4
codegen metadata
stainless-app[bot] Jun 21, 2026
1f48e2e
codegen metadata
stainless-app[bot] Jun 21, 2026
5857c68
codegen metadata
stainless-app[bot] Jun 21, 2026
b7c7bd5
codegen metadata
stainless-app[bot] Jun 21, 2026
43f6220
codegen metadata
stainless-app[bot] Jun 22, 2026
0f81c8d
codegen metadata
stainless-app[bot] Jun 22, 2026
024db01
codegen metadata
stainless-app[bot] Jun 22, 2026
d062d03
codegen metadata
stainless-app[bot] Jun 22, 2026
117324c
codegen metadata
stainless-app[bot] Jun 22, 2026
7e10748
codegen metadata
stainless-app[bot] Jun 22, 2026
f6a5446
codegen metadata
stainless-app[bot] Jun 22, 2026
e882984
codegen metadata
stainless-app[bot] Jun 22, 2026
d3c372a
codegen metadata
stainless-app[bot] Jun 22, 2026
e711cd1
codegen metadata
stainless-app[bot] Jun 22, 2026
a065b18
codegen metadata
stainless-app[bot] Jun 22, 2026
b8acf60
codegen metadata
stainless-app[bot] Jun 22, 2026
5977d10
codegen metadata
stainless-app[bot] Jun 22, 2026
b343626
feat(api): api update
stainless-app[bot] Jun 22, 2026
356f0af
codegen metadata
stainless-app[bot] Jun 22, 2026
970f6b5
codegen metadata
stainless-app[bot] Jun 22, 2026
649ae37
codegen metadata
stainless-app[bot] Jun 22, 2026
0ebe0a2
codegen metadata
stainless-app[bot] Jun 22, 2026
5bc3b4b
codegen metadata
stainless-app[bot] Jun 22, 2026
f2ca192
codegen metadata
stainless-app[bot] Jun 23, 2026
7a2241f
codegen metadata
stainless-app[bot] Jun 23, 2026
b59038c
codegen metadata
stainless-app[bot] Jun 23, 2026
41f6b7e
codegen metadata
stainless-app[bot] Jun 23, 2026
4ab176b
codegen metadata
stainless-app[bot] Jun 23, 2026
647f030
codegen metadata
stainless-app[bot] Jun 23, 2026
c877352
codegen metadata
stainless-app[bot] Jun 23, 2026
89f0652
codegen metadata
stainless-app[bot] Jun 23, 2026
9c41d28
codegen metadata
stainless-app[bot] Jun 23, 2026
c77acdc
codegen metadata
stainless-app[bot] Jun 23, 2026
cb6ab63
codegen metadata
stainless-app[bot] Jun 23, 2026
b53bc2b
codegen metadata
stainless-app[bot] Jun 23, 2026
864d2fd
codegen metadata
stainless-app[bot] Jun 23, 2026
6c8585b
codegen metadata
stainless-app[bot] Jun 23, 2026
f5a5f40
codegen metadata
stainless-app[bot] Jun 23, 2026
07ea555
codegen metadata
stainless-app[bot] Jun 23, 2026
6ab8be0
codegen metadata
stainless-app[bot] Jun 23, 2026
0650504
codegen metadata
stainless-app[bot] Jun 23, 2026
aa2c62d
codegen metadata
stainless-app[bot] Jun 23, 2026
f1aca60
codegen metadata
stainless-app[bot] Jun 24, 2026
276c9be
codegen metadata
stainless-app[bot] Jun 24, 2026
10393ff
codegen metadata
stainless-app[bot] Jun 24, 2026
4a4f22a
codegen metadata
stainless-app[bot] Jun 24, 2026
1577f7d
codegen metadata
stainless-app[bot] Jun 24, 2026
aede691
codegen metadata
stainless-app[bot] Jun 24, 2026
363752b
codegen metadata
stainless-app[bot] Jun 24, 2026
9790518
codegen metadata
stainless-app[bot] Jun 24, 2026
9b5cdd0
codegen metadata
stainless-app[bot] Jun 24, 2026
8bbbf33
codegen metadata
stainless-app[bot] Jun 24, 2026
d96d295
codegen metadata
stainless-app[bot] Jun 24, 2026
42cacfa
codegen metadata
stainless-app[bot] Jun 24, 2026
691dc94
codegen metadata
stainless-app[bot] Jun 24, 2026
5244756
codegen metadata
stainless-app[bot] Jun 24, 2026
26b73f3
codegen metadata
stainless-app[bot] Jun 24, 2026
fada49d
codegen metadata
stainless-app[bot] Jun 24, 2026
af095cf
codegen metadata
stainless-app[bot] Jun 24, 2026
17e56dc
codegen metadata
stainless-app[bot] Jun 24, 2026
a140a31
codegen metadata
stainless-app[bot] Jun 25, 2026
291901f
codegen metadata
stainless-app[bot] Jun 25, 2026
8303754
codegen metadata
stainless-app[bot] Jun 25, 2026
49f2f4d
codegen metadata
stainless-app[bot] Jun 25, 2026
3c4f64f
codegen metadata
stainless-app[bot] Jun 25, 2026
5e8e12f
codegen metadata
stainless-app[bot] Jun 25, 2026
8b8168d
codegen metadata
stainless-app[bot] Jun 25, 2026
32cb9f7
codegen metadata
stainless-app[bot] Jun 25, 2026
37c4a0c
codegen metadata
stainless-app[bot] Jun 25, 2026
29b50ef
codegen metadata
stainless-app[bot] Jun 25, 2026
30fdd74
codegen metadata
stainless-app[bot] Jun 25, 2026
27ec85b
codegen metadata
stainless-app[bot] Jun 25, 2026
da15ecf
codegen metadata
stainless-app[bot] Jun 25, 2026
b2bb1fc
codegen metadata
stainless-app[bot] Jun 25, 2026
ad63e86
codegen metadata
stainless-app[bot] Jun 25, 2026
61d2ddb
codegen metadata
stainless-app[bot] Jun 25, 2026
c6235b9
codegen metadata
stainless-app[bot] Jun 26, 2026
48866f2
codegen metadata
stainless-app[bot] Jun 26, 2026
c4bc701
codegen metadata
stainless-app[bot] Jun 26, 2026
8f27781
codegen metadata
stainless-app[bot] Jun 26, 2026
3daa0d0
codegen metadata
stainless-app[bot] Jun 26, 2026
cb33a1e
codegen metadata
stainless-app[bot] Jun 26, 2026
e0c90dc
codegen metadata
stainless-app[bot] Jun 26, 2026
231af2d
codegen metadata
stainless-app[bot] Jun 26, 2026
c2c103f
codegen metadata
stainless-app[bot] Jun 26, 2026
a966702
codegen metadata
stainless-app[bot] Jun 26, 2026
df16d09
codegen metadata
stainless-app[bot] Jun 26, 2026
548694d
codegen metadata
stainless-app[bot] Jun 26, 2026
46bb111
codegen metadata
stainless-app[bot] Jun 26, 2026
208ddd8
codegen metadata
stainless-app[bot] Jun 26, 2026
ab2b11b
codegen metadata
stainless-app[bot] Jun 26, 2026
b6d1cb6
codegen metadata
stainless-app[bot] Jun 26, 2026
0974689
codegen metadata
stainless-app[bot] Jun 26, 2026
14bd002
codegen metadata
stainless-app[bot] Jun 26, 2026
0b0dd57
codegen metadata
stainless-app[bot] Jun 26, 2026
9b90725
feat(api): api update
stainless-app[bot] Jun 26, 2026
4243251
codegen metadata
stainless-app[bot] Jun 26, 2026
26a6adf
codegen metadata
stainless-app[bot] Jun 26, 2026
552766d
codegen metadata
stainless-app[bot] Jun 27, 2026
d6a599e
codegen metadata
stainless-app[bot] Jun 27, 2026
a82e3ca
codegen metadata
stainless-app[bot] Jun 27, 2026
1da1d48
codegen metadata
stainless-app[bot] Jun 27, 2026
9f9dbaa
codegen metadata
stainless-app[bot] Jun 27, 2026
439a94c
codegen metadata
stainless-app[bot] Jun 27, 2026
d00d566
codegen metadata
stainless-app[bot] Jun 27, 2026
a0811a9
codegen metadata
stainless-app[bot] Jun 27, 2026
dbb2ef6
codegen metadata
stainless-app[bot] Jun 27, 2026
8cabda2
codegen metadata
stainless-app[bot] Jun 27, 2026
575503b
codegen metadata
stainless-app[bot] Jun 27, 2026
ecec614
codegen metadata
stainless-app[bot] Jun 27, 2026
1c2224b
codegen metadata
stainless-app[bot] Jun 27, 2026
588f4c2
codegen metadata
stainless-app[bot] Jun 27, 2026
e01b928
codegen metadata
stainless-app[bot] Jun 27, 2026
6d5e8ce
codegen metadata
stainless-app[bot] Jun 27, 2026
65617cf
codegen metadata
stainless-app[bot] Jun 27, 2026
88a89e8
codegen metadata
stainless-app[bot] Jun 27, 2026
35b84a3
codegen metadata
stainless-app[bot] Jun 27, 2026
69c6807
codegen metadata
stainless-app[bot] Jun 27, 2026
59cd50d
codegen metadata
stainless-app[bot] Jun 28, 2026
34f6cbd
codegen metadata
stainless-app[bot] Jun 28, 2026
3150dd4
codegen metadata
stainless-app[bot] Jun 28, 2026
0889c80
codegen metadata
stainless-app[bot] Jun 28, 2026
4668bd2
codegen metadata
stainless-app[bot] Jun 28, 2026
a6d3243
codegen metadata
stainless-app[bot] Jun 28, 2026
3d4b72c
codegen metadata
stainless-app[bot] Jun 28, 2026
f2dbc78
codegen metadata
stainless-app[bot] Jun 28, 2026
edd930e
codegen metadata
stainless-app[bot] Jun 28, 2026
20631a2
codegen metadata
stainless-app[bot] Jun 28, 2026
f489d88
codegen metadata
stainless-app[bot] Jun 28, 2026
9d2ca9e
codegen metadata
stainless-app[bot] Jun 28, 2026
1aab1ef
codegen metadata
stainless-app[bot] Jun 28, 2026
de2a796
codegen metadata
stainless-app[bot] Jun 28, 2026
7d68b82
codegen metadata
stainless-app[bot] Jun 28, 2026
eadb01d
codegen metadata
stainless-app[bot] Jun 28, 2026
cf67b95
codegen metadata
stainless-app[bot] Jun 28, 2026
f920d0f
codegen metadata
stainless-app[bot] Jun 28, 2026
fc3520d
codegen metadata
stainless-app[bot] Jun 28, 2026
5144692
codegen metadata
stainless-app[bot] Jun 28, 2026
6219106
codegen metadata
stainless-app[bot] Jun 29, 2026
f526a48
codegen metadata
stainless-app[bot] Jun 29, 2026
a7af94f
codegen metadata
stainless-app[bot] Jun 29, 2026
97e4606
codegen metadata
stainless-app[bot] Jun 29, 2026
c7ab267
codegen metadata
stainless-app[bot] Jun 29, 2026
4d2c765
codegen metadata
stainless-app[bot] Jun 29, 2026
8c4d78c
codegen metadata
stainless-app[bot] Jun 29, 2026
b415a0d
codegen metadata
stainless-app[bot] Jun 29, 2026
69a48d7
codegen metadata
stainless-app[bot] Jun 29, 2026
8b8d4f0
codegen metadata
stainless-app[bot] Jun 29, 2026
b5abaaf
codegen metadata
stainless-app[bot] Jun 29, 2026
4ae5cc2
codegen metadata
stainless-app[bot] Jun 29, 2026
48a93be
codegen metadata
stainless-app[bot] Jun 29, 2026
ebd5346
codegen metadata
stainless-app[bot] Jun 29, 2026
8e35b63
codegen metadata
stainless-app[bot] Jun 29, 2026
e971cc2
codegen metadata
stainless-app[bot] Jun 30, 2026
639244d
codegen metadata
stainless-app[bot] Jun 30, 2026
e715fa8
codegen metadata
stainless-app[bot] Jun 30, 2026
a33c238
codegen metadata
stainless-app[bot] Jun 30, 2026
55e58e9
codegen metadata
stainless-app[bot] Jun 30, 2026
d44adca
codegen metadata
stainless-app[bot] Jun 30, 2026
fc7e82c
codegen metadata
stainless-app[bot] Jun 30, 2026
d3803cf
release: 0.24.0
stainless-app[bot] Jun 30, 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.23.0"
".": "0.24.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-e0a4f9a3faa85838c6d8a83dc1676c1fefa359c2eaf09ca5cfc05942549ca596.yml
openapi_spec_hash: 74ba6ccdd1a0bb875402884dc1d10a59
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent/sent-dm-aaa1e926cc5197acf2f9ea1d957bf3d3eae95dbeffda2968d9bcb55a56b65332.yml
openapi_spec_hash: 950356265774a5813826bd518d469da3
config_hash: 32929c7d4b1344f5bbf67df044a518af
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.24.0 (2026-06-30)

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

### Features

* **api:** api update ([9b90725](https://github.com/sentdm/sent-dm-php/commit/9b907251a0683a94bb9d48a8c4e53dcb57e79399))
* **api:** api update ([b343626](https://github.com/sentdm/sent-dm-php/commit/b3436260c321335f3902a93ed9f8278e9a354423))

## 0.23.0 (2026-05-21)

Full Changelog: [v0.22.0...v0.23.0](https://github.com/sentdm/sent-dm-php/compare/v0.22.0...v0.23.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The REST API documentation can be found on [docs.sent.dm](https://docs.sent.dm).
<!-- x-release-please-start-version -->

```
composer require "sentdm/sent-dm-php 0.23.0"
composer require "sentdm/sent-dm-php 0.24.0"
```

<!-- x-release-please-end -->
Expand Down
26 changes: 23 additions & 3 deletions src/Messages/MessageSendParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* channel?: list<string>|null,
* sandbox?: bool|null,
* template?: null|Template|TemplateShape,
* text?: string|null,
* to?: list<string>|null,
* idempotencyKey?: string|null,
* xProfileID?: string|null,
Expand Down Expand Up @@ -53,9 +54,15 @@ final class MessageSendParams implements BaseModel
/**
* SDK-style template reference: resolve by ID or by name, with optional parameters.
*/
#[Optional]
#[Optional(nullable: true)]
public ?Template $template;

/**
* Plain-text (free-form) message body. Provide either Template or this.
*/
#[Optional(nullable: true)]
public ?string $text;

/**
* List of recipient phone numbers in E.164 format (multi-recipient fan-out).
*
Expand Down Expand Up @@ -88,6 +95,7 @@ public static function with(
?array $channel = null,
?bool $sandbox = null,
Template|array|null $template = null,
?string $text = null,
?array $to = null,
?string $idempotencyKey = null,
?string $xProfileID = null,
Expand All @@ -97,6 +105,7 @@ public static function with(
null !== $channel && $self['channel'] = $channel;
null !== $sandbox && $self['sandbox'] = $sandbox;
null !== $template && $self['template'] = $template;
null !== $text && $self['text'] = $text;
null !== $to && $self['to'] = $to;
null !== $idempotencyKey && $self['idempotencyKey'] = $idempotencyKey;
null !== $xProfileID && $self['xProfileID'] = $xProfileID;
Expand Down Expand Up @@ -135,16 +144,27 @@ public function withSandbox(bool $sandbox): self
/**
* SDK-style template reference: resolve by ID or by name, with optional parameters.
*
* @param Template|TemplateShape $template
* @param Template|TemplateShape|null $template
*/
public function withTemplate(Template|array $template): self
public function withTemplate(Template|array|null $template): self
{
$self = clone $this;
$self['template'] = $template;

return $self;
}

/**
* Plain-text (free-form) message body. Provide either Template or this.
*/
public function withText(?string $text): self
{
$self = clone $this;
$self['text'] = $text;

return $self;
}

/**
* List of recipient phone numbers in E.164 format (multi-recipient fan-out).
*
Expand Down
25 changes: 25 additions & 0 deletions src/Profiles/Campaigns/TcrCampaignWithUseCases.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* dcaElectionsComplete?: bool|null,
* dcaElectionsCompletedAt?: \DateTimeInterface|null,
* description?: string|null,
* hasSubmissionTransaction?: bool|null,
* helpKeywords?: string|null,
* helpMessage?: string|null,
* kycSubmissionFormID?: string|null,
Expand Down Expand Up @@ -91,6 +92,14 @@ final class TcrCampaignWithUseCases implements BaseModel
#[Optional]
public ?string $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.
*/
#[Optional]
public ?bool $hasSubmissionTransaction;

#[Optional(nullable: true)]
public ?string $helpKeywords;

Expand Down Expand Up @@ -186,6 +195,7 @@ public static function with(
?bool $dcaElectionsComplete = null,
?\DateTimeInterface $dcaElectionsCompletedAt = null,
?string $description = null,
?bool $hasSubmissionTransaction = null,
?string $helpKeywords = null,
?string $helpMessage = null,
?string $kycSubmissionFormID = null,
Expand Down Expand Up @@ -222,6 +232,7 @@ public static function with(
null !== $dcaElectionsComplete && $self['dcaElectionsComplete'] = $dcaElectionsComplete;
null !== $dcaElectionsCompletedAt && $self['dcaElectionsCompletedAt'] = $dcaElectionsCompletedAt;
null !== $description && $self['description'] = $description;
null !== $hasSubmissionTransaction && $self['hasSubmissionTransaction'] = $hasSubmissionTransaction;
null !== $helpKeywords && $self['helpKeywords'] = $helpKeywords;
null !== $helpMessage && $self['helpMessage'] = $helpMessage;
null !== $kycSubmissionFormID && $self['kycSubmissionFormID'] = $kycSubmissionFormID;
Expand Down Expand Up @@ -340,6 +351,20 @@ public function withDescription(string $description): self
return $self;
}

/**
* 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.
*/
public function withHasSubmissionTransaction(
bool $hasSubmissionTransaction
): self {
$self = clone $this;
$self['hasSubmissionTransaction'] = $hasSubmissionTransaction;

return $self;
}

public function withHelpKeywords(?string $helpKeywords): self
{
$self = clone $this;
Expand Down
4 changes: 3 additions & 1 deletion src/ServiceContracts/MessagesContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public function retrieveStatus(
* Defaults to ["sent"] (auto-detect) if omitted.
* @param bool $sandbox Body param: Sandbox flag - when true, the operation is simulated without side effects
* Useful for testing integrations without actual execution
* @param Template|TemplateShape $template body param: SDK-style template reference: resolve by ID or by name, with optional parameters
* @param Template|TemplateShape|null $template body param: SDK-style template reference: resolve by ID or by name, with optional parameters
* @param string|null $text Body param: Plain-text (free-form) message body. Provide either Template or this.
* @param list<string> $to Body param: List of recipient phone numbers in E.164 format (multi-recipient fan-out)
* @param string $idempotencyKey Header param: Unique key to ensure idempotent request processing. Must be 1-255 alphanumeric characters, hyphens, or underscores. Responses are cached for 24 hours per key per customer.
* @param string $xProfileID Header param: Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
Expand All @@ -68,6 +69,7 @@ public function send(
?array $channel = null,
?bool $sandbox = null,
Template|array|null $template = null,
?string $text = null,
?array $to = null,
?string $idempotencyKey = null,
?string $xProfileID = null,
Expand Down
3 changes: 2 additions & 1 deletion src/Services/MessagesRawService.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ public function retrieveStatus(
* @param array{
* channel?: list<string>|null,
* sandbox?: bool,
* template?: Template|TemplateShape,
* template?: Template|TemplateShape|null,
* text?: string|null,
* to?: list<string>,
* idempotencyKey?: string,
* xProfileID?: string,
Expand Down
5 changes: 4 additions & 1 deletion src/Services/MessagesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public function retrieveStatus(
* Defaults to ["sent"] (auto-detect) if omitted.
* @param bool $sandbox Body param: Sandbox flag - when true, the operation is simulated without side effects
* Useful for testing integrations without actual execution
* @param Template|TemplateShape $template body param: SDK-style template reference: resolve by ID or by name, with optional parameters
* @param Template|TemplateShape|null $template body param: SDK-style template reference: resolve by ID or by name, with optional parameters
* @param string|null $text Body param: Plain-text (free-form) message body. Provide either Template or this.
* @param list<string> $to Body param: List of recipient phone numbers in E.164 format (multi-recipient fan-out)
* @param string $idempotencyKey Header param: Unique key to ensure idempotent request processing. Must be 1-255 alphanumeric characters, hyphens, or underscores. Responses are cached for 24 hours per key per customer.
* @param string $xProfileID Header param: Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
Expand All @@ -106,6 +107,7 @@ public function send(
?array $channel = null,
?bool $sandbox = null,
Template|array|null $template = null,
?string $text = null,
?array $to = null,
?string $idempotencyKey = null,
?string $xProfileID = null,
Expand All @@ -116,6 +118,7 @@ public function send(
'channel' => $channel,
'sandbox' => $sandbox,
'template' => $template,
'text' => $text,
'to' => $to,
'idempotencyKey' => $idempotencyKey,
'xProfileID' => $xProfileID,
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace SentDm;

// x-release-please-start-version
const VERSION = '0.23.0';
const VERSION = '0.24.0';
// x-release-please-end