@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,416 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/aws/reduction.proto (package blueapi.api.aws, 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/aws/reduction.proto.
11
+ */
12
+ export const file_api_aws_reduction: GenFile = /*@__PURE__*/
13
+ fileDesc("ChdhcGkvYXdzL3JlZHVjdGlvbi5wcm90bxIPYmx1ZWFwaS5hcGkuYXdzIsMBChFBd3NDb3N0UmVkdWN0aW9ucxI2CgdzdW1tYXJ5GAEgASgLMiUuYmx1ZWFwaS5hcGkuYXdzLkNvc3RSZWR1Y3Rpb25TdW1tYXJ5EjoKEHJpQ29zdFJlZHVjdGlvbnMYAiADKAsyIC5ibHVlYXBpLmFwaS5hd3MuUmlDb3N0UmVkdWN0aW9uEjoKEHNwQ29z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blueapi.api.aws.AwsCostReductions
17
+ */
18
+ export type AwsCostReductions = Message<"blueapi.api.aws.AwsCostReductions"> & {
19
+ /**
20
+ * @generated from field: blueapi.api.aws.CostReductionSummary summary = 1;
21
+ */
22
+ summary?: CostReductionSummary;
23
+
24
+ /**
25
+ * @generated from field: repeated blueapi.api.aws.RiCostReduction riCostReductions = 2;
26
+ */
27
+ riCostReductions: RiCostReduction[];
28
+
29
+ /**
30
+ * @generated from field: repeated blueapi.api.aws.SpCostReduction spCostReductions = 3;
31
+ */
32
+ spCostReductions: SpCostReduction[];
33
+ };
34
+
35
+ /**
36
+ * Describes the message blueapi.api.aws.AwsCostReductions.
37
+ * Use `create(AwsCostReductionsSchema)` to create a new message.
38
+ */
39
+ export const AwsCostReductionsSchema: GenMessage<AwsCostReductions> = /*@__PURE__*/
40
+ messageDesc(file_api_aws_reduction, 0);
41
+
42
+ /**
43
+ * @generated from message blueapi.api.aws.RiCostReduction
44
+ */
45
+ export type RiCostReduction = Message<"blueapi.api.aws.RiCostReduction"> & {
46
+ /**
47
+ * @generated from field: string id = 1;
48
+ */
49
+ id: string;
50
+
51
+ /**
52
+ * @generated from field: string arn = 2;
53
+ */
54
+ arn: string;
55
+
56
+ /**
57
+ * @generated from field: string customerId = 3;
58
+ */
59
+ customerId: string;
60
+
61
+ /**
62
+ * @generated from field: string customerName = 4;
63
+ */
64
+ customerName: string;
65
+
66
+ /**
67
+ * @generated from field: string billingInternalId = 5;
68
+ */
69
+ billingInternalId: string;
70
+
71
+ /**
72
+ * @generated from field: string billingGroupId = 6;
73
+ */
74
+ billingGroupId: string;
75
+
76
+ /**
77
+ * @generated from field: string billingGroupName = 7;
78
+ */
79
+ billingGroupName: string;
80
+
81
+ /**
82
+ * @generated from field: string destCustomerId = 8;
83
+ */
84
+ destCustomerId: string;
85
+
86
+ /**
87
+ * @generated from field: string start = 9;
88
+ */
89
+ start: string;
90
+
91
+ /**
92
+ * @generated from field: string end = 10;
93
+ */
94
+ end: string;
95
+
96
+ /**
97
+ * @generated from field: string service = 11;
98
+ */
99
+ service: string;
100
+
101
+ /**
102
+ * @generated from field: string instanceType = 12;
103
+ */
104
+ instanceType: string;
105
+
106
+ /**
107
+ * @generated from field: string modificationStatus = 13;
108
+ */
109
+ modificationStatus: string;
110
+
111
+ /**
112
+ * @generated from field: int64 number = 14;
113
+ */
114
+ number: bigint;
115
+
116
+ /**
117
+ * @generated from field: string offerClass = 15;
118
+ */
119
+ offerClass: string;
120
+
121
+ /**
122
+ * @generated from field: string deploymentOption = 35;
123
+ */
124
+ deploymentOption: string;
125
+
126
+ /**
127
+ * @generated from field: string paidBy = 16;
128
+ */
129
+ paidBy: string;
130
+
131
+ /**
132
+ * @generated from field: string paymentOption = 17;
133
+ */
134
+ paymentOption: string;
135
+
136
+ /**
137
+ * @generated from field: string operation = 36;
138
+ */
139
+ operation: string;
140
+
141
+ /**
142
+ * @generated from field: string platform = 18;
143
+ */
144
+ platform: string;
145
+
146
+ /**
147
+ * @generated from field: string region = 19;
148
+ */
149
+ region: string;
150
+
151
+ /**
152
+ * @generated from field: bool remove = 20;
153
+ */
154
+ remove: boolean;
155
+
156
+ /**
157
+ * @generated from field: string scope = 21;
158
+ */
159
+ scope: string;
160
+
161
+ /**
162
+ * @generated from field: string tenancy = 22;
163
+ */
164
+ tenancy: string;
165
+
166
+ /**
167
+ * @generated from field: string termLength = 23;
168
+ */
169
+ termLength: string;
170
+
171
+ /**
172
+ * @generated from field: string usageType = 24;
173
+ */
174
+ usageType: string;
175
+
176
+ /**
177
+ * @generated from field: string vendor = 25;
178
+ */
179
+ vendor: string;
180
+
181
+ /**
182
+ * @generated from field: string zone = 26;
183
+ */
184
+ zone: string;
185
+
186
+ /**
187
+ * @generated from field: bool disabled = 27;
188
+ */
189
+ disabled: boolean;
190
+
191
+ /**
192
+ * @generated from field: double normalizationFactor = 28;
193
+ */
194
+ normalizationFactor: number;
195
+
196
+ /**
197
+ * @generated from field: double unblendedRate = 29;
198
+ */
199
+ unblendedRate: number;
200
+
201
+ /**
202
+ * @generated from field: double upfrontValue = 30;
203
+ */
204
+ upfrontValue: number;
205
+
206
+ /**
207
+ * @generated from field: double ondemandCost = 31;
208
+ */
209
+ ondemandCost: number;
210
+
211
+ /**
212
+ * @generated from field: double effectiveCost = 32;
213
+ */
214
+ effectiveCost: number;
215
+
216
+ /**
217
+ * @generated from field: double savings = 33;
218
+ */
219
+ savings: number;
220
+
221
+ /**
222
+ * for break even point date
223
+ *
224
+ * @generated from field: string breakEven = 34;
225
+ */
226
+ breakEven: string;
227
+ };
228
+
229
+ /**
230
+ * Describes the message blueapi.api.aws.RiCostReduction.
231
+ * Use `create(RiCostReductionSchema)` to create a new message.
232
+ */
233
+ export const RiCostReductionSchema: GenMessage<RiCostReduction> = /*@__PURE__*/
234
+ messageDesc(file_api_aws_reduction, 1);
235
+
236
+ /**
237
+ * @generated from message blueapi.api.aws.SpCostReduction
238
+ */
239
+ export type SpCostReduction = Message<"blueapi.api.aws.SpCostReduction"> & {
240
+ /**
241
+ * @generated from field: string id = 1;
242
+ */
243
+ id: string;
244
+
245
+ /**
246
+ * @generated from field: string arn = 2;
247
+ */
248
+ arn: string;
249
+
250
+ /**
251
+ * @generated from field: string customerId = 3;
252
+ */
253
+ customerId: string;
254
+
255
+ /**
256
+ * @generated from field: string customerName = 4;
257
+ */
258
+ customerName: string;
259
+
260
+ /**
261
+ * @generated from field: string billingGroupId = 5;
262
+ */
263
+ billingGroupId: string;
264
+
265
+ /**
266
+ * @generated from field: string billingGroupName = 6;
267
+ */
268
+ billingGroupName: string;
269
+
270
+ /**
271
+ * @generated from field: string currency = 7;
272
+ */
273
+ currency: string;
274
+
275
+ /**
276
+ * @generated from field: string service = 8;
277
+ */
278
+ service: string;
279
+
280
+ /**
281
+ * @generated from field: string savingsPlan = 9;
282
+ */
283
+ savingsPlan: string;
284
+
285
+ /**
286
+ * @generated from field: string start = 10;
287
+ */
288
+ start: string;
289
+
290
+ /**
291
+ * @generated from field: string end = 11;
292
+ */
293
+ end: string;
294
+
295
+ /**
296
+ * @generated from field: string region = 12;
297
+ */
298
+ region: string;
299
+
300
+ /**
301
+ * @generated from field: string instanceFamily = 13;
302
+ */
303
+ instanceFamily: string;
304
+
305
+ /**
306
+ * @generated from field: string termLength = 14;
307
+ */
308
+ termLength: string;
309
+
310
+ /**
311
+ * @generated from field: string paymentOption = 15;
312
+ */
313
+ paymentOption: string;
314
+
315
+ /**
316
+ * @generated from field: double commitment = 16;
317
+ */
318
+ commitment: number;
319
+
320
+ /**
321
+ * @generated from field: double upfrontFee = 17;
322
+ */
323
+ upfrontFee: number;
324
+
325
+ /**
326
+ * @generated from field: double recurringFee = 18;
327
+ */
328
+ recurringFee: number;
329
+
330
+ /**
331
+ * @generated from field: double ondemandCost = 19;
332
+ */
333
+ ondemandCost: number;
334
+
335
+ /**
336
+ * @generated from field: double effectiveCost = 20;
337
+ */
338
+ effectiveCost: number;
339
+
340
+ /**
341
+ * @generated from field: double savings = 21;
342
+ */
343
+ savings: number;
344
+
345
+ /**
346
+ * for break even point date
347
+ *
348
+ * @generated from field: string breakEven = 22;
349
+ */
350
+ breakEven: string;
351
+ };
352
+
353
+ /**
354
+ * Describes the message blueapi.api.aws.SpCostReduction.
355
+ * Use `create(SpCostReductionSchema)` to create a new message.
356
+ */
357
+ export const SpCostReductionSchema: GenMessage<SpCostReduction> = /*@__PURE__*/
358
+ messageDesc(file_api_aws_reduction, 2);
359
+
360
+ /**
361
+ * @generated from message blueapi.api.aws.CostReductionSummary
362
+ */
363
+ export type CostReductionSummary = Message<"blueapi.api.aws.CostReductionSummary"> & {
364
+ /**
365
+ * @generated from field: double totalOnDemandCost = 1;
366
+ */
367
+ totalOnDemandCost: number;
368
+
369
+ /**
370
+ * @generated from field: double totalEffectiveCost = 2;
371
+ */
372
+ totalEffectiveCost: number;
373
+
374
+ /**
375
+ * @generated from field: double totalSavings = 3;
376
+ */
377
+ totalSavings: number;
378
+
379
+ /**
380
+ * @generated from field: double totalRiOnDemandCost = 4;
381
+ */
382
+ totalRiOnDemandCost: number;
383
+
384
+ /**
385
+ * @generated from field: double totalRiEffectiveCost = 5;
386
+ */
387
+ totalRiEffectiveCost: number;
388
+
389
+ /**
390
+ * @generated from field: double totalRiSavings = 6;
391
+ */
392
+ totalRiSavings: number;
393
+
394
+ /**
395
+ * @generated from field: double totalSpOnDemandCost = 7;
396
+ */
397
+ totalSpOnDemandCost: number;
398
+
399
+ /**
400
+ * @generated from field: double totalSpEffectiveCost = 8;
401
+ */
402
+ totalSpEffectiveCost: number;
403
+
404
+ /**
405
+ * @generated from field: double totalSpSavings = 9;
406
+ */
407
+ totalSpSavings: number;
408
+ };
409
+
410
+ /**
411
+ * Describes the message blueapi.api.aws.CostReductionSummary.
412
+ * Use `create(CostReductionSummarySchema)` to create a new message.
413
+ */
414
+ export const CostReductionSummarySchema: GenMessage<CostReductionSummary> = /*@__PURE__*/
415
+ messageDesc(file_api_aws_reduction, 3);
416
+
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
3
+ // @generated from file api/azure/cost.proto (package blueapi.api.azure, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CostAttributeSchema = exports.CostSchema = exports.file_api_azure_cost = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file api/azure/cost.proto.
10
+ */
11
+ exports.file_api_azure_cost = (0, codegenv2_1.fileDesc)("ChRhcGkvYXp1cmUvY29zdC5wcm90bxIRYmx1ZWFwaS5hcGkuYXp1cmUihgQKBENvc3QSDwoHYWNjb3VudBgBIAEoCRIPCgdncm91cElkGAIgASgJEgwKBGRhdGUYAyABKAkSEwoLc2VydmljZU5hbWUYBCABKAkSEwoLcHJvZHVjdE5hbWUYBSABKAkSDgoGcmVnaW9uGAYgASgJEhIKCmNoYXJnZVR5cGUYByABKAkSEwoLZGVzY3JpcHRpb24YCCABKAkSGAoQYmlsbGFibGVRdWFudGl0eRgJIAEoARIaChJlZmZlY3RpdmVVbml0UHJpY2UYCiABKAESDAoEY29zdBgLIAEoARIUCgxiYXNlQ3VycmVuY3kYDCABKAkSFAoMZXhjaGFuZ2VSYXRlGA0gASgBEhIKCnRhcmdldENvc3QYDiABKAESFgoOdGFyZ2V0Q3VycmVuY3kYDyABKAkSFAoMdGltZUludGVydmFsGBAgASgJEhMKC2JpbGxpbmdUeXBlGBEgASgJEhMKC2FsdGVybmF0ZUlkGBIgASgJEhIKCmRvbWFpbk5hbWUYEyABKAkSEQoJb3BlcmF0aW9uGBQgASgJEhEKCXVzYWdlVHlwZRgVIAEoCRIUCgxpbnN0YW5jZVR5cGUYFiABKAkSEAoIY2F0ZWdvcnkYFyABKAkSFgoOc3Vic2NyaXB0aW9uSWQYGCABKAkSFQoNZW50aXRsZW1lbnRJZBgZIAEoCSLmAQoNQ29zdEF0dHJpYnV0ZRISCgpjdXN0b21lcklkGAEgASgJEhYKDnN1YnNjcmlwdGlvbklkGAIgASgJEhUKDWVudGl0bGVtZW50SWQYAyABKAkSDwoHZ3JvdXBJZBgEIAEoCRIRCglwcm9kdWN0SWQYBSABKAkSEwoLcHJvZHVjdE5hbWUYBiABKAkSDQoFc2t1SWQYByABKAkSDwoHc2t1TmFtZRgIIAEoCRITCgtkZXNjcmlwdGlvbhgJIAEoCRIQCghjYXRlZ29yeRgKIAEoCRISCgpkb21haW5OYW1lGAsgASgJQmIKH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuYXp1cmVCEUFwaUF6dXJlQ29zdFByb3RvWixnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9henVyZWIGcHJvdG8z");
12
+ /**
13
+ * Describes the message blueapi.api.azure.Cost.
14
+ * Use `create(CostSchema)` to create a new message.
15
+ */
16
+ exports.CostSchema = (0, codegenv2_1.messageDesc)(exports.file_api_azure_cost, 0);
17
+ /**
18
+ * Describes the message blueapi.api.azure.CostAttribute.
19
+ * Use `create(CostAttributeSchema)` to create a new message.
20
+ */
21
+ exports.CostAttributeSchema = (0, codegenv2_1.messageDesc)(exports.file_api_azure_cost, 1);
@@ -0,0 +1,268 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/azure/cost.proto (package blueapi.api.azure, 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/azure/cost.proto.
11
+ */
12
+ export const file_api_azure_cost: GenFile = /*@__PURE__*/
13
+ fileDesc("ChRhcGkvYXp1cmUvY29zdC5wcm90bxIRYmx1ZWFwaS5hcGkuYXp1cmUihgQKBENvc3QSDwoHYWNjb3VudBgBIAEoCRIPCgdncm91cElkGAIgASgJEgwKBGRhdGUYAyABKAkSEwoLc2VydmljZU5hbWUYBCABKAkSEwoLcHJvZHVjdE5hbWUYBSABKAkSDgoGcmVnaW9uGAYgASgJEhIKCmNoYXJnZVR5cGUYByABKAkSEwoLZGVzY3JpcHRpb24YCCABKAkSGAoQYmlsbGFibGVRdWFudGl0eRgJIAEoARIaChJlZmZlY3RpdmVVbml0UHJpY2UYCiABKAESDAoEY29zdBgLIAEoARIUCgxiYXNlQ3VycmVuY3kYDCABKAkSFAoMZXhjaGFuZ2VSYXRlGA0gASgBEhIKCnRhcmdldENvc3QYDiABKAESFgoOdGFyZ2V0Q3VycmVuY3kYDyABKAkSFAoMdGltZUludGVydmFsGBAgASgJEhMKC2JpbGxpbmdUeXBlGBEgASgJEhMKC2FsdGVybmF0ZUlkGBIgASgJEhIKCmRvbWFpbk5hbWUYEyABKAkSEQoJb3BlcmF0aW9uGBQgASgJEhEKCXVzYWdlVHlwZRgVIAEoCRIUCgxpbnN0YW5jZVR5cGUYFiABKAkSEAoIY2F0ZWdvcnkYFyABKAkSFgoOc3Vic2NyaXB0aW9uSWQYGCABKAkSFQoNZW50aXRsZW1lbnRJZBgZIAEoCSLmAQoNQ29zdEF0dHJpYnV0ZRISCgpjdXN0b21lcklkGAEgASgJEhYKDnN1YnNjcmlwdGlvbklkGAIgASgJEhUKDWVudGl0bGVtZW50SWQYAyABKAkSDwoHZ3JvdXBJZBgEIAEoCRIRCglwcm9kdWN0SWQYBSABKAkSEwoLcHJvZHVjdE5hbWUYBiABKAkSDQoFc2t1SWQYByABKAkSDwoHc2t1TmFtZRgIIAEoCRITCgtkZXNjcmlwdGlvbhgJIAEoCRIQCghjYXRlZ29yeRgKIAEoCRISCgpkb21haW5OYW1lGAsgASgJQmIKH2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkuYXp1cmVCEUFwaUF6dXJlQ29zdFByb3RvWixnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9henVyZWIGcHJvdG8z");
14
+
15
+ /**
16
+ * @generated from message blueapi.api.azure.Cost
17
+ */
18
+ export type Cost = Message<"blueapi.api.azure.Cost"> & {
19
+ /**
20
+ * The account being queried.
21
+ *
22
+ * @generated from field: string account = 1;
23
+ */
24
+ account: string;
25
+
26
+ /**
27
+ * The group id the account is associated with during the query.
28
+ *
29
+ * @generated from field: string groupId = 2;
30
+ */
31
+ groupId: string;
32
+
33
+ /**
34
+ * For daily data, format is `yyyy-mm-dd`; for monthly, `yyyy-mm`.
35
+ *
36
+ * @generated from field: string date = 3;
37
+ */
38
+ date: string;
39
+
40
+ /**
41
+ * The service name, such as `Software License`, `Cognosys`, `SendGrid`, `New-Commerce ERP Software License`, etc.
42
+ *
43
+ * @generated from field: string serviceName = 4;
44
+ */
45
+ serviceName: string;
46
+
47
+ /**
48
+ * The product code for an Azure service, such as `Dsv4 Series Windows VM`, `CentOS 7.6`, etc.
49
+ *
50
+ * @generated from field: string productName = 5;
51
+ */
52
+ productName: string;
53
+
54
+ /**
55
+ * The region of lineitem, if applicable.
56
+ *
57
+ * @generated from field: string region = 6;
58
+ */
59
+ region: string;
60
+
61
+ /**
62
+ * The charge type of lineitem, if applicable. Such as `New`, `CycleCharge`, `Prorate fees when cancel`, etc.
63
+ *
64
+ * @generated from field: string chargeType = 7;
65
+ */
66
+ chargeType: string;
67
+
68
+ /**
69
+ * The description of lineitem, if applicable.
70
+ *
71
+ * @generated from field: string description = 8;
72
+ */
73
+ description: string;
74
+
75
+ /**
76
+ * The billable quantity of lineitem, if applicable.
77
+ *
78
+ * @generated from field: double billableQuantity = 9;
79
+ */
80
+ billableQuantity: number;
81
+
82
+ /**
83
+ * The effective unit price of lineitem, if applicable.
84
+ *
85
+ * @generated from field: double effectiveUnitPrice = 10;
86
+ */
87
+ effectiveUnitPrice: number;
88
+
89
+ /**
90
+ * The true cost (calculated) for this lineitem.
91
+ *
92
+ * @generated from field: double cost = 11;
93
+ */
94
+ cost: number;
95
+
96
+ /**
97
+ * The base currency for `cost`.
98
+ *
99
+ * @generated from field: string baseCurrency = 12;
100
+ */
101
+ baseCurrency: string;
102
+
103
+ /**
104
+ * The exchange rate used to convert `baseCurrency` to `targetCurrency`.
105
+ *
106
+ * @generated from field: double exchangeRate = 13;
107
+ */
108
+ exchangeRate: number;
109
+
110
+ /**
111
+ * Converted `cost`.
112
+ *
113
+ * @generated from field: double targetCost = 14;
114
+ */
115
+ targetCost: number;
116
+
117
+ /**
118
+ * The currency set by `toCurrency`.
119
+ *
120
+ * @generated from field: string targetCurrency = 15;
121
+ */
122
+ targetCurrency: string;
123
+
124
+ /**
125
+ * The time interval of lineitem, if applicable. Format is `yyyy-MM-ddThh:MM:ssZ/yyyy-mm-ddTHH:mm:ssZ` (for example 2020-09-16T00:00:00Z/2021-09-24T00:00:00Z).
126
+ *
127
+ * @generated from field: string timeInterval = 16;
128
+ */
129
+ timeInterval: string;
130
+
131
+ /**
132
+ * The billing type of lineitem, if applicable. Such as `MARKETPLACE`, `UPFRONT`, `Refund`, `Credit` and `OTHERS`.
133
+ *
134
+ * @generated from field: string billingType = 17;
135
+ */
136
+ billingType: string;
137
+
138
+ /**
139
+ * The alternate ID of lineitem, if applicable.
140
+ *
141
+ * @generated from field: string alternateId = 18;
142
+ */
143
+ alternateId: string;
144
+
145
+ /**
146
+ * The domain name of lineitem, if applicable.
147
+ *
148
+ * @generated from field: string domainName = 19;
149
+ */
150
+ domainName: string;
151
+
152
+ /**
153
+ * The operation of lineitem, if applicable. Such as `Cool LRS Write Operations`, `Cool LRS Data Write`, `Standard Data Transfer Out`, etc.
154
+ *
155
+ * @generated from field: string operation = 20;
156
+ */
157
+ operation: string;
158
+
159
+ /**
160
+ * The usage type of lineitem, if applicable. Such as `Standard HDD Managed Disks`, `Tables`, `Blob Storage`, etc.
161
+ *
162
+ * @generated from field: string usageType = 21;
163
+ */
164
+ usageType: string;
165
+
166
+ /**
167
+ * The instance type of lineitem, if applicable. Such as `Gateway`, `Standard_B2s`, `Standard_D4s_v3`, etc.
168
+ *
169
+ * @generated from field: string instanceType = 22;
170
+ */
171
+ instanceType: string;
172
+
173
+ /**
174
+ * The category of lineitem, if applicable. Such as `Software License`, `Marketplace`, `RI`, `Other`, etc.
175
+ *
176
+ * @generated from field: string category = 23;
177
+ */
178
+ category: string;
179
+
180
+ /**
181
+ * The subscription id.
182
+ *
183
+ * @generated from field: string subscriptionId = 24;
184
+ */
185
+ subscriptionId: string;
186
+
187
+ /**
188
+ * The entitlement id.
189
+ *
190
+ * @generated from field: string entitlementId = 25;
191
+ */
192
+ entitlementId: string;
193
+ };
194
+
195
+ /**
196
+ * Describes the message blueapi.api.azure.Cost.
197
+ * Use `create(CostSchema)` to create a new message.
198
+ */
199
+ export const CostSchema: GenMessage<Cost> = /*@__PURE__*/
200
+ messageDesc(file_api_azure_cost, 0);
201
+
202
+ /**
203
+ * @generated from message blueapi.api.azure.CostAttribute
204
+ */
205
+ export type CostAttribute = Message<"blueapi.api.azure.CostAttribute"> & {
206
+ /**
207
+ * @generated from field: string customerId = 1;
208
+ */
209
+ customerId: string;
210
+
211
+ /**
212
+ * @generated from field: string subscriptionId = 2;
213
+ */
214
+ subscriptionId: string;
215
+
216
+ /**
217
+ * @generated from field: string entitlementId = 3;
218
+ */
219
+ entitlementId: string;
220
+
221
+ /**
222
+ * @generated from field: string groupId = 4;
223
+ */
224
+ groupId: string;
225
+
226
+ /**
227
+ * @generated from field: string productId = 5;
228
+ */
229
+ productId: string;
230
+
231
+ /**
232
+ * @generated from field: string productName = 6;
233
+ */
234
+ productName: string;
235
+
236
+ /**
237
+ * @generated from field: string skuId = 7;
238
+ */
239
+ skuId: string;
240
+
241
+ /**
242
+ * @generated from field: string skuName = 8;
243
+ */
244
+ skuName: string;
245
+
246
+ /**
247
+ * @generated from field: string description = 9;
248
+ */
249
+ description: string;
250
+
251
+ /**
252
+ * @generated from field: string category = 10;
253
+ */
254
+ category: string;
255
+
256
+ /**
257
+ * @generated from field: string domainName = 11;
258
+ */
259
+ domainName: string;
260
+ };
261
+
262
+ /**
263
+ * Describes the message blueapi.api.azure.CostAttribute.
264
+ * Use `create(CostAttributeSchema)` to create a new message.
265
+ */
266
+ export const CostAttributeSchema: GenMessage<CostAttribute> = /*@__PURE__*/
267
+ messageDesc(file_api_azure_cost, 1);
268
+