@stack-spot/portal-network 0.191.0 → 0.192.0-beta.1

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 (54) hide show
  1. package/CHANGELOG.md +161 -0
  2. package/dist/api/account.d.ts +4 -116
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +9 -95
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/ai.d.ts +189 -86
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +238 -142
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/cloudPlatform.d.ts +364 -248
  11. package/dist/api/cloudPlatform.d.ts.map +1 -1
  12. package/dist/api/cloudPlatform.js +289 -109
  13. package/dist/api/cloudPlatform.js.map +1 -1
  14. package/dist/api/codeShift.d.ts +109 -39
  15. package/dist/api/codeShift.d.ts.map +1 -1
  16. package/dist/api/codeShift.js +51 -10
  17. package/dist/api/codeShift.js.map +1 -1
  18. package/dist/api/genAiInference.d.ts +22 -2
  19. package/dist/api/genAiInference.d.ts.map +1 -1
  20. package/dist/api/genAiInference.js +22 -3
  21. package/dist/api/genAiInference.js.map +1 -1
  22. package/dist/client/account.d.ts +33 -19
  23. package/dist/client/account.d.ts.map +1 -1
  24. package/dist/client/account.js +33 -15
  25. package/dist/client/account.js.map +1 -1
  26. package/dist/client/ai.d.ts +46 -0
  27. package/dist/client/ai.d.ts.map +1 -1
  28. package/dist/client/ai.js +140 -15
  29. package/dist/client/ai.js.map +1 -1
  30. package/dist/client/cloud-platform.d.ts +195 -43
  31. package/dist/client/cloud-platform.d.ts.map +1 -1
  32. package/dist/client/cloud-platform.js +159 -42
  33. package/dist/client/cloud-platform.js.map +1 -1
  34. package/dist/client/code-shift.d.ts +36 -3
  35. package/dist/client/code-shift.d.ts.map +1 -1
  36. package/dist/client/code-shift.js +37 -1
  37. package/dist/client/code-shift.js.map +1 -1
  38. package/dist/client/types.d.ts +26 -5
  39. package/dist/client/types.d.ts.map +1 -1
  40. package/package.json +3 -3
  41. package/readme.md +2 -1
  42. package/src/api/account.ts +21 -192
  43. package/src/api/agent-tools.ts +3 -0
  44. package/src/api/agent.ts +2 -0
  45. package/src/api/ai.ts +364 -157
  46. package/src/api/cloudPlatform.ts +698 -398
  47. package/src/api/codeShift.ts +189 -44
  48. package/src/api/genAiInference.ts +47 -4
  49. package/src/api/notification.ts +2 -0
  50. package/src/client/account.ts +36 -17
  51. package/src/client/ai.ts +136 -13
  52. package/src/client/cloud-platform.ts +92 -27
  53. package/src/client/code-shift.ts +20 -1
  54. package/src/client/types.ts +27 -5
@@ -9,31 +9,9 @@ export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
9
  export declare const servers: {
10
10
  generatedServerUrl: string;
11
11
  };
