Skip to content

Commit

Permalink
add idempotency test endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Dec 24, 2024
1 parent 20fdedd commit 2070c58
Show file tree
Hide file tree
Showing 20 changed files with 307 additions and 51 deletions.
270 changes: 264 additions & 6 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
tests:
generateNewTests: true
typescript:
version: 0.0.1-alpha.172
version: 0.0.1-alpha.173
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
speakeasyVersion: 1.459.3
speakeasyVersion: 1.460.2
sources:
json-development:
sourceNamespace: json-development
sourceRevisionDigest: sha256:d43a21a4a875d3af562ebc4a63e2836a7d795bcdd73cb98865d91d552f253cab
sourceRevisionDigest: sha256:ca889f14add2869c786802e0d3055e5a41c7b60bf026170caf6dc2a2bd9f3ce1
sourceBlobDigest: sha256:60bf0137bc4340cb70fd8a5772397ea2c2ba551fb7c434f49e6f615ae16fddea
tags:
- latest
Expand All @@ -11,10 +11,10 @@ targets:
my-first-target:
source: json-development
sourceNamespace: json-development
sourceRevisionDigest: sha256:d43a21a4a875d3af562ebc4a63e2836a7d795bcdd73cb98865d91d552f253cab
sourceRevisionDigest: sha256:ca889f14add2869c786802e0d3055e5a41c7b60bf026170caf6dc2a2bd9f3ce1
sourceBlobDigest: sha256:60bf0137bc4340cb70fd8a5772397ea2c2ba551fb7c434f49e6f615ae16fddea
codeSamplesNamespace: code-samples-typescript
codeSamplesRevisionDigest: sha256:65a3fc878977dc95349350775af0ae7974c9b8ae26be1f64d7561b7104f80286
codeSamplesRevisionDigest: sha256:10b012e59e8440bd903c0e4c8b5b54991fd4064c9e1498f658873d4ac2a98366
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/messageresponsedto.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ let value: MessageResponseDto = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1708552098385",
updatedAt: "1734930505091",
createdAt: "1708661962865",
updatedAt: "1735040369571",
},
createdAt: "1707332508215",
createdAt: "1707442372695",
content: "<value>",
transactionId: "<id>",
channel: "push",
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/subscriberresponsedto.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ let value: SubscriberResponseDto = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1712575608379",
updatedAt: "1734930717163",
createdAt: "1712685472827",
updatedAt: "1735040581611",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ let value: SubscribersControllerCreateSubscriberResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1716504499353",
updatedAt: "1734900178168",
createdAt: "1716614363891",
updatedAt: "1735010042706",
},
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ let value: SubscribersControllerGetSubscriberResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1717812877271",
updatedAt: "1734926432975",
createdAt: "1717922741793",
updatedAt: "1735036297497",
},
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ let value: SubscribersControllerListSubscribersResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1707948509944",
updatedAt: "1734958939266",
createdAt: "1708058374483",
updatedAt: "1735068803805",
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ let value: SubscribersControllerListSubscribersResponseBody = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1728629984493",
updatedAt: "1734917192167",
createdAt: "1728739849030",
updatedAt: "1735027056703",
},
],
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ let value: SubscribersControllerMarkActionAsSeenResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1706489906746",
updatedAt: "1734949718612",
createdAt: "1706599771208",
updatedAt: "1735059583074",
},
createdAt: "1706458280306",
createdAt: "1706568144768",
content: "<value>",
transactionId: "<id>",
channel: "sms",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ let value: SubscribersControllerMarkMessagesAsResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1724024144492",
updatedAt: "1734899205134",
createdAt: "1724134008953",
updatedAt: "1735009069595",
},
createdAt: "1718133297060",
createdAt: "1718243161520",
content: {
type: "button",
content: "<value>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ let value: SubscribersControllerModifySubscriberChannelResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1705326991319",
updatedAt: "1734934928884",
createdAt: "1705436855813",
updatedAt: "1735044793378",
},
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ let value: SubscribersControllerUpdateSubscriberChannelResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1724929605166",
updatedAt: "1734908382018",
createdAt: "1725039469665",
updatedAt: "1735018246517",
},
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ let value: SubscribersControllerUpdateSubscriberOnlineFlagResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1710062345158",
updatedAt: "1734888460026",
createdAt: "1710172209645",
updatedAt: "1734998324513",
},
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ let value: SubscribersControllerUpdateSubscriberResponse = {
organizationId: "<id>",
environmentId: "<id>",
deleted: false,
createdAt: "1722905473287",
updatedAt: "1734930205327",
createdAt: "1723015337796",
updatedAt: "1735040069837",
},
};
```
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@novu/api",
"version": "0.0.1-alpha.162",
"version": "0.0.1-alpha.173",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@novu/api",
"version": "0.0.1-alpha.162",
"version": "0.0.1-alpha.173",
"author": "Novu",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "1.0",
sdkVersion: "0.0.1-alpha.162",
genVersion: "2.483.6",
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.162 2.483.6 1.0 @novu/api",
sdkVersion: "0.0.1-alpha.173",
genVersion: "2.484.0",
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.173 2.484.0 1.0 @novu/api",
} as const;
2 changes: 1 addition & 1 deletion src/lib/security.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function resolveSecurity(
...options: SecurityInput[][]
): SecurityState | null {
const state: SecurityState = {
basic: { username: "", password: "" },
basic: {},
headers: {},
queryParams: {},
cookies: {},
Expand Down

0 comments on commit 2070c58

Please sign in to comment.