@sniipwebmaster/loyalty-program-client-grpcweb-ts 25.11.2684 → 25.11.2694
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.
|
@@ -599,6 +599,49 @@ export class LoyaltyProgramServiceAPIServiceClient {
|
|
|
599
599
|
this.methodDescriptorGetProgramListInternal);
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
+
methodDescriptorGetProgramListForAdmin = new grpcWeb.MethodDescriptor(
|
|
603
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramListForAdmin',
|
|
604
|
+
grpcWeb.MethodType.UNARY,
|
|
605
|
+
google_protobuf_empty_pb.Empty,
|
|
606
|
+
service_pb.ProgramDetailsResponse,
|
|
607
|
+
(request: google_protobuf_empty_pb.Empty) => {
|
|
608
|
+
return request.serializeBinary();
|
|
609
|
+
},
|
|
610
|
+
service_pb.ProgramDetailsResponse.deserializeBinary
|
|
611
|
+
);
|
|
612
|
+
|
|
613
|
+
getProgramListForAdmin(
|
|
614
|
+
request: google_protobuf_empty_pb.Empty,
|
|
615
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.ProgramDetailsResponse>;
|
|
616
|
+
|
|
617
|
+
getProgramListForAdmin(
|
|
618
|
+
request: google_protobuf_empty_pb.Empty,
|
|
619
|
+
metadata: grpcWeb.Metadata | null,
|
|
620
|
+
callback: (err: grpcWeb.RpcError,
|
|
621
|
+
response: service_pb.ProgramDetailsResponse) => void): grpcWeb.ClientReadableStream<service_pb.ProgramDetailsResponse>;
|
|
622
|
+
|
|
623
|
+
getProgramListForAdmin(
|
|
624
|
+
request: google_protobuf_empty_pb.Empty,
|
|
625
|
+
metadata?: grpcWeb.Metadata | null,
|
|
626
|
+
callback?: (err: grpcWeb.RpcError,
|
|
627
|
+
response: service_pb.ProgramDetailsResponse) => void) {
|
|
628
|
+
if (callback !== undefined) {
|
|
629
|
+
return this.client_.rpcCall(
|
|
630
|
+
this.hostname_ +
|
|
631
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramListForAdmin',
|
|
632
|
+
request,
|
|
633
|
+
metadata || {},
|
|
634
|
+
this.methodDescriptorGetProgramListForAdmin,
|
|
635
|
+
callback);
|
|
636
|
+
}
|
|
637
|
+
return this.client_.unaryCall(
|
|
638
|
+
this.hostname_ +
|
|
639
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramListForAdmin',
|
|
640
|
+
request,
|
|
641
|
+
metadata || {},
|
|
642
|
+
this.methodDescriptorGetProgramListForAdmin);
|
|
643
|
+
}
|
|
644
|
+
|
|
602
645
|
methodDescriptorGetProgramForMembershipInternal = new grpcWeb.MethodDescriptor(
|
|
603
646
|
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramForMembershipInternal',
|
|
604
647
|
grpcWeb.MethodType.UNARY,
|