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,961 @@
|
|
|
1
|
+
import { AirborneServiceException as __BaseException } from "./AirborneServiceException";
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
+
import { StreamingBlobTypes, DocumentType as __DocumentType } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* Bad request error
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class BadRequestError extends __BaseException {
|
|
9
|
+
readonly name: "BadRequestError";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<BadRequestError, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Application information
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface Application {
|
|
21
|
+
/**
|
|
22
|
+
* Name of the application
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
application: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Name of the organisation
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
organisation: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Access levels of the user for the organisation
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
access: (string)[] | undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Create application request
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface CreateApplicationRequest {
|
|
42
|
+
/**
|
|
43
|
+
* Name of the application
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
application: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the organisation
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
organisation: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export declare class ForbiddenError extends __BaseException {
|
|
57
|
+
readonly name: "ForbiddenError";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ForbiddenError, __BaseException>);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Internal server error
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class InternalServerError extends __BaseException {
|
|
69
|
+
readonly name: "InternalServerError";
|
|
70
|
+
readonly $fault: "server";
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Not found error
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class NotFoundError extends __BaseException {
|
|
81
|
+
readonly name: "NotFoundError";
|
|
82
|
+
readonly $fault: "client";
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
constructor(opts: __ExceptionOptionType<NotFoundError, __BaseException>);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Unauthorized error
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class Unauthorized extends __BaseException {
|
|
93
|
+
readonly name: "Unauthorized";
|
|
94
|
+
readonly $fault: "client";
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
constructor(opts: __ExceptionOptionType<Unauthorized, __BaseException>);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const DimensionType: {
|
|
105
|
+
readonly COHORT: "cohort";
|
|
106
|
+
readonly STANDARD: "standard";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export type DimensionType = typeof DimensionType[keyof typeof DimensionType];
|
|
112
|
+
/**
|
|
113
|
+
* Create dimension request type
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export interface CreateDimensionRequest {
|
|
117
|
+
/**
|
|
118
|
+
* Name of the dimension
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
dimension: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Description of the dimension
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
description: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Type of the dimension
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
dimension_type: DimensionType | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* Identifier of the dimension this depends on (required for cohort dimensions, ignored for standard dimensions)
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
depends_on?: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Name of the organisation
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
organisation: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Name of the application
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
application: string | undefined;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export interface CreateDimensionResponse {
|
|
152
|
+
/**
|
|
153
|
+
* Name of the dimension
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
dimension: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Description of the dimension
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
description: __DocumentType | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Position of the dimension
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
position: number | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Schema of the dimension
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
schema?: __DocumentType | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Reason for the change
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
change_reason: string | undefined;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Create file request
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export interface CreateFileRequest {
|
|
183
|
+
/**
|
|
184
|
+
* Path where the file will be stored on sdk
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
file_path: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* URL from where the file can be downloaded
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
url: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Tag to identify the file
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
tag?: string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* Metadata associated with the file in Stringified JSON format or a file attachment
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
metadata?: __DocumentType | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* Name of the organisation
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
organisation: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* Name of the application
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
application: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Create file response
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export interface CreateFileResponse {
|
|
219
|
+
/**
|
|
220
|
+
* id of the file
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
id: string | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* Path where the file is stored on sdk
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
file_path: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* URL from where the file can be downloaded
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
url: string | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* Version of the file
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
version: number | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Tag associated with the file
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
tag?: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* Size of the file in bytes
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
size: number | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* Checksum of the file
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
checksum: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* Metadata associated with the file
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
metadata: __DocumentType | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* Status of the file
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
status: string | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* Date of creation of the file
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
created_at: string | undefined;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Organisation creation request
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
export interface CreateOrganisationRequest {
|
|
275
|
+
name: string | undefined;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Organisation information
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
export interface Organisation {
|
|
282
|
+
/**
|
|
283
|
+
* Name of the organisation
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
name: string | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* List of applications under the organisation
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
applications: (Application)[] | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* Access levels of the user for the organisation
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
access: (string)[] | undefined;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Create package request
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export interface CreatePackageRequest {
|
|
303
|
+
/**
|
|
304
|
+
* Index file id
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
index: string | undefined;
|
|
308
|
+
tag?: string | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* Space Separated file ids to be included in the package
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
files: (string)[] | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* Name of the organisation
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
organisation: string | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* Name of the application
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
323
|
+
application: string | undefined;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Package information
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
export interface Package {
|
|
330
|
+
tag?: string | undefined;
|
|
331
|
+
version: number | undefined;
|
|
332
|
+
index: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* List of strings
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
files: (string)[] | undefined;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Create release request config
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
export interface CreateReleaseRequestConfig {
|
|
344
|
+
/**
|
|
345
|
+
* Timeout for the release config in seconds
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
release_config_timeout: number | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* Timeout for the package in seconds
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
boot_timeout: number | undefined;
|
|
354
|
+
/**
|
|
355
|
+
* Properties of the config in Stringified JSON format
|
|
356
|
+
* @public
|
|
357
|
+
*/
|
|
358
|
+
properties: __DocumentType | undefined;
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* Create release request package
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
export interface CreateReleaseRequestPackage {
|
|
365
|
+
/**
|
|
366
|
+
* Properties of the package in Stringified JSON format or a file attachment
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
properties?: __DocumentType | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* Important files in the package
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
important?: (string)[] | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* Lazy files in the package
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
lazy?: (string)[] | undefined;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
export interface CreateReleaseRequest {
|
|
385
|
+
/**
|
|
386
|
+
* config for the release
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
config: CreateReleaseRequestConfig | undefined;
|
|
390
|
+
/**
|
|
391
|
+
* Package ID for the release
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
package_id?: string | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* Package details for the release
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
package?: CreateReleaseRequestPackage | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Dimensions for the release in key-value format
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
dimensions?: Record<string, __DocumentType> | undefined;
|
|
405
|
+
/**
|
|
406
|
+
* Resources for the release
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
resources?: (string)[] | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* Name of the organisation
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
organisation: string | undefined;
|
|
415
|
+
/**
|
|
416
|
+
* Name of the application
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
application: string | undefined;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Configuration properties
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
export interface ConfigProperties {
|
|
426
|
+
tenant_info: __DocumentType | undefined;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
export interface GetReleaseConfig {
|
|
432
|
+
version: string | undefined;
|
|
433
|
+
release_config_timeout: number | undefined;
|
|
434
|
+
boot_timeout: number | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* Configuration properties
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
properties: ConfigProperties | undefined;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
export interface ReleaseExperiment {
|
|
445
|
+
experiment_id?: string | undefined;
|
|
446
|
+
package_version?: number | undefined;
|
|
447
|
+
config_version?: string | undefined;
|
|
448
|
+
created_at?: string | undefined;
|
|
449
|
+
traffic_percentage?: number | undefined;
|
|
450
|
+
status?: string | undefined;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
export interface ServeFile {
|
|
456
|
+
file_path?: string | undefined;
|
|
457
|
+
url?: string | undefined;
|
|
458
|
+
checksum?: string | undefined;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
export interface ServePackage {
|
|
464
|
+
name?: string | undefined;
|
|
465
|
+
version?: string | undefined;
|
|
466
|
+
index?: ServeFile | undefined;
|
|
467
|
+
properties?: __DocumentType | undefined;
|
|
468
|
+
important?: (ServeFile)[] | undefined;
|
|
469
|
+
lazy?: (ServeFile)[] | undefined;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
export interface CreateReleaseResponse {
|
|
475
|
+
/**
|
|
476
|
+
* ID of the release
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
id: string | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* Creation time of the release
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
created_at: string | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* Status of the release
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
config: GetReleaseConfig | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* Package details of the release
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
package: ServePackage | undefined;
|
|
495
|
+
/**
|
|
496
|
+
* Experiment details of the release
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
499
|
+
experiment?: ReleaseExperiment | undefined;
|
|
500
|
+
/**
|
|
501
|
+
* Dimensions associated with the release
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
dimensions: Record<string, __DocumentType> | undefined;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
export interface DeleteDimensionRequest {
|
|
510
|
+
/**
|
|
511
|
+
* Name of the dimension
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
dimension: string | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* Name of the organisation
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
organisation: string | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* Name of the application
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
application: string | undefined;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
export interface GetReleaseRequest {
|
|
530
|
+
/**
|
|
531
|
+
* ID of the release
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
releaseId: string | undefined;
|
|
535
|
+
/**
|
|
536
|
+
* Name of the organisation
|
|
537
|
+
* @public
|
|
538
|
+
*/
|
|
539
|
+
organisation: string | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* Name of the application
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
application: string | undefined;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
export interface GetReleaseResponse {
|
|
550
|
+
id?: string | undefined;
|
|
551
|
+
created_at?: string | undefined;
|
|
552
|
+
config?: GetReleaseConfig | undefined;
|
|
553
|
+
package?: ServePackage | undefined;
|
|
554
|
+
resources?: (ServeFile)[] | undefined;
|
|
555
|
+
experiment?: ReleaseExperiment | undefined;
|
|
556
|
+
dimensions?: Record<string, __DocumentType> | undefined;
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* User token response
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
export interface UserToken {
|
|
563
|
+
access_token: string | undefined;
|
|
564
|
+
token_type: string | undefined;
|
|
565
|
+
expires_in: number | undefined;
|
|
566
|
+
refresh_token: string | undefined;
|
|
567
|
+
refresh_expires_in: number | undefined;
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* User information
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
export interface User {
|
|
574
|
+
user_id: string | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* List of organisations
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
organisations: (Organisation)[] | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* User token response
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
user_token?: UserToken | undefined;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
export interface ListDimensionsRequest {
|
|
590
|
+
/**
|
|
591
|
+
* Name of the organisation
|
|
592
|
+
* @public
|
|
593
|
+
*/
|
|
594
|
+
organisation: string | undefined;
|
|
595
|
+
/**
|
|
596
|
+
* Name of the application
|
|
597
|
+
* @public
|
|
598
|
+
*/
|
|
599
|
+
application: string | undefined;
|
|
600
|
+
page?: number | undefined;
|
|
601
|
+
count?: number | undefined;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface DimensionResponse {
|
|
607
|
+
/**
|
|
608
|
+
* Name of the dimension
|
|
609
|
+
* @public
|
|
610
|
+
*/
|
|
611
|
+
dimension: string | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* Description of the dimension
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
description: __DocumentType | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* Position of the dimension
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
position: number | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* Schema of the dimension
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
schema?: __DocumentType | undefined;
|
|
627
|
+
/**
|
|
628
|
+
* Reason for the change
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
change_reason: string | undefined;
|
|
632
|
+
mandatory?: boolean | undefined;
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
export interface ListDimensionsResponse {
|
|
638
|
+
total_pages?: number | undefined;
|
|
639
|
+
total_items?: number | undefined;
|
|
640
|
+
data?: (DimensionResponse)[] | undefined;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* List files request
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
export interface ListFilesRequest {
|
|
647
|
+
/**
|
|
648
|
+
* Page number for pagination
|
|
649
|
+
* @public
|
|
650
|
+
*/
|
|
651
|
+
page?: number | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* Number of files per page
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
656
|
+
per_page?: number | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* Search query to filter files
|
|
659
|
+
* @public
|
|
660
|
+
*/
|
|
661
|
+
search?: string | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Name of the organisation
|
|
664
|
+
* @public
|
|
665
|
+
*/
|
|
666
|
+
organisation: string | undefined;
|
|
667
|
+
/**
|
|
668
|
+
* Name of the application
|
|
669
|
+
* @public
|
|
670
|
+
*/
|
|
671
|
+
application: string | undefined;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* List files response
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
export interface ListFilesResponse {
|
|
678
|
+
/**
|
|
679
|
+
* Name of the organisation
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
organisation: string | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* Name of the application
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
application: string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* List of files
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
files: (CreateFileResponse)[] | undefined;
|
|
693
|
+
/**
|
|
694
|
+
* Total number of files
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
total: number | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* Current page number
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
page: number | undefined;
|
|
703
|
+
/**
|
|
704
|
+
* Number of files per page
|
|
705
|
+
* @public
|
|
706
|
+
*/
|
|
707
|
+
per_page: number | undefined;
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* List organisations response
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
export interface ListOrganisationsResponse {
|
|
714
|
+
/**
|
|
715
|
+
* List of organisations
|
|
716
|
+
* @public
|
|
717
|
+
*/
|
|
718
|
+
organisations: (Organisation)[] | undefined;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* List packages request
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
export interface ListPackagesRequest {
|
|
725
|
+
/**
|
|
726
|
+
* Offset for pagination
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
offset?: number | undefined;
|
|
730
|
+
/**
|
|
731
|
+
* Limit for pagination
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
limit?: number | undefined;
|
|
735
|
+
/**
|
|
736
|
+
* Name of the organisation
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
organisation: string | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* Name of the application
|
|
742
|
+
* @public
|
|
743
|
+
*/
|
|
744
|
+
application: string | undefined;
|
|
745
|
+
}
|
|
746
|
+
/**
|
|
747
|
+
* List packages response
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
export interface ListPackagesResponse {
|
|
751
|
+
/**
|
|
752
|
+
* List of packages
|
|
753
|
+
* @public
|
|
754
|
+
*/
|
|
755
|
+
packages: (Package)[] | undefined;
|
|
756
|
+
/**
|
|
757
|
+
* Number of page
|
|
758
|
+
* @public
|
|
759
|
+
*/
|
|
760
|
+
page_number: number | undefined;
|
|
761
|
+
/**
|
|
762
|
+
* Next offset for pagination
|
|
763
|
+
* @public
|
|
764
|
+
*/
|
|
765
|
+
next_offset?: number | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* Previous offset for pagination
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
prev_offset?: number | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* Total number of pages
|
|
773
|
+
* @public
|
|
774
|
+
*/
|
|
775
|
+
total_pages: number | undefined;
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
export interface ListReleasesRequest {
|
|
781
|
+
/**
|
|
782
|
+
* dimension to filter releases in format key1=value1;key2=value2
|
|
783
|
+
* @public
|
|
784
|
+
*/
|
|
785
|
+
dimension?: string | undefined;
|
|
786
|
+
/**
|
|
787
|
+
* Name of the organisation
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
790
|
+
organisation: string | undefined;
|
|
791
|
+
/**
|
|
792
|
+
* Name of the application
|
|
793
|
+
* @public
|
|
794
|
+
*/
|
|
795
|
+
application: string | undefined;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
export interface ListReleasesResponse {
|
|
801
|
+
/**
|
|
802
|
+
* List of releases
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
805
|
+
releases: (GetReleaseResponse)[] | undefined;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* User credentials for login
|
|
809
|
+
* @public
|
|
810
|
+
*/
|
|
811
|
+
export interface UserCredentials {
|
|
812
|
+
/**
|
|
813
|
+
* Gmail of the user
|
|
814
|
+
* @public
|
|
815
|
+
*/
|
|
816
|
+
client_id: string | undefined;
|
|
817
|
+
/**
|
|
818
|
+
* Password of the user
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
client_secret: string | undefined;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* Request organisation request
|
|
825
|
+
* @public
|
|
826
|
+
*/
|
|
827
|
+
export interface RequestOrganisationRequest {
|
|
828
|
+
/**
|
|
829
|
+
* Name of the organisation
|
|
830
|
+
* @public
|
|
831
|
+
*/
|
|
832
|
+
organisation_name: string | undefined;
|
|
833
|
+
/**
|
|
834
|
+
* Name of the requester
|
|
835
|
+
* @public
|
|
836
|
+
*/
|
|
837
|
+
name: string | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* Email of the requester
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
email: string | undefined;
|
|
843
|
+
/**
|
|
844
|
+
* Phone number of the requester
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
phone: string | undefined;
|
|
848
|
+
/**
|
|
849
|
+
* App store link
|
|
850
|
+
* @public
|
|
851
|
+
*/
|
|
852
|
+
app_store_link: string | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* Play store link
|
|
855
|
+
* @public
|
|
856
|
+
*/
|
|
857
|
+
play_store_link: string | undefined;
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Request organisation response
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
export interface RequestOrganisationResponse {
|
|
864
|
+
/**
|
|
865
|
+
* Name of the organisation
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
organisation_name: string | undefined;
|
|
869
|
+
/**
|
|
870
|
+
* Message indicating the status of the request
|
|
871
|
+
* @public
|
|
872
|
+
*/
|
|
873
|
+
message: string | undefined;
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* Input for get release operations
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
879
|
+
export interface GetServeReleaseInput {
|
|
880
|
+
organisation: string | undefined;
|
|
881
|
+
application: string | undefined;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* Release configuration
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
887
|
+
export interface ReleaseConfig {
|
|
888
|
+
config: GetReleaseConfig | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* Package information
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
package: Package | undefined;
|
|
894
|
+
resources: __DocumentType | undefined;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
export interface UpdateDimensionRequest {
|
|
900
|
+
/**
|
|
901
|
+
* Name of the dimension
|
|
902
|
+
* @public
|
|
903
|
+
*/
|
|
904
|
+
dimension: string | undefined;
|
|
905
|
+
/**
|
|
906
|
+
* Reason for the change
|
|
907
|
+
* @public
|
|
908
|
+
*/
|
|
909
|
+
change_reason: string | undefined;
|
|
910
|
+
/**
|
|
911
|
+
* New position of the dimension
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
position: number | undefined;
|
|
915
|
+
/**
|
|
916
|
+
* Name of the organisation
|
|
917
|
+
* @public
|
|
918
|
+
*/
|
|
919
|
+
organisation: string | undefined;
|
|
920
|
+
/**
|
|
921
|
+
* Name of the application
|
|
922
|
+
* @public
|
|
923
|
+
*/
|
|
924
|
+
application: string | undefined;
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* Upload file request
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
export interface UploadFileRequest {
|
|
931
|
+
/**
|
|
932
|
+
* File path of file to be uploaded
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
file: StreamingBlobTypes | undefined;
|
|
936
|
+
/**
|
|
937
|
+
* Path where the file will be stored on sdk
|
|
938
|
+
* @public
|
|
939
|
+
*/
|
|
940
|
+
file_path: string | undefined;
|
|
941
|
+
/**
|
|
942
|
+
* tag to identify the file
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
tag?: string | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* SHA-256 digest of the file, encoded in Base64, used by the server to verify the integrity of the uploaded file
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
950
|
+
checksum: string | undefined;
|
|
951
|
+
organisation: string | undefined;
|
|
952
|
+
/**
|
|
953
|
+
* Name of the application
|
|
954
|
+
* @public
|
|
955
|
+
*/
|
|
956
|
+
application: string | undefined;
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* @internal
|
|
960
|
+
*/
|
|
961
|
+
export declare const UploadFileRequestFilterSensitiveLog: (obj: UploadFileRequest) => any;
|