airborne-server-sdk 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Airborne.js +51 -0
- package/dist-cjs/AirborneClient.js +47 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +49 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +21 -0
- package/dist-cjs/commands/CreateDimensionCommand.js +21 -0
- package/dist-cjs/commands/CreateFileCommand.js +21 -0
- package/dist-cjs/commands/CreateOrganisationCommand.js +21 -0
- package/dist-cjs/commands/CreatePackageCommand.js +21 -0
- package/dist-cjs/commands/CreateReleaseCommand.js +21 -0
- package/dist-cjs/commands/DeleteDimensionCommand.js +21 -0
- package/dist-cjs/commands/GetReleaseCommand.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/ListDimensionsCommand.js +21 -0
- package/dist-cjs/commands/ListFilesCommand.js +21 -0
- package/dist-cjs/commands/ListOrganisationsCommand.js +21 -0
- package/dist-cjs/commands/ListPackagesCommand.js +21 -0
- package/dist-cjs/commands/ListReleasesCommand.js +21 -0
- package/dist-cjs/commands/PostLoginCommand.js +21 -0
- package/dist-cjs/commands/RequestOrganisationCommand.js +21 -0
- package/dist-cjs/commands/ServeReleaseCommand.js +21 -0
- package/dist-cjs/commands/ServeReleaseV2Command.js +21 -0
- package/dist-cjs/commands/UpdateDimensionCommand.js +21 -0
- package/dist-cjs/commands/UploadFileCommand.js +22 -0
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/AirborneServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +77 -0
- package/dist-cjs/protocols/Aws_restJson1.js +953 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +38 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +33 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-es/Airborne.js +47 -0
- package/dist-es/AirborneClient.js +43 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +43 -0
- package/dist-es/commands/CreateApplicationCommand.js +17 -0
- package/dist-es/commands/CreateDimensionCommand.js +17 -0
- package/dist-es/commands/CreateFileCommand.js +17 -0
- package/dist-es/commands/CreateOrganisationCommand.js +17 -0
- package/dist-es/commands/CreatePackageCommand.js +17 -0
- package/dist-es/commands/CreateReleaseCommand.js +17 -0
- package/dist-es/commands/DeleteDimensionCommand.js +17 -0
- package/dist-es/commands/GetReleaseCommand.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/ListDimensionsCommand.js +17 -0
- package/dist-es/commands/ListFilesCommand.js +17 -0
- package/dist-es/commands/ListOrganisationsCommand.js +17 -0
- package/dist-es/commands/ListPackagesCommand.js +17 -0
- package/dist-es/commands/ListReleasesCommand.js +17 -0
- package/dist-es/commands/PostLoginCommand.js +17 -0
- package/dist-es/commands/RequestOrganisationCommand.js +17 -0
- package/dist-es/commands/ServeReleaseCommand.js +17 -0
- package/dist-es/commands/ServeReleaseV2Command.js +17 -0
- package/dist-es/commands/UpdateDimensionCommand.js +17 -0
- package/dist-es/commands/UploadFileCommand.js +18 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/AirborneServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +68 -0
- package/dist-es/protocols/Aws_restJson1.js +910 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +33 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +29 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-types/Airborne.d.ts +152 -0
- package/dist-types/AirborneClient.d.ts +182 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +91 -0
- package/dist-types/commands/CreateDimensionCommand.d.ts +95 -0
- package/dist-types/commands/CreateFileCommand.d.ts +100 -0
- package/dist-types/commands/CreateOrganisationCommand.d.ts +98 -0
- package/dist-types/commands/CreatePackageCommand.d.ts +97 -0
- package/dist-types/commands/CreateReleaseCommand.d.ts +152 -0
- package/dist-types/commands/DeleteDimensionCommand.d.ts +86 -0
- package/dist-types/commands/GetReleaseCommand.d.ts +139 -0
- package/dist-types/commands/GetUserCommand.d.ts +108 -0
- package/dist-types/commands/ListDimensionsCommand.d.ts +100 -0
- package/dist-types/commands/ListFilesCommand.d.ts +108 -0
- package/dist-types/commands/ListOrganisationsCommand.d.ts +100 -0
- package/dist-types/commands/ListPackagesCommand.d.ts +102 -0
- package/dist-types/commands/ListReleasesCommand.d.ts +143 -0
- package/dist-types/commands/PostLoginCommand.d.ts +111 -0
- package/dist-types/commands/RequestOrganisationCommand.d.ts +92 -0
- package/dist-types/commands/ServeReleaseCommand.d.ts +103 -0
- package/dist-types/commands/ServeReleaseV2Command.d.ts +103 -0
- package/dist-types/commands/UpdateDimensionCommand.d.ts +95 -0
- package/dist-types/commands/UploadFileCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +12 -0
- package/dist-types/models/AirborneServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +961 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +182 -0
- package/dist-types/runtimeConfig.browser.d.ts +44 -0
- package/dist-types/runtimeConfig.d.ts +44 -0
- package/dist-types/runtimeConfig.native.d.ts +43 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +81 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "../commands/CreateApplicationCommand";
|
|
2
|
+
import { CreateDimensionCommandInput, CreateDimensionCommandOutput } from "../commands/CreateDimensionCommand";
|
|
3
|
+
import { CreateFileCommandInput, CreateFileCommandOutput } from "../commands/CreateFileCommand";
|
|
4
|
+
import { CreateOrganisationCommandInput, CreateOrganisationCommandOutput } from "../commands/CreateOrganisationCommand";
|
|
5
|
+
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "../commands/CreatePackageCommand";
|
|
6
|
+
import { CreateReleaseCommandInput, CreateReleaseCommandOutput } from "../commands/CreateReleaseCommand";
|
|
7
|
+
import { DeleteDimensionCommandInput, DeleteDimensionCommandOutput } from "../commands/DeleteDimensionCommand";
|
|
8
|
+
import { GetReleaseCommandInput, GetReleaseCommandOutput } from "../commands/GetReleaseCommand";
|
|
9
|
+
import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
|
|
10
|
+
import { ListDimensionsCommandInput, ListDimensionsCommandOutput } from "../commands/ListDimensionsCommand";
|
|
11
|
+
import { ListFilesCommandInput, ListFilesCommandOutput } from "../commands/ListFilesCommand";
|
|
12
|
+
import { ListOrganisationsCommandInput, ListOrganisationsCommandOutput } from "../commands/ListOrganisationsCommand";
|
|
13
|
+
import { ListPackagesCommandInput, ListPackagesCommandOutput } from "../commands/ListPackagesCommand";
|
|
14
|
+
import { ListReleasesCommandInput, ListReleasesCommandOutput } from "../commands/ListReleasesCommand";
|
|
15
|
+
import { PostLoginCommandInput, PostLoginCommandOutput } from "../commands/PostLoginCommand";
|
|
16
|
+
import { RequestOrganisationCommandInput, RequestOrganisationCommandOutput } from "../commands/RequestOrganisationCommand";
|
|
17
|
+
import { ServeReleaseCommandInput, ServeReleaseCommandOutput } from "../commands/ServeReleaseCommand";
|
|
18
|
+
import { ServeReleaseV2CommandInput, ServeReleaseV2CommandOutput } from "../commands/ServeReleaseV2Command";
|
|
19
|
+
import { UpdateDimensionCommandInput, UpdateDimensionCommandOutput } from "../commands/UpdateDimensionCommand";
|
|
20
|
+
import { UploadFileCommandInput, UploadFileCommandOutput } from "../commands/UploadFileCommand";
|
|
21
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
22
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
23
|
+
/**
|
|
24
|
+
* serializeAws_restJson1CreateApplicationCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const se_CreateApplicationCommand: (input: CreateApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_restJson1CreateDimensionCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_CreateDimensionCommand: (input: CreateDimensionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* serializeAws_restJson1CreateFileCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const se_CreateFileCommand: (input: CreateFileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* serializeAws_restJson1CreateOrganisationCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const se_CreateOrganisationCommand: (input: CreateOrganisationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_restJson1CreatePackageCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_CreatePackageCommand: (input: CreatePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
/**
|
|
44
|
+
* serializeAws_restJson1CreateReleaseCommand
|
|
45
|
+
*/
|
|
46
|
+
export declare const se_CreateReleaseCommand: (input: CreateReleaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
+
/**
|
|
48
|
+
* serializeAws_restJson1DeleteDimensionCommand
|
|
49
|
+
*/
|
|
50
|
+
export declare const se_DeleteDimensionCommand: (input: DeleteDimensionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
|
+
/**
|
|
52
|
+
* serializeAws_restJson1GetReleaseCommand
|
|
53
|
+
*/
|
|
54
|
+
export declare const se_GetReleaseCommand: (input: GetReleaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
|
+
/**
|
|
56
|
+
* serializeAws_restJson1GetUserCommand
|
|
57
|
+
*/
|
|
58
|
+
export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* serializeAws_restJson1ListDimensionsCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const se_ListDimensionsCommand: (input: ListDimensionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
/**
|
|
64
|
+
* serializeAws_restJson1ListFilesCommand
|
|
65
|
+
*/
|
|
66
|
+
export declare const se_ListFilesCommand: (input: ListFilesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
|
+
/**
|
|
68
|
+
* serializeAws_restJson1ListOrganisationsCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const se_ListOrganisationsCommand: (input: ListOrganisationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
|
+
/**
|
|
72
|
+
* serializeAws_restJson1ListPackagesCommand
|
|
73
|
+
*/
|
|
74
|
+
export declare const se_ListPackagesCommand: (input: ListPackagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
|
+
/**
|
|
76
|
+
* serializeAws_restJson1ListReleasesCommand
|
|
77
|
+
*/
|
|
78
|
+
export declare const se_ListReleasesCommand: (input: ListReleasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
79
|
+
/**
|
|
80
|
+
* serializeAws_restJson1PostLoginCommand
|
|
81
|
+
*/
|
|
82
|
+
export declare const se_PostLoginCommand: (input: PostLoginCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
83
|
+
/**
|
|
84
|
+
* serializeAws_restJson1RequestOrganisationCommand
|
|
85
|
+
*/
|
|
86
|
+
export declare const se_RequestOrganisationCommand: (input: RequestOrganisationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
87
|
+
/**
|
|
88
|
+
* serializeAws_restJson1ServeReleaseCommand
|
|
89
|
+
*/
|
|
90
|
+
export declare const se_ServeReleaseCommand: (input: ServeReleaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
91
|
+
/**
|
|
92
|
+
* serializeAws_restJson1ServeReleaseV2Command
|
|
93
|
+
*/
|
|
94
|
+
export declare const se_ServeReleaseV2Command: (input: ServeReleaseV2CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
|
+
/**
|
|
96
|
+
* serializeAws_restJson1UpdateDimensionCommand
|
|
97
|
+
*/
|
|
98
|
+
export declare const se_UpdateDimensionCommand: (input: UpdateDimensionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
|
+
/**
|
|
100
|
+
* serializeAws_restJson1UploadFileCommand
|
|
101
|
+
*/
|
|
102
|
+
export declare const se_UploadFileCommand: (input: UploadFileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
103
|
+
/**
|
|
104
|
+
* deserializeAws_restJson1CreateApplicationCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const de_CreateApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateApplicationCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* deserializeAws_restJson1CreateDimensionCommand
|
|
109
|
+
*/
|
|
110
|
+
export declare const de_CreateDimensionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateDimensionCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* deserializeAws_restJson1CreateFileCommand
|
|
113
|
+
*/
|
|
114
|
+
export declare const de_CreateFileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFileCommandOutput>;
|
|
115
|
+
/**
|
|
116
|
+
* deserializeAws_restJson1CreateOrganisationCommand
|
|
117
|
+
*/
|
|
118
|
+
export declare const de_CreateOrganisationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateOrganisationCommandOutput>;
|
|
119
|
+
/**
|
|
120
|
+
* deserializeAws_restJson1CreatePackageCommand
|
|
121
|
+
*/
|
|
122
|
+
export declare const de_CreatePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePackageCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* deserializeAws_restJson1CreateReleaseCommand
|
|
125
|
+
*/
|
|
126
|
+
export declare const de_CreateReleaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateReleaseCommandOutput>;
|
|
127
|
+
/**
|
|
128
|
+
* deserializeAws_restJson1DeleteDimensionCommand
|
|
129
|
+
*/
|
|
130
|
+
export declare const de_DeleteDimensionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDimensionCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* deserializeAws_restJson1GetReleaseCommand
|
|
133
|
+
*/
|
|
134
|
+
export declare const de_GetReleaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetReleaseCommandOutput>;
|
|
135
|
+
/**
|
|
136
|
+
* deserializeAws_restJson1GetUserCommand
|
|
137
|
+
*/
|
|
138
|
+
export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
|
|
139
|
+
/**
|
|
140
|
+
* deserializeAws_restJson1ListDimensionsCommand
|
|
141
|
+
*/
|
|
142
|
+
export declare const de_ListDimensionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDimensionsCommandOutput>;
|
|
143
|
+
/**
|
|
144
|
+
* deserializeAws_restJson1ListFilesCommand
|
|
145
|
+
*/
|
|
146
|
+
export declare const de_ListFilesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFilesCommandOutput>;
|
|
147
|
+
/**
|
|
148
|
+
* deserializeAws_restJson1ListOrganisationsCommand
|
|
149
|
+
*/
|
|
150
|
+
export declare const de_ListOrganisationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOrganisationsCommandOutput>;
|
|
151
|
+
/**
|
|
152
|
+
* deserializeAws_restJson1ListPackagesCommand
|
|
153
|
+
*/
|
|
154
|
+
export declare const de_ListPackagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPackagesCommandOutput>;
|
|
155
|
+
/**
|
|
156
|
+
* deserializeAws_restJson1ListReleasesCommand
|
|
157
|
+
*/
|
|
158
|
+
export declare const de_ListReleasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReleasesCommandOutput>;
|
|
159
|
+
/**
|
|
160
|
+
* deserializeAws_restJson1PostLoginCommand
|
|
161
|
+
*/
|
|
162
|
+
export declare const de_PostLoginCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PostLoginCommandOutput>;
|
|
163
|
+
/**
|
|
164
|
+
* deserializeAws_restJson1RequestOrganisationCommand
|
|
165
|
+
*/
|
|
166
|
+
export declare const de_RequestOrganisationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RequestOrganisationCommandOutput>;
|
|
167
|
+
/**
|
|
168
|
+
* deserializeAws_restJson1ServeReleaseCommand
|
|
169
|
+
*/
|
|
170
|
+
export declare const de_ServeReleaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ServeReleaseCommandOutput>;
|
|
171
|
+
/**
|
|
172
|
+
* deserializeAws_restJson1ServeReleaseV2Command
|
|
173
|
+
*/
|
|
174
|
+
export declare const de_ServeReleaseV2Command: (output: __HttpResponse, context: __SerdeContext) => Promise<ServeReleaseV2CommandOutput>;
|
|
175
|
+
/**
|
|
176
|
+
* deserializeAws_restJson1UpdateDimensionCommand
|
|
177
|
+
*/
|
|
178
|
+
export declare const de_UpdateDimensionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDimensionCommandOutput>;
|
|
179
|
+
/**
|
|
180
|
+
* deserializeAws_restJson1UploadFileCommand
|
|
181
|
+
*/
|
|
182
|
+
export declare const de_UploadFileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UploadFileCommandOutput>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { AirborneClientConfig } from "./AirborneClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AirborneClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
13
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
apiVersion: string;
|
|
17
|
+
cacheMiddleware?: boolean | undefined;
|
|
18
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
19
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
21
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
profile?: string | undefined;
|
|
25
|
+
logger: import("@smithy/types").Logger;
|
|
26
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
29
|
+
endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
|
|
30
|
+
tls?: boolean | undefined;
|
|
31
|
+
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
|
+
httpAuthSchemes: ({
|
|
34
|
+
schemeId: string;
|
|
35
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
36
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
37
|
+
} | {
|
|
38
|
+
schemeId: string;
|
|
39
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
40
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
41
|
+
})[];
|
|
42
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AirborneHttpAuthSchemeProvider;
|
|
43
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider | undefined;
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { AirborneClientConfig } from "./AirborneClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AirborneClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
13
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
|
+
apiVersion: string;
|
|
18
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
20
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
21
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
22
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
profile?: string | undefined;
|
|
26
|
+
logger: import("@smithy/types").Logger;
|
|
27
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
|
+
endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
|
|
30
|
+
tls?: boolean | undefined;
|
|
31
|
+
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
|
+
httpAuthSchemes: ({
|
|
34
|
+
schemeId: string;
|
|
35
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
36
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
37
|
+
} | {
|
|
38
|
+
schemeId: string;
|
|
39
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
40
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
41
|
+
})[];
|
|
42
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AirborneHttpAuthSchemeProvider;
|
|
43
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider | undefined;
|
|
44
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AirborneClientConfig } from "./AirborneClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: AirborneClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
11
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
12
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
18
|
+
disableHostPrefix: boolean;
|
|
19
|
+
profile?: string | undefined;
|
|
20
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
21
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
logger: import("@smithy/types").Logger;
|
|
24
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
25
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
26
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
27
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
28
|
+
endpoint: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint>;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
|
+
httpAuthSchemes: ({
|
|
33
|
+
schemeId: string;
|
|
34
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
35
|
+
signer: import("@smithy/core").HttpBearerAuthSigner;
|
|
36
|
+
} | {
|
|
37
|
+
schemeId: string;
|
|
38
|
+
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
39
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
40
|
+
})[];
|
|
41
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AirborneHttpAuthSchemeProvider;
|
|
42
|
+
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider | undefined;
|
|
43
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { HttpBearerAuthSigner, NoAuthSigner } from "@smithy/core";
|
|
2
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
3
|
+
import { AirborneClientConfig } from "./AirborneClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare const getRuntimeConfig: (config: AirborneClientConfig) => {
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
10
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
11
|
+
disableHostPrefix: boolean;
|
|
12
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
13
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AirborneHttpAuthSchemeProvider;
|
|
14
|
+
httpAuthSchemes: ({
|
|
15
|
+
schemeId: string;
|
|
16
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
17
|
+
signer: HttpBearerAuthSigner;
|
|
18
|
+
} | {
|
|
19
|
+
schemeId: string;
|
|
20
|
+
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
21
|
+
signer: NoAuthSigner;
|
|
22
|
+
})[];
|
|
23
|
+
logger: import("@smithy/types").Logger;
|
|
24
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
25
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AirborneExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: AirborneExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "airborne-server-sdk",
|
|
3
|
+
"description": "airborne-server-sdk client",
|
|
4
|
+
"version": "0.9.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "npm run build:types && npm run build:cjs && npm run build:es",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"prepack": "npm run build",
|
|
12
|
+
"prepublishOnly": "npm --no-git-tag-version version $VERSION"
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist-cjs/index.js",
|
|
15
|
+
"types": "./dist-types/index.d.ts",
|
|
16
|
+
"module": "./dist-es/index.js",
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"tslib": "^2.6.2",
|
|
20
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
21
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
22
|
+
"@aws-sdk/core": "3.775.0",
|
|
23
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
24
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
25
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-user-agent": "3.787.0",
|
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
|
28
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
29
|
+
"@aws-sdk/util-user-agent-node": "3.787.0",
|
|
30
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
31
|
+
"@smithy/core": "^3.2.0",
|
|
32
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
33
|
+
"@smithy/hash-node": "^4.0.2",
|
|
34
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
35
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
36
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
37
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
38
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
39
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
40
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
41
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
42
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
43
|
+
"@smithy/types": "^4.2.0",
|
|
44
|
+
"@smithy/url-parser": "^4.0.2",
|
|
45
|
+
"@smithy/util-base64": "^4.0.0",
|
|
46
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
47
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
48
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
49
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
50
|
+
"@smithy/util-middleware": "^4.0.2",
|
|
51
|
+
"@smithy/util-retry": "^4.0.2",
|
|
52
|
+
"@smithy/util-utf8": "^4.0.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@tsconfig/node18": "18.2.4",
|
|
56
|
+
"concurrently": "7.0.0",
|
|
57
|
+
"downlevel-dts": "0.10.1",
|
|
58
|
+
"rimraf": "^3.0.0",
|
|
59
|
+
"typescript": "~5.2.2",
|
|
60
|
+
"@types/node": "^18.19.69"
|
|
61
|
+
},
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=18.0.0"
|
|
64
|
+
},
|
|
65
|
+
"typesVersions": {
|
|
66
|
+
"<4.0": {
|
|
67
|
+
"dist-types/*": [
|
|
68
|
+
"dist-types/ts3.4/*"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"dist-*/**"
|
|
74
|
+
],
|
|
75
|
+
"browser": {
|
|
76
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
77
|
+
},
|
|
78
|
+
"react-native": {
|
|
79
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
80
|
+
}
|
|
81
|
+
}
|