Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relaunch #33

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 6bff3a53-3f0b-40b4-942f-ff70dc583ae5
management:
docChecksum: a4c968a941c2a70a0b9dc69fc32824f6
docChecksum: c80170a573b597fb86409c24caaf5768
docVersion: "1.0"
speakeasyVersion: 1.451.1
generationVersion: 2.470.1
releaseVersion: 0.0.1-alpha.49
configChecksum: cd5955a27ad9c6d63f20386dd1c0d1ae
releaseVersion: 0.0.1-alpha.51
configChecksum: ff1ed64ee49c5df31c8a02844f336ee5
published: true
features:
typescript:
Expand Down Expand Up @@ -59,7 +59,6 @@ generatedFiles:
- docs/models/components/channelpreferencetype.md
- docs/models/components/channels.md
- docs/models/components/channelsettings.md
- docs/models/components/channelsettingsproviderid.md
- docs/models/components/content.md
- docs/models/components/controls.md
- docs/models/components/createintegrationrequestdto.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
typescript:
version: 0.0.1-alpha.49
version: 0.0.1-alpha.51
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.451.1
sources:
json-development:
sourceNamespace: json-development
sourceRevisionDigest: sha256:2a48dbb7b26846c65c91bcbbf6a00e2caae34bed35d6783113dbf8f9eafc6b26
sourceBlobDigest: sha256:8bf9ac8f56e9b783c1d587a0283d6b4c3bed24c6ee63b181831b3a3440e96425
sourceRevisionDigest: sha256:8f0009bb0f06e2d8e222d20dcad1c3d2f8ce41dcd3300740bb4314adcff38576
sourceBlobDigest: sha256:431b08ef9d3ec5aefc9282bb31272647c54513deae9a753b411420340f106d4b
tags:
- latest
- "1.0"
targets:
my-first-target:
source: json-development
sourceNamespace: json-development
sourceRevisionDigest: sha256:2a48dbb7b26846c65c91bcbbf6a00e2caae34bed35d6783113dbf8f9eafc6b26
sourceBlobDigest: sha256:8bf9ac8f56e9b783c1d587a0283d6b4c3bed24c6ee63b181831b3a3440e96425
sourceRevisionDigest: sha256:8f0009bb0f06e2d8e222d20dcad1c3d2f8ce41dcd3300740bb4314adcff38576
sourceBlobDigest: sha256:431b08ef9d3ec5aefc9282bb31272647c54513deae9a753b411420340f106d4b
codeSamplesNamespace: code-samples-typescript
codeSamplesRevisionDigest: sha256:615ee2362175484c0efe9e70554cef37f6c4602224846a2bc0a0893536a54b41
codeSamplesRevisionDigest: sha256:1ed7a6887524cc5469aa86bb6ce08a216f8190679ac47debb608e29640b8141b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/activitiesresponsedto.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ let value: ActivitiesResponseDto = {
transactionId: "<id>",
},
],
pageSize: 4686.51,
page: 9767.61,
pageSize: 9767.61,
page: 6048.46,
};
```

Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/activitygraphstatesresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import { ActivityGraphStatesResponse } from "@novu/api/models/components";

let value: ActivityGraphStatesResponse = {
id: "<id>",
count: 1201.97,
count: 2961.40,
templates: [
"<value>",
],
channels: [
"email",
"in_app",
],
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { ActivityGraphStatesResponseChannels } from "@novu/api/models/components";

let value: ActivityGraphStatesResponseChannels = "email";
let value: ActivityGraphStatesResponseChannels = "in_app";
```

## Values
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/activitystatsresponsedto.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import { ActivityStatsResponseDto } from "@novu/api/models/components";

