@astrogate/sdk 0.1.0 → 0.3.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.
@@ -688,7 +688,8 @@ export interface paths {
688
688
  };
689
689
  get: operations["listEnvironments"];
690
690
  put?: never;
691
- post?: never;
691
+ /** @description Create an empty Preview or single Staging scope. Expected revision belongs to the parent project. Resources and permissions are not copied. The operation completes atomically with the scope. */
692
+ post: operations["createEnvironment"];
692
693
  delete?: never;
693
694
  options?: never;
694
695
  head?: never;
@@ -1037,6 +1038,119 @@ export interface paths {
1037
1038
  patch?: never;
1038
1039
  trace?: never;
1039
1040
  };
1041
+ "/v1/operator/products/{productId}/tenants/{tenantId}/resources": {
1042
+ parameters: {
1043
+ query?: never;
1044
+ header?: never;
1045
+ path?: never;
1046
+ cookie?: never;
1047
+ };
1048
+ get: operations["listOperatorResources"];
1049
+ put?: never;
1050
+ post?: never;
1051
+ delete?: never;
1052
+ options?: never;
1053
+ head?: never;
1054
+ patch?: never;
1055
+ trace?: never;
1056
+ };
1057
+ "/v1/operator/host-environments": {
1058
+ parameters: {
1059
+ query?: never;
1060
+ header?: never;
1061
+ path?: never;
1062
+ cookie?: never;
1063
+ };
1064
+ get: operations["listOperatorHostEnvironments"];
1065
+ put?: never;
1066
+ post?: never;
1067
+ delete?: never;
1068
+ options?: never;
1069
+ head?: never;
1070
+ patch?: never;
1071
+ trace?: never;
1072
+ };
1073
+ "/v1/operator/products/{productId}/tenants/{tenantId}/projects/{projectId}/environments/{environmentId}/relationships": {
1074
+ parameters: {
1075
+ query?: never;
1076
+ header?: never;
1077
+ path?: never;
1078
+ cookie?: never;
1079
+ };
1080
+ get: operations["getOperatorResourceRelationships"];
1081
+ put?: never;
1082
+ post?: never;
1083
+ delete?: never;
1084
+ options?: never;
1085
+ head?: never;
1086
+ patch?: never;
1087
+ trace?: never;
1088
+ };
1089
+ "/v1/tenants/{tenant}/admission": {
1090
+ parameters: {
1091
+ query?: never;
1092
+ header?: never;
1093
+ path?: never;
1094
+ cookie?: never;
1095
+ };
1096
+ get: operations["getAdmissionState"];
1097
+ put?: never;
1098
+ /** @description Requires policy.assign and an installation-registered profile grant. Revision compare-and-set does not auto-retry an uncertain response. Read current state before deciding whether to submit another change. */
1099
+ post: operations["assignAdmissionPolicy"];
1100
+ delete?: never;
1101
+ options?: never;
1102
+ head?: never;
1103
+ patch?: never;
1104
+ trace?: never;
1105
+ };
1106
+ "/v1/tenants/{tenant}/usage": {
1107
+ parameters: {
1108
+ query?: never;
1109
+ header?: never;
1110
+ path?: never;
1111
+ cookie?: never;
1112
+ };
1113
+ get: operations["getAdmissionUsage"];
1114
+ put?: never;
1115
+ post?: never;
1116
+ delete?: never;
1117
+ options?: never;
1118
+ head?: never;
1119
+ patch?: never;
1120
+ trace?: never;
1121
+ };
1122
+ "/v1/operator/products/{product}/tenants/{tenant}/admission": {
1123
+ parameters: {
1124
+ query?: never;
1125
+ header?: never;
1126
+ path?: never;
1127
+ cookie?: never;
1128
+ };
1129
+ get: operations["operatorAdmission"];
1130
+ put?: never;
1131
+ post?: never;
1132
+ delete?: never;
1133
+ options?: never;
1134
+ head?: never;
1135
+ patch?: never;
1136
+ trace?: never;
1137
+ };
1138
+ "/v1/operator/products/{product}/tenants/{tenant}/usage": {
1139
+ parameters: {
1140
+ query?: never;
1141
+ header?: never;
1142
+ path?: never;
1143
+ cookie?: never;
1144
+ };
1145
+ get: operations["operatorUsage"];
1146
+ put?: never;
1147
+ post?: never;
1148
+ delete?: never;
1149
+ options?: never;
1150
+ head?: never;
1151
+ patch?: never;
1152
+ trace?: never;
1153
+ };
1040
1154
  }
