@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.
- package/README.md +32 -0
- package/admin/v1/admin_pb.js +239 -0
- package/admin/v1/admin_pb.ts +1604 -0
- package/admin/v1/client.js +9 -0
- package/admin/v1/client.ts +7 -0
- package/api/account_pb.js +22 -0
- package/api/account_pb.ts +132 -0
- package/api/accountgroup_pb.js +18 -0
- package/api/accountgroup_pb.ts +56 -0
- package/api/adjustment_pb.js +26 -0
- package/api/adjustment_pb.ts +102 -0
- package/api/apiclient_pb.js +16 -0
- package/api/apiclient_pb.ts +66 -0
- package/api/audit_pb.js +21 -0
- package/api/audit_pb.ts +70 -0
- package/api/aws/breakeven_pb.js +21 -0
- package/api/aws/breakeven_pb.ts +93 -0
- package/api/aws/calculator_pb.js +31 -0
- package/api/aws/calculator_pb.ts +138 -0
- package/api/aws/cost_pb.js +22 -0
- package/api/aws/cost_pb.ts +315 -0
- package/api/aws/recommendation_pb.js +36 -0
- package/api/aws/recommendation_pb.ts +338 -0
- package/api/aws/reduction_pb.js +31 -0
- package/api/aws/reduction_pb.ts +416 -0
- package/api/azure/cost_pb.js +21 -0
- package/api/azure/cost_pb.ts +268 -0
- package/api/azureea/cost_pb.js +16 -0
- package/api/azureea/cost_pb.ts +141 -0
- package/api/budget_pb.js +57 -0
- package/api/budget_pb.ts +293 -0
- package/api/costtag_pb.js +17 -0
- package/api/costtag_pb.ts +77 -0
- package/api/cover/accountaccess_pb.js +46 -0
- package/api/cover/accountaccess_pb.ts +334 -0
- package/api/cover/alert_pb.js +36 -0
- package/api/cover/alert_pb.ts +183 -0
- package/api/cover/applyrecommendation_pb.js +41 -0
- package/api/cover/applyrecommendation_pb.ts +133 -0
- package/api/cover/asset_pb.js +26 -0
- package/api/cover/asset_pb.ts +305 -0
- package/api/cover/attribute_pb.js +21 -0
- package/api/cover/attribute_pb.ts +58 -0
- package/api/cover/budget_pb.js +42 -0
- package/api/cover/budget_pb.ts +275 -0
- package/api/cover/costforecast_pb.js +16 -0
- package/api/cover/costforecast_pb.ts +81 -0
- package/api/cover/costgroup_pb.js +89 -0
- package/api/cover/costgroup_pb.ts +473 -0
- package/api/cover/discountplan_pb.js +31 -0
- package/api/cover/discountplan_pb.ts +461 -0
- package/api/cover/discountrecommendation_pb.js +96 -0
- package/api/cover/discountrecommendation_pb.ts +500 -0
- package/api/cover/insightreport_pb.js +26 -0
- package/api/cover/insightreport_pb.ts +167 -0
- package/api/cover/optimizationrecommendation_pb.js +262 -0
- package/api/cover/optimizationrecommendation_pb.ts +1964 -0
- package/api/cover/recommendation/aws_pb.js +407 -0
- package/api/cover/recommendation/aws_pb.ts +2418 -0
- package/api/cover/recommendation/azurecsp_pb.js +16 -0
- package/api/cover/recommendation/azurecsp_pb.ts +27 -0
- package/api/cover/recommendation/gcp_pb.js +27 -0
- package/api/cover/recommendation/gcp_pb.ts +91 -0
- package/api/cover/recommendation/octoaws_pb.js +22 -0
- package/api/cover/recommendation/octoaws_pb.ts +55 -0
- package/api/cover/recommendation/octoazurecsp_pb.js +16 -0
- package/api/cover/recommendation/octoazurecsp_pb.ts +27 -0
- package/api/cover/recommendation/octogcp_pb.js +16 -0
- package/api/cover/recommendation/octogcp_pb.ts +27 -0
- package/api/cover/recommendation/recommendation_pb.js +27 -0
- package/api/cover/recommendation/recommendation_pb.ts +190 -0
- package/api/cover/rightsizingrecommendation_pb.js +21 -0
- package/api/cover/rightsizingrecommendation_pb.ts +133 -0
- package/api/cover/unitcost_pb.js +82 -0
- package/api/cover/unitcost_pb.ts +576 -0
- package/api/cover/user_pb.js +26 -0
- package/api/cover/user_pb.ts +330 -0
- package/api/cover/view_pb.js +53 -0
- package/api/cover/view_pb.ts +393 -0
- package/api/coverage_pb.js +31 -0
- package/api/coverage_pb.ts +132 -0
- package/api/forecast_pb.js +61 -0
- package/api/forecast_pb.ts +346 -0
- package/api/gcp/cost_pb.js +16 -0
- package/api/gcp/cost_pb.ts +128 -0
- package/api/grouprootuser_pb.js +21 -0
- package/api/grouprootuser_pb.ts +390 -0
- package/api/invoice_pb.js +96 -0
- package/api/invoice_pb.ts +905 -0
- package/api/keyvalue_pb.js +21 -0
- package/api/keyvalue_pb.ts +72 -0
- package/api/notification_pb.js +46 -0
- package/api/notification_pb.ts +232 -0
- package/api/pricing/details_pb.js +17 -0
- package/api/pricing/details_pb.ts +172 -0
- package/api/rbac_pb.js +31 -0
- package/api/rbac_pb.ts +142 -0
- package/api/ripple/accessgroup_pb.js +16 -0
- package/api/ripple/accessgroup_pb.ts +48 -0
- package/api/ripple/billinggroup_pb.js +16 -0
- package/api/ripple/billinggroup_pb.ts +154 -0
- package/api/ripple/customfield_pb.js +16 -0
- package/api/ripple/customfield_pb.ts +49 -0
- package/api/ripple/customizedbillingservice_pb.js +175 -0
- package/api/ripple/customizedbillingservice_pb.ts +455 -0
- package/api/ripple/duedate_pb.js +16 -0
- package/api/ripple/duedate_pb.ts +58 -0
- package/api/ripple/exchangerate_pb.js +41 -0
- package/api/ripple/exchangerate_pb.ts +205 -0
- package/api/ripple/invoicelayout_pb.js +46 -0
- package/api/ripple/invoicelayout_pb.ts +547 -0
- package/api/ripple/org_pb.js +16 -0
- package/api/ripple/org_pb.ts +51 -0
- package/api/ripple/payer_pb.js +18 -0
- package/api/ripple/payer_pb.ts +60 -0
- package/api/ripple/reseller_pb.js +21 -0
- package/api/ripple/reseller_pb.ts +168 -0
- package/api/ripple/rounding_pb.js +46 -0
- package/api/ripple/rounding_pb.ts +69 -0
- package/api/ripple/untaggedgroup_pb.js +28 -0
- package/api/ripple/untaggedgroup_pb.ts +151 -0
- package/api/ripple/v1/accountsupportplan_pb.js +59 -0
- package/api/ripple/v1/accountsupportplan_pb.ts +98 -0
- package/api/ripple/v1/adjustmententry_pb.js +31 -0
- package/api/ripple/v1/adjustmententry_pb.ts +275 -0
- package/api/ripple/v1/dashboard_pb.js +61 -0
- package/api/ripple/v1/dashboard_pb.ts +661 -0
- package/api/ripple/v1/export_pb.js +16 -0
- package/api/ripple/v1/export_pb.ts +49 -0
- package/api/ripple/v1/invoiceservicediscounts_pb.js +48 -0
- package/api/ripple/v1/invoiceservicediscounts_pb.ts +298 -0
- package/api/ripple/yearmonth_pb.js +16 -0
- package/api/ripple/yearmonth_pb.ts +35 -0
- package/api/user_pb.js +26 -0
- package/api/user_pb.ts +124 -0
- package/api/utilization_pb.js +21 -0
- package/api/utilization_pb.ts +78 -0
- package/api/wave/adjustment_pb.js +16 -0
- package/api/wave/adjustment_pb.ts +105 -0
- package/api/wave/budget_pb.js +27 -0
- package/api/wave/budget_pb.ts +122 -0
- package/billing/v1/billing_pb.js +952 -0
- package/billing/v1/billing_pb.ts +7570 -0
- package/billing/v1/client.js +9 -0
- package/billing/v1/client.ts +7 -0
- package/conn/conn.js +38 -0
- package/conn/conn.ts +46 -0
- package/cost/v1/client.js +9 -0
- package/cost/v1/client.ts +7 -0
- package/cost/v1/cost_pb.js +721 -0
- package/cost/v1/cost_pb.ts +5845 -0
- package/cover/v1/client.js +9 -0
- package/cover/v1/client.ts +7 -0
- package/cover/v1/cover_pb.js +2085 -0
- package/cover/v1/cover_pb.ts +12883 -0
- package/flow/v1/client.js +9 -0
- package/flow/v1/client.ts +7 -0
- package/flow/v1/flow_pb.js +265 -0
- package/flow/v1/flow_pb.ts +2496 -0
- package/google/api/annotations_pb.js +29 -0
- package/google/api/annotations_pb.ts +39 -0
- package/google/api/auth_pb.js +47 -0
- package/google/api/auth_pb.ts +295 -0
- package/google/api/backend_pb.js +31 -0
- package/google/api/backend_pb.ts +97 -0
- package/google/api/billing_pb.js +32 -0
- package/google/api/billing_pb.ts +104 -0
- package/google/api/client_pb.js +101 -0
- package/google/api/client_pb.ts +114 -0
- package/google/api/config_change_pb.js +71 -0
- package/google/api/config_change_pb.ts +161 -0
- package/google/api/consumer_pb.js +73 -0
- package/google/api/consumer_pb.ts +156 -0
- package/google/api/context_pb.js +31 -0
- package/google/api/context_pb.ts +105 -0
- package/google/api/control_pb.js +26 -0
- package/google/api/control_pb.ts +52 -0
- package/google/api/distribution_pb.js +58 -0
- package/google/api/distribution_pb.ts +388 -0
- package/google/api/documentation_pb.js +36 -0
- package/google/api/documentation_pb.ts +238 -0
- package/google/api/endpoint_pb.js +27 -0
- package/google/api/endpoint_pb.ts +105 -0
- package/google/api/field_behavior_pb.js +103 -0
- package/google/api/field_behavior_pb.ts +119 -0
- package/google/api/http_pb.js +36 -0
- package/google/api/http_pb.ts +420 -0
- package/google/api/httpbody_pb.js +27 -0
- package/google/api/httpbody_pb.ts +103 -0
- package/google/api/label_pb.js +56 -0
- package/google/api/label_pb.ts +97 -0
- package/google/api/launch_stage_pb.js +92 -0
- package/google/api/launch_stage_pb.ts +105 -0
- package/google/api/log_pb.js +27 -0
- package/google/api/log_pb.ts +86 -0
- package/google/api/logging_pb.js +32 -0
- package/google/api/logging_pb.ts +124 -0
- package/google/api/metric_pb.js +128 -0
- package/google/api/metric_pb.ts +322 -0
- package/google/api/monitored_resource_pb.js +38 -0
- package/google/api/monitored_resource_pb.ts +188 -0
- package/google/api/monitoring_pb.js +32 -0
- package/google/api/monitoring_pb.ts +130 -0
- package/google/api/quota_pb.js +37 -0
- package/google/api/quota_pb.ts +351 -0
- package/google/api/resource_pb.js +118 -0
- package/google/api/resource_pb.ts +410 -0
- package/google/api/service_pb.js +45 -0
- package/google/api/service_pb.ts +302 -0
- package/google/api/source_info_pb.js +27 -0
- package/google/api/source_info_pb.ts +51 -0
- package/google/api/system_parameter_pb.js +36 -0
- package/google/api/system_parameter_pb.ts +157 -0
- package/google/api/usage_pb.js +32 -0
- package/google/api/usage_pb.ts +141 -0
- package/google/longrunning/operations_pb.js +90 -0
- package/google/longrunning/operations_pb.ts +434 -0
- package/google/rpc/code_pb.js +244 -0
- package/google/rpc/code_pb.ts +268 -0
- package/google/rpc/context/attribute_context_pb.js +57 -0
- package/google/rpc/context/attribute_context_pb.ts +532 -0
- package/google/rpc/error_details_pb.js +92 -0
- package/google/rpc/error_details_pb.ts +513 -0
- package/google/rpc/status_pb.js +27 -0
- package/google/rpc/status_pb.ts +74 -0
- package/iam/v1/client.js +9 -0
- package/iam/v1/client.ts +8 -0
- package/iam/v1/iam_pb.js +285 -0
- package/iam/v1/iam_pb.ts +1698 -0
- package/kvstore/v1/kvstore_pb.js +40 -0
- package/kvstore/v1/kvstore_pb.ts +155 -0
- package/operations/v1/operations_pb.js +52 -0
- package/operations/v1/operations_pb.ts +235 -0
- package/org/v1/client.js +9 -0
- package/org/v1/client.ts +7 -0
- package/org/v1/org_pb.js +61 -0
- package/org/v1/org_pb.ts +321 -0
- package/package.json +22 -0
- package/preferences/v1/client.js +9 -0
- package/preferences/v1/client.ts +8 -0
- package/preferences/v1/preferences_pb.js +29 -0
- package/preferences/v1/preferences_pb.ts +63 -0
- package/pricing/v1/client.js +9 -0
- package/pricing/v1/client.ts +7 -0
- package/pricing/v1/pricing_pb.js +60 -0
- package/pricing/v1/pricing_pb.ts +311 -0
- package/prism/v1/client.js +9 -0
- package/prism/v1/client.ts +7 -0
- package/prism/v1/prism_pb.js +250 -0
- package/prism/v1/prism_pb.ts +1396 -0
- package/protoc-gen-openapiv2/options/annotations_pb.js +58 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.js +253 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1313 -0
- package/protos/entity_pb.js +17 -0
- package/protos/entity_pb.ts +49 -0
- package/protos/message_pb.js +16 -0
- package/protos/message_pb.ts +40 -0
- package/protos/operation_pb.js +33 -0
- package/protos/operation_pb.ts +198 -0
- package/tsconfig.json +12 -0
- package/vortex/v1/client.js +9 -0
- package/vortex/v1/client.ts +7 -0
- package/vortex/v1/vortex_pb.js +65 -0
- package/vortex/v1/vortex_pb.ts +280 -0
|
@@ -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/azureea/cost.proto (package blueapi.api.azureea, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CostSchema = exports.file_api_azureea_cost = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file api/azureea/cost.proto.
|
|
10
|
+
*/
|
|
11
|
+
exports.file_api_azureea_cost = (0, codegenv2_1.fileDesc)("ChZhcGkvYXp1cmVlYS9jb3N0LnByb3RvEhNibHVlYXBpLmFwaS5henVyZWVhIuoDCgRDb3N0EhMKC3NlcnZpY2VOYW1lGAEgASgJEhMKC3NlcnZpY2VUaWVyGAIgASgJEhAKCGxvY2F0aW9uGAMgASgJEhIKCnBhcnROdW1iZXIYBCABKAkSDwoHb2ZmZXJJZBgFIAEoCRIMCgRjb3N0GAYgASgBEhEKCWFjY291bnRJZBgHIAEoCRITCgthY2NvdW50TmFtZRgIIAEoCRIYChBzdWJzY3JpcHRpb25HdWlkGAkgASgJEhgKEHN1YnNjcmlwdGlvbk5hbWUYCiABKAkSDAoEZGF0ZRgLIAEoCRIVCg1tZXRlckNhdGVnb3J5GAwgASgJEhgKEG1ldGVyU3ViQ2F0ZWdvcnkYDSABKAkSEQoJbWV0ZXJOYW1lGA4gASgJEhgKEGNvbnN1bWVkUXVhbnRpdHkYDyABKAkSFwoPY29uc3VtZWRTZXJ2aWNlGBAgASgJEhYKDmFkZGl0aW9uYWxJbmZvGBEgASgJEgwKBHRhZ3MYEiABKAkSFgoOZGVwYXJ0bWVudE5hbWUYEyABKAkSEgoKY29zdENlbnRlchgUIAEoCRIVCg11bml0T2ZNZWFzdXJlGBUgASgJEhUKDXJlc291cmNlR3JvdXAYFiABKAkSEgoKZW5yb2xsbWVudBgXIAEoCUJoCiFjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmF6dXJlZWFCE0FwaUF6dXJlRWFDb3N0UHJvdG9aLmdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL2F6dXJlZWFiBnByb3RvMw");
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message blueapi.api.azureea.Cost.
|
|
14
|
+
* Use `create(CostSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
exports.CostSchema = (0, codegenv2_1.messageDesc)(exports.file_api_azureea_cost, 0);
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file api/azureea/cost.proto (package blueapi.api.azureea, 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/azureea/cost.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_api_azureea_cost: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChZhcGkvYXp1cmVlYS9jb3N0LnByb3RvEhNibHVlYXBpLmFwaS5henVyZWVhIuoDCgRDb3N0EhMKC3NlcnZpY2VOYW1lGAEgASgJEhMKC3NlcnZpY2VUaWVyGAIgASgJEhAKCGxvY2F0aW9uGAMgASgJEhIKCnBhcnROdW1iZXIYBCABKAkSDwoHb2ZmZXJJZBgFIAEoCRIMCgRjb3N0GAYgASgBEhEKCWFjY291bnRJZBgHIAEoCRITCgthY2NvdW50TmFtZRgIIAEoCRIYChBzdWJzY3JpcHRpb25HdWlkGAkgASgJEhgKEHN1YnNjcmlwdGlvbk5hbWUYCiABKAkSDAoEZGF0ZRgLIAEoCRIVCg1tZXRlckNhdGVnb3J5GAwgASgJEhgKEG1ldGVyU3ViQ2F0ZWdvcnkYDSABKAkSEQoJbWV0ZXJOYW1lGA4gASgJEhgKEGNvbnN1bWVkUXVhbnRpdHkYDyABKAkSFwoPY29uc3VtZWRTZXJ2aWNlGBAgASgJEhYKDmFkZGl0aW9uYWxJbmZvGBEgASgJEgwKBHRhZ3MYEiABKAkSFgoOZGVwYXJ0bWVudE5hbWUYEyABKAkSEgoKY29zdENlbnRlchgUIAEoCRIVCg11bml0T2ZNZWFzdXJlGBUgASgJEhUKDXJlc291cmNlR3JvdXAYFiABKAkSEgoKZW5yb2xsbWVudBgXIAEoCUJoCiFjbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmF6dXJlZWFCE0FwaUF6dXJlRWFDb3N0UHJvdG9aLmdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL2F6dXJlZWFiBnByb3RvMw");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message blueapi.api.azureea.Cost
|
|
17
|
+
*/
|
|
18
|
+
export type Cost = Message<"blueapi.api.azureea.Cost"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string serviceName = 1;
|
|
21
|
+
*/
|
|
22
|
+
serviceName: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string serviceTier = 2;
|
|
26
|
+
*/
|
|
27
|
+
serviceTier: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string location = 3;
|
|
31
|
+
*/
|
|
32
|
+
location: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string partNumber = 4;
|
|
36
|
+
*/
|
|
37
|
+
partNumber: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string offerId = 5;
|
|
41
|
+
*/
|
|
42
|
+
offerId: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: double cost = 6;
|
|
46
|
+
*/
|
|
47
|
+
cost: number;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string accountId = 7;
|
|
51
|
+
*/
|
|
52
|
+
accountId: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: string accountName = 8;
|
|
56
|
+
*/
|
|
57
|
+
accountName: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string subscriptionGuid = 9;
|
|
61
|
+
*/
|
|
62
|
+
subscriptionGuid: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string subscriptionName = 10;
|
|
66
|
+
*/
|
|
67
|
+
subscriptionName: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string date = 11;
|
|
71
|
+
*/
|
|
72
|
+
date: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: string meterCategory = 12;
|
|
76
|
+
*/
|
|
77
|
+
meterCategory: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: string meterSubCategory = 13;
|
|
81
|
+
*/
|
|
82
|
+
meterSubCategory: string;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: string meterName = 14;
|
|
86
|
+
*/
|
|
87
|
+
meterName: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string consumedQuantity = 15;
|
|
91
|
+
*/
|
|
92
|
+
consumedQuantity: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string consumedService = 16;
|
|
96
|
+
*/
|
|
97
|
+
consumedService: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string additionalInfo = 17;
|
|
101
|
+
*/
|
|
102
|
+
additionalInfo: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string tags = 18;
|
|
106
|
+
*/
|
|
107
|
+
tags: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: string departmentName = 19;
|
|
111
|
+
*/
|
|
112
|
+
departmentName: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string costCenter = 20;
|
|
116
|
+
*/
|
|
117
|
+
costCenter: string;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string unitOfMeasure = 21;
|
|
121
|
+
*/
|
|
122
|
+
unitOfMeasure: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: string resourceGroup = 22;
|
|
126
|
+
*/
|
|
127
|
+
resourceGroup: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: string enrollment = 23;
|
|
131
|
+
*/
|
|
132
|
+
enrollment: string;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message blueapi.api.azureea.Cost.
|
|
137
|
+
* Use `create(CostSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export const CostSchema: GenMessage<Cost> = /*@__PURE__*/
|
|
140
|
+
messageDesc(file_api_azureea_cost, 0);
|
|
141
|
+
|
package/api/budget_pb.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file api/budget.proto (package blueapi.api, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BudgetAlertNotificationDetailSchema = exports.BudgetAlertNotificationSchema = exports.CustomMonthBudgetAlertSchema = exports.CustomPeriodBudgetAlertSchema = exports.MonthlyBudgetAlertSchema = exports.DailyRateIncreaseBudgetAlertSchema = exports.DailyBudgetAlertSchema = exports.MonthlyBudgetSchema = exports.BudgetSchema = exports.file_api_budget = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const notification_pb_1 = require("./notification_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file api/budget.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_api_budget = (0, codegenv2_1.fileDesc)("ChBhcGkvYnVkZ2V0LnByb3RvEgtibHVlYXBpLmFwaSJbCgZCdWRnZXQSCgoCaWQYASABKAkSEgoKZmlzY2FsWWVhchgCIAEoCRIxCg1tb250aGx5QnVkZ2V0GAMgAygLMhouYmx1ZWFwaS5hcGkuTW9udGhseUJ1ZGdldCIyCg1Nb250aGx5QnVkZ2V0EhEKCXllYXJNb250aBgBIAEoCRIOCgZhbW91bnQYAiABKAEiMgoQRGFpbHlCdWRnZXRBbGVydBINCgV2YWx1ZRgBIAEoARIPCgdlbmFibGVkGAIgASgIIj4KHERhaWx5UmF0ZUluY3JlYXNlQnVkZ2V0QWxlcnQSDQoFdmFsdWUYASABKAESDwoHZW5hYmxlZBgCIAEoCCI0ChJNb250aGx5QnVkZ2V0QWxlcnQSDQoFdmFsdWUYASABKAESDwoHZW5hYmxlZBgCIAEoCCJdChdDdXN0b21QZXJpb2RCdWRnZXRBbGVydBINCgV2YWx1ZRgBIAEoARIPCgdlbmFibGVkGAIgASgIEhEKCXN0YXJ0RGF0ZRgDIAEoCRIPCgdlbmREYXRlGAQgASgJIkoKFkN1c3RvbU1vbnRoQnVkZ2V0QWxlcnQSDQoFdmFsdWUYASABKAESDwoHZW5hYmxlZBgCIAEoCBIQCghzdGFydERheRgDIAEoCSI8ChdCdWRnZXRBbGVydE5vdGlmaWNhdGlvbhIQCghjaGFubmVscxgCIAMoCRIPCgdlbmFibGVkGAMgASgIImQKHUJ1ZGdldEFsZXJ0Tm90aWZpY2F0aW9uRGV0YWlsEjIKCGNoYW5uZWxzGAIgAygLMiAuYmx1ZWFwaS5hcGkuTm90aWZpY2F0aW9uQ2hhbm5lbBIPCgdlbmFibGVkGAMgASgIQlMKGWNsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGlCDkFwaUJ1ZGdldFByb3RvWiZnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaWIGcHJvdG8z", [notification_pb_1.file_api_notification]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message blueapi.api.Budget.
|
|
15
|
+
* Use `create(BudgetSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
exports.BudgetSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message blueapi.api.MonthlyBudget.
|
|
20
|
+
* Use `create(MonthlyBudgetSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
exports.MonthlyBudgetSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message blueapi.api.DailyBudgetAlert.
|
|
25
|
+
* Use `create(DailyBudgetAlertSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
exports.DailyBudgetAlertSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 2);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message blueapi.api.DailyRateIncreaseBudgetAlert.
|
|
30
|
+
* Use `create(DailyRateIncreaseBudgetAlertSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
exports.DailyRateIncreaseBudgetAlertSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 3);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message blueapi.api.MonthlyBudgetAlert.
|
|
35
|
+
* Use `create(MonthlyBudgetAlertSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
exports.MonthlyBudgetAlertSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 4);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message blueapi.api.CustomPeriodBudgetAlert.
|
|
40
|
+
* Use `create(CustomPeriodBudgetAlertSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
exports.CustomPeriodBudgetAlertSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message blueapi.api.CustomMonthBudgetAlert.
|
|
45
|
+
* Use `create(CustomMonthBudgetAlertSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.CustomMonthBudgetAlertSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message blueapi.api.BudgetAlertNotification.
|
|
50
|
+
* Use `create(BudgetAlertNotificationSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
exports.BudgetAlertNotificationSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 7);
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message blueapi.api.BudgetAlertNotificationDetail.
|
|
55
|
+
* Use `create(BudgetAlertNotificationDetailSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
exports.BudgetAlertNotificationDetailSchema = (0, codegenv2_1.messageDesc)(exports.file_api_budget, 8);
|
package/api/budget_pb.ts
ADDED
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file api/budget.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 { NotificationChannel } from "./notification_pb";
|
|
8
|
+
import { file_api_notification } from "./notification_pb";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file api/budget.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_api_budget: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChBhcGkvYnVkZ2V0LnByb3RvEgtibHVlYXBpLmFwaSJbCgZCdWRnZXQSCgoCaWQYASABKAkSEgoKZmlzY2FsWWVhchgCIAEoCRIxCg1tb250aGx5QnVkZ2V0GAMgAygLMhouYmx1ZWFwaS5hcGkuTW9udGhseUJ1ZGdldCIyCg1Nb250aGx5QnVkZ2V0EhEKCXllYXJNb250aBgBIAEoCRIOCgZhbW91bnQYAiABKAEiMgoQRGFpbHlCdWRnZXRBbGVydBINCgV2YWx1ZRgBIAEoARIPCgdlbmFibGVkGAIgASgIIj4KHERhaWx5UmF0ZUluY3JlYXNlQnVkZ2V0QWxlcnQSDQoFdmFsdWUYASABKAESDwoHZW5hYmxlZBgCIAEoCCI0ChJNb250aGx5QnVkZ2V0QWxlcnQSDQoFdmFsdWUYASABKAESDwoHZW5hYmxlZBgCIAEoCCJdChdDdXN0b21QZXJpb2RCdWRnZXRBbGVydBINCgV2YWx1ZRgBIAEoARIPCgdlbmFibGVkGAIgASgIEhEKCXN0YXJ0RGF0ZRgDIAEoCRIPCgdlbmREYXRlGAQgASgJIkoKFkN1c3RvbU1vbnRoQnVkZ2V0QWxlcnQSDQoFdmFsdWUYASABKAESDwoHZW5hYmxlZBgCIAEoCBIQCghzdGFydERheRgDIAEoCSI8ChdCdWRnZXRBbGVydE5vdGlmaWNhdGlvbhIQCghjaGFubmVscxgCIAMoCRIPCgdlbmFibGVkGAMgASgIImQKHUJ1ZGdldEFsZXJ0Tm90aWZpY2F0aW9uRGV0YWlsEjIKCGNoYW5uZWxzGAIgAygLMiAuYmx1ZWFwaS5hcGkuTm90aWZpY2F0aW9uQ2hhbm5lbBIPCgdlbmFibGVkGAMgASgIQlMKGWNsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGlCDkFwaUJ1ZGdldFByb3RvWiZnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaWIGcHJvdG8z", [file_api_notification]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message blueapi.api.Budget
|
|
19
|
+
*/
|
|
20
|
+
export type Budget = Message<"blueapi.api.Budget"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string id = 1;
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Format: yyyy
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string fiscalYear = 2;
|
|
30
|
+
*/
|
|
31
|
+
fiscalYear: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: repeated blueapi.api.MonthlyBudget monthlyBudget = 3;
|
|
35
|
+
*/
|
|
36
|
+
monthlyBudget: MonthlyBudget[];
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message blueapi.api.Budget.
|
|
41
|
+
* Use `create(BudgetSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const BudgetSchema: GenMessage<Budget> = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_api_budget, 0);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message blueapi.api.MonthlyBudget
|
|
48
|
+
*/
|
|
49
|
+
export type MonthlyBudget = Message<"blueapi.api.MonthlyBudget"> & {
|
|
50
|
+
/**
|
|
51
|
+
* Format: yyyymm
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string yearMonth = 1;
|
|
54
|
+
*/
|
|
55
|
+
yearMonth: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: double amount = 2;
|
|
59
|
+
*/
|
|
60
|
+
amount: number;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message blueapi.api.MonthlyBudget.
|
|
65
|
+
* Use `create(MonthlyBudgetSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const MonthlyBudgetSchema: GenMessage<MonthlyBudget> = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_api_budget, 1);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* DailyBudgetAlert resource definition.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message blueapi.api.DailyBudgetAlert
|
|
74
|
+
*/
|
|
75
|
+
export type DailyBudgetAlert = Message<"blueapi.api.DailyBudgetAlert"> & {
|
|
76
|
+
/**
|
|
77
|
+
* Required. threshold in budget alerts
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: double value = 1;
|
|
80
|
+
*/
|
|
81
|
+
value: number;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Required. notification enable/disable
|
|
85
|
+
* If disabled, no alert is sent.
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: bool enabled = 2;
|
|
88
|
+
*/
|
|
89
|
+
enabled: boolean;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message blueapi.api.DailyBudgetAlert.
|
|
94
|
+
* Use `create(DailyBudgetAlertSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const DailyBudgetAlertSchema: GenMessage<DailyBudgetAlert> = /*@__PURE__*/
|
|
97
|
+
messageDesc(file_api_budget, 2);
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* DailyRateIncreaseBudgetAlert resource definition.
|
|
101
|
+
*
|
|
102
|
+
* @generated from message blueapi.api.DailyRateIncreaseBudgetAlert
|
|
103
|
+
*/
|
|
104
|
+
export type DailyRateIncreaseBudgetAlert = Message<"blueapi.api.DailyRateIncreaseBudgetAlert"> & {
|
|
105
|
+
/**
|
|
106
|
+
* Required. threshold in budget alerts
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: double value = 1;
|
|
109
|
+
*/
|
|
110
|
+
value: number;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Required. notification enable/disable
|
|
114
|
+
* If disabled, no alert is sent.
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: bool enabled = 2;
|
|
117
|
+
*/
|
|
118
|
+
enabled: boolean;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message blueapi.api.DailyRateIncreaseBudgetAlert.
|
|
123
|
+
* Use `create(DailyRateIncreaseBudgetAlertSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export const DailyRateIncreaseBudgetAlertSchema: GenMessage<DailyRateIncreaseBudgetAlert> = /*@__PURE__*/
|
|
126
|
+
messageDesc(file_api_budget, 3);
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* MonthlyBudgetAlert resource definition.
|
|
130
|
+
*
|
|
131
|
+
* @generated from message blueapi.api.MonthlyBudgetAlert
|
|
132
|
+
*/
|
|
133
|
+
export type MonthlyBudgetAlert = Message<"blueapi.api.MonthlyBudgetAlert"> & {
|
|
134
|
+
/**
|
|
135
|
+
* Required. threshold in budget alerts
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: double value = 1;
|
|
138
|
+
*/
|
|
139
|
+
value: number;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Required. notification enable/disable
|
|
143
|
+
* If disabled, no alert is sent.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: bool enabled = 2;
|
|
146
|
+
*/
|
|
147
|
+
enabled: boolean;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message blueapi.api.MonthlyBudgetAlert.
|
|
152
|
+
* Use `create(MonthlyBudgetAlertSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export const MonthlyBudgetAlertSchema: GenMessage<MonthlyBudgetAlert> = /*@__PURE__*/
|
|
155
|
+
messageDesc(file_api_budget, 4);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* CustomPeriodBudgetAlert resource definition.
|
|
159
|
+
*
|
|
160
|
+
* @generated from message blueapi.api.CustomPeriodBudgetAlert
|
|
161
|
+
*/
|
|
162
|
+
export type CustomPeriodBudgetAlert = Message<"blueapi.api.CustomPeriodBudgetAlert"> & {
|
|
163
|
+
/**
|
|
164
|
+
* Required. threshold in budget alerts
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: double value = 1;
|
|
167
|
+
*/
|
|
168
|
+
value: number;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Required. notification enable/disable
|
|
172
|
+
* If disabled, no alert is sent.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: bool enabled = 2;
|
|
175
|
+
*/
|
|
176
|
+
enabled: boolean;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Required. start date in budget alerts
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: string startDate = 3;
|
|
182
|
+
*/
|
|
183
|
+
startDate: string;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Required. end date in budget alerts
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: string endDate = 4;
|
|
189
|
+
*/
|
|
190
|
+
endDate: string;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message blueapi.api.CustomPeriodBudgetAlert.
|
|
195
|
+
* Use `create(CustomPeriodBudgetAlertSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export const CustomPeriodBudgetAlertSchema: GenMessage<CustomPeriodBudgetAlert> = /*@__PURE__*/
|
|
198
|
+
messageDesc(file_api_budget, 5);
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* CustomMonthBudgetAlert resource definition.
|
|
202
|
+
*
|
|
203
|
+
* @generated from message blueapi.api.CustomMonthBudgetAlert
|
|
204
|
+
*/
|
|
205
|
+
export type CustomMonthBudgetAlert = Message<"blueapi.api.CustomMonthBudgetAlert"> & {
|
|
206
|
+
/**
|
|
207
|
+
* Required. threshold in budget alerts
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: double value = 1;
|
|
210
|
+
*/
|
|
211
|
+
value: number;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Required. notification enable/disable
|
|
215
|
+
* If disabled, no alert is sent.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: bool enabled = 2;
|
|
218
|
+
*/
|
|
219
|
+
enabled: boolean;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Required. start day in budget alerts
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: string startDay = 3;
|
|
225
|
+
*/
|
|
226
|
+
startDay: string;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message blueapi.api.CustomMonthBudgetAlert.
|
|
231
|
+
* Use `create(CustomMonthBudgetAlertSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export const CustomMonthBudgetAlertSchema: GenMessage<CustomMonthBudgetAlert> = /*@__PURE__*/
|
|
234
|
+
messageDesc(file_api_budget, 6);
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* BudgetAlertNotification resource definition.
|
|
238
|
+
*
|
|
239
|
+
* @generated from message blueapi.api.BudgetAlertNotification
|
|
240
|
+
*/
|
|
241
|
+
export type BudgetAlertNotification = Message<"blueapi.api.BudgetAlertNotification"> & {
|
|
242
|
+
/**
|
|
243
|
+
* Required. List of channelId. For example, you set to ["channelId1","channelId2","channelId3"].
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: repeated string channels = 2;
|
|
246
|
+
*/
|
|
247
|
+
channels: string[];
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Required. notification enable/disable
|
|
251
|
+
* If disabled, no alert is sent.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: bool enabled = 3;
|
|
254
|
+
*/
|
|
255
|
+
enabled: boolean;
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Describes the message blueapi.api.BudgetAlertNotification.
|
|
260
|
+
* Use `create(BudgetAlertNotificationSchema)` to create a new message.
|
|
261
|
+
*/
|
|
262
|
+
export const BudgetAlertNotificationSchema: GenMessage<BudgetAlertNotification> = /*@__PURE__*/
|
|
263
|
+
messageDesc(file_api_budget, 7);
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* BudgetAlertNotificationDetail resource definition.
|
|
267
|
+
*
|
|
268
|
+
* @generated from message blueapi.api.BudgetAlertNotificationDetail
|
|
269
|
+
*/
|
|
270
|
+
export type BudgetAlertNotificationDetail = Message<"blueapi.api.BudgetAlertNotificationDetail"> & {
|
|
271
|
+
/**
|
|
272
|
+
* List of channel info.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: repeated blueapi.api.NotificationChannel channels = 2;
|
|
275
|
+
*/
|
|
276
|
+
channels: NotificationChannel[];
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Notification enable/disable
|
|
280
|
+
* If disabled, no alert is sent.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: bool enabled = 3;
|
|
283
|
+
*/
|
|
284
|
+
enabled: boolean;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Describes the message blueapi.api.BudgetAlertNotificationDetail.
|
|
289
|
+
* Use `create(BudgetAlertNotificationDetailSchema)` to create a new message.
|
|
290
|
+
*/
|
|
291
|
+
export const BudgetAlertNotificationDetailSchema: GenMessage<BudgetAlertNotificationDetail> = /*@__PURE__*/
|
|
292
|
+
messageDesc(file_api_budget, 8);
|
|
293
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file api/costtag.proto (package blueapi.api, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CostTagSchema = exports.file_api_costtag = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const keyvalue_pb_1 = require("./keyvalue_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file api/costtag.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_api_costtag = (0, codegenv2_1.fileDesc)("ChFhcGkvY29zdHRhZy5wcm90bxILYmx1ZWFwaS5hcGkilgEKB0Nvc3RUYWcSCgoCaWQYASABKAkSDQoFb3JnSWQYAiABKAkSGQoRYmlsbGluZ0ludGVybmFsSWQYAyABKAkSDgoGdmVuZG9yGAQgASgJEhEKCWFjY291bnRJZBgFIAEoCRINCgVsb2dpYxgGIAEoCRIjCgR0YWdzGAcgAygLMhUuYmx1ZWFwaS5hcGkuS2V5VmFsdWVCVAoZY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaUIPQXBpQ29zdFRhZ1Byb3RvWiZnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaWIGcHJvdG8z", [keyvalue_pb_1.file_api_keyvalue]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message blueapi.api.CostTag.
|
|
15
|
+
* Use `create(CostTagSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
exports.CostTagSchema = (0, codegenv2_1.messageDesc)(exports.file_api_costtag, 0);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file api/costtag.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 { KeyValue } from "./keyvalue_pb";
|
|
8
|
+
import { file_api_keyvalue } from "./keyvalue_pb";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file api/costtag.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_api_costtag: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChFhcGkvY29zdHRhZy5wcm90bxILYmx1ZWFwaS5hcGkilgEKB0Nvc3RUYWcSCgoCaWQYASABKAkSDQoFb3JnSWQYAiABKAkSGQoRYmlsbGluZ0ludGVybmFsSWQYAyABKAkSDgoGdmVuZG9yGAQgASgJEhEKCWFjY291bnRJZBgFIAEoCRINCgVsb2dpYxgGIAEoCRIjCgR0YWdzGAcgAygLMhUuYmx1ZWFwaS5hcGkuS2V5VmFsdWVCVAoZY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaUIPQXBpQ29zdFRhZ1Byb3RvWiZnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWUtc2RrLWdvL2FwaWIGcHJvdG8z", [file_api_keyvalue]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message blueapi.api.CostTag
|
|
19
|
+
*/
|
|
20
|
+
export type CostTag = Message<"blueapi.api.CostTag"> & {
|
|
21
|
+
/**
|
|
22
|
+
* The costtag id.
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: string id = 1;
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The parent organization id.
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string orgId = 2;
|
|
32
|
+
*/
|
|
33
|
+
orgId: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The parent billing internal id.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string billingInternalId = 3;
|
|
39
|
+
*/
|
|
40
|
+
billingInternalId: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The vendor.
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string vendor = 4;
|
|
46
|
+
*/
|
|
47
|
+
vendor: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The account id.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string accountId = 5;
|
|
53
|
+
*/
|
|
54
|
+
accountId: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The logic.(and/or)
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string logic = 6;
|
|
60
|
+
*/
|
|
61
|
+
logic: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* The attributes (key/value pair) of the costtag.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: repeated blueapi.api.KeyValue tags = 7;
|
|
67
|
+
*/
|
|
68
|
+
tags: KeyValue[];
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message blueapi.api.CostTag.
|
|
73
|
+
* Use `create(CostTagSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const CostTagSchema: GenMessage<CostTag> = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_api_costtag, 0);
|
|
77
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file api/cover/accountaccess.proto (package blueapi.api.cover, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AwsOptionsSchema = exports.AzureOptionsSchema = exports.GcpOptions_ProjectOptionSchema = exports.GcpOptions_BillingOptionSchema = exports.GcpOptionsSchema = exports.TagDataSchema = exports.RegistrationStatusSchema = exports.file_api_cover_accountaccess = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file api/cover/accountaccess.proto.
|
|
10
|
+
*/
|
|
11
|
+
exports.file_api_cover_accountaccess = (0, codegenv2_1.fileDesc)("Ch1hcGkvY292ZXIvYWNjb3VudGFjY2Vzcy5wcm90bxIRYmx1ZWFwaS5hcGkuY292ZXIiqgEKElJlZ2lzdHJhdGlvblN0YXR1cxIRCglhcGlBY2Nlc3MYASABKAgSGwoTY2xvdWR3YXRjaFN0cmVhbWluZxgCIAEoCBIRCgljdXJFeHBvcnQYAyABKAgSDQoFcGF5ZXIYBCABKAgSEAoIc3RhY2tTZXQYBSABKAgSFwoPdHJhbnNmZXJBY2NvdW50GAYgASgIEhcKD2lzRGF0YUF2YWlsYWJsZRgHIAEoCCIrCgdUYWdEYXRhEg4KBnRhZ0tleRgBIAEoCRIQCgh0YWdWYWx1ZRgCIAMoCSLZAwoKR2NwT3B0aW9ucxJECg1iaWxsaW5nT3B0aW9uGAEgASgLMisuYmx1ZWFwaS5hcGkuY292ZXIuR2NwT3B0aW9ucy5CaWxsaW5nT3B0aW9uSAASRAoNcHJvamVjdE9wdGlvbhgCIAEoCzIrLmJsdWVhcGkuYXBpLmNvdmVyLkdjcE9wdGlvbnMuUHJvamVjdE9wdGlvbkgAEhMKC2FjY291bnROYW1lGAMgASgJEhEKCXByb2plY3RJZBgEIAEoCRIRCglkYXRhc2V0SWQYBSABKAkSFQoNZGF0YXNldFJlZ2lvbhgGIAEoCRp5Cg1CaWxsaW5nT3B0aW9uEhMKC2FjY291bnROYW1lGAEgASgJEhEKCXByb2plY3RJZBgCIAEoCRIRCglkYXRhc2V0SWQYAyABKAkSFQoNZGF0YXNldFJlZ2lvbhgEIAEoCRIWCg5iaWdRdWVyeVN0YXR1cxgFIAEoCBpoCg1Qcm9qZWN0T3B0aW9uEhEKCWFwaUFjY2VzcxgBIAEoCBITCgtwcm9qZWN0TmFtZRgCIAEoCRIVCg1wcm9qZWN0TnVtYmVyGAMgASgJEhgKEGJpbGxpbmdBY2NvdW50SWQYBCABKAlCCAoGRW50aXR5Ip8BCgxBenVyZU9wdGlvbnMSEwoLYWNjb3VudE5hbWUYASABKAkSFwoPYXp1cmVDdXN0b21lcklkGAIgASgJEhMKC2F6dXJlUGxhbklkGAMgASgJEhMKC3NlcnZpY2VBY2N0GAQgASgJEhMKC3BhcnRuZXJBY2N0GAUgASgJEhEKCWNvbXBhbnlJZBgGIAEoCRIPCgdwYXllcklkGAcgASgJIrkCCgpBd3NPcHRpb25zEhMKC0FjY291bnROYW1lGAEgASgJEg8KB1BheWVySWQYAiABKAkSDwoHUm9sZUFybhgDIAEoCRISCgpFeHRlcm5hbElkGAQgASgJEg8KB1N0YWNrSWQYBSABKAkSEwoLU3RhY2tSZWdpb24YBiABKAkSEwoLVGVtcGxhdGVVcmwYByABKAkSEgoKQnVja2V0TmFtZRgIIAEoCRIOCgZQcmVmaXgYCSABKAkSEgoKUmVwb3J0TmFtZRgKIAEoCRJBChJyZWdpc3RyYXRpb25TdGF0dXMYCyABKAsyJS5ibHVlYXBpLmFwaS5jb3Zlci5SZWdpc3RyYXRpb25TdGF0dXMSDgoGU3RhdHVzGAwgASgJEhoKElJlZ2lzdHJhdGlvbk1ldGhvZBgNIAEoCUJrCh9jbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLmNvdmVyQhpBcGlDb3ZlckFjY291bnRBY2Nlc3NQcm90b1osZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlLXNkay1nby9hcGkvY292ZXJiBnByb3RvMw");
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message blueapi.api.cover.RegistrationStatus.
|
|
14
|
+
* Use `create(RegistrationStatusSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
exports.RegistrationStatusSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message blueapi.api.cover.TagData.
|
|
19
|
+
* Use `create(TagDataSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
exports.TagDataSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message blueapi.api.cover.GcpOptions.
|
|
24
|
+
* Use `create(GcpOptionsSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.GcpOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 2);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message blueapi.api.cover.GcpOptions.BillingOption.
|
|
29
|
+
* Use `create(GcpOptions_BillingOptionSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
exports.GcpOptions_BillingOptionSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 2, 0);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message blueapi.api.cover.GcpOptions.ProjectOption.
|
|
34
|
+
* Use `create(GcpOptions_ProjectOptionSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
exports.GcpOptions_ProjectOptionSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 2, 1);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message blueapi.api.cover.AzureOptions.
|
|
39
|
+
* Use `create(AzureOptionsSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
exports.AzureOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 3);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message blueapi.api.cover.AwsOptions.
|
|
44
|
+
* Use `create(AwsOptionsSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
exports.AwsOptionsSchema = (0, codegenv2_1.messageDesc)(exports.file_api_cover_accountaccess, 4);
|