Skip to content

Commit

Permalink
trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Jan 30, 2025
1 parent d0d6cb1 commit 00d7e93
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 9bfe35dd-87f6-4b74-8789-134b7aa9c364
management:
docChecksum: 11b7e948445214c3d50ad397d0f0bc1a
docChecksum: 402e62aaf48a2b45065a5fd349679f0f
docVersion: "1.0"
speakeasyVersion: 1.477.2
generationVersion: 2.497.8
releaseVersion: 0.0.13
configChecksum: 1310e72674490f36ef1224555be147e8
releaseVersion: 0.0.14
configChecksum: 1a746eea3dc10ef4ef75b2e743b7376a
repoURL: https://github.com/novuhq/novu-go.git
installationURL: https://github.com/novuhq/novu-go
features:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
go:
version: 0.0.13
version: 0.0.14
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
11 changes: 5 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@ speakeasyVersion: 1.477.2
sources:
novu-OAS:
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:f20c93d8f96896ef59e13bdf398ca0311ecd12638d5902e93b416dba16376512
sourceBlobDigest: sha256:18c316b9321ad3e95d98430f5395c857fb1312d945662fcc975b94fa205f076a
sourceRevisionDigest: sha256:c4530c8d73d947f76cddd49f5d92e82da6018f58915bd1898d4e44f87b6a5d66
sourceBlobDigest: sha256:31dcb0162c576d2bbed72716607bed8b7684434dcfb863782a196272e96abf92
tags:
- latest
- speakeasy-sdk-regen-1738023201
- "1.0"
targets:
novu:
source: novu-OAS
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:f20c93d8f96896ef59e13bdf398ca0311ecd12638d5902e93b416dba16376512
sourceBlobDigest: sha256:18c316b9321ad3e95d98430f5395c857fb1312d945662fcc975b94fa205f076a
sourceRevisionDigest: sha256:c4530c8d73d947f76cddd49f5d92e82da6018f58915bd1898d4e44f87b6a5d66
sourceBlobDigest: sha256:31dcb0162c576d2bbed72716607bed8b7684434dcfb863782a196272e96abf92
codeSamplesNamespace: novu-oas-go-code-samples
codeSamplesRevisionDigest: sha256:541ab85b7b9cc745bcf4ae7151828fa0b5c938984a554614057b6e049e46d48b
codeSamplesRevisionDigest: sha256:749ae54ad30f75c3ba84285228dfc69cb2dc7f9f93cb31b9b8843f168e227e61
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 2 additions & 0 deletions docs/models/components/actor.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ It is used to display the Avatar of the provided actor's subscriber id or actor





If a new actor object is provided, we will create a new subscriber in our system


Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/triggereventrequestdto.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
| `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/>} |
| `To` | [components.To](../../models/components/to.md) | :heavy_check_mark: | The recipients list of people who will receive the notification. | |
| `TransactionID` | **string* | :heavy_minus_sign: | A unique identifier for this transaction, we will generate a UUID if not provided. | |
| `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 | |
| `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 | |
| `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. | |
| `Controls` | [*components.WorkflowToStepControlValuesDto](../../models/components/workflowtostepcontrolvaluesdto.md) | :heavy_minus_sign: | Additional control configurations. | |
2 changes: 2 additions & 0 deletions docs/sdks/credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ Subscriber credentials associated to the delivery methods such as slack and push





This endpoint appends provided credentials and deviceTokens to the existing ones.

### Example Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/novu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ Trigger a broadcast event to all existing subscribers, could be used to send ann





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

### Example Usage
Expand Down
2 changes: 2 additions & 0 deletions models/components/triggereventrequestdto.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ type TriggerEventRequestDto struct {
//
//
//
//
//
// If a new actor object is provided, we will create a new subscriber in our system
Actor *Actor `json:"actor,omitempty"`
// It is used to specify a tenant context during trigger event.
Expand Down
4 changes: 2 additions & 2 deletions novu.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ func New(opts ...SDKOption) *Novu {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "1.0",
SDKVersion: "0.0.13",
SDKVersion: "0.0.14",
GenVersion: "2.497.8",
UserAgent: "speakeasy-sdk/go 0.0.13 2.497.8 1.0 github.com/novuhq/novu-go",
UserAgent: "speakeasy-sdk/go 0.0.14 2.497.8 1.0 github.com/novuhq/novu-go",
Hooks: hooks.New(),
},
}
Expand Down

0 comments on commit 00d7e93

Please sign in to comment.