-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsdk.ts
97 lines (81 loc) · 2.61 KB
/
sdk.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import { ClientSDK } from "../lib/sdks.js";
import { ApiEndpoints } from "./apiendpoints.js";
import { Apis } from "./apis.js";
import { Artifacts } from "./artifacts.js";
import { Auth } from "./auth.js";
import { Embeds } from "./embeds.js";
import { Events } from "./events.js";
import { Github } from "./github.js";
import { Metadata } from "./metadata.js";
import { Organizations } from "./organizations.js";
import { Reports } from "./reports.js";
import { Requests } from "./requests.js";
import { Schemas } from "./schemas.js";
import { ShortURLs } from "./shorturls.js";
import { Suggest } from "./suggest.js";
import { Workspaces } from "./workspaces.js";
export class Speakeasy extends ClientSDK {
private _apis?: Apis;
get apis(): Apis {
return (this._apis ??= new Apis(this._options));
}
private _apiEndpoints?: ApiEndpoints;
get apiEndpoints(): ApiEndpoints {
return (this._apiEndpoints ??= new ApiEndpoints(this._options));
}
private _metadata?: Metadata;
get metadata(): Metadata {
return (this._metadata ??= new Metadata(this._options));
}
private _schemas?: Schemas;
get schemas(): Schemas {
return (this._schemas ??= new Schemas(this._options));
}
private _artifacts?: Artifacts;
get artifacts(): Artifacts {
return (this._artifacts ??= new Artifacts(this._options));
}
private _auth?: Auth;
get auth(): Auth {
return (this._auth ??= new Auth(this._options));
}
private _requests?: Requests;
get requests(): Requests {
return (this._requests ??= new Requests(this._options));
}
private _github?: Github;
get github(): Github {
return (this._github ??= new Github(this._options));
}
private _organizations?: Organizations;
get organizations(): Organizations {
return (this._organizations ??= new Organizations(this._options));
}
private _reports?: Reports;
get reports(): Reports {
return (this._reports ??= new Reports(this._options));
}
private _shortURLs?: ShortURLs;
get shortURLs(): ShortURLs {
return (this._shortURLs ??= new ShortURLs(this._options));
}
private _suggest?: Suggest;
get suggest(): Suggest {
return (this._suggest ??= new Suggest(this._options));
}
private _workspaces?: Workspaces;
get workspaces(): Workspaces {
return (this._workspaces ??= new Workspaces(this._options));
}
private _embeds?: Embeds;
get embeds(): Embeds {
return (this._embeds ??= new Embeds(this._options));
}
private _events?: Events;
get events(): Events {
return (this._events ??= new Events(this._options));
}
}