@stack-spot/portal-network 0.14.0 → 0.15.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 (47) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/api/cloudServices.d.ts +37 -656
  3. package/dist/api/cloudServices.d.ts.map +1 -1
  4. package/dist/api/cloudServices.js +26 -386
  5. package/dist/api/cloudServices.js.map +1 -1
  6. package/dist/api/workspace.d.ts +2276 -0
  7. package/dist/api/workspace.d.ts.map +1 -0
  8. package/dist/api/workspace.js.map +1 -1
  9. package/dist/client/cloud-services.d.ts +111 -0
  10. package/dist/client/cloud-services.d.ts.map +1 -0
  11. package/dist/client/cloud-services.js +136 -0
  12. package/dist/client/cloud-services.js.map +1 -0
  13. package/dist/client/types.d.ts +67 -1
  14. package/dist/client/types.d.ts.map +1 -1
  15. package/dist/client/workspace.d.ts +7 -6
  16. package/dist/client/workspace.d.ts.map +1 -1
  17. package/dist/client/workspace.js.map +1 -1
  18. package/dist/index.d.ts +3 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/network/AutoInfiniteQuery.d.ts +2 -2
  23. package/dist/network/AutoInfiniteQuery.d.ts.map +1 -1
  24. package/dist/network/AutoInfiniteQuery.js.map +1 -1
  25. package/dist/network/AutoQuery.d.ts +4 -4
  26. package/dist/network/AutoQuery.d.ts.map +1 -1
  27. package/dist/network/AutoQuery.js.map +1 -1
  28. package/dist/network/ManualInfiniteQuery.d.ts +2 -2
  29. package/dist/network/ManualInfiniteQuery.d.ts.map +1 -1
  30. package/dist/network/ManualInfiniteQuery.js.map +1 -1
  31. package/dist/network/ManualQuery.d.ts +4 -4
  32. package/dist/network/ManualQuery.d.ts.map +1 -1
  33. package/dist/network/ManualQuery.js.map +1 -1
  34. package/dist/network/types.d.ts +16 -5
  35. package/dist/network/types.d.ts.map +1 -1
  36. package/package.json +1 -1
  37. package/src/api/cloudServices.ts +280 -1707
  38. package/src/api/workspace.ts +7 -1
  39. package/src/client/cloud-services.ts +84 -0
  40. package/src/client/types.ts +85 -1
  41. package/src/client/workspace.ts +6 -5
  42. package/src/index.ts +4 -0
  43. package/src/network/AutoInfiniteQuery.ts +7 -3
  44. package/src/network/AutoQuery.ts +10 -10
  45. package/src/network/ManualInfiniteQuery.ts +3 -3
  46. package/src/network/ManualQuery.ts +8 -8
  47. package/src/network/types.ts +22 -9
@@ -9,108 +9,6 @@ export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
9
  export declare const servers: {
10
10
  generatedServerUrl: string;
11
11
  };