12
- export type FoundationDetails = {
13
- name: string;
14
- description: string;
15
- cloudProvider: string;
16
- region: string;
17
- };
18
- export type FoundationResponse = {
19
- stackSpotAccountId: string;
20
- foundationId: string;
21
- details: FoundationDetails;
22
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
23
- createdAt: string;
24
- updatedAt: string;
25
- deletedAt?: string;
26
- };
27
- export type ListFoundationResponse = {
28
- stackSpotAccountId: string;
29
- pendingResources: boolean;
30
- content: FoundationResponse[];
31
- };
32
- export type CreateFoundationRequest = {
33
- name: string;
34
- description: string;
35
- cloudProvider: string;
36
- region: string;
12
+ export type Tag = {
13
+ key: string;
14
+ value: string;
37
15
  };
38
16
  export type TunnelStatus = {
39
17
  tunnel1?: string;
@@ -49,44 +27,12 @@ export type VpnResponse = {
49
27
  foundationId: string;
50
28
  vpnId: string;
51
29
  details: VpnDetails;
30
+ tags: Tag[];
52
31
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
53
32
  createdAt: string;
54
33
  updatedAt: string;
55
34
  deletedAt?: string;
56
35
  };
57
- export type ListVpnResponse = {
58
- stackSpotAccountId: string;
59
- foundationId: string;
60
- pendingResources: boolean;
61
- content: VpnResponse[];
62
- };
63
- export type CreateVpnRequest = {
64
- peerCustomerGatewayIp: string;
65
- destinationCidrBlock: string;
66
- };
67
- export type TenantDetails = {
68
- name: string;
69
- };
70
- export type TenantResponse = {
71
- stackSpotAccountId: string;
72
- foundationId: string;
73
- tenantId: string;
74
- details: TenantDetails;
75
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
76
- createdAt: string;
77
- updatedAt: string;
78
- deletedAt?: string;
79
- };
80
- export type ListTenantResponse = {
81
- stackSpotAccountId: string;
82
- foundationId: string;
83
- pendingResources: boolean;
84
- content: TenantResponse[];
85
- };
86
- export type CreateTenantRequest = {
87
- tenantName: string;
88
- publicCidrs: string[];
89
- };
90
36
  export type ProjectDetails = {
91
37
  name: string;
92
38
  folderName: string;
@@ -98,23 +44,12 @@ export type ProjectResponse = {
98
44
  parentFolderId: string;
99
45
  projectId: string;
100
46
  details: ProjectDetails;
47
+ tags: Tag[];
101
48
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
102
49
  createdAt: string;
103
50
  updatedAt: string;
104
51
  deletedAt?: string;
105
52
  };
106
- export type ListProjectResponse = {
107
- stackSpotAccountId: string;
108
- foundationId: string;
109
- parentFolderId?: string;
110
- pendingResources: boolean;
111
- content: ProjectResponse[];
112
- };
113
- export type CreateProjectRequest = {
114
- parentFolderId: string;
115
- name: string;
116
- description: string;
117
- };
118
53
  export type NetworkSubnetDetails = {
119
54
  az?: string;
120
55
  cidr?: string;
@@ -133,83 +68,12 @@ export type NetworkResponse = {
133
68
  projectId: string;
134
69
  networkId: string;
135
70
  details: NetworkDetails;
71
+ tags: Tag[];
136
72
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
137
73
  createdAt: string;
138
74
  updatedAt: string;
139
75
  deletedAt?: string;
140
76
  };
141
- export type ListNetworkResponse = {
142
- stackSpotAccountId: string;
143
- foundationId: string;
144
- projectId?: string;
145
- pendingResources: boolean;
146
- content: NetworkResponse[];
147
- };
148
- export type CreateNetworkRequest = {
149
- projectId: string;
150
- prefixLength: number;
151
- networkName?: string;
152
- networkType: "WORKLOAD";
153
- };
154
- export type NetworkConnectionDetails = {
155
- accepted?: boolean;
156
- requesterNetwork: NetworkResponse;
157
- accepterNetwork: NetworkResponse;
158
- };
159
- export type NetworkConnectionResponse = {
160
- stackSpotAccountId: string;
161
- foundationId: string;
162
- accepterNetworkId: string;
163
- accepterProjectId: string;
164
- requesterNetworkId: string;
165
- requesterProjectId: string;
166
- networkConnectionId: string;
167
- details: NetworkConnectionDetails;
168
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
169
- createdAt: string;
170
- updatedAt: string;
171
- deletedAt?: string;
172
- };
173
- export type ListNetworkConnectionResponse = {
174
- stackSpotAccountId: string;
175
- foundationId: string;
176
- accepterNetworkId?: string;
177
- accepterProjectId?: string;
178
- requesterNetworkId?: string;
179
- requesterProjectId?: string;
180
- pendingResources: boolean;
181
- content: NetworkConnectionResponse[];
182
- };
183
- export type CreateNetworkConnectionRequest = {
184
- accepterNetworkId: string;
185
- requesterNetworkId: string;
186
- };
187
- export type InboundDetails = {
188
- recordName: string;
189
- };
190
- export type InboundResponse = {
191
- stackSpotAccountId: string;
192
- foundationId: string;
193
- projectId: string;
194
- inboundId: string;
195
- details: InboundDetails;
196
- status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
197
- createdAt: string;
198
- updatedAt: string;
199
- deletedAt?: string;
200
- };
201
- export type ListInboundResponse = {
202
- stackSpotAccountId: string;
203
- foundationId: string;
204
- pendingResources: boolean;
205
- content: InboundResponse[];
206
- };
207
- export type CreateInboundRequest = {
208
- projectId: string;
209
- certificateId: string;
210
- domain: string;
211
- applicationLoadBalancer: string;
212
- };
213
77
  export type FolderContent = {
214
78
  "type": "FOLDER" | "PROJECT";
215
79
  id: string;
@@ -227,15 +91,12 @@ export type FolderResponse = {
227
91
  parentFolderId: string;
228
92
  folderId: string;
229
93
  details: FolderDetails;
94
+ tags: Tag[];
230
95
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
231
96
  createdAt: string;
232
97
  updatedAt: string;
233
98
  deletedAt?: string;
234
99
  };
235
- export type CreateFolderRequest = {
236
- parentFolderId: string;
237
- name: string;
238
- };
239
100
  export type DnsZoneDetails = {
240
101
  domain: string;
241
102
  dnsZoneType: string;
@@ -245,22 +106,12 @@ export type DnsZoneResponse = {
245
106
  foundationId: string;
246
107
  dnsZoneId: string;
247
108
  details: DnsZoneDetails;
109
+ tags: Tag[];
248
110
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
249
111
  createdAt: string;
250
112
  updatedAt: string;
251
113
  deletedAt?: string;
252
114
  };
253
- export type ListDnsZoneResponse = {
254
- stackSpotAccountId: string;
255
- foundationId: string;
256
- pendingResources: boolean;
257
- content: DnsZoneResponse[];
258
- };
259
- export type CreateDnsZoneRequest = {
260
- domain: string;
261
- "type": "PUBLIC" | "PRIVATE";
262
- projectId?: string;
263
- };
264
115
  export type DnsRecordDetails = {
265
116
  recordName: string;
266
117
  records: string[];
@@ -274,27 +125,12 @@ export type DnsRecordResponse = {
274
125
  dnsZoneId: string;
275
126
  dnsRecordId: string;
276
127
  details: DnsRecordDetails;
128
+ tags: Tag[];
277
129
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
278
130
  createdAt: string;
279
131
  updatedAt: string;
280
132
  deletedAt?: string;
281
133
  };
282
- export type ListDnsRecordResponse = {
283
- stackSpotAccountId: string;
284
- foundationId: string;
285
- projectId?: string;
286
- dnsZoneId?: string;
287
- pendingResources: boolean;
288
- content: DnsRecordResponse[];
289
- };
290
- export type CreateDnsRecordRequest = {
291
- dnsZoneId: string;
292
- projectId?: string;
293
- recordName: string;
294
- records: string[];
295
- ttl: number;
296
- "type": "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "PTR" | "SOA" | "SRV" | "TXT";
297
- };
298
134
  export type CidrDetails = {
299
135
  cidrNotation: string;
300
136
  networkAddress: string;
@@ -309,21 +145,12 @@ export type CidrResponse = {
309
145
  foundationId: string;
310
146
  cidrId: string;
311
147
  details: CidrDetails;
148
+ tags: Tag[];
312
149
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
313
150
  createdAt: string;
314
151
  updatedAt: string;
315
152
  deletedAt?: string;
316
153
  };
317
- export type ListCidrResponse = {
318
- stackSpotAccountId: string;
319
- foundationId: string;
320
- pendingResources: boolean;
321
- content: CidrResponse[];
322
- };
323
- export type CreateCidrRequest = {
324
- address: string;
325
- prefix: number;
326
- };
327
154
  export type CertificateDomainValidation = {
328
155
  domainName?: string;
329
156
  recordName?: string;
@@ -347,10 +174,171 @@ export type CertificateResponse = {
347
174
  certificateId: string;
348
175
  details: CertificateDetails;
349
176
  status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
177
+ tags: Tag[];
178
+ createdAt: string;
179
+ updatedAt: string;
180
+ deletedAt?: string;
181
+ };
182
+ export type FoundationDetails = {
183
+ name: string;
184
+ description: string;
185
+ cloudProvider: string;
186
+ region: string;
187
+ };
188
+ export type FoundationResponse = {
189
+ stackSpotAccountId: string;
190
+ foundationId: string;
191
+ details: FoundationDetails;
192
+ tags: Tag[];
193
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
350
194
  createdAt: string;
351
195
  updatedAt: string;
352
196
  deletedAt?: string;
353
197
  };
198
+ export type ListFoundationResponse = {
199
+ stackSpotAccountId: string;
200
+ pendingResources: boolean;
201
+ content: FoundationResponse[];
202
+ };
203
+ export type CreateFoundationRequest = {
204
+ name: string;
205
+ description: string;
206
+ cloudProvider: string;
207
+ region: string;
208
+ };
209
+ export type ListVpnResponse = {
210
+ stackSpotAccountId: string;
211
+ foundationId: string;
212
+ pendingResources: boolean;
213
+ content: VpnResponse[];
214
+ };
215
+ export type CreateVpnRequest = {
216
+ peerCustomerGatewayIp: string;
217
+ destinationCidrBlock: string;
218
+ tags?: Tag[];
219
+ };
220
+ export type TenantDetails = {
221
+ name: string;
222
+ };
223
+ export type TenantResponse = {
224
+ stackSpotAccountId: string;
225
+ foundationId: string;
226
+ tenantId: string;
227
+ details: TenantDetails;
228
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
229
+ createdAt: string;
230
+ updatedAt: string;
231
+ deletedAt?: string;
232
+ };
233
+ export type ListTenantResponse = {
234
+ stackSpotAccountId: string;
235
+ foundationId: string;
236
+ pendingResources: boolean;
237
+ content: TenantResponse[];
238
+ };
239
+ export type CreateTenantRequest = {
240
+ name: string;
241
+ publicCidrs: string[];
242
+ };
243
+ export type RuntimeDetails = {
244
+ name: string;
245
+ };
246
+ export type RuntimeResponse = {
247
+ stackSpotAccountId: string;
248
+ foundationId: string;
249
+ tenantId: string;
250
+ runtimeId: string;
251
+ details: RuntimeDetails;
252
+ status: "READY" | "PENDING" | "PENDING_APPROVAL" | "ERROR";
253
+ createdAt: string;
254
+ updatedAt: string;
255
+ deletedAt?: string;
256
+ };
257
+ export type ListRuntimeResponse = {
258
+ stackSpotAccountId: string;
259
+ foundationId: string;
260
+ projectId?: string;
261
+ tenantId?: string;
262
+ pendingResources: boolean;
263
+ content: RuntimeResponse[];
264
+ };
265
+ export type CreateRuntimeRequest = {
266
+ projectId: string;
267
+ name: string;
268
+ publicCidrs: string[];
269
+ clusterAdminRoles: string[];
270
+ };
271
+ export type ListProjectResponse = {
272
+ stackSpotAccountId: string;
273
+ foundationId: string;
274
+ parentFolderId?: string;
275
+ pendingResources: boolean;
276
+ content: ProjectResponse[];
277
+ };
278
+ export type CreateProjectRequest = {
279
+ parentFolderId: string;
280
+ name: string;
281
+ description: string;
282
+ tags?: Tag[];
283
+ };
284
+ export type ListNetworkResponse = {
285
+ stackSpotAccountId: string;
286
+ foundationId: string;
287
+ projectId?: string;
288
+ pendingResources: boolean;
289
+ content: NetworkResponse[];
290
+ };
291
+ export type CreateNetworkRequest = {
292
+ projectId: string;
293
+ prefixLength: number;
294
+ networkName?: string;
295
+ networkType: "WORKLOAD";
296
+ tags?: Tag[];
297
+ };
298
+ export type CreateFolderRequest = {
299
+ parentFolderId: string;
300
+ name: string;
301
+ tags?: Tag[];
302
+ };
303
+ export type ListDnsZoneResponse = {
304
+ stackSpotAccountId: string;
305
+ foundationId: string;
306
+ pendingResources: boolean;
307
+ content: DnsZoneResponse[];
308
+ };
309
+ export type CreateDnsZoneRequest = {
310
+ domain: string;
311
+ "type": "PUBLIC" | "PRIVATE";
312
+ projectId?: string;
313
+ tags?: Tag[];
314
+ };
315
+ export type ListDnsRecordResponse = {
316
+ stackSpotAccountId: string;
317
+ foundationId: string;
318
+ projectId?: string;
319
+ dnsZoneId?: string;
320
+ pendingResources: boolean;
321
+ content: DnsRecordResponse[];
322
+ };
323
+ export type CreateDnsRecordRequest = {
324
+ dnsZoneId: string;
325
+ projectId?: string;
326
+ recordName: string;
327
+ records: string[];
328
+ ttl: number;
329
+ "type": "A" | "AAAA" | "CAA" | "CNAME" | "MX" | "PTR" | "SOA" | "SRV" | "TXT";
330
+ };
331
+ export type ListCidrResponse = {
332
+ stackSpotAccountId: string;
333
+ foundationId: string;
334
+ pendingResources: boolean;
335
+ content: CidrResponse[];
336
+ };
337
+ export type CreateCidrRequest = {
338
+ address: string;
339
+ prefix: number;
340
+ tags?: Tag[];
341
+ };
354
342
  export type ListCertificateResponse = {
355
343
  stackSpotAccountId: string;
356
344
  foundationId: string;
@@ -358,6 +346,7 @@ export type ListCertificateResponse = {
358
346
  content: CertificateResponse[];
359
347
  };
360
348
  export type CreateCertificateRequestBase = {
349
+ tags?: Tag[];
361
350
  certificateName: string;
362
351
  forInbound: "TRUE" | "FALSE";
363
352
  "type": string;
@@ -383,189 +372,316 @@ export type VpnConfigurationResponse = {
383
372
  foundationId: string;
384
373
  configuration: Configuration;
385
374
  };
386
- export declare function listFoundations({ authorization }: {
375
+ export declare function putVpnTags({ authorization, xAccountId, foundationId, vpnId, body }: {
387
376
  authorization: string;
377
+ xAccountId?: string;
378
+ foundationId: string;
379
+ vpnId: string;
380
+ body: Tag[];
381
+ }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
382
+ export declare function putProjectTags({ authorization, xAccountId, foundationId, projectId, body }: {
383
+ authorization: string;
384
+ xAccountId?: string;
385
+ foundationId: string;
386
+ projectId: string;
387
+ body: Tag[];
388
+ }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
389
+ export declare function putNetworkTags({ authorization, xAccountId, foundationId, networkId, body }: {
390
+ authorization: string;
391
+ xAccountId?: string;
392
+ foundationId: string;
393
+ networkId: string;
394
+ body: Tag[];
395
+ }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
396
+ export declare function getFolderTags({ authorization, xAccountId, foundationId, folderId }: {
397
+ authorization: string;
398
+ xAccountId?: string;
399
+ foundationId: string;
400
+ folderId: string;
401
+ }, opts?: Oazapfts.RequestOpts): Promise<Tag[]>;
402
+ export declare function putFolderTags({ authorization, xAccountId, foundationId, folderId, body }: {
403
+ authorization: string;
404
+ xAccountId?: string;
405
+ foundationId: string;
406
+ folderId: string;
407
+ body: Tag[];
408
+ }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
409
+ export declare function putDnsZoneTags({ authorization, xAccountId, foundationId, dnsZoneId, body }: {
410
+ authorization: string;
411
+ xAccountId?: string;
412
+ foundationId: string;
413
+ dnsZoneId: string;
414
+ body: Tag[];
415
+ }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
416
+ export declare function putDnsRecordRecords({ authorization, xAccountId, foundationId, dnsRecordId, body }: {
417
+ authorization: string;
418
+ xAccountId?: string;
419
+ foundationId: string;
420
+ dnsRecordId: string;
421
+ body: string[];
422
+ }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
423
+ export declare function putCidrTags({ authorization, xAccountId, foundationId, cidrId, body }: {
424
+ authorization: string;
425
+ xAccountId?: string;
426
+ foundationId: string;
427
+ cidrId: string;
428
+ body: Tag[];
429
+ }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
430
+ export declare function putCertificateTags({ authorization, xAccountId, foundationId, certificateId, body }: {
431
+ authorization: string;
432
+ xAccountId?: string;
433
+ foundationId: string;
434
+ certificateId: string;
435
+ body: Tag[];
436
+ }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
437
+ export declare function listFoundations({ authorization, xAccountId }: {
438
+ authorization: string;
439
+ xAccountId?: string;
388
440
  }, opts?: Oazapfts.RequestOpts): Promise<ListFoundationResponse>;
389
- export declare function createFoundation({ authorization, createFoundationRequest }: {
441
+ export declare function createFoundation({ authorization, xAccountId, createFoundationRequest }: {
390
442
  authorization: string;
443
+ xAccountId?: string;
391
444
  createFoundationRequest: CreateFoundationRequest;
392
445
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
393
- export declare function listVpns({ authorization, foundationId }: {
446
+ export declare function listVpns({ authorization, xAccountId, foundationId }: {
394
447
  authorization: string;
448
+ xAccountId?: string;
395
449
  foundationId: string;
396
450
  }, opts?: Oazapfts.RequestOpts): Promise<ListVpnResponse>;
397
- export declare function createVpn({ authorization, foundationId, createVpnRequest }: {
451
+ export declare function createVpn({ authorization, xAccountId, foundationId, createVpnRequest }: {
398
452
  authorization: string;
453
+ xAccountId?: string;
399
454
  foundationId: string;
400
455
  createVpnRequest: CreateVpnRequest;
401
456
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
402
- export declare function listTenant({ authorization, foundationId }: {
457
+ export declare function listTenant({ authorization, xAccountId, foundationId }: {
403
458
  authorization: string;
459
+ xAccountId?: string;
404
460
  foundationId: string;
405
461
  }, opts?: Oazapfts.RequestOpts): Promise<ListTenantResponse>;
406
- export declare function createTenant({ authorization, foundationId, createTenantRequest }: {
462
+ export declare function createTenant({ authorization, xAccountId, foundationId, createTenantRequest }: {
407
463
  authorization: string;
464
+ xAccountId?: string;
408
465
  foundationId: string;
409
466
  createTenantRequest: CreateTenantRequest;
410
467
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
411
- export declare function listProject({ authorization, foundationId, parentFolderId }: {
468
+ export declare function listRuntime({ authorization, xAccountId, foundationId, tenantId, projectId }: {
412
469
  authorization: string;
470
+ xAccountId?: string;
471
+ foundationId: string;
472
+ tenantId?: string;
473
+ projectId?: string;
474
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRuntimeResponse>;
475
+ export declare function createRuntime({ authorization, xAccountId, foundationId, createRuntimeRequest }: {
476
+ authorization: string;
477
+ xAccountId?: string;
478
+ foundationId: string;
479
+ createRuntimeRequest: CreateRuntimeRequest;
480
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
481
+ export declare function listProject({ authorization, xAccountId, foundationId, parentFolderId }: {
482
+ authorization: string;
483
+ xAccountId?: string;
413
484
  foundationId: string;
414
485
  parentFolderId?: string;
415
486
  }, opts?: Oazapfts.RequestOpts): Promise<ListProjectResponse>;
416
- export declare function createProject({ authorization, foundationId, createProjectRequest }: {
487
+ export declare function createProject({ authorization, xAccountId, foundationId, createProjectRequest }: {
417
488
  authorization: string;
489
+ xAccountId?: string;
418
490
  foundationId: string;
419
491
  createProjectRequest: CreateProjectRequest;
420
492
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
421
- export declare function listNetwork({ authorization, foundationId, projectId }: {
493
+ export declare function listNetwork({ authorization, xAccountId, foundationId, projectId }: {
422
494
  authorization: string;
495
+ xAccountId?: string;
423
496
  foundationId: string;
424
497
  projectId?: string;
425
498
  }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkResponse>;
426
- export declare function createNetwork({ authorization, foundationId, createNetworkRequest }: {
499
+ export declare function createNetwork({ authorization, xAccountId, foundationId, createNetworkRequest }: {
427
500
  authorization: string;
501
+ xAccountId?: string;
428
502
  foundationId: string;
429
503
  createNetworkRequest: CreateNetworkRequest;
430
504
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
431
- export declare function listNetworkConnection({ authorization, foundationId, accepterNetworkId, accepterProjectId, requesterNetworkId, requesterProjectId }: {
432
- authorization: string;
433
- foundationId: string;
434
- accepterNetworkId?: string;
435
- accepterProjectId?: string;
436
- requesterNetworkId?: string;
437
- requesterProjectId?: string;
438
- }, opts?: Oazapfts.RequestOpts): Promise<ListNetworkConnectionResponse>;
439
- export declare function createNetworkConnection({ authorization, foundationId, createNetworkConnectionRequest }: {
440
- authorization: string;
441
- foundationId: string;
442
- createNetworkConnectionRequest: CreateNetworkConnectionRequest;
443
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
444
- export declare function listInbound({ authorization, foundationId }: {
445
- authorization: string;
446
- foundationId: string;
447
- }, opts?: Oazapfts.RequestOpts): Promise<ListInboundResponse>;
448
- export declare function createInbound({ authorization, foundationId, createInboundRequest }: {
449
- authorization: string;
450
- foundationId: string;
451
- createInboundRequest: CreateInboundRequest;
452
- }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
453
- export declare function getFolder({ authorization, foundationId, folderId }: {
505
+ export declare function getFolder({ authorization, xAccountId, foundationId, folderId }: {
454
506
  authorization: string;
507
+ xAccountId?: string;
455
508
  foundationId: string;
456
509
  folderId: string;
457
510
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
458
- export declare function createFolder({ authorization, foundationId, createFolderRequest }: {
511
+ export declare function createFolder({ authorization, xAccountId, foundationId, createFolderRequest }: {
459
512
  authorization: string;
513
+ xAccountId?: string;
460
514
  foundationId: string;
461
515
  createFolderRequest: CreateFolderRequest;
462
516
  }, opts?: Oazapfts.RequestOpts): Promise<FolderResponse>;
463
- export declare function listDnsZone({ authorization, foundationId, projectId, privacy }: {
517
+ export declare function listDnsZone({ authorization, xAccountId, foundationId, projectId, privacy }: {
464
518
  authorization: string;
519
+ xAccountId?: string;
465
520
  foundationId: string;
466
521
  projectId?: string;
467
- privacy?: string;
522
+ privacy?: "PUBLIC" | "PRIVATE";
468
523
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsZoneResponse>;
469
- export declare function createDnsZone({ authorization, foundationId, createDnsZoneRequest }: {
524
+ export declare function createDnsZone({ authorization, xAccountId, foundationId, createDnsZoneRequest }: {
470
525
  authorization: string;
526
+ xAccountId?: string;
471
527
  foundationId: string;
472
528
  createDnsZoneRequest: CreateDnsZoneRequest;
473
529
  }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
474
- export declare function listDnsRecord({ authorization, foundationId, projectId, dnsZoneId }: {
530
+ export declare function listDnsRecord({ authorization, xAccountId, foundationId, projectId, dnsZoneId }: {
475
531
  authorization: string;
532
+ xAccountId?: string;
476
533
  foundationId: string;
477
534
  projectId?: string;
478
535
  dnsZoneId?: string;
479
536
  }, opts?: Oazapfts.RequestOpts): Promise<ListDnsRecordResponse>;
480
- export declare function createDnsRecord({ authorization, foundationId, createDnsRecordRequest }: {
537
+ export declare function createDnsRecord({ authorization, xAccountId, foundationId, createDnsRecordRequest }: {
481
538
  authorization: string;
539
+ xAccountId?: string;
482
540
  foundationId: string;
483
541
  createDnsRecordRequest: CreateDnsRecordRequest;
484
542
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
485
- export declare function listCidr({ authorization, foundationId }: {
543
+ export declare function listCidr({ authorization, xAccountId, foundationId }: {
486
544
  authorization: string;
545
+ xAccountId?: string;
487
546
  foundationId: string;
488
547
  }, opts?: Oazapfts.RequestOpts): Promise<ListCidrResponse>;
489
- export declare function createCidr({ authorization, foundationId, createCidrRequest }: {
548
+ export declare function createCidr({ authorization, xAccountId, foundationId, createCidrRequest }: {
490
549
  authorization: string;
550
+ xAccountId?: string;
491
551
  foundationId: string;
492
552
  createCidrRequest: CreateCidrRequest;
493
553
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
494
- export declare function listCertificates({ authorization, foundationId, forInbound }: {
554
+ export declare function listCertificates({ authorization, xAccountId, foundationId, forInbound }: {
495
555
  authorization: string;
556
+ xAccountId?: string;
496
557
  foundationId: string;
497
558
  forInbound?: "TRUE" | "FALSE";
498
559
  }, opts?: Oazapfts.RequestOpts): Promise<ListCertificateResponse>;
499
- export declare function createCertificate({ authorization, foundationId, body }: {
560
+ export declare function createCertificate({ authorization, xAccountId, foundationId, body }: {
500
561
  authorization: string;
562
+ xAccountId?: string;
501
563
  foundationId: string;
502
564
  body: CreatePublicCertificateRequest | ImportCertificateRequest;
503
565
  }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
504
- export declare function acceptNetworkConnection({ authorization, foundationId, networkConnectionId }: {
505
- authorization: string;
506
- foundationId: string;
507
- networkConnectionId: string;
508
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
509
- export declare function getFoundation({ authorization, foundationId }: {
566
+ export declare function getFoundation({ authorization, xAccountId, foundationId }: {
510
567
  authorization: string;
568
+ xAccountId?: string;
511
569
  foundationId: string;
512
570
  }, opts?: Oazapfts.RequestOpts): Promise<FoundationResponse>;
513
- export declare function getVpn({ authorization, foundationId, vpnId }: {
571
+ export declare function getVpn({ authorization, xAccountId, foundationId, vpnId }: {
514
572
  authorization: string;
573
+ xAccountId?: string;
515
574
  foundationId: string;
516
575
  vpnId: string;
517
576
  }, opts?: Oazapfts.RequestOpts): Promise<VpnResponse>;
518
- export declare function getVpnConfiguration({ authorization, foundationId, vpnId }: {
577
+ export declare function deleteVpn({ authorization, xAccountId, foundationId, vpnId }: {
578
+ authorization: string;
579
+ xAccountId?: string;
580
+ foundationId: string;
581
+ vpnId: string;
582
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
583
+ export declare function getVpnConfiguration({ authorization, xAccountId, foundationId, vpnId }: {
519
584
  authorization: string;
585
+ xAccountId?: string;
520
586
  foundationId: string;
521
587
  vpnId: string;
522
588
  }, opts?: Oazapfts.RequestOpts): Promise<VpnConfigurationResponse>;
523
- export declare function getProject({ authorization, foundationId, tenantId }: {
589
+ export declare function getTenant({ authorization, xAccountId, foundationId, tenantId }: {
524
590
  authorization: string;
591
+ xAccountId?: string;
525
592
  foundationId: string;
526
593
  tenantId: string;
527
594
  }, opts?: Oazapfts.RequestOpts): Promise<TenantResponse>;
528
- export declare function getProject1({ authorization, foundationId, projectId }: {
595
+ export declare function getRuntime({ authorization, xAccountId, foundationId, runtimeId }: {
596
+ authorization: string;
597
+ xAccountId?: string;
598
+ foundationId: string;
599
+ runtimeId: string;
600
+ }, opts?: Oazapfts.RequestOpts): Promise<RuntimeResponse>;
601
+ export declare function getProject({ authorization, xAccountId, foundationId, projectId }: {
529
602
  authorization: string;
603
+ xAccountId?: string;
530
604
  foundationId: string;
531
605
  projectId: string;
532
606
  }, opts?: Oazapfts.RequestOpts): Promise<ProjectResponse>;
533
- export declare function getNetwork({ authorization, foundationId, networkId }: {
607
+ export declare function deleteProject({ authorization, xAccountId, foundationId, projectId }: {
608
+ authorization: string;
609
+ xAccountId?: string;
610
+ foundationId: string;
611
+ projectId: string;
612
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
613
+ export declare function getNetwork({ authorization, xAccountId, foundationId, networkId }: {
534
614
  authorization: string;
615
+ xAccountId?: string;
535
616
  foundationId: string;
536
617
  networkId: string;
537
618
  }, opts?: Oazapfts.RequestOpts): Promise<NetworkResponse>;
538
- export declare function getNetworkConnection({ authorization, foundationId, networkConnectionId }: {
619
+ export declare function deleteNetwork({ authorization, xAccountId, foundationId, networkId }: {
539
620
  authorization: string;
621
+ xAccountId?: string;
540
622
  foundationId: string;
541
- networkConnectionId: string;
542
- }, opts?: Oazapfts.RequestOpts): Promise<NetworkConnectionResponse>;
543
- export declare function getInbound({ authorization, foundationId, inboundId }: {
623
+ networkId: string;
624
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
625
+ export declare function getDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
544
626
  authorization: string;
627
+ xAccountId?: string;
545
628
  foundationId: string;
546
- inboundId: string;
547
- }, opts?: Oazapfts.RequestOpts): Promise<InboundResponse>;
548
- export declare function getDnsZone({ authorization, foundationId, dnsZoneId }: {
629
+ dnsZoneId: string;
630
+ }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
631
+ export declare function deleteDnsZone({ authorization, xAccountId, foundationId, dnsZoneId }: {
549
632
  authorization: string;
633
+ xAccountId?: string;
550
634
  foundationId: string;
551
635
  dnsZoneId: string;
552
- }, opts?: Oazapfts.RequestOpts): Promise<DnsZoneResponse>;
553
- export declare function getDnsZone1({ authorization, foundationId, dnsRecordId }: {
636
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
637
+ export declare function getDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
554
638
  authorization: string;
639
+ xAccountId?: string;
555
640
  foundationId: string;
556
641
  dnsRecordId: string;
557
642
  }, opts?: Oazapfts.RequestOpts): Promise<DnsRecordResponse>;
558
- export declare function getCidr({ authorization, foundationId, cidrId }: {
643
+ export declare function deleteDnsRecord({ authorization, xAccountId, foundationId, dnsRecordId }: {
559
644
  authorization: string;
645
+ xAccountId?: string;
646
+ foundationId: string;
647
+ dnsRecordId: string;
648
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
649
+ export declare function getCidr({ authorization, xAccountId, foundationId, cidrId }: {
650
+ authorization: string;
651
+ xAccountId?: string;
560
652
  foundationId: string;
561
653
  cidrId: string;
562
654
  }, opts?: Oazapfts.RequestOpts): Promise<CidrResponse>;
563
- export declare function getCertificate({ authorization, foundationId, certificateId }: {
655
+ export declare function deleteCidr({ authorization, xAccountId, foundationId, cidrId }: {
656
+ authorization: string;
657
+ xAccountId?: string;
658
+ foundationId: string;
659
+ cidrId: string;
660
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
661
+ export declare function getCertificate({ authorization, xAccountId, foundationId, certificateId }: {
564
662
  authorization: string;
663
+ xAccountId?: string;
565
664
  foundationId: string;
566
665
  certificateId: string;
567
666
  }, opts?: Oazapfts.RequestOpts): Promise<CertificateResponse>;
667
+ export declare function deleteCertificate({ authorization, xAccountId, foundationId, certificateId }: {
668
+ authorization: string;
669
+ xAccountId?: string;
670
+ foundationId: string;
671
+ certificateId: string;
672
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
673
+ export declare function getProvisionAvailability({ cloudProvider }: {
674
+ cloudProvider: string;
675
+ }, opts?: Oazapfts.RequestOpts): Promise<{
676
+ [key: string]: boolean;
677
+ }>;
568
678
  export declare function providers(opts?: Oazapfts.RequestOpts): Promise<{
569
679
  [key: string]: any;
570
680
  }[]>;
681
+ export declare function deleteFolder({ authorization, xAccountId, foundationId, folderId }: {
682
+ authorization: string;
683
+ xAccountId?: string;
684
+ foundationId: string;
685
+ folderId: string;
686
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
571
687
  //# sourceMappingURL=cloudPlatform.d.ts.map