Skip to content

Commit 92b9e86

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.528.1
1 parent 2560a29 commit 92b9e86

Some content is hidden

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

45 files changed

+647
-108
lines changed

.speakeasy/gen.lock

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 4286f3ad-fa54-4c63-a599-e5773b27ae7b
33
management:
4-
docChecksum: 2baf7b7b1013df7ed3dec65b77527e2f
4+
docChecksum: 00b95d335c4aa21b8f8025c82fb2280a
55
docVersion: "1.0"
6-
speakeasyVersion: 1.521.0
7-
generationVersion: 2.558.2
8-
releaseVersion: 0.1.0
9-
configChecksum: 99deb2793610bd835828014a768841ba
6+
speakeasyVersion: 1.528.1
7+
generationVersion: 2.565.1
8+
releaseVersion: 0.1.1
9+
configChecksum: 051d18f8fe5f2f8817daca9b817bc1c5
1010
repoURL: https://github.com/novuhq/php-novu.git
1111
installationURL: https://github.com/novuhq/php-novu
1212
published: true
1313
features:
1414
php:
1515
constsAndDefaults: 0.2.0
16-
core: 3.8.1
16+
core: 3.8.2
1717
deprecations: 2.81.1
1818
examples: 2.81.5
1919
flattening: 2.81.1
@@ -200,6 +200,7 @@ generatedFiles:
200200
- docs/Models/Components/UpdateSubscriberChannelRequestDto.md
201201
- docs/Models/Components/UpdateSubscriberChannelRequestDtoProviderId.md
202202
- docs/Models/Components/UpdateSubscriberOnlineFlagRequestDto.md
203+
- docs/Models/Components/UpdateSubscriberRequestDto.md
203204
- docs/Models/Components/UpdatedSubscriberDto.md
204205
- docs/Models/Components/Value.md
205206
- docs/Models/Components/WeekDays.md
@@ -292,6 +293,8 @@ generatedFiles:
292293
- docs/Models/Operations/SubscribersV1ControllerUpdateSubscriberChannelResponse.md
293294
- docs/Models/Operations/SubscribersV1ControllerUpdateSubscriberOnlineFlagRequest.md
294295
- docs/Models/Operations/SubscribersV1ControllerUpdateSubscriberOnlineFlagResponse.md
296+
- docs/Models/Operations/SubscribersV1ControllerUpdateSubscriberRequest.md
297+
- docs/Models/Operations/SubscribersV1ControllerUpdateSubscriberResponse.md
295298
- docs/Models/Operations/TopicsControllerAssignRequest.md
296299
- docs/Models/Operations/TopicsControllerAssignResponse.md
297300
- docs/Models/Operations/TopicsControllerCreateTopicRequest.md
@@ -506,6 +509,7 @@ generatedFiles:
506509
- src/Models/Components/UpdateSubscriberChannelRequestDto.php
507510
- src/Models/Components/UpdateSubscriberChannelRequestDtoProviderId.php
508511
- src/Models/Components/UpdateSubscriberOnlineFlagRequestDto.php
512+
- src/Models/Components/UpdateSubscriberRequestDto.php
509513
- src/Models/Components/UpdatedSubscriberDto.php
510514
- src/Models/Components/Value.php
511515
- src/Models/Components/WeekDays.php
@@ -600,6 +604,8 @@ generatedFiles:
600604
- src/Models/Operations/SubscribersV1ControllerUpdateSubscriberChannelResponse.php
601605
- src/Models/Operations/SubscribersV1ControllerUpdateSubscriberOnlineFlagRequest.php
602606
- src/Models/Operations/SubscribersV1ControllerUpdateSubscriberOnlineFlagResponse.php
607+
- src/Models/Operations/SubscribersV1ControllerUpdateSubscriberRequest.php
608+
- src/Models/Operations/SubscribersV1ControllerUpdateSubscriberResponse.php
603609
- src/Models/Operations/TopicsControllerAssignRequest.php
604610
- src/Models/Operations/TopicsControllerAssignResponse.php
605611
- src/Models/Operations/TopicsControllerCreateTopicRequest.php

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
php:
18-
version: 0.1.0
18+
version: 0.1.1
1919
additionalDependencies:
2020
autoload: {}
2121
autoload-dev: {}

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.521.0
1+
speakeasyVersion: 1.528.1
22
sources:
33
novu-OAS:
44
sourceNamespace: novu-oas
5-
sourceRevisionDigest: sha256:db132a7c0fa4fa7afc85a30c791f67ecb7c9db21611342c55d4b76fefb1b3e8d
6-
sourceBlobDigest: sha256:1ad751b8cc9aa8375333d9cf6bdf630c8ffa7a26b388d27aa13f75b942971b16
5+
sourceRevisionDigest: sha256:21682f8b3f4becf7c5835d0c5969f1a880a8182a4bd2aea164c1ca80451d25e1
6+
sourceBlobDigest: sha256:76193270338fba688a2280909f7fb317729778c98850cb045de3325b5c96469e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1738887190
9+
- speakeasy-sdk-regen-1742516022
1010
- "1.0"
1111
targets:
1212
novu:
1313
source: novu-OAS
1414
sourceNamespace: novu-oas
15-
sourceRevisionDigest: sha256:db132a7c0fa4fa7afc85a30c791f67ecb7c9db21611342c55d4b76fefb1b3e8d
16-
sourceBlobDigest: sha256:1ad751b8cc9aa8375333d9cf6bdf630c8ffa7a26b388d27aa13f75b942971b16
15+
sourceRevisionDigest: sha256:21682f8b3f4becf7c5835d0c5969f1a880a8182a4bd2aea164c1ca80451d25e1
16+
sourceBlobDigest: sha256:76193270338fba688a2280909f7fb317729778c98850cb045de3325b5c96469e
1717
codeSamplesNamespace: novu-oas-php-code-samples
18-
codeSamplesRevisionDigest: sha256:bd86287151037d649bb2e639b261b377edb4092d12b12422a2b184c616cbee56
18+
codeSamplesRevisionDigest: sha256:ac3ce4b4574e61652e5eb004b5b98342e77a87fb14fbb58c819e818b922b5406
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ For more information about the API: [Novu Documentation](https://docs.novu.co)
6363
<!-- Start Table of Contents [toc] -->
6464
## Table of Contents
6565
<!-- $toc-max-depth=2 -->
66+
* [Novu PHP SDK](#novu-php-sdk)
6667
* [SDK Installation](#sdk-installation)
6768
* [SDK Example Usage](#sdk-example-usage)
6869
* [Authentication](#authentication)
@@ -361,6 +362,7 @@ if ($response->triggerEventResponseDto !== null) {
361362
* [updatePreferences](docs/sdks/subscribers/README.md#updatepreferences) - Update subscriber global or workflow specific preferences
362363
* [createBulk](docs/sdks/subscribers/README.md#createbulk) - Bulk create subscribers
363364
* [list](docs/sdks/subscribers/README.md#list) - Get subscribers
365+
* [update](docs/sdks/subscribers/README.md#update) - Upsert subscriber
364366
* [updateCredentials](docs/sdks/subscribers/README.md#updatecredentials) - Update subscriber credentials
365367
* [updateOnlineStatus](docs/sdks/subscribers/README.md#updateonlinestatus) - Update subscriber online status
366368

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@ Based on:
2828
### Generated
2929
- [php v0.1.0] .
3030
### Releases
31-
- [Composer v0.1.0] https://packagist.org/packages/novuhq/novu#v0.1.0 - .
31+
- [Composer v0.1.0] https://packagist.org/packages/novuhq/novu#v0.1.0 - .
32+
33+
## 2025-04-04 00:13:55
34+
### Changes
35+
Based on:
36+
- OpenAPI Doc
37+
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
38+
### Generated
39+
- [php v0.1.1] .
40+
### Releases
41+
- [Composer v0.1.1] https://packagist.org/packages/novuhq/novu#v0.1.1 - .

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"brick/math": "^0.12.1"
1818
},
1919
"require-dev": {
20-
"laravel/pint": "^1.18.1",
20+
"laravel/pint": "^1.21.2",
2121
"phpstan/phpstan": "^2.1.0",
2222
"phpunit/phpunit": "^10",
2323
"roave/security-advisories": "dev-latest"

docs/Models/Components/PatchSubscriberPreferencesDto.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
8-
| `channels` | [Components\PatchPreferenceChannelsDto](../../Models/Components/PatchPreferenceChannelsDto.md) | :heavy_check_mark: | Channel-specific preference settings |
9-
| `workflowId` | *?string* | :heavy_minus_sign: | If provided, update workflow specific preferences, otherwise update global preferences |
6+
| Field | Type | Required | Description |
7+
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
8+
| `channels` | [Components\PatchPreferenceChannelsDto](../../Models/Components/PatchPreferenceChannelsDto.md) | :heavy_check_mark: | Channel-specific preference settings |
9+
| `workflowId` | *?string* | :heavy_minus_sign: | Workflow internal _id, identifier or slug. If provided, update workflow specific preferences, otherwise update global preferences |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# UpdateSubscriberRequestDto
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
8+
| `email` | *?string* | :heavy_minus_sign: | The email address of the subscriber. | [email protected] |
9+
| `firstName` | *?string* | :heavy_minus_sign: | The first name of the subscriber. | John |
10+
| `lastName` | *?string* | :heavy_minus_sign: | The last name of the subscriber. | Doe |
11+
| `phone` | *?string* | :heavy_minus_sign: | The phone number of the subscriber. | +1234567890 |
12+
| `avatar` | *?string* | :heavy_minus_sign: | The avatar URL of the subscriber. | https://example.com/avatar.jpg |
13+
| `locale` | *?string* | :heavy_minus_sign: | The locale of the subscriber, for example "en-US". | en-US |
14+
| `data` | array<string, *mixed*> | :heavy_minus_sign: | Custom data associated with the subscriber. Can contain any additional properties. | {<br/>"preferences": {<br/>"notifications": true,<br/>"theme": "dark"<br/>},<br/>"tags": [<br/>"premium",<br/>"newsletter"<br/>]<br/>} |
15+
| `channels` | array<[Components\SubscriberChannelDto](../../Models/Components/SubscriberChannelDto.md)> | :heavy_minus_sign: | An array of communication channels for the subscriber. | |

docs/Models/Components/WorkflowInfoDto.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- |
88
| `slug` | *string* | :heavy_check_mark: | Workflow slug |
99
| `identifier` | *string* | :heavy_check_mark: | Unique identifier of the workflow |
10-
| `name` | *string* | :heavy_check_mark: | Display name of the workflow |
10+
| `name` | *string* | :heavy_check_mark: | Display name of the workflow |
11+
| `updatedAt` | *?string* | :heavy_minus_sign: | last updated date |

docs/Models/Operations/OrderDirection.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# OrderDirection
22

3+
Direction of sorting
4+
35

46
## Values
57

0 commit comments

Comments
 (0)