12
- export type JwtToken = {
13
- rawToken: string;
14
- email: string;
15
- name: string;
16
- stackSpotAccountId: string;
17
- stackSpotAccountSlug: string;
18
- ipSource?: string;
19
- isServiceToken: boolean;
20
- };
21
- export type JwtTokenWrite = {
22
- authenticationHeader?: string;
23
- rawToken: string;
24
- email: string;
25
- name: string;
26
- stackSpotAccountId: string;
27
- stackSpotAccountSlug: string;
28
- ipSource?: string;
29
- isServiceToken: boolean;
30
- };
31
- export type Attachment = {
32
- id: string;
33
- filename: string;
34
- resourceUrl: string;
35
- contentType: string;
36
- };
37
- export type CaseComment = {
38
- /** Name of the author of the comment. */
39
- authorName: string;
40
- /** Email of the author of the comment. */
41
- authorEmail: string;
42
- /** URL to the author's avatar. */
43
- authorPhotoURL?: string;
44
- /** The comment text. */
45
- text: string;
46
- createdAt: string;
47
- attachments: Attachment[];
48
- };
49
- export type Case = {
50
- /** Unique identifier for the case. */
51
- id: string;
52
- /** The case type. */
53
- "type": "AccountAndBilling" | "Technical";
54
- /** The case status. An user may cancel a ticket if the status is 'open'. */
55
- status: string;
56
- /** The StackSpot service related to the case. */
57
- service: string;
58
- category: string;
59
- severity: string;
60
- /** The case subject. */
61
- subject?: string;
62
- /** The list of comments in the case. */
63
- comment: CaseComment[];
64
- createdAt: string;
65
- };
66
- export type ValidationDetails = {
67
- code: string;
68
- field?: string;
69
- details?: string;
70
- values?: string[];
71
- };
72
- export type CreateCaseComment = {
73
- /** The comment's text */
74
- text: string;
75
- attachmentIds: string[];
76
- };
77
- export type CaseUpdate = {
78
- /** Case severity */
79
- severity?: string;
80
- comment?: CreateCaseComment;
81
- /** Update the case status. The user may only update the status if the case is 'open'. */
82
- status?: string;
83
- };
84
- export type SavingPlanComment = {
85
- /** Name of the author of the comment. */
86
- authorName: string;
87
- /** Email of the author of the comment. */
88
- authorEmail: string;
89
- /** URL to the author's avatar. */
90
- authorPhotoURL?: string;
91
- /** The comment text. */
92
- text: string;
93
- createdAt: string;
94
- };
95
- export type SavingPlan = {
96
- /** Unique identifier for the saving plan. */
97
- id: number;
98
- /** The saving plan status. */
99
- status: string;
100
- /** The saving plan type. */
101
- savingPlanType: "SavingPlan" | "ReservedInstances";
102
- /** The list of comments in the saving plan. */
103
- comment: SavingPlanComment[];
104
- };
105
- export type CreateSavingPlanComment = {
106
- /** The comment's text */
107
- text: string;
108
- };
109
- export type SavingPlanUpdate = {
110
- comment?: CreateSavingPlanComment;
111
- /** Update saving plan status. */
112
- status?: string;
113
- };
114
12
  export type GuardrailUpdate = {
115
13
  /** The ID of GuardRail that will be updated */
116
14
  id: string;
@@ -129,6 +27,12 @@ export type GuardrailUpdate = {
129
27
  /** The type of GuardRail. [SCP, GUARDRAIL] */
130
28
  "type"?: "SCP" | "GUARDRAIL";
131
29
  };
30
+ export type ValidationDetails = {
31
+ code: string;
32
+ field?: string;
33
+ details?: string;
34
+ values?: string[];
35
+ };
132
36
  export type GuardrailRequest = {
133
37
  /** The baseline id that GuardRail belongs */
134
38
  baselineId: string;
@@ -227,7 +131,8 @@ export type ChargePeriod = {
227
131
  start: string;
228
132
  };
229
133
  export type AllocationCostRequest = {
230
- stackSpotAccountId: Ulid;
134
+ /** StackSpot's ULID identifier for each client. */
135
+ stackSpotAccountId: string;
231
136
  /** StackSpot-assigned ULID identifiers for a billing account. */
232
137
  billingAccountId: Ulid[];
233
138
  /** StackSpot-assigned ULID identifiers for a billing account. */
@@ -292,156 +197,12 @@ export type ProblemDetail = {
292
197
  [key: string]: object;
293
198
  };
294
199
  };
295
- export type CaseSummary = {
296
- /** Unique case identifier. */
297
- id: number;
298
- /** The case status. */
299
- status: string;
300
- /** The case severity. */
301
- severity: string;
302
- /** The case subject. */
303
- subject: string;
304
- createdAt: string;
305
- /** The requester email. */
306
- requesterEmail: string;
307
- };
308
- export type ListCasesResponse = {
309
- data: CaseSummary[];
310
- nextPage?: string;
311
- prevPage?: string;
312
- count: number;
313
- visibility: "AccountLevel" | "UserLevel";
314
- };
315
- export type CaseRequest = {
316
- /** The case type */
317
- "type": "AccountAndBilling" | "Technical";
318
- /** StackSpot managed service name that is related to the case */
319
- service: string;
320
- /** Case category */
321
- category: string;
322
- /** Case severity */
323
- severity: string;
324
- comment: CreateCaseComment;
325
- };
326
- export type AttachmentUpload = {
327
- upload: Blob;
328
- filename: string;
329
- contentType: string;
330
- };
331
- export type SavingPlanSummary = {
332
- /** Unique identifier for the saving plan. */
333
- id: number;
334
- /** The saving plan status. */
335
- status: string;
336
- /** The saving plan type. */
337
- savingPlanType: "SavingPlan" | "ReservedInstances";
338
- };
339
- export type PaginatedResourceSavingPlanSummary = {
340
- data: SavingPlanSummary[];
341
- nextPage?: number;
342
- prevPage?: number;
343
- count: number;
344
- };
345
- export type SavingPlanRequest = {
346
- /** The saving plan type. */
347
- savingPlanType: "SavingPlan" | "ReservedInstances";
348
- };
349
200
  export type RegisterOfferRequest = {
201
+ /** The Stackspot account ID to associate the offer with */
350
202
  stackspotAccountId: string;
203
+ /** The Cloud Offer type to be registered */
351
204
  cloudOffer: "Reseller" | "Managed" | "FullyManaged";
352
205
  };
353
- export type CloudAccountResponse = {
354
- /** Cloud Account ID */
355
- id: string;
356
- /** Workspace name */
357
- workspaceName: string;
358
- /** Environment name */
359
- environmentName: string;
360
- /** Cloud Provider */
361
- provider: "AWS" | "Azure";
362
- /** Cloud Account connection status */
363
- status: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
364
- /** Cloud Account type */
365
- "type": "CustomCloud" | "CloudServices";
366
- /** Number Of Ips */
367
- numberOfIps?: number;
368
- /** Network Type */
369
- networkType?: number;
370
- };
371
- export type PaginatedResourceCloudAccountResponse = {
372
- data: CloudAccountResponse[];
373
- nextPage?: number;
374
- prevPage?: number;
375
- totalPages: number;
376
- };
377
- export type CloudAccountCredential = object;
378
- export type ConnectAccountRequest = {
379
- /** Environment ID */
380
- environmentId: string;
381
- /** Workspace ID */
382
- workspaceId: string;
383
- /** Cloud Provider */
384
- provider: "AWS" | "Azure";
385
- credential?: CloudAccountCredential;
386
- /** IAM Role. Will be deprecated in future releases. */
387
- iamRole?: string;
388
- };
389
- export type CloudAccountDetails = {
390
- /** Cloud Account ID */
391
- id?: string;
392
- /** Workspace ID */
393
- workspaceId: string;
394
- /** Workspace name */
395
- workspaceName: string;
396
- /** Environment ID */
397
- environmentId: string;
398
- /** Environment name */
399
- environmentName: string;
400
- /** Environment description */
401
- environmentDescription: string;
402
- /** Cloud Provider */
403
- provider?: "AWS" | "Azure";
404
- /** Cloud Provider Account ID */
405
- providerAccountId?: string;
406
- /** Cloud Account connection status */
407
- status?: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
408
- /** Cloud Account type */
409
- "type"?: "CustomCloud" | "CloudServices";
410
- /** When not-null, it's the ID for a support case requesting the disconnection of this account */
411
- activeDisconnectSupportCaseId?: string;
412
- };
413
- export type ManagedAccountProvisionRequest = {
414
- workspaceId: Ulid;
415
- /**
416
- Network template ID to be setup in the provisioned accounts. See /cloud-account/managed-account/template for more info.
417
- */
418
- networkTypeId: number;
419
- /**
420
- Number of IPs to be allocated in the provisioned accounts. See /cloud-account/managed-account/template for more info.
421
- */
422
- numberOfIps: number;
423
- };
424
- export type DisconnectSupportCaseManagedAccountRequest = {
425
- supportCaseId: number;
426
- };
427
- export type DisconnectSupportCaseManagedAccountResponse = {
428
- cloudAccountId: Ulid;
429
- stackspotAccountId: Ulid;
430
- supportCaseId: number;
431
- };
432
- export type StackspotAccountTower = {
433
- id: string;
434
- stackspotAccountId: string;
435
- towerId: string;
436
- };
437
- export type StackspotAccountTowerRequest = {
438
- stackspotAccountId: string;
439
- towerId: string;
440
- };
441
- export type CommonCreatedResponse = {
442
- /** The created object ID */
443
- id: string;
444
- };
445
206
  export type CreateContractRequest = {
446
207
  stackSpotAccountId: Ulid;
447
208
  factor: number;
@@ -457,42 +218,6 @@ export type LinkResourceTypeToStackspotAccountRequest = {
457
218
  stackspotAccountId: Ulid;
458
219
  serviceIds: Ulid[];
459
220
  };
460
- export type UpdateManagedInfoRequest = {
461
- cloudAccountId: Ulid;
462
- stackspotAccountId: Ulid;
463
- /**
464
- Sets the AWS region for the account.
465
- */
466
- region?: string;
467
- /**
468
- Sets the foundation name for the account.
469
- */
470
- foundationName?: string;
471
- /**
472
- Sets the environment name for the account.
473
- */
474
- environmentName?: string;
475
- };
476
- export type UpdatedCloudAccountResponse = {
477
- cloudAccountId: Ulid;
478
- stackspotAccountId: Ulid;
479
- workspaceId: Ulid;
480
- environmentId: Ulid;
481
- cloudType: "CustomCloud" | "CloudServices";
482
- cloudStatus: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
483
- /**
484
- The region associated with the Cloud Account. This fields only exists for AWS accounts of CloudServices type.
485
- */
486
- providerRegion?: string;
487
- /**
488
- The account's name inside the Foundation's organization. This fields only exists for AWS accounts of CloudServices type.
489
- */
490
- foundationName: string;
491
- };
492
- export type DisconnectCloudAccountRequest = {
493
- cloudAccountId: Ulid;
494
- stackspotAccountId: Ulid;
495
- };
496
221
  export type BaselineResponse = {
497
222
  /** The ID of baseline that will be updated */
498
223
  id: string;
@@ -515,28 +240,6 @@ export type BaselineDetails = {
515
240
  /** The baseline ID */
516
241
  id: string;
517
242
  };
518
- export type SupportFormFieldOption = {
519
- name: string;
520
- value: string;
521
- };
522
- export type SupportFormFieldData = {
523
- service: SupportFormFieldOption[];
524
- category: SupportFormFieldOption[];
525
- };
526
- export type SupportFormFieldResponse = {
527
- accountAndBilling: SupportFormFieldData;
528
- technical: SupportFormFieldData;
529
- severity: SupportFormFieldOption[];
530
- };
531
- export type AttachmentBase64 = {
532
- filename: string;
533
- base64: string;
534
- contentType: string;
535
- };
536
- export type HealthComponent = {
537
- description?: string;
538
- status?: string;
539
- };
540
243
  export type GuardrailStatusResponse = {
541
244
  /** The baseline id that GuardRail belongs */
542
245
  baselineId: string;
@@ -584,6 +287,11 @@ export type CostOverview = {
584
287
  currentMonthDaily: DailyCostSummary[];
585
288
  costByWorkspace: CostByWorkspace[];
586
289
  };
290
+ export type AttachmentBase64 = {
291
+ filename: string;
292
+ base64: string;
293
+ contentType: string;
294
+ };
587
295
  export type AllocationCost = {
588
296
  name: string;
589
297
  costValue: number;
@@ -637,57 +345,10 @@ export type ManagedService = {
637
345
  /** List of resources. */
638
346
  resources: ServiceResource[];
639
347
  };
640
- export type CloudOfferResponse = {
348
+ export type AccountCloudOfferResponse = {
641
349
  stackspotAccountId: string;
642
350
  offer: "Reseller" | "Managed" | "FullyManaged";
643
351
  };
644
- export type CloudServicesAccountStatus = {
645
- /** Cloud Account ID */
646
- id: string;
647
- /** Environment name */
648
- environmentName: string;
649
- /** Environment ID */
650
- environmentId: string;
651
- /** Status of the account in the workflow */
652
- status: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
653
- provider: "AWS" | "Azure";
654
- /** Error code if the workflow for creating the account failed */
655
- errorCode?: string;
656
- };
657
- export type Workflow = {
658
- status: "UNDER_CHANGE" | "AVAILABLE" | "ERROR";
659
- accounts: CloudServicesAccountStatus[];
660
- supportCaseId?: string;
661
- };
662
- export type CloudAccountWithCredentialResponse = {
663
- /** Cloud Account ID */
664
- id: string;
665
- /** Workspace ID */
666
- workspaceId: string;
667
- /** Environment ID */
668
- environmentId: string;
669
- /** Cloud Provider */
670
- provider: "AWS" | "Azure";
671
- /** Cloud Account type */
672
- "type": "CustomCloud" | "CloudServices";
673
- /** Role */
674
- role: string;
675
- /** Cloud Account connection status */
676
- status: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
677
- /** Cloud Account credential identifier for Secret Manager */
678
- credentialSecretIdentifier?: string;
679
- };
680
- export type ManagedAccountTemplateResponse = {
681
- id: number;
682
- name: string;
683
- minCountIps: number;
684
- maxCountIps: number;
685
- availableIpRange?: number[];
686
- };
687
- export type ManagedAccountRegionResponse = {
688
- id: number;
689
- name: string;
690
- };
691
352
  export type Alert = {
692
353
  /** Auto id of the alert. */
693
354
  id: string;
@@ -726,92 +387,16 @@ export type ServiceSummary = {
726
387
  id: string;
727
388
  name: string;
728
389
  };
729
- export type AdminCloudAccountDetails = {
730
- /** Cloud Account ID */
731
- id: string;
732
- /** Stackspot Account ID */
733
- stackspotAccountId: string;
734
- /** Workspace ID */
735
- workspaceId: string;
736
- /** Environment ID */
737
- environmentId: string;
738
- /** Environment Name (only available in CloudServices accounts ) */
739
- environmentName?: string;
740
- /** Cloud Provider that Cloud Account represents */
741
- provider: "AWS" | "Azure";
742
- /** Type of the Cloud Account (Custom Cloud or Cloud Services) */
743
- "type": "CustomCloud" | "CloudServices";
744
- region?: string;
745
- /** AWS Role that can be used for connecting in account */
746
- role?: string;
747
- /** Status of this Cloud Account. Connected indicates it's ready to use, others status are self explained */
748
- status: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
749
- /** The ID this account have in Cloud Provider */
750
- cloudProviderAccountId?: string;
751
- /** The name given in Cloud Provider for this account (only available in CloudServices accounts) */
752
- cloudProviderAccountName?: string;
753
- /** Linked Account ID */
754
- linkedAccountId?: string;
755
- /** This Cloud Account credentials secret manager */
756
- credentialSecretIdentifier?: string;
757
- /** ID of the Control Tower that Cloud Account is connected */
758
- controlTowerId?: string;
759
- };
760
- export type PaginatedResponseAdminCloudAccountDetails = {
761
- data: AdminCloudAccountDetails[];
762
- nextPage?: string;
763
- prevPage?: string;
764
- count: number;
765
- };
766
- export type DeleteCloudAccountResponse = {
767
- cloudAccountId: Ulid;
768
- /** The type of the cloud account */
769
- cloudType: "CustomCloud" | "CloudServices";
770
- /** If the type is 'CloudServices', the delete operation opens a support case in order to delete the account */
771
- supportCaseId?: string;
772
- };
773
- /**
774
- * Get a single case
775
- */
776
- export declare function getCase({ jwtToken, id, pageNum, pageSize }: {
777
- jwtToken: JwtToken;
778
- id: number;
779
- pageNum?: number;
780
- pageSize?: number;
781
- }, opts?: Oazapfts.RequestOpts): Promise<Case>;
782
- /**
783
- * Update a case
784
- */
785
- export declare function updateCase({ jwtToken, id, caseUpdate }: {
786
- jwtToken: JwtToken;
787
- id: number;
788
- caseUpdate: CaseUpdate;
789
- }, opts?: Oazapfts.RequestOpts): Promise<Case>;
790
- /**
791
- * Get a single saving plan
792
- */
793
- export declare function getSavingPlan({ id }: {
794
- id: number;
795
- }, opts?: Oazapfts.RequestOpts): Promise<SavingPlan>;
796
- /**
797
- * Update saving plan
798
- */
799
- export declare function updateSavingPlan({ id, savingPlanUpdate }: {
800
- id: number;
801
- savingPlanUpdate: SavingPlanUpdate;
802
- }, opts?: Oazapfts.RequestOpts): Promise<SavingPlan>;
803
390
  /**
804
391
  * Update a GuardRail
805
392
  */
806
- export declare function updateGuardrail({ jwtToken, guardrailUpdate }: {
807
- jwtToken: JwtToken;
393
+ export declare function updateGuardrail({ guardrailUpdate }: {
808
394
  guardrailUpdate: GuardrailUpdate;
809
395
  }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
810
396
  /**
811
397
  * Create a GuardRail
812
398
  */
813
- export declare function createGuardrail({ jwtToken, guardrailRequest }: {
814
- jwtToken: JwtToken;
399
+ export declare function createGuardrail({ guardrailRequest }: {
815
400
  guardrailRequest: GuardrailRequest;
816
401
  }, opts?: Oazapfts.RequestOpts): Promise<GuardrailDetails>;
817
402
  /**
@@ -824,72 +409,26 @@ export declare function updateBaseline({ baselineId, baselineUpdate }: {
824
409
  /**
825
410
  * Retrieves billing account summaries
826
411
  */
827
- export declare function listBillingAccounts({ jwtToken, stackSpotAccountId, showDeleted }: {
828
- jwtToken: JwtToken;
412
+ export declare function listBillingAccounts({ stackSpotAccountId, showDeleted }: {
829
413
  stackSpotAccountId: string;
830
414
  showDeleted?: boolean;
831
415
  }, opts?: Oazapfts.RequestOpts): Promise<BillingAccountSummaryResponse>;
832
416
  /**
833
417
  * Create new billing account
834
418
  */
835
- export declare function createBillingAccount({ jwtToken, billingAccountRequest }: {
836
- jwtToken: JwtToken;
419
+ export declare function createBillingAccount({ billingAccountRequest }: {
837
420
  billingAccountRequest: BillingAccountRequest;
838
421
  }, opts?: Oazapfts.RequestOpts): Promise<BillingAccountDetailsResponse>;
839
422
  /**
840
423
  * Retrieves cost and usage metrics for your account.
841
424
  */
842
- export declare function processAllocationCostRequest({ jwtToken, allocationCostRequest }: {
843
- jwtToken: JwtToken;
425
+ export declare function processAllocationCostRequest({ allocationCostRequest }: {
844
426
  allocationCostRequest: AllocationCostRequest;
845
427
  }, opts?: Oazapfts.RequestOpts): Promise<AllocationCostResponse>;
846
- /**
847
- * List support cases
848
- */
849
- export declare function listCases({ jwtToken, sortBy, sortOrder, search, page, pageSize, visibility }: {
850
- jwtToken: JwtToken;
851
- sortBy?: string;
852
- sortOrder?: string;
853
- search?: string;
854
- page?: number;
855
- pageSize?: number;
856
- visibility?: "AccountLevel" | "UserLevel";
857
- }, opts?: Oazapfts.RequestOpts): Promise<ListCasesResponse>;
858
- /**
859
- * Create a support case
860
- */
861
- export declare function createCase({ jwtToken, caseRequest }: {
862
- jwtToken: JwtToken;
863
- caseRequest: CaseRequest;
864
- }, opts?: Oazapfts.RequestOpts): Promise<Case>;
865
- /**
866
- * Upload an attachment
867
- */
868
- export declare function uploadAttachment({ jwtToken, attachmentUpload }: {
869
- jwtToken: JwtToken;
870
- attachmentUpload?: AttachmentUpload;
871
- }, opts?: Oazapfts.RequestOpts): Promise<Attachment>;
872
- /**
873
- * Get list of saving plans
874
- */
875
- export declare function getListOfSavingPlans({ sortBy, sortOrder, filter, page, pageSize }: {
876
- sortBy?: string;
877
- sortOrder?: string;
878
- filter?: string;
879
- page?: number;
880
- pageSize?: number;
881
- }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResourceSavingPlanSummary>;
882
- /**
883
- * Create saving plan
884
- */
885
- export declare function createSavingPlanByBudgetSaveType({ savingPlanRequest }: {
886
- savingPlanRequest: SavingPlanRequest;
887
- }, opts?: Oazapfts.RequestOpts): Promise<SavingPlan>;
888
428
  /**
889
429
  * Enable a GuardRail in any level
890
430
  */
891
- export declare function enableGuardrail({ jwtToken, account, workspace, env, enable, guardrailId }: {
892
- jwtToken: JwtToken;
431
+ export declare function enableGuardrail({ account, workspace, env, enable, guardrailId }: {
893
432
  account: string;
894
433
  workspace?: string;
895
434
  env?: string;
@@ -902,52 +441,6 @@ export declare function enableGuardrail({ jwtToken, account, workspace, env, ena
902
441
  export declare function registerOffer({ registerOfferRequest }: {
903
442
  registerOfferRequest: RegisterOfferRequest;
904
443
  }, opts?: Oazapfts.RequestOpts): Promise<"100 CONTINUE" | "101 SWITCHING_PROTOCOLS" | "102 PROCESSING" | "103 EARLY_HINTS" | "103 CHECKPOINT" | "200 OK" | "201 CREATED" | "202 ACCEPTED" | "203 NON_AUTHORITATIVE_INFORMATION" | "204 NO_CONTENT" | "205 RESET_CONTENT" | "206 PARTIAL_CONTENT" | "207 MULTI_STATUS" | "208 ALREADY_REPORTED" | "226 IM_USED" | "300 MULTIPLE_CHOICES" | "301 MOVED_PERMANENTLY" | "302 FOUND" | "302 MOVED_TEMPORARILY" | "303 SEE_OTHER" | "304 NOT_MODIFIED" | "305 USE_PROXY" | "307 TEMPORARY_REDIRECT" | "308 PERMANENT_REDIRECT" | "400 BAD_REQUEST" | "401 UNAUTHORIZED" | "402 PAYMENT_REQUIRED" | "403 FORBIDDEN" | "404 NOT_FOUND" | "405 METHOD_NOT_ALLOWED" | "406 NOT_ACCEPTABLE" | "407 PROXY_AUTHENTICATION_REQUIRED" | "408 REQUEST_TIMEOUT" | "409 CONFLICT" | "410 GONE" | "411 LENGTH_REQUIRED" | "412 PRECONDITION_FAILED" | "413 PAYLOAD_TOO_LARGE" | "413 REQUEST_ENTITY_TOO_LARGE" | "414 URI_TOO_LONG" | "414 REQUEST_URI_TOO_LONG" | "415 UNSUPPORTED_MEDIA_TYPE" | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | "417 EXPECTATION_FAILED" | "418 I_AM_A_TEAPOT" | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | "420 METHOD_FAILURE" | "421 DESTINATION_LOCKED" | "422 UNPROCESSABLE_ENTITY" | "423 LOCKED" | "424 FAILED_DEPENDENCY" | "425 TOO_EARLY" | "426 UPGRADE_REQUIRED" | "428 PRECONDITION_REQUIRED" | "429 TOO_MANY_REQUESTS" | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | "500 INTERNAL_SERVER_ERROR" | "501 NOT_IMPLEMENTED" | "502 BAD_GATEWAY" | "503 SERVICE_UNAVAILABLE" | "504 GATEWAY_TIMEOUT" | "505 HTTP_VERSION_NOT_SUPPORTED" | "506 VARIANT_ALSO_NEGOTIATES" | "507 INSUFFICIENT_STORAGE" | "508 LOOP_DETECTED" | "509 BANDWIDTH_LIMIT_EXCEEDED" | "510 NOT_EXTENDED" | "511 NETWORK_AUTHENTICATION_REQUIRED">;
905
- /**
906
- * List all cloud accounts created for all workspaces
907
- */
908
- export declare function listCloudAccounts({ jwtToken, sortBy, sortOrder, filter, page, pageSize, $type, environment, status }: {
909
- jwtToken: JwtToken;
910
- sortBy?: string;
911
- sortOrder?: string;
912
- filter?: string;
913
- page?: number;
914
- pageSize?: number;
915
- $type?: "CustomCloud" | "CloudServices";
916
- environment?: string;
917
- status?: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
918
- }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResourceCloudAccountResponse>;
919
- /**
920
- * Connect a cloud account
921
- */
922
- export declare function createCloudAccount({ jwtToken, connectAccountRequest }: {
923
- jwtToken: JwtToken;
924
- connectAccountRequest: ConnectAccountRequest;
925
- }, opts?: Oazapfts.RequestOpts): Promise<CloudAccountDetails>;
926
- /**
927
- * Provision managed accounts in a workspace
928
- */
929
- export declare function provisionManagedAccountsForWorkspace({ jwtToken, managedAccountProvisionRequest }: {
930
- jwtToken: JwtToken;
931
- managedAccountProvisionRequest: ManagedAccountProvisionRequest;
932
- }, opts?: Oazapfts.RequestOpts): Promise<"100 CONTINUE" | "101 SWITCHING_PROTOCOLS" | "102 PROCESSING" | "103 EARLY_HINTS" | "103 CHECKPOINT" | "200 OK" | "201 CREATED" | "202 ACCEPTED" | "203 NON_AUTHORITATIVE_INFORMATION" | "204 NO_CONTENT" | "205 RESET_CONTENT" | "206 PARTIAL_CONTENT" | "207 MULTI_STATUS" | "208 ALREADY_REPORTED" | "226 IM_USED" | "300 MULTIPLE_CHOICES" | "301 MOVED_PERMANENTLY" | "302 FOUND" | "302 MOVED_TEMPORARILY" | "303 SEE_OTHER" | "304 NOT_MODIFIED" | "305 USE_PROXY" | "307 TEMPORARY_REDIRECT" | "308 PERMANENT_REDIRECT" | "400 BAD_REQUEST" | "401 UNAUTHORIZED" | "402 PAYMENT_REQUIRED" | "403 FORBIDDEN" | "404 NOT_FOUND" | "405 METHOD_NOT_ALLOWED" | "406 NOT_ACCEPTABLE" | "407 PROXY_AUTHENTICATION_REQUIRED" | "408 REQUEST_TIMEOUT" | "409 CONFLICT" | "410 GONE" | "411 LENGTH_REQUIRED" | "412 PRECONDITION_FAILED" | "413 PAYLOAD_TOO_LARGE" | "413 REQUEST_ENTITY_TOO_LARGE" | "414 URI_TOO_LONG" | "414 REQUEST_URI_TOO_LONG" | "415 UNSUPPORTED_MEDIA_TYPE" | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | "417 EXPECTATION_FAILED" | "418 I_AM_A_TEAPOT" | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | "420 METHOD_FAILURE" | "421 DESTINATION_LOCKED" | "422 UNPROCESSABLE_ENTITY" | "423 LOCKED" | "424 FAILED_DEPENDENCY" | "425 TOO_EARLY" | "426 UPGRADE_REQUIRED" | "428 PRECONDITION_REQUIRED" | "429 TOO_MANY_REQUESTS" | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | "500 INTERNAL_SERVER_ERROR" | "501 NOT_IMPLEMENTED" | "502 BAD_GATEWAY" | "503 SERVICE_UNAVAILABLE" | "504 GATEWAY_TIMEOUT" | "505 HTTP_VERSION_NOT_SUPPORTED" | "506 VARIANT_ALSO_NEGOTIATES" | "507 INSUFFICIENT_STORAGE" | "508 LOOP_DETECTED" | "509 BANDWIDTH_LIMIT_EXCEEDED" | "510 NOT_EXTENDED" | "511 NETWORK_AUTHENTICATION_REQUIRED">;
933
- /**
934
- * Disconnect a Managed Account that was requested to disconnect via support case
935
- */
936
- export declare function disconnectCloudAccountRequestedForDisconnect({ disconnectSupportCaseManagedAccountRequest }: {
937
- disconnectSupportCaseManagedAccountRequest: DisconnectSupportCaseManagedAccountRequest;
938
- }, opts?: Oazapfts.RequestOpts): Promise<DisconnectSupportCaseManagedAccountResponse[]>;
939
- /**
940
- * Get all relation between stackspot accounts and control towers
941
- */
942
- export declare function getAllAccountTower({ stackspotAccountId }: {
943
- stackspotAccountId?: string;
944
- }, opts?: Oazapfts.RequestOpts): Promise<StackspotAccountTower[]>;
945
- /**
946
- * Add a Control Tower ID to a Stackspot Account that will be used in creation of a Managed Cloud Account
947
- */
948
- export declare function createAccountTower({ stackspotAccountTowerRequest }: {
949
- stackspotAccountTowerRequest: StackspotAccountTowerRequest;
950
- }, opts?: Oazapfts.RequestOpts): Promise<CommonCreatedResponse>;
951
444
  export declare function createNewContract({ createContractRequest }: {
952
445
  createContractRequest: CreateContractRequest;
953
446
  }, opts?: Oazapfts.RequestOpts): Promise<Contract>;
@@ -957,21 +450,6 @@ export declare function createNewContract({ createContractRequest }: {
957
450
  export declare function linkResourceTypesToStackspotAccount({ linkResourceTypeToStackspotAccountRequest }: {
958
451
  linkResourceTypeToStackspotAccountRequest: LinkResourceTypeToStackspotAccountRequest;
959
452
  }, opts?: Oazapfts.RequestOpts): Promise<"100 CONTINUE" | "101 SWITCHING_PROTOCOLS" | "102 PROCESSING" | "103 EARLY_HINTS" | "103 CHECKPOINT" | "200 OK" | "201 CREATED" | "202 ACCEPTED" | "203 NON_AUTHORITATIVE_INFORMATION" | "204 NO_CONTENT" | "205 RESET_CONTENT" | "206 PARTIAL_CONTENT" | "207 MULTI_STATUS" | "208 ALREADY_REPORTED" | "226 IM_USED" | "300 MULTIPLE_CHOICES" | "301 MOVED_PERMANENTLY" | "302 FOUND" | "302 MOVED_TEMPORARILY" | "303 SEE_OTHER" | "304 NOT_MODIFIED" | "305 USE_PROXY" | "307 TEMPORARY_REDIRECT" | "308 PERMANENT_REDIRECT" | "400 BAD_REQUEST" | "401 UNAUTHORIZED" | "402 PAYMENT_REQUIRED" | "403 FORBIDDEN" | "404 NOT_FOUND" | "405 METHOD_NOT_ALLOWED" | "406 NOT_ACCEPTABLE" | "407 PROXY_AUTHENTICATION_REQUIRED" | "408 REQUEST_TIMEOUT" | "409 CONFLICT" | "410 GONE" | "411 LENGTH_REQUIRED" | "412 PRECONDITION_FAILED" | "413 PAYLOAD_TOO_LARGE" | "413 REQUEST_ENTITY_TOO_LARGE" | "414 URI_TOO_LONG" | "414 REQUEST_URI_TOO_LONG" | "415 UNSUPPORTED_MEDIA_TYPE" | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | "417 EXPECTATION_FAILED" | "418 I_AM_A_TEAPOT" | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | "420 METHOD_FAILURE" | "421 DESTINATION_LOCKED" | "422 UNPROCESSABLE_ENTITY" | "423 LOCKED" | "424 FAILED_DEPENDENCY" | "425 TOO_EARLY" | "426 UPGRADE_REQUIRED" | "428 PRECONDITION_REQUIRED" | "429 TOO_MANY_REQUESTS" | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | "500 INTERNAL_SERVER_ERROR" | "501 NOT_IMPLEMENTED" | "502 BAD_GATEWAY" | "503 SERVICE_UNAVAILABLE" | "504 GATEWAY_TIMEOUT" | "505 HTTP_VERSION_NOT_SUPPORTED" | "506 VARIANT_ALSO_NEGOTIATES" | "507 INSUFFICIENT_STORAGE" | "508 LOOP_DETECTED" | "509 BANDWIDTH_LIMIT_EXCEEDED" | "510 NOT_EXTENDED" | "511 NETWORK_AUTHENTICATION_REQUIRED">;
960
- /**
961
- *
962
- * Updates Managed Account related information. If the account is of CustomCloud type, it changes to CloudServices
963
- * (managed account type).
964
- *
965
- */
966
- export declare function updateManagedInfo({ updateManagedInfoRequest }: {
967
- updateManagedInfoRequest: UpdateManagedInfoRequest;
968
- }, opts?: Oazapfts.RequestOpts): Promise<UpdatedCloudAccountResponse>;
969
- /**
970
- * Disconnect a Cloud Account
971
- */
972
- export declare function disconnectCloudAccountById({ disconnectCloudAccountRequest }: {
973
- disconnectCloudAccountRequest: DisconnectCloudAccountRequest;
974
- }, opts?: Oazapfts.RequestOpts): Promise<UpdatedCloudAccountResponse>;
975
453
  /**
976
454
  * Return all baseline registered
977
455
  */
@@ -985,36 +463,21 @@ export declare function createBaseline({ baselineRequest }: {
985
463
  /**
986
464
  * Retrieves details from a billing account
987
465
  */
988
- export declare function getBillingAccountById({ jwtToken, stackSpotAccountId, billingAccountId }: {
989
- jwtToken: JwtToken;
466
+ export declare function getBillingAccountById({ stackSpotAccountId, billingAccountId }: {
990
467
  stackSpotAccountId: string;
991
468
  billingAccountId: string;
992
469
  }, opts?: Oazapfts.RequestOpts): Promise<BillingAccountDetailsResponse>;
993
470
  /**
994
471
  * Delete a billing account
995
472
  */
996
- export declare function deleteBillingAccountById({ jwtToken, stackSpotAccountId, billingAccountId }: {
997
- jwtToken: JwtToken;
473
+ export declare function deleteBillingAccountById({ stackSpotAccountId, billingAccountId }: {
998
474
  stackSpotAccountId: string;
999
475
  billingAccountId: string;
1000
476
  }, opts?: Oazapfts.RequestOpts): Promise<BillingAccountDetailsResponse>;
1001
- /**
1002
- * Get form fields and information
1003
- */
1004
- export declare function getFormField(opts?: Oazapfts.RequestOpts): Promise<SupportFormFieldResponse>;
1005
- /**
1006
- * Get an attachment file
1007
- */
1008
- export declare function getAttachment({ jwtToken, id }: {
1009
- jwtToken: JwtToken;
1010
- id: string;
1011
- }, opts?: Oazapfts.RequestOpts): Promise<AttachmentBase64>;
1012
- export declare function healthz(opts?: Oazapfts.RequestOpts): Promise<HealthComponent>;
1013
477
  /**
1014
478
  * Get all GuardRails
1015
479
  */
1016
- export declare function getGuardrails({ jwtToken, account, workspace, env }: {
1017
- jwtToken: JwtToken;
480
+ export declare function getGuardrails({ account, workspace, env }: {
1018
481
  account: string;
1019
482
  workspace?: string;
1020
483
  env?: string;
@@ -1022,13 +485,11 @@ export declare function getGuardrails({ jwtToken, account, workspace, env }: {
1022
485
  /**
1023
486
  * Get overview of costs, with current month, last month and three last month
1024
487
  */
1025
- export declare function getCostOverview({ jwtToken, sortBy, sortOrder }: {
1026
- jwtToken: JwtToken;
488
+ export declare function getCostOverview({ sortBy, sortOrder }: {
1027
489
  sortBy?: string;
1028
490
  sortOrder?: string;
1029
491
  }, opts?: Oazapfts.RequestOpts): Promise<CostOverview>;
1030
- export declare function downloadCsvFiles({ jwtToken, year, month }: {
1031
- jwtToken: JwtToken;
492
+ export declare function downloadCsvFiles({ year, month }: {
1032
493
  year: number;
1033
494
  month: number;
1034
495
  }, opts?: Oazapfts.RequestOpts): Promise<AttachmentBase64>;
@@ -1041,8 +502,7 @@ export declare function getAllTags({ stackspotAccountId }: {
1041
502
  /**
1042
503
  * lists all subTags of a given tag with their respective costs.
1043
504
  */
1044
- export declare function getAllocationCostTagValues({ jwtToken, masterAccount, tag, startDate, endDate, sort, page, pageSize }: {
1045
- jwtToken: JwtToken;
505
+ export declare function getAllocationCostTagValues({ masterAccount, tag, startDate, endDate, sort, page, pageSize }: {
1046
506
  masterAccount: string;
1047
507
  tag: string;
1048
508
  startDate: string;
@@ -1054,8 +514,7 @@ export declare function getAllocationCostTagValues({ jwtToken, masterAccount, ta
1054
514
  /**
1055
515
  * List all services of a subtag. Each service contains name and cost value.
1056
516
  */
1057
- export declare function getAllocationCostServices({ jwtToken, masterAccount, tag, tagValueName, startDate, endDate, sort, page, pageSize }: {
1058
- jwtToken: JwtToken;
517
+ export declare function getAllocationCostServices({ masterAccount, tag, tagValueName, startDate, endDate, sort, page, pageSize }: {
1059
518
  masterAccount: string;
1060
519
  tag: string;
1061
520
  tagValueName: string;
@@ -1068,8 +527,7 @@ export declare function getAllocationCostServices({ jwtToken, masterAccount, tag
1068
527
  /**
1069
528
  * list service details
1070
529
  */
1071
- export declare function getAllocationCostServiceDetails({ jwtToken, masterAccount, tag, tagValueName, serviceName, startDate, endDate, $type, filter, page, pageSize, sort }: {
1072
- jwtToken: JwtToken;
530
+ export declare function getAllocationCostServiceDetails({ masterAccount, tag, tagValueName, serviceName, startDate, endDate, $type, filter, page, pageSize, sort }: {
1073
531
  masterAccount: string;
1074
532
  tag: string;
1075
533
  tagValueName: string;
@@ -1091,15 +549,13 @@ export declare function getAllMasterAccount({ stackspotAccountId }: {
1091
549
  /**
1092
550
  * list filters related to the type
1093
551
  */
1094
- export declare function getAllocationCostFilters({ jwtToken, $type }: {
1095
- jwtToken: JwtToken;
552
+ export declare function getAllocationCostFilters({ $type }: {
1096
553
  $type: "SUB_ACCOUNT_ID" | "REGION";
1097
554
  }, opts?: Oazapfts.RequestOpts): Promise<string[]>;
1098
555
  /**
1099
556
  * returns the detailed csv with the masterAccount CUR information
1100
557
  */
1101
- export declare function getAllocationCostCsv({ jwtToken, stackspotAccountId, masterAccount, startDate, endDate }: {
1102
- jwtToken: JwtToken;
558
+ export declare function getAllocationCostCsv({ stackspotAccountId, masterAccount, startDate, endDate }: {
1103
559
  stackspotAccountId: string;
1104
560
  masterAccount: string;
1105
561
  startDate: string;
@@ -1108,8 +564,7 @@ export declare function getAllocationCostCsv({ jwtToken, stackspotAccountId, mas
1108
564
  /**
1109
565
  * List Instances of a particular Service Resource running in a Workspace
1110
566
  */
1111
- export declare function listInstances({ jwtToken, workspaceId, resourceId, pageToken, search }: {
1112
- jwtToken: JwtToken;
567
+ export declare function listInstances({ workspaceId, resourceId, pageToken, search }: {
1113
568
  workspaceId: string;
1114
569
  resourceId: string;
1115
570
  pageToken?: string;
@@ -1118,14 +573,11 @@ export declare function listInstances({ jwtToken, workspaceId, resourceId, pageT
1118
573
  /**
1119
574
  * List Managed Services
1120
575
  */
1121
- export declare function listServices({ jwtToken }: {
1122
- jwtToken: JwtToken;
1123
- }, opts?: Oazapfts.RequestOpts): Promise<ManagedService[]>;
576
+ export declare function listServices(opts?: Oazapfts.RequestOpts): Promise<ManagedService[]>;
1124
577
  /**
1125
578
  * A detailed description of a particular Instance
1126
579
  */
1127
- export declare function getInstanceDetails({ jwtToken, cloudAccountId, resourceId, instanceId }: {
1128
- jwtToken: JwtToken;
580
+ export declare function getInstanceDetails({ cloudAccountId, resourceId, instanceId }: {
1129
581
  cloudAccountId: string;
1130
582
  resourceId: string;
1131
583
  instanceId: string;
@@ -1135,49 +587,11 @@ export declare function getInstanceDetails({ jwtToken, cloudAccountId, resourceI
1135
587
  */
1136
588
  export declare function getOfferOfAccount({ id }: {
1137
589
  id: string;
1138
- }, opts?: Oazapfts.RequestOpts): Promise<CloudOfferResponse>;
1139
- /**
1140
- * Get the external-id for the given Cloud Account ID.
1141
- */
1142
- export declare function getCloudAccountExternalId({ cloudAccountId }: {
1143
- cloudAccountId: string;
1144
- }, opts?: Oazapfts.RequestOpts): Promise<string>;
1145
- /**
1146
- * Get the cloud account workflow of a workspace environment
1147
- */
1148
- export declare function getProvisionWorkflowInWorkspace({ jwtToken, workspaceId }: {
1149
- jwtToken: JwtToken;
1150
- workspaceId: string;
1151
- }, opts?: Oazapfts.RequestOpts): Promise<Workflow>;
1152
- /**
1153
- * Get a cloud account connected to a workspace environment
1154
- */
1155
- export declare function getCloudAccountByEnvironment({ accountId, workspaceId, environmentId }: {
1156
- accountId: string;
1157
- workspaceId: string;
1158
- environmentId: string;
1159
- }, opts?: Oazapfts.RequestOpts): Promise<CloudAccountWithCredentialResponse>;
1160
- /**
1161
- * Get a list of cloud accounts connected to a workspace
1162
- */
1163
- export declare function getCloudAccountByWorkspace({ jwtToken, accountId, id }: {
1164
- jwtToken: JwtToken;
1165
- accountId?: string;
1166
- id: string;
1167
- }, opts?: Oazapfts.RequestOpts): Promise<CloudAccountDetails[]>;
1168
- /**
1169
- * Get all available templates for Managed Cloud
1170
- */
1171
- export declare function getManagedCloudTemplate(opts?: Oazapfts.RequestOpts): Promise<ManagedAccountTemplateResponse[]>;
1172
- /**
1173
- * Get all available regions for Managed Cloud
1174
- */
1175
- export declare function getManagedCloudRegion(opts?: Oazapfts.RequestOpts): Promise<ManagedAccountRegionResponse[]>;
590
+ }, opts?: Oazapfts.RequestOpts): Promise<AccountCloudOfferResponse>;
1176
591
  /**
1177
592
  * Get pages alerts from workspace and environment. That alerts can be filtered
1178
593
  */
1179
- export declare function getAlerts({ jwtToken, workspace, env, pillar, severity, status, search, sort, page, pageSize }: {
1180
- jwtToken: JwtToken;
594
+ export declare function getAlerts({ workspace, env, pillar, severity, status, search, sort, page, pageSize }: {
1181
595
  workspace: string;
1182
596
  env: string;
1183
597
  pillar?: "SECURITY" | "COST_OPTIMIZATION" | "RELIABILITY";
@@ -1197,37 +611,4 @@ export declare function downloadDataByAccountId({ stackspotAccountId, year, mont
1197
611
  * List available services
1198
612
  */
1199
613
  export declare function listServices1(opts?: Oazapfts.RequestOpts): Promise<ServiceSummary[]>;
1200
- /**
1201
- * Get Cloud Account data with details
1202
- */
1203
- export declare function getCloudAccount({ stackspotAccountId, workspaceId, environmentId, provider, $type, status }: {
1204
- stackspotAccountId?: string;
1205
- workspaceId?: string;
1206
- environmentId?: string;
1207
- provider?: "AWS" | "Azure";
1208
- $type?: "CustomCloud" | "CloudServices";
1209
- status?: "Connecting" | "Connected" | "Disconnected" | "Failed" | "Unknown";
1210
- }, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseAdminCloudAccountDetails>;
1211
- /**
1212
- * Delete a cloud account.
1213
- */
1214
- export declare function deleteCloudAccountFromEnvironment({ jwtToken, id }: {
1215
- jwtToken: JwtToken;
1216
- id: string;
1217
- }, opts?: Oazapfts.RequestOpts): Promise<DeleteCloudAccountResponse>;
1218
- /**
1219
- *
1220
- * Delete all accounts in a workspace.
1221
- *
1222
- */
1223
- export declare function deleteManagedAccountsFromWorkspace({ jwtToken, workspaceId }: {
1224
- jwtToken: JwtToken;
1225
- workspaceId: string;
1226
- }, opts?: Oazapfts.RequestOpts): Promise<DeleteCloudAccountResponse>;
1227
- /**
1228
- * Delete a relation between control tower and stackspot account
1229
- */
1230
- export declare function deleteAccountTower({ id }: {
1231
- id: string;
1232
- }, opts?: Oazapfts.RequestOpts): Promise<"100 CONTINUE" | "101 SWITCHING_PROTOCOLS" | "102 PROCESSING" | "103 EARLY_HINTS" | "103 CHECKPOINT" | "200 OK" | "201 CREATED" | "202 ACCEPTED" | "203 NON_AUTHORITATIVE_INFORMATION" | "204 NO_CONTENT" | "205 RESET_CONTENT" | "206 PARTIAL_CONTENT" | "207 MULTI_STATUS" | "208 ALREADY_REPORTED" | "226 IM_USED" | "300 MULTIPLE_CHOICES" | "301 MOVED_PERMANENTLY" | "302 FOUND" | "302 MOVED_TEMPORARILY" | "303 SEE_OTHER" | "304 NOT_MODIFIED" | "305 USE_PROXY" | "307 TEMPORARY_REDIRECT" | "308 PERMANENT_REDIRECT" | "400 BAD_REQUEST" | "401 UNAUTHORIZED" | "402 PAYMENT_REQUIRED" | "403 FORBIDDEN" | "404 NOT_FOUND" | "405 METHOD_NOT_ALLOWED" | "406 NOT_ACCEPTABLE" | "407 PROXY_AUTHENTICATION_REQUIRED" | "408 REQUEST_TIMEOUT" | "409 CONFLICT" | "410 GONE" | "411 LENGTH_REQUIRED" | "412 PRECONDITION_FAILED" | "413 PAYLOAD_TOO_LARGE" | "413 REQUEST_ENTITY_TOO_LARGE" | "414 URI_TOO_LONG" | "414 REQUEST_URI_TOO_LONG" | "415 UNSUPPORTED_MEDIA_TYPE" | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | "417 EXPECTATION_FAILED" | "418 I_AM_A_TEAPOT" | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | "420 METHOD_FAILURE" | "421 DESTINATION_LOCKED" | "422 UNPROCESSABLE_ENTITY" | "423 LOCKED" | "424 FAILED_DEPENDENCY" | "425 TOO_EARLY" | "426 UPGRADE_REQUIRED" | "428 PRECONDITION_REQUIRED" | "429 TOO_MANY_REQUESTS" | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | "500 INTERNAL_SERVER_ERROR" | "501 NOT_IMPLEMENTED" | "502 BAD_GATEWAY" | "503 SERVICE_UNAVAILABLE" | "504 GATEWAY_TIMEOUT" | "505 HTTP_VERSION_NOT_SUPPORTED" | "506 VARIANT_ALSO_NEGOTIATES" | "507 INSUFFICIENT_STORAGE" | "508 LOOP_DETECTED" | "509 BANDWIDTH_LIMIT_EXCEEDED" | "510 NOT_EXTENDED" | "511 NETWORK_AUTHENTICATION_REQUIRED">;
1233
614
  //# sourceMappingURL=cloudServices.d.ts.map