Skip to content

Commit b547e6f

Browse files
speakeasybotmerrcury
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.480.1
1 parent cc36137 commit b547e6f

File tree

16 files changed

+40
-31
lines changed

16 files changed

+40
-31
lines changed

.speakeasy/gen.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 9bfe35dd-87f6-4b74-8789-134b7aa9c364
33
management:
4-
docChecksum: 712e6e9759ad735d77ed4d14d15c2df8
4+
docChecksum: e1995cb580aad44284943cb908bcf47a
55
docVersion: "1.0"
6-
speakeasyVersion: 1.480.0
7-
generationVersion: 2.499.0
8-
releaseVersion: 0.0.16
9-
configChecksum: c1c7b7771efd8fca0468cc6ad8149ff6
6+
speakeasyVersion: 1.480.1
7+
generationVersion: 2.499.1
8+
releaseVersion: 0.1.3
9+
configChecksum: 729e125b432fc06e75a4f0f8cc76d658
1010
repoURL: https://github.com/novuhq/novu-go.git
1111
installationURL: https://github.com/novuhq/novu-go
1212
features:
1313
go:
1414
acceptHeaders: 2.81.2
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.6
17-
core: 3.6.11
17+
core: 3.6.12
1818
defaultEnabledRetries: 0.2.0
1919
deprecations: 2.81.2
2020
devContainers: 2.90.0

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: true
1717
oAuth2PasswordEnabled: true
1818
go:
19-
version: 0.0.16
19+
version: 0.1.3
2020
additionalDependencies:
2121
github.com/google/uuid: v1.6.0
2222
allowUnknownFieldsInWeakUnions: false

.speakeasy/workflow.lock

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
speakeasyVersion: 1.480.0
1+
speakeasyVersion: 1.480.1
22
sources:
33
novu-OAS:
44
sourceNamespace: novu-oas
5-
sourceRevisionDigest: sha256:52a45e22b8dd9f64238ce1dfc27926468eacd5d98fa8b3cdae7cd1c83313ea19
6-
sourceBlobDigest: sha256:8e485423c27acd50e1542cea2262096f65d76c0d3ca6c5c9566e757cdd4114f9
5+
sourceRevisionDigest: sha256:ed42d9267b761bf867bae1dc4b1b6fc2df95879395ce5d2a0f75cb934ecf3345
6+
sourceBlobDigest: sha256:83ec01668439cb896744e13be2ac73d891d9130b87deb3444cc32a5c949ba042
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1738231418
910
- "1.0"
1011
targets:
1112
novu:
1213
source: novu-OAS
1314
sourceNamespace: novu-oas
14-
sourceRevisionDigest: sha256:52a45e22b8dd9f64238ce1dfc27926468eacd5d98fa8b3cdae7cd1c83313ea19
15-
sourceBlobDigest: sha256:8e485423c27acd50e1542cea2262096f65d76c0d3ca6c5c9566e757cdd4114f9
15+
sourceRevisionDigest: sha256:ed42d9267b761bf867bae1dc4b1b6fc2df95879395ce5d2a0f75cb934ecf3345
16+
sourceBlobDigest: sha256:83ec01668439cb896744e13be2ac73d891d9130b87deb3444cc32a5c949ba042
1617
codeSamplesNamespace: novu-oas-go-code-samples
17-
codeSamplesRevisionDigest: sha256:f53e80733bed3420fed546e495f3287b21dcb1edb87267277d6c6a02a2671642
18+
codeSamplesRevisionDigest: sha256:e61336168007515e877c8e5d60b594e4422d5c29d5951c50508bfba2432dfb87
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest
2122
sources:
2223
novu-OAS:
2324
inputs:
24-
- location: http://127.0.0.1:3000/openapi.sdk.yaml
25+
- location: registry.speakeasyapi.dev/novu/novu/novu-oas:main
2526
overlays:
2627
- location: .speakeasy/speakeasy-modifications-overlay.yaml
2728
registry:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ func main() {
476476
novugo.WithSecurity(os.Getenv("NOVU_SECRET_KEY")),
477477
)
478478

479-
res, err := s.Subscribers.List(ctx, nil, novugo.Float64(10), nil)
479+
res, err := s.Subscribers.List(ctx, nil, nil, nil)
480480
if err != nil {
481481
log.Fatal(err)
482482
}

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [go v0.0.13] .
4040
### Releases
41-
- [Go v0.0.13] https://github.com/novuhq/novu-go/releases/tag/v0.0.13 - .
41+
- [Go v0.0.13] https://github.com/novuhq/novu-go/releases/tag/v0.0.13 - .
42+
43+
## 2025-01-31 12:40:37
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.480.1 (2.499.1) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [go v0.1.3] .
50+
### Releases
51+
- [Go v0.1.3] https://github.com/novuhq/novu-go/releases/tag/v0.1.3 - .

docs/models/components/actor.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
It is used to display the Avatar of the provided actor's subscriber id or actor object.
44

5+
56
If a new actor object is provided, we will create a new subscriber in our system
67

78

