@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
package/org/v1/org_pb.ts
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file org/v1/org.proto (package blueapi.org.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 type { Org, OrgSchema } from "../../api/ripple/org_pb";
|
|
8
|
+
import { file_api_ripple_org } from "../../api/ripple/org_pb";
|
|
9
|
+
import { file_google_api_annotations } from "../../google/api/annotations_pb";
|
|
10
|
+
import { file_protoc_gen_openapiv2_options_annotations } from "../../protoc-gen-openapiv2/options/annotations_pb";
|
|
11
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
12
|
+
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
13
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file org/v1/org.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_org_v1_org: GenFile = /*@__PURE__*/
|
|
19
|
+
fileDesc("ChBvcmcvdjEvb3JnLnByb3RvEg5ibHVlYXBpLm9yZy52MSLWAQoQQ3JlYXRlT3JnUmVxdWVzdBINCgVlbWFpbBgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIQCghwYXNzd29yZBgDIAEoCRIMCgRuYW1lGAQgASgJEgwKBHJvbGUYBSABKAkSDQoFdXNhZ2UYBiABKAkSEQoJaW50ZW50aW9uGAcgASgJEhUKDWlzQXV0aDBTaWdudXAYCCABKAgSEgoKY3VzdG9tZXJJZBgJIAEoCRIOCgZsb2NhbGUYCiABKAkSEwoLYXV0aDBVc2VySWQYCyABKAkiSwoRQ3JlYXRlT3JnUmVzcG9uc2USJAoDb3JnGAEgASgLMhcuYmx1ZWFwaS5hcGkucmlwcGxlLk9yZxIQCghwYXNzd29yZBgCIAEoCSIZChdTZW5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otations, file_google_protobuf_empty]);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Request message for the Organization.CreateOrg rpc.
|
|
23
|
+
*
|
|
24
|
+
* @generated from message blueapi.org.v1.CreateOrgRequest
|
|
25
|
+
*/
|
|
26
|
+
export type CreateOrgRequest = Message<"blueapi.org.v1.CreateOrgRequest"> & {
|
|
27
|
+
/**
|
|
28
|
+
* Required. Organization's email
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: string email = 1;
|
|
31
|
+
*/
|
|
32
|
+
email: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Required. Organization's description or company name
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string description = 2;
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Optional. User can decide to let the system generates the password.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string password = 3;
|
|
45
|
+
*/
|
|
46
|
+
password: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* To be used for onboarding profile
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string name = 4;
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string role = 5;
|
|
57
|
+
*/
|
|
58
|
+
role: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string usage = 6;
|
|
62
|
+
*/
|
|
63
|
+
usage: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string intention = 7;
|
|
67
|
+
*/
|
|
68
|
+
intention: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: bool isAuth0Signup = 8;
|
|
72
|
+
*/
|
|
73
|
+
isAuth0Signup: boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Optional. Customer Id from AWS marketplace
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: string customerId = 9;
|
|
79
|
+
*/
|
|
80
|
+
customerId: string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Optional. User locale. Default value is en if not supplied.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string locale = 10;
|
|
86
|
+
*/
|
|
87
|
+
locale: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Optional. Auth0 user id for users registering using social login.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: string auth0UserId = 11;
|
|
93
|
+
*/
|
|
94
|
+
auth0UserId: string;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message blueapi.org.v1.CreateOrgRequest.
|
|
99
|
+
* Use `create(CreateOrgRequestSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const CreateOrgRequestSchema: GenMessage<CreateOrgRequest> = /*@__PURE__*/
|
|
102
|
+
messageDesc(file_org_v1_org, 0);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Response message for the Organization.CreateOrg rpc.
|
|
106
|
+
*
|
|
107
|
+
* @generated from message blueapi.org.v1.CreateOrgResponse
|
|
108
|
+
*/
|
|
109
|
+
export type CreateOrgResponse = Message<"blueapi.org.v1.CreateOrgResponse"> & {
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: blueapi.api.ripple.Org org = 1;
|
|
112
|
+
*/
|
|
113
|
+
org?: Org;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string password = 2;
|
|
117
|
+
*/
|
|
118
|
+
password: string;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message blueapi.org.v1.CreateOrgResponse.
|
|
123
|
+
* Use `create(CreateOrgResponseSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export const CreateOrgResponseSchema: GenMessage<CreateOrgResponse> = /*@__PURE__*/
|
|
126
|
+
messageDesc(file_org_v1_org, 1);
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Request message for the Organization.SendVerification rpc.
|
|
130
|
+
*
|
|
131
|
+
* @generated from message blueapi.org.v1.SendVerificationRequest
|
|
132
|
+
*/
|
|
133
|
+
export type SendVerificationRequest = Message<"blueapi.org.v1.SendVerificationRequest"> & {
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message blueapi.org.v1.SendVerificationRequest.
|
|
138
|
+
* Use `create(SendVerificationRequestSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export const SendVerificationRequestSchema: GenMessage<SendVerificationRequest> = /*@__PURE__*/
|
|
141
|
+
messageDesc(file_org_v1_org, 2);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Request message for the Organization.VerifyOrg rpc.
|
|
145
|
+
*
|
|
146
|
+
* @generated from message blueapi.org.v1.VerifyOrgRequest
|
|
147
|
+
*/
|
|
148
|
+
export type VerifyOrgRequest = Message<"blueapi.org.v1.VerifyOrgRequest"> & {
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: string key = 1;
|
|
151
|
+
*/
|
|
152
|
+
key: string;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message blueapi.org.v1.VerifyOrgRequest.
|
|
157
|
+
* Use `create(VerifyOrgRequestSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export const VerifyOrgRequestSchema: GenMessage<VerifyOrgRequest> = /*@__PURE__*/
|
|
160
|
+
messageDesc(file_org_v1_org, 3);
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Request message for the Organization.GetOrg rpc.
|
|
164
|
+
*
|
|
165
|
+
* @generated from message blueapi.org.v1.GetOrgRequest
|
|
166
|
+
*/
|
|
167
|
+
export type GetOrgRequest = Message<"blueapi.org.v1.GetOrgRequest"> & {
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message blueapi.org.v1.GetOrgRequest.
|
|
172
|
+
* Use `create(GetOrgRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export const GetOrgRequestSchema: GenMessage<GetOrgRequest> = /*@__PURE__*/
|
|
175
|
+
messageDesc(file_org_v1_org, 4);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Request message for the Organization.UpdateMetadata rpc.
|
|
179
|
+
*
|
|
180
|
+
* @generated from message blueapi.org.v1.UpdateMetadataRequest
|
|
181
|
+
*/
|
|
182
|
+
export type UpdateMetadataRequest = Message<"blueapi.org.v1.UpdateMetadataRequest"> & {
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string key = 1;
|
|
185
|
+
*/
|
|
186
|
+
key: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string value = 2;
|
|
190
|
+
*/
|
|
191
|
+
value: string;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message blueapi.org.v1.UpdateMetadataRequest.
|
|
196
|
+
* Use `create(UpdateMetadataRequestSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
export const UpdateMetadataRequestSchema: GenMessage<UpdateMetadataRequest> = /*@__PURE__*/
|
|
199
|
+
messageDesc(file_org_v1_org, 5);
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Request message for the Organization.UpdatePassword rpc.
|
|
203
|
+
*
|
|
204
|
+
* @generated from message blueapi.org.v1.UpdatePasswordRequest
|
|
205
|
+
*/
|
|
206
|
+
export type UpdatePasswordRequest = Message<"blueapi.org.v1.UpdatePasswordRequest"> & {
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: string oldPassword = 1;
|
|
209
|
+
*/
|
|
210
|
+
oldPassword: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: string newPassword = 2;
|
|
214
|
+
*/
|
|
215
|
+
newPassword: string;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Describes the message blueapi.org.v1.UpdatePasswordRequest.
|
|
220
|
+
* Use `create(UpdatePasswordRequestSchema)` to create a new message.
|
|
221
|
+
*/
|
|
222
|
+
export const UpdatePasswordRequestSchema: GenMessage<UpdatePasswordRequest> = /*@__PURE__*/
|
|
223
|
+
messageDesc(file_org_v1_org, 6);
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Request message for the Organization.DeleteOrg rpc.
|
|
227
|
+
*
|
|
228
|
+
* @generated from message blueapi.org.v1.DeleteOrgRequest
|
|
229
|
+
*/
|
|
230
|
+
export type DeleteOrgRequest = Message<"blueapi.org.v1.DeleteOrgRequest"> & {
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message blueapi.org.v1.DeleteOrgRequest.
|
|
235
|
+
* Use `create(DeleteOrgRequestSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export const DeleteOrgRequestSchema: GenMessage<DeleteOrgRequest> = /*@__PURE__*/
|
|
238
|
+
messageDesc(file_org_v1_org, 7);
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Organization service definition.
|
|
242
|
+
*
|
|
243
|
+
* @generated from service blueapi.org.v1.Organization
|
|
244
|
+
*/
|
|
245
|
+
export const Organization: GenService<{
|
|
246
|
+
/**
|
|
247
|
+
* Creates the organization account.
|
|
248
|
+
*
|
|
249
|
+
* @generated from rpc blueapi.org.v1.Organization.CreateOrg
|
|
250
|
+
*/
|
|
251
|
+
createOrg: {
|
|
252
|
+
methodKind: "unary";
|
|
253
|
+
input: typeof CreateOrgRequestSchema;
|
|
254
|
+
output: typeof CreateOrgResponseSchema;
|
|
255
|
+
},
|
|
256
|
+
/**
|
|
257
|
+
* WORK-IN-PROGRESS: Sends (or resends) the verification email. Only valid for unverified
|
|
258
|
+
* organizations. The verification key will be valid for a day.
|
|
259
|
+
*
|
|
260
|
+
* @generated from rpc blueapi.org.v1.Organization.SendVerification
|
|
261
|
+
*/
|
|
262
|
+
sendVerification: {
|
|
263
|
+
methodKind: "unary";
|
|
264
|
+
input: typeof SendVerificationRequestSchema;
|
|
265
|
+
output: typeof EmptySchema;
|
|
266
|
+
},
|
|
267
|
+
/**
|
|
268
|
+
* WORK-IN-PROGRESS: Verifies an organization using the key received from the verification email.
|
|
269
|
+
* The verification key is only valid for a day.
|
|
270
|
+
*
|
|
271
|
+
* @generated from rpc blueapi.org.v1.Organization.VerifyOrg
|
|
272
|
+
*/
|
|
273
|
+
verifyOrg: {
|
|
274
|
+
methodKind: "unary";
|
|
275
|
+
input: typeof VerifyOrgRequestSchema;
|
|
276
|
+
output: typeof EmptySchema;
|
|
277
|
+
},
|
|
278
|
+
/**
|
|
279
|
+
* Gets information about the caller's organization.
|
|
280
|
+
*
|
|
281
|
+
* @generated from rpc blueapi.org.v1.Organization.GetOrg
|
|
282
|
+
*/
|
|
283
|
+
getOrg: {
|
|
284
|
+
methodKind: "unary";
|
|
285
|
+
input: typeof GetOrgRequestSchema;
|
|
286
|
+
output: typeof OrgSchema;
|
|
287
|
+
},
|
|
288
|
+
/**
|
|
289
|
+
* WORK-IN-PROGRESS: Updates organization metadata. See [https://alphauslabs.github.io/blueapi/]
|
|
290
|
+
* for the list of supported attributes.
|
|
291
|
+
*
|
|
292
|
+
* @generated from rpc blueapi.org.v1.Organization.UpdateMetadata
|
|
293
|
+
*/
|
|
294
|
+
updateMetadata: {
|
|
295
|
+
methodKind: "unary";
|
|
296
|
+
input: typeof UpdateMetadataRequestSchema;
|
|
297
|
+
output: typeof EmptySchema;
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
* Updates the organization password.
|
|
301
|
+
*
|
|
302
|
+
* @generated from rpc blueapi.org.v1.Organization.UpdatePassword
|
|
303
|
+
*/
|
|
304
|
+
updatePassword: {
|
|
305
|
+
methodKind: "unary";
|
|
306
|
+
input: typeof UpdatePasswordRequestSchema;
|
|
307
|
+
output: typeof EmptySchema;
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* WORK-IN-PROGRESS: Deletes the organization.
|
|
311
|
+
*
|
|
312
|
+
* @generated from rpc blueapi.org.v1.Organization.DeleteOrg
|
|
313
|
+
*/
|
|
314
|
+
deleteOrg: {
|
|
315
|
+
methodKind: "unary";
|
|
316
|
+
input: typeof DeleteOrgRequestSchema;
|
|
317
|
+
output: typeof EmptySchema;
|
|
318
|
+
},
|
|
319
|
+
}> = /*@__PURE__*/
|
|
320
|
+
serviceDesc(file_org_v1_org, 0);
|
|
321
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@alphauspkgs/blue-sdk-ts",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "tsc"
|
|
6
|
+
},
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public",
|
|
9
|
+
"registry": "https://registry.npmjs.org/"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@connectrpc/connect": "^2.1.0",
|
|
13
|
+
"@connectrpc/connect-web": "^2.1.0"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/alphauslabs/blue-sdk-ts.git"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"typescript": "^5.9.2"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NewPreferenceClient = NewPreferenceClient;
|
|
4
|
+
const preferences_pb_1 = require("./preferences_pb");
|
|
5
|
+
const conn_1 = require("../../conn/conn");
|
|
6
|
+
function NewPreferenceClient(...opts) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(preferences_pb_1.Preferences, "blue", opts);
|
|
8
|
+
return blueapi.clientInstance;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Preferences } from "./preferences_pb";
|
|
2
|
+
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
|
+
|
|
4
|
+
export function NewPreferenceClient(...opts: ConnectOption[]) {
|
|
5
|
+
const blueapi = new BlueAPIService(Preferences, "blue", opts);
|
|
6
|
+
return blueapi.clientInstance;
|
|
7
|
+
}
|
|
8
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file preferences/v1/preferences.proto (package blueapi.preferences.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Preferences = exports.GetPreferencesRequestSchema = exports.PreferenceSchema = exports.file_preferences_v1_preferences = 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
|
+
/**
|
|
11
|
+
* Describes the file preferences/v1/preferences.proto.
|
|
12
|
+
*/
|
|
13
|
+
exports.file_preferences_v1_preferences = (0, codegenv2_1.fileDesc)("CiBwcmVmZXJlbmNlcy92MS9wcmVmZXJlbmNlcy5wcm90bxIWYmx1ZWFwaS5wcmVmZXJlbmNlcy52MSIMCgpQcmVmZXJlbmNlIhcKFUdldFByZWZlcmVuY2VzUmVxdWVzdDKlAgoLUHJlZmVyZW5jZXMSdgoOR2V0UHJlZmVyZW5jZXMSLS5ibHVlYXBpLnByZWZlcmVuY2VzLnYxLkdldFByZWZlcmVuY2VzUmVxdWVzdBoiLmJsdWVhcGkucHJlZmVyZW5jZXMudjEuUHJlZmVyZW5jZSIRgtPkkwILEgkvcHJlZnMvdjEanQGSQZkBEkIoQkVUQSkgUHJlZmVyZW5jZXMgQVBJLiBCYXNlIFVSTDogaHR0cHM6Ly9hcGkuYWxwaGF1cy5jbG91ZC9tL2JsdWUaUwoSU2VydmljZSBkZWZpbml0aW9uEj1odHRwczovL2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZWFwaS90cmVlL21haW4vcHJlZmVyZW5jZXMvQl0KHWNsb3VkLmFscGhhdXMuYXBpLnByZWZlcmVuY2VzQhBQcmVmZXJlbmNlc1Byb3RvWipnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWVhcGkvcHJlZmVyZW5jZXNiBnByb3RvMw", [annotations_pb_1.file_google_api_annotations, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message blueapi.preferences.v1.Preference.
|
|
16
|
+
* Use `create(PreferenceSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
exports.PreferenceSchema = (0, codegenv2_1.messageDesc)(exports.file_preferences_v1_preferences, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message blueapi.preferences.v1.GetPreferencesRequest.
|
|
21
|
+
* Use `create(GetPreferencesRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
exports.GetPreferencesRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_preferences_v1_preferences, 1);
|
|
24
|
+
/**
|
|
25
|
+
* Preferences service definition.
|
|
26
|
+
*
|
|
27
|
+
* @generated from service blueapi.preferences.v1.Preferences
|
|
28
|
+
*/
|
|
29
|
+
exports.Preferences = (0, codegenv2_1.serviceDesc)(exports.file_preferences_v1_preferences, 0);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file preferences/v1/preferences.proto (package blueapi.preferences.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 { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file preferences/v1/preferences.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_preferences_v1_preferences: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("CiBwcmVmZXJlbmNlcy92MS9wcmVmZXJlbmNlcy5wcm90bxIWYmx1ZWFwaS5wcmVmZXJlbmNlcy52MSIMCgpQcmVmZXJlbmNlIhcKFUdldFByZWZlcmVuY2VzUmVxdWVzdDKlAgoLUHJlZmVyZW5jZXMSdgoOR2V0UHJlZmVyZW5jZXMSLS5ibHVlYXBpLnByZWZlcmVuY2VzLnYxLkdldFByZWZlcmVuY2VzUmVxdWVzdBoiLmJsdWVhcGkucHJlZmVyZW5jZXMudjEuUHJlZmVyZW5jZSIRgtPkkwILEgkvcHJlZnMvdjEanQGSQZkBEkIoQkVUQSkgUHJlZmVyZW5jZXMgQVBJLiBCYXNlIFVSTDogaHR0cHM6Ly9hcGkuYWxwaGF1cy5jbG91ZC9tL2JsdWUaUwoSU2VydmljZSBkZWZpbml0aW9uEj1odHRwczovL2dpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZWFwaS90cmVlL21haW4vcHJlZmVyZW5jZXMvQl0KHWNsb3VkLmFscGhhdXMuYXBpLnByZWZlcmVuY2VzQhBQcmVmZXJlbmNlc1Byb3RvWipnaXRodWIuY29tL2FscGhhdXNsYWJzL2JsdWVhcGkvcHJlZmVyZW5jZXNiBnByb3RvMw", [file_google_api_annotations, file_protoc_gen_openapiv2_options_annotations]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message blueapi.preferences.v1.Preference
|
|
19
|
+
*/
|
|
20
|
+
export type Preference = Message<"blueapi.preferences.v1.Preference"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message blueapi.preferences.v1.Preference.
|
|
25
|
+
* Use `create(PreferenceSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const PreferenceSchema: GenMessage<Preference> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_preferences_v1_preferences, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Request message for the Preferences.GetPreferences rpc.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message blueapi.preferences.v1.GetPreferencesRequest
|
|
34
|
+
*/
|
|
35
|
+
export type GetPreferencesRequest = Message<"blueapi.preferences.v1.GetPreferencesRequest"> & {
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message blueapi.preferences.v1.GetPreferencesRequest.
|
|
40
|
+
* Use `create(GetPreferencesRequestSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const GetPreferencesRequestSchema: GenMessage<GetPreferencesRequest> = /*@__PURE__*/
|
|
43
|
+
messageDesc(file_preferences_v1_preferences, 1);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Preferences service definition.
|
|
47
|
+
*
|
|
48
|
+
* @generated from service blueapi.preferences.v1.Preferences
|
|
49
|
+
*/
|
|
50
|
+
export const Preferences: GenService<{
|
|
51
|
+
/**
|
|
52
|
+
* WORK-IN-PROGRESS: Gets current preferences.
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc blueapi.preferences.v1.Preferences.GetPreferences
|
|
55
|
+
*/
|
|
56
|
+
getPreferences: {
|
|
57
|
+
methodKind: "unary";
|
|
58
|
+
input: typeof GetPreferencesRequestSchema;
|
|
59
|
+
output: typeof PreferenceSchema;
|
|
60
|
+
},
|
|
61
|
+
}> = /*@__PURE__*/
|
|
62
|
+
serviceDesc(file_preferences_v1_preferences, 0);
|
|
63
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NewPricingClient = NewPricingClient;
|
|
4
|
+
const pricing_pb_1 = require("./pricing_pb");
|
|
5
|
+
const conn_1 = require("../../conn/conn");
|
|
6
|
+
function NewPricingClient(...opts) {
|
|
7
|
+
const blueapi = new conn_1.BlueAPIService(pricing_pb_1.Pricing, "pricing", opts);
|
|
8
|
+
return blueapi.clientInstance;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Pricing } from "./pricing_pb";
|
|
2
|
+
import { BlueAPIService, ConnectOption } from "../../conn/conn";
|
|
3
|
+
|
|
4
|
+
export function NewPricingClient(...opts: ConnectOption[]) {
|
|
5
|
+
const blueapi = new BlueAPIService(Pricing, "pricing", opts);
|
|
6
|
+
return blueapi.clientInstance;
|
|
7
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file pricing/v1/pricing.proto (package blueapi.pricing.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Pricing = exports.AttributeSchema = exports.SupportedServiceSchema = exports.GetSupportedServicesResponseSchema = exports.GetSupportedServicesRequestSchema = exports.GetPricingResponseSchema = exports.GetPricingRequestSchema = exports.GetInfoResponseSchema = exports.GetInfoRequestSchema = exports.file_pricing_v1_pricing = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const details_pb_1 = require("../../api/pricing/details_pb");
|
|
9
|
+
const annotations_pb_1 = require("../../google/api/annotations_pb");
|
|
10
|
+
const annotations_pb_2 = require("../../protoc-gen-openapiv2/options/annotations_pb");
|
|
11
|
+
/**
|
|
12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2luZxJkCgdHZXRJbmZvEiIuYmx1ZWFwaS5wcmljaW5nLnYxLkdldEluZm9SZXF1ZXN0GiMuYmx1ZWFwaS5wcmljaW5nLnYxLkdldEluZm9SZXNwb25zZSIQgtPkkwIKEggvdjAvaW5mbxJ8CgpHZXRQcmljaW5nEiUuYmx1ZWFwaS5wcmljaW5nLnYxLkdldFByaWNpbmdSZXF1ZXN0GiYuYmx1ZWFwaS5wcmljaW5nLnYxLkdldFByaWNpbmdSZXNwb25zZSIfgtPkkwIZOgEqIhQvdjAve3ZlbmRvcn0vcHJpY2luZxKYAQoUR2V0U3VwcG9ydGVkU2VydmljZXMSLy5ibHVlYXBpLnByaWNpbmcudjEuR2V0U3VwcG9ydGVkU2VydmljZXNSZXF1ZXN0GjAuYmx1ZWFwaS5wcmljaW5nLnYxLkdldFN1cHBvcnRlZFNlcnZpY2VzUmVzcG9uc2UiHYLT5JMCFxIVL3YwL3t2ZW5kb3J9L3NlcnZpY2VzGp0BkkGZARJGKEJFVEEpIFByaWNpbmcgQVBJLiBCYXNlIFVSTDogaHR0cHM6Ly9hcGkuYWxwaGF1cy5jbG91ZC9tL2JsdWUvcHJpY2luZxpPChJTZXJ2aWNlIGRlZmluaXRpb24SOWh0dHBzOi8vZ2l0aHViLmNvbS9hbHBoYXVzbGFicy9ibHVlYXBpL3RyZWUvbWFpbi9wcmljaW5nL0JRChljbG91ZC5hbHBoYXVzLmFwaS5wcmljaW5nQgxQcmljaW5nUHJvdG9aJmdpdGh1Yi5jb20vYWxwaGF1c2xhYnMvYmx1ZWFwaS9wcmljaW5nYgZwcm90bzM", [details_pb_1.file_api_pricing_details, annotations_pb_1.file_google_api_annotations, annotations_pb_2.file_protoc_gen_openapiv2_options_annotations]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message blueapi.pricing.v1.GetInfoRequest.
|
|
17
|
+
* Use `create(GetInfoRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.GetInfoRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 0);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message blueapi.pricing.v1.GetInfoResponse.
|
|
22
|
+
* Use `create(GetInfoResponseSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
exports.GetInfoResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 1);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message blueapi.pricing.v1.GetPricingRequest.
|
|
27
|
+
* Use `create(GetPricingRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
exports.GetPricingRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 2);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message blueapi.pricing.v1.GetPricingResponse.
|
|
32
|
+
* Use `create(GetPricingResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
exports.GetPricingResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 3);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message blueapi.pricing.v1.GetSupportedServicesRequest.
|
|
37
|
+
* Use `create(GetSupportedServicesRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
exports.GetSupportedServicesRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 4);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message blueapi.pricing.v1.GetSupportedServicesResponse.
|
|
42
|
+
* Use `create(GetSupportedServicesResponseSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
exports.GetSupportedServicesResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 5);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message blueapi.pricing.v1.SupportedService.
|
|
47
|
+
* Use `create(SupportedServiceSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
exports.SupportedServiceSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 6);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message blueapi.pricing.v1.Attribute.
|
|
52
|
+
* Use `create(AttributeSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
exports.AttributeSchema = (0, codegenv2_1.messageDesc)(exports.file_pricing_v1_pricing, 7);
|
|
55
|
+
/**
|
|
56
|
+
* Pricing service definition.
|
|
57
|
+
*
|
|
58
|
+
* @generated from service blueapi.pricing.v1.Pricing
|
|
59
|
+
*/
|
|
60
|
+
exports.Pricing = (0, codegenv2_1.serviceDesc)(exports.file_pricing_v1_pricing, 0);
|