Skip to content

Commit fb84d26

Browse files
authored
Merge pull request #610 from codatio/speakeasy-sdk-regen-1721138983
chore: 🐝 Update SDK - Generate Platform library PLATFORM-LIBRARY
2 parents 5136469 + 9237786 commit fb84d26

File tree

9 files changed

+34
-18
lines changed

9 files changed

+34
-18
lines changed

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.335.2
1+
speakeasyVersion: 1.336.0
22
sources:
33
platform-source:
44
sourceNamespace: platform-source
5-
sourceRevisionDigest: sha256:740f9226ce683d8f68a3eff27fa6da9ed67f99b82a5b063eabe3ecdfa9a140e4
6-
sourceBlobDigest: sha256:ce47e7c490d6e9f8eda99ffd9605a4edceafe379441bac0c986a8cbe8d7e6f63
5+
sourceRevisionDigest: sha256:496b4198b72f3dfd6ce6fc079721e0ada3ce0f1bba27a561907be45cdac94fee
6+
sourceBlobDigest: sha256:bb36df5a0c16863cee57da7324401c647fd836d2b734f62a3a999d649d35fb20
77
tags:
88
- latest
99
- main
1010
targets:
1111
platform-library:
1212
source: platform-source
1313
sourceNamespace: platform-source
14-
sourceRevisionDigest: sha256:740f9226ce683d8f68a3eff27fa6da9ed67f99b82a5b063eabe3ecdfa9a140e4
15-
sourceBlobDigest: sha256:ce47e7c490d6e9f8eda99ffd9605a4edceafe379441bac0c986a8cbe8d7e6f63
14+
sourceRevisionDigest: sha256:496b4198b72f3dfd6ce6fc079721e0ada3ce0f1bba27a561907be45cdac94fee
15+
sourceBlobDigest: sha256:bb36df5a0c16863cee57da7324401c647fd836d2b734f62a3a999d649d35fb20
1616
outLocation: platform
1717
workflow:
1818
workflowVersion: 1.0.0

platform/.speakeasy/gen.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 6a970e30-8d0a-42f0-a8ce-621dfe880a1d
33
management:
44
docChecksum: ced98ff1180e32d5026f7d960a49babc
55
docVersion: 3.0.0
6-
speakeasyVersion: 1.335.2
7-
generationVersion: 2.372.3
8-
releaseVersion: 3.1.3
9-
configChecksum: c24fb514b232cad028deda198ec6740e
6+
speakeasyVersion: 1.336.0
7+
generationVersion: 2.373.0
8+
releaseVersion: 3.2.0
9+
configChecksum: a678528d96244b8085aebd6a483c7915
1010
repoURL: https://github.com/codatio/client-sdk-typescript.git
1111
repoSubDirectory: platform
1212
installationURL: https://gitpkg.now.sh/codatio/client-sdk-typescript/platform
@@ -30,6 +30,7 @@ features:
3030
responseFormat: 0.2.3
3131
retries: 2.83.0
3232
sdkHooks: 0.1.0
33+
serverEventsSentinels: 0.1.0
3334
webhooks: 1.0.0
3435
generatedFiles:
3536
- src/sdk/companies.ts

platform/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,14 @@ Based on:
164164
- OpenAPI Doc
165165
- Speakeasy CLI 1.335.2 (2.372.3) https://github.com/speakeasy-api/speakeasy
166166
### Generated
167-
- [typescript v3.1.3] platform
167+
- [typescript v3.1.3] platform
168+
169+
## 2024-07-16 14:09:35
170+
### Changes
171+
Based on:
172+
- OpenAPI Doc
173+
- Speakeasy CLI 1.336.0 (2.373.0) https://github.com/speakeasy-api/speakeasy
174+
### Generated
175+
- [typescript v3.2.0] platform
176+
### Releases
177+
- [NPM v3.2.0] https://www.npmjs.com/package/@codat/platform/v/3.2.0 - platform

platform/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
typescript:
15-
version: 3.1.3
15+
version: 3.2.0
1616
additionalDependencies:
1717
dependencies: {}
1818
devDependencies: {}

platform/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@codat/platform",
5-
"version": "3.1.3",
5+
"version": "3.2.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",

platform/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codat/platform",
3-
"version": "3.1.3",
3+
"version": "3.2.0",
44
"author": "Codat",
55
"main": "./index.js",
66
"sideEffects": false,

platform/src/lib/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
5555
export const SDK_METADATA = {
5656
language: "typescript",
5757
openapiDocVersion: "3.0.0",
58-
sdkVersion: "3.1.3",
59-
genVersion: "2.372.3",
60-
userAgent: "speakeasy-sdk/typescript 3.1.3 2.372.3 3.0.0 @codat/platform",
58+
sdkVersion: "3.2.0",
59+
genVersion: "2.373.0",
60+
userAgent: "speakeasy-sdk/typescript 3.2.0 2.373.0 3.0.0 @codat/platform",
6161
} as const;

platform/src/lib/http.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,16 @@ type ResponsePredicateMatch<Result> = {
284284
key: string | undefined;
285285
err: boolean;
286286
fail: boolean;
287+
sseSentinel?: string | undefined;
287288
};
288289

289290
type ResponsePredicateOptions = {
290291
/** Content type to match on. */
291292
ctype?: string;
292293
/** Pass HTTP headers to deserializer. */
293294
hdrs?: boolean;
295+
/** A value for an SSE event's data field that indicates a stream should be terminated. */
296+
sseSentinel?: string;
294297
} & (
295298
| {
296299
/** The result key to store the deserialized value into. */
@@ -326,6 +329,7 @@ export class ResponseMatcher<Result> {
326329
const key = opts?.key;
327330
const err = !!opts?.err;
328331
const fail = !!opts?.fail;
332+
const sseSentinel = opts?.sseSentinel;
329333
this.predicates.push({
330334
method,
331335
codes,
@@ -335,6 +339,7 @@ export class ResponseMatcher<Result> {
335339
key,
336340
err,
337341
fail,
342+
sseSentinel,
338343
});
339344
return this;
340345
}

0 commit comments

Comments
 (0)