@flashstart/client 0.1.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/README.md +37 -0
- package/dist/src/generated/client/client.gen.d.ts +2 -0
- package/dist/src/generated/client/client.gen.js +216 -0
- package/dist/src/generated/client/index.d.ts +10 -0
- package/dist/src/generated/client/index.js +6 -0
- package/dist/src/generated/client/types.gen.d.ts +120 -0
- package/dist/src/generated/client/types.gen.js +2 -0
- package/dist/src/generated/client/utils.gen.d.ts +37 -0
- package/dist/src/generated/client/utils.gen.js +228 -0
- package/dist/src/generated/client.gen.d.ts +12 -0
- package/dist/src/generated/client.gen.js +3 -0
- package/dist/src/generated/core/auth.gen.d.ts +25 -0
- package/dist/src/generated/core/auth.gen.js +14 -0
- package/dist/src/generated/core/bodySerializer.gen.d.ts +25 -0
- package/dist/src/generated/core/bodySerializer.gen.js +57 -0
- package/dist/src/generated/core/params.gen.d.ts +43 -0
- package/dist/src/generated/core/params.gen.js +109 -0
- package/dist/src/generated/core/pathSerializer.gen.d.ts +33 -0
- package/dist/src/generated/core/pathSerializer.gen.js +106 -0
- package/dist/src/generated/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/src/generated/core/queryKeySerializer.gen.js +92 -0
- package/dist/src/generated/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/src/generated/core/serverSentEvents.gen.js +132 -0
- package/dist/src/generated/core/types.gen.d.ts +83 -0
- package/dist/src/generated/core/types.gen.js +2 -0
- package/dist/src/generated/core/utils.gen.d.ts +19 -0
- package/dist/src/generated/core/utils.gen.js +87 -0
- package/dist/src/generated/index.d.ts +2 -0
- package/dist/src/generated/index.js +2 -0
- package/dist/src/generated/network/client/client.gen.d.ts +2 -0
- package/dist/src/generated/network/client/client.gen.js +216 -0
- package/dist/src/generated/network/client/index.d.ts +10 -0
- package/dist/src/generated/network/client/index.js +6 -0
- package/dist/src/generated/network/client/types.gen.d.ts +120 -0
- package/dist/src/generated/network/client/types.gen.js +2 -0
- package/dist/src/generated/network/client/utils.gen.d.ts +37 -0
- package/dist/src/generated/network/client/utils.gen.js +228 -0
- package/dist/src/generated/network/client.gen.d.ts +12 -0
- package/dist/src/generated/network/client.gen.js +3 -0
- package/dist/src/generated/network/core/auth.gen.d.ts +25 -0
- package/dist/src/generated/network/core/auth.gen.js +14 -0
- package/dist/src/generated/network/core/bodySerializer.gen.d.ts +25 -0
- package/dist/src/generated/network/core/bodySerializer.gen.js +57 -0
- package/dist/src/generated/network/core/params.gen.d.ts +43 -0
- package/dist/src/generated/network/core/params.gen.js +109 -0
- package/dist/src/generated/network/core/pathSerializer.gen.d.ts +33 -0
- package/dist/src/generated/network/core/pathSerializer.gen.js +106 -0
- package/dist/src/generated/network/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/src/generated/network/core/queryKeySerializer.gen.js +92 -0
- package/dist/src/generated/network/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/src/generated/network/core/serverSentEvents.gen.js +132 -0
- package/dist/src/generated/network/core/types.gen.d.ts +83 -0
- package/dist/src/generated/network/core/types.gen.js +2 -0
- package/dist/src/generated/network/core/utils.gen.d.ts +19 -0
- package/dist/src/generated/network/core/utils.gen.js +87 -0
- package/dist/src/generated/network/index.d.ts +2 -0
- package/dist/src/generated/network/index.js +2 -0
- package/dist/src/generated/network/sdk.gen.d.ts +135 -0
- package/dist/src/generated/network/sdk.gen.js +339 -0
- package/dist/src/generated/network/types.gen.d.ts +1188 -0
- package/dist/src/generated/network/types.gen.js +2 -0
- package/dist/src/generated/protection/client/client.gen.d.ts +2 -0
- package/dist/src/generated/protection/client/client.gen.js +216 -0
- package/dist/src/generated/protection/client/index.d.ts +10 -0
- package/dist/src/generated/protection/client/index.js +6 -0
- package/dist/src/generated/protection/client/types.gen.d.ts +120 -0
- package/dist/src/generated/protection/client/types.gen.js +2 -0
- package/dist/src/generated/protection/client/utils.gen.d.ts +37 -0
- package/dist/src/generated/protection/client/utils.gen.js +228 -0
- package/dist/src/generated/protection/client.gen.d.ts +12 -0
- package/dist/src/generated/protection/client.gen.js +3 -0
- package/dist/src/generated/protection/core/auth.gen.d.ts +25 -0
- package/dist/src/generated/protection/core/auth.gen.js +14 -0
- package/dist/src/generated/protection/core/bodySerializer.gen.d.ts +25 -0
- package/dist/src/generated/protection/core/bodySerializer.gen.js +57 -0
- package/dist/src/generated/protection/core/params.gen.d.ts +43 -0
- package/dist/src/generated/protection/core/params.gen.js +109 -0
- package/dist/src/generated/protection/core/pathSerializer.gen.d.ts +33 -0
- package/dist/src/generated/protection/core/pathSerializer.gen.js +106 -0
- package/dist/src/generated/protection/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/src/generated/protection/core/queryKeySerializer.gen.js +92 -0
- package/dist/src/generated/protection/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/src/generated/protection/core/serverSentEvents.gen.js +132 -0
- package/dist/src/generated/protection/core/types.gen.d.ts +83 -0
- package/dist/src/generated/protection/core/types.gen.js +2 -0
- package/dist/src/generated/protection/core/utils.gen.d.ts +19 -0
- package/dist/src/generated/protection/core/utils.gen.js +87 -0
- package/dist/src/generated/protection/index.d.ts +2 -0
- package/dist/src/generated/protection/index.js +2 -0
- package/dist/src/generated/protection/sdk.gen.d.ts +255 -0
- package/dist/src/generated/protection/sdk.gen.js +663 -0
- package/dist/src/generated/protection/types.gen.d.ts +2199 -0
- package/dist/src/generated/protection/types.gen.js +2 -0
- package/dist/src/generated/sdk.gen.d.ts +91 -0
- package/dist/src/generated/sdk.gen.js +206 -0
- package/dist/src/generated/types.gen.d.ts +909 -0
- package/dist/src/generated/types.gen.js +2 -0
- package/dist/src/index.d.ts +50 -0
- package/dist/src/index.js +85 -0
- package/package.json +34 -0
|
@@ -0,0 +1,909 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://core.flashstart.com/network' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type Uuid = string;
|
|
5
|
+
export type BaseNetworkCreation = {
|
|
6
|
+
name: string;
|
|
7
|
+
note?: string;
|
|
8
|
+
organizationId?: Uuid;
|
|
9
|
+
};
|
|
10
|
+
export type SingleStaticNetworkCreation = BaseNetworkCreation & {
|
|
11
|
+
ip: string;
|
|
12
|
+
};
|
|
13
|
+
export type CidrStaticNetworkCreation = BaseNetworkCreation & {
|
|
14
|
+
cidr: string;
|
|
15
|
+
};
|
|
16
|
+
export type RangeStaticNetworkCreation = BaseNetworkCreation & {
|
|
17
|
+
rangeIp: RangeIp;
|
|
18
|
+
};
|
|
19
|
+
export type InternalDynamicNetworkCreation = BaseNetworkCreation & {
|
|
20
|
+
ddns: Ddns;
|
|
21
|
+
};
|
|
22
|
+
export type ExternalDynamicNetworkCreation = BaseNetworkCreation & {
|
|
23
|
+
domain: string;
|
|
24
|
+
};
|
|
25
|
+
export type EncryptedNetworkCreation = BaseNetworkCreation & {
|
|
26
|
+
policyId: Uuid;
|
|
27
|
+
tag?: string;
|
|
28
|
+
};
|
|
29
|
+
export type StaticNetworkUpdate = {
|
|
30
|
+
name?: string;
|
|
31
|
+
note?: string;
|
|
32
|
+
};
|
|
33
|
+
export type InternalDynamicNetworkUpdate = StaticNetworkUpdate & {
|
|
34
|
+
ddns?: DdnsUpdate;
|
|
35
|
+
};
|
|
36
|
+
export type ExternalDynamicNetworkUpdate = StaticNetworkUpdate & {
|
|
37
|
+
domain?: string;
|
|
38
|
+
dynamicIp?: string;
|
|
39
|
+
};
|
|
40
|
+
export type RangeIp = {
|
|
41
|
+
start: string;
|
|
42
|
+
end: string;
|
|
43
|
+
};
|
|
44
|
+
export type Ddns = {
|
|
45
|
+
username: string;
|
|
46
|
+
password: string;
|
|
47
|
+
lastSync?: string | null;
|
|
48
|
+
};
|
|
49
|
+
export type DdnsUpdate = {
|
|
50
|
+
username?: string;
|
|
51
|
+
password?: string;
|
|
52
|
+
};
|
|
53
|
+
export type Network = ({
|
|
54
|
+
type: 'STATIC_SINGLE';
|
|
55
|
+
} & SingleStaticNetwork) | ({
|
|
56
|
+
type: 'STATIC_CIDR';
|
|
57
|
+
} & CidrStaticNetwork) | ({
|
|
58
|
+
type: 'STATIC_RANGE';
|
|
59
|
+
} & RangeStaticNetwork) | ({
|
|
60
|
+
type: 'DYNAMIC_INTERNAL';
|
|
61
|
+
} & InternalDynamicNetwork) | ({
|
|
62
|
+
type: 'DYNAMIC_EXTERNAL';
|
|
63
|
+
} & ExternalDynamicNetwork) | ({
|
|
64
|
+
type: 'STATIC_ENCRYPTED';
|
|
65
|
+
} & EncryptedNetwork);
|
|
66
|
+
export type BaseNetwork = {
|
|
67
|
+
id: Uuid;
|
|
68
|
+
type: 'STATIC_SINGLE' | 'STATIC_CIDR' | 'STATIC_RANGE' | 'DYNAMIC_INTERNAL' | 'DYNAMIC_EXTERNAL' | 'STATIC_ENCRYPTED';
|
|
69
|
+
name: string;
|
|
70
|
+
note: string | null;
|
|
71
|
+
organizationId: Uuid;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
lastQueriedAt?: string | null;
|
|
75
|
+
};
|
|
76
|
+
export type SingleStaticNetwork = BaseNetwork & {
|
|
77
|
+
type?: 'STATIC_SINGLE';
|
|
78
|
+
ip: string;
|
|
79
|
+
};
|
|
80
|
+
export type CidrStaticNetwork = BaseNetwork & {
|
|
81
|
+
type?: 'STATIC_CIDR';
|
|
82
|
+
cidr: string;
|
|
83
|
+
};
|
|
84
|
+
export type RangeStaticNetwork = BaseNetwork & {
|
|
85
|
+
type?: 'STATIC_RANGE';
|
|
86
|
+
rangeIp: RangeIp;
|
|
87
|
+
};
|
|
88
|
+
export type InternalDynamicNetwork = BaseNetwork & {
|
|
89
|
+
type?: 'DYNAMIC_INTERNAL';
|
|
90
|
+
ddns: Ddns;
|
|
91
|
+
dynamicIp: string;
|
|
92
|
+
};
|
|
93
|
+
export type ExternalDynamicNetwork = BaseNetwork & {
|
|
94
|
+
type?: 'DYNAMIC_EXTERNAL';
|
|
95
|
+
domain: string;
|
|
96
|
+
dynamicIp: string;
|
|
97
|
+
lastChanged?: string | null;
|
|
98
|
+
};
|
|
99
|
+
export type EncryptedNetwork = BaseNetwork & {
|
|
100
|
+
type?: 'STATIC_ENCRYPTED';
|
|
101
|
+
tag: string;
|
|
102
|
+
policyId: Uuid;
|
|
103
|
+
};
|
|
104
|
+
export type Policy = {
|
|
105
|
+
id: Uuid;
|
|
106
|
+
isLimited: boolean;
|
|
107
|
+
isShared: boolean;
|
|
108
|
+
name: string;
|
|
109
|
+
organizationId: Uuid;
|
|
110
|
+
};
|
|
111
|
+
export type NetworkWithPolicies = {
|
|
112
|
+
network: Network;
|
|
113
|
+
policies: Array<NetworkPolicy>;
|
|
114
|
+
};
|
|
115
|
+
export type NetworkResult = Network | NetworkWithPolicies;
|
|
116
|
+
export type NetworkDns = {
|
|
117
|
+
id: Uuid;
|
|
118
|
+
port: number;
|
|
119
|
+
primaryDNSv4: string;
|
|
120
|
+
secondaryDNSv4: string;
|
|
121
|
+
primaryDNSv6: string;
|
|
122
|
+
secondaryDNSv6: string;
|
|
123
|
+
};
|
|
124
|
+
export type NetworkPolicyCreation = {
|
|
125
|
+
policyId: Uuid;
|
|
126
|
+
dnsId: Uuid;
|
|
127
|
+
note?: string;
|
|
128
|
+
} | {
|
|
129
|
+
policyId: Uuid;
|
|
130
|
+
dnsPort: number;
|
|
131
|
+
note?: string;
|
|
132
|
+
};
|
|
133
|
+
export type NetworkPolicy = {
|
|
134
|
+
id: string | null;
|
|
135
|
+
networkId: Uuid;
|
|
136
|
+
dns: NetworkDns | null;
|
|
137
|
+
policy: Policy;
|
|
138
|
+
tag?: string | null;
|
|
139
|
+
note: string | null;
|
|
140
|
+
};
|
|
141
|
+
export type FlashStartErrorBody = {
|
|
142
|
+
code: string;
|
|
143
|
+
message?: string;
|
|
144
|
+
details?: unknown;
|
|
145
|
+
};
|
|
146
|
+
export type MissingCredentialsErrorBody = {
|
|
147
|
+
message: string;
|
|
148
|
+
};
|
|
149
|
+
export type NetworkId = string;
|
|
150
|
+
export type PolicyId = string;
|
|
151
|
+
export type OrganizationId = string;
|
|
152
|
+
export type IncludePolicies = boolean;
|
|
153
|
+
export type SingleStaticNetworkCreation2 = SingleStaticNetworkCreation;
|
|
154
|
+
export type CidrStaticNetworkCreation2 = CidrStaticNetworkCreation;
|
|
155
|
+
export type RangeStaticNetworkCreation2 = RangeStaticNetworkCreation;
|
|
156
|
+
export type InternalDynamicNetworkCreation2 = InternalDynamicNetworkCreation;
|
|
157
|
+
export type ExternalDynamicNetworkCreation2 = ExternalDynamicNetworkCreation;
|
|
158
|
+
export type EncryptedNetworkCreation2 = EncryptedNetworkCreation;
|
|
159
|
+
export type StaticNetworkUpdate2 = StaticNetworkUpdate;
|
|
160
|
+
export type InternalDynamicNetworkUpdate2 = InternalDynamicNetworkUpdate;
|
|
161
|
+
export type ExternalDynamicNetworkUpdate2 = ExternalDynamicNetworkUpdate;
|
|
162
|
+
export type ListNetworksData = {
|
|
163
|
+
body?: never;
|
|
164
|
+
path?: never;
|
|
165
|
+
query?: {
|
|
166
|
+
organizationId?: string;
|
|
167
|
+
includePolicies?: boolean;
|
|
168
|
+
};
|
|
169
|
+
url: '/v1/';
|
|
170
|
+
};
|
|
171
|
+
export type ListNetworksErrors = {
|
|
172
|
+
/**
|
|
173
|
+
* Invalid request
|
|
174
|
+
*/
|
|
175
|
+
400: FlashStartErrorBody;
|
|
176
|
+
/**
|
|
177
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
178
|
+
*/
|
|
179
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
180
|
+
/**
|
|
181
|
+
* Insufficient permission
|
|
182
|
+
*/
|
|
183
|
+
403: FlashStartErrorBody;
|
|
184
|
+
/**
|
|
185
|
+
* Invalid request
|
|
186
|
+
*/
|
|
187
|
+
422: FlashStartErrorBody;
|
|
188
|
+
/**
|
|
189
|
+
* Internal server error
|
|
190
|
+
*/
|
|
191
|
+
500: FlashStartErrorBody;
|
|
192
|
+
};
|
|
193
|
+
export type ListNetworksError = ListNetworksErrors[keyof ListNetworksErrors];
|
|
194
|
+
export type ListNetworksResponses = {
|
|
195
|
+
/**
|
|
196
|
+
* Networks
|
|
197
|
+
*/
|
|
198
|
+
200: Array<NetworkResult>;
|
|
199
|
+
};
|
|
200
|
+
export type ListNetworksResponse = ListNetworksResponses[keyof ListNetworksResponses];
|
|
201
|
+
export type ListNetworkDnsData = {
|
|
202
|
+
body?: never;
|
|
203
|
+
path?: never;
|
|
204
|
+
query?: never;
|
|
205
|
+
url: '/v1/dns';
|
|
206
|
+
};
|
|
207
|
+
export type ListNetworkDnsErrors = {
|
|
208
|
+
/**
|
|
209
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
210
|
+
*/
|
|
211
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
212
|
+
/**
|
|
213
|
+
* Insufficient permission
|
|
214
|
+
*/
|
|
215
|
+
403: FlashStartErrorBody;
|
|
216
|
+
/**
|
|
217
|
+
* Internal server error
|
|
218
|
+
*/
|
|
219
|
+
500: FlashStartErrorBody;
|
|
220
|
+
};
|
|
221
|
+
export type ListNetworkDnsError = ListNetworkDnsErrors[keyof ListNetworkDnsErrors];
|
|
222
|
+
export type ListNetworkDnsResponses = {
|
|
223
|
+
/**
|
|
224
|
+
* Network DNS entries
|
|
225
|
+
*/
|
|
226
|
+
200: Array<NetworkDns>;
|
|
227
|
+
};
|
|
228
|
+
export type ListNetworkDnsResponse = ListNetworkDnsResponses[keyof ListNetworkDnsResponses];
|
|
229
|
+
export type ListAvailableNetworkDnsData = {
|
|
230
|
+
body?: never;
|
|
231
|
+
path: {
|
|
232
|
+
networkId: string;
|
|
233
|
+
};
|
|
234
|
+
query?: never;
|
|
235
|
+
url: '/v1/{networkId}/dns/available';
|
|
236
|
+
};
|
|
237
|
+
export type ListAvailableNetworkDnsErrors = {
|
|
238
|
+
/**
|
|
239
|
+
* Invalid request
|
|
240
|
+
*/
|
|
241
|
+
400: FlashStartErrorBody;
|
|
242
|
+
/**
|
|
243
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
244
|
+
*/
|
|
245
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
246
|
+
/**
|
|
247
|
+
* Insufficient permission
|
|
248
|
+
*/
|
|
249
|
+
403: FlashStartErrorBody;
|
|
250
|
+
/**
|
|
251
|
+
* Resource not found
|
|
252
|
+
*/
|
|
253
|
+
404: FlashStartErrorBody;
|
|
254
|
+
/**
|
|
255
|
+
* Invalid request
|
|
256
|
+
*/
|
|
257
|
+
422: FlashStartErrorBody;
|
|
258
|
+
/**
|
|
259
|
+
* Internal server error
|
|
260
|
+
*/
|
|
261
|
+
500: FlashStartErrorBody;
|
|
262
|
+
};
|
|
263
|
+
export type ListAvailableNetworkDnsError = ListAvailableNetworkDnsErrors[keyof ListAvailableNetworkDnsErrors];
|
|
264
|
+
export type ListAvailableNetworkDnsResponses = {
|
|
265
|
+
/**
|
|
266
|
+
* Available DNS entries
|
|
267
|
+
*/
|
|
268
|
+
200: Array<NetworkDns>;
|
|
269
|
+
};
|
|
270
|
+
export type ListAvailableNetworkDnsResponse = ListAvailableNetworkDnsResponses[keyof ListAvailableNetworkDnsResponses];
|
|
271
|
+
export type DeleteNetworkData = {
|
|
272
|
+
body?: never;
|
|
273
|
+
path: {
|
|
274
|
+
networkId: string;
|
|
275
|
+
};
|
|
276
|
+
query?: never;
|
|
277
|
+
url: '/v1/{networkId}';
|
|
278
|
+
};
|
|
279
|
+
export type DeleteNetworkErrors = {
|
|
280
|
+
/**
|
|
281
|
+
* Invalid request
|
|
282
|
+
*/
|
|
283
|
+
400: FlashStartErrorBody;
|
|
284
|
+
/**
|
|
285
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
286
|
+
*/
|
|
287
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
288
|
+
/**
|
|
289
|
+
* Insufficient permission
|
|
290
|
+
*/
|
|
291
|
+
403: FlashStartErrorBody;
|
|
292
|
+
/**
|
|
293
|
+
* Resource not found
|
|
294
|
+
*/
|
|
295
|
+
404: FlashStartErrorBody;
|
|
296
|
+
/**
|
|
297
|
+
* Invalid request
|
|
298
|
+
*/
|
|
299
|
+
422: FlashStartErrorBody;
|
|
300
|
+
/**
|
|
301
|
+
* Internal server error
|
|
302
|
+
*/
|
|
303
|
+
500: FlashStartErrorBody;
|
|
304
|
+
};
|
|
305
|
+
export type DeleteNetworkError = DeleteNetworkErrors[keyof DeleteNetworkErrors];
|
|
306
|
+
export type DeleteNetworkResponses = {
|
|
307
|
+
/**
|
|
308
|
+
* Deleted network
|
|
309
|
+
*/
|
|
310
|
+
200: Network;
|
|
311
|
+
};
|
|
312
|
+
export type DeleteNetworkResponse = DeleteNetworkResponses[keyof DeleteNetworkResponses];
|
|
313
|
+
export type GetNetworkData = {
|
|
314
|
+
body?: never;
|
|
315
|
+
path: {
|
|
316
|
+
networkId: string;
|
|
317
|
+
};
|
|
318
|
+
query?: {
|
|
319
|
+
includePolicies?: boolean;
|
|
320
|
+
};
|
|
321
|
+
url: '/v1/{networkId}';
|
|
322
|
+
};
|
|
323
|
+
export type GetNetworkErrors = {
|
|
324
|
+
/**
|
|
325
|
+
* Invalid request
|
|
326
|
+
*/
|
|
327
|
+
400: FlashStartErrorBody;
|
|
328
|
+
/**
|
|
329
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
330
|
+
*/
|
|
331
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
332
|
+
/**
|
|
333
|
+
* Insufficient permission
|
|
334
|
+
*/
|
|
335
|
+
403: FlashStartErrorBody;
|
|
336
|
+
/**
|
|
337
|
+
* Resource not found
|
|
338
|
+
*/
|
|
339
|
+
404: FlashStartErrorBody;
|
|
340
|
+
/**
|
|
341
|
+
* Invalid request
|
|
342
|
+
*/
|
|
343
|
+
422: FlashStartErrorBody;
|
|
344
|
+
/**
|
|
345
|
+
* Internal server error
|
|
346
|
+
*/
|
|
347
|
+
500: FlashStartErrorBody;
|
|
348
|
+
};
|
|
349
|
+
export type GetNetworkError = GetNetworkErrors[keyof GetNetworkErrors];
|
|
350
|
+
export type GetNetworkResponses = {
|
|
351
|
+
/**
|
|
352
|
+
* Network
|
|
353
|
+
*/
|
|
354
|
+
200: NetworkResult;
|
|
355
|
+
};
|
|
356
|
+
export type GetNetworkResponse = GetNetworkResponses[keyof GetNetworkResponses];
|
|
357
|
+
export type AddNetworkPolicyData = {
|
|
358
|
+
body: NetworkPolicyCreation;
|
|
359
|
+
path: {
|
|
360
|
+
networkId: string;
|
|
361
|
+
};
|
|
362
|
+
query?: never;
|
|
363
|
+
url: '/v1/{networkId}/policies';
|
|
364
|
+
};
|
|
365
|
+
export type AddNetworkPolicyErrors = {
|
|
366
|
+
/**
|
|
367
|
+
* Invalid request
|
|
368
|
+
*/
|
|
369
|
+
400: FlashStartErrorBody;
|
|
370
|
+
/**
|
|
371
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
372
|
+
*/
|
|
373
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
374
|
+
/**
|
|
375
|
+
* Insufficient permission
|
|
376
|
+
*/
|
|
377
|
+
403: FlashStartErrorBody;
|
|
378
|
+
/**
|
|
379
|
+
* Resource not found
|
|
380
|
+
*/
|
|
381
|
+
404: FlashStartErrorBody;
|
|
382
|
+
/**
|
|
383
|
+
* Invalid request
|
|
384
|
+
*/
|
|
385
|
+
422: FlashStartErrorBody;
|
|
386
|
+
/**
|
|
387
|
+
* Internal server error
|
|
388
|
+
*/
|
|
389
|
+
500: FlashStartErrorBody;
|
|
390
|
+
};
|
|
391
|
+
export type AddNetworkPolicyError = AddNetworkPolicyErrors[keyof AddNetworkPolicyErrors];
|
|
392
|
+
export type AddNetworkPolicyResponses = {
|
|
393
|
+
/**
|
|
394
|
+
* Network policy
|
|
395
|
+
*/
|
|
396
|
+
201: NetworkPolicy;
|
|
397
|
+
};
|
|
398
|
+
export type AddNetworkPolicyResponse = AddNetworkPolicyResponses[keyof AddNetworkPolicyResponses];
|
|
399
|
+
export type DeleteNetworkPolicyData = {
|
|
400
|
+
body?: never;
|
|
401
|
+
path: {
|
|
402
|
+
networkId: string;
|
|
403
|
+
policyId: string;
|
|
404
|
+
};
|
|
405
|
+
query?: never;
|
|
406
|
+
url: '/v1/{networkId}/policies/{policyId}';
|
|
407
|
+
};
|
|
408
|
+
export type DeleteNetworkPolicyErrors = {
|
|
409
|
+
/**
|
|
410
|
+
* Invalid request
|
|
411
|
+
*/
|
|
412
|
+
400: FlashStartErrorBody;
|
|
413
|
+
/**
|
|
414
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
415
|
+
*/
|
|
416
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
417
|
+
/**
|
|
418
|
+
* Insufficient permission
|
|
419
|
+
*/
|
|
420
|
+
403: FlashStartErrorBody;
|
|
421
|
+
/**
|
|
422
|
+
* Resource not found
|
|
423
|
+
*/
|
|
424
|
+
404: FlashStartErrorBody;
|
|
425
|
+
/**
|
|
426
|
+
* Invalid request
|
|
427
|
+
*/
|
|
428
|
+
422: FlashStartErrorBody;
|
|
429
|
+
/**
|
|
430
|
+
* Internal server error
|
|
431
|
+
*/
|
|
432
|
+
500: FlashStartErrorBody;
|
|
433
|
+
};
|
|
434
|
+
export type DeleteNetworkPolicyError = DeleteNetworkPolicyErrors[keyof DeleteNetworkPolicyErrors];
|
|
435
|
+
export type DeleteNetworkPolicyResponses = {
|
|
436
|
+
/**
|
|
437
|
+
* Deleted network policy
|
|
438
|
+
*/
|
|
439
|
+
200: NetworkPolicy;
|
|
440
|
+
};
|
|
441
|
+
export type DeleteNetworkPolicyResponse = DeleteNetworkPolicyResponses[keyof DeleteNetworkPolicyResponses];
|
|
442
|
+
export type CreateSingleStaticNetworkData = {
|
|
443
|
+
body: SingleStaticNetworkCreation2;
|
|
444
|
+
path?: never;
|
|
445
|
+
query?: never;
|
|
446
|
+
url: '/v1/static/single';
|
|
447
|
+
};
|
|
448
|
+
export type CreateSingleStaticNetworkErrors = {
|
|
449
|
+
/**
|
|
450
|
+
* Invalid request
|
|
451
|
+
*/
|
|
452
|
+
400: FlashStartErrorBody;
|
|
453
|
+
/**
|
|
454
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
455
|
+
*/
|
|
456
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
457
|
+
/**
|
|
458
|
+
* Insufficient permission
|
|
459
|
+
*/
|
|
460
|
+
403: FlashStartErrorBody;
|
|
461
|
+
/**
|
|
462
|
+
* Invalid request
|
|
463
|
+
*/
|
|
464
|
+
422: FlashStartErrorBody;
|
|
465
|
+
/**
|
|
466
|
+
* Internal server error
|
|
467
|
+
*/
|
|
468
|
+
500: FlashStartErrorBody;
|
|
469
|
+
};
|
|
470
|
+
export type CreateSingleStaticNetworkError = CreateSingleStaticNetworkErrors[keyof CreateSingleStaticNetworkErrors];
|
|
471
|
+
export type CreateSingleStaticNetworkResponses = {
|
|
472
|
+
/**
|
|
473
|
+
* Created network
|
|
474
|
+
*/
|
|
475
|
+
201: Network;
|
|
476
|
+
};
|
|
477
|
+
export type CreateSingleStaticNetworkResponse = CreateSingleStaticNetworkResponses[keyof CreateSingleStaticNetworkResponses];
|
|
478
|
+
export type CreateCidrStaticNetworkData = {
|
|
479
|
+
body: CidrStaticNetworkCreation2;
|
|
480
|
+
path?: never;
|
|
481
|
+
query?: never;
|
|
482
|
+
url: '/v1/static/cidr';
|
|
483
|
+
};
|
|
484
|
+
export type CreateCidrStaticNetworkErrors = {
|
|
485
|
+
/**
|
|
486
|
+
* Invalid request
|
|
487
|
+
*/
|
|
488
|
+
400: FlashStartErrorBody;
|
|
489
|
+
/**
|
|
490
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
491
|
+
*/
|
|
492
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
493
|
+
/**
|
|
494
|
+
* Insufficient permission
|
|
495
|
+
*/
|
|
496
|
+
403: FlashStartErrorBody;
|
|
497
|
+
/**
|
|
498
|
+
* Invalid request
|
|
499
|
+
*/
|
|
500
|
+
422: FlashStartErrorBody;
|
|
501
|
+
/**
|
|
502
|
+
* Internal server error
|
|
503
|
+
*/
|
|
504
|
+
500: FlashStartErrorBody;
|
|
505
|
+
};
|
|
506
|
+
export type CreateCidrStaticNetworkError = CreateCidrStaticNetworkErrors[keyof CreateCidrStaticNetworkErrors];
|
|
507
|
+
export type CreateCidrStaticNetworkResponses = {
|
|
508
|
+
/**
|
|
509
|
+
* Created network
|
|
510
|
+
*/
|
|
511
|
+
201: Network;
|
|
512
|
+
};
|
|
513
|
+
export type CreateCidrStaticNetworkResponse = CreateCidrStaticNetworkResponses[keyof CreateCidrStaticNetworkResponses];
|
|
514
|
+
export type CreateRangeStaticNetworkData = {
|
|
515
|
+
body: RangeStaticNetworkCreation2;
|
|
516
|
+
path?: never;
|
|
517
|
+
query?: never;
|
|
518
|
+
url: '/v1/static/range';
|
|
519
|
+
};
|
|
520
|
+
export type CreateRangeStaticNetworkErrors = {
|
|
521
|
+
/**
|
|
522
|
+
* Invalid request
|
|
523
|
+
*/
|
|
524
|
+
400: FlashStartErrorBody;
|
|
525
|
+
/**
|
|
526
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
527
|
+
*/
|
|
528
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
529
|
+
/**
|
|
530
|
+
* Insufficient permission
|
|
531
|
+
*/
|
|
532
|
+
403: FlashStartErrorBody;
|
|
533
|
+
/**
|
|
534
|
+
* Invalid request
|
|
535
|
+
*/
|
|
536
|
+
422: FlashStartErrorBody;
|
|
537
|
+
/**
|
|
538
|
+
* Internal server error
|
|
539
|
+
*/
|
|
540
|
+
500: FlashStartErrorBody;
|
|
541
|
+
};
|
|
542
|
+
export type CreateRangeStaticNetworkError = CreateRangeStaticNetworkErrors[keyof CreateRangeStaticNetworkErrors];
|
|
543
|
+
export type CreateRangeStaticNetworkResponses = {
|
|
544
|
+
/**
|
|
545
|
+
* Created network
|
|
546
|
+
*/
|
|
547
|
+
201: Network;
|
|
548
|
+
};
|
|
549
|
+
export type CreateRangeStaticNetworkResponse = CreateRangeStaticNetworkResponses[keyof CreateRangeStaticNetworkResponses];
|
|
550
|
+
export type CreateInternalDynamicNetworkData = {
|
|
551
|
+
body: InternalDynamicNetworkCreation2;
|
|
552
|
+
path?: never;
|
|
553
|
+
query?: never;
|
|
554
|
+
url: '/v1/dynamic/internal';
|
|
555
|
+
};
|
|
556
|
+
export type CreateInternalDynamicNetworkErrors = {
|
|
557
|
+
/**
|
|
558
|
+
* Invalid request
|
|
559
|
+
*/
|
|
560
|
+
400: FlashStartErrorBody;
|
|
561
|
+
/**
|
|
562
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
563
|
+
*/
|
|
564
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
565
|
+
/**
|
|
566
|
+
* Insufficient permission
|
|
567
|
+
*/
|
|
568
|
+
403: FlashStartErrorBody;
|
|
569
|
+
/**
|
|
570
|
+
* Invalid request
|
|
571
|
+
*/
|
|
572
|
+
422: FlashStartErrorBody;
|
|
573
|
+
/**
|
|
574
|
+
* Internal server error
|
|
575
|
+
*/
|
|
576
|
+
500: FlashStartErrorBody;
|
|
577
|
+
};
|
|
578
|
+
export type CreateInternalDynamicNetworkError = CreateInternalDynamicNetworkErrors[keyof CreateInternalDynamicNetworkErrors];
|
|
579
|
+
export type CreateInternalDynamicNetworkResponses = {
|
|
580
|
+
/**
|
|
581
|
+
* Created network
|
|
582
|
+
*/
|
|
583
|
+
201: Network;
|
|
584
|
+
};
|
|
585
|
+
export type CreateInternalDynamicNetworkResponse = CreateInternalDynamicNetworkResponses[keyof CreateInternalDynamicNetworkResponses];
|
|
586
|
+
export type CreateExternalDynamicNetworkData = {
|
|
587
|
+
body: ExternalDynamicNetworkCreation2;
|
|
588
|
+
path?: never;
|
|
589
|
+
query?: never;
|
|
590
|
+
url: '/v1/dynamic/external';
|
|
591
|
+
};
|
|
592
|
+
export type CreateExternalDynamicNetworkErrors = {
|
|
593
|
+
/**
|
|
594
|
+
* Invalid request
|
|
595
|
+
*/
|
|
596
|
+
400: FlashStartErrorBody;
|
|
597
|
+
/**
|
|
598
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
599
|
+
*/
|
|
600
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
601
|
+
/**
|
|
602
|
+
* Insufficient permission
|
|
603
|
+
*/
|
|
604
|
+
403: FlashStartErrorBody;
|
|
605
|
+
/**
|
|
606
|
+
* Invalid request
|
|
607
|
+
*/
|
|
608
|
+
422: FlashStartErrorBody;
|
|
609
|
+
/**
|
|
610
|
+
* Internal server error
|
|
611
|
+
*/
|
|
612
|
+
500: FlashStartErrorBody;
|
|
613
|
+
};
|
|
614
|
+
export type CreateExternalDynamicNetworkError = CreateExternalDynamicNetworkErrors[keyof CreateExternalDynamicNetworkErrors];
|
|
615
|
+
export type CreateExternalDynamicNetworkResponses = {
|
|
616
|
+
/**
|
|
617
|
+
* Created network
|
|
618
|
+
*/
|
|
619
|
+
201: Network;
|
|
620
|
+
};
|
|
621
|
+
export type CreateExternalDynamicNetworkResponse = CreateExternalDynamicNetworkResponses[keyof CreateExternalDynamicNetworkResponses];
|
|
622
|
+
export type CreateEncryptedNetworkData = {
|
|
623
|
+
body: EncryptedNetworkCreation2;
|
|
624
|
+
path?: never;
|
|
625
|
+
query?: never;
|
|
626
|
+
url: '/v1/encrypted';
|
|
627
|
+
};
|
|
628
|
+
export type CreateEncryptedNetworkErrors = {
|
|
629
|
+
/**
|
|
630
|
+
* Invalid request
|
|
631
|
+
*/
|
|
632
|
+
400: FlashStartErrorBody;
|
|
633
|
+
/**
|
|
634
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
635
|
+
*/
|
|
636
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
637
|
+
/**
|
|
638
|
+
* Insufficient permission
|
|
639
|
+
*/
|
|
640
|
+
403: FlashStartErrorBody;
|
|
641
|
+
/**
|
|
642
|
+
* Invalid request
|
|
643
|
+
*/
|
|
644
|
+
422: FlashStartErrorBody;
|
|
645
|
+
/**
|
|
646
|
+
* Internal server error
|
|
647
|
+
*/
|
|
648
|
+
500: FlashStartErrorBody;
|
|
649
|
+
};
|
|
650
|
+
export type CreateEncryptedNetworkError = CreateEncryptedNetworkErrors[keyof CreateEncryptedNetworkErrors];
|
|
651
|
+
export type CreateEncryptedNetworkResponses = {
|
|
652
|
+
/**
|
|
653
|
+
* Created network
|
|
654
|
+
*/
|
|
655
|
+
201: Network;
|
|
656
|
+
};
|
|
657
|
+
export type CreateEncryptedNetworkResponse = CreateEncryptedNetworkResponses[keyof CreateEncryptedNetworkResponses];
|
|
658
|
+
export type UpdateSingleStaticNetworkData = {
|
|
659
|
+
body: StaticNetworkUpdate2;
|
|
660
|
+
path: {
|
|
661
|
+
networkId: string;
|
|
662
|
+
};
|
|
663
|
+
query?: never;
|
|
664
|
+
url: '/v1/static/single/{networkId}';
|
|
665
|
+
};
|
|
666
|
+
export type UpdateSingleStaticNetworkErrors = {
|
|
667
|
+
/**
|
|
668
|
+
* Invalid request
|
|
669
|
+
*/
|
|
670
|
+
400: FlashStartErrorBody;
|
|
671
|
+
/**
|
|
672
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
673
|
+
*/
|
|
674
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
675
|
+
/**
|
|
676
|
+
* Insufficient permission
|
|
677
|
+
*/
|
|
678
|
+
403: FlashStartErrorBody;
|
|
679
|
+
/**
|
|
680
|
+
* Resource not found
|
|
681
|
+
*/
|
|
682
|
+
404: FlashStartErrorBody;
|
|
683
|
+
/**
|
|
684
|
+
* Invalid request
|
|
685
|
+
*/
|
|
686
|
+
422: FlashStartErrorBody;
|
|
687
|
+
/**
|
|
688
|
+
* Internal server error
|
|
689
|
+
*/
|
|
690
|
+
500: FlashStartErrorBody;
|
|
691
|
+
};
|
|
692
|
+
export type UpdateSingleStaticNetworkError = UpdateSingleStaticNetworkErrors[keyof UpdateSingleStaticNetworkErrors];
|
|
693
|
+
export type UpdateSingleStaticNetworkResponses = {
|
|
694
|
+
/**
|
|
695
|
+
* Updated network
|
|
696
|
+
*/
|
|
697
|
+
200: Network;
|
|
698
|
+
};
|
|
699
|
+
export type UpdateSingleStaticNetworkResponse = UpdateSingleStaticNetworkResponses[keyof UpdateSingleStaticNetworkResponses];
|
|
700
|
+
export type UpdateCidrStaticNetworkData = {
|
|
701
|
+
body: StaticNetworkUpdate2;
|
|
702
|
+
path: {
|
|
703
|
+
networkId: string;
|
|
704
|
+
};
|
|
705
|
+
query?: never;
|
|
706
|
+
url: '/v1/static/cidr/{networkId}';
|
|
707
|
+
};
|
|
708
|
+
export type UpdateCidrStaticNetworkErrors = {
|
|
709
|
+
/**
|
|
710
|
+
* Invalid request
|
|
711
|
+
*/
|
|
712
|
+
400: FlashStartErrorBody;
|
|
713
|
+
/**
|
|
714
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
715
|
+
*/
|
|
716
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
717
|
+
/**
|
|
718
|
+
* Insufficient permission
|
|
719
|
+
*/
|
|
720
|
+
403: FlashStartErrorBody;
|
|
721
|
+
/**
|
|
722
|
+
* Resource not found
|
|
723
|
+
*/
|
|
724
|
+
404: FlashStartErrorBody;
|
|
725
|
+
/**
|
|
726
|
+
* Invalid request
|
|
727
|
+
*/
|
|
728
|
+
422: FlashStartErrorBody;
|
|
729
|
+
/**
|
|
730
|
+
* Internal server error
|
|
731
|
+
*/
|
|
732
|
+
500: FlashStartErrorBody;
|
|
733
|
+
};
|
|
734
|
+
export type UpdateCidrStaticNetworkError = UpdateCidrStaticNetworkErrors[keyof UpdateCidrStaticNetworkErrors];
|
|
735
|
+
export type UpdateCidrStaticNetworkResponses = {
|
|
736
|
+
/**
|
|
737
|
+
* Updated network
|
|
738
|
+
*/
|
|
739
|
+
200: Network;
|
|
740
|
+
};
|
|
741
|
+
export type UpdateCidrStaticNetworkResponse = UpdateCidrStaticNetworkResponses[keyof UpdateCidrStaticNetworkResponses];
|
|
742
|
+
export type UpdateRangeStaticNetworkData = {
|
|
743
|
+
body: StaticNetworkUpdate2;
|
|
744
|
+
path: {
|
|
745
|
+
networkId: string;
|
|
746
|
+
};
|
|
747
|
+
query?: never;
|
|
748
|
+
url: '/v1/static/range/{networkId}';
|
|
749
|
+
};
|
|
750
|
+
export type UpdateRangeStaticNetworkErrors = {
|
|
751
|
+
/**
|
|
752
|
+
* Invalid request
|
|
753
|
+
*/
|
|
754
|
+
400: FlashStartErrorBody;
|
|
755
|
+
/**
|
|
756
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
757
|
+
*/
|
|
758
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
759
|
+
/**
|
|
760
|
+
* Insufficient permission
|
|
761
|
+
*/
|
|
762
|
+
403: FlashStartErrorBody;
|
|
763
|
+
/**
|
|
764
|
+
* Resource not found
|
|
765
|
+
*/
|
|
766
|
+
404: FlashStartErrorBody;
|
|
767
|
+
/**
|
|
768
|
+
* Invalid request
|
|
769
|
+
*/
|
|
770
|
+
422: FlashStartErrorBody;
|
|
771
|
+
/**
|
|
772
|
+
* Internal server error
|
|
773
|
+
*/
|
|
774
|
+
500: FlashStartErrorBody;
|
|
775
|
+
};
|
|
776
|
+
export type UpdateRangeStaticNetworkError = UpdateRangeStaticNetworkErrors[keyof UpdateRangeStaticNetworkErrors];
|
|
777
|
+
export type UpdateRangeStaticNetworkResponses = {
|
|
778
|
+
/**
|
|
779
|
+
* Updated network
|
|
780
|
+
*/
|
|
781
|
+
200: Network;
|
|
782
|
+
};
|
|
783
|
+
export type UpdateRangeStaticNetworkResponse = UpdateRangeStaticNetworkResponses[keyof UpdateRangeStaticNetworkResponses];
|
|
784
|
+
export type UpdateInternalDynamicNetworkData = {
|
|
785
|
+
body: InternalDynamicNetworkUpdate2;
|
|
786
|
+
path: {
|
|
787
|
+
networkId: string;
|
|
788
|
+
};
|
|
789
|
+
query?: never;
|
|
790
|
+
url: '/v1/dynamic/internal/{networkId}';
|
|
791
|
+
};
|
|
792
|
+
export type UpdateInternalDynamicNetworkErrors = {
|
|
793
|
+
/**
|
|
794
|
+
* Invalid request
|
|
795
|
+
*/
|
|
796
|
+
400: FlashStartErrorBody;
|
|
797
|
+
/**
|
|
798
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
799
|
+
*/
|
|
800
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
801
|
+
/**
|
|
802
|
+
* Insufficient permission
|
|
803
|
+
*/
|
|
804
|
+
403: FlashStartErrorBody;
|
|
805
|
+
/**
|
|
806
|
+
* Resource not found
|
|
807
|
+
*/
|
|
808
|
+
404: FlashStartErrorBody;
|
|
809
|
+
/**
|
|
810
|
+
* Invalid request
|
|
811
|
+
*/
|
|
812
|
+
422: FlashStartErrorBody;
|
|
813
|
+
/**
|
|
814
|
+
* Internal server error
|
|
815
|
+
*/
|
|
816
|
+
500: FlashStartErrorBody;
|
|
817
|
+
};
|
|
818
|
+
export type UpdateInternalDynamicNetworkError = UpdateInternalDynamicNetworkErrors[keyof UpdateInternalDynamicNetworkErrors];
|
|
819
|
+
export type UpdateInternalDynamicNetworkResponses = {
|
|
820
|
+
/**
|
|
821
|
+
* Updated network
|
|
822
|
+
*/
|
|
823
|
+
200: Network;
|
|
824
|
+
};
|
|
825
|
+
export type UpdateInternalDynamicNetworkResponse = UpdateInternalDynamicNetworkResponses[keyof UpdateInternalDynamicNetworkResponses];
|
|
826
|
+
export type UpdateExternalDynamicNetworkData = {
|
|
827
|
+
body: ExternalDynamicNetworkUpdate2;
|
|
828
|
+
path: {
|
|
829
|
+
networkId: string;
|
|
830
|
+
};
|
|
831
|
+
query?: never;
|
|
832
|
+
url: '/v1/dynamic/external/{networkId}';
|
|
833
|
+
};
|
|
834
|
+
export type UpdateExternalDynamicNetworkErrors = {
|
|
835
|
+
/**
|
|
836
|
+
* Invalid request
|
|
837
|
+
*/
|
|
838
|
+
400: FlashStartErrorBody;
|
|
839
|
+
/**
|
|
840
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
841
|
+
*/
|
|
842
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
843
|
+
/**
|
|
844
|
+
* Insufficient permission
|
|
845
|
+
*/
|
|
846
|
+
403: FlashStartErrorBody;
|
|
847
|
+
/**
|
|
848
|
+
* Resource not found
|
|
849
|
+
*/
|
|
850
|
+
404: FlashStartErrorBody;
|
|
851
|
+
/**
|
|
852
|
+
* Invalid request
|
|
853
|
+
*/
|
|
854
|
+
422: FlashStartErrorBody;
|
|
855
|
+
/**
|
|
856
|
+
* Internal server error
|
|
857
|
+
*/
|
|
858
|
+
500: FlashStartErrorBody;
|
|
859
|
+
};
|
|
860
|
+
export type UpdateExternalDynamicNetworkError = UpdateExternalDynamicNetworkErrors[keyof UpdateExternalDynamicNetworkErrors];
|
|
861
|
+
export type UpdateExternalDynamicNetworkResponses = {
|
|
862
|
+
/**
|
|
863
|
+
* Updated network
|
|
864
|
+
*/
|
|
865
|
+
200: Network;
|
|
866
|
+
};
|
|
867
|
+
export type UpdateExternalDynamicNetworkResponse = UpdateExternalDynamicNetworkResponses[keyof UpdateExternalDynamicNetworkResponses];
|
|
868
|
+
export type UpdateEncryptedNetworkData = {
|
|
869
|
+
body: StaticNetworkUpdate2;
|
|
870
|
+
path: {
|
|
871
|
+
networkId: string;
|
|
872
|
+
};
|
|
873
|
+
query?: never;
|
|
874
|
+
url: '/v1/encrypted/{networkId}';
|
|
875
|
+
};
|
|
876
|
+
export type UpdateEncryptedNetworkErrors = {
|
|
877
|
+
/**
|
|
878
|
+
* Invalid request
|
|
879
|
+
*/
|
|
880
|
+
400: FlashStartErrorBody;
|
|
881
|
+
/**
|
|
882
|
+
* Missing or invalid API key or bearer credentials; missing credentials return a message, invalid credentials return a standard error
|
|
883
|
+
*/
|
|
884
|
+
401: MissingCredentialsErrorBody | FlashStartErrorBody;
|
|
885
|
+
/**
|
|
886
|
+
* Insufficient permission
|
|
887
|
+
*/
|
|
888
|
+
403: FlashStartErrorBody;
|
|
889
|
+
/**
|
|
890
|
+
* Resource not found
|
|
891
|
+
*/
|
|
892
|
+
404: FlashStartErrorBody;
|
|
893
|
+
/**
|
|
894
|
+
* Invalid request
|
|
895
|
+
*/
|
|
896
|
+
422: FlashStartErrorBody;
|
|
897
|
+
/**
|
|
898
|
+
* Internal server error
|
|
899
|
+
*/
|
|
900
|
+
500: FlashStartErrorBody;
|
|
901
|
+
};
|
|
902
|
+
export type UpdateEncryptedNetworkError = UpdateEncryptedNetworkErrors[keyof UpdateEncryptedNetworkErrors];
|
|
903
|
+
export type UpdateEncryptedNetworkResponses = {
|
|
904
|
+
/**
|
|
905
|
+
* Updated network
|
|
906
|
+
*/
|
|
907
|
+
200: Network;
|
|
908
|
+
};
|
|
909
|
+
export type UpdateEncryptedNetworkResponse = UpdateEncryptedNetworkResponses[keyof UpdateEncryptedNetworkResponses];
|