@miradorlabs/web-grpc 2.23.0 → 2.25.0

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.
@@ -61,17 +61,6 @@ function deserialize_gateway_web_v1_PlanUpdateEnvelope(buffer_arg) {
61
61
  return proto_gateway_web_v1_plan_gateway_pb.PlanUpdateEnvelope.deserializeBinary(new Uint8Array(buffer_arg));
62
62
  }
63
63
 
64
- function serialize_gateway_web_v1_QuotaUpdateEnvelope(arg) {
65
- if (!(arg instanceof proto_gateway_web_v1_plan_gateway_pb.QuotaUpdateEnvelope)) {
66
- throw new Error('Expected argument of type gateway.web.v1.QuotaUpdateEnvelope');
67
- }
68
- return Buffer.from(arg.serializeBinary());
69
- }
70
-
71
- function deserialize_gateway_web_v1_QuotaUpdateEnvelope(buffer_arg) {
72
- return proto_gateway_web_v1_plan_gateway_pb.QuotaUpdateEnvelope.deserializeBinary(new Uint8Array(buffer_arg));
73
- }
74
-
75
64
  function serialize_gateway_web_v1_StreamPlanUpdatesRequest(arg) {
76
65
  if (!(arg instanceof proto_gateway_web_v1_plan_gateway_pb.StreamPlanUpdatesRequest)) {
77
66
  throw new Error('Expected argument of type gateway.web.v1.StreamPlanUpdatesRequest');
@@ -83,19 +72,8 @@ function deserialize_gateway_web_v1_StreamPlanUpdatesRequest(buffer_arg) {
83
72
  return proto_gateway_web_v1_plan_gateway_pb.StreamPlanUpdatesRequest.deserializeBinary(new Uint8Array(buffer_arg));
84
73
  }
85
74
 
86
- function serialize_gateway_web_v1_StreamQuotaUpdatesRequest(arg) {
87
- if (!(arg instanceof proto_gateway_web_v1_plan_gateway_pb.StreamQuotaUpdatesRequest)) {
88
- throw new Error('Expected argument of type gateway.web.v1.StreamQuotaUpdatesRequest');
89
- }
90
- return Buffer.from(arg.serializeBinary());
91
- }
92
-
93
- function deserialize_gateway_web_v1_StreamQuotaUpdatesRequest(buffer_arg) {
94
- return proto_gateway_web_v1_plan_gateway_pb.StreamQuotaUpdatesRequest.deserializeBinary(new Uint8Array(buffer_arg));
95
- }
96
-
97
75
 
98
- // PlanGatewayService provides plan and quota information for the billing UI.
76
+ // PlanGatewayService provides plan information for the billing UI.
99
77
  var PlanGatewayServiceService = exports.PlanGatewayServiceService = {
100
78
  // GetPlan returns the current plan and payment info for an organization.
101
79
  getPlan: {
@@ -122,20 +100,8 @@ streamPlanUpdates: {
122
100
  responseSerialize: serialize_gateway_web_v1_PlanUpdateEnvelope,
123
101
  responseDeserialize: deserialize_gateway_web_v1_PlanUpdateEnvelope,
124
102
  },
125
- // StreamQuotaUpdates streams quota usage events filtered by organization.
126
- streamQuotaUpdates: {
127
- path: '/gateway.web.v1.PlanGatewayService/StreamQuotaUpdates',
128
- requestStream: false,
129
- responseStream: true,
130
- requestType: proto_gateway_web_v1_plan_gateway_pb.StreamQuotaUpdatesRequest,
131
- responseType: proto_gateway_web_v1_plan_gateway_pb.QuotaUpdateEnvelope,
132
- requestSerialize: serialize_gateway_web_v1_StreamQuotaUpdatesRequest,
133
- requestDeserialize: deserialize_gateway_web_v1_StreamQuotaUpdatesRequest,
134
- responseSerialize: serialize_gateway_web_v1_QuotaUpdateEnvelope,
135
- responseDeserialize: deserialize_gateway_web_v1_QuotaUpdateEnvelope,
136
- },
137
- // ListAvailablePlans returns the catalog of self-serve plan tiers and their
138
- // per-period limits. Unauthenticated — safe for public consumption.
103
+ // ListAvailablePlans returns the catalog of self-serve plan tiers.
104
+ // Unauthenticated — safe for public consumption.
139
105
  listAvailablePlans: {
140
106
  path: '/gateway.web.v1.PlanGatewayService/ListAvailablePlans',
141
107
  requestStream: false,