@sniipwebmaster/loyalty-program-client-grpcweb 22.16.164 → 22.16.182
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/dependancies/service_grpc_web_pb.js +240 -0
- package/dependancies/service_pb.js +1151 -394
- package/package.json +1 -1
|
@@ -234,6 +234,86 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
234
234
|
};
|
|
235
235
|
|
|
236
236
|
|
|
237
|
+
/**
|
|
238
|
+
* @const
|
|
239
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
240
|
+
* !proto.loyaltyprogramserviceapi.GetMembershipListRequest,
|
|
241
|
+
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
242
|
+
*/
|
|
243
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.web.MethodDescriptor(
|
|
244
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
245
|
+
grpc.web.MethodType.UNARY,
|
|
246
|
+
proto.loyaltyprogramserviceapi.GetMembershipListRequest,
|
|
247
|
+
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
248
|
+
/**
|
|
249
|
+
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} request
|
|
250
|
+
* @return {!Uint8Array}
|
|
251
|
+
*/
|
|
252
|
+
function(request) {
|
|
253
|
+
return request.serializeBinary();
|
|
254
|
+
},
|
|
255
|
+
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.deserializeBinary
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @const
|
|
261
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
262
|
+
* !proto.loyaltyprogramserviceapi.GetMembershipListRequest,
|
|
263
|
+
* !proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
264
|
+
*/
|
|
265
|
+
const methodInfo_LoyaltyProgramServiceAPIService_GetMembershipList = new grpc.web.AbstractClientBase.MethodInfo(
|
|
266
|
+
proto.loyaltyprogramserviceapi.MembershipDetailsResponse,
|
|
267
|
+
/**
|
|
268
|
+
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} request
|
|
269
|
+
* @return {!Uint8Array}
|
|
270
|
+
*/
|
|
271
|
+
function(request) {
|
|
272
|
+
return request.serializeBinary();
|
|
273
|
+
},
|
|
274
|
+
proto.loyaltyprogramserviceapi.MembershipDetailsResponse.deserializeBinary
|
|
275
|
+
);
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} request The
|
|
280
|
+
* request proto
|
|
281
|
+
* @param {?Object<string, string>} metadata User defined
|
|
282
|
+
* call metadata
|
|
283
|
+
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.MembershipDetailsResponse)}
|
|
284
|
+
* callback The callback function(error, response)
|
|
285
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.MembershipDetailsResponse>|undefined}
|
|
286
|
+
* The XHR Node Readable Stream
|
|
287
|
+
*/
|
|
288
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.getMembershipList =
|
|
289
|
+
function(request, metadata, callback) {
|
|
290
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
291
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
292
|
+
request,
|
|
293
|
+
metadata || {},
|
|
294
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList,
|
|
295
|
+
callback);
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @param {!proto.loyaltyprogramserviceapi.GetMembershipListRequest} request The
|
|
301
|
+
* request proto
|
|
302
|
+
* @param {?Object<string, string>} metadata User defined
|
|
303
|
+
* call metadata
|
|
304
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.MembershipDetailsResponse>}
|
|
305
|
+
* Promise that resolves to the response
|
|
306
|
+
*/
|
|
307
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.getMembershipList =
|
|
308
|
+
function(request, metadata) {
|
|
309
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
310
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/GetMembershipList',
|
|
311
|
+
request,
|
|
312
|
+
metadata || {},
|
|
313
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_GetMembershipList);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
|
|
237
317
|
/**
|
|
238
318
|
* @const
|
|
239
319
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -554,6 +634,166 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
|
|
|
554
634
|
};
|
|
555
635
|
|
|
556
636
|
|
|
637
|
+
/**
|
|
638
|
+
* @const
|
|
639
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
640
|
+
* !proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest,
|
|
641
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
642
|
+
*/
|
|
643
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_SetDefaultMembership = new grpc.web.MethodDescriptor(
|
|
644
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetDefaultMembership',
|
|
645
|
+
grpc.web.MethodType.UNARY,
|
|
646
|
+
proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest,
|
|
647
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
648
|
+
/**
|
|
649
|
+
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request
|
|
650
|
+
* @return {!Uint8Array}
|
|
651
|
+
*/
|
|
652
|
+
function(request) {
|
|
653
|
+
return request.serializeBinary();
|
|
654
|
+
},
|
|
655
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
656
|
+
);
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @const
|
|
661
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
662
|
+
* !proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest,
|
|
663
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
664
|
+
*/
|
|
665
|
+
const methodInfo_LoyaltyProgramServiceAPIService_SetDefaultMembership = new grpc.web.AbstractClientBase.MethodInfo(
|
|
666
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
667
|
+
/**
|
|
668
|
+
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request
|
|
669
|
+
* @return {!Uint8Array}
|
|
670
|
+
*/
|
|
671
|
+
function(request) {
|
|
672
|
+
return request.serializeBinary();
|
|
673
|
+
},
|
|
674
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
675
|
+
);
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request The
|
|
680
|
+
* request proto
|
|
681
|
+
* @param {?Object<string, string>} metadata User defined
|
|
682
|
+
* call metadata
|
|
683
|
+
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
684
|
+
* callback The callback function(error, response)
|
|
685
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
686
|
+
* The XHR Node Readable Stream
|
|
687
|
+
*/
|
|
688
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.setDefaultMembership =
|
|
689
|
+
function(request, metadata, callback) {
|
|
690
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
691
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetDefaultMembership',
|
|
692
|
+
request,
|
|
693
|
+
metadata || {},
|
|
694
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_SetDefaultMembership,
|
|
695
|
+
callback);
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @param {!proto.loyaltyprogramserviceapi.SetDefaultMembershipRequest} request The
|
|
701
|
+
* request proto
|
|
702
|
+
* @param {?Object<string, string>} metadata User defined
|
|
703
|
+
* call metadata
|
|
704
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
705
|
+
* Promise that resolves to the response
|
|
706
|
+
*/
|
|
707
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.setDefaultMembership =
|
|
708
|
+
function(request, metadata) {
|
|
709
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
710
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/SetDefaultMembership',
|
|
711
|
+
request,
|
|
712
|
+
metadata || {},
|
|
713
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_SetDefaultMembership);
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @const
|
|
719
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
720
|
+
* !proto.loyaltyprogramserviceapi.UnLinkMembershipRequest,
|
|
721
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
722
|
+
*/
|
|
723
|
+
const methodDescriptor_LoyaltyProgramServiceAPIService_UnLinkMembership = new grpc.web.MethodDescriptor(
|
|
724
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UnLinkMembership',
|
|
725
|
+
grpc.web.MethodType.UNARY,
|
|
726
|
+
proto.loyaltyprogramserviceapi.UnLinkMembershipRequest,
|
|
727
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
728
|
+
/**
|
|
729
|
+
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request
|
|
730
|
+
* @return {!Uint8Array}
|
|
731
|
+
*/
|
|
732
|
+
function(request) {
|
|
733
|
+
return request.serializeBinary();
|
|
734
|
+
},
|
|
735
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
736
|
+
);
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* @const
|
|
741
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
742
|
+
* !proto.loyaltyprogramserviceapi.UnLinkMembershipRequest,
|
|
743
|
+
* !proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
744
|
+
*/
|
|
745
|
+
const methodInfo_LoyaltyProgramServiceAPIService_UnLinkMembership = new grpc.web.AbstractClientBase.MethodInfo(
|
|
746
|
+
proto.loyaltyprogramserviceapi.ResponseCode,
|
|
747
|
+
/**
|
|
748
|
+
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request
|
|
749
|
+
* @return {!Uint8Array}
|
|
750
|
+
*/
|
|
751
|
+
function(request) {
|
|
752
|
+
return request.serializeBinary();
|
|
753
|
+
},
|
|
754
|
+
proto.loyaltyprogramserviceapi.ResponseCode.deserializeBinary
|
|
755
|
+
);
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request The
|
|
760
|
+
* request proto
|
|
761
|
+
* @param {?Object<string, string>} metadata User defined
|
|
762
|
+
* call metadata
|
|
763
|
+
* @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ResponseCode)}
|
|
764
|
+
* callback The callback function(error, response)
|
|
765
|
+
* @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ResponseCode>|undefined}
|
|
766
|
+
* The XHR Node Readable Stream
|
|
767
|
+
*/
|
|
768
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.unLinkMembership =
|
|
769
|
+
function(request, metadata, callback) {
|
|
770
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
771
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UnLinkMembership',
|
|
772
|
+
request,
|
|
773
|
+
metadata || {},
|
|
774
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_UnLinkMembership,
|
|
775
|
+
callback);
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* @param {!proto.loyaltyprogramserviceapi.UnLinkMembershipRequest} request The
|
|
781
|
+
* request proto
|
|
782
|
+
* @param {?Object<string, string>} metadata User defined
|
|
783
|
+
* call metadata
|
|
784
|
+
* @return {!Promise<!proto.loyaltyprogramserviceapi.ResponseCode>}
|
|
785
|
+
* Promise that resolves to the response
|
|
786
|
+
*/
|
|
787
|
+
proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.unLinkMembership =
|
|
788
|
+
function(request, metadata) {
|
|
789
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
790
|
+
'/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/UnLinkMembership',
|
|
791
|
+
request,
|
|
792
|
+
metadata || {},
|
|
793
|
+
methodDescriptor_LoyaltyProgramServiceAPIService_UnLinkMembership);
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
557
797
|
/**
|
|
558
798
|
* @const
|
|
559
799
|
* @type {!grpc.web.MethodDescriptor<
|