@alphauspkgs/blue-sdk-ts 1.0.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 (265) hide show
  1. package/README.md +32 -0
  2. package/admin/v1/admin_pb.js +239 -0
  3. package/admin/v1/admin_pb.ts +1604 -0
  4. package/admin/v1/client.js +9 -0
  5. package/admin/v1/client.ts +7 -0
  6. package/api/account_pb.js +22 -0
  7. package/api/account_pb.ts +132 -0
  8. package/api/accountgroup_pb.js +18 -0
  9. package/api/accountgroup_pb.ts +56 -0
  10. package/api/adjustment_pb.js +26 -0
  11. package/api/adjustment_pb.ts +102 -0
  12. package/api/apiclient_pb.js +16 -0
  13. package/api/apiclient_pb.ts +66 -0
  14. package/api/audit_pb.js +21 -0
  15. package/api/audit_pb.ts +70 -0
  16. package/api/aws/breakeven_pb.js +21 -0
  17. package/api/aws/breakeven_pb.ts +93 -0
  18. package/api/aws/calculator_pb.js +31 -0
  19. package/api/aws/calculator_pb.ts +138 -0
  20. package/api/aws/cost_pb.js +22 -0
  21. package/api/aws/cost_pb.ts +315 -0
  22. package/api/aws/recommendation_pb.js +36 -0
  23. package/api/aws/recommendation_pb.ts +338 -0
  24. package/api/aws/reduction_pb.js +31 -0
  25. package/api/aws/reduction_pb.ts +416 -0
  26. package/api/azure/cost_pb.js +21 -0
  27. package/api/azure/cost_pb.ts +268 -0
  28. package/api/azureea/cost_pb.js +16 -0
  29. package/api/azureea/cost_pb.ts +141 -0
  30. package/api/budget_pb.js +57 -0
  31. package/api/budget_pb.ts +293 -0
  32. package/api/costtag_pb.js +17 -0
  33. package/api/costtag_pb.ts +77 -0
  34. package/api/cover/accountaccess_pb.js +46 -0
  35. package/api/cover/accountaccess_pb.ts +334 -0
  36. package/api/cover/alert_pb.js +36 -0
  37. package/api/cover/alert_pb.ts +183 -0
  38. package/api/cover/applyrecommendation_pb.js +41 -0
  39. package/api/cover/applyrecommendation_pb.ts +133 -0
  40. package/api/cover/asset_pb.js +26 -0
  41. package/api/cover/asset_pb.ts +305 -0
  42. package/api/cover/attribute_pb.js +21 -0
  43. package/api/cover/attribute_pb.ts +58 -0
  44. package/api/cover/budget_pb.js +42 -0
  45. package/api/cover/budget_pb.ts +275 -0
  46. package/api/cover/costforecast_pb.js +16 -0
  47. package/api/cover/costforecast_pb.ts +81 -0
  48. package/api/cover/costgroup_pb.js +89 -0
  49. package/api/cover/costgroup_pb.ts +473 -0
  50. package/api/cover/discountplan_pb.js +31 -0
  51. package/api/cover/discountplan_pb.ts +461 -0
  52. package/api/cover/discountrecommendation_pb.js +96 -0
  53. package/api/cover/discountrecommendation_pb.ts +500 -0
  54. package/api/cover/insightreport_pb.js +26 -0
  55. package/api/cover/insightreport_pb.ts +167 -0
  56. package/api/cover/optimizationrecommendation_pb.js +262 -0
  57. package/api/cover/optimizationrecommendation_pb.ts +1964 -0
  58. package/api/cover/recommendation/aws_pb.js +407 -0
  59. package/api/cover/recommendation/aws_pb.ts +2418 -0
  60. package/api/cover/recommendation/azurecsp_pb.js +16 -0
  61. package/api/cover/recommendation/azurecsp_pb.ts +27 -0
  62. package/api/cover/recommendation/gcp_pb.js +27 -0
  63. package/api/cover/recommendation/gcp_pb.ts +91 -0
  64. package/api/cover/recommendation/octoaws_pb.js +22 -0
  65. package/api/cover/recommendation/octoaws_pb.ts +55 -0
  66. package/api/cover/recommendation/octoazurecsp_pb.js +16 -0
  67. package/api/cover/recommendation/octoazurecsp_pb.ts +27 -0
  68. package/api/cover/recommendation/octogcp_pb.js +16 -0
  69. package/api/cover/recommendation/octogcp_pb.ts +27 -0
  70. package/api/cover/recommendation/recommendation_pb.js +27 -0
  71. package/api/cover/recommendation/recommendation_pb.ts +190 -0
  72. package/api/cover/rightsizingrecommendation_pb.js +21 -0
  73. package/api/cover/rightsizingrecommendation_pb.ts +133 -0
  74. package/api/cover/unitcost_pb.js +82 -0
  75. package/api/cover/unitcost_pb.ts +576 -0
  76. package/api/cover/user_pb.js +26 -0
  77. package/api/cover/user_pb.ts +330 -0
  78. package/api/cover/view_pb.js +53 -0
  79. package/api/cover/view_pb.ts +393 -0
  80. package/api/coverage_pb.js +31 -0
  81. package/api/coverage_pb.ts +132 -0
  82. package/api/forecast_pb.js +61 -0
  83. package/api/forecast_pb.ts +346 -0
  84. package/api/gcp/cost_pb.js +16 -0
  85. package/api/gcp/cost_pb.ts +128 -0
  86. package/api/grouprootuser_pb.js +21 -0
  87. package/api/grouprootuser_pb.ts +390 -0
  88. package/api/invoice_pb.js +96 -0
  89. package/api/invoice_pb.ts +905 -0
  90. package/api/keyvalue_pb.js +21 -0
  91. package/api/keyvalue_pb.ts +72 -0
  92. package/api/notification_pb.js +46 -0
  93. package/api/notification_pb.ts +232 -0
  94. package/api/pricing/details_pb.js +17 -0
  95. package/api/pricing/details_pb.ts +172 -0
  96. package/api/rbac_pb.js +31 -0
  97. package/api/rbac_pb.ts +142 -0
  98. package/api/ripple/accessgroup_pb.js +16 -0
  99. package/api/ripple/accessgroup_pb.ts +48 -0
  100. package/api/ripple/billinggroup_pb.js +16 -0
  101. package/api/ripple/billinggroup_pb.ts +154 -0
  102. package/api/ripple/customfield_pb.js +16 -0
  103. package/api/ripple/customfield_pb.ts +49 -0
  104. package/api/ripple/customizedbillingservice_pb.js +175 -0
  105. package/api/ripple/customizedbillingservice_pb.ts +455 -0
  106. package/api/ripple/duedate_pb.js +16 -0
  107. package/api/ripple/duedate_pb.ts +58 -0
  108. package/api/ripple/exchangerate_pb.js +41 -0
  109. package/api/ripple/exchangerate_pb.ts +205 -0
  110. package/api/ripple/invoicelayout_pb.js +46 -0
  111. package/api/ripple/invoicelayout_pb.ts +547 -0
  112. package/api/ripple/org_pb.js +16 -0
  113. package/api/ripple/org_pb.ts +51 -0
  114. package/api/ripple/payer_pb.js +18 -0
  115. package/api/ripple/payer_pb.ts +60 -0
  116. package/api/ripple/reseller_pb.js +21 -0
  117. package/api/ripple/reseller_pb.ts +168 -0
  118. package/api/ripple/rounding_pb.js +46 -0
  119. package/api/ripple/rounding_pb.ts +69 -0
  120. package/api/ripple/untaggedgroup_pb.js +28 -0
  121. package/api/ripple/untaggedgroup_pb.ts +151 -0
  122. package/api/ripple/v1/accountsupportplan_pb.js +59 -0
  123. package/api/ripple/v1/accountsupportplan_pb.ts +98 -0
  124. package/api/ripple/v1/adjustmententry_pb.js +31 -0
  125. package/api/ripple/v1/adjustmententry_pb.ts +275 -0
  126. package/api/ripple/v1/dashboard_pb.js +61 -0
  127. package/api/ripple/v1/dashboard_pb.ts +661 -0
  128. package/api/ripple/v1/export_pb.js +16 -0
  129. package/api/ripple/v1/export_pb.ts +49 -0
  130. package/api/ripple/v1/invoiceservicediscounts_pb.js +48 -0
  131. package/api/ripple/v1/invoiceservicediscounts_pb.ts +298 -0
  132. package/api/ripple/yearmonth_pb.js +16 -0
  133. package/api/ripple/yearmonth_pb.ts +35 -0
  134. package/api/user_pb.js +26 -0
  135. package/api/user_pb.ts +124 -0
  136. package/api/utilization_pb.js +21 -0
  137. package/api/utilization_pb.ts +78 -0
  138. package/api/wave/adjustment_pb.js +16 -0
  139. package/api/wave/adjustment_pb.ts +105 -0
  140. package/api/wave/budget_pb.js +27 -0
  141. package/api/wave/budget_pb.ts +122 -0
  142. package/billing/v1/billing_pb.js +952 -0
  143. package/billing/v1/billing_pb.ts +7570 -0
  144. package/billing/v1/client.js +9 -0
  145. package/billing/v1/client.ts +7 -0
  146. package/conn/conn.js +38 -0
  147. package/conn/conn.ts +46 -0
  148. package/cost/v1/client.js +9 -0
  149. package/cost/v1/client.ts +7 -0
  150. package/cost/v1/cost_pb.js +721 -0
  151. package/cost/v1/cost_pb.ts +5845 -0
  152. package/cover/v1/client.js +9 -0
  153. package/cover/v1/client.ts +7 -0
  154. package/cover/v1/cover_pb.js +2085 -0
  155. package/cover/v1/cover_pb.ts +12883 -0
  156. package/flow/v1/client.js +9 -0
  157. package/flow/v1/client.ts +7 -0
  158. package/flow/v1/flow_pb.js +265 -0
  159. package/flow/v1/flow_pb.ts +2496 -0
  160. package/google/api/annotations_pb.js +29 -0
  161. package/google/api/annotations_pb.ts +39 -0
  162. package/google/api/auth_pb.js +47 -0
  163. package/google/api/auth_pb.ts +295 -0
  164. package/google/api/backend_pb.js +31 -0
  165. package/google/api/backend_pb.ts +97 -0
  166. package/google/api/billing_pb.js +32 -0
  167. package/google/api/billing_pb.ts +104 -0
  168. package/google/api/client_pb.js +101 -0
  169. package/google/api/client_pb.ts +114 -0
  170. package/google/api/config_change_pb.js +71 -0
  171. package/google/api/config_change_pb.ts +161 -0
  172. package/google/api/consumer_pb.js +73 -0
  173. package/google/api/consumer_pb.ts +156 -0
  174. package/google/api/context_pb.js +31 -0
  175. package/google/api/context_pb.ts +105 -0
  176. package/google/api/control_pb.js +26 -0
  177. package/google/api/control_pb.ts +52 -0
  178. package/google/api/distribution_pb.js +58 -0
  179. package/google/api/distribution_pb.ts +388 -0
  180. package/google/api/documentation_pb.js +36 -0
  181. package/google/api/documentation_pb.ts +238 -0
  182. package/google/api/endpoint_pb.js +27 -0
  183. package/google/api/endpoint_pb.ts +105 -0
  184. package/google/api/field_behavior_pb.js +103 -0
  185. package/google/api/field_behavior_pb.ts +119 -0
  186. package/google/api/http_pb.js +36 -0
  187. package/google/api/http_pb.ts +420 -0
  188. package/google/api/httpbody_pb.js +27 -0
  189. package/google/api/httpbody_pb.ts +103 -0
  190. package/google/api/label_pb.js +56 -0
  191. package/google/api/label_pb.ts +97 -0
  192. package/google/api/launch_stage_pb.js +92 -0
  193. package/google/api/launch_stage_pb.ts +105 -0
  194. package/google/api/log_pb.js +27 -0
  195. package/google/api/log_pb.ts +86 -0
  196. package/google/api/logging_pb.js +32 -0
  197. package/google/api/logging_pb.ts +124 -0
  198. package/google/api/metric_pb.js +128 -0
  199. package/google/api/metric_pb.ts +322 -0
  200. package/google/api/monitored_resource_pb.js +38 -0
  201. package/google/api/monitored_resource_pb.ts +188 -0
  202. package/google/api/monitoring_pb.js +32 -0
  203. package/google/api/monitoring_pb.ts +130 -0
  204. package/google/api/quota_pb.js +37 -0
  205. package/google/api/quota_pb.ts +351 -0
  206. package/google/api/resource_pb.js +118 -0
  207. package/google/api/resource_pb.ts +410 -0
  208. package/google/api/service_pb.js +45 -0
  209. package/google/api/service_pb.ts +302 -0
  210. package/google/api/source_info_pb.js +27 -0
  211. package/google/api/source_info_pb.ts +51 -0
  212. package/google/api/system_parameter_pb.js +36 -0
  213. package/google/api/system_parameter_pb.ts +157 -0
  214. package/google/api/usage_pb.js +32 -0
  215. package/google/api/usage_pb.ts +141 -0
  216. package/google/longrunning/operations_pb.js +90 -0
  217. package/google/longrunning/operations_pb.ts +434 -0
  218. package/google/rpc/code_pb.js +244 -0
  219. package/google/rpc/code_pb.ts +268 -0
  220. package/google/rpc/context/attribute_context_pb.js +57 -0
  221. package/google/rpc/context/attribute_context_pb.ts +532 -0
  222. package/google/rpc/error_details_pb.js +92 -0
  223. package/google/rpc/error_details_pb.ts +513 -0
  224. package/google/rpc/status_pb.js +27 -0
  225. package/google/rpc/status_pb.ts +74 -0
  226. package/iam/v1/client.js +9 -0
  227. package/iam/v1/client.ts +8 -0
  228. package/iam/v1/iam_pb.js +285 -0
  229. package/iam/v1/iam_pb.ts +1698 -0
  230. package/kvstore/v1/kvstore_pb.js +40 -0
  231. package/kvstore/v1/kvstore_pb.ts +155 -0
  232. package/operations/v1/operations_pb.js +52 -0
  233. package/operations/v1/operations_pb.ts +235 -0
  234. package/org/v1/client.js +9 -0
  235. package/org/v1/client.ts +7 -0
  236. package/org/v1/org_pb.js +61 -0
  237. package/org/v1/org_pb.ts +321 -0
  238. package/package.json +22 -0
  239. package/preferences/v1/client.js +9 -0
  240. package/preferences/v1/client.ts +8 -0
  241. package/preferences/v1/preferences_pb.js +29 -0
  242. package/preferences/v1/preferences_pb.ts +63 -0
  243. package/pricing/v1/client.js +9 -0
  244. package/pricing/v1/client.ts +7 -0
  245. package/pricing/v1/pricing_pb.js +60 -0
  246. package/pricing/v1/pricing_pb.ts +311 -0
  247. package/prism/v1/client.js +9 -0
  248. package/prism/v1/client.ts +7 -0
  249. package/prism/v1/prism_pb.js +250 -0
  250. package/prism/v1/prism_pb.ts +1396 -0
  251. package/protoc-gen-openapiv2/options/annotations_pb.js +58 -0
  252. package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
  253. package/protoc-gen-openapiv2/options/openapiv2_pb.js +253 -0
  254. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1313 -0
  255. package/protos/entity_pb.js +17 -0
  256. package/protos/entity_pb.ts +49 -0
  257. package/protos/message_pb.js +16 -0
  258. package/protos/message_pb.ts +40 -0
  259. package/protos/operation_pb.js +33 -0
  260. package/protos/operation_pb.ts +198 -0
  261. package/tsconfig.json +12 -0
  262. package/vortex/v1/client.js +9 -0
  263. package/vortex/v1/client.ts +7 -0
  264. package/vortex/v1/vortex_pb.js +65 -0
  265. package/vortex/v1/vortex_pb.ts +280 -0