docs/models/components/triggereventrequestdto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
| `Overrides` | map[string]map[string]*any* | :heavy_minus_sign: | This could be used to override provider specific configurations | {<br/>"fcm": {<br/>"data": {<br/>"key": "value"<br/>}<br/>}<br/>} |
1111
| `To` | [components.To](../../models/components/to.md) | :heavy_check_mark: | The recipients list of people who will receive the notification. | |
1212
| `TransactionID` | **string* | :heavy_minus_sign: | A unique identifier for this transaction, we will generate a UUID if not provided. | |
13-
| `Actor` | [*components.Actor](../../models/components/actor.md) | :heavy_minus_sign: | It is used to display the Avatar of the provided actor's subscriber id or actor object.<br/><br/> If a new actor object is provided, we will create a new subscriber in our system | |
13+
| `Actor` | [*components.Actor](../../models/components/actor.md) | :heavy_minus_sign: | It is used to display the Avatar of the provided actor's subscriber id or actor object.<br/><br/><br/> If a new actor object is provided, we will create a new subscriber in our system | |
1414
| `Tenant` | [*components.Tenant](../../models/components/tenant.md) | :heavy_minus_sign: | It is used to specify a tenant context during trigger event.<br/> Existing tenants will be updated with the provided details. | |

docs/sdks/credentials/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ func main() {
8787

8888
Subscriber credentials associated to the delivery methods such as slack and push tokens.
8989

90+
9091
This endpoint appends provided credentials and deviceTokens to the existing ones.
9192

9293
### Example Usage

docs/sdks/messages/README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ func main() {
3636
novugo.WithSecurity(os.Getenv("NOVU_SECRET_KEY")),
3737
)
3838

39-
res, err := s.Messages.List(ctx, operations.MessagesControllerGetMessagesRequest{
40-
Page: novugo.Float64(0),
41-
Limit: novugo.Float64(10),
42-
})
39+
res, err := s.Messages.List(ctx, operations.MessagesControllerGetMessagesRequest{})
4340
if err != nil {
4441
log.Fatal(err)
4542
}

docs/sdks/notifications/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ func main() {
3232
novugo.WithSecurity(os.Getenv("NOVU_SECRET_KEY")),
3333
)
3434

35-
res, err := s.Notifications.List(ctx, operations.NotificationsControllerListNotificationsRequest{
36-
Page: novugo.Float64(0),
37-
})
35+
res, err := s.Notifications.List(ctx, operations.NotificationsControllerListNotificationsRequest{})
3836
if err != nil {
3937
log.Fatal(err)
4038
}

docs/sdks/novu/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ func main() {
235235

236236
Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc.
237237

238+
238239
In the future could be used to trigger events to a subset of subscribers based on defined filters.
239240

240241
### Example Usage

docs/sdks/novusubscribersnotifications/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ func main() {
3434

3535
res, err := s.Subscribers.Notifications.GetFeed(ctx, operations.SubscribersV1ControllerGetNotificationsFeedRequest{
3636
SubscriberID: "<id>",
37-
Limit: novugo.Float64(10),
3837
Payload: novugo.String("btoa(JSON.stringify({ foo: 123 })) results in base64 encoded string like eyJmb28iOjEyM30="),
3938
})
4039
if err != nil {
@@ -91,7 +90,7 @@ func main() {
9190
novugo.WithSecurity(os.Getenv("NOVU_SECRET_KEY")),
9291
)
9392

94-
res, err := s.Subscribers.Notifications.UnseenCount(ctx, "<id>", novugo.Bool(false), novugo.Float64(100), nil)
93+
res, err := s.Subscribers.Notifications.UnseenCount(ctx, "<id>", nil, nil, nil)
9594
if err != nil {
9695
log.Fatal(err)
9796
}

docs/sdks/subscribers/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func main() {
4040
novugo.WithSecurity(os.Getenv("NOVU_SECRET_KEY")),
4141
)
4242

43-
res, err := s.Subscribers.List(ctx, nil, novugo.Float64(10), nil)
43+
res, err := s.Subscribers.List(ctx, nil, nil, nil)
4444
if err != nil {
4545
log.Fatal(err)
4646
}

docs/sdks/topics/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func main() {
9797
novugo.WithSecurity(os.Getenv("NOVU_SECRET_KEY")),
9898
)
9999

100-
res, err := s.Topics.List(ctx, novugo.Int64(0), novugo.Int64(10), novugo.String("exampleKey"), nil)
100+
res, err := s.Topics.List(ctx, nil, nil, novugo.String("exampleKey"), nil)
101101
if err != nil {
102102
log.Fatal(err)
103103
}

models/components/triggereventrequestdto.go

+1
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ type TriggerEventRequestDto struct {
348348
TransactionID *string `json:"transactionId,omitempty"`
349349
// It is used to display the Avatar of the provided actor's subscriber id or actor object.
350350
//
351+
//
351352
// If a new actor object is provided, we will create a new subscriber in our system
352353
Actor *Actor `json:"actor,omitempty"`
353354
// It is used to specify a tenant context during trigger event.

novu.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ func New(opts ...SDKOption) *Novu {
170170
sdkConfiguration: sdkConfiguration{
171171
Language: "go",
172172
OpenAPIDocVersion: "1.0",
173-
SDKVersion: "0.0.16",
174-
GenVersion: "2.499.0",
175-
UserAgent: "speakeasy-sdk/go 0.0.16 2.499.0 1.0 github.com/novuhq/novu-go",
173+
SDKVersion: "0.1.3",
174+
GenVersion: "2.499.1",
175+
UserAgent: "speakeasy-sdk/go 0.1.3 2.499.1 1.0 github.com/novuhq/novu-go",
176176
Hooks: hooks.New(),
177177
},
178178
}

0 commit comments

Comments
 (0)