@sniipwebmaster/loyalty-program-client-grpcweb 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.
@@ -871,6 +871,67 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
871
871
  };
872
872
 
873
873
 
874
+ /**
875
+ * @const
876
+ * @type {!grpc.web.MethodDescriptor<
877
+ * !proto.google.protobuf.Empty,
878
+ * !proto.loyaltyprogramserviceapi.ProgramDetailsResponse>}
879
+ */
880
+ const methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramListForAdmin = new grpc.web.MethodDescriptor(
881
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramListForAdmin',
882
+ grpc.web.MethodType.UNARY,
883
+ google_protobuf_empty_pb.Empty,
884
+ proto.loyaltyprogramserviceapi.ProgramDetailsResponse,
885
+ /**
886
+ * @param {!proto.google.protobuf.Empty} request
887
+ * @return {!Uint8Array}
888
+ */
889
+ function(request) {
890
+ return request.serializeBinary();
891
+ },
892
+ proto.loyaltyprogramserviceapi.ProgramDetailsResponse.deserializeBinary
893
+ );
894
+
895
+
896
+ /**
897
+ * @param {!proto.google.protobuf.Empty} request The
898
+ * request proto
899
+ * @param {?Object<string, string>} metadata User defined
900
+ * call metadata
901
+ * @param {function(?grpc.web.RpcError, ?proto.loyaltyprogramserviceapi.ProgramDetailsResponse)}
902
+ * callback The callback function(error, response)
903
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ProgramDetailsResponse>|undefined}
904
+ * The XHR Node Readable Stream
905
+ */
906
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getProgramListForAdmin =
907
+ function(request, metadata, callback) {
908
+ return this.client_.rpcCall(this.hostname_ +
909
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramListForAdmin',
910
+ request,
911
+ metadata || {},
912
+ methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramListForAdmin,
913
+ callback);
914
+ };
915
+
916
+
917
+ /**
918
+ * @param {!proto.google.protobuf.Empty} request The
919
+ * request proto
920
+ * @param {?Object<string, string>=} metadata User defined
921
+ * call metadata
922
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.ProgramDetailsResponse>}
923
+ * Promise that resolves to the response
924
+ */
925
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getProgramListForAdmin =
926
+ function(request, metadata) {
927
+ return this.client_.unaryCall(this.hostname_ +
928
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetProgramListForAdmin',
929
+ request,
930
+ metadata || {},
931
+ methodDescriptor_LoyaltyProgramServiceAPIService_GetProgramListForAdmin);
932
+ };
933
+
934
+
874
935
  /**
875
936
  * @const
876
937
  * @type {!grpc.web.MethodDescriptor<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/loyalty-program-client-grpcweb",
3
- "version": "25.11.2684",
3
+ "version": "25.11.2694",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",