Skip to content

Commit e3d8773

Browse files
committed
Bump SDK version to 1.0.0, update related configurations, and add NUGET.md for installation instructions. Enhance workflow files for NuGet publishing and adjust example usages in documentation.
1 parent 8289d8d commit e3d8773

19 files changed

+544
-33
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ management:
55
docVersion: "1.0"
66
speakeasyVersion: 1.540.1
77
generationVersion: 2.593.4
8-
releaseVersion: 0.0.4
9-
configChecksum: ed113e11a8ab56f779d87579d6a82352
8+
releaseVersion: 1.0.0
9+
configChecksum: 4790d35d2b1ac8c7c821009dd5359aa3
10+
published: true
1011
features:
1112
csharp:
1213
additionalDependencies: 0.1.0
@@ -31,6 +32,7 @@ features:
3132
unions: 0.2.2
3233
generatedFiles:
3334
- .gitattributes
35+
- NUGET.md
3436
- Novu.sln
3537
- USAGE.md
3638
- docs/Models/Components/ActivitiesResponseDto.md
@@ -704,7 +706,7 @@ examples:
704706
EventsController_triggerBulk:
705707
speakeasy-default-events-controller-trigger-bulk:
706708
requestBody:
707-
application/json: {"events": [{"name": "workflow_identifier", "payload": {"comment_id": "string", "post": {"text": "string"}}, "overrides": {"fcm": {"data": {"key": "value"}}}, "to": {"subscriberId": "<id>"}}, {"name": "workflow_identifier", "payload": {"comment_id": "string", "post": {"text": "string"}}, "overrides": {"fcm": {"data": {"key": "value"}}}, "to": {"topicKey": "<value>", "type": "Subscriber"}}, {"name": "workflow_identifier", "payload": {"comment_id": "string", "post": {"text": "string"}}, "overrides": {"fcm": {"data": {"key": "value"}}}, "to": ["SUBSCRIBER_ID", "SUBSCRIBER_ID"]}]}
709+
application/json: {"events": [{"name": "workflow_identifier", "payload": {"comment_id": "string", "post": {"text": "string"}}, "overrides": {"fcm": {"data": {"key": "value"}}}, "to": {"subscriberId": "<id>"}}, {"name": "workflow_identifier", "payload": {"comment_id": "string", "post": {"text": "string"}}, "overrides": {"fcm": {"data": {"key": "value"}}}, "to": [{"topicKey": "<value>", "type": "Subscriber"}]}, {"name": "workflow_identifier", "payload": {"comment_id": "string", "post": {"text": "string"}}, "overrides": {"fcm": {"data": {"key": "value"}}}, "to": ["SUBSCRIBER_ID", "SUBSCRIBER_ID"]}]}
708710
responses:
709711
"201":
710712
application/json: [{"acknowledged": true, "status": "error"}, {"acknowledged": true, "status": "no_workflow_active_steps_defined"}, {"acknowledged": true, "status": "trigger_not_active"}]

.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
csharp:
19-
version: 0.0.4
19+
version: 1.0.0
2020
additionalDependencies: []
2121
author: Speakeasy
2222
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ speakeasyVersion: 1.540.1
22
sources:
33
Novu API:
44
sourceNamespace: novu-api
5-
sourceRevisionDigest: sha256:c03462ad32c8fc97c12d778534944ff19d781502aaf283ecaacb6a226b7adc03
5+
sourceRevisionDigest: sha256:75c9d8662bde67612a61367fbee27e4e529a45808aec1d684c944471c8abf9d8
66
sourceBlobDigest: sha256:f3ca679dd6299f03f28f9598ce64238c32f07280ed952998737aea630b00c1db
77
tags:
88
- latest
@@ -11,10 +11,10 @@ targets:
1111
novu:
1212
source: Novu API
1313
sourceNamespace: novu-api
14-
sourceRevisionDigest: sha256:c03462ad32c8fc97c12d778534944ff19d781502aaf283ecaacb6a226b7adc03
14+
sourceRevisionDigest: sha256:75c9d8662bde67612a61367fbee27e4e529a45808aec1d684c944471c8abf9d8
1515
sourceBlobDigest: sha256:f3ca679dd6299f03f28f9598ce64238c32f07280ed952998737aea630b00c1db
1616
codeSamplesNamespace: novu-api-csharp-code-samples
17-
codeSamplesRevisionDigest: sha256:7614007c97c4a8559b16798ad17e8e575211824d84923bf4ce782807c486330b
17+
codeSamplesRevisionDigest: sha256:42cf65d01d17c8d0b1294e7a5589baae28554dd80c493ac8367eb5c861325812
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest
@@ -30,6 +30,9 @@ workflow:
3030
novu:
3131
target: csharp
3232
source: Novu API
33+
publish:
34+
nuget:
35+
apiKey: $nuget_api_key
3336
codeSamples:
3437
registry:
3538
location: registry.speakeasyapi.dev/novu/novu/novu-api-csharp-code-samples

.speakeasy/workflow.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ targets:
1212
novu:
1313
target: csharp
1414
source: Novu API
15+
publish:
16+
nuget:
17+
apiKey: $nuget_api_key
1518
codeSamples:
1619
registry:
1720
location: registry.speakeasyapi.dev/novu/novu/novu-api-csharp-code-samples

0 commit comments

Comments
 (0)