Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 2cfda80

Browse files
committed
chore: regenerate code
1 parent cf053b8 commit 2cfda80

File tree

5 files changed

+4471
-853
lines changed

5 files changed

+4471
-853
lines changed

generated/NeonClient.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,29 @@ import { Interceptors } from './core/OpenAPI';
44
import { FetchHttpRequest } from './core/FetchHttpRequest';
55

66
import { ApiKeyService } from './services.gen';
7+
import { AuthService } from './services.gen';
78
import { BranchService } from './services.gen';
89
import { ConsumptionService } from './services.gen';
9-
import { DefaultService } from './services.gen';
1010
import { EndpointService } from './services.gen';
1111
import { OperationService } from './services.gen';
12+
import { OrganizationsService } from './services.gen';
1213
import { ProjectService } from './services.gen';
14+
import { RegionService } from './services.gen';
1315
import { UsersService } from './services.gen';
1416

1517
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
1618

1719
export class NeonClient {
1820

1921
public readonly apiKey: ApiKeyService;
22+
public readonly auth: AuthService;
2023
public readonly branch: BranchService;
2124
public readonly consumption: ConsumptionService;
22-
public readonly default: DefaultService;
2325
public readonly endpoint: EndpointService;
2426
public readonly operation: OperationService;
27+
public readonly organizations: OrganizationsService;
2528
public readonly project: ProjectService;
29+
public readonly region: RegionService;
2630
public readonly users: UsersService;
2731

2832
public readonly request: BaseHttpRequest;
@@ -45,12 +49,14 @@ export class NeonClient {
4549
});
4650

4751
this.apiKey = new ApiKeyService(this.request);
52+
this.auth = new AuthService(this.request);
4853
this.branch = new BranchService(this.request);
4954
this.consumption = new ConsumptionService(this.request);
50-
this.default = new DefaultService(this.request);
5155
this.endpoint = new EndpointService(this.request);
5256
this.operation = new OperationService(this.request);
57+
this.organizations = new OrganizationsService(this.request);
5358
this.project = new ProjectService(this.request);
59+
this.region = new RegionService(this.request);
5460
this.users = new UsersService(this.request);
5561
}
5662
}

generated/core/CancelablePromise.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/**
2-
* This file was modified by a custom transform to make it ready to publish to JSR - see https://github.com/paambaati/neon-js-sdk/blob/main/scripts/transformers/jsr-fixes.ts
3-
*/
41
export class CancelError extends Error {
52
constructor(message: string) {
63
super(message);
@@ -83,7 +80,7 @@ export class CancelablePromise<T> implements Promise<T> {
8380
});
8481
}
8582

86-
get [Symbol.toStringTag](): string {
83+
get [Symbol.toStringTag]() {
8784
return "Cancellable Promise";
8885
}
8986

@@ -126,4 +123,4 @@ export class CancelablePromise<T> implements Promise<T> {
126123
public get isCancelled(): boolean {
127124
return this._isCancelled;
128125
}
129-
}
126+
}

0 commit comments

Comments
 (0)