Skip to content
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
1 change: 1 addition & 0 deletions etc/client.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export class Brokerize {

// @public (undocumented)
export interface BrokerizeConfig {
acceptLanguage?: string | (() => string | null | undefined | Promise<string | null | undefined>);
basePath?: string;
basePathCryptoService?: string;
// (undocumented)
Expand Down
280 changes: 150 additions & 130 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
"package.json": "sort-package-json"
},
"devDependencies": {
"@microsoft/api-extractor": "7.58.8",
"@openapitools/openapi-generator-cli": "2.38.0",
"@types/node": "24.12.3",
"@typescript-eslint/eslint-plugin": "8.61.0",
"eslint": "10.4.1",
"@microsoft/api-extractor": "7.58.11",
"@openapitools/openapi-generator-cli": "2.39.1",
"@types/node": "24.13.3",
"@typescript-eslint/eslint-plugin": "8.64.0",
"eslint": "10.7.0",
"eslint-config-prettier": "10.1.8",
"husky": "9.1.7",
"lint-staged": "17.0.7",
"prettier": "3.8.4",
"lint-staged": "17.0.8",
"prettier": "3.9.5",
"sort-package-json": "4.0.0",
"typescript": "6.0.3"
},
Expand Down
3 changes: 1 addition & 2 deletions src/apiCtx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ export async function withAcceptLanguage(
}

export type AuthContextConfiguration =
| GuestAuthContextConfiguration
| RegisteredUserAuthContextConfiguration;
GuestAuthContextConfiguration | RegisteredUserAuthContextConfiguration;

export type RegisteredUserAuthContextConfiguration = {
type: "registered";
Expand Down
7 changes: 1 addition & 6 deletions src/dependencyDefinitions/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,4 @@ export declare interface Response extends Body {
}

declare type ResponseType =
| "basic"
| "cors"
| "default"
| "error"
| "opaque"
| "opaqueredirect";
"basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
3 changes: 1 addition & 2 deletions src/dependencyDefinitions/readableStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ interface ReadableStreamDefaultReader<R = any> {
}

type ReadableStreamReadResult<T> =
| ReadableStreamReadValueResult<T>
| ReadableStreamReadDoneResult<T>;
ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;

interface ReadableStreamReadDoneResult<T> {
done: true;
Expand Down
3 changes: 1 addition & 2 deletions src/dependencyDefinitions/webSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export type WhatWgWebSocket = {
};

export declare type EventListenerOrEventListenerObject =
| EventListener
| EventListenerObject;
EventListener | EventListenerObject;

export declare interface EventListener {
(evt: Event): void;
Expand Down
10 changes: 2 additions & 8 deletions src/dependencyDefinitions/xmlHttpRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@ interface EventListenerOptions {
}

declare type EventListenerOrEventListenerObject =
| EventListener
| EventListenerObject;
EventListener | EventListenerObject;
type BodyInit = any;

interface EventListener {
Expand All @@ -325,9 +324,4 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
}

type XMLHttpRequestResponseType =
| ""
| "arraybuffer"
| "blob"
| "document"
| "json"
| "text";
"" | "arraybuffer" | "blob" | "document" | "json" | "text";
13 changes: 2 additions & 11 deletions src/swagger/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,7 @@ export type FetchAPI = WindowOrWorkerGlobalScope["fetch"];

export type Json = any;
export type HTTPMethod =
| "GET"
| "POST"
| "PUT"
| "PATCH"
| "DELETE"
| "OPTIONS"
| "HEAD";
"GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
export type HTTPHeaders = { [key: string]: string };
export type HTTPQuery = {
[key: string]:
Expand All @@ -303,10 +297,7 @@ export type HTTPRequestInit = {
body?: HTTPBody;
};
export type ModelPropertyNaming =
| "camelCase"
| "snake_case"
| "PascalCase"
| "original";
"camelCase" | "snake_case" | "PascalCase" | "original";

export type InitOverideFunction = (requestContext: {
init: HTTPRequestInit;
Expand Down
13 changes: 4 additions & 9 deletions src/websocketTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export type WebSocketCommandUnsubscribe = {
};

export type WebSocketCommandSubscribe =
| (InvalidateBase & SubscribeInvalidateDetails)
| SubscribeDecoupledOperation;
(InvalidateBase & SubscribeInvalidateDetails) | SubscribeDecoupledOperation;

type InvalidateBase = {
cmd: "subscribe";
Expand All @@ -29,9 +28,7 @@ type InvalidateBase = {
};

export type SubscribeInvalidateDetails =
| SubscribeSessions
| SubscribePositions
| SubscribeOrders;
SubscribeSessions | SubscribePositions | SubscribeOrders;

type SubscribeSessions = {
entity: "sessions";
Expand Down Expand Up @@ -64,12 +61,10 @@ export type WebSocketMessage =
| WebSocketPingMessage;

export type WebSocketSubscriptionMessage =
| WebSocketMessageErrorOnSubscription
| WebSocketSubscriptionSuccessfulMessage;
WebSocketMessageErrorOnSubscription | WebSocketSubscriptionSuccessfulMessage;

export type WebSocketSubscriptionSuccessfulMessage =
| InvalidateMessage
| UpdateDecoupledOperationMessage;
InvalidateMessage | UpdateDecoupledOperationMessage;

export type WebSocketAuthenticatedMessage = {
cmd: "authenticated";
Expand Down
Loading