Skip to content

Commit 922edf9

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 1.0.0 (#11)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.544.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 4149903 commit 922edf9

File tree

127 files changed

+2869
-1109
lines changed

Some content is hidden

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

127 files changed

+2869
-1109
lines changed

.speakeasy/gen.lock

Lines changed: 222 additions & 50 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: true
1717
oAuth2PasswordEnabled: true
1818
php:
19-
version: 0.2.0
19+
version: 1.0.0
2020
additionalDependencies:
2121
autoload: {}
2222
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.542.3
1+
speakeasyVersion: 1.544.0
22
sources:
33
novu-OAS:
44
sourceNamespace: novu-oas
5-
sourceRevisionDigest: sha256:2c37e980541add7be40efe87ddc898fc04c2a135c5724a6b0c3f21d2b6ce13d6
6-
sourceBlobDigest: sha256:cffeed1eaf73dcd51d384d46ce10d4043b8c9514572497f028bb93c1eb23925e
5+
sourceRevisionDigest: sha256:cedc9e210c5289c5870c8d5a98227c0eb2a2c655bb9f71d92f4c56110cb9e4e5
6+
sourceBlobDigest: sha256:0853120683cbad3e5324f2002c294ba9ff3e8e5d74f9750911f8007601da14b2
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1742516022
9+
- speakeasy-sdk-regen-1746749680
1010
- 2.1.13
1111
targets:
1212
novu:
1313
source: novu-OAS
1414
sourceNamespace: novu-oas
15-
sourceRevisionDigest: sha256:2c37e980541add7be40efe87ddc898fc04c2a135c5724a6b0c3f21d2b6ce13d6
16-
sourceBlobDigest: sha256:cffeed1eaf73dcd51d384d46ce10d4043b8c9514572497f028bb93c1eb23925e
15+
sourceRevisionDigest: sha256:cedc9e210c5289c5870c8d5a98227c0eb2a2c655bb9f71d92f4c56110cb9e4e5
16+
sourceBlobDigest: sha256:0853120683cbad3e5324f2002c294ba9ff3e8e5d74f9750911f8007601da14b2
1717
codeSamplesNamespace: novu-oas-php-code-samples
18-
codeSamplesRevisionDigest: sha256:d3b397c5943742c8bb30599fb7eb290bc55401c826cd3f1953771a7e3727e9a9
18+
codeSamplesRevisionDigest: sha256:b0f54d62a2995016757c83994ea9dd532497ba0eee1811f96a8979c8a4094e0f
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,10 @@ if ($response->triggerEventResponseDto !== null) {
378378

379379
* [getFeed](docs/sdks/novusubscribersnotifications/README.md#getfeed) - Get in-app notification feed for a particular subscriber
380380

381+
#### [subscribers->topics](docs/sdks/novutopics/README.md)
382+
383+
* [list](docs/sdks/novutopics/README.md#list) - List topics a subscriber is subscribed to
384+
381385
### [subscribersAuthentication](docs/sdks/subscribersauthentication/README.md)
382386

383387
* [chatAccessOauth](docs/sdks/subscribersauthentication/README.md#chataccessoauth) - Handle chat oauth
@@ -389,7 +393,7 @@ if ($response->triggerEventResponseDto !== null) {
389393

390394
### [subscribersMessages](docs/sdks/subscribersmessages/README.md)
391395

392-
* [markAll](docs/sdks/subscribersmessages/README.md#markall) - Marks all the subscriber messages as read, unread, seen or unseen. Optionally you can pass feed id (or array) to mark messages of a particular feed.
396+
* [markAll](docs/sdks/subscribersmessages/README.md#markall) - Marks all the subscriber messages as read, unread, seen or unseen.
393397

394398
### [subscribersNotifications](docs/sdks/subscribersnotifications/README.md)
395399

@@ -401,16 +405,17 @@ if ($response->triggerEventResponseDto !== null) {
401405

402406
### [topics](docs/sdks/topics/README.md)
403407

404-
* [create](docs/sdks/topics/README.md#create) - Topic creation
405-
* [list](docs/sdks/topics/README.md#list) - Get topic list filtered
406-
* [delete](docs/sdks/topics/README.md#delete) - Delete topic
407-
* [get](docs/sdks/topics/README.md#get) - Get topic
408-
* [rename](docs/sdks/topics/README.md#rename) - Rename a topic
408+
* [list](docs/sdks/topics/README.md#list) - Get topics list
409+
* [create](docs/sdks/topics/README.md#create) - Create or update a topic
410+
* [get](docs/sdks/topics/README.md#get) - Get topic by key
411+
* [update](docs/sdks/topics/README.md#update) - Update topic by key
412+
* [delete](docs/sdks/topics/README.md#delete) - Delete topic by key
409413

410-
#### [topics->subscribers](docs/sdks/novutopicssubscribers/README.md)
414+
#### [topics->subscriptions](docs/sdks/subscriptions/README.md)
411415

412-
* [assign](docs/sdks/novutopicssubscribers/README.md#assign) - Subscribers addition
413-
* [remove](docs/sdks/novutopicssubscribers/README.md#remove) - Subscribers removal
416+
* [list](docs/sdks/subscriptions/README.md#list) - List topic subscriptions
417+
* [create](docs/sdks/subscriptions/README.md#create) - Create topic subscriptions, if the topic does not exist, it will be created.
418+
* [delete](docs/sdks/subscriptions/README.md#delete) - Delete topic subscriptions
414419

415420
### [topicsSubscribers](docs/sdks/topicssubscribers/README.md)
416421

@@ -712,7 +717,7 @@ use novu;
712717
use novu\Models\Components;
713718

714719
$sdk = novu\Novu::builder()
715-
->setServerURL('https://api.novu.co')
720+
->setServerURL('https://eu.api.novu.co')
716721
->setSecurity(
717722
'YOUR_SECRET_KEY_HERE'
718723
)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [php v0.2.0] .
4040
### Releases
41-
- [Composer v0.2.0] https://packagist.org/packages/novuhq/novu#v0.2.0 - .
41+
- [Composer v0.2.0] https://packagist.org/packages/novuhq/novu#v0.2.0 - .
42+
43+
## 2025-05-13 12:32:17
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.544.0 (2.599.0) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [php v1.0.0] .
50+
### Releases
51+
- [Composer v1.0.0] https://packagist.org/packages/novuhq/novu#v1.0.0 - .

docs/Models/Components/ActivityNotificationResponseDto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
| `payload` | [?Components\ActivityNotificationResponseDtoPayload](../../Models/Components/ActivityNotificationResponseDtoPayload.md) | :heavy_minus_sign: | Payload of the notification |
2222
| `tags` | array<*string*> | :heavy_minus_sign: | Tags associated with the notification |
2323
| `controls` | [?Components\Controls](../../Models/Components/Controls.md) | :heavy_minus_sign: | Controls associated with the notification |
24-
| `to` | [?Components\ActivityNotificationResponseDtoTo](../../Models/Components/ActivityNotificationResponseDtoTo.md) | :heavy_minus_sign: | To field for subscriber definition |
24+
| `to` | [?Components\ActivityNotificationResponseDtoTo](../../Models/Components/ActivityNotificationResponseDtoTo.md) | :heavy_minus_sign: | To field for subscriber definition |
25+
| `topics` | array<[Components\ActivityTopicDto](../../Models/Components/ActivityTopicDto.md)> | :heavy_minus_sign: | Topics of the notification |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ActivityTopicDto
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- |
8+
| `topicId` | *string* | :heavy_check_mark: | Internal Topic ID of the notification |
9+
| `topicKey` | *string* | :heavy_check_mark: | Topic Key of the notification |

docs/Models/Components/AssignSubscriberToTopicDto.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/Models/Components/CreateTopicResponseDto.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# AddSubscribersRequestDto
1+
# CreateTopicSubscriptionsRequestDto
22

33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
8-
| `subscribers` | array<*string*> | :heavy_check_mark: | List of subscriber identifiers that will be associated to the topic |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
8+
| `subscriberIds` | array<*string*> | :heavy_check_mark: | List of subscriber identifiers to subscribe to the topic (max: 100) | [<br/>"subscriberId1",<br/>"subscriberId2"<br/>] |

0 commit comments

Comments
 (0)