@@ -0,0 +1,275 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/cover/budget.proto (package blueapi.api.cover, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { AlertChannels, AlertCostGroup } from "./alert_pb";
8
+ import { file_api_cover_alert } from "./alert_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file api/cover/budget.proto.
13
+ */
14
+ export const file_api_cover_budget: GenFile = /*@__PURE__*/
15
+ fileDesc("ChZhcGkvY292ZXIvYnVkZ2V0LnByb3RvEhFibHVlYXBpLmFwaS5jb3ZlciKGBAoKQnVkZ2V0RGF0YRIKCgJpZBgBIAEoCRIRCglzdGFydERhdGUYAiABKAkSDwoHZW5kRGF0ZRgDIAEoCRITCgt0b3RhbEJ1ZGdldBgEIAEoAhIOCgZwZXJpb2QYBSABKAMSPQoOZ3Jhb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uY292ZXJCE0FwaUNvdmVyQnVkZ2V0UHJvdG9aLGdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL2NvdmVyYgZwcm90bzM", [file_api_cover_alert]);
16
+
17
+ /**
18
+ * @generated from message blueapi.api.cover.BudgetData
19
+ */
20
+ export type BudgetData = Message<"blueapi.api.cover.BudgetData"> & {
21
+ /**
22
+ * not required for creating budget
23
+ *
24
+ * @generated from field: string id = 1;
25
+ */
26
+ id: string;
27
+
28
+ /**
29
+ * use yyyymmdd format
30
+ *
31
+ * @generated from field: string startDate = 2;
32
+ */
33
+ startDate: string;
34
+
35
+ /**
36
+ * use yyyymmdd format
37
+ *
38
+ * @generated from field: string endDate = 3;
39
+ */
40
+ endDate: string;
41
+
42
+ /**
43
+ * @generated from field: float totalBudget = 4;
44
+ */
45
+ totalBudget: number;
46
+
47
+ /**
48
+ * 3, 6, 12 months
49
+ *
50
+ * @generated from field: int64 period = 5;
51
+ */
52
+ period: bigint;
53
+
54
+ /**
55
+ * budget per month
56
+ *
57
+ * @generated from field: repeated blueapi.api.cover.GranularBudgetData granularBudget = 6;
58
+ */
59
+ granularBudget: GranularBudgetData[];
60
+
61
+ /**
62
+ * @generated from field: blueapi.api.cover.AlertCostGroup costGroup = 7;
63
+ */
64
+ costGroup?: AlertCostGroup;
65
+
66
+ /**
67
+ * threshold(s) and its respective channel(s) to alert
68
+ *
69
+ * @generated from field: repeated blueapi.api.cover.BudgetAlert alerts = 8;
70
+ */
71
+ alerts: BudgetAlert[];
72
+
73
+ /**
74
+ * forecast for ongoing months of an active budget; if expired, archived forecast record
75
+ *
76
+ * @generated from field: repeated blueapi.api.cover.GranularForecastData forecastedData = 9;
77
+ */
78
+ forecastedData: GranularForecastData[];
79
+
80
+ /**
81
+ * spending data
82
+ *
83
+ * @generated from field: repeated blueapi.api.cover.GranularSpendingData spendingData = 10;
84
+ */
85
+ spendingData: GranularSpendingData[];
86
+
87
+ /**
88
+ * true if budget has expired
89
+ *
90
+ * @generated from field: bool expired = 11;
91
+ */
92
+ expired: boolean;
93
+
94
+ /**
95
+ * true if the current budget set is still a draft
96
+ *
97
+ * @generated from field: bool draft = 12;
98
+ */
99
+ draft: boolean;
100
+
101
+ /**
102
+ * not required for creating budget
103
+ *
104
+ * @generated from field: string createdBy = 13;
105
+ */
106
+ createdBy: string;
107
+
108
+ /**
109
+ * not required for creating budget
110
+ *
111
+ * @generated from field: string createdAt = 14;
112
+ */
113
+ createdAt: string;
114
+
115
+ /**
116
+ * not required for creating budget
117
+ *
118
+ * @generated from field: string updatedBy = 15;
119
+ */
120
+ updatedBy: string;
121
+
122
+ /**
123
+ * not required for creating budget
124
+ *
125
+ * @generated from field: string updatedAt = 16;
126
+ */
127
+ updatedAt: string;
128
+
129
+ /**
130
+ * total accumulated spending within the budget period
131
+ *
132
+ * @generated from field: float totalSpend = 17;
133
+ */
134
+ totalSpend: number;
135
+ };
136
+
137
+ /**
138
+ * Describes the message blueapi.api.cover.BudgetData.
139
+ * Use `create(BudgetDataSchema)` to create a new message.
140
+ */
141
+ export const BudgetDataSchema: GenMessage<BudgetData> = /*@__PURE__*/
142
+ messageDesc(file_api_cover_budget, 0);
143
+
144
+ /**
145
+ * @generated from message blueapi.api.cover.GranularBudgetData
146
+ */
147
+ export type GranularBudgetData = Message<"blueapi.api.cover.GranularBudgetData"> & {
148
+ /**
149
+ * use yyyymm format
150
+ *
151
+ * @generated from field: string date = 1;
152
+ */
153
+ date: string;
154
+
155
+ /**
156
+ * @generated from field: float budget = 2;
157
+ */
158
+ budget: number;
159
+ };
160
+
161
+ /**
162
+ * Describes the message blueapi.api.cover.GranularBudgetData.
163
+ * Use `create(GranularBudgetDataSchema)` to create a new message.
164
+ */
165
+ export const GranularBudgetDataSchema: GenMessage<GranularBudgetData> = /*@__PURE__*/
166
+ messageDesc(file_api_cover_budget, 1);
167
+
168
+ /**
169
+ * @generated from message blueapi.api.cover.GranularForecastData
170
+ */
171
+ export type GranularForecastData = Message<"blueapi.api.cover.GranularForecastData"> & {
172
+ /**
173
+ * use yyyymm format
174
+ *
175
+ * @generated from field: string date = 1;
176
+ */
177
+ date: string;
178
+
179
+ /**
180
+ * @generated from field: float mid = 2;
181
+ */
182
+ mid: number;
183
+
184
+ /**
185
+ * @generated from field: float upperBound = 3;
186
+ */
187
+ upperBound: number;
188
+
189
+ /**
190
+ * @generated from field: float lowerBound = 4;
191
+ */
192
+ lowerBound: number;
193
+ };
194
+
195
+ /**
196
+ * Describes the message blueapi.api.cover.GranularForecastData.
197
+ * Use `create(GranularForecastDataSchema)` to create a new message.
198
+ */
199
+ export const GranularForecastDataSchema: GenMessage<GranularForecastData> = /*@__PURE__*/
200
+ messageDesc(file_api_cover_budget, 2);
201
+
202
+ /**
203
+ * @generated from message blueapi.api.cover.GranularSpendingData
204
+ */
205
+ export type GranularSpendingData = Message<"blueapi.api.cover.GranularSpendingData"> & {
206
+ /**
207
+ * use yyyymm format
208
+ *
209
+ * @generated from field: string date = 1;
210
+ */
211
+ date: string;
212
+
213
+ /**
214
+ * actual cost for the month
215
+ *
216
+ * @generated from field: float value = 2;
217
+ */
218
+ value: number;
219
+ };
220
+
221
+ /**
222
+ * Describes the message blueapi.api.cover.GranularSpendingData.
223
+ * Use `create(GranularSpendingDataSchema)` to create a new message.
224
+ */
225
+ export const GranularSpendingDataSchema: GenMessage<GranularSpendingData> = /*@__PURE__*/
226
+ messageDesc(file_api_cover_budget, 3);
227
+
228
+ /**
229
+ * @generated from message blueapi.api.cover.BudgetAlert
230
+ */
231
+ export type BudgetAlert = Message<"blueapi.api.cover.BudgetAlert"> & {
232
+ /**
233
+ * @generated from field: repeated blueapi.api.cover.Threshold threshold = 1;
234
+ */
235
+ threshold: Threshold[];
236
+
237
+ /**
238
+ * @generated from field: blueapi.api.cover.AlertChannels channels = 2;
239
+ */
240
+ channels?: AlertChannels;
241
+ };
242
+
243
+ /**
244
+ * Describes the message blueapi.api.cover.BudgetAlert.
245
+ * Use `create(BudgetAlertSchema)` to create a new message.
246
+ */
247
+ export const BudgetAlertSchema: GenMessage<BudgetAlert> = /*@__PURE__*/
248
+ messageDesc(file_api_cover_budget, 4);
249
+
250
+ /**
251
+ * @generated from message blueapi.api.cover.Threshold
252
+ */
253
+ export type Threshold = Message<"blueapi.api.cover.Threshold"> & {
254
+ /**
255
+ * exact or percentage
256
+ *
257
+ * @generated from field: string type = 1;
258
+ */
259
+ type: string;
260
+
261
+ /**
262
+ * actual value of threshold
263
+ *
264
+ * @generated from field: float value = 2;
265
+ */
266
+ value: number;
267
+ };
268
+
269
+ /**
270
+ * Describes the message blueapi.api.cover.Threshold.
271
+ * Use `create(ThresholdSchema)` to create a new message.
272
+ */
273
+ export const ThresholdSchema: GenMessage<Threshold> = /*@__PURE__*/
274
+ messageDesc(file_api_cover_budget, 5);
275
+
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
3
+ // @generated from file api/cover/costforecast.proto (package blueapi.api.cover, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AwsCostForecastSchema = exports.file_api_cover_costforecast = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file api/cover/costforecast.proto.
10
+ */
11
+ exports.file_api_cover_costforecast = (0, codegenv2_1.fileDesc)("ChxhcGkvY292ZXIvY29zdGZvcmVjYXN0LnByb3RvEhFibHVlYXBpLmFwaS5jb3ZlciLMAQoPQXdzQ29zdEZvcmVjYXN0EgwKBGRhdGUYASABKAkSDwoHYWNjb3VudBgCIAEoCRITCgtwcm9kdWN0Q29kZRgDIAEoCRIMCgRjb3N0GAQgASgBEhIKCmxvd2VyQm91bmQYBSABKAESEgoKdXBwZXJCb3VuZBgGIAEoARIVCg11bmJsZW5kZWRDb3N0GAcgASgBEhsKE3VuYmxlbmRlZExvd2VyQm91bmQYCCABKAESGwoTdW5ibGVuZGVkVXBwZXJCb3VuZBgJIAEoAUJqCh9jbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmNvdmVyQhlBcGlDb3ZlckNvc3RGb3JlY2FzdFByb3RvWixnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9jb3ZlcmIGcHJvdG8z");
12
+ /**
13
+ * Describes the message blueapi.api.cover.AwsCostForecast.
14
+ * Use `create(AwsCostForecastSchema)` to create a new message.
15
+ */
16
+ exports.AwsCostForecastSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costforecast, 0);
@@ -0,0 +1,81 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/cover/costforecast.proto (package blueapi.api.cover, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file api/cover/costforecast.proto.
11
+ */
12
+ export const file_api_cover_costforecast: GenFile = /*@__PURE__*/
13
+ fileDesc("ChxhcGkvY292ZXIvY29zdGZvcmVjYXN0LnByb3RvEhFibHVlYXBpLmFwaS5jb3ZlciLMAQoPQXdzQ29zdEZvcmVjYXN0EgwKBGRhdGUYASABKAkSDwoHYWNjb3VudBgCIAEoCRITCgtwcm9kdWN0Q29kZRgDIAEoCRIMCgRjb3N0GAQgASgBEhIKCmxvd2VyQm91bmQYBSABKAESEgoKdXBwZXJCb3VuZBgGIAEoARIVCg11bmJsZW5kZWRDb3N0GAcgASgBEhsKE3VuYmxlbmRlZExvd2VyQm91bmQYCCABKAESGwoTdW5ibGVuZGVkVXBwZXJCb3VuZBgJIAEoAUJqCh9jbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmNvdmVyQhlBcGlDb3ZlckNvc3RGb3JlY2FzdFByb3RvWixnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9jb3ZlcmIGcHJvdG8z");
14
+
15
+ /**
16
+ * @generated from message blueapi.api.cover.AwsCostForecast
17
+ */
18
+ export type AwsCostForecast = Message<"blueapi.api.cover.AwsCostForecast"> & {
19
+ /**
20
+ * For daily data, format is `yyyy-mm-dd`; for monthly, `yyyy-mm`.
21
+ *
22
+ * @generated from field: string date = 1;
23
+ */
24
+ date: string;
25
+
26
+ /**
27
+ * The account being queried.
28
+ *
29
+ * @generated from field: string account = 2;
30
+ */
31
+ account: string;
32
+
33
+ /**
34
+ * The product code for an AWS service
35
+ *
36
+ * @generated from field: string productCode = 3;
37
+ */
38
+ productCode: string;
39
+
40
+ /**
41
+ * Forcasted cost based on true cost (calculated)
42
+ *
43
+ * @generated from field: double cost = 4;
44
+ */
45
+ cost: number;
46
+
47
+ /**
48
+ * @generated from field: double lowerBound = 5;
49
+ */
50
+ lowerBound: number;
51
+
52
+ /**
53
+ * @generated from field: double upperBound = 6;
54
+ */
55
+ upperBound: number;
56
+
57
+ /**
58
+ * Forcasted cost based on unblended cost
59
+ *
60
+ * @generated from field: double unblendedCost = 7;
61
+ */
62
+ unblendedCost: number;
63
+
64
+ /**
65
+ * @generated from field: double unblendedLowerBound = 8;
66
+ */
67
+ unblendedLowerBound: number;
68
+
69
+ /**
70
+ * @generated from field: double unblendedUpperBound = 9;
71
+ */
72
+ unblendedUpperBound: number;
73
+ };
74
+
75
+ /**
76
+ * Describes the message blueapi.api.cover.AwsCostForecast.
77
+ * Use `create(AwsCostForecastSchema)` to create a new message.
78
+ */
79
+ export const AwsCostForecastSchema: GenMessage<AwsCostForecast> = /*@__PURE__*/
80
+ messageDesc(file_api_cover_costforecast, 0);
81
+
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
3
+ // @generated from file api/cover/costgroup.proto (package blueapi.api.cover, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CostGroupTypeSchema = exports.CostGroupType = exports.AnomalyOptionsSchema = exports.EventIndicatorSchema = exports.AccountSchema = exports.CostGroupOptionsFiltersSchema = exports.CostGroupCustomOptionsSchema = exports.CostGroupGcpOptionsSchema = exports.CostGroupAzureCspOptionsSchema = exports.CostGroupAzureOptionsSchema = exports.CostGroupAwsOptionsSchema = exports.CombinationsSchema = exports.CostGroupDataSchema = exports.file_api_cover_costgroup = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const user_pb_1 = require("./user_pb");
9
+ /**
10
+ * Describes the file api/cover/costgroup.proto.
11
+ */
12
+ exports.file_api_cover_costgroup = (0, codegenv2_1.fileDesc)("ChlhcGkvY292ZXIvY29zdGdyb3VwLnByb3RvEhFibHVlYXBpLmFwaS5jb3ZlciLcAwoNQ29zdEdyb3VwRGF0YRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJEg0KBWltYWdlGAQgASgJEgwKBGljb24YBSABKAkSEgoKY29sb3JUaGVtZRgGIAEoCRIRCgljcmVhdGVkQXQYByABKAkSEQoJdXBkYXRlZEF0GAggASgJEjIKB21lbWJlcnMYCSADKAsyIS5ibHVlYXBpLmFwaS5jb3Zlci5NZW1iZXJVc2VyRGF0YRI1Cgxjb21iaW5hdGlvbnMYCiABKAsyHy5ibHVlYXBpLmFwaS5jb3Zlci5Db21iaW5hdGlvbnMSNAoJY3JlYXRlZEJ5GAsgASgLMiEuYmx1ZWFwaS5hcGkuY292ZXIuTWVtYmVyVXNlckRhdGESOQoOZXZlbnRJbmRpY2F0b3IYDCABKAsyIS5ibHVlYXBpLmFwaS5jb3Zlci5FdmVudEluZGljYXRvchI5Cg5hbm9tYWx5T3B0aW9ucxgNIAEoCzIhLmJsdWVhcGkuYXBpLmNvdmVyLkFub21hbHlPcHRpb25zEi4KBHR5cGUYDiABKA4yIC5ibHVlYXBpLmFwaS5jb3Zl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SDAoEbmFtZRgCIAEoCRIMCgR0eXBlGAMgASgJIjgKDkV2ZW50SW5kaWNhdG9yEg8KB2Fub21hbHkYASABKAgSFQoNdmlzdWFsQnVpbGRlchgCIAEoCCJTCg5Bbm9tYWx5T3B0aW9ucxIRCgl0aHJlc2hvbGQYASABKAISFAoMaXNQZXJjZW50YWdlGAIgASgIEhgKEHBhc3REYXRhSW5Nb250aHMYAyABKAMqMwoNQ29zdEdyb3VwVHlwZRILCgdkZWZhdWx0EAASBgoCYWkQARINCgljb250YWluZXIQAkJnCh9jbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmNvdmVyQhZBcGlDb3ZlckNvc3RHcm91cFByb3RvWixnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9jb3ZlcmIGcHJvdG8z", [user_pb_1.file_api_cover_user]);
13
+ /**
14
+ * Describes the message blueapi.api.cover.CostGroupData.
15
+ * Use `create(CostGroupDataSchema)` to create a new message.
16
+ */
17
+ exports.CostGroupDataSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 0);
18
+ /**
19
+ * Describes the message blueapi.api.cover.Combinations.
20
+ * Use `create(CombinationsSchema)` to create a new message.
21
+ */
22
+ exports.CombinationsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 1);
23
+ /**
24
+ * Describes the message blueapi.api.cover.CostGroupAwsOptions.
25
+ * Use `create(CostGroupAwsOptionsSchema)` to create a new message.
26
+ */
27
+ exports.CostGroupAwsOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 2);
28
+ /**
29
+ * Describes the message blueapi.api.cover.CostGroupAzureOptions.
30
+ * Use `create(CostGroupAzureOptionsSchema)` to create a new message.
31
+ */
32
+ exports.CostGroupAzureOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 3);
33
+ /**
34
+ * Describes the message blueapi.api.cover.CostGroupAzureCspOptions.
35
+ * Use `create(CostGroupAzureCspOptionsSchema)` to create a new message.
36
+ */
37
+ exports.CostGroupAzureCspOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 4);
38
+ /**
39
+ * Describes the message blueapi.api.cover.CostGroupGcpOptions.
40
+ * Use `create(CostGroupGcpOptionsSchema)` to create a new message.
41
+ */
42
+ exports.CostGroupGcpOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 5);
43
+ /**
44
+ * Describes the message blueapi.api.cover.CostGroupCustomOptions.
45
+ * Use `create(CostGroupCustomOptionsSchema)` to create a new message.
46
+ */
47
+ exports.CostGroupCustomOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 6);
48
+ /**
49
+ * Describes the message blueapi.api.cover.CostGroupOptionsFilters.
50
+ * Use `create(CostGroupOptionsFiltersSchema)` to create a new message.
51
+ */
52
+ exports.CostGroupOptionsFiltersSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 7);
53
+ /**
54
+ * Describes the message blueapi.api.cover.Account.
55
+ * Use `create(AccountSchema)` to create a new message.
56
+ */
57
+ exports.AccountSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 8);
58
+ /**
59
+ * Describes the message blueapi.api.cover.EventIndicator.
60
+ * Use `create(EventIndicatorSchema)` to create a new message.
61
+ */
62
+ exports.EventIndicatorSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 9);
63
+ /**
64
+ * Describes the message blueapi.api.cover.AnomalyOptions.
65
+ * Use `create(AnomalyOptionsSchema)` to create a new message.
66
+ */
67
+ exports.AnomalyOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_costgroup, 10);
68
+ /**
69
+ * @generated from enum blueapi.api.cover.CostGroupType
70
+ */
71
+ var CostGroupType;
72
+ (function (CostGroupType) {
73
+ /**
74
+ * @generated from enum value: default = 0;
75
+ */
76
+ CostGroupType[CostGroupType["default"] = 0] = "default";
77
+ /**
78
+ * @generated from enum value: ai = 1;
79
+ */
80
+ CostGroupType[CostGroupType["ai"] = 1] = "ai";
81
+ /**
82
+ * @generated from enum value: container = 2;
83
+ */
84
+ CostGroupType[CostGroupType["container"] = 2] = "container";
85
+ })(CostGroupType || (exports.CostGroupType = CostGroupType = {}));
86
+ /**
87
+ * Describes the enum blueapi.api.cover.CostGroupType.
88
+ */
89
+ exports.CostGroupTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_api_cover_costgroup, 0);