Skip to content

Commit 00d7e93

Browse files
committed
trigger
1 parent d0d6cb1 commit 00d7e93

File tree

9 files changed

+20
-13
lines changed

9 files changed

+20
-13
lines changed

.speakeasy/gen.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 9bfe35dd-87f6-4b74-8789-134b7aa9c364
33
management:
4-
docChecksum: 11b7e948445214c3d50ad397d0f0bc1a
4+
docChecksum: 402e62aaf48a2b45065a5fd349679f0f
55
docVersion: "1.0"
66
speakeasyVersion: 1.477.2
77
generationVersion: 2.497.8
8-
releaseVersion: 0.0.13
9-
configChecksum: 1310e72674490f36ef1224555be147e8
8+
releaseVersion: 0.0.14
9+
configChecksum: 1a746eea3dc10ef4ef75b2e743b7376a
1010
repoURL: https://github.com/novuhq/novu-go.git
1111
installationURL: https://github.com/novuhq/novu-go
1212
features:

.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.13
19+
version: 0.0.14
2020
additionalDependencies: {}
2121
allowUnknownFieldsInWeakUnions: false
2222
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

+5-6
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@ speakeasyVersion: 1.477.2
22
sources:
33
novu-OAS:
44
sourceNamespace: novu-oas
5-
sourceRevisionDigest: sha256:f20c93d8f96896ef59e13bdf398ca0311ecd12638d5902e93b416dba16376512
6-
sourceBlobDigest: sha256:18c316b9321ad3e95d98430f5395c857fb1312d945662fcc975b94fa205f076a
5+
sourceRevisionDigest: sha256:c4530c8d73d947f76cddd49f5d92e82da6018f58915bd1898d4e44f87b6a5d66
6+
sourceBlobDigest: sha256:31dcb0162c576d2bbed72716607bed8b7684434dcfb863782a196272e96abf92
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1738023201
109
- "1.0"
1110
targets:
1211
novu:
1312
source: novu-OAS
1413
sourceNamespace: novu-oas
15-
sourceRevisionDigest: sha256:f20c93d8f96896ef59e13bdf398ca0311ecd12638d5902e93b416dba16376512
16-
sourceBlobDigest: sha256:18c316b9321ad3e95d98430f5395c857fb1312d945662fcc975b94fa205f076a
14+
sourceRevisionDigest: sha256:c4530c8d73d947f76cddd49f5d92e82da6018f58915bd1898d4e44f87b6a5d66
15+
sourceBlobDigest: sha256:31dcb0162c576d2bbed72716607bed8b7684434dcfb863782a196272e96abf92
1716
codeSamplesNamespace: novu-oas-go-code-samples
18-
codeSamplesRevisionDigest: sha256:541ab85b7b9cc745bcf4ae7151828fa0b5c938984a554614057b6e049e46d48b
17+
codeSamplesRevisionDigest: sha256:749ae54ad30f75c3ba84285228dfc69cb2dc7f9f93cb31b9b8843f168e227e61
1918
workflow:
2019
workflowVersion: 1.0.0
2120
speakeasyVersion: latest

docs/models/components/actor.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ It is used to display the Avatar of the provided actor's subscriber id or actor
55

66

77

8+
9+
810
If a new actor object is provided, we will create a new subscriber in our system
911

1012

docs/models/components/triggereventrequestdto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
| `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/>} |
1212
| `To` | [components.To](../../models/components/to.md) | :heavy_check_mark: | The recipients list of people who will receive the notification. | |
1313
| `TransactionID` | **string* | :heavy_minus_sign: | A unique identifier for this transaction, we will generate a UUID if not provided. | |
14-
| `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/><br/><br/> If a new actor object is provided, we will create a new subscriber in our system | |
14+
| `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/><br/><br/><br/><br/> If a new actor object is provided, we will create a new subscriber in our system | |
1515
| `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. | |
1616
| `Controls` | [*components.WorkflowToStepControlValuesDto](../../models/components/workflowtostepcontrolvaluesdto.md) | :heavy_minus_sign: | Additional control configurations. | |

docs/sdks/credentials/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ Subscriber credentials associated to the delivery methods such as slack and push
8787

8888

8989

90+
91+
9092
This endpoint appends provided credentials and deviceTokens to the existing ones.
9193

9294
### Example Usage

docs/sdks/novu/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ Trigger a broadcast event to all existing subscribers, could be used to send ann
236236

237237

238238

239+
240+
239241
In the future could be used to trigger events to a subset of subscribers based on defined filters.
240242

241243
### Example Usage

models/components/triggereventrequestdto.go

+2
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ type TriggerEventRequestDto struct {
353353
//
354354
//
355355
//
356+
//
357+
//
356358
// If a new actor object is provided, we will create a new subscriber in our system
357359
Actor *Actor `json:"actor,omitempty"`
358360
// It is used to specify a tenant context during trigger event.

novu.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ func New(opts ...SDKOption) *Novu {
171171
sdkConfiguration: sdkConfiguration{
172172
Language: "go",
173173
OpenAPIDocVersion: "1.0",
174-
SDKVersion: "0.0.13",
174+
SDKVersion: "0.0.14",
175175
GenVersion: "2.497.8",
176-
UserAgent: "speakeasy-sdk/go 0.0.13 2.497.8 1.0 github.com/novuhq/novu-go",
176+
UserAgent: "speakeasy-sdk/go 0.0.14 2.497.8 1.0 github.com/novuhq/novu-go",
177177
Hooks: hooks.New(),
178178
},
179179
}

0 commit comments

Comments
 (0)