diff --git a/messaging.client.ts b/messaging.client.ts index 084d2a6..362bf6b 100644 --- a/messaging.client.ts +++ b/messaging.client.ts @@ -22,13 +22,13 @@ export interface IMessagingServiceClient { */ sendSMS(input: SendSMSRequest, options?: RpcOptions): UnaryCall; /** - * @generated from protobuf rpc: GetMessagingUsage + * @generated from protobuf rpc: GetUsage */ - getMessagingUsage(input: GetMessagingUsageRequest, options?: RpcOptions): UnaryCall; + getUsage(input: GetMessagingUsageRequest, options?: RpcOptions): UnaryCall; /** - * @generated from protobuf rpc: IsMessagingMaxUsageReached + * @generated from protobuf rpc: IsMaxUsageReached */ - isMessagingMaxUsageReached(input: IsMessagingMaxUsageReachedRequest, options?: RpcOptions): UnaryCall; + isMaxUsageReached(input: IsMessagingMaxUsageReachedRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.MessagingService @@ -47,16 +47,16 @@ export class MessagingServiceClient implements IMessagingServiceClient, ServiceI return stackIntercept("unary", this._transport, method, opt, input); } /** - * @generated from protobuf rpc: GetMessagingUsage + * @generated from protobuf rpc: GetUsage */ - getMessagingUsage(input: GetMessagingUsageRequest, options?: RpcOptions): UnaryCall { + getUsage(input: GetMessagingUsageRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** - * @generated from protobuf rpc: IsMessagingMaxUsageReached + * @generated from protobuf rpc: IsMaxUsageReached */ - isMessagingMaxUsageReached(input: IsMessagingMaxUsageReachedRequest, options?: RpcOptions): UnaryCall { + isMaxUsageReached(input: IsMessagingMaxUsageReachedRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } diff --git a/messaging.ts b/messaging.ts index 55a381a..62905ca 100644 --- a/messaging.ts +++ b/messaging.ts @@ -361,6 +361,6 @@ export const IsMessagingMaxUsageReachedResponse = new IsMessagingMaxUsageReached */ export const MessagingService = new ServiceType("api.MessagingService", [ { name: "SendSMS", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messages"], description: "Send a SMS message to a recipient" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SendSMSRequest, O: SendSMSResponse }, - { name: "GetMessagingUsage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messages"], description: "Retrieve the current messaging usage for a Project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingUsageRequest, O: GetMessagingUsageResponse }, - { name: "IsMessagingMaxUsageReached", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messages"], description: "Check if the maximum messaging usage has been reached for a Project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: IsMessagingMaxUsageReachedRequest, O: IsMessagingMaxUsageReachedResponse } + { name: "GetUsage", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messages"], description: "Retrieve the current messaging usage for a Project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingUsageRequest, O: GetMessagingUsageResponse }, + { name: "IsMaxUsageReached", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messages"], description: "Check if the maximum messaging usage has been reached for a Project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: IsMessagingMaxUsageReachedRequest, O: IsMessagingMaxUsageReachedResponse } ], { "api.k8sService": "messaging-server" }); diff --git a/package.json b/package.json index 573dfc2..29a4291 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.14.0-SNAPSHOT-260616132808", + "version": "1.14.0-SNAPSHOT-260616135305", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",