@sniipwebmaster/payroll-service-client-grpcweb 25.7.13 → 25.7.29
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @fileoverview gRPC-Web generated client stub for
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for payrollserviceapi
|
|
3
3
|
* @enhanceable
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ var google_type_decimal_pb = require('./google/type/decimal_pb.js')
|
|
|
28
28
|
|
|
29
29
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js')
|
|
30
30
|
const proto = {};
|
|
31
|
-
proto.
|
|
31
|
+
proto.payrollserviceapi = require('./service_pb.js');
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* @param {string} hostname
|
|
@@ -38,7 +38,7 @@ proto.worldpayserviceapi = require('./service_pb.js');
|
|
|
38
38
|
* @struct
|
|
39
39
|
* @final
|
|
40
40
|
*/
|
|
41
|
-
proto.
|
|
41
|
+
proto.payrollserviceapi.PayrollServiceClient =
|
|
42
42
|
function(hostname, credentials, options) {
|
|
43
43
|
if (!options) options = {};
|
|
44
44
|
options.format = 'text';
|
|
@@ -64,7 +64,7 @@ proto.worldpayserviceapi.PayrollServiceClient =
|
|
|
64
64
|
* @struct
|
|
65
65
|
* @final
|
|
66
66
|
*/
|
|
67
|
-
proto.
|
|
67
|
+
proto.payrollserviceapi.PayrollServicePromiseClient =
|
|
68
68
|
function(hostname, credentials, options) {
|
|
69
69
|
if (!options) options = {};
|
|
70
70
|
options.format = 'text';
|
|
@@ -86,13 +86,13 @@ proto.worldpayserviceapi.PayrollServicePromiseClient =
|
|
|
86
86
|
* @const
|
|
87
87
|
* @type {!grpc.web.MethodDescriptor<
|
|
88
88
|
* !proto.google.protobuf.Empty,
|
|
89
|
-
* !proto.
|
|
89
|
+
* !proto.payrollserviceapi.ResponseCode>}
|
|
90
90
|
*/
|
|
91
91
|
const methodDescriptor_PayrollService_Health = new grpc.web.MethodDescriptor(
|
|
92
|
-
'/
|
|
92
|
+
'/payrollserviceapi.PayrollService/Health',
|
|
93
93
|
grpc.web.MethodType.UNARY,
|
|
94
94
|
google_protobuf_empty_pb.Empty,
|
|
95
|
-
proto.
|
|
95
|
+
proto.payrollserviceapi.ResponseCode,
|
|
96
96
|
/**
|
|
97
97
|
* @param {!proto.google.protobuf.Empty} request
|
|
98
98
|
* @return {!Uint8Array}
|
|
@@ -100,7 +100,7 @@ const methodDescriptor_PayrollService_Health = new grpc.web.MethodDescriptor(
|
|
|
100
100
|
function(request) {
|
|
101
101
|
return request.serializeBinary();
|
|
102
102
|
},
|
|
103
|
-
proto.
|
|
103
|
+
proto.payrollserviceapi.ResponseCode.deserializeBinary
|
|
104
104
|
);
|
|
105
105
|
|
|
106
106
|
|
|
@@ -109,15 +109,15 @@ const methodDescriptor_PayrollService_Health = new grpc.web.MethodDescriptor(
|
|
|
109
109
|
* request proto
|
|
110
110
|
* @param {?Object<string, string>} metadata User defined
|
|
111
111
|
* call metadata
|
|
112
|
-
* @param {function(?grpc.web.RpcError, ?proto.
|
|
112
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.ResponseCode)}
|
|
113
113
|
* callback The callback function(error, response)
|
|
114
|
-
* @return {!grpc.web.ClientReadableStream<!proto.
|
|
114
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.ResponseCode>|undefined}
|
|
115
115
|
* The XHR Node Readable Stream
|
|
116
116
|
*/
|
|
117
|
-
proto.
|
|
117
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.health =
|
|
118
118
|
function(request, metadata, callback) {
|
|
119
119
|
return this.client_.rpcCall(this.hostname_ +
|
|
120
|
-
'/
|
|
120
|
+
'/payrollserviceapi.PayrollService/Health',
|
|
121
121
|
request,
|
|
122
122
|
metadata || {},
|
|
123
123
|
methodDescriptor_PayrollService_Health,
|
|
@@ -130,13 +130,13 @@ proto.worldpayserviceapi.PayrollServiceClient.prototype.health =
|
|
|
130
130
|
* request proto
|
|
131
131
|
* @param {?Object<string, string>=} metadata User defined
|
|
132
132
|
* call metadata
|
|
133
|
-
* @return {!Promise<!proto.
|
|
133
|
+
* @return {!Promise<!proto.payrollserviceapi.ResponseCode>}
|
|
134
134
|
* Promise that resolves to the response
|
|
135
135
|
*/
|
|
136
|
-
proto.
|
|
136
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.health =
|
|
137
137
|
function(request, metadata) {
|
|
138
138
|
return this.client_.unaryCall(this.hostname_ +
|
|
139
|
-
'/
|
|
139
|
+
'/payrollserviceapi.PayrollService/Health',
|
|
140
140
|
request,
|
|
141
141
|
metadata || {},
|
|
142
142
|
methodDescriptor_PayrollService_Health);
|
|
@@ -147,13 +147,13 @@ proto.worldpayserviceapi.PayrollServicePromiseClient.prototype.health =
|
|
|
147
147
|
* @const
|
|
148
148
|
* @type {!grpc.web.MethodDescriptor<
|
|
149
149
|
* !proto.google.protobuf.Empty,
|
|
150
|
-
* !proto.
|
|
150
|
+
* !proto.payrollserviceapi.ResponseCode>}
|
|
151
151
|
*/
|
|
152
152
|
const methodDescriptor_PayrollService_LocalHealth = new grpc.web.MethodDescriptor(
|
|
153
|
-
'/
|
|
153
|
+
'/payrollserviceapi.PayrollService/LocalHealth',
|
|
154
154
|
grpc.web.MethodType.UNARY,
|
|
155
155
|
google_protobuf_empty_pb.Empty,
|
|
156
|
-
proto.
|
|
156
|
+
proto.payrollserviceapi.ResponseCode,
|
|
157
157
|
/**
|
|
158
158
|
* @param {!proto.google.protobuf.Empty} request
|
|
159
159
|
* @return {!Uint8Array}
|
|
@@ -161,7 +161,7 @@ const methodDescriptor_PayrollService_LocalHealth = new grpc.web.MethodDescripto
|
|
|
161
161
|
function(request) {
|
|
162
162
|
return request.serializeBinary();
|
|
163
163
|
},
|
|
164
|
-
proto.
|
|
164
|
+
proto.payrollserviceapi.ResponseCode.deserializeBinary
|
|
165
165
|
);
|
|
166
166
|
|
|
167
167
|
|
|
@@ -170,15 +170,15 @@ const methodDescriptor_PayrollService_LocalHealth = new grpc.web.MethodDescripto
|
|
|
170
170
|
* request proto
|
|
171
171
|
* @param {?Object<string, string>} metadata User defined
|
|
172
172
|
* call metadata
|
|
173
|
-
* @param {function(?grpc.web.RpcError, ?proto.
|
|
173
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.ResponseCode)}
|
|
174
174
|
* callback The callback function(error, response)
|
|
175
|
-
* @return {!grpc.web.ClientReadableStream<!proto.
|
|
175
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.ResponseCode>|undefined}
|
|
176
176
|
* The XHR Node Readable Stream
|
|
177
177
|
*/
|
|
178
|
-
proto.
|
|
178
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.localHealth =
|
|
179
179
|
function(request, metadata, callback) {
|
|
180
180
|
return this.client_.rpcCall(this.hostname_ +
|
|
181
|
-
'/
|
|
181
|
+
'/payrollserviceapi.PayrollService/LocalHealth',
|
|
182
182
|
request,
|
|
183
183
|
metadata || {},
|
|
184
184
|
methodDescriptor_PayrollService_LocalHealth,
|
|
@@ -191,18 +191,18 @@ proto.worldpayserviceapi.PayrollServiceClient.prototype.localHealth =
|
|
|
191
191
|
* request proto
|
|
192
192
|
* @param {?Object<string, string>=} metadata User defined
|
|
193
193
|
* call metadata
|
|
194
|
-
* @return {!Promise<!proto.
|
|
194
|
+
* @return {!Promise<!proto.payrollserviceapi.ResponseCode>}
|
|
195
195
|
* Promise that resolves to the response
|
|
196
196
|
*/
|
|
197
|
-
proto.
|
|
197
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.localHealth =
|
|
198
198
|
function(request, metadata) {
|
|
199
199
|
return this.client_.unaryCall(this.hostname_ +
|
|
200
|
-
'/
|
|
200
|
+
'/payrollserviceapi.PayrollService/LocalHealth',
|
|
201
201
|
request,
|
|
202
202
|
metadata || {},
|
|
203
203
|
methodDescriptor_PayrollService_LocalHealth);
|
|
204
204
|
};
|
|
205
205
|
|
|
206
206
|
|
|
207
|
-
module.exports = proto.
|
|
207
|
+
module.exports = proto.payrollserviceapi;
|
|
208
208
|
|
|
@@ -23,7 +23,7 @@ var google_type_decimal_pb = require('./google/type/decimal_pb.js');
|
|
|
23
23
|
goog.object.extend(proto, google_type_decimal_pb);
|
|
24
24
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
25
25
|
goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
|
|
26
|
-
goog.exportSymbol('proto.
|
|
26
|
+
goog.exportSymbol('proto.payrollserviceapi.ResponseCode', null, global);
|
|
27
27
|
/**
|
|
28
28
|
* Generated by JsPbCodeGenerator.
|
|
29
29
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -34,16 +34,16 @@ goog.exportSymbol('proto.worldpayserviceapi.ResponseCode', null, global);
|
|
|
34
34
|
* @extends {jspb.Message}
|
|
35
35
|
* @constructor
|
|
36
36
|
*/
|
|
37
|
-
proto.
|
|
37
|
+
proto.payrollserviceapi.ResponseCode = function(opt_data) {
|
|
38
38
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
39
39
|
};
|
|
40
|
-
goog.inherits(proto.
|
|
40
|
+
goog.inherits(proto.payrollserviceapi.ResponseCode, jspb.Message);
|
|
41
41
|
if (goog.DEBUG && !COMPILED) {
|
|
42
42
|
/**
|
|
43
43
|
* @public
|
|
44
44
|
* @override
|
|
45
45
|
*/
|
|
46
|
-
proto.
|
|
46
|
+
proto.payrollserviceapi.ResponseCode.displayName = 'proto.payrollserviceapi.ResponseCode';
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
@@ -61,8 +61,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
61
61
|
* http://goto/soy-param-migration
|
|
62
62
|
* @return {!Object}
|
|
63
63
|
*/
|
|
64
|
-
proto.
|
|
65
|
-
return proto.
|
|
64
|
+
proto.payrollserviceapi.ResponseCode.prototype.toObject = function(opt_includeInstance) {
|
|
65
|
+
return proto.payrollserviceapi.ResponseCode.toObject(opt_includeInstance, this);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
|
|
@@ -71,11 +71,11 @@ proto.worldpayserviceapi.ResponseCode.prototype.toObject = function(opt_includeI
|
|
|
71
71
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72
72
|
* the JSPB instance for transitional soy proto support:
|
|
73
73
|
* http://goto/soy-param-migration
|
|
74
|
-
* @param {!proto.
|
|
74
|
+
* @param {!proto.payrollserviceapi.ResponseCode} msg The msg instance to transform.
|
|
75
75
|
* @return {!Object}
|
|
76
76
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77
77
|
*/
|
|
78
|
-
proto.
|
|
78
|
+
proto.payrollserviceapi.ResponseCode.toObject = function(includeInstance, msg) {
|
|
79
79
|
var f, obj = {
|
|
80
80
|
message: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
81
81
|
code: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -92,23 +92,23 @@ proto.worldpayserviceapi.ResponseCode.toObject = function(includeInstance, msg)
|
|
|
92
92
|
/**
|
|
93
93
|
* Deserializes binary data (in protobuf wire format).
|
|
94
94
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
95
|
-
* @return {!proto.
|
|
95
|
+
* @return {!proto.payrollserviceapi.ResponseCode}
|
|
96
96
|
*/
|
|
97
|
-
proto.
|
|
97
|
+
proto.payrollserviceapi.ResponseCode.deserializeBinary = function(bytes) {
|
|
98
98
|
var reader = new jspb.BinaryReader(bytes);
|
|
99
|
-
var msg = new proto.
|
|
100
|
-
return proto.
|
|
99
|
+
var msg = new proto.payrollserviceapi.ResponseCode;
|
|
100
|
+
return proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader(msg, reader);
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Deserializes binary data (in protobuf wire format) from the
|
|
106
106
|
* given reader into the given message object.
|
|
107
|
-
* @param {!proto.
|
|
107
|
+
* @param {!proto.payrollserviceapi.ResponseCode} msg The message object to deserialize into.
|
|
108
108
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
109
|
-
* @return {!proto.
|
|
109
|
+
* @return {!proto.payrollserviceapi.ResponseCode}
|
|
110
110
|
*/
|
|
111
|
-
proto.
|
|
111
|
+
proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
112
112
|
while (reader.nextField()) {
|
|
113
113
|
if (reader.isEndGroup()) {
|
|
114
114
|
break;
|
|
@@ -136,9 +136,9 @@ proto.worldpayserviceapi.ResponseCode.deserializeBinaryFromReader = function(msg
|
|
|
136
136
|
* Serializes the message to binary data (in protobuf wire format).
|
|
137
137
|
* @return {!Uint8Array}
|
|
138
138
|
*/
|
|
139
|
-
proto.
|
|
139
|
+
proto.payrollserviceapi.ResponseCode.prototype.serializeBinary = function() {
|
|
140
140
|
var writer = new jspb.BinaryWriter();
|
|
141
|
-
proto.
|
|
141
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter(this, writer);
|
|
142
142
|
return writer.getResultBuffer();
|
|
143
143
|
};
|
|
144
144
|
|
|
@@ -146,11 +146,11 @@ proto.worldpayserviceapi.ResponseCode.prototype.serializeBinary = function() {
|
|
|
146
146
|
/**
|
|
147
147
|
* Serializes the given message to binary data (in protobuf wire
|
|
148
148
|
* format), writing to the given BinaryWriter.
|
|
149
|
-
* @param {!proto.
|
|
149
|
+
* @param {!proto.payrollserviceapi.ResponseCode} message
|
|
150
150
|
* @param {!jspb.BinaryWriter} writer
|
|
151
151
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
152
152
|
*/
|
|
153
|
-
proto.
|
|
153
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter = function(message, writer) {
|
|
154
154
|
var f = undefined;
|
|
155
155
|
f = message.getMessage();
|
|
156
156
|
if (f.length > 0) {
|
|
@@ -173,16 +173,16 @@ proto.worldpayserviceapi.ResponseCode.serializeBinaryToWriter = function(message
|
|
|
173
173
|
* optional string message = 1;
|
|
174
174
|
* @return {string}
|
|
175
175
|
*/
|
|
176
|
-
proto.
|
|
176
|
+
proto.payrollserviceapi.ResponseCode.prototype.getMessage = function() {
|
|
177
177
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
182
|
* @param {string} value
|
|
183
|
-
* @return {!proto.
|
|
183
|
+
* @return {!proto.payrollserviceapi.ResponseCode} returns this
|
|
184
184
|
*/
|
|
185
|
-
proto.
|
|
185
|
+
proto.payrollserviceapi.ResponseCode.prototype.setMessage = function(value) {
|
|
186
186
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
187
187
|
};
|
|
188
188
|
|
|
@@ -191,18 +191,18 @@ proto.worldpayserviceapi.ResponseCode.prototype.setMessage = function(value) {
|
|
|
191
191
|
* optional int32 code = 2;
|
|
192
192
|
* @return {number}
|
|
193
193
|
*/
|
|
194
|
-
proto.
|
|
194
|
+
proto.payrollserviceapi.ResponseCode.prototype.getCode = function() {
|
|
195
195
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
196
196
|
};
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* @param {number} value
|
|
201
|
-
* @return {!proto.
|
|
201
|
+
* @return {!proto.payrollserviceapi.ResponseCode} returns this
|
|
202
202
|
*/
|
|
203
|
-
proto.
|
|
203
|
+
proto.payrollserviceapi.ResponseCode.prototype.setCode = function(value) {
|
|
204
204
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
|
|
208
|
-
goog.object.extend(exports, proto.
|
|
208
|
+
goog.object.extend(exports, proto.payrollserviceapi);
|