@sniipwebmaster/loyalty-program-client-grpcweb 22.16.129 → 22.16.146

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.
@@ -74,6 +74,86 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient =
74
74
  };
75
75
 
76
76
 
77
+ /**
78
+ * @const
79
+ * @type {!grpc.web.MethodDescriptor<
80
+ * !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
81
+ * !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
82
+ */
83
+ const methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.MethodDescriptor(
84
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
85
+ grpc.web.MethodType.UNARY,
86
+ proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
87
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse,
88
+ /**
89
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
90
+ * @return {!Uint8Array}
91
+ */
92
+ function(request) {
93
+ return request.serializeBinary();
94
+ },
95
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
96
+ );
97
+
98
+
99
+ /**
100
+ * @const
101
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
102
+ * !proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest,
103
+ * !proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
104
+ */
105
+ const methodInfo_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram = new grpc.web.AbstractClientBase.MethodInfo(
106
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse,
107
+ /**
108
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request
109
+ * @return {!Uint8Array}
110
+ */
111
+ function(request) {
112
+ return request.serializeBinary();
113
+ },
114
+ proto.loyaltyprogramserviceapi.ProgramDetailResponse.deserializeBinary
115
+ );
116
+
117
+
118
+ /**
119
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
120
+ * request proto
121
+ * @param {?Object<string, string>} metadata User defined
122
+ * call metadata
123
+ * @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.ProgramDetailResponse)}
124
+ * callback The callback function(error, response)
125
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>|undefined}
126
+ * The XHR Node Readable Stream
127
+ */
128
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.createLoyaltyProgram =
129
+ function(request, metadata, callback) {
130
+ return this.client_.rpcCall(this.hostname_ +
131
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
132
+ request,
133
+ metadata || {},
134
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram,
135
+ callback);
136
+ };
137
+
138
+
139
+ /**
140
+ * @param {!proto.loyaltyprogramserviceapi.CreateLoyaltyProgramRequest} request The
141
+ * request proto
142
+ * @param {?Object<string, string>} metadata User defined
143
+ * call metadata
144
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.ProgramDetailResponse>}
145
+ * Promise that resolves to the response
146
+ */
147
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.createLoyaltyProgram =
148
+ function(request, metadata) {
149
+ return this.client_.unaryCall(this.hostname_ +
150
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/CreateLoyaltyProgram',
151
+ request,
152
+ metadata || {},
153
+ methodDescriptor_LoyaltyProgramServiceAPIService_CreateLoyaltyProgram);
154
+ };
155
+
156
+
77
157
  /**
78
158
  * @const
79
159
  * @type {!grpc.web.MethodDescriptor<
@@ -314,5 +394,85 @@ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prot
314
394
  };
315
395
 
316
396
 
397
+ /**
398
+ * @const
399
+ * @type {!grpc.web.MethodDescriptor<
400
+ * !proto.loyaltyprogramserviceapi.LinkMembershipRequest,
401
+ * !proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
402
+ */
403
+ const methodDescriptor_LoyaltyProgramServiceAPIService_LinkMembership = new grpc.web.MethodDescriptor(
404
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/LinkMembership',
405
+ grpc.web.MethodType.UNARY,
406
+ proto.loyaltyprogramserviceapi.LinkMembershipRequest,
407
+ proto.loyaltyprogramserviceapi.MembershipDetailResponse,
408
+ /**
409
+ * @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request
410
+ * @return {!Uint8Array}
411
+ */
412
+ function(request) {
413
+ return request.serializeBinary();
414
+ },
415
+ proto.loyaltyprogramserviceapi.MembershipDetailResponse.deserializeBinary
416
+ );
417
+
418
+
419
+ /**
420
+ * @const
421
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
422
+ * !proto.loyaltyprogramserviceapi.LinkMembershipRequest,
423
+ * !proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
424
+ */
425
+ const methodInfo_LoyaltyProgramServiceAPIService_LinkMembership = new grpc.web.AbstractClientBase.MethodInfo(
426
+ proto.loyaltyprogramserviceapi.MembershipDetailResponse,
427
+ /**
428
+ * @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request
429
+ * @return {!Uint8Array}
430
+ */
431
+ function(request) {
432
+ return request.serializeBinary();
433
+ },
434
+ proto.loyaltyprogramserviceapi.MembershipDetailResponse.deserializeBinary
435
+ );
436
+
437
+
438
+ /**
439
+ * @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request The
440
+ * request proto
441
+ * @param {?Object<string, string>} metadata User defined
442
+ * call metadata
443
+ * @param {function(?grpc.web.Error, ?proto.loyaltyprogramserviceapi.MembershipDetailResponse)}
444
+ * callback The callback function(error, response)
445
+ * @return {!grpc.web.ClientReadableStream<!proto.loyaltyprogramserviceapi.MembershipDetailResponse>|undefined}
446
+ * The XHR Node Readable Stream
447
+ */
448
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServiceClient.prototype.linkMembership =
449
+ function(request, metadata, callback) {
450
+ return this.client_.rpcCall(this.hostname_ +
451
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/LinkMembership',
452
+ request,
453
+ metadata || {},
454
+ methodDescriptor_LoyaltyProgramServiceAPIService_LinkMembership,
455
+ callback);
456
+ };
457
+
458
+
459
+ /**
460
+ * @param {!proto.loyaltyprogramserviceapi.LinkMembershipRequest} request The
461
+ * request proto
462
+ * @param {?Object<string, string>} metadata User defined
463
+ * call metadata
464
+ * @return {!Promise<!proto.loyaltyprogramserviceapi.MembershipDetailResponse>}
465
+ * Promise that resolves to the response
466
+ */
467
+ proto.loyaltyprogramserviceapi.LoyaltyProgramServiceAPIServicePromiseClient.prototype.linkMembership =
468
+ function(request, metadata) {
469
+ return this.client_.unaryCall(this.hostname_ +
470
+ '/loyaltyprogramserviceapi.LoyaltyProgramServiceAPIService/LinkMembership',
471
+ request,
472
+ metadata || {},
473
+ methodDescriptor_LoyaltyProgramServiceAPIService_LinkMembership);
474
+ };
475
+
476
+
317
477
  module.exports = proto.loyaltyprogramserviceapi;
318
478