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.
Files changed (109) hide show
  1. package/dist-cjs/Airborne.js +51 -0
  2. package/dist-cjs/AirborneClient.js +47 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +49 -0
  5. package/dist-cjs/commands/CreateApplicationCommand.js +21 -0
  6. package/dist-cjs/commands/CreateDimensionCommand.js +21 -0
  7. package/dist-cjs/commands/CreateFileCommand.js +21 -0
  8. package/dist-cjs/commands/CreateOrganisationCommand.js +21 -0
  9. package/dist-cjs/commands/CreatePackageCommand.js +21 -0
  10. package/dist-cjs/commands/CreateReleaseCommand.js +21 -0
  11. package/dist-cjs/commands/DeleteDimensionCommand.js +21 -0
  12. package/dist-cjs/commands/GetReleaseCommand.js +21 -0
  13. package/dist-cjs/commands/GetUserCommand.js +21 -0
  14. package/dist-cjs/commands/ListDimensionsCommand.js +21 -0
  15. package/dist-cjs/commands/ListFilesCommand.js +21 -0
  16. package/dist-cjs/commands/ListOrganisationsCommand.js +21 -0
  17. package/dist-cjs/commands/ListPackagesCommand.js +21 -0
  18. package/dist-cjs/commands/ListReleasesCommand.js +21 -0
  19. package/dist-cjs/commands/PostLoginCommand.js +21 -0
  20. package/dist-cjs/commands/RequestOrganisationCommand.js +21 -0
  21. package/dist-cjs/commands/ServeReleaseCommand.js +21 -0
  22. package/dist-cjs/commands/ServeReleaseV2Command.js +21 -0
  23. package/dist-cjs/commands/UpdateDimensionCommand.js +21 -0
  24. package/dist-cjs/commands/UploadFileCommand.js +22 -0
  25. package/dist-cjs/commands/index.js +23 -0
  26. package/dist-cjs/extensionConfiguration.js +2 -0
  27. package/dist-cjs/index.js +10 -0
  28. package/dist-cjs/models/AirborneServiceException.js +12 -0
  29. package/dist-cjs/models/index.js +4 -0
  30. package/dist-cjs/models/models_0.js +77 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +953 -0
  32. package/dist-cjs/runtimeConfig.browser.js +32 -0
  33. package/dist-cjs/runtimeConfig.js +38 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +33 -0
  36. package/dist-cjs/runtimeExtensions.js +12 -0
  37. package/dist-es/Airborne.js +47 -0
  38. package/dist-es/AirborneClient.js +43 -0
  39. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  40. package/dist-es/auth/httpAuthSchemeProvider.js +43 -0
  41. package/dist-es/commands/CreateApplicationCommand.js +17 -0
  42. package/dist-es/commands/CreateDimensionCommand.js +17 -0
  43. package/dist-es/commands/CreateFileCommand.js +17 -0
  44. package/dist-es/commands/CreateOrganisationCommand.js +17 -0
  45. package/dist-es/commands/CreatePackageCommand.js +17 -0
  46. package/dist-es/commands/CreateReleaseCommand.js +17 -0
  47. package/dist-es/commands/DeleteDimensionCommand.js +17 -0
  48. package/dist-es/commands/GetReleaseCommand.js +17 -0
  49. package/dist-es/commands/GetUserCommand.js +17 -0
  50. package/dist-es/commands/ListDimensionsCommand.js +17 -0
  51. package/dist-es/commands/ListFilesCommand.js +17 -0
  52. package/dist-es/commands/ListOrganisationsCommand.js +17 -0
  53. package/dist-es/commands/ListPackagesCommand.js +17 -0
  54. package/dist-es/commands/ListReleasesCommand.js +17 -0
  55. package/dist-es/commands/PostLoginCommand.js +17 -0
  56. package/dist-es/commands/RequestOrganisationCommand.js +17 -0
  57. package/dist-es/commands/ServeReleaseCommand.js +17 -0
  58. package/dist-es/commands/ServeReleaseV2Command.js +17 -0
  59. package/dist-es/commands/UpdateDimensionCommand.js +17 -0
  60. package/dist-es/commands/UploadFileCommand.js +18 -0
  61. package/dist-es/commands/index.js +20 -0
  62. package/dist-es/extensionConfiguration.js +1 -0
  63. package/dist-es/index.js +5 -0
  64. package/dist-es/models/AirborneServiceException.js +8 -0
  65. package/dist-es/models/index.js +1 -0
  66. package/dist-es/models/models_0.js +68 -0
  67. package/dist-es/protocols/Aws_restJson1.js +910 -0
  68. package/dist-es/runtimeConfig.browser.js +27 -0
  69. package/dist-es/runtimeConfig.js +33 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +29 -0
  72. package/dist-es/runtimeExtensions.js +8 -0
  73. package/dist-types/Airborne.d.ts +152 -0
  74. package/dist-types/AirborneClient.d.ts +182 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
  77. package/dist-types/commands/CreateApplicationCommand.d.ts +91 -0
  78. package/dist-types/commands/CreateDimensionCommand.d.ts +95 -0
  79. package/dist-types/commands/CreateFileCommand.d.ts +100 -0
  80. package/dist-types/commands/CreateOrganisationCommand.d.ts +98 -0
  81. package/dist-types/commands/CreatePackageCommand.d.ts +97 -0
  82. package/dist-types/commands/CreateReleaseCommand.d.ts +152 -0
  83. package/dist-types/commands/DeleteDimensionCommand.d.ts +86 -0
  84. package/dist-types/commands/GetReleaseCommand.d.ts +139 -0
  85. package/dist-types/commands/GetUserCommand.d.ts +108 -0
  86. package/dist-types/commands/ListDimensionsCommand.d.ts +100 -0
  87. package/dist-types/commands/ListFilesCommand.d.ts +108 -0
  88. package/dist-types/commands/ListOrganisationsCommand.d.ts +100 -0
  89. package/dist-types/commands/ListPackagesCommand.d.ts +102 -0
  90. package/dist-types/commands/ListReleasesCommand.d.ts +143 -0
  91. package/dist-types/commands/PostLoginCommand.d.ts +111 -0
  92. package/dist-types/commands/RequestOrganisationCommand.d.ts +92 -0
  93. package/dist-types/commands/ServeReleaseCommand.d.ts +103 -0
  94. package/dist-types/commands/ServeReleaseV2Command.d.ts +103 -0
  95. package/dist-types/commands/UpdateDimensionCommand.d.ts +95 -0
  96. package/dist-types/commands/UploadFileCommand.d.ts +101 -0
  97. package/dist-types/commands/index.d.ts +20 -0
  98. package/dist-types/extensionConfiguration.d.ts +8 -0
  99. package/dist-types/index.d.ts +12 -0
  100. package/dist-types/models/AirborneServiceException.d.ts +14 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +961 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +182 -0
  104. package/dist-types/runtimeConfig.browser.d.ts +44 -0
  105. package/dist-types/runtimeConfig.d.ts +44 -0
  106. package/dist-types/runtimeConfig.native.d.ts +43 -0
  107. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  108. package/dist-types/runtimeExtensions.d.ts +17 -0
  109. package/package.json +81 -0