1041
1155
  export type webhooks = Record<string, never>;
1042
1156
  export interface components {
@@ -1064,6 +1178,10 @@ export interface components {
1064
1178
  message: string;
1065
1179
  requestId: string;
1066
1180
  retryable: boolean;
1181
+ scope?: string;
1182
+ dimension?: string;
1183
+ reason?: string;
1184
+ error?: string;
1067
1185
  };
1068
1186
  CreateDeployment: {
1069
1187
  releaseId: string;
@@ -1562,6 +1680,178 @@ export interface components {
1562
1680
  items: components["schemas"]["HostnameBinding"][];
1563
1681
  nextCursor: string;
1564
1682
  };
1683
+ ResourceSummary: {
1684
+ product: string;
1685
+ tenant: string;
1686
+ project: string;
1687
+ projectName: string;
1688
+ environment: string;
1689
+ environmentName: string;
1690
+ environmentKind: string;
1691
+ cell: string;
1692
+ location: string;
1693
+ phase: string;
1694
+ };
1695
+ ResourceSummaryPage: {
1696
+ items: components["schemas"]["ResourceSummary"][];
1697
+ nextCursor: string;
1698
+ };
1699
+ ResourceNode: {
1700
+ id: string;
1701
+ kind: string;
1702
+ label: string;
1703
+ resourceId: string;
1704
+ providerId: string;
1705
+ cell: string;
1706
+ location: string;
1707
+ state: string;
1708
+ allocation: string;
1709
+ evidence: string;
1710
+ operationId: string;
1711
+ };
1712
+ ResourceRelationship: {
1713
+ id: string;
1714
+ source: string;
1715
+ target: string;
1716
+ kind: string;
1717
+ evidence: string;
1718
+ };
1719
+ ResourceRecoveryTest: {
1720
+ operationId: string;
1721
+ state: string;
1722
+ /** Format: date-time */
1723
+ recordedAt: string;
1724
+ };
1725
+ ResourceRecovery: {
1726
+ protection: string;
1727
+ targetCell: string;
1728
+ targetLocation: string;
1729
+ /** Format: date-time */
1730
+ checkpointAt: string | null;
1731
+ latestTest: components["schemas"]["ResourceRecoveryTest"] | null;
1732
+ /** @enum {string} */
1733
+ automaticFailover: "not-established";
1734
+ };
1735
+ ResourceRelationships: {
1736
+ resource: components["schemas"]["ResourceSummary"];
1737
+ /** Format: int64 */
1738
+ epoch: number;
1739
+ /** Format: date-time */
1740
+ observedAt: string | null;
1741
+ /** Format: date-time */
1742
+ validUntil: string | null;
1743
+ fresh: boolean;
1744
+ nodes: components["schemas"]["ResourceNode"][];
1745
+ relationships: components["schemas"]["ResourceRelationship"][];
1746
+ recovery: components["schemas"]["ResourceRecovery"];
1747
+ notes: string[];
1748
+ };
1749
+ AdmissionRule: {
1750
+ /** Format: double */
1751
+ requestsPerSecond: number;
1752
+ /** Format: int64 */
1753
+ burst: number;
1754
+ /** Format: int64 */
1755
+ concurrent: number;
1756
+ /** Format: int64 */
1757
+ pending: number;
1758
+ /** Format: int64 */
1759
+ pendingBytes: number;
1760
+ /** Format: int64 */
1761
+ waitMs: number;
1762
+ /** Format: int64 */
1763
+ executionMs: number;
1764
+ };
1765
+ WorkloadRule: {
1766
+ tenant: components["schemas"]["AdmissionRule"];
1767
+ application: components["schemas"]["AdmissionRule"];
1768
+ };
1769
+ AdmissionRetention: {
1770
+ /** Format: int64 */
1771
+ rawLogsSeconds: number;
1772
+ /** Format: int64 */
1773
+ usageSeconds: number;
1774
+ /** Format: int64 */
1775
+ subjectSeconds: number;
1776
+ };
1777
+ AdmissionProfile: {
1778
+ id: string;
1779
+ evidence: string;
1780
+ rules: {
1781
+ [key: string]: components["schemas"]["WorkloadRule"];
1782
+ };
1783
+ /** Format: int64 */
1784
+ durableBytes: number;
1785
+ retention: components["schemas"]["AdmissionRetention"];
1786
+ };
1787
+ AdmissionPolicy: {
1788
+ /** Format: int64 */
1789
+ revision: number;
1790
+ profile: components["schemas"]["AdmissionProfile"];
1791
+ /** Format: date-time */
1792
+ assignedAt: string;
1793
+ };
1794
+ AssignAdmissionPolicy: {
1795
+ profileId: string;
1796
+ /** Format: int64 */
1797
+ expectedRevision: number;
1798
+ };
1799
+ AdmissionOccupancy: {
1800
+ projectId: string;
1801
+ workload: string;
1802
+ /** Format: int64 */
1803
+ running: number;
1804
+ /** Format: int64 */
1805
+ unacknowledged: number;
1806
+ /** Format: int64 */
1807
+ pending: number;
1808
+ /** Format: int64 */
1809
+ pendingBytes: number;
1810
+ /** Format: date-time */
1811
+ oldest?: string;
1812
+ };
1813
+ TenantStorageCredit: {
1814
+ projectId: string;
1815
+ environmentId: string;
1816
+ block: string;
1817
+ owner: string;
1818
+ /** Format: int64 */
1819
+ bytes: number;
1820
+ /** Format: int64 */
1821
+ epoch: number;
1822
+ };
1823
+ AdmissionState: {
1824
+ policy: components["schemas"]["AdmissionPolicy"];
1825
+ occupancy: components["schemas"]["AdmissionOccupancy"][];
1826
+ storageCredits: components["schemas"]["TenantStorageCredit"][];
1827
+ };
1828
+ AdmissionUsagePoint: {
1829
+ /** Format: date-time */
1830
+ hour: string;
1831
+ workload: string;
1832
+ outcome: string;
1833
+ /** Format: int64 */
1834
+ requests: number;
1835
+ /** Format: int64 */
1836
+ bytes: number;
1837
+ /** Format: int64 */
1838
+ elapsedMs: number;
1839
+ };
1840
+ AdmissionUsagePage: {
1841
+ points: components["schemas"]["AdmissionUsagePoint"][];
1842
+ /** Format: date-time */
1843
+ next?: string;
1844
+ };
1845
+ CreateEnvironment: {
1846
+ name: string;
1847
+ /** @enum {string} */
1848
+ kind: "preview" | "staging";
1849
+ /**
1850
+ * Format: int64
1851
+ * @description Current parent project revision
1852
+ */
1853
+ expectedRevision: number;
1854
+ };
1565
1855
  };
1566
1856
  responses: never;
1567
1857
  parameters: never;
@@ -1576,6 +1866,8 @@ export interface operations {
1576
1866
  query?: {
1577
1867
  limit?: number;
1578
1868
  cursor?: string;
1869
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
1870
+ search?: string;
1579
1871
  };
1580
1872
  header?: never;
1581
1873
  path: {
@@ -5494,6 +5786,8 @@ export interface operations {
5494
5786
  query?: {
5495
5787
  limit?: number;
5496
5788
  cursor?: string;
5789
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
5790
+ search?: string;
5497
5791
  };
5498
5792
  header?: never;
5499
5793
  path: {
@@ -5560,28 +5854,36 @@ export interface operations {
5560
5854
  };
5561
5855
  };
5562
5856
  };
5563
- listOperatorProducts: {
5857
+ createEnvironment: {
5564
5858
  parameters: {
5565
- query?: {
5566
- limit?: number;
5567
- cursor?: string;
5859
+ query?: never;
5860
+ header: {
5861
+ "Idempotency-Key": string;
5862
+ };
5863
+ path: {
5864
+ tenant: string;
5865
+ project: string;
5568
5866
  };
5569
- header?: never;
5570
- path?: never;
5571
5867
  cookie?: never;
5572
5868
  };
5573
- requestBody?: never;
5869
+ requestBody: {
5870
+ content: {
5871
+ "application/json": components["schemas"]["CreateEnvironment"];
5872
+ };
5873
+ };
5574
5874
  responses: {
5575
- /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
5576
- 200: {
5875
+ /** @description Durable completed logical environment operation; no native resource implied */
5876
+ 202: {
5577
5877
  headers: {
5878
+ /** @description Operation status URL */
5879
+ Location?: string;
5578
5880
  [name: string]: unknown;
5579
5881
  };
5580
5882
  content: {
5581
- "application/json": components["schemas"]["CatalogEntryPage"];
5883
+ "application/json": components["schemas"]["Accepted"];
5582
5884
  };
5583
5885
  };
5584
- /** @description Rejected request or unavailable dependency */
5886
+ /** @description Invalid input */
5585
5887
  400: {
5586
5888
  headers: {
5587
5889
  [name: string]: unknown;
@@ -5590,7 +5892,7 @@ export interface operations {
5590
5892
  "application/json": components["schemas"]["Error"];
5591
5893
  };
5592
5894
  };
5593
- /** @description Rejected request or unavailable dependency */
5895
+ /** @description Missing or invalid credential */
5594
5896
  401: {
5595
5897
  headers: {
5596
5898
  [name: string]: unknown;
@@ -5599,7 +5901,7 @@ export interface operations {
5599
5901
  "application/json": components["schemas"]["Error"];
5600
5902
  };
5601
5903
  };
5602
- /** @description Rejected request or unavailable dependency */
5904
+ /** @description Missing capability */
5603
5905
  403: {
5604
5906
  headers: {
5605
5907
  [name: string]: unknown;
@@ -5608,7 +5910,7 @@ export interface operations {
5608
5910
  "application/json": components["schemas"]["Error"];
5609
5911
  };
5610
5912
  };
5611
- /** @description Rejected request or unavailable dependency */
5913
+ /** @description Unknown route or scope */
5612
5914
  404: {
5613
5915
  headers: {
5614
5916
  [name: string]: unknown;
@@ -5617,8 +5919,8 @@ export interface operations {
5617
5919
  "application/json": components["schemas"]["Error"];
5618
5920
  };
5619
5921
  };
5620
- /** @description Rejected request or unavailable dependency */
5621
- 503: {
5922
+ /** @description Parent revision, name, single-Staging or idempotency conflict */
5923
+ 409: {
5622
5924
  headers: {
5623
5925
  [name: string]: unknown;
5624
5926
  };
@@ -5626,33 +5928,17 @@ export interface operations {
5626
5928
  "application/json": components["schemas"]["Error"];
5627
5929
  };
5628
5930
  };
5629
- };
5630
- };
5631
- listOperatorTenants: {
5632
- parameters: {
5633
- query?: {
5634
- limit?: number;
5635
- cursor?: string;
5636
- };
5637
- header?: never;
5638
- path: {
5639
- product: string;
5640
- };
5641
- cookie?: never;
5642
- };
5643
- requestBody?: never;
5644
- responses: {
5645
- /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
5646
- 200: {
5931
+ /** @description Body exceeds 16 KiB */
5932
+ 413: {
5647
5933
  headers: {
5648
5934
  [name: string]: unknown;
5649
5935
  };
5650
5936
  content: {
5651
- "application/json": components["schemas"]["CatalogEntryPage"];
5937
+ "application/json": components["schemas"]["Error"];
5652
5938
  };
5653
5939
  };
5654
- /** @description Rejected request or unavailable dependency */
5655
- 400: {
5940
+ /** @description JSON required */
5941
+ 415: {
5656
5942
  headers: {
5657
5943
  [name: string]: unknown;
5658
5944
  };
@@ -5660,8 +5946,8 @@ export interface operations {
5660
5946
  "application/json": components["schemas"]["Error"];
5661
5947
  };
5662
5948
  };
5663
- /** @description Rejected request or unavailable dependency */
5664
- 401: {
5949
+ /** @description Quota exceeded */
5950
+ 429: {
5665
5951
  headers: {
5666
5952
  [name: string]: unknown;
5667
5953
  };
@@ -5669,9 +5955,133 @@ export interface operations {
5669
5955
  "application/json": components["schemas"]["Error"];
5670
5956
  };
5671
5957
  };
5672
- /** @description Rejected request or unavailable dependency */
5673
- 403: {
5674
- headers: {
5958
+ /** @description Dependency unavailable */
5959
+ 503: {
5960
+ headers: {
5961
+ [name: string]: unknown;
5962
+ };
5963
+ content: {
5964
+ "application/json": components["schemas"]["Error"];
5965
+ };
5966
+ };
5967
+ };
5968
+ };
5969
+ listOperatorProducts: {
5970
+ parameters: {
5971
+ query?: {
5972
+ limit?: number;
5973
+ cursor?: string;
5974
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
5975
+ search?: string;
5976
+ };
5977
+ header?: never;
5978
+ path?: never;
5979
+ cookie?: never;
5980
+ };
5981
+ requestBody?: never;
5982
+ responses: {
5983
+ /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
5984
+ 200: {
5985
+ headers: {
5986
+ [name: string]: unknown;
5987
+ };
5988
+ content: {
5989
+ "application/json": components["schemas"]["CatalogEntryPage"];
5990
+ };
5991
+ };
5992
+ /** @description Rejected request or unavailable dependency */
5993
+ 400: {
5994
+ headers: {
5995
+ [name: string]: unknown;
5996
+ };
5997
+ content: {
5998
+ "application/json": components["schemas"]["Error"];
5999
+ };
6000
+ };
6001
+ /** @description Rejected request or unavailable dependency */
6002
+ 401: {
6003
+ headers: {
6004
+ [name: string]: unknown;
6005
+ };
6006
+ content: {
6007
+ "application/json": components["schemas"]["Error"];
6008
+ };
6009
+ };
6010
+ /** @description Rejected request or unavailable dependency */
6011
+ 403: {
6012
+ headers: {
6013
+ [name: string]: unknown;
6014
+ };
6015
+ content: {
6016
+ "application/json": components["schemas"]["Error"];
6017
+ };
6018
+ };
6019
+ /** @description Rejected request or unavailable dependency */
6020
+ 404: {
6021
+ headers: {
6022
+ [name: string]: unknown;
6023
+ };
6024
+ content: {
6025
+ "application/json": components["schemas"]["Error"];
6026
+ };
6027
+ };
6028
+ /** @description Rejected request or unavailable dependency */
6029
+ 503: {
6030
+ headers: {
6031
+ [name: string]: unknown;
6032
+ };
6033
+ content: {
6034
+ "application/json": components["schemas"]["Error"];
6035
+ };
6036
+ };
6037
+ };
6038
+ };
6039
+ listOperatorTenants: {
6040
+ parameters: {
6041
+ query?: {
6042
+ limit?: number;
6043
+ cursor?: string;
6044
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
6045
+ search?: string;
6046
+ };
6047
+ header?: never;
6048
+ path: {
6049
+ product: string;
6050
+ };
6051
+ cookie?: never;
6052
+ };
6053
+ requestBody?: never;
6054
+ responses: {
6055
+ /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
6056
+ 200: {
6057
+ headers: {
6058
+ [name: string]: unknown;
6059
+ };
6060
+ content: {
6061
+ "application/json": components["schemas"]["CatalogEntryPage"];
6062
+ };
6063
+ };
6064
+ /** @description Rejected request or unavailable dependency */
6065
+ 400: {
6066
+ headers: {
6067
+ [name: string]: unknown;
6068
+ };
6069
+ content: {
6070
+ "application/json": components["schemas"]["Error"];
6071
+ };
6072
+ };
6073
+ /** @description Rejected request or unavailable dependency */
6074
+ 401: {
6075
+ headers: {
6076
+ [name: string]: unknown;
6077
+ };
6078
+ content: {
6079
+ "application/json": components["schemas"]["Error"];
6080
+ };
6081
+ };
6082
+ /** @description Rejected request or unavailable dependency */
6083
+ 403: {
6084
+ headers: {
5675
6085
  [name: string]: unknown;
5676
6086
  };
5677
6087
  content: {
@@ -5703,6 +6113,8 @@ export interface operations {
5703
6113
  query?: {
5704
6114
  limit?: number;
5705
6115
  cursor?: string;
6116
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
6117
+ search?: string;
5706
6118
  };
5707
6119
  header?: never;
5708
6120
  path: {
@@ -5774,6 +6186,8 @@ export interface operations {
5774
6186
  query?: {
5775
6187
  limit?: number;
5776
6188
  cursor?: string;
6189
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
6190
+ search?: string;
5777
6191
  };
5778
6192
  header?: never;
5779
6193
  path: {
@@ -7104,4 +7518,398 @@ export interface operations {
7104
7518
  };
7105
7519
  };
7106
7520
  };
7521
+ listOperatorResources: {
7522
+ parameters: {
7523
+ query?: {
7524
+ limit?: number;
7525
+ cursor?: string;
7526
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
7527
+ search?: string;
7528
+ };
7529
+ header?: never;
7530
+ path: {
7531
+ productId: string;
7532
+ tenantId: string;
7533
+ };
7534
+ cookie?: never;
7535
+ };
7536
+ requestBody?: never;
7537
+ responses: {
7538
+ /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
7539
+ 200: {
7540
+ headers: {
7541
+ [name: string]: unknown;
7542
+ };
7543
+ content: {
7544
+ "application/json": components["schemas"]["ResourceSummaryPage"];
7545
+ };
7546
+ };
7547
+ /** @description Rejected request or unavailable dependency */
7548
+ 400: {
7549
+ headers: {
7550
+ [name: string]: unknown;
7551
+ };
7552
+ content: {
7553
+ "application/json": components["schemas"]["Error"];
7554
+ };
7555
+ };
7556
+ /** @description Rejected request or unavailable dependency */
7557
+ 401: {
7558
+ headers: {
7559
+ [name: string]: unknown;
7560
+ };
7561
+ content: {
7562
+ "application/json": components["schemas"]["Error"];
7563
+ };
7564
+ };
7565
+ /** @description Rejected request or unavailable dependency */
7566
+ 403: {
7567
+ headers: {
7568
+ [name: string]: unknown;
7569
+ };
7570
+ content: {
7571
+ "application/json": components["schemas"]["Error"];
7572
+ };
7573
+ };
7574
+ /** @description Rejected request or unavailable dependency */
7575
+ 404: {
7576
+ headers: {
7577
+ [name: string]: unknown;
7578
+ };
7579
+ content: {
7580
+ "application/json": components["schemas"]["Error"];
7581
+ };
7582
+ };
7583
+ /** @description Rejected request or unavailable dependency */
7584
+ 503: {
7585
+ headers: {
7586
+ [name: string]: unknown;
7587
+ };
7588
+ content: {
7589
+ "application/json": components["schemas"]["Error"];
7590
+ };
7591
+ };
7592
+ };
7593
+ };
7594
+ listOperatorHostEnvironments: {
7595
+ parameters: {
7596
+ query: {
7597
+ limit?: number;
7598
+ cursor?: string;
7599
+ /** @description Case-insensitive literal substring over registered IDs and available names, applied before pagination. Cursors bind the search. */
7600
+ search?: string;
7601
+ /** @description Exact native provider identity, never a server name. */
7602
+ providerId: string;
7603
+ };
7604
+ header?: never;
7605
+ path?: never;
7606
+ cookie?: never;
7607
+ };
7608
+ requestBody?: never;
7609
+ responses: {
7610
+ /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
7611
+ 200: {
7612
+ headers: {
7613
+ [name: string]: unknown;
7614
+ };
7615
+ content: {
7616
+ "application/json": components["schemas"]["ResourceSummaryPage"];
7617
+ };
7618
+ };
7619
+ /** @description Rejected request or unavailable dependency */
7620
+ 400: {
7621
+ headers: {
7622
+ [name: string]: unknown;
7623
+ };
7624
+ content: {
7625
+ "application/json": components["schemas"]["Error"];
7626
+ };
7627
+ };
7628
+ /** @description Rejected request or unavailable dependency */
7629
+ 401: {
7630
+ headers: {
7631
+ [name: string]: unknown;
7632
+ };
7633
+ content: {
7634
+ "application/json": components["schemas"]["Error"];
7635
+ };
7636
+ };
7637
+ /** @description Rejected request or unavailable dependency */
7638
+ 403: {
7639
+ headers: {
7640
+ [name: string]: unknown;
7641
+ };
7642
+ content: {
7643
+ "application/json": components["schemas"]["Error"];
7644
+ };
7645
+ };
7646
+ /** @description Rejected request or unavailable dependency */
7647
+ 404: {
7648
+ headers: {
7649
+ [name: string]: unknown;
7650
+ };
7651
+ content: {
7652
+ "application/json": components["schemas"]["Error"];
7653
+ };
7654
+ };
7655
+ /** @description Rejected request or unavailable dependency */
7656
+ 503: {
7657
+ headers: {
7658
+ [name: string]: unknown;
7659
+ };
7660
+ content: {
7661
+ "application/json": components["schemas"]["Error"];
7662
+ };
7663
+ };
7664
+ };
7665
+ };
7666
+ getOperatorResourceRelationships: {
7667
+ parameters: {
7668
+ query?: never;
7669
+ header?: never;
7670
+ path: {
7671
+ productId: string;
7672
+ tenantId: string;
7673
+ projectId: string;
7674
+ environmentId: string;
7675
+ };
7676
+ cookie?: never;
7677
+ };
7678
+ requestBody?: never;
7679
+ responses: {
7680
+ /** @description Authorized stable keyset page. Empty nextCursor marks the end. */
7681
+ 200: {
7682
+ headers: {
7683
+ [name: string]: unknown;
7684
+ };
7685
+ content: {
7686
+ "application/json": components["schemas"]["ResourceRelationships"];
7687
+ };
7688
+ };
7689
+ /** @description Rejected request or unavailable dependency */
7690
+ 400: {
7691
+ headers: {
7692
+ [name: string]: unknown;
7693
+ };
7694
+ content: {
7695
+ "application/json": components["schemas"]["Error"];
7696
+ };
7697
+ };
7698
+ /** @description Rejected request or unavailable dependency */
7699
+ 401: {
7700
+ headers: {
7701
+ [name: string]: unknown;
7702
+ };
7703
+ content: {
7704
+ "application/json": components["schemas"]["Error"];
7705
+ };
7706
+ };
7707
+ /** @description Rejected request or unavailable dependency */
7708
+ 403: {
7709
+ headers: {
7710
+ [name: string]: unknown;
7711
+ };
7712
+ content: {
7713
+ "application/json": components["schemas"]["Error"];
7714
+ };
7715
+ };
7716
+ /** @description Rejected request or unavailable dependency */
7717
+ 404: {
7718
+ headers: {
7719
+ [name: string]: unknown;
7720
+ };
7721
+ content: {
7722
+ "application/json": components["schemas"]["Error"];
7723
+ };
7724
+ };
7725
+ /** @description Rejected request or unavailable dependency */
7726
+ 503: {
7727
+ headers: {
7728
+ [name: string]: unknown;
7729
+ };
7730
+ content: {
7731
+ "application/json": components["schemas"]["Error"];
7732
+ };
7733
+ };
7734
+ };
7735
+ };
7736
+ getAdmissionState: {
7737
+ parameters: {
7738
+ query?: never;
7739
+ header?: never;
7740
+ path: {
7741
+ tenant: string;
7742
+ };
7743
+ cookie?: never;
7744
+ };
7745
+ requestBody?: never;
7746
+ responses: {
7747
+ /** @description Authorized tenant projection */
7748
+ 200: {
7749
+ headers: {
7750
+ [name: string]: unknown;
7751
+ };
7752
+ content: {
7753
+ "application/json": components["schemas"]["AdmissionState"];
7754
+ };
7755
+ };
7756
+ /** @description Scoped API error */
7757
+ default: {
7758
+ headers: {
7759
+ [name: string]: unknown;
7760
+ };
7761
+ content: {
7762
+ "application/json": components["schemas"]["Error"];
7763
+ };
7764
+ };
7765
+ };
7766
+ };
7767
+ assignAdmissionPolicy: {
7768
+ parameters: {
7769
+ query?: never;
7770
+ header?: never;
7771
+ path: {
7772
+ tenant: string;
7773
+ };
7774
+ cookie?: never;
7775
+ };
7776
+ requestBody: {
7777
+ content: {
7778
+ "application/json": components["schemas"]["AssignAdmissionPolicy"];
7779
+ };
7780
+ };
7781
+ responses: {
7782
+ /** @description Authorized tenant projection */
7783
+ 200: {
7784
+ headers: {
7785
+ [name: string]: unknown;
7786
+ };
7787
+ content: {
7788
+ "application/json": components["schemas"]["AdmissionPolicy"];
7789
+ };
7790
+ };
7791
+ /** @description Scoped API error */
7792
+ default: {
7793
+ headers: {
7794
+ [name: string]: unknown;
7795
+ };
7796
+ content: {
7797
+ "application/json": components["schemas"]["Error"];
7798
+ };
7799
+ };
7800
+ };
7801
+ };
7802
+ getAdmissionUsage: {
7803
+ parameters: {
7804
+ query: {
7805
+ project?: string;
7806
+ environment?: string;
7807
+ workload?: string;
7808
+ subject?: string;
7809
+ from: string;
7810
+ until: string;
7811
+ after?: string;
7812
+ limit: number;
7813
+ };
7814
+ header?: never;
7815
+ path: {
7816
+ tenant: string;
7817
+ };
7818
+ cookie?: never;
7819
+ };
7820
+ requestBody?: never;
7821
+ responses: {
7822
+ /** @description Authorized tenant projection */
7823
+ 200: {
7824
+ headers: {
7825
+ [name: string]: unknown;
7826
+ };
7827
+ content: {
7828
+ "application/json": components["schemas"]["AdmissionUsagePage"];
7829
+ };
7830
+ };
7831
+ /** @description Scoped API error */
7832
+ default: {
7833
+ headers: {
7834
+ [name: string]: unknown;
7835
+ };
7836
+ content: {
7837
+ "application/json": components["schemas"]["Error"];
7838
+ };
7839
+ };
7840
+ };
7841
+ };
7842
+ operatorAdmission: {
7843
+ parameters: {
7844
+ query?: never;
7845
+ header?: never;
7846
+ path: {
7847
+ product: string;
7848
+ tenant: string;
7849
+ };
7850
+ cookie?: never;
7851
+ };
7852
+ requestBody?: never;
7853
+ responses: {
7854
+ /** @description Authorized tenant projection */
7855
+ 200: {
7856
+ headers: {
7857
+ [name: string]: unknown;
7858
+ };
7859
+ content: {
7860
+ "application/json": components["schemas"]["AdmissionState"];
7861
+ };
7862
+ };
7863
+ /** @description Scoped API error */
7864
+ default: {
7865
+ headers: {
7866
+ [name: string]: unknown;
7867
+ };
7868
+ content: {
7869
+ "application/json": components["schemas"]["Error"];
7870
+ };
7871
+ };
7872
+ };
7873
+ };
7874
+ operatorUsage: {
7875
+ parameters: {
7876
+ query: {
7877
+ project?: string;
7878
+ environment?: string;
7879
+ workload?: string;
7880
+ subject?: string;
7881
+ from: string;
7882
+ until: string;
7883
+ after?: string;
7884
+ limit: number;
7885
+ };
7886
+ header?: never;
7887
+ path: {
7888
+ product: string;
7889
+ tenant: string;
7890
+ };
7891
+ cookie?: never;
7892
+ };
7893
+ requestBody?: never;
7894
+ responses: {
7895
+ /** @description Authorized tenant projection */
7896
+ 200: {
7897
+ headers: {
7898
+ [name: string]: unknown;
7899
+ };
7900
+ content: {
7901
+ "application/json": components["schemas"]["AdmissionUsagePage"];
7902
+ };
7903
+ };
7904
+ /** @description Scoped API error */
7905
+ default: {
7906
+ headers: {
7907
+ [name: string]: unknown;
7908
+ };
7909
+ content: {
7910
+ "application/json": components["schemas"]["Error"];
7911
+ };
7912
+ };
7913
+ };
7914
+ };
7107
7915
  }