@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,49 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/ripple/v1/export.proto (package blueapi.api.ripple.v1, 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/ripple/v1/export.proto.
11
+ */
12
+ export const file_api_ripple_v1_export: GenFile = /*@__PURE__*/
13
+ fileDesc("ChphcGkvcmlwcGxlL3YxL2V4cG9ydC5wcm90bxIVYmx1ZWFwaS5hcGkucmlwcGxlLnYxIkgKCkV4cG9ydERhdGESDwoHY29udGVudBgBIAEoCRIWCg5kb3dubG9hZGVkUm93cxgCIAEoAxIRCgl0b3RhbFJvd3MYAyABKANCbQojY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS5yaXBwbGUudjFCFEFwaVJpcHBsZUV4cG9ydFByb3RvWjBnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9yaXBwbGUvdjFiBnByb3RvMw");
14
+
15
+ /**
16
+ * ExportData resource definition.
17
+ *
18
+ * @generated from message blueapi.api.ripple.v1.ExportData
19
+ */
20
+ export type ExportData = Message<"blueapi.api.ripple.v1.ExportData"> & {
21
+ /**
22
+ * Base64 encoded value.
23
+ *
24
+ * @generated from field: string content = 1;
25
+ */
26
+ content: string;
27
+
28
+ /**
29
+ * Downloaded content lines.
30
+ *
31
+ * @generated from field: int64 downloadedRows = 2;
32
+ */
33
+ downloadedRows: bigint;
34
+
35
+ /**
36
+ * Total of content lines.
37
+ *
38
+ * @generated from field: int64 totalRows = 3;
39
+ */
40
+ totalRows: bigint;
41
+ };
42
+
43
+ /**
44
+ * Describes the message blueapi.api.ripple.v1.ExportData.
45
+ * Use `create(ExportDataSchema)` to create a new message.
46
+ */
47
+ export const ExportDataSchema: GenMessage<ExportData> = /*@__PURE__*/
48
+ messageDesc(file_api_ripple_v1_export, 0);
49
+
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
3
+ // @generated from file api/ripple/v1/invoiceservicediscounts.proto (package blueapi.api.ripple.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.GroupServiceDiscountsExportSchema = exports.AccountServiceDiscountsExportSchema = exports.ServiceDiscountsExportSchema = exports.ServiceSchema = exports.InvoiceServiceDiscountsSettingDetailsSchema = exports.InvoiceServiceDiscountsSettingSchema = exports.InvoiceServiceDiscountsSchema = exports.file_api_ripple_v1_invoiceservicediscounts = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const field_behavior_pb_1 = require("../../../google/api/field_behavior_pb");
9
+ const export_pb_1 = require("./export_pb");
10
+ /**
11
+ * Describes the file api/ripple/v1/invoiceservicediscounts.proto.
12
+ */
13
+ exports.file_api_ripple_v1_invoiceservicediscounts = (0, codegenv2_1.fileDesc)("CithcGkvcmlwcGxlL3YxL2ludm9pY2VzZXJ2aWNlZGlzY291bnRzLnByb3RvEhVibHVlYXBpLmFwaS5yaXBwbGUudjEixAEKF0ludm9pY2VTZXJ2aWNlRGlzY291bnRzEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSGQoLZGVzY3JpcHRpb24YAyABKAlCBOJBAQESRgoHc2V0dGluZxgEIAEoCzI1LmJsdWVhcGkuYXBpLnJpcHBsZS52MS5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmcSFQoHY3JlYXRlZBgFIAEoCUIE4kEBAxIVCgd1cGRhdGVkGAYgASgJQgTiQQEDIpgCCh5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmcSUAoKYXdzRGV0YWlscxgBIAMoCzI8LmJsdWVhcGkuYXBpLnJpcHBsZS52MS5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmdEZXRhaWxzElIKDGF6dXJlRGV0YWlscxgCIAMoCzI8LmJsdWVhcGkuYXBpLnJpcHBsZS52MS5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmdEZXRhaWxzElAKCmdjcERldGFpbHMYAyADKAsyPC5ibHVlYXBpLmFwaS5yaXBwbGUudjEuSW52b2ljZVNlcnZpY2VEaXNjb3VudHNTZXR0aW5nRGV0YWlscyJ4CiVJbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmdEZXRhaWxzEhIKBGNvZGUYASABKAlCBOJBAQISEgoEbmFtZRgCIAEoCUIE4kEBAxINCgV2YWx1ZRgDIAEoARIYChBjYWxjdWxhdGlvblNjb3BlGAQgASgIIjMKB1NlcnZpY2USEwoLc2VydmljZUNvZGUYASABKAkSEwoLc2VydmljZU5hbWUYAiABKAkiSQoWU2VydmljZURpc2NvdW50c0V4cG9ydBIvCgRkYXRhGAEgASgLMiEuYmx1ZWFwaS5hcGkucmlwcGxlLnYxLkV4cG9ydERhdGEiZAodQWNjb3VudFNlcnZpY2VEaXNjb3VudHNFeHBvcnQSLwoEZGF0YRgBIAEoCzIhLmJsdWVhcGkuYXBpLnJpcHBsZS52MS5FeHBvcnREYXRhEhIKCmRpcmVjdExpbmsYAiABKAkiYgobR3JvdXBTZXJ2aWNlRGlzY291bnRzRXhwb3J0Ei8KBGRhdGEYASABKAsyIS5ibHVlYXBpLmFwaS5yaXBwbGUudjEuRXhwb3J0RGF0YRISCgpkaXJlY3RMaW5rGAIgASgJQn4KI2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkucmlwcGxlLnYxQiVBcGlSaXBwbGVJbnZvaWNlU2VydmljZURpc2NvdW50c1Byb3RvWjBnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9yaXBwbGUvdjFiBnByb3RvMw", [field_behavior_pb_1.file_google_api_field_behavior, export_pb_1.file_api_ripple_v1_export]);
14
+ /**
15
+ * Describes the message blueapi.api.ripple.v1.InvoiceServiceDiscounts.
16
+ * Use `create(InvoiceServiceDiscountsSchema)` to create a new message.
17
+ */
18
+ exports.InvoiceServiceDiscountsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 0);
19
+ /**
20
+ * Describes the message blueapi.api.ripple.v1.InvoiceServiceDiscountsSetting.
21
+ * Use `create(InvoiceServiceDiscountsSettingSchema)` to create a new message.
22
+ */
23
+ exports.InvoiceServiceDiscountsSettingSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 1);
24
+ /**
25
+ * Describes the message blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails.
26
+ * Use `create(InvoiceServiceDiscountsSettingDetailsSchema)` to create a new message.
27
+ */
28
+ exports.InvoiceServiceDiscountsSettingDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 2);
29
+ /**
30
+ * Describes the message blueapi.api.ripple.v1.Service.
31
+ * Use `create(ServiceSchema)` to create a new message.
32
+ */
33
+ exports.ServiceSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 3);
34
+ /**
35
+ * Describes the message blueapi.api.ripple.v1.ServiceDiscountsExport.
36
+ * Use `create(ServiceDiscountsExportSchema)` to create a new message.
37
+ */
38
+ exports.ServiceDiscountsExportSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 4);
39
+ /**
40
+ * Describes the message blueapi.api.ripple.v1.AccountServiceDiscountsExport.
41
+ * Use `create(AccountServiceDiscountsExportSchema)` to create a new message.
42
+ */
43
+ exports.AccountServiceDiscountsExportSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 5);
44
+ /**
45
+ * Describes the message blueapi.api.ripple.v1.GroupServiceDiscountsExport.
46
+ * Use `create(GroupServiceDiscountsExportSchema)` to create a new message.
47
+ */
48
+ exports.GroupServiceDiscountsExportSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_v1_invoiceservicediscounts, 6);
@@ -0,0 +1,298 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/ripple/v1/invoiceservicediscounts.proto (package blueapi.api.ripple.v1, 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 { file_google_api_field_behavior } from "../../../google/api/field_behavior_pb";
8
+ import type { ExportData } from "./export_pb";
9
+ import { file_api_ripple_v1_export } from "./export_pb";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+
12
+ /**
13
+ * Describes the file api/ripple/v1/invoiceservicediscounts.proto.
14
+ */
15
+ export const file_api_ripple_v1_invoiceservicediscounts: GenFile = /*@__PURE__*/
16
+ fileDesc("CithcGkvcmlwcGxlL3YxL2ludm9pY2VzZXJ2aWNlZGlzY291bnRzLnByb3RvEhVibHVlYXBpLmFwaS5yaXBwbGUudjEixAEKF0ludm9pY2VTZXJ2aWNlRGlzY291bnRzEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSGQoLZGVzY3JpcHRpb24YAyABKAlCBOJBAQESRgoHc2V0dGluZxgEIAEoCzI1LmJsdWVhcGkuYXBpLnJpcHBsZS52MS5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmcSFQoHY3JlYXRlZBgFIAEoCUIE4kEBAxIVCgd1cGRhdGVkGAYgASgJQgTiQQEDIpgCCh5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmcSUAoKYXdzRGV0YWlscxgBIAMoCzI8LmJsdWVhcGkuYXBpLnJpcHBsZS52MS5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmdEZXRhaWxzElIKDGF6dXJlRGV0YWlscxgCIAMoCzI8LmJsdWVhcGkuYXBpLnJpcHBsZS52MS5JbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmdEZXRhaWxzElAKCmdjcERldGFpbHMYAyADKAsyPC5ibHVlYXBpLmFwaS5yaXBwbGUudjEuSW52b2ljZVNlcnZpY2VEaXNjb3VudHNTZXR0aW5nRGV0YWlscyJ4CiVJbnZvaWNlU2VydmljZURpc2NvdW50c1NldHRpbmdEZXRhaWxzEhIKBGNvZGUYASABKAlCBOJBAQISEgoEbmFtZRgCIAEoCUIE4kEBAxINCgV2YWx1ZRgDIAEoARIYChBjYWxjdWxhdGlvblNjb3BlGAQgASgIIjMKB1NlcnZpY2USEwoLc2VydmljZUNvZGUYASABKAkSEwoLc2VydmljZU5hbWUYAiABKAkiSQoWU2VydmljZURpc2NvdW50c0V4cG9ydBIvCgRkYXRhGAEgASgLMiEuYmx1ZWFwaS5hcGkucmlwcGxlLnYxLkV4cG9ydERhdGEiZAodQWNjb3VudFNlcnZpY2VEaXNjb3VudHNFeHBvcnQSLwoEZGF0YRgBIAEoCzIhLmJsdWVhcGkuYXBpLnJpcHBsZS52MS5FeHBvcnREYXRhEhIKCmRpcmVjdExpbmsYAiABKAkiYgobR3JvdXBTZXJ2aWNlRGlzY291bnRzRXhwb3J0Ei8KBGRhdGEYASABKAsyIS5ibHVlYXBpLmFwaS5yaXBwbGUudjEuRXhwb3J0RGF0YRISCgpkaXJlY3RMaW5rGAIgASgJQn4KI2Nsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGkucmlwcGxlLnYxQiVBcGlSaXBwbGVJbnZvaWNlU2VydmljZURpc2NvdW50c1Byb3RvWjBnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9yaXBwbGUvdjFiBnByb3RvMw", [file_google_api_field_behavior, file_api_ripple_v1_export]);
17
+
18
+ /**
19
+ * InvoiceServiceDiscounts resource definition.
20
+ *
21
+ * @generated from message blueapi.api.ripple.v1.InvoiceServiceDiscounts
22
+ */
23
+ export type InvoiceServiceDiscounts = Message<"blueapi.api.ripple.v1.InvoiceServiceDiscounts"> & {
24
+ /**
25
+ * The invoice service discounts id.
26
+ *
27
+ * @generated from field: string id = 1;
28
+ */
29
+ id: string;
30
+
31
+ /**
32
+ * The invoice service discount name.
33
+ * must be 1-60 characters long.
34
+ *
35
+ * @generated from field: string name = 2;
36
+ */
37
+ name: string;
38
+
39
+ /**
40
+ * The invoice service discount description.
41
+ * Maximum 150 characters long.
42
+ *
43
+ * @generated from field: string description = 3;
44
+ */
45
+ description: string;
46
+
47
+ /**
48
+ * The invoice service discount setting.
49
+ *
50
+ * @generated from field: blueapi.api.ripple.v1.InvoiceServiceDiscountsSetting setting = 4;
51
+ */
52
+ setting?: InvoiceServiceDiscountsSetting;
53
+
54
+ /**
55
+ * Timestamp associated with the created.
56
+ *
57
+ * @generated from field: string created = 5;
58
+ */
59
+ created: string;
60
+
61
+ /**
62
+ * Timestamp associated with the updated.
63
+ *
64
+ * @generated from field: string updated = 6;
65
+ */
66
+ updated: string;
67
+ };
68
+
69
+ /**
70
+ * Describes the message blueapi.api.ripple.v1.InvoiceServiceDiscounts.
71
+ * Use `create(InvoiceServiceDiscountsSchema)` to create a new message.
72
+ */
73
+ export const InvoiceServiceDiscountsSchema: GenMessage<InvoiceServiceDiscounts> = /*@__PURE__*/
74
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 0);
75
+
76
+ /**
77
+ * InvoiceServiceDiscountsSetting resource definition.
78
+ *
79
+ * @generated from message blueapi.api.ripple.v1.InvoiceServiceDiscountsSetting
80
+ */
81
+ export type InvoiceServiceDiscountsSetting = Message<"blueapi.api.ripple.v1.InvoiceServiceDiscountsSetting"> & {
82
+ /**
83
+ * The invoice service discounts setting details.
84
+ *
85
+ * @generated from field: repeated blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails awsDetails = 1;
86
+ */
87
+ awsDetails: InvoiceServiceDiscountsSettingDetails[];
88
+
89
+ /**
90
+ * The invoice service discounts setting details.
91
+ *
92
+ * @generated from field: repeated blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails azureDetails = 2;
93
+ */
94
+ azureDetails: InvoiceServiceDiscountsSettingDetails[];
95
+
96
+ /**
97
+ * The invoice service discounts setting details.
98
+ *
99
+ * @generated from field: repeated blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails gcpDetails = 3;
100
+ */
101
+ gcpDetails: InvoiceServiceDiscountsSettingDetails[];
102
+ };
103
+
104
+ /**
105
+ * Describes the message blueapi.api.ripple.v1.InvoiceServiceDiscountsSetting.
106
+ * Use `create(InvoiceServiceDiscountsSettingSchema)` to create a new message.
107
+ */
108
+ export const InvoiceServiceDiscountsSettingSchema: GenMessage<InvoiceServiceDiscountsSetting> = /*@__PURE__*/
109
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 1);
110
+
111
+ /**
112
+ * InvoiceServiceDiscountsSettingDetails resource definition.
113
+ *
114
+ * @generated from message blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails
115
+ */
116
+ export type InvoiceServiceDiscountsSettingDetails = Message<"blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails"> & {
117
+ /**
118
+ * The vendor service code.
119
+ * aws: ProductCode
120
+ * azure: ServiceCode
121
+ * gcp: ServiceName
122
+ * `otherServices`: The code to specify other services as a whole, regardless of vendor.
123
+ * For exmaple: Other services set at 1%.
124
+ * {"code":"otherServices", "value":0.01}
125
+ *
126
+ * @generated from field: string code = 1;
127
+ */
128
+ code: string;
129
+
130
+ /**
131
+ * The vendor service name.
132
+ *
133
+ * @generated from field: string name = 2;
134
+ */
135
+ name: string;
136
+
137
+ /**
138
+ * Value associated with the set premiums or discounts.
139
+ *
140
+ * @generated from field: double value = 3;
141
+ */
142
+ value: number;
143
+
144
+ /**
145
+ * The calculation scope.
146
+ * default is `disabled`.
147
+ * If enabled, Usage and any lineitem type including Fee are included in the calculation.
148
+ * If disabled, only the Usage is included in the calculation.
149
+ *
150
+ * @generated from field: bool calculationScope = 4;
151
+ */
152
+ calculationScope: boolean;
153
+ };
154
+
155
+ /**
156
+ * Describes the message blueapi.api.ripple.v1.InvoiceServiceDiscountsSettingDetails.
157
+ * Use `create(InvoiceServiceDiscountsSettingDetailsSchema)` to create a new message.
158
+ */
159
+ export const InvoiceServiceDiscountsSettingDetailsSchema: GenMessage<InvoiceServiceDiscountsSettingDetails> = /*@__PURE__*/
160
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 2);
161
+
162
+ /**
163
+ * Service resource definition.
164
+ * Services of each vendor available for Service Discounts.
165
+ *
166
+ * @generated from message blueapi.api.ripple.v1.Service
167
+ */
168
+ export type Service = Message<"blueapi.api.ripple.v1.Service"> & {
169
+ /**
170
+ * The service code.
171
+ *
172
+ * @generated from field: string serviceCode = 1;
173
+ */
174
+ serviceCode: string;
175
+
176
+ /**
177
+ * The service name.
178
+ *
179
+ * @generated from field: string serviceName = 2;
180
+ */
181
+ serviceName: string;
182
+ };
183
+
184
+ /**
185
+ * Describes the message blueapi.api.ripple.v1.Service.
186
+ * Use `create(ServiceSchema)` to create a new message.
187
+ */
188
+ export const ServiceSchema: GenMessage<Service> = /*@__PURE__*/
189
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 3);
190
+
191
+ /**
192
+ * ServiceDiscountsExport resource definition.
193
+ *
194
+ * @generated from message blueapi.api.ripple.v1.ServiceDiscountsExport
195
+ */
196
+ export type ServiceDiscountsExport = Message<"blueapi.api.ripple.v1.ServiceDiscountsExport"> & {
197
+ /**
198
+ * data is [blueapi.api.ripple.v1.ExportData]
199
+ *
200
+ * content. Base64 encoded value.
201
+ * For example, content :``
202
+ * Decoding this value, get ``.
203
+ *
204
+ * downloadedRows. Downloaded content lines.
205
+ *
206
+ * totalRows.Total of content lines.
207
+ *
208
+ * @generated from field: blueapi.api.ripple.v1.ExportData data = 1;
209
+ */
210
+ data?: ExportData;
211
+ };
212
+
213
+ /**
214
+ * Describes the message blueapi.api.ripple.v1.ServiceDiscountsExport.
215
+ * Use `create(ServiceDiscountsExportSchema)` to create a new message.
216
+ */
217
+ export const ServiceDiscountsExportSchema: GenMessage<ServiceDiscountsExport> = /*@__PURE__*/
218
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 4);
219
+
220
+ /**
221
+ * AccountServiceDiscountsExport resource definition.
222
+ *
223
+ * data is [blueapi.api.ripple.v1.ExportData]
224
+ *
225
+ * content. Base64 encoded value.
226
+ * For example,
227
+ * content :`YmlsbGluZ0dyb3VwSWQsYmlsbGluZ0dyb3VwTmFtZSxWZW5kb3IsQWNjb3VudElkLEFjY291bnROYW1lLFNlcnZpY2UgUHJlbWl1bXMmRGlzY291bnRzDQo=`
228
+ * Decoding this value by en, get `billingGroupId,billingGroupName,Vendor,AccountId,AccountName,Service Premiums&Discounts`.
229
+ * content :`6KuL5rGC44Kw44Or44O844OXSUQs6KuL5rGC44Kw44Or44O844OX5ZCNLOODmeODs+ODgOODvCzjgqLjgqvjgqbjg7Pjg4hJRCzjgqLjgqvjgqbjg7Pjg4jlkI0s44K144O844OT44K55Ymy5byV44O75Ymy5aKX6Kit5a6aDQo=`
230
+ * Decoding this value by ja, get `請求グループID,請求グループ名,ベンダー,アカウントID,アカウント名,サービス割引・割増設定`.
231
+ *
232
+ * downloadedRows. Downloaded content lines.
233
+ *
234
+ * totalRows.Total of content lines.
235
+ *
236
+ * @generated from message blueapi.api.ripple.v1.AccountServiceDiscountsExport
237
+ */
238
+ export type AccountServiceDiscountsExport = Message<"blueapi.api.ripple.v1.AccountServiceDiscountsExport"> & {
239
+ /**
240
+ * @generated from field: blueapi.api.ripple.v1.ExportData data = 1;
241
+ */
242
+ data?: ExportData;
243
+
244
+ /**
245
+ * Empty if direct link in request is disabled in request
246
+ *
247
+ * @generated from field: string directLink = 2;
248
+ */
249
+ directLink: string;
250
+ };
251
+
252
+ /**
253
+ * Describes the message blueapi.api.ripple.v1.AccountServiceDiscountsExport.
254
+ * Use `create(AccountServiceDiscountsExportSchema)` to create a new message.
255
+ */
256
+ export const AccountServiceDiscountsExportSchema: GenMessage<AccountServiceDiscountsExport> = /*@__PURE__*/
257
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 5);
258
+
259
+ /**
260
+ * GroupServiceDiscountsExport resource definition.
261
+ * `Group` refer to `BillingGroup`.
262
+ *
263
+ * data is [blueapi.api.ripple.v1.ExportData]
264
+ *
265
+ * content. Base64 encoded value.
266
+ * For example,
267
+ * content :`YmlsbGluZ0dyb3VwSWQsYmlsbGluZ0dyb3VwTmFtZSxTZXJ2aWNlIFByZW1pdW1zJkRpc2NvdW50cw0K`
268
+ * Decoding this value by en, get `billingGroupId,billingGroupName,Service Premiums&Discounts`.
269
+ * content :`6KuL5rGC44Kw44Or44O844OXSUQs6KuL5rGC44Kw44Or44O844OX5ZCNLOOCteODvOODk+OCueWJsuW8leODu+WJsuWil+ioreWumg0K`
270
+ * Decoding this value by ja, get `請求グループID,請求グループ名,サービス割引・割増設定`.
271
+ *
272
+ * downloadedRows. Downloaded content lines.
273
+ *
274
+ * totalRows.Total of content lines.
275
+ *
276
+ * @generated from message blueapi.api.ripple.v1.GroupServiceDiscountsExport
277
+ */
278
+ export type GroupServiceDiscountsExport = Message<"blueapi.api.ripple.v1.GroupServiceDiscountsExport"> & {
279
+ /**
280
+ * @generated from field: blueapi.api.ripple.v1.ExportData data = 1;
281
+ */
282
+ data?: ExportData;
283
+
284
+ /**
285
+ * Empty if direct link in request is disabled in request
286
+ *
287
+ * @generated from field: string directLink = 2;
288
+ */
289
+ directLink: string;
290
+ };
291
+
292
+ /**
293
+ * Describes the message blueapi.api.ripple.v1.GroupServiceDiscountsExport.
294
+ * Use `create(GroupServiceDiscountsExportSchema)` to create a new message.
295
+ */
296
+ export const GroupServiceDiscountsExportSchema: GenMessage<GroupServiceDiscountsExport> = /*@__PURE__*/
297
+ messageDesc(file_api_ripple_v1_invoiceservicediscounts, 6);
298
+
@@ -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/ripple/yearmonth.proto (package blueapi.api.ripple, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.YearMonthSchema = exports.file_api_ripple_yearmonth = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file api/ripple/yearmonth.proto.
10
+ */
11
+ exports.file_api_ripple_yearmonth = (0, codegenv2_1.fileDesc)("ChphcGkvcmlwcGxlL3llYXJtb250aC5wcm90bxISYmx1ZWFwaS5hcGkucmlwcGxlIh4KCVllYXJNb250aBIRCgl5ZWFyTW9udGgYASABKAlCagogY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS5yaXBwbGVCF0FwaVJpcHBsZVllYXJNb250aFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9yaXBwbGViBnByb3RvMw");
12
+ /**
13
+ * Describes the message blueapi.api.ripple.YearMonth.
14
+ * Use `create(YearMonthSchema)` to create a new message.
15
+ */
16
+ exports.YearMonthSchema = (0, codegenv2_1.messageDesc)(exports.file_api_ripple_yearmonth, 0);
@@ -0,0 +1,35 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/ripple/yearmonth.proto (package blueapi.api.ripple, 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/ripple/yearmonth.proto.
11
+ */
12
+ export const file_api_ripple_yearmonth: GenFile = /*@__PURE__*/
13
+ fileDesc("ChphcGkvcmlwcGxlL3llYXJtb250aC5wcm90bxISYmx1ZWFwaS5hcGkucmlwcGxlIh4KCVllYXJNb250aBIRCgl5ZWFyTW9udGgYASABKAlCagogY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS5yaXBwbGVCF0FwaVJpcHBsZVllYXJNb250aFByb3RvWi1naXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaS9yaXBwbGViBnByb3RvMw");
14
+
15
+ /**
16
+ * YearMonth resource definition.
17
+ *
18
+ * @generated from message blueapi.api.ripple.YearMonth
19
+ */
20
+ export type YearMonth = Message<"blueapi.api.ripple.YearMonth"> & {
21
+ /**
22
+ * List of the yearmonth.
23
+ *
24
+ * @generated from field: string yearMonth = 1;
25
+ */
26
+ yearMonth: string;
27
+ };
28
+
29
+ /**
30
+ * Describes the message blueapi.api.ripple.YearMonth.
31
+ * Use `create(YearMonthSchema)` to create a new message.
32
+ */
33
+ export const YearMonthSchema: GenMessage<YearMonth> = /*@__PURE__*/
34
+ messageDesc(file_api_ripple_yearmonth, 0);
35
+
package/api/user_pb.js ADDED
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
3
+ // @generated from file api/user.proto (package blueapi.api, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SubUserRoleSchema = exports.SubUserSchema = exports.UserSchema = exports.file_api_user = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file api/user.proto.
10
+ */
11
+ exports.file_api_user = (0, codegenv2_1.fileDesc)("Cg5hcGkvdXNlci5wcm90bxILYmx1ZWFwaS5hcGkihgEKBFVzZXISCgoCaWQYASABKAkSDgoGcGFyZW50GAIgASgJEjEKCG1ldGFkYXRhGAMgAygLMh8uYmx1ZWFwaS5hcGkuVXNlci5NZXRhZGF0YUVudHJ5Gi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASK3AQoHU3ViVXNlchIKCgJpZBgBIAEoCRIQCghwYXJlbnRJZBgCIAEoCRI0CghtZXRhZGF0YRgDIAMoCzIiLmJsdWVhcGkuYXBpLlN1YlVzZXIuTWV0YWRhdGFFbnRyeRInCgVyb2xlcxgEIAMoCzIYLmJsdWVhcGkuYXBpLlN1YlVzZXJSb2xlGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJFCgtTdWJVc2VyUm9sZRIOCgZyb2xlSWQYASABKAkSEwoLcGVybWlzc2lvbnMYAiADKAkSEQoJc3ViVXNlcklkGAMgASgJQlEKGWNsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGlCDEFwaVVzZXJQcm90b1omZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGliBnByb3RvMw");
12
+ /**
13
+ * Describes the message blueapi.api.User.
14
+ * Use `create(UserSchema)` to create a new message.
15
+ */
16
+ exports.UserSchema = (0, codegenv2_1.messageDesc)(exports.file_api_user, 0);
17
+ /**
18
+ * Describes the message blueapi.api.SubUser.
19
+ * Use `create(SubUserSchema)` to create a new message.
20
+ */
21
+ exports.SubUserSchema = (0, codegenv2_1.messageDesc)(exports.file_api_user, 1);
22
+ /**
23
+ * Describes the message blueapi.api.SubUserRole.
24
+ * Use `create(SubUserRoleSchema)` to create a new message.
25
+ */
26
+ exports.SubUserRoleSchema = (0, codegenv2_1.messageDesc)(exports.file_api_user, 2);
package/api/user_pb.ts ADDED
@@ -0,0 +1,124 @@
1
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
2
+ // @generated from file api/user.proto (package blueapi.api, 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/user.proto.
11
+ */
12
+ export const file_api_user: GenFile = /*@__PURE__*/
13
+ fileDesc("Cg5hcGkvdXNlci5wcm90bxILYmx1ZWFwaS5hcGkihgEKBFVzZXISCgoCaWQYASABKAkSDgoGcGFyZW50GAIgASgJEjEKCG1ldGFkYXRhGAMgAygLMh8uYmx1ZWFwaS5hcGkuVXNlci5NZXRhZGF0YUVudHJ5Gi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASK3AQoHU3ViVXNlchIKCgJpZBgBIAEoCRIQCghwYXJlbnRJZBgCIAEoCRI0CghtZXRhZGF0YRgDIAMoCzIiLmJsdWVhcGkuYXBpLlN1YlVzZXIuTWV0YWRhdGFFbnRyeRInCgVyb2xlcxgEIAMoCzIYLmJsdWVhcGkuYXBpLlN1YlVzZXJSb2xlGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJFCgtTdWJVc2VyUm9sZRIOCgZyb2xlSWQYASABKAkSEwoLcGVybWlzc2lvbnMYAiADKAkSEQoJc3ViVXNlcklkGAMgASgJQlEKGWNsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGlCDEFwaVVzZXJQcm90b1omZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGliBnByb3RvMw");
14
+
15
+ /**
16
+ * @generated from message blueapi.api.User
17
+ */
18
+ export type User = Message<"blueapi.api.User"> & {
19
+ /**
20
+ * User's unique id.
21
+ *
22
+ * @generated from field: string id = 1;
23
+ */
24
+ id: string;
25
+
26
+ /**
27
+ * The user's parent. If empty or non-existent, it means this user is a root user;
28
+ * otherwise, it's a subuser.
29
+ *
30
+ * @generated from field: string parent = 2;
31
+ */
32
+ parent: string;
33
+
34
+ /**
35
+ * The attributes (key/value pair) of the user. If hierarchy is supported, it will be
36
+ * separated by '/', such as 'key/subkey=value'. See https://alphauslabs.github.io/blueapi/
37
+ * for the list of supported attributes.
38
+ *
39
+ * @generated from field: map<string, string> metadata = 3;
40
+ */
41
+ metadata: { [key: string]: string };
42
+ };
43
+
44
+ /**
45
+ * Describes the message blueapi.api.User.
46
+ * Use `create(UserSchema)` to create a new message.
47
+ */
48
+ export const UserSchema: GenMessage<User> = /*@__PURE__*/
49
+ messageDesc(file_api_user, 0);
50
+
51
+ /**
52
+ * @generated from message blueapi.api.SubUser
53
+ */
54
+ export type SubUser = Message<"blueapi.api.SubUser"> & {
55
+ /**
56
+ * Sub-user's unique id.
57
+ *
58
+ * @generated from field: string id = 1;
59
+ */
60
+ id: string;
61
+
62
+ /**
63
+ * The id of the parent user. If this is empty, the sub-user is invalid.
64
+ *
65
+ * @generated from field: string parentId = 2;
66
+ */
67
+ parentId: string;
68
+
69
+ /**
70
+ * Attributes specific to the sub-user.
71
+ *
72
+ * @generated from field: map<string, string> metadata = 3;
73
+ */
74
+ metadata: { [key: string]: string };
75
+
76
+ /**
77
+ * Role details for the sub-user, if applicable.
78
+ *
79
+ * @generated from field: repeated blueapi.api.SubUserRole roles = 4;
80
+ */
81
+ roles: SubUserRole[];
82
+ };
83
+
84
+ /**
85
+ * Describes the message blueapi.api.SubUser.
86
+ * Use `create(SubUserSchema)` to create a new message.
87
+ */
88
+ export const SubUserSchema: GenMessage<SubUser> = /*@__PURE__*/
89
+ messageDesc(file_api_user, 1);
90
+
91
+ /**
92
+ * @generated from message blueapi.api.SubUserRole
93
+ */
94
+ export type SubUserRole = Message<"blueapi.api.SubUserRole"> & {
95
+ /**
96
+ * Role ID assigned to the sub-user.
97
+ *
98
+ * @generated from field: string roleId = 1;
99
+ */
100
+ roleId: string;
101
+
102
+ /**
103
+ * Permissions granted to the sub-user for this role.
104
+ *
105
+ * @generated from field: repeated string permissions = 2;
106
+ */
107
+ permissions: string[];
108
+
109
+ /**
110
+ * Temporary: Tracks the sub-user ID to verify the role is assigned to the correct user.
111
+ * This field will be removed after testing is complete.
112
+ *
113
+ * @generated from field: string subUserId = 3;
114
+ */
115
+ subUserId: string;
116
+ };
117
+
118
+ /**
119
+ * Describes the message blueapi.api.SubUserRole.
120
+ * Use `create(SubUserRoleSchema)` to create a new message.
121
+ */
122
+ export const SubUserRoleSchema: GenMessage<SubUserRole> = /*@__PURE__*/
123
+ messageDesc(file_api_user, 2);
124
+
@@ -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/utilization.proto (package blueapi.api, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ChartDataSchema = exports.UtilizationDataSchema = exports.file_api_utilization = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ /**
9
+ * Describes the file api/utilization.proto.
10
+ */
11
+ exports.file_api_utilization = (0, codegenv2_1.fileDesc)("ChVhcGkvdXRpbGl6YXRpb24ucHJvdG8SC2JsdWVhcGkuYXBpIkgKD1V0aWxpemF0aW9uRGF0YRIKCgJpZBgBIAEoCRIpCgljaGFydERhdGEYAiADKAsyFi5ibHVlYXBpLmFwaS5DaGFydERhdGEicQoJQ2hhcnREYXRhEgwKBGRhdGUYASABKAkSDwoHc2VydmljZRgCIAEoCRIMCgRjb3N0GAMgASgBEg4KBnByb2ZpdBgEIAEoARITCgt1dGlsaXphdGlvbhgFIAEoARISCgpjb21taXRtZW50GAYgASgBQlgKGWNsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGlCE0FwaVV0aWxpemF0aW9uUHJvdG9aJmdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpYgZwcm90bzM");
12
+ /**
13
+ * Describes the message blueapi.api.UtilizationData.
14
+ * Use `create(UtilizationDataSchema)` to create a new message.
15
+ */
16
+ exports.UtilizationDataSchema = (0, codegenv2_1.messageDesc)(exports.file_api_utilization, 0);
17
+ /**
18
+ * Describes the message blueapi.api.ChartData.
19
+ * Use `create(ChartDataSchema)` to create a new message.
20
+ */
21
+ exports.ChartDataSchema = (0, codegenv2_1.messageDesc)(exports.file_api_utilization, 1);