@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,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file kvstore/v1/kvstore.proto (package blueapi.kvstore.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.KvStore = exports.DeleteRequestSchema = exports.ReadRequestSchema = exports.ScanRequestSchema = exports.KeyValueSchema = exports.file_kvstore_v1_kvstore = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const annotations_pb_1 = require("../../google/api/annotations_pb");
|
|
9
|
+
const annotations_pb_2 = require("../../protoc-gen-openapiv2/options/annotations_pb");
|
|
10
|
+
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file kvstore/v1/kvstore.proto.
|
|
13
|
+
*/
|
|
14
|
+
exports.file_kvstore_v1_kvstore = (0, codegenv2_1.fileDesc)("ChhrdnN0b3JlL3YxL2t2c3RvcmUucHJvdG8SEmJsdWVhcGkua3ZzdG9yZS52MSImCghLZXlWYWx1ZRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkiGwoLU2NhblJlcXVlc3QSDAoEbGlrZRgBIAEoCSIaCgtSZWFkUmVxdWVzdBILCgNrZXkYASABKAkiHAoNRGVsZXRlUmVxdWVzdBILCgNrZXkYASABKAkyigQKB0t2U3RvcmUSWQoEU2NhbhIfLmJsdWVhcGkua3ZzdG9yZS52MS5TY2FuUmVxdWVzdBocLmJsdWVhcGkua3ZzdG9yZS52MS5LZXlWYWx1ZSIQgtPkkwIKEggvdjEva2V5czABEl0KBFJlYWQSHy5ibHVlYXBpLmt2c3RvcmUudjEuUmVhZFJlcXVlc3QaHC5ibHVlYXBpLmt2c3RvcmUudjEuS2V5VmFsdWUiFoLT5JMCEBIOL3YxL2tleXMve2tleX0STQoFV3JpdGUSHC5ibHVlYXBpLmt2c3RvcmUudjEuS2V5VmFsdWUaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiDoLT5JMCCDoBKiIDL3YxElsKBkRlbGV0ZRIhLmJsdWVhcGkua3ZzdG9yZS52MS5EZWxldGVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IhaC0+STAhAqDi92MS9rZXlzL3trZXl9GpgBkkGUARJBKEJFVEEpIEt2U3RvcmUgQVBJLiBCYXNlIFVSTDogaHR0cHM6Ly9hcGkuYWxwaGF1cy5jbG91ZC9tL2JsdWUva3YaTwoSU2VydmljZSBkZWZpbml0aW9uEjlodHRwczovL2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZWFwaS90cmVlL21haW4va3ZzdG9yZS9CUQoZY2xvdWQuYWxwaGF1cy5hcGkua3ZzdG9yZUIMS3ZTdG9yZVByb3RvWiZnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWVhcGkva3ZzdG9yZWIGcHJvdG8z", [annotations_pb_1.file_google_api_annotations, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations, wkt_1.file_google_protobuf_empty]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message blueapi.kvstore.v1.KeyValue.
|
|
17
|
+
* Use `create(KeyValueSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.KeyValueSchema = (0, codegenv2_1.messageDesc)(exports.file_kvstore_v1_kvstore, 0);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message blueapi.kvstore.v1.ScanRequest.
|
|
22
|
+
* Use `create(ScanRequestSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
exports.ScanRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_kvstore_v1_kvstore, 1);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message blueapi.kvstore.v1.ReadRequest.
|
|
27
|
+
* Use `create(ReadRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
exports.ReadRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_kvstore_v1_kvstore, 2);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message blueapi.kvstore.v1.DeleteRequest.
|
|
32
|
+
* Use `create(DeleteRequestSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
exports.DeleteRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_kvstore_v1_kvstore, 3);
|
|
35
|
+
/**
|
|
36
|
+
* KvStore service definition.
|
|
37
|
+
*
|
|
38
|
+
* @generated from service blueapi.kvstore.v1.KvStore
|
|
39
|
+
*/
|
|
40
|
+
exports.KvStore = (0, codegenv2_1.serviceDesc)(exports.file_kvstore_v1_kvstore, 0);
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file kvstore/v1/kvstore.proto (package blueapi.kvstore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_google_api_annotations } from "../../google/api/annotations_pb";
|
|
8
|
+
import { file_protoc_gen_openapiv2_options_annotations } from "../../protoc-gen-openapiv2/options/annotations_pb";
|
|
9
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file kvstore/v1/kvstore.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_kvstore_v1_kvstore: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("ChhrdnN0b3JlL3YxL2t2c3RvcmUucHJvdG8SEmJsdWVhcGkua3ZzdG9yZS52MSImCghLZXlWYWx1ZRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkiGwoLU2NhblJlcXVlc3QSDAoEbGlrZRgBIAEoCSIaCgtSZWFkUmVxdWVzdBILCgNrZXkYASABKAkiHAoNRGVsZXRlUmVxdWVzdBILCgNrZXkYASABKAkyigQKB0t2U3RvcmUSWQoEU2NhbhIfLmJsdWVhcGkua3ZzdG9yZS52MS5TY2FuUmVxdWVzdBocLmJsdWVhcGkua3ZzdG9yZS52MS5LZXlWYWx1ZSIQgtPkkwIKEggvdjEva2V5czABEl0KBFJlYWQSHy5ibHVlYXBpLmt2c3RvcmUudjEuUmVhZFJlcXVlc3QaHC5ibHVlYXBpLmt2c3RvcmUudjEuS2V5VmFsdWUiFoLT5JMCEBIOL3YxL2tleXMve2tleX0STQoFV3JpdGUSHC5ibHVlYXBpLmt2c3RvcmUudjEuS2V5VmFsdWUaFi5nb29nbGUucHJvdG9idWYuRW1wdHkiDoLT5JMCCDoBKiIDL3YxElsKBkRlbGV0ZRIhLmJsdWVhcGkua3ZzdG9yZS52MS5EZWxldGVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5IhaC0+STAhAqDi92MS9rZXlzL3trZXl9GpgBkkGUARJBKEJFVEEpIEt2U3RvcmUgQVBJLiBCYXNlIFVSTDogaHR0cHM6Ly9hcGkuYWxwaGF1cy5jbG91ZC9tL2JsdWUva3YaTwoSU2VydmljZSBkZWZpbml0aW9uEjlodHRwczovL2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZWFwaS90cmVlL21haW4va3ZzdG9yZS9CUQoZY2xvdWQuYWxwaGF1cy5hcGkua3ZzdG9yZUIMS3ZTdG9yZVByb3RvWiZnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWVhcGkva3ZzdG9yZWIGcHJvdG8z", [file_google_api_annotations, file_protoc_gen_openapiv2_options_annotations, file_google_protobuf_empty]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from message blueapi.kvstore.v1.KeyValue
|
|
21
|
+
*/
|
|
22
|
+
export type KeyValue = Message<"blueapi.kvstore.v1.KeyValue"> & {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string key = 1;
|
|
25
|
+
*/
|
|
26
|
+
key: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string value = 2;
|
|
30
|
+
*/
|
|
31
|
+
value: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message blueapi.kvstore.v1.KeyValue.
|
|
36
|
+
* Use `create(KeyValueSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const KeyValueSchema: GenMessage<KeyValue> = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_kvstore_v1_kvstore, 0);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Request message for the KvStore.Scan rpc.
|
|
43
|
+
*
|
|
44
|
+
* @generated from message blueapi.kvstore.v1.ScanRequest
|
|
45
|
+
*/
|
|
46
|
+
export type ScanRequest = Message<"blueapi.kvstore.v1.ScanRequest"> & {
|
|
47
|
+
/**
|
|
48
|
+
* Optional. If non-empty, translates to SQL's `LIKE` operand.
|
|
49
|
+
* Return all keys by default.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string like = 1;
|
|
52
|
+
*/
|
|
53
|
+
like: string;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message blueapi.kvstore.v1.ScanRequest.
|
|
58
|
+
* Use `create(ScanRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const ScanRequestSchema: GenMessage<ScanRequest> = /*@__PURE__*/
|
|
61
|
+
messageDesc(file_kvstore_v1_kvstore, 1);
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Request message for the KvStore.Read rpc.
|
|
65
|
+
*
|
|
66
|
+
* @generated from message blueapi.kvstore.v1.ReadRequest
|
|
67
|
+
*/
|
|
68
|
+
export type ReadRequest = Message<"blueapi.kvstore.v1.ReadRequest"> & {
|
|
69
|
+
/**
|
|
70
|
+
* Required. The key to read.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: string key = 1;
|
|
73
|
+
*/
|
|
74
|
+
key: string;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message blueapi.kvstore.v1.ReadRequest.
|
|
79
|
+
* Use `create(ReadRequestSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const ReadRequestSchema: GenMessage<ReadRequest> = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_kvstore_v1_kvstore, 2);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Request message for the KvStore.Delete rpc.
|
|
86
|
+
*
|
|
87
|
+
* @generated from message blueapi.kvstore.v1.DeleteRequest
|
|
88
|
+
*/
|
|
89
|
+
export type DeleteRequest = Message<"blueapi.kvstore.v1.DeleteRequest"> & {
|
|
90
|
+
/**
|
|
91
|
+
* Required. The key to delete. To delete all keys, set this to `-` (hyphen).
|
|
92
|
+
* You can also prefix this with `like:` which translates to SQL's LIKE operator.
|
|
93
|
+
* For example, `like:%pattern%`.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: string key = 1;
|
|
96
|
+
*/
|
|
97
|
+
key: string;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message blueapi.kvstore.v1.DeleteRequest.
|
|
102
|
+
* Use `create(DeleteRequestSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const DeleteRequestSchema: GenMessage<DeleteRequest> = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_kvstore_v1_kvstore, 3);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* KvStore service definition.
|
|
109
|
+
*
|
|
110
|
+
* @generated from service blueapi.kvstore.v1.KvStore
|
|
111
|
+
*/
|
|
112
|
+
export const KvStore: GenService<{
|
|
113
|
+
/**
|
|
114
|
+
* Scans key:value data from your store.
|
|
115
|
+
*
|
|
116
|
+
* @generated from rpc blueapi.kvstore.v1.KvStore.Scan
|
|
117
|
+
*/
|
|
118
|
+
scan: {
|
|
119
|
+
methodKind: "server_streaming";
|
|
120
|
+
input: typeof ScanRequestSchema;
|
|
121
|
+
output: typeof KeyValueSchema;
|
|
122
|
+
},
|
|
123
|
+
/**
|
|
124
|
+
* Reads a key:value data from your store.
|
|
125
|
+
*
|
|
126
|
+
* @generated from rpc blueapi.kvstore.v1.KvStore.Read
|
|
127
|
+
*/
|
|
128
|
+
read: {
|
|
129
|
+
methodKind: "unary";
|
|
130
|
+
input: typeof ReadRequestSchema;
|
|
131
|
+
output: typeof KeyValueSchema;
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* Writes a new (or update an existing) key:value data in your store.
|
|
135
|
+
*
|
|
136
|
+
* @generated from rpc blueapi.kvstore.v1.KvStore.Write
|
|
137
|
+
*/
|
|
138
|
+
write: {
|
|
139
|
+
methodKind: "unary";
|
|
140
|
+
input: typeof KeyValueSchema;
|
|
141
|
+
output: typeof EmptySchema;
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Deletes a key:value data from your store.
|
|
145
|
+
*
|
|
146
|
+
* @generated from rpc blueapi.kvstore.v1.KvStore.Delete
|
|
147
|
+
*/
|
|
148
|
+
delete: {
|
|
149
|
+
methodKind: "unary";
|
|
150
|
+
input: typeof DeleteRequestSchema;
|
|
151
|
+
output: typeof EmptySchema;
|
|
152
|
+
},
|
|
153
|
+
}> = /*@__PURE__*/
|
|
154
|
+
serviceDesc(file_kvstore_v1_kvstore, 0);
|
|
155
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copied from {root}/google/longrunning/operations.proto
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Operations = exports.WaitOperationRequestSchema = exports.CancelOperationRequestSchema = exports.DeleteOperationRequestSchema = exports.GetOperationRequestSchema = exports.ListOperationsRequestSchema = exports.file_operations_v1_operations = void 0;
|
|
5
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
6
|
+
const operation_pb_1 = require("../../protos/operation_pb");
|
|
7
|
+
const annotations_pb_1 = require("../../google/api/annotations_pb");
|
|
8
|
+
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
9
|
+
const annotations_pb_2 = require("../../protoc-gen-openapiv2/options/annotations_pb");
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file operations/v1/operations.proto.
|
|
12
|
+
*/
|
|
13
|
+
exports.file_operations_v1_operations = (0, codegenv2_1.fileDesc)("Ch5vcGVyYXRpb25zL3YxL29wZXJhdGlvbnMucHJvdG8SFWJsdWVhcGkub3BlcmF0aW9ucy52MSJKChVMaXN0T3BlcmF0aW9uc1JlcXVlc3QSDgoGcGFyZW50GAEgASgJEgwKBGFzT2YYAiABKAkSEwoLaW5jbHVkZURvbmUYAyABKAgiIwoTR2V0T3BlcmF0aW9uUmVxdWVzdBIMCgRuYW1lGAEgASgJIiYKFkRlbGV0ZU9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCSImChZDYW5jZWxPcGVyYXRpb25SZXF1ZXN0EgwKBG5hbWUYASABKAkiUAoUV2FpdE9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCRIqCgd0aW1lb3V0GAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uMr0FCgpPcGVyYXRpb25zEmQKDkxpc3RPcGVyYXRpb25zEiwuYmx1ZWFwaS5vcGVyYXRpb25zLnYxLkxpc3RPcGVyYXRpb25zUmVxdWVzdBoRLnByb3Rvcy5PcGVyYXRpb24iD4LT5JMCCRIHL29wcy92MTABEmUKDEdldE9wZXJhdGlvbhIqLmJsdWVhcGkub3BlcmF0aW9ucy52MS5HZXRPcGVyYXRpb25SZXF1ZXN0GhEucHJvdG9zLk9wZXJhdGlvbiIWgtPkkwIQEg4vb3BzL3YxL3tuYW1lfRJwCg9EZWxldGVPcGVyYXRpb24SLS5ibHVlYXBpLm9wZXJhdGlvbnMudjEuRGVsZXRlT3BlcmF0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIWgtPkkwIQKg4vb3BzL3YxL3tuYW1lfRJ6Cg9DYW5jZWxPcGVyYXRpb24SLS5ibHVlYXBpLm9wZXJhdGlvbnMudjEuQ2FuY2VsT3BlcmF0aW9uUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIggtPkkwIaOgEqIhUvb3BzL3YxL3tuYW1lfTpjYW5jZWwSUQoNV2FpdE9wZXJhdGlvbhIrLmJsdWVhcGkub3BlcmF0aW9ucy52MS5XYWl0T3BlcmF0aW9uUmVxdWVzdBoRLnByb3Rvcy5PcGVyYXRpb24iABqgAZJBnAESRihCRVRBKSBMb25nIG9wZXJhdGlvbnMgQVBJLiBCYXNlIFVSTDogaHR0cHM6Ly9hcGkuYWxwaGF1cy5jbG91ZC9tL2JsdWUaUgoSU2VydmljZSBkZWZpbml0aW9uEjxodHRwczovL2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZWFwaS90cmVlL21haW4vb3BlcmF0aW9ucy9CWgocY2xvdWQuYWxwaGF1cy5hcGkub3BlcmF0aW9uc0IPT3BlcmF0aW9uc1Byb3RvWilnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWVhcGkvb3BlcmF0aW9uc2IGcHJvdG8z", [operation_pb_1.file_protos_operation, annotations_pb_1.file_google_api_annotations, wkt_1.file_google_protobuf_duration, wkt_1.file_google_protobuf_empty, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message blueapi.operations.v1.ListOperationsRequest.
|
|
16
|
+
* Use `create(ListOperationsRequestSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
exports.ListOperationsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_operations_v1_operations, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message blueapi.operations.v1.GetOperationRequest.
|
|
21
|
+
* Use `create(GetOperationRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
exports.GetOperationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_operations_v1_operations, 1);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message blueapi.operations.v1.DeleteOperationRequest.
|
|
26
|
+
* Use `create(DeleteOperationRequestSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
exports.DeleteOperationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_operations_v1_operations, 2);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message blueapi.operations.v1.CancelOperationRequest.
|
|
31
|
+
* Use `create(CancelOperationRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.CancelOperationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_operations_v1_operations, 3);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message blueapi.operations.v1.WaitOperationRequest.
|
|
36
|
+
* Use `create(WaitOperationRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
exports.WaitOperationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_operations_v1_operations, 4);
|
|
39
|
+
/**
|
|
40
|
+
* Manages long-running operations with an API service.
|
|
41
|
+
*
|
|
42
|
+
* When an API method normally takes long time to complete, it can be designed
|
|
43
|
+
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
|
|
44
|
+
* interface to receive the real response asynchronously by polling the
|
|
45
|
+
* operation resource, or pass the operation resource to another API (such as
|
|
46
|
+
* Google Cloud Pub/Sub API) to receive the response. Any API service that
|
|
47
|
+
* returns long-running operations should implement the `Operations` interface
|
|
48
|
+
* so developers can have a consistent client experience.
|
|
49
|
+
*
|
|
50
|
+
* @generated from service blueapi.operations.v1.Operations
|
|
51
|
+
*/
|
|
52
|
+
exports.Operations = (0, codegenv2_1.serviceDesc)(exports.file_operations_v1_operations, 0);
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// Copied from {root}/google/longrunning/operations.proto
|
|
2
|
+
|
|
3
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
4
|
+
// @generated from file operations/v1/operations.proto (package blueapi.operations.v1, syntax proto3)
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
9
|
+
import type { OperationSchema } from "../../protos/operation_pb";
|
|
10
|
+
import { file_protos_operation } from "../../protos/operation_pb";
|
|
11
|
+
import { file_google_api_annotations } from "../../google/api/annotations_pb";
|
|
12
|
+
import type { Duration, EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
13
|
+
import { file_google_protobuf_duration, file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
14
|
+
import { file_protoc_gen_openapiv2_options_annotations } from "../../protoc-gen-openapiv2/options/annotations_pb";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file operations/v1/operations.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_operations_v1_operations: GenFile = /*@__PURE__*/
|
|
21
|
+
fileDesc("Ch5vcGVyYXRpb25zL3YxL29wZXJhdGlvbnMucHJvdG8SFWJsdWVhcGkub3BlcmF0aW9ucy52MSJKChVMaXN0T3BlcmF0aW9uc1JlcXVlc3QSDgoGcGFyZW50GAEgASgJEgwKBGFzT2YYAiABKAkSEwoLaW5jbHVkZURvbmUYAyABKAgiIwoTR2V0T3BlcmF0aW9uUmVxdWVzdBIMCgRuYW1lGAEgASgJIiYKFkRlbGV0ZU9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCSImChZDYW5jZWxPcGVyYXRpb25SZXF1ZXN0EgwKBG5hbWUYASABKAkiUAoUV2FpdE9wZXJhdGlvblJlcXVlc3QSDA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IPT3BlcmF0aW9uc1Byb3RvWilnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWVhcGkvb3BlcmF0aW9uc2IGcHJvdG8z", [file_protos_operation, file_google_api_annotations, file_google_protobuf_duration, file_google_protobuf_empty, file_protoc_gen_openapiv2_options_annotations]);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Request message for the Operations.ListOperations rpc.
|
|
25
|
+
*
|
|
26
|
+
* @generated from message blueapi.operations.v1.ListOperationsRequest
|
|
27
|
+
*/
|
|
28
|
+
export type ListOperationsRequest = Message<"blueapi.operations.v1.ListOperationsRequest"> & {
|
|
29
|
+
/**
|
|
30
|
+
* Optional. The name of the operation's parent resource. Not used at the moment.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: string parent = 1;
|
|
33
|
+
*/
|
|
34
|
+
parent: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Optional. List operations on and after this date. Format is yyyymmdd. For example,
|
|
38
|
+
* if you want to list all operations starting from June 01, 2021, set to `20210601`.
|
|
39
|
+
* If not set, defaults to the first day of the current UTC month.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string asOf = 2;
|
|
42
|
+
*/
|
|
43
|
+
asOf: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Optional. If true, include all operations that are marked as done. Exclude by
|
|
47
|
+
* default.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: bool includeDone = 3;
|
|
50
|
+
*/
|
|
51
|
+
includeDone: boolean;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message blueapi.operations.v1.ListOperationsRequest.
|
|
56
|
+
* Use `create(ListOperationsRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const ListOperationsRequestSchema: GenMessage<ListOperationsRequest> = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_operations_v1_operations, 0);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Request message for the Operations.GetOperation rpc.
|
|
63
|
+
*
|
|
64
|
+
* @generated from message blueapi.operations.v1.GetOperationRequest
|
|
65
|
+
*/
|
|
66
|
+
export type GetOperationRequest = Message<"blueapi.operations.v1.GetOperationRequest"> & {
|
|
67
|
+
/**
|
|
68
|
+
* The name of the operation resource.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string name = 1;
|
|
71
|
+
*/
|
|
72
|
+
name: string;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message blueapi.operations.v1.GetOperationRequest.
|
|
77
|
+
* Use `create(GetOperationRequestSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const GetOperationRequestSchema: GenMessage<GetOperationRequest> = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_operations_v1_operations, 1);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Request message for the Operations.DeleteOperation rpc.
|
|
84
|
+
*
|
|
85
|
+
* @generated from message blueapi.operations.v1.DeleteOperationRequest
|
|
86
|
+
*/
|
|
87
|
+
export type DeleteOperationRequest = Message<"blueapi.operations.v1.DeleteOperationRequest"> & {
|
|
88
|
+
/**
|
|
89
|
+
* The name of the operation resource to be deleted.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string name = 1;
|
|
92
|
+
*/
|
|
93
|
+
name: string;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message blueapi.operations.v1.DeleteOperationRequest.
|
|
98
|
+
* Use `create(DeleteOperationRequestSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const DeleteOperationRequestSchema: GenMessage<DeleteOperationRequest> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_operations_v1_operations, 2);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Request message for the Operations.CancelOperation rpc.
|
|
105
|
+
*
|
|
106
|
+
* @generated from message blueapi.operations.v1.CancelOperationRequest
|
|
107
|
+
*/
|
|
108
|
+
export type CancelOperationRequest = Message<"blueapi.operations.v1.CancelOperationRequest"> & {
|
|
109
|
+
/**
|
|
110
|
+
* The name of the operation resource to be cancelled.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string name = 1;
|
|
113
|
+
*/
|
|
114
|
+
name: string;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message blueapi.operations.v1.CancelOperationRequest.
|
|
119
|
+
* Use `create(CancelOperationRequestSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export const CancelOperationRequestSchema: GenMessage<CancelOperationRequest> = /*@__PURE__*/
|
|
122
|
+
messageDesc(file_operations_v1_operations, 3);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The request message for the Operations.WaitOperation rpc.
|
|
126
|
+
*
|
|
127
|
+
* @generated from message blueapi.operations.v1.WaitOperationRequest
|
|
128
|
+
*/
|
|
129
|
+
export type WaitOperationRequest = Message<"blueapi.operations.v1.WaitOperationRequest"> & {
|
|
130
|
+
/**
|
|
131
|
+
* The name of the operation resource to wait on.
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: string name = 1;
|
|
134
|
+
*/
|
|
135
|
+
name: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The maximum duration to wait before timing out. If left blank, the wait
|
|
139
|
+
* will be at most the time permitted by the underlying HTTP/RPC protocol.
|
|
140
|
+
* If RPC context deadline is also specified, the shorter one will be used.
|
|
141
|
+
*
|
|
142
|
+
* @generated from field: google.protobuf.Duration timeout = 2;
|
|
143
|
+
*/
|
|
144
|
+
timeout?: Duration;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message blueapi.operations.v1.WaitOperationRequest.
|
|
149
|
+
* Use `create(WaitOperationRequestSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export const WaitOperationRequestSchema: GenMessage<WaitOperationRequest> = /*@__PURE__*/
|
|
152
|
+
messageDesc(file_operations_v1_operations, 4);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Manages long-running operations with an API service.
|
|
156
|
+
*
|
|
157
|
+
* When an API method normally takes long time to complete, it can be designed
|
|
158
|
+
* to return [Operation][google.longrunning.Operation] to the client, and the client can use this
|
|
159
|
+
* interface to receive the real response asynchronously by polling the
|
|
160
|
+
* operation resource, or pass the operation resource to another API (such as
|
|
161
|
+
* Google Cloud Pub/Sub API) to receive the response. Any API service that
|
|
162
|
+
* returns long-running operations should implement the `Operations` interface
|
|
163
|
+
* so developers can have a consistent client experience.
|
|
164
|
+
*
|
|
165
|
+
* @generated from service blueapi.operations.v1.Operations
|
|
166
|
+
*/
|
|
167
|
+
export const Operations: GenService<{
|
|
168
|
+
/**
|
|
169
|
+
* Lists long-running operations.
|
|
170
|
+
*
|
|
171
|
+
* @generated from rpc blueapi.operations.v1.Operations.ListOperations
|
|
172
|
+
*/
|
|
173
|
+
listOperations: {
|
|
174
|
+
methodKind: "server_streaming";
|
|
175
|
+
input: typeof ListOperationsRequestSchema;
|
|
176
|
+
output: typeof OperationSchema;
|
|
177
|
+
},
|
|
178
|
+
/**
|
|
179
|
+
* Gets the latest state of a long-running operation. You can use this method to
|
|
180
|
+
* poll the operation result at intervals.
|
|
181
|
+
*
|
|
182
|
+
* @generated from rpc blueapi.operations.v1.Operations.GetOperation
|
|
183
|
+
*/
|
|
184
|
+
getOperation: {
|
|
185
|
+
methodKind: "unary";
|
|
186
|
+
input: typeof GetOperationRequestSchema;
|
|
187
|
+
output: typeof OperationSchema;
|
|
188
|
+
},
|
|
189
|
+
/**
|
|
190
|
+
* Deletes a long-running operation. This method indicates that the client is no
|
|
191
|
+
* longer interested in the operation result. It does not cancel the operation.
|
|
192
|
+
*
|
|
193
|
+
* @generated from rpc blueapi.operations.v1.Operations.DeleteOperation
|
|
194
|
+
*/
|
|
195
|
+
deleteOperation: {
|
|
196
|
+
methodKind: "unary";
|
|
197
|
+
input: typeof DeleteOperationRequestSchema;
|
|
198
|
+
output: typeof EmptySchema;
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes
|
|
202
|
+
* a best effort to cancel the operation, but success is not guaranteed. On successful
|
|
203
|
+
* cancellation, the operation is not deleted; instead, it becomes an operation with
|
|
204
|
+
* a value of [google.rpc.Status.code][google.rpc.Status.code] 1, corresponding
|
|
205
|
+
* to `Code.CANCELLED`.
|
|
206
|
+
*
|
|
207
|
+
* @generated from rpc blueapi.operations.v1.Operations.CancelOperation
|
|
208
|
+
*/
|
|
209
|
+
cancelOperation: {
|
|
210
|
+
methodKind: "unary";
|
|
211
|
+
input: typeof CancelOperationRequestSchema;
|
|
212
|
+
output: typeof EmptySchema;
|
|
213
|
+
},
|
|
214
|
+
/**
|
|
215
|
+
* Waits for the specified long-running operation until it is done or reaches
|
|
216
|
+
* at most a specified timeout, returning the latest state. If the operation
|
|
217
|
+
* is already done, the latest state is immediately returned. If the timeout
|
|
218
|
+
* specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
|
219
|
+
* timeout is used. If the server does not support this method, it returns
|
|
220
|
+
* `google.rpc.Code.UNIMPLEMENTED`.
|
|
221
|
+
* Note that this method is on a best-effort basis. It may return the latest
|
|
222
|
+
* state before the specified timeout (including immediately), meaning, even an
|
|
223
|
+
* immediate response is no guarantee that the operation is done.
|
|
224
|
+
* At the moment, Blue's default RPC timeout is around one hour.
|
|
225
|
+
*
|
|
226
|
+
* @generated from rpc blueapi.operations.v1.Operations.WaitOperation
|
|
227
|
+
*/
|
|
228
|
+
waitOperation: {
|
|
229
|
+
methodKind: "unary";
|
|
230
|
+
input: typeof WaitOperationRequestSchema;
|
|
231
|
+
output: typeof OperationSchema;
|
|
232
|
+
},
|
|
233
|
+
}> = /*@__PURE__*/
|
|
234
|
+
serviceDesc(file_operations_v1_operations, 0);
|
|
235
|
+
|
package/org/v1/client.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NewOrganizationClient = NewOrganizationClient;
|
|
4
|
+
const org_pb_1 = require("./org_pb");
|
|
5
|
+
const conn_1 = require("../../conn/conn");
|
|
6
|
+
function NewOrganizationClient(...opts) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(org_pb_1.Organization, "blue", opts);
|
|
8
|
+
return blueapi.clientInstance;
|
|
9
|
+
}
|
package/org/v1/client.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Organization } from "./org_pb";
|
|
2
|
+
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
|
+
|
|
4
|
+
export function NewOrganizationClient(...opts: ConnectOption[]) {
|
|
5
|
+
const blueapi = new BlueAPIService(Organization, "blue", opts);
|
|
6
|
+
return blueapi.clientInstance;
|
|
7
|
+
}
|
package/org/v1/org_pb.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file org/v1/org.proto (package blueapi.org.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Organization = exports.DeleteOrgRequestSchema = exports.UpdatePasswordRequestSchema = exports.UpdateMetadataRequestSchema = exports.GetOrgRequestSchema = exports.VerifyOrgRequestSchema = exports.SendVerificationRequestSchema = exports.CreateOrgResponseSchema = exports.CreateOrgRequestSchema = exports.file_org_v1_org = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const org_pb_1 = require("../../api/ripple/org_pb");
|
|
9
|
+
const annotations_pb_1 = require("../../google/api/annotations_pb");
|
|
10
|
+
const annotations_pb_2 = require("../../protoc-gen-openapiv2/options/annotations_pb");
|
|
11
|
+
const wkt_1 = require("@bufbuild/protob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HN1YmplY3QgdG8gY2hhbmdlczsgYW5kCi0gKiooREVQUkVDQVRFRCkqKiAtIE91dGRhdGVkIG9yIHJlcGxhY2VkIGZlYXR1cmVzLgoKU29tZSBlbmRwb2ludHMsIGVzcGVjaWFsbHkgdGhvc2UgdGhhdCByZXR1cm4gbGlzdHMgb2YgcmVzb3VyY2VzLCBoYXZlIHN0cmVhbWluZyByZXNwb25zZXM7IG5ld2xpbmUtc2VwYXJhdGVkIHN0cmVhbSBvZiDigJxjaHVua3PigJ0uIEVhY2ggY2h1bmsgaXMgYW4gZW52ZWxvcGUgdGhhdCBjYW4gY29udGFpbiBlaXRoZXIgYSByZXNwb25zZSBtZXNzYWdlIG9yIGFuIGVycm9yLiBPbmx5IHRoZSBsYXN0IGNodW5rIHdpbGwgaW5jbHVkZSBhbiBlcnJvciwgaWYgYW55LjICdjEaEWFwaS5hbHBoYXVzLmNsb3VkIgcvbS9ibHVlKgECYgZwcm90bzM", [org_pb_1.file_api_ripple_org, annotations_pb_1.file_google_api_annotations, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations, wkt_1.file_google_protobuf_empty]);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message blueapi.org.v1.CreateOrgRequest.
|
|
18
|
+
* Use `create(CreateOrgRequestSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
exports.CreateOrgRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 0);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message blueapi.org.v1.CreateOrgResponse.
|
|
23
|
+
* Use `create(CreateOrgResponseSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
exports.CreateOrgResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 1);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message blueapi.org.v1.SendVerificationRequest.
|
|
28
|
+
* Use `create(SendVerificationRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
exports.SendVerificationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 2);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message blueapi.org.v1.VerifyOrgRequest.
|
|
33
|
+
* Use `create(VerifyOrgRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
exports.VerifyOrgRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 3);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message blueapi.org.v1.GetOrgRequest.
|
|
38
|
+
* Use `create(GetOrgRequestSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.GetOrgRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 4);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message blueapi.org.v1.UpdateMetadataRequest.
|
|
43
|
+
* Use `create(UpdateMetadataRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
exports.UpdateMetadataRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 5);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message blueapi.org.v1.UpdatePasswordRequest.
|
|
48
|
+
* Use `create(UpdatePasswordRequestSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
exports.UpdatePasswordRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 6);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message blueapi.org.v1.DeleteOrgRequest.
|
|
53
|
+
* Use `create(DeleteOrgRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
exports.DeleteOrgRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_org_v1_org, 7);
|
|
56
|
+
/**
|
|
57
|
+
* Organization service definition.
|
|
58
|
+
*
|
|
59
|
+
* @generated from service blueapi.org.v1.Organization
|
|
60
|
+
*/
|
|
61
|
+
exports.Organization = (0, codegenv2_1.serviceDesc)(exports.file_org_v1_org, 0);
|