@@ -0,0 +1,139 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { GetReleaseRequest, GetReleaseResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetReleaseCommand}.
14
+ */
15
+ export interface GetReleaseCommandInput extends GetReleaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetReleaseCommand}.
21
+ */
22
+ export interface GetReleaseCommandOutput extends GetReleaseResponse, __MetadataBearer {
23
+ }
24
+ declare const GetReleaseCommand_base: {
25
+ new (input: GetReleaseCommandInput): import("@smithy/smithy-client").CommandImpl<GetReleaseCommandInput, GetReleaseCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetReleaseCommandInput): import("@smithy/smithy-client").CommandImpl<GetReleaseCommandInput, GetReleaseCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Release request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, GetReleaseCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, GetReleaseCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // GetReleaseRequest
38
+ * releaseId: "STRING_VALUE", // required
39
+ * organisation: "STRING_VALUE", // required
40
+ * application: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetReleaseCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetReleaseResponse
45
+ * // id: "STRING_VALUE",
46
+ * // created_at: "STRING_VALUE",
47
+ * // config: { // GetReleaseConfig
48
+ * // version: "STRING_VALUE", // required
49
+ * // release_config_timeout: Number("int"), // required
50
+ * // boot_timeout: Number("int"), // required
51
+ * // properties: { // ConfigProperties
52
+ * // tenant_info: "DOCUMENT_VALUE", // required
53
+ * // },
54
+ * // },
55
+ * // package: { // ServePackage
56
+ * // name: "STRING_VALUE",
57
+ * // version: "STRING_VALUE",
58
+ * // index: { // ServeFile
59
+ * // file_path: "STRING_VALUE",
60
+ * // url: "STRING_VALUE",
61
+ * // checksum: "STRING_VALUE",
62
+ * // },
63
+ * // properties: "DOCUMENT_VALUE",
64
+ * // important: [ // ServeFileList
65
+ * // {
66
+ * // file_path: "STRING_VALUE",
67
+ * // url: "STRING_VALUE",
68
+ * // checksum: "STRING_VALUE",
69
+ * // },
70
+ * // ],
71
+ * // lazy: [
72
+ * // {
73
+ * // file_path: "STRING_VALUE",
74
+ * // url: "STRING_VALUE",
75
+ * // checksum: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // resources: [
80
+ * // {
81
+ * // file_path: "STRING_VALUE",
82
+ * // url: "STRING_VALUE",
83
+ * // checksum: "STRING_VALUE",
84
+ * // },
85
+ * // ],
86
+ * // experiment: { // ReleaseExperiment
87
+ * // experiment_id: "STRING_VALUE",
88
+ * // package_version: Number("int"),
89
+ * // config_version: "STRING_VALUE",
90
+ * // created_at: "STRING_VALUE",
91
+ * // traffic_percentage: Number("int"),
92
+ * // status: "STRING_VALUE",
93
+ * // },
94
+ * // dimensions: { // DimensionsMap
95
+ * // "<keys>": "DOCUMENT_VALUE",
96
+ * // },
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param GetReleaseCommandInput - {@link GetReleaseCommandInput}
102
+ * @returns {@link GetReleaseCommandOutput}
103
+ * @see {@link GetReleaseCommandInput} for command's `input` shape.
104
+ * @see {@link GetReleaseCommandOutput} for command's `response` shape.
105
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
106
+ *
107
+ * @throws {@link Unauthorized} (client fault)
108
+ * Unauthorized error
109
+ *
110
+ * @throws {@link BadRequestError} (client fault)
111
+ * Bad request error
112
+ *
113
+ * @throws {@link NotFoundError} (client fault)
114
+ * Not found error
115
+ *
116
+ * @throws {@link InternalServerError} (server fault)
117
+ * Internal server error
118
+ *
119
+ * @throws {@link ForbiddenError} (client fault)
120
+ *
121
+ * @throws {@link AirborneServiceException}
122
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
123
+ *
124
+ *
125
+ * @public
126
+ */
127
+ export declare class GetReleaseCommand extends GetReleaseCommand_base {
128
+ /** @internal type navigation helper, not in runtime. */
129
+ protected static __types: {
130
+ api: {
131
+ input: GetReleaseRequest;
132
+ output: GetReleaseResponse;
133
+ };
134
+ sdk: {
135
+ input: GetReleaseCommandInput;
136
+ output: GetReleaseCommandOutput;
137
+ };
138
+ };
139
+ }
@@ -0,0 +1,108 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { User } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetUserCommand}.
14
+ */
15
+ export interface GetUserCommandInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetUserCommand}.
21
+ */
22
+ export interface GetUserCommandOutput extends User, __MetadataBearer {
23
+ }
24
+ declare const GetUserCommand_base: {
25
+ new (input: GetUserCommandInput): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetUserCommandInput]): import("@smithy/smithy-client").CommandImpl<GetUserCommandInput, GetUserCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Get user request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, GetUserCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, GetUserCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = {};
38
+ * const command = new GetUserCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // User
41
+ * // user_id: "STRING_VALUE", // required
42
+ * // organisations: [ // Organisations // required
43
+ * // { // Organisation
44
+ * // name: "STRING_VALUE", // required
45
+ * // applications: [ // Applications // required
46
+ * // { // Application
47
+ * // application: "STRING_VALUE", // required
48
+ * // organisation: "STRING_VALUE", // required
49
+ * // access: [ // StringList // required
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // },
53
+ * // ],
54
+ * // access: [ // required
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // },
58
+ * // ],
59
+ * // user_token: { // UserToken
60
+ * // access_token: "STRING_VALUE", // required
61
+ * // token_type: "STRING_VALUE", // required
62
+ * // expires_in: Number("long"), // required
63
+ * // refresh_token: "STRING_VALUE", // required
64
+ * // refresh_expires_in: Number("long"), // required
65
+ * // },
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param GetUserCommandInput - {@link GetUserCommandInput}
71
+ * @returns {@link GetUserCommandOutput}
72
+ * @see {@link GetUserCommandInput} for command's `input` shape.
73
+ * @see {@link GetUserCommandOutput} for command's `response` shape.
74
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
75
+ *
76
+ * @throws {@link Unauthorized} (client fault)
77
+ * Unauthorized error
78
+ *
79
+ * @throws {@link BadRequestError} (client fault)
80
+ * Bad request error
81
+ *
82
+ * @throws {@link NotFoundError} (client fault)
83
+ * Not found error
84
+ *
85
+ * @throws {@link InternalServerError} (server fault)
86
+ * Internal server error
87
+ *
88
+ * @throws {@link ForbiddenError} (client fault)
89
+ *
90
+ * @throws {@link AirborneServiceException}
91
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class GetUserCommand extends GetUserCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: {};
101
+ output: User;
102
+ };
103
+ sdk: {
104
+ input: GetUserCommandInput;
105
+ output: GetUserCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -0,0 +1,100 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { ListDimensionsRequest, ListDimensionsResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDimensionsCommand}.
14
+ */
15
+ export interface ListDimensionsCommandInput extends ListDimensionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDimensionsCommand}.
21
+ */
22
+ export interface ListDimensionsCommandOutput extends ListDimensionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDimensionsCommand_base: {
25
+ new (input: ListDimensionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDimensionsCommandInput, ListDimensionsCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListDimensionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDimensionsCommandInput, ListDimensionsCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List dimensions request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, ListDimensionsCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, ListDimensionsCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // ListDimensionsRequest
38
+ * organisation: "STRING_VALUE", // required
39
+ * application: "STRING_VALUE", // required
40
+ * page: Number("int"),
41
+ * count: Number("int"),
42
+ * };
43
+ * const command = new ListDimensionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListDimensionsResponse
46
+ * // total_pages: Number("int"),
47
+ * // total_items: Number("int"),
48
+ * // data: [ // DimensionList
49
+ * // { // DimensionResponse
50
+ * // dimension: "STRING_VALUE", // required
51
+ * // description: "DOCUMENT_VALUE", // required
52
+ * // position: Number("int"), // required
53
+ * // schema: "DOCUMENT_VALUE",
54
+ * // change_reason: "STRING_VALUE", // required
55
+ * // mandatory: true || false,
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListDimensionsCommandInput - {@link ListDimensionsCommandInput}
63
+ * @returns {@link ListDimensionsCommandOutput}
64
+ * @see {@link ListDimensionsCommandInput} for command's `input` shape.
65
+ * @see {@link ListDimensionsCommandOutput} for command's `response` shape.
66
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
67
+ *
68
+ * @throws {@link BadRequestError} (client fault)
69
+ * Bad request error
70
+ *
71
+ * @throws {@link Unauthorized} (client fault)
72
+ * Unauthorized error
73
+ *
74
+ * @throws {@link NotFoundError} (client fault)
75
+ * Not found error
76
+ *
77
+ * @throws {@link InternalServerError} (server fault)
78
+ * Internal server error
79
+ *
80
+ * @throws {@link ForbiddenError} (client fault)
81
+ *
82
+ * @throws {@link AirborneServiceException}
83
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListDimensionsCommand extends ListDimensionsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListDimensionsRequest;
93
+ output: ListDimensionsResponse;
94
+ };
95
+ sdk: {
96
+ input: ListDimensionsCommandInput;
97
+ output: ListDimensionsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,108 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { ListFilesRequest, ListFilesResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListFilesCommand}.
14
+ */
15
+ export interface ListFilesCommandInput extends ListFilesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListFilesCommand}.
21
+ */
22
+ export interface ListFilesCommandOutput extends ListFilesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListFilesCommand_base: {
25
+ new (input: ListFilesCommandInput): import("@smithy/smithy-client").CommandImpl<ListFilesCommandInput, ListFilesCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListFilesCommandInput): import("@smithy/smithy-client").CommandImpl<ListFilesCommandInput, ListFilesCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List files request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, ListFilesCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, ListFilesCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // ListFilesRequest
38
+ * page: Number("int"),
39
+ * per_page: Number("int"),
40
+ * search: "STRING_VALUE",
41
+ * organisation: "STRING_VALUE", // required
42
+ * application: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new ListFilesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListFilesResponse
47
+ * // organisation: "STRING_VALUE", // required
48
+ * // application: "STRING_VALUE", // required
49
+ * // files: [ // FileResponseList // required
50
+ * // { // CreateFileResponse
51
+ * // id: "STRING_VALUE", // required
52
+ * // file_path: "STRING_VALUE", // required
53
+ * // url: "STRING_VALUE", // required
54
+ * // version: Number("int"), // required
55
+ * // tag: "STRING_VALUE",
56
+ * // size: Number("int"), // required
57
+ * // checksum: "STRING_VALUE", // required
58
+ * // metadata: "DOCUMENT_VALUE", // required
59
+ * // status: "STRING_VALUE", // required
60
+ * // created_at: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // total: Number("int"), // required
64
+ * // page: Number("int"), // required
65
+ * // per_page: Number("int"), // required
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListFilesCommandInput - {@link ListFilesCommandInput}
71
+ * @returns {@link ListFilesCommandOutput}
72
+ * @see {@link ListFilesCommandInput} for command's `input` shape.
73
+ * @see {@link ListFilesCommandOutput} for command's `response` shape.
74
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
75
+ *
76
+ * @throws {@link Unauthorized} (client fault)
77
+ * Unauthorized error
78
+ *
79
+ * @throws {@link BadRequestError} (client fault)
80
+ * Bad request error
81
+ *
82
+ * @throws {@link NotFoundError} (client fault)
83
+ * Not found error
84
+ *
85
+ * @throws {@link InternalServerError} (server fault)
86
+ * Internal server error
87
+ *
88
+ * @throws {@link ForbiddenError} (client fault)
89
+ *
90
+ * @throws {@link AirborneServiceException}
91
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class ListFilesCommand extends ListFilesCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ListFilesRequest;
101
+ output: ListFilesResponse;
102
+ };
103
+ sdk: {
104
+ input: ListFilesCommandInput;
105
+ output: ListFilesCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -0,0 +1,100 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { ListOrganisationsResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListOrganisationsCommand}.
14
+ */
15
+ export interface ListOrganisationsCommandInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListOrganisationsCommand}.
21
+ */
22
+ export interface ListOrganisationsCommandOutput extends ListOrganisationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListOrganisationsCommand_base: {
25
+ new (input: ListOrganisationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListOrganisationsCommandInput, ListOrganisationsCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListOrganisationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListOrganisationsCommandInput, ListOrganisationsCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List organisations request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, ListOrganisationsCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, ListOrganisationsCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = {};
38
+ * const command = new ListOrganisationsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListOrganisationsResponse
41
+ * // organisations: [ // Organisations // required
42
+ * // { // Organisation
43
+ * // name: "STRING_VALUE", // required
44
+ * // applications: [ // Applications // required
45
+ * // { // Application
46
+ * // application: "STRING_VALUE", // required
47
+ * // organisation: "STRING_VALUE", // required
48
+ * // access: [ // StringList // required
49
+ * // "STRING_VALUE",
50
+ * // ],
51
+ * // },
52
+ * // ],
53
+ * // access: [ // required
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListOrganisationsCommandInput - {@link ListOrganisationsCommandInput}
63
+ * @returns {@link ListOrganisationsCommandOutput}
64
+ * @see {@link ListOrganisationsCommandInput} for command's `input` shape.
65
+ * @see {@link ListOrganisationsCommandOutput} for command's `response` shape.
66
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
67
+ *
68
+ * @throws {@link Unauthorized} (client fault)
69
+ * Unauthorized error
70
+ *
71
+ * @throws {@link BadRequestError} (client fault)
72
+ * Bad request error
73
+ *
74
+ * @throws {@link NotFoundError} (client fault)
75
+ * Not found error
76
+ *
77
+ * @throws {@link InternalServerError} (server fault)
78
+ * Internal server error
79
+ *
80
+ * @throws {@link ForbiddenError} (client fault)
81
+ *
82
+ * @throws {@link AirborneServiceException}
83
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListOrganisationsCommand extends ListOrganisationsCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: {};
93
+ output: ListOrganisationsResponse;
94
+ };
95
+ sdk: {
96
+ input: ListOrganisationsCommandInput;
97
+ output: ListOrganisationsCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,102 @@
1
+ import { AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AirborneClient";
2
+ import { ListPackagesRequest, ListPackagesResponse } from "../models/models_0";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPackagesCommand}.
14
+ */
15
+ export interface ListPackagesCommandInput extends ListPackagesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPackagesCommand}.
21
+ */
22
+ export interface ListPackagesCommandOutput extends ListPackagesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPackagesCommand_base: {
25
+ new (input: ListPackagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackagesCommandInput, ListPackagesCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListPackagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListPackagesCommandInput, ListPackagesCommandOutput, AirborneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List packages request operation
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { AirborneClient, ListPackagesCommand } from "airborne-server-sdk"; // ES Modules import
35
+ * // const { AirborneClient, ListPackagesCommand } = require("airborne-server-sdk"); // CommonJS import
36
+ * const client = new AirborneClient(config);
37
+ * const input = { // ListPackagesRequest
38
+ * offset: Number("int"),
39
+ * limit: Number("int"),
40
+ * organisation: "STRING_VALUE", // required
41
+ * application: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new ListPackagesCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListPackagesResponse
46
+ * // packages: [ // PackageList // required
47
+ * // { // Package
48
+ * // tag: "STRING_VALUE",
49
+ * // version: Number("int"), // required
50
+ * // index: "STRING_VALUE", // required
51
+ * // files: [ // StringList // required
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // },
55
+ * // ],
56
+ * // page_number: Number("int"), // required
57
+ * // next_offset: Number("int"),
58
+ * // prev_offset: Number("int"),
59
+ * // total_pages: Number("int"), // required
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListPackagesCommandInput - {@link ListPackagesCommandInput}
65
+ * @returns {@link ListPackagesCommandOutput}
66
+ * @see {@link ListPackagesCommandInput} for command's `input` shape.
67
+ * @see {@link ListPackagesCommandOutput} for command's `response` shape.
68
+ * @see {@link AirborneClientResolvedConfig | config} for AirborneClient's `config` shape.
69
+ *
70
+ * @throws {@link Unauthorized} (client fault)
71
+ * Unauthorized error
72
+ *
73
+ * @throws {@link BadRequestError} (client fault)
74
+ * Bad request error
75
+ *
76
+ * @throws {@link NotFoundError} (client fault)
77
+ * Not found error
78
+ *
79
+ * @throws {@link InternalServerError} (server fault)
80
+ * Internal server error
81
+ *
82
+ * @throws {@link ForbiddenError} (client fault)
83
+ *
84
+ * @throws {@link AirborneServiceException}
85
+ * <p>Base exception class for all service exceptions from Airborne service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListPackagesCommand extends ListPackagesCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListPackagesRequest;
95
+ output: ListPackagesResponse;
96
+ };
97
+ sdk: {
98
+ input: ListPackagesCommandInput;
99
+ output: ListPackagesCommandOutput;
100
+ };
101
+ };
102
+ }