let value: ActivityStatsResponseDto = {
weeklySent: 7392.64,
monthlySent: 391.88,
weeklySent: 391.88,
monthlySent: 2828.07,
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/backoffunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { BackoffUnit } from "@novu/api/models/components";

let value: BackoffUnit = "weeks";
let value: BackoffUnit = "hours";
```

## Values
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/bulksubscribercreatedto.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ let value: BulkSubscriberCreateDto = {

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `subscribers` | *string*[] | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| `subscribers` | *string*[] | :heavy_check_mark: | An array of subscribers to be created in bulk. |
3 changes: 2 additions & 1 deletion docs/models/components/bulktriggereventdto.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ let value: BulkTriggerEventDto = {
overrides: {},
to: [
{
subscriberId: "<id>",
topicKey: "<value>",
type: "Topic",
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { Channel } from "@novu/api/models/components";

let value: Channel = "chat";
let value: Channel = "delay";
```

## Values
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/channelcredentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { ChannelCredentials } from "@novu/api/models/components";

let value: ChannelCredentials = {
webhookUrl: "https://remarkable-dream.net/",
webhookUrl: "https://finished-receptor.org",
};
```

Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/channelcredentialsdto.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let value: ChannelCredentialsDto = {};

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `webhookUrl` | *string* | :heavy_minus_sign: | N/A |
| `deviceTokens` | *string*[] | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
| `webhookUrl` | *string* | :heavy_minus_sign: | The URL for the webhook associated with the channel. |
| `deviceTokens` | *string*[] | :heavy_minus_sign: | An array of device tokens for push notifications. |
2 changes: 1 addition & 1 deletion docs/models/components/channelpreference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { ChannelPreference } from "@novu/api/models/components";

let value: ChannelPreference = {
type: "push",
type: "chat",
enabled: false,
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/channelpreferencetype.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The type of channel that is enabled or not
```typescript
import { ChannelPreferenceType } from "@novu/api/models/components";

let value: ChannelPreferenceType = "sms";
let value: ChannelPreferenceType = "push";
```

## Values
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { Channels } from "@novu/api/models/components";

let value: Channels = "digest";
let value: Channels = "trigger";
```

## Values
Expand Down
16 changes: 8 additions & 8 deletions docs/models/components/channelsettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
import { ChannelSettings } from "@novu/api/models/components";

let value: ChannelSettings = {
providerId: "ryver",
providerId: "mattermost",
credentials: {
webhookUrl: "https://outrageous-agreement.net/",
webhookUrl: "https://ajar-solvency.com",
},
integrationId: "<id>",
};
```

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| `providerId` | [components.ChannelSettingsProviderId](../../models/components/channelsettingsproviderid.md) | :heavy_check_mark: | The provider identifier for the credentials |
| `integrationIdentifier` | *string* | :heavy_minus_sign: | The integration identifier |
| `credentials` | [components.ChannelCredentials](../../models/components/channelcredentials.md) | :heavy_check_mark: | Credentials payload for the specified provider |
| `integrationId` | *string* | :heavy_check_mark: | Id of the integration that is used for this channel |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `providerId` | [components.ProviderId](../../models/components/providerid.md) | :heavy_check_mark: | The provider identifier for the credentials |
| `integrationIdentifier` | *string* | :heavy_minus_sign: | The integration identifier |
| `credentials` | [components.ChannelCredentials](../../models/components/channelcredentials.md) | :heavy_check_mark: | Credentials payload for the specified provider |
| `integrationId` | *string* | :heavy_check_mark: | Id of the integration that is used for this channel |
17 changes: 0 additions & 17 deletions docs/models/components/channelsettingsproviderid.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/models/components/createintegrationrequestdto.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateIntegrationRequestDto } from "@novu/api/models/components";

let value: CreateIntegrationRequestDto = {
providerId: "<id>",
channel: "in_app",
channel: "chat",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { CreateIntegrationRequestDtoChannel } from "@novu/api/models/components";

let value: CreateIntegrationRequestDtoChannel = "chat";
let value: CreateIntegrationRequestDtoChannel = "in_app";
```

## Values
Expand Down
Loading