@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,78 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file api/utilization.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/utilization.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_api_utilization: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChVhcGkvdXRpbGl6YXRpb24ucHJvdG8SC2JsdWVhcGkuYXBpIkgKD1V0aWxpemF0aW9uRGF0YRIKCgJpZBgBIAEoCRIpCgljaGFydERhdGEYAiADKAsyFi5ibHVlYXBpLmFwaS5DaGFydERhdGEicQoJQ2hhcnREYXRhEgwKBGRhdGUYASABKAkSDwoHc2VydmljZRgCIAEoCRIMCgRjb3N0GAMgASgBEg4KBnByb2ZpdBgEIAEoARITCgt1dGlsaXphdGlvbhgFIAEoARISCgpjb21taXRtZW50GAYgASgBQlgKGWNsb3VkLmFscGhhdXMuYmx1ZWFwaS5hcGlCE0FwaVV0aWxpemF0aW9uUHJvdG9aJmdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpYgZwcm90bzM");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message blueapi.api.UtilizationData
|
|
17
|
+
*/
|
|
18
|
+
export type UtilizationData = Message<"blueapi.api.UtilizationData"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string id = 1;
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: repeated blueapi.api.ChartData chartData = 2;
|
|
26
|
+
*/
|
|
27
|
+
chartData: ChartData[];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message blueapi.api.UtilizationData.
|
|
32
|
+
* Use `create(UtilizationDataSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const UtilizationDataSchema: GenMessage<UtilizationData> = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_api_utilization, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from message blueapi.api.ChartData
|
|
39
|
+
*/
|
|
40
|
+
export type ChartData = Message<"blueapi.api.ChartData"> & {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string date = 1;
|
|
43
|
+
*/
|
|
44
|
+
date: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: string service = 2;
|
|
48
|
+
*/
|
|
49
|
+
service: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: double cost = 3;
|
|
53
|
+
*/
|
|
54
|
+
cost: number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: double profit = 4;
|
|
58
|
+
*/
|
|
59
|
+
profit: number;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: double utilization = 5;
|
|
63
|
+
*/
|
|
64
|
+
utilization: number;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: double commitment = 6;
|
|
68
|
+
*/
|
|
69
|
+
commitment: number;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message blueapi.api.ChartData.
|
|
74
|
+
* Use `create(ChartDataSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ChartDataSchema: GenMessage<ChartData> = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_api_utilization, 1);
|
|
78
|
+
|
|
@@ -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/wave/adjustment.proto (package blueapi.api.wave, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AdjustmentSchema = exports.file_api_wave_adjustment = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file api/wave/adjustment.proto.
|
|
10
|
+
*/
|
|
11
|
+
exports.file_api_wave_adjustment = (0, codegenv2_1.fileDesc)("ChlhcGkvd2F2ZS9hZGp1c3RtZW50LnByb3RvEhBibHVlYXBpLmFwaS53YXZlIvEBCgpBZGp1c3RtZW50EhEKCXllYXJNb250aBgLIAEoCRIPCgdmZWVUeXBlGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhMKC3Byb2R1Y3RDb2RlGAMgASgJEhMKC3Byb2R1Y3ROYW1lGAQgASgJEhYKDnVzYWdlQWNjb3VudElkGAUgASgJEhQKDGN1cnJlbmN5Q29kZRgGIAEoCRIWCg5wYXllckFjY291bnRJZBgHIAEoCRIMCgRjb3N0GAggASgJEhQKDHRpbWVJbnRlcnZhbBgJIAEoCRIWCg51c2FnZVN0YXJ0RGF0ZRgKIAEoCUJlCh5jbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLndhdmVCFkFwaVdhdmVBZGp1c3RtZW50UHJvdG9aK2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL3dhdmViBnByb3RvMw");
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message blueapi.api.wave.Adjustment.
|
|
14
|
+
* Use `create(AdjustmentSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
exports.AdjustmentSchema = (0, codegenv2_1.messageDesc)(exports.file_api_wave_adjustment, 0);
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file api/wave/adjustment.proto (package blueapi.api.wave, 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/wave/adjustment.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_api_wave_adjustment: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChlhcGkvd2F2ZS9hZGp1c3RtZW50LnByb3RvEhBibHVlYXBpLmFwaS53YXZlIvEBCgpBZGp1c3RtZW50EhEKCXllYXJNb250aBgLIAEoCRIPCgdmZWVUeXBlGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhMKC3Byb2R1Y3RDb2RlGAMgASgJEhMKC3Byb2R1Y3ROYW1lGAQgASgJEhYKDnVzYWdlQWNjb3VudElkGAUgASgJEhQKDGN1cnJlbmN5Q29kZRgGIAEoCRIWCg5wYXllckFjY291bnRJZBgHIAEoCRIMCgRjb3N0GAggASgJEhQKDHRpbWVJbnRlcnZhbBgJIAEoCRIWCg51c2FnZVN0YXJ0RGF0ZRgKIAEoCUJlCh5jbG91ZC5hbHBoYXVzLmJsdWVhcGkuYXBpLndhdmVCFkFwaVdhdmVBZGp1c3RtZW50UHJvdG9aK2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL3dhdmViBnByb3RvMw");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Adjustment resource definition.
|
|
17
|
+
*
|
|
18
|
+
* @generated from message blueapi.api.wave.Adjustment
|
|
19
|
+
*/
|
|
20
|
+
export type Adjustment = Message<"blueapi.api.wave.Adjustment"> & {
|
|
21
|
+
/**
|
|
22
|
+
* Year month
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: string yearMonth = 11;
|
|
25
|
+
*/
|
|
26
|
+
yearMonth: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Fee type
|
|
30
|
+
*
|
|
31
|
+
* @generated from field: string feeType = 1;
|
|
32
|
+
*/
|
|
33
|
+
feeType: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Description
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string description = 2;
|
|
39
|
+
*/
|
|
40
|
+
description: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* ProductCode
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string productCode = 3;
|
|
46
|
+
*/
|
|
47
|
+
productCode: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* ProductName
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string productName = 4;
|
|
53
|
+
*/
|
|
54
|
+
productName: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* UsageAccountId
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string usageAccountId = 5;
|
|
60
|
+
*/
|
|
61
|
+
usageAccountId: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* CurrencyCode
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: string currencyCode = 6;
|
|
67
|
+
*/
|
|
68
|
+
currencyCode: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* PayerAccountId
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: string payerAccountId = 7;
|
|
74
|
+
*/
|
|
75
|
+
payerAccountId: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Cost
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: string cost = 8;
|
|
81
|
+
*/
|
|
82
|
+
cost: string;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* TimeInterval
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: string timeInterval = 9;
|
|
88
|
+
*/
|
|
89
|
+
timeInterval: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* UsageStartDate
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: string usageStartDate = 10;
|
|
95
|
+
*/
|
|
96
|
+
usageStartDate: string;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message blueapi.api.wave.Adjustment.
|
|
101
|
+
* Use `create(AdjustmentSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const AdjustmentSchema: GenMessage<Adjustment> = /*@__PURE__*/
|
|
104
|
+
messageDesc(file_api_wave_adjustment, 0);
|
|
105
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file api/wave/budget.proto (package blueapi.api.wave, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BudgetSchema = exports.NotificationSchema = exports.BudgetAlertSchema = exports.file_api_wave_budget = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const field_behavior_pb_1 = require("../../google/api/field_behavior_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file api/wave/budget.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_api_wave_budget = (0, codegenv2_1.fileDesc)("ChVhcGkvd2F2ZS9idWRnZXQucHJvdG8SEGJsdWVhcGkuYXBpLndhdmUifwoLQnVkZ2V0QWxlcnQSEAoCaWQYASABKAlCBOJBAQMSNAoMbm90aWZpY2F0aW9uGAIgAygLMh4uYmx1ZWFwaS5hcGkud2F2ZS5Ob3RpZmljYXRpb24SKAoGYnVkZ2V0GAMgAygLMhguYmx1ZWFwaS5hcGkud2F2ZS5CdWRnZXQiQAoMTm90aWZpY2F0aW9uEgoKAmlkGAEgASgJEhMKC2Rlc3RpbmF0aW9uGAIgASgJEg8KB2VuYWJsZWQYAyABKAgiNAoGQnVkZ2V0EgoKAmlkGAEgASgJEg0KBXZhbHVlGAIgASgBEg8KB2VuYWJsZWQYAyABKAhCYQoeY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS53YXZlQhJBcGlXYXZlQnVkZ2V0UHJvdG9aK2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL3dhdmViBnByb3RvMw", [field_behavior_pb_1.file_google_api_field_behavior]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message blueapi.api.wave.BudgetAlert.
|
|
15
|
+
* Use `create(BudgetAlertSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
exports.BudgetAlertSchema = (0, codegenv2_1.messageDesc)(exports.file_api_wave_budget, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message blueapi.api.wave.Notification.
|
|
20
|
+
* Use `create(NotificationSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
exports.NotificationSchema = (0, codegenv2_1.messageDesc)(exports.file_api_wave_budget, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message blueapi.api.wave.Budget.
|
|
25
|
+
* Use `create(BudgetSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
exports.BudgetSchema = (0, codegenv2_1.messageDesc)(exports.file_api_wave_budget, 2);
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file api/wave/budget.proto (package blueapi.api.wave, 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 { Message } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file api/wave/budget.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_api_wave_budget: GenFile = /*@__PURE__*/
|
|
14
|
+
fileDesc("ChVhcGkvd2F2ZS9idWRnZXQucHJvdG8SEGJsdWVhcGkuYXBpLndhdmUifwoLQnVkZ2V0QWxlcnQSEAoCaWQYASABKAlCBOJBAQMSNAoMbm90aWZpY2F0aW9uGAIgAygLMh4uYmx1ZWFwaS5hcGkud2F2ZS5Ob3RpZmljYXRpb24SKAoGYnVkZ2V0GAMgAygLMhguYmx1ZWFwaS5hcGkud2F2ZS5CdWRnZXQiQAoMTm90aWZpY2F0aW9uEgoKAmlkGAEgASgJEhMKC2Rlc3RpbmF0aW9uGAIgASgJEg8KB2VuYWJsZWQYAyABKAgiNAoGQnVkZ2V0EgoKAmlkGAEgASgJEg0KBXZhbHVlGAIgASgBEg8KB2VuYWJsZWQYAyABKAhCYQoeY2xvdWQuYWxwaGF1cy5ibHVlYXBpLmFwaS53YXZlQhJBcGlXYXZlQnVkZ2V0UHJvdG9aK2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZS1zZGstZ28vYXBpL3dhdmViBnByb3RvMw", [file_google_api_field_behavior]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Budget resource definition.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message blueapi.api.wave.BudgetAlert
|
|
20
|
+
*/
|
|
21
|
+
export type BudgetAlert = Message<"blueapi.api.wave.BudgetAlert"> & {
|
|
22
|
+
/**
|
|
23
|
+
* account id.
|
|
24
|
+
*
|
|
25
|
+
* @generated from field: string id = 1;
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* notification setting.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: repeated blueapi.api.wave.Notification notification = 2;
|
|
33
|
+
*/
|
|
34
|
+
notification: Notification[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* budget setting.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: repeated blueapi.api.wave.Budget budget = 3;
|
|
40
|
+
*/
|
|
41
|
+
budget: Budget[];
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message blueapi.api.wave.BudgetAlert.
|
|
46
|
+
* Use `create(BudgetAlertSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const BudgetAlertSchema: GenMessage<BudgetAlert> = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_api_wave_budget, 0);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Notification resource definition.
|
|
53
|
+
*
|
|
54
|
+
* @generated from message blueapi.api.wave.Notification
|
|
55
|
+
*/
|
|
56
|
+
export type Notification = Message<"blueapi.api.wave.Notification"> & {
|
|
57
|
+
/**
|
|
58
|
+
* notification id
|
|
59
|
+
* `email` / `slack`
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: string id = 1;
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* destination email address /slack webhook url
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: string destination = 2;
|
|
69
|
+
*/
|
|
70
|
+
destination: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* notification enable/disable
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: bool enabled = 3;
|
|
76
|
+
*/
|
|
77
|
+
enabled: boolean;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message blueapi.api.wave.Notification.
|
|
82
|
+
* Use `create(NotificationSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const NotificationSchema: GenMessage<Notification> = /*@__PURE__*/
|
|
85
|
+
messageDesc(file_api_wave_budget, 1);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Budget resource definition.
|
|
89
|
+
*
|
|
90
|
+
* @generated from message blueapi.api.wave.Budget
|
|
91
|
+
*/
|
|
92
|
+
export type Budget = Message<"blueapi.api.wave.Budget"> & {
|
|
93
|
+
/**
|
|
94
|
+
* budget id
|
|
95
|
+
* `previousDay` / `daily` / `monthly` / `customPeriod` / `customMonth`
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string id = 1;
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* budget value
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: double value = 2;
|
|
105
|
+
*/
|
|
106
|
+
value: number;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* budget setting enable/disable
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: bool enabled = 3;
|
|
112
|
+
*/
|
|
113
|
+
enabled: boolean;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Describes the message blueapi.api.wave.Budget.
|
|
118
|
+
* Use `create(BudgetSchema)` to create a new message.
|
|
119
|
+
*/
|
|
120
|
+
export const BudgetSchema: GenMessage<Budget> = /*@__PURE__*/
|
|
121
|
+
messageDesc(file_api_wave_budget, 2);
|
|
122
|
+
|