@sniipwebmaster/config-service-client-grpcweb 26.2.2123 → 26.2.2143

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.
@@ -0,0 +1,1607 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for sniipappappconfigapi
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v3.20.1
11
+ // source: service.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+
19
+ const grpc = {};
20
+ grpc.web = require('grpc-web');
21
+
22
+
23
+ var google_api_annotations_pb = require('./google/api/annotations_pb.js')
24
+
25
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
26
+ const proto = {};
27
+ proto.sniipappappconfigapi = require('./service_pb.js');
28
+
29
+ /**
30
+ * @param {string} hostname
31
+ * @param {?Object} credentials
32
+ * @param {?grpc.web.ClientOptions} options
33
+ * @constructor
34
+ * @struct
35
+ * @final
36
+ */
37
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient =
38
+ function(hostname, credentials, options) {
39
+ if (!options) options = {};
40
+ options.format = 'text';
41
+
42
+ /**
43
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
44
+ */
45
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
46
+
47
+ /**
48
+ * @private @const {string} The hostname
49
+ */
50
+ this.hostname_ = hostname.replace(/\/+$/, '');
51
+
52
+ };
53
+
54
+
55
+ /**
56
+ * @param {string} hostname
57
+ * @param {?Object} credentials
58
+ * @param {?grpc.web.ClientOptions} options
59
+ * @constructor
60
+ * @struct
61
+ * @final
62
+ */
63
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient =
64
+ function(hostname, credentials, options) {
65
+ if (!options) options = {};
66
+ options.format = 'text';
67
+
68
+ /**
69
+ * @private @const {!grpc.web.GrpcWebClientBase} The client
70
+ */
71
+ this.client_ = new grpc.web.GrpcWebClientBase(options);
72
+
73
+ /**
74
+ * @private @const {string} The hostname
75
+ */
76
+ this.hostname_ = hostname.replace(/\/+$/, '');
77
+
78
+ };
79
+
80
+
81
+ /**
82
+ * @const
83
+ * @type {!grpc.web.MethodDescriptor<
84
+ * !proto.sniipappappconfigapi.AddOnboardingScreenRequest,
85
+ * !proto.sniipappappconfigapi.ResponseCode>}
86
+ */
87
+ const methodDescriptor_SniipAppAppConfigAPIService_AddOnboardingScreen = new grpc.web.MethodDescriptor(
88
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/AddOnboardingScreen',
89
+ grpc.web.MethodType.UNARY,
90
+ proto.sniipappappconfigapi.AddOnboardingScreenRequest,
91
+ proto.sniipappappconfigapi.ResponseCode,
92
+ /**
93
+ * @param {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} request
94
+ * @return {!Uint8Array}
95
+ */
96
+ function(request) {
97
+ return request.serializeBinary();
98
+ },
99
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
100
+ );
101
+
102
+
103
+ /**
104
+ * @param {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} request The
105
+ * request proto
106
+ * @param {?Object<string, string>} metadata User defined
107
+ * call metadata
108
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ResponseCode)}
109
+ * callback The callback function(error, response)
110
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
111
+ * The XHR Node Readable Stream
112
+ */
113
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.addOnboardingScreen =
114
+ function(request, metadata, callback) {
115
+ return this.client_.rpcCall(this.hostname_ +
116
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/AddOnboardingScreen',
117
+ request,
118
+ metadata || {},
119
+ methodDescriptor_SniipAppAppConfigAPIService_AddOnboardingScreen,
120
+ callback);
121
+ };
122
+
123
+
124
+ /**
125
+ * @param {!proto.sniipappappconfigapi.AddOnboardingScreenRequest} request The
126
+ * request proto
127
+ * @param {?Object<string, string>=} metadata User defined
128
+ * call metadata
129
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
130
+ * Promise that resolves to the response
131
+ */
132
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.addOnboardingScreen =
133
+ function(request, metadata) {
134
+ return this.client_.unaryCall(this.hostname_ +
135
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/AddOnboardingScreen',
136
+ request,
137
+ metadata || {},
138
+ methodDescriptor_SniipAppAppConfigAPIService_AddOnboardingScreen);
139
+ };
140
+
141
+
142
+ /**
143
+ * @const
144
+ * @type {!grpc.web.MethodDescriptor<
145
+ * !proto.sniipappappconfigapi.AppConfiggetConfigRequest,
146
+ * !proto.sniipappappconfigapi.GetConfigResponse>}
147
+ */
148
+ const methodDescriptor_SniipAppAppConfigAPIService_AppConfiggetConfig = new grpc.web.MethodDescriptor(
149
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/AppConfiggetConfig',
150
+ grpc.web.MethodType.UNARY,
151
+ proto.sniipappappconfigapi.AppConfiggetConfigRequest,
152
+ proto.sniipappappconfigapi.GetConfigResponse,
153
+ /**
154
+ * @param {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} request
155
+ * @return {!Uint8Array}
156
+ */
157
+ function(request) {
158
+ return request.serializeBinary();
159
+ },
160
+ proto.sniipappappconfigapi.GetConfigResponse.deserializeBinary
161
+ );
162
+
163
+
164
+ /**
165
+ * @param {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} request The
166
+ * request proto
167
+ * @param {?Object<string, string>} metadata User defined
168
+ * call metadata
169
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.GetConfigResponse)}
170
+ * callback The callback function(error, response)
171
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.GetConfigResponse>|undefined}
172
+ * The XHR Node Readable Stream
173
+ */
174
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.appConfiggetConfig =
175
+ function(request, metadata, callback) {
176
+ return this.client_.rpcCall(this.hostname_ +
177
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/AppConfiggetConfig',
178
+ request,
179
+ metadata || {},
180
+ methodDescriptor_SniipAppAppConfigAPIService_AppConfiggetConfig,
181
+ callback);
182
+ };
183
+
184
+
185
+ /**
186
+ * @param {!proto.sniipappappconfigapi.AppConfiggetConfigRequest} request The
187
+ * request proto
188
+ * @param {?Object<string, string>=} metadata User defined
189
+ * call metadata
190
+ * @return {!Promise<!proto.sniipappappconfigapi.GetConfigResponse>}
191
+ * Promise that resolves to the response
192
+ */
193
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.appConfiggetConfig =
194
+ function(request, metadata) {
195
+ return this.client_.unaryCall(this.hostname_ +
196
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/AppConfiggetConfig',
197
+ request,
198
+ metadata || {},
199
+ methodDescriptor_SniipAppAppConfigAPIService_AppConfiggetConfig);
200
+ };
201
+
202
+
203
+ /**
204
+ * @const
205
+ * @type {!grpc.web.MethodDescriptor<
206
+ * !proto.sniipappappconfigapi.CreateConfigRequest,
207
+ * !proto.sniipappappconfigapi.ResponseCode>}
208
+ */
209
+ const methodDescriptor_SniipAppAppConfigAPIService_CreateConfig = new grpc.web.MethodDescriptor(
210
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateConfig',
211
+ grpc.web.MethodType.UNARY,
212
+ proto.sniipappappconfigapi.CreateConfigRequest,
213
+ proto.sniipappappconfigapi.ResponseCode,
214
+ /**
215
+ * @param {!proto.sniipappappconfigapi.CreateConfigRequest} request
216
+ * @return {!Uint8Array}
217
+ */
218
+ function(request) {
219
+ return request.serializeBinary();
220
+ },
221
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
222
+ );
223
+
224
+
225
+ /**
226
+ * @param {!proto.sniipappappconfigapi.CreateConfigRequest} request The
227
+ * request proto
228
+ * @param {?Object<string, string>} metadata User defined
229
+ * call metadata
230
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ResponseCode)}
231
+ * callback The callback function(error, response)
232
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
233
+ * The XHR Node Readable Stream
234
+ */
235
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.createConfig =
236
+ function(request, metadata, callback) {
237
+ return this.client_.rpcCall(this.hostname_ +
238
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateConfig',
239
+ request,
240
+ metadata || {},
241
+ methodDescriptor_SniipAppAppConfigAPIService_CreateConfig,
242
+ callback);
243
+ };
244
+
245
+
246
+ /**
247
+ * @param {!proto.sniipappappconfigapi.CreateConfigRequest} request The
248
+ * request proto
249
+ * @param {?Object<string, string>=} metadata User defined
250
+ * call metadata
251
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
252
+ * Promise that resolves to the response
253
+ */
254
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.createConfig =
255
+ function(request, metadata) {
256
+ return this.client_.unaryCall(this.hostname_ +
257
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateConfig',
258
+ request,
259
+ metadata || {},
260
+ methodDescriptor_SniipAppAppConfigAPIService_CreateConfig);
261
+ };
262
+
263
+
264
+ /**
265
+ * @const
266
+ * @type {!grpc.web.MethodDescriptor<
267
+ * !proto.sniipappappconfigapi.CreateTermsAndConditionsRequest,
268
+ * !proto.sniipappappconfigapi.TermsAndConditionsResponse>}
269
+ */
270
+ const methodDescriptor_SniipAppAppConfigAPIService_CreateTermsAndConditions = new grpc.web.MethodDescriptor(
271
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateTermsAndConditions',
272
+ grpc.web.MethodType.UNARY,
273
+ proto.sniipappappconfigapi.CreateTermsAndConditionsRequest,
274
+ proto.sniipappappconfigapi.TermsAndConditionsResponse,
275
+ /**
276
+ * @param {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} request
277
+ * @return {!Uint8Array}
278
+ */
279
+ function(request) {
280
+ return request.serializeBinary();
281
+ },
282
+ proto.sniipappappconfigapi.TermsAndConditionsResponse.deserializeBinary
283
+ );
284
+
285
+
286
+ /**
287
+ * @param {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} request The
288
+ * request proto
289
+ * @param {?Object<string, string>} metadata User defined
290
+ * call metadata
291
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.TermsAndConditionsResponse)}
292
+ * callback The callback function(error, response)
293
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.TermsAndConditionsResponse>|undefined}
294
+ * The XHR Node Readable Stream
295
+ */
296
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.createTermsAndConditions =
297
+ function(request, metadata, callback) {
298
+ return this.client_.rpcCall(this.hostname_ +
299
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateTermsAndConditions',
300
+ request,
301
+ metadata || {},
302
+ methodDescriptor_SniipAppAppConfigAPIService_CreateTermsAndConditions,
303
+ callback);
304
+ };
305
+
306
+
307
+ /**
308
+ * @param {!proto.sniipappappconfigapi.CreateTermsAndConditionsRequest} request The
309
+ * request proto
310
+ * @param {?Object<string, string>=} metadata User defined
311
+ * call metadata
312
+ * @return {!Promise<!proto.sniipappappconfigapi.TermsAndConditionsResponse>}
313
+ * Promise that resolves to the response
314
+ */
315
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.createTermsAndConditions =
316
+ function(request, metadata) {
317
+ return this.client_.unaryCall(this.hostname_ +
318
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateTermsAndConditions',
319
+ request,
320
+ metadata || {},
321
+ methodDescriptor_SniipAppAppConfigAPIService_CreateTermsAndConditions);
322
+ };
323
+
324
+
325
+ /**
326
+ * @const
327
+ * @type {!grpc.web.MethodDescriptor<
328
+ * !proto.sniipappappconfigapi.GetConfigRequest,
329
+ * !proto.sniipappappconfigapi.GetConfigResponse>}
330
+ */
331
+ const methodDescriptor_SniipAppAppConfigAPIService_GetConfig = new grpc.web.MethodDescriptor(
332
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetConfig',
333
+ grpc.web.MethodType.UNARY,
334
+ proto.sniipappappconfigapi.GetConfigRequest,
335
+ proto.sniipappappconfigapi.GetConfigResponse,
336
+ /**
337
+ * @param {!proto.sniipappappconfigapi.GetConfigRequest} request
338
+ * @return {!Uint8Array}
339
+ */
340
+ function(request) {
341
+ return request.serializeBinary();
342
+ },
343
+ proto.sniipappappconfigapi.GetConfigResponse.deserializeBinary
344
+ );
345
+
346
+
347
+ /**
348
+ * @param {!proto.sniipappappconfigapi.GetConfigRequest} request The
349
+ * request proto
350
+ * @param {?Object<string, string>} metadata User defined
351
+ * call metadata
352
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.GetConfigResponse)}
353
+ * callback The callback function(error, response)
354
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.GetConfigResponse>|undefined}
355
+ * The XHR Node Readable Stream
356
+ */
357
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getConfig =
358
+ function(request, metadata, callback) {
359
+ return this.client_.rpcCall(this.hostname_ +
360
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetConfig',
361
+ request,
362
+ metadata || {},
363
+ methodDescriptor_SniipAppAppConfigAPIService_GetConfig,
364
+ callback);
365
+ };
366
+
367
+
368
+ /**
369
+ * @param {!proto.sniipappappconfigapi.GetConfigRequest} request The
370
+ * request proto
371
+ * @param {?Object<string, string>=} metadata User defined
372
+ * call metadata
373
+ * @return {!Promise<!proto.sniipappappconfigapi.GetConfigResponse>}
374
+ * Promise that resolves to the response
375
+ */
376
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getConfig =
377
+ function(request, metadata) {
378
+ return this.client_.unaryCall(this.hostname_ +
379
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetConfig',
380
+ request,
381
+ metadata || {},
382
+ methodDescriptor_SniipAppAppConfigAPIService_GetConfig);
383
+ };
384
+
385
+
386
+ /**
387
+ * @const
388
+ * @type {!grpc.web.MethodDescriptor<
389
+ * !proto.google.protobuf.Empty,
390
+ * !proto.sniipappappconfigapi.DashboardItemsResponse>}
391
+ */
392
+ const methodDescriptor_SniipAppAppConfigAPIService_GetDashboardItems = new grpc.web.MethodDescriptor(
393
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetDashboardItems',
394
+ grpc.web.MethodType.UNARY,
395
+ google_protobuf_empty_pb.Empty,
396
+ proto.sniipappappconfigapi.DashboardItemsResponse,
397
+ /**
398
+ * @param {!proto.google.protobuf.Empty} request
399
+ * @return {!Uint8Array}
400
+ */
401
+ function(request) {
402
+ return request.serializeBinary();
403
+ },
404
+ proto.sniipappappconfigapi.DashboardItemsResponse.deserializeBinary
405
+ );
406
+
407
+
408
+ /**
409
+ * @param {!proto.google.protobuf.Empty} request The
410
+ * request proto
411
+ * @param {?Object<string, string>} metadata User defined
412
+ * call metadata
413
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.DashboardItemsResponse)}
414
+ * callback The callback function(error, response)
415
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.DashboardItemsResponse>|undefined}
416
+ * The XHR Node Readable Stream
417
+ */
418
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getDashboardItems =
419
+ function(request, metadata, callback) {
420
+ return this.client_.rpcCall(this.hostname_ +
421
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetDashboardItems',
422
+ request,
423
+ metadata || {},
424
+ methodDescriptor_SniipAppAppConfigAPIService_GetDashboardItems,
425
+ callback);
426
+ };
427
+
428
+
429
+ /**
430
+ * @param {!proto.google.protobuf.Empty} request The
431
+ * request proto
432
+ * @param {?Object<string, string>=} metadata User defined
433
+ * call metadata
434
+ * @return {!Promise<!proto.sniipappappconfigapi.DashboardItemsResponse>}
435
+ * Promise that resolves to the response
436
+ */
437
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getDashboardItems =
438
+ function(request, metadata) {
439
+ return this.client_.unaryCall(this.hostname_ +
440
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetDashboardItems',
441
+ request,
442
+ metadata || {},
443
+ methodDescriptor_SniipAppAppConfigAPIService_GetDashboardItems);
444
+ };
445
+
446
+
447
+ /**
448
+ * @const
449
+ * @type {!grpc.web.MethodDescriptor<
450
+ * !proto.google.protobuf.Empty,
451
+ * !proto.sniipappappconfigapi.TermsAndConditionsResponse>}
452
+ */
453
+ const methodDescriptor_SniipAppAppConfigAPIService_GetTermsAndConditions = new grpc.web.MethodDescriptor(
454
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditions',
455
+ grpc.web.MethodType.UNARY,
456
+ google_protobuf_empty_pb.Empty,
457
+ proto.sniipappappconfigapi.TermsAndConditionsResponse,
458
+ /**
459
+ * @param {!proto.google.protobuf.Empty} request
460
+ * @return {!Uint8Array}
461
+ */
462
+ function(request) {
463
+ return request.serializeBinary();
464
+ },
465
+ proto.sniipappappconfigapi.TermsAndConditionsResponse.deserializeBinary
466
+ );
467
+
468
+
469
+ /**
470
+ * @param {!proto.google.protobuf.Empty} request The
471
+ * request proto
472
+ * @param {?Object<string, string>} metadata User defined
473
+ * call metadata
474
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.TermsAndConditionsResponse)}
475
+ * callback The callback function(error, response)
476
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.TermsAndConditionsResponse>|undefined}
477
+ * The XHR Node Readable Stream
478
+ */
479
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getTermsAndConditions =
480
+ function(request, metadata, callback) {
481
+ return this.client_.rpcCall(this.hostname_ +
482
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditions',
483
+ request,
484
+ metadata || {},
485
+ methodDescriptor_SniipAppAppConfigAPIService_GetTermsAndConditions,
486
+ callback);
487
+ };
488
+
489
+
490
+ /**
491
+ * @param {!proto.google.protobuf.Empty} request The
492
+ * request proto
493
+ * @param {?Object<string, string>=} metadata User defined
494
+ * call metadata
495
+ * @return {!Promise<!proto.sniipappappconfigapi.TermsAndConditionsResponse>}
496
+ * Promise that resolves to the response
497
+ */
498
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getTermsAndConditions =
499
+ function(request, metadata) {
500
+ return this.client_.unaryCall(this.hostname_ +
501
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditions',
502
+ request,
503
+ metadata || {},
504
+ methodDescriptor_SniipAppAppConfigAPIService_GetTermsAndConditions);
505
+ };
506
+
507
+
508
+ /**
509
+ * @const
510
+ * @type {!grpc.web.MethodDescriptor<
511
+ * !proto.sniipappappconfigapi.TermsAndConditionsRequestInternal,
512
+ * !proto.sniipappappconfigapi.TermsAndConditionsResponse>}
513
+ */
514
+ const methodDescriptor_SniipAppAppConfigAPIService_GetTermsAndConditionsInternal = new grpc.web.MethodDescriptor(
515
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditionsInternal',
516
+ grpc.web.MethodType.UNARY,
517
+ proto.sniipappappconfigapi.TermsAndConditionsRequestInternal,
518
+ proto.sniipappappconfigapi.TermsAndConditionsResponse,
519
+ /**
520
+ * @param {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} request
521
+ * @return {!Uint8Array}
522
+ */
523
+ function(request) {
524
+ return request.serializeBinary();
525
+ },
526
+ proto.sniipappappconfigapi.TermsAndConditionsResponse.deserializeBinary
527
+ );
528
+
529
+
530
+ /**
531
+ * @param {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} request The
532
+ * request proto
533
+ * @param {?Object<string, string>} metadata User defined
534
+ * call metadata
535
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.TermsAndConditionsResponse)}
536
+ * callback The callback function(error, response)
537
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.TermsAndConditionsResponse>|undefined}
538
+ * The XHR Node Readable Stream
539
+ */
540
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getTermsAndConditionsInternal =
541
+ function(request, metadata, callback) {
542
+ return this.client_.rpcCall(this.hostname_ +
543
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditionsInternal',
544
+ request,
545
+ metadata || {},
546
+ methodDescriptor_SniipAppAppConfigAPIService_GetTermsAndConditionsInternal,
547
+ callback);
548
+ };
549
+
550
+
551
+ /**
552
+ * @param {!proto.sniipappappconfigapi.TermsAndConditionsRequestInternal} request The
553
+ * request proto
554
+ * @param {?Object<string, string>=} metadata User defined
555
+ * call metadata
556
+ * @return {!Promise<!proto.sniipappappconfigapi.TermsAndConditionsResponse>}
557
+ * Promise that resolves to the response
558
+ */
559
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getTermsAndConditionsInternal =
560
+ function(request, metadata) {
561
+ return this.client_.unaryCall(this.hostname_ +
562
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetTermsAndConditionsInternal',
563
+ request,
564
+ metadata || {},
565
+ methodDescriptor_SniipAppAppConfigAPIService_GetTermsAndConditionsInternal);
566
+ };
567
+
568
+
569
+ /**
570
+ * @const
571
+ * @type {!grpc.web.MethodDescriptor<
572
+ * !proto.google.protobuf.Empty,
573
+ * !proto.sniipappappconfigapi.UserConfigResponse>}
574
+ */
575
+ const methodDescriptor_SniipAppAppConfigAPIService_GetUserConfig = new grpc.web.MethodDescriptor(
576
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetUserConfig',
577
+ grpc.web.MethodType.UNARY,
578
+ google_protobuf_empty_pb.Empty,
579
+ proto.sniipappappconfigapi.UserConfigResponse,
580
+ /**
581
+ * @param {!proto.google.protobuf.Empty} request
582
+ * @return {!Uint8Array}
583
+ */
584
+ function(request) {
585
+ return request.serializeBinary();
586
+ },
587
+ proto.sniipappappconfigapi.UserConfigResponse.deserializeBinary
588
+ );
589
+
590
+
591
+ /**
592
+ * @param {!proto.google.protobuf.Empty} request The
593
+ * request proto
594
+ * @param {?Object<string, string>} metadata User defined
595
+ * call metadata
596
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.UserConfigResponse)}
597
+ * callback The callback function(error, response)
598
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.UserConfigResponse>|undefined}
599
+ * The XHR Node Readable Stream
600
+ */
601
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getUserConfig =
602
+ function(request, metadata, callback) {
603
+ return this.client_.rpcCall(this.hostname_ +
604
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetUserConfig',
605
+ request,
606
+ metadata || {},
607
+ methodDescriptor_SniipAppAppConfigAPIService_GetUserConfig,
608
+ callback);
609
+ };
610
+
611
+
612
+ /**
613
+ * @param {!proto.google.protobuf.Empty} request The
614
+ * request proto
615
+ * @param {?Object<string, string>=} metadata User defined
616
+ * call metadata
617
+ * @return {!Promise<!proto.sniipappappconfigapi.UserConfigResponse>}
618
+ * Promise that resolves to the response
619
+ */
620
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getUserConfig =
621
+ function(request, metadata) {
622
+ return this.client_.unaryCall(this.hostname_ +
623
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetUserConfig',
624
+ request,
625
+ metadata || {},
626
+ methodDescriptor_SniipAppAppConfigAPIService_GetUserConfig);
627
+ };
628
+
629
+
630
+ /**
631
+ * @const
632
+ * @type {!grpc.web.MethodDescriptor<
633
+ * !proto.google.protobuf.Empty,
634
+ * !proto.sniipappappconfigapi.ResponseCode>}
635
+ */
636
+ const methodDescriptor_SniipAppAppConfigAPIService_HealthCheck = new grpc.web.MethodDescriptor(
637
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/HealthCheck',
638
+ grpc.web.MethodType.UNARY,
639
+ google_protobuf_empty_pb.Empty,
640
+ proto.sniipappappconfigapi.ResponseCode,
641
+ /**
642
+ * @param {!proto.google.protobuf.Empty} request
643
+ * @return {!Uint8Array}
644
+ */
645
+ function(request) {
646
+ return request.serializeBinary();
647
+ },
648
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
649
+ );
650
+
651
+
652
+ /**
653
+ * @param {!proto.google.protobuf.Empty} request The
654
+ * request proto
655
+ * @param {?Object<string, string>} metadata User defined
656
+ * call metadata
657
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ResponseCode)}
658
+ * callback The callback function(error, response)
659
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
660
+ * The XHR Node Readable Stream
661
+ */
662
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.healthCheck =
663
+ function(request, metadata, callback) {
664
+ return this.client_.rpcCall(this.hostname_ +
665
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/HealthCheck',
666
+ request,
667
+ metadata || {},
668
+ methodDescriptor_SniipAppAppConfigAPIService_HealthCheck,
669
+ callback);
670
+ };
671
+
672
+
673
+ /**
674
+ * @param {!proto.google.protobuf.Empty} request The
675
+ * request proto
676
+ * @param {?Object<string, string>=} metadata User defined
677
+ * call metadata
678
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
679
+ * Promise that resolves to the response
680
+ */
681
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.healthCheck =
682
+ function(request, metadata) {
683
+ return this.client_.unaryCall(this.hostname_ +
684
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/HealthCheck',
685
+ request,
686
+ metadata || {},
687
+ methodDescriptor_SniipAppAppConfigAPIService_HealthCheck);
688
+ };
689
+
690
+
691
+ /**
692
+ * @const
693
+ * @type {!grpc.web.MethodDescriptor<
694
+ * !proto.sniipappappconfigapi.PatchConfigRequest,
695
+ * !proto.sniipappappconfigapi.ResponseCode>}
696
+ */
697
+ const methodDescriptor_SniipAppAppConfigAPIService_PatchConfig = new grpc.web.MethodDescriptor(
698
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/PatchConfig',
699
+ grpc.web.MethodType.UNARY,
700
+ proto.sniipappappconfigapi.PatchConfigRequest,
701
+ proto.sniipappappconfigapi.ResponseCode,
702
+ /**
703
+ * @param {!proto.sniipappappconfigapi.PatchConfigRequest} request
704
+ * @return {!Uint8Array}
705
+ */
706
+ function(request) {
707
+ return request.serializeBinary();
708
+ },
709
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
710
+ );
711
+
712
+
713
+ /**
714
+ * @param {!proto.sniipappappconfigapi.PatchConfigRequest} request The
715
+ * request proto
716
+ * @param {?Object<string, string>} metadata User defined
717
+ * call metadata
718
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ResponseCode)}
719
+ * callback The callback function(error, response)
720
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
721
+ * The XHR Node Readable Stream
722
+ */
723
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.patchConfig =
724
+ function(request, metadata, callback) {
725
+ return this.client_.rpcCall(this.hostname_ +
726
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/PatchConfig',
727
+ request,
728
+ metadata || {},
729
+ methodDescriptor_SniipAppAppConfigAPIService_PatchConfig,
730
+ callback);
731
+ };
732
+
733
+
734
+ /**
735
+ * @param {!proto.sniipappappconfigapi.PatchConfigRequest} request The
736
+ * request proto
737
+ * @param {?Object<string, string>=} metadata User defined
738
+ * call metadata
739
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
740
+ * Promise that resolves to the response
741
+ */
742
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.patchConfig =
743
+ function(request, metadata) {
744
+ return this.client_.unaryCall(this.hostname_ +
745
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/PatchConfig',
746
+ request,
747
+ metadata || {},
748
+ methodDescriptor_SniipAppAppConfigAPIService_PatchConfig);
749
+ };
750
+
751
+
752
+ /**
753
+ * @const
754
+ * @type {!grpc.web.MethodDescriptor<
755
+ * !proto.sniipappappconfigapi.PutConfigExtraRequest,
756
+ * !proto.sniipappappconfigapi.ResponseCode>}
757
+ */
758
+ const methodDescriptor_SniipAppAppConfigAPIService_PutConfigExtra = new grpc.web.MethodDescriptor(
759
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/PutConfigExtra',
760
+ grpc.web.MethodType.UNARY,
761
+ proto.sniipappappconfigapi.PutConfigExtraRequest,
762
+ proto.sniipappappconfigapi.ResponseCode,
763
+ /**
764
+ * @param {!proto.sniipappappconfigapi.PutConfigExtraRequest} request
765
+ * @return {!Uint8Array}
766
+ */
767
+ function(request) {
768
+ return request.serializeBinary();
769
+ },
770
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
771
+ );
772
+
773
+
774
+ /**
775
+ * @param {!proto.sniipappappconfigapi.PutConfigExtraRequest} request The
776
+ * request proto
777
+ * @param {?Object<string, string>} metadata User defined
778
+ * call metadata
779
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ResponseCode)}
780
+ * callback The callback function(error, response)
781
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
782
+ * The XHR Node Readable Stream
783
+ */
784
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.putConfigExtra =
785
+ function(request, metadata, callback) {
786
+ return this.client_.rpcCall(this.hostname_ +
787
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/PutConfigExtra',
788
+ request,
789
+ metadata || {},
790
+ methodDescriptor_SniipAppAppConfigAPIService_PutConfigExtra,
791
+ callback);
792
+ };
793
+
794
+
795
+ /**
796
+ * @param {!proto.sniipappappconfigapi.PutConfigExtraRequest} request The
797
+ * request proto
798
+ * @param {?Object<string, string>=} metadata User defined
799
+ * call metadata
800
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
801
+ * Promise that resolves to the response
802
+ */
803
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.putConfigExtra =
804
+ function(request, metadata) {
805
+ return this.client_.unaryCall(this.hostname_ +
806
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/PutConfigExtra',
807
+ request,
808
+ metadata || {},
809
+ methodDescriptor_SniipAppAppConfigAPIService_PutConfigExtra);
810
+ };
811
+
812
+
813
+ /**
814
+ * @const
815
+ * @type {!grpc.web.MethodDescriptor<
816
+ * !proto.sniipappappconfigapi.UpdateDashboardItemsRequest,
817
+ * !proto.sniipappappconfigapi.DashboardItemsResponse>}
818
+ */
819
+ const methodDescriptor_SniipAppAppConfigAPIService_UpdateDashboardItems = new grpc.web.MethodDescriptor(
820
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateDashboardItems',
821
+ grpc.web.MethodType.UNARY,
822
+ proto.sniipappappconfigapi.UpdateDashboardItemsRequest,
823
+ proto.sniipappappconfigapi.DashboardItemsResponse,
824
+ /**
825
+ * @param {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} request
826
+ * @return {!Uint8Array}
827
+ */
828
+ function(request) {
829
+ return request.serializeBinary();
830
+ },
831
+ proto.sniipappappconfigapi.DashboardItemsResponse.deserializeBinary
832
+ );
833
+
834
+
835
+ /**
836
+ * @param {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} request The
837
+ * request proto
838
+ * @param {?Object<string, string>} metadata User defined
839
+ * call metadata
840
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.DashboardItemsResponse)}
841
+ * callback The callback function(error, response)
842
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.DashboardItemsResponse>|undefined}
843
+ * The XHR Node Readable Stream
844
+ */
845
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.updateDashboardItems =
846
+ function(request, metadata, callback) {
847
+ return this.client_.rpcCall(this.hostname_ +
848
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateDashboardItems',
849
+ request,
850
+ metadata || {},
851
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateDashboardItems,
852
+ callback);
853
+ };
854
+
855
+
856
+ /**
857
+ * @param {!proto.sniipappappconfigapi.UpdateDashboardItemsRequest} request The
858
+ * request proto
859
+ * @param {?Object<string, string>=} metadata User defined
860
+ * call metadata
861
+ * @return {!Promise<!proto.sniipappappconfigapi.DashboardItemsResponse>}
862
+ * Promise that resolves to the response
863
+ */
864
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.updateDashboardItems =
865
+ function(request, metadata) {
866
+ return this.client_.unaryCall(this.hostname_ +
867
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateDashboardItems',
868
+ request,
869
+ metadata || {},
870
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateDashboardItems);
871
+ };
872
+
873
+
874
+ /**
875
+ * @const
876
+ * @type {!grpc.web.MethodDescriptor<
877
+ * !proto.sniipappappconfigapi.UpdateMbillingFlagRequest,
878
+ * !proto.sniipappappconfigapi.ResponseCode>}
879
+ */
880
+ const methodDescriptor_SniipAppAppConfigAPIService_UpdateMbillingFlag = new grpc.web.MethodDescriptor(
881
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateMbillingFlag',
882
+ grpc.web.MethodType.UNARY,
883
+ proto.sniipappappconfigapi.UpdateMbillingFlagRequest,
884
+ proto.sniipappappconfigapi.ResponseCode,
885
+ /**
886
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request
887
+ * @return {!Uint8Array}
888
+ */
889
+ function(request) {
890
+ return request.serializeBinary();
891
+ },
892
+ proto.sniipappappconfigapi.ResponseCode.deserializeBinary
893
+ );
894
+
895
+
896
+ /**
897
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request The
898
+ * request proto
899
+ * @param {?Object<string, string>} metadata User defined
900
+ * call metadata
901
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ResponseCode)}
902
+ * callback The callback function(error, response)
903
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ResponseCode>|undefined}
904
+ * The XHR Node Readable Stream
905
+ */
906
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.updateMbillingFlag =
907
+ function(request, metadata, callback) {
908
+ return this.client_.rpcCall(this.hostname_ +
909
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateMbillingFlag',
910
+ request,
911
+ metadata || {},
912
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateMbillingFlag,
913
+ callback);
914
+ };
915
+
916
+
917
+ /**
918
+ * @param {!proto.sniipappappconfigapi.UpdateMbillingFlagRequest} request The
919
+ * request proto
920
+ * @param {?Object<string, string>=} metadata User defined
921
+ * call metadata
922
+ * @return {!Promise<!proto.sniipappappconfigapi.ResponseCode>}
923
+ * Promise that resolves to the response
924
+ */
925
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.updateMbillingFlag =
926
+ function(request, metadata) {
927
+ return this.client_.unaryCall(this.hostname_ +
928
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateMbillingFlag',
929
+ request,
930
+ metadata || {},
931
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateMbillingFlag);
932
+ };
933
+
934
+
935
+ /**
936
+ * @const
937
+ * @type {!grpc.web.MethodDescriptor<
938
+ * !proto.sniipappappconfigapi.CreateOfferRequest,
939
+ * !proto.sniipappappconfigapi.OfferResponse>}
940
+ */
941
+ const methodDescriptor_SniipAppAppConfigAPIService_CreateOffer = new grpc.web.MethodDescriptor(
942
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateOffer',
943
+ grpc.web.MethodType.UNARY,
944
+ proto.sniipappappconfigapi.CreateOfferRequest,
945
+ proto.sniipappappconfigapi.OfferResponse,
946
+ /**
947
+ * @param {!proto.sniipappappconfigapi.CreateOfferRequest} request
948
+ * @return {!Uint8Array}
949
+ */
950
+ function(request) {
951
+ return request.serializeBinary();
952
+ },
953
+ proto.sniipappappconfigapi.OfferResponse.deserializeBinary
954
+ );
955
+
956
+
957
+ /**
958
+ * @param {!proto.sniipappappconfigapi.CreateOfferRequest} request The
959
+ * request proto
960
+ * @param {?Object<string, string>} metadata User defined
961
+ * call metadata
962
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferResponse)}
963
+ * callback The callback function(error, response)
964
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferResponse>|undefined}
965
+ * The XHR Node Readable Stream
966
+ */
967
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.createOffer =
968
+ function(request, metadata, callback) {
969
+ return this.client_.rpcCall(this.hostname_ +
970
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateOffer',
971
+ request,
972
+ metadata || {},
973
+ methodDescriptor_SniipAppAppConfigAPIService_CreateOffer,
974
+ callback);
975
+ };
976
+
977
+
978
+ /**
979
+ * @param {!proto.sniipappappconfigapi.CreateOfferRequest} request The
980
+ * request proto
981
+ * @param {?Object<string, string>=} metadata User defined
982
+ * call metadata
983
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferResponse>}
984
+ * Promise that resolves to the response
985
+ */
986
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.createOffer =
987
+ function(request, metadata) {
988
+ return this.client_.unaryCall(this.hostname_ +
989
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateOffer',
990
+ request,
991
+ metadata || {},
992
+ methodDescriptor_SniipAppAppConfigAPIService_CreateOffer);
993
+ };
994
+
995
+
996
+ /**
997
+ * @const
998
+ * @type {!grpc.web.MethodDescriptor<
999
+ * !proto.sniipappappconfigapi.UpdateOfferRequest,
1000
+ * !proto.sniipappappconfigapi.OfferResponse>}
1001
+ */
1002
+ const methodDescriptor_SniipAppAppConfigAPIService_UpdateOffer = new grpc.web.MethodDescriptor(
1003
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateOffer',
1004
+ grpc.web.MethodType.UNARY,
1005
+ proto.sniipappappconfigapi.UpdateOfferRequest,
1006
+ proto.sniipappappconfigapi.OfferResponse,
1007
+ /**
1008
+ * @param {!proto.sniipappappconfigapi.UpdateOfferRequest} request
1009
+ * @return {!Uint8Array}
1010
+ */
1011
+ function(request) {
1012
+ return request.serializeBinary();
1013
+ },
1014
+ proto.sniipappappconfigapi.OfferResponse.deserializeBinary
1015
+ );
1016
+
1017
+
1018
+ /**
1019
+ * @param {!proto.sniipappappconfigapi.UpdateOfferRequest} request The
1020
+ * request proto
1021
+ * @param {?Object<string, string>} metadata User defined
1022
+ * call metadata
1023
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferResponse)}
1024
+ * callback The callback function(error, response)
1025
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferResponse>|undefined}
1026
+ * The XHR Node Readable Stream
1027
+ */
1028
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.updateOffer =
1029
+ function(request, metadata, callback) {
1030
+ return this.client_.rpcCall(this.hostname_ +
1031
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateOffer',
1032
+ request,
1033
+ metadata || {},
1034
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateOffer,
1035
+ callback);
1036
+ };
1037
+
1038
+
1039
+ /**
1040
+ * @param {!proto.sniipappappconfigapi.UpdateOfferRequest} request The
1041
+ * request proto
1042
+ * @param {?Object<string, string>=} metadata User defined
1043
+ * call metadata
1044
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferResponse>}
1045
+ * Promise that resolves to the response
1046
+ */
1047
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.updateOffer =
1048
+ function(request, metadata) {
1049
+ return this.client_.unaryCall(this.hostname_ +
1050
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateOffer',
1051
+ request,
1052
+ metadata || {},
1053
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateOffer);
1054
+ };
1055
+
1056
+
1057
+ /**
1058
+ * @const
1059
+ * @type {!grpc.web.MethodDescriptor<
1060
+ * !proto.sniipappappconfigapi.GetOfferRequest,
1061
+ * !proto.sniipappappconfigapi.OfferResponse>}
1062
+ */
1063
+ const methodDescriptor_SniipAppAppConfigAPIService_GetOffer = new grpc.web.MethodDescriptor(
1064
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetOffer',
1065
+ grpc.web.MethodType.UNARY,
1066
+ proto.sniipappappconfigapi.GetOfferRequest,
1067
+ proto.sniipappappconfigapi.OfferResponse,
1068
+ /**
1069
+ * @param {!proto.sniipappappconfigapi.GetOfferRequest} request
1070
+ * @return {!Uint8Array}
1071
+ */
1072
+ function(request) {
1073
+ return request.serializeBinary();
1074
+ },
1075
+ proto.sniipappappconfigapi.OfferResponse.deserializeBinary
1076
+ );
1077
+
1078
+
1079
+ /**
1080
+ * @param {!proto.sniipappappconfigapi.GetOfferRequest} request The
1081
+ * request proto
1082
+ * @param {?Object<string, string>} metadata User defined
1083
+ * call metadata
1084
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferResponse)}
1085
+ * callback The callback function(error, response)
1086
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferResponse>|undefined}
1087
+ * The XHR Node Readable Stream
1088
+ */
1089
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getOffer =
1090
+ function(request, metadata, callback) {
1091
+ return this.client_.rpcCall(this.hostname_ +
1092
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetOffer',
1093
+ request,
1094
+ metadata || {},
1095
+ methodDescriptor_SniipAppAppConfigAPIService_GetOffer,
1096
+ callback);
1097
+ };
1098
+
1099
+
1100
+ /**
1101
+ * @param {!proto.sniipappappconfigapi.GetOfferRequest} request The
1102
+ * request proto
1103
+ * @param {?Object<string, string>=} metadata User defined
1104
+ * call metadata
1105
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferResponse>}
1106
+ * Promise that resolves to the response
1107
+ */
1108
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getOffer =
1109
+ function(request, metadata) {
1110
+ return this.client_.unaryCall(this.hostname_ +
1111
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetOffer',
1112
+ request,
1113
+ metadata || {},
1114
+ methodDescriptor_SniipAppAppConfigAPIService_GetOffer);
1115
+ };
1116
+
1117
+
1118
+ /**
1119
+ * @const
1120
+ * @type {!grpc.web.MethodDescriptor<
1121
+ * !proto.sniipappappconfigapi.ListOffersRequest,
1122
+ * !proto.sniipappappconfigapi.ListOffersResponse>}
1123
+ */
1124
+ const methodDescriptor_SniipAppAppConfigAPIService_ListOffers = new grpc.web.MethodDescriptor(
1125
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOffers',
1126
+ grpc.web.MethodType.UNARY,
1127
+ proto.sniipappappconfigapi.ListOffersRequest,
1128
+ proto.sniipappappconfigapi.ListOffersResponse,
1129
+ /**
1130
+ * @param {!proto.sniipappappconfigapi.ListOffersRequest} request
1131
+ * @return {!Uint8Array}
1132
+ */
1133
+ function(request) {
1134
+ return request.serializeBinary();
1135
+ },
1136
+ proto.sniipappappconfigapi.ListOffersResponse.deserializeBinary
1137
+ );
1138
+
1139
+
1140
+ /**
1141
+ * @param {!proto.sniipappappconfigapi.ListOffersRequest} request The
1142
+ * request proto
1143
+ * @param {?Object<string, string>} metadata User defined
1144
+ * call metadata
1145
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ListOffersResponse)}
1146
+ * callback The callback function(error, response)
1147
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ListOffersResponse>|undefined}
1148
+ * The XHR Node Readable Stream
1149
+ */
1150
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.listOffers =
1151
+ function(request, metadata, callback) {
1152
+ return this.client_.rpcCall(this.hostname_ +
1153
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOffers',
1154
+ request,
1155
+ metadata || {},
1156
+ methodDescriptor_SniipAppAppConfigAPIService_ListOffers,
1157
+ callback);
1158
+ };
1159
+
1160
+
1161
+ /**
1162
+ * @param {!proto.sniipappappconfigapi.ListOffersRequest} request The
1163
+ * request proto
1164
+ * @param {?Object<string, string>=} metadata User defined
1165
+ * call metadata
1166
+ * @return {!Promise<!proto.sniipappappconfigapi.ListOffersResponse>}
1167
+ * Promise that resolves to the response
1168
+ */
1169
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.listOffers =
1170
+ function(request, metadata) {
1171
+ return this.client_.unaryCall(this.hostname_ +
1172
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOffers',
1173
+ request,
1174
+ metadata || {},
1175
+ methodDescriptor_SniipAppAppConfigAPIService_ListOffers);
1176
+ };
1177
+
1178
+
1179
+ /**
1180
+ * @const
1181
+ * @type {!grpc.web.MethodDescriptor<
1182
+ * !proto.sniipappappconfigapi.DeleteOfferRequest,
1183
+ * !proto.sniipappappconfigapi.OfferResponse>}
1184
+ */
1185
+ const methodDescriptor_SniipAppAppConfigAPIService_DeleteOffer = new grpc.web.MethodDescriptor(
1186
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/DeleteOffer',
1187
+ grpc.web.MethodType.UNARY,
1188
+ proto.sniipappappconfigapi.DeleteOfferRequest,
1189
+ proto.sniipappappconfigapi.OfferResponse,
1190
+ /**
1191
+ * @param {!proto.sniipappappconfigapi.DeleteOfferRequest} request
1192
+ * @return {!Uint8Array}
1193
+ */
1194
+ function(request) {
1195
+ return request.serializeBinary();
1196
+ },
1197
+ proto.sniipappappconfigapi.OfferResponse.deserializeBinary
1198
+ );
1199
+
1200
+
1201
+ /**
1202
+ * @param {!proto.sniipappappconfigapi.DeleteOfferRequest} request The
1203
+ * request proto
1204
+ * @param {?Object<string, string>} metadata User defined
1205
+ * call metadata
1206
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferResponse)}
1207
+ * callback The callback function(error, response)
1208
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferResponse>|undefined}
1209
+ * The XHR Node Readable Stream
1210
+ */
1211
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.deleteOffer =
1212
+ function(request, metadata, callback) {
1213
+ return this.client_.rpcCall(this.hostname_ +
1214
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/DeleteOffer',
1215
+ request,
1216
+ metadata || {},
1217
+ methodDescriptor_SniipAppAppConfigAPIService_DeleteOffer,
1218
+ callback);
1219
+ };
1220
+
1221
+
1222
+ /**
1223
+ * @param {!proto.sniipappappconfigapi.DeleteOfferRequest} request The
1224
+ * request proto
1225
+ * @param {?Object<string, string>=} metadata User defined
1226
+ * call metadata
1227
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferResponse>}
1228
+ * Promise that resolves to the response
1229
+ */
1230
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.deleteOffer =
1231
+ function(request, metadata) {
1232
+ return this.client_.unaryCall(this.hostname_ +
1233
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/DeleteOffer',
1234
+ request,
1235
+ metadata || {},
1236
+ methodDescriptor_SniipAppAppConfigAPIService_DeleteOffer);
1237
+ };
1238
+
1239
+
1240
+ /**
1241
+ * @const
1242
+ * @type {!grpc.web.MethodDescriptor<
1243
+ * !proto.sniipappappconfigapi.CreateOfferRulesetRequest,
1244
+ * !proto.sniipappappconfigapi.OfferRulesetResponse>}
1245
+ */
1246
+ const methodDescriptor_SniipAppAppConfigAPIService_CreateOfferRuleset = new grpc.web.MethodDescriptor(
1247
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateOfferRuleset',
1248
+ grpc.web.MethodType.UNARY,
1249
+ proto.sniipappappconfigapi.CreateOfferRulesetRequest,
1250
+ proto.sniipappappconfigapi.OfferRulesetResponse,
1251
+ /**
1252
+ * @param {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} request
1253
+ * @return {!Uint8Array}
1254
+ */
1255
+ function(request) {
1256
+ return request.serializeBinary();
1257
+ },
1258
+ proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinary
1259
+ );
1260
+
1261
+
1262
+ /**
1263
+ * @param {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} request The
1264
+ * request proto
1265
+ * @param {?Object<string, string>} metadata User defined
1266
+ * call metadata
1267
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferRulesetResponse)}
1268
+ * callback The callback function(error, response)
1269
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferRulesetResponse>|undefined}
1270
+ * The XHR Node Readable Stream
1271
+ */
1272
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.createOfferRuleset =
1273
+ function(request, metadata, callback) {
1274
+ return this.client_.rpcCall(this.hostname_ +
1275
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateOfferRuleset',
1276
+ request,
1277
+ metadata || {},
1278
+ methodDescriptor_SniipAppAppConfigAPIService_CreateOfferRuleset,
1279
+ callback);
1280
+ };
1281
+
1282
+
1283
+ /**
1284
+ * @param {!proto.sniipappappconfigapi.CreateOfferRulesetRequest} request The
1285
+ * request proto
1286
+ * @param {?Object<string, string>=} metadata User defined
1287
+ * call metadata
1288
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferRulesetResponse>}
1289
+ * Promise that resolves to the response
1290
+ */
1291
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.createOfferRuleset =
1292
+ function(request, metadata) {
1293
+ return this.client_.unaryCall(this.hostname_ +
1294
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/CreateOfferRuleset',
1295
+ request,
1296
+ metadata || {},
1297
+ methodDescriptor_SniipAppAppConfigAPIService_CreateOfferRuleset);
1298
+ };
1299
+
1300
+
1301
+ /**
1302
+ * @const
1303
+ * @type {!grpc.web.MethodDescriptor<
1304
+ * !proto.sniipappappconfigapi.UpdateOfferRulesetRequest,
1305
+ * !proto.sniipappappconfigapi.OfferRulesetResponse>}
1306
+ */
1307
+ const methodDescriptor_SniipAppAppConfigAPIService_UpdateOfferRuleset = new grpc.web.MethodDescriptor(
1308
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateOfferRuleset',
1309
+ grpc.web.MethodType.UNARY,
1310
+ proto.sniipappappconfigapi.UpdateOfferRulesetRequest,
1311
+ proto.sniipappappconfigapi.OfferRulesetResponse,
1312
+ /**
1313
+ * @param {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} request
1314
+ * @return {!Uint8Array}
1315
+ */
1316
+ function(request) {
1317
+ return request.serializeBinary();
1318
+ },
1319
+ proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinary
1320
+ );
1321
+
1322
+
1323
+ /**
1324
+ * @param {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} request The
1325
+ * request proto
1326
+ * @param {?Object<string, string>} metadata User defined
1327
+ * call metadata
1328
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferRulesetResponse)}
1329
+ * callback The callback function(error, response)
1330
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferRulesetResponse>|undefined}
1331
+ * The XHR Node Readable Stream
1332
+ */
1333
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.updateOfferRuleset =
1334
+ function(request, metadata, callback) {
1335
+ return this.client_.rpcCall(this.hostname_ +
1336
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateOfferRuleset',
1337
+ request,
1338
+ metadata || {},
1339
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateOfferRuleset,
1340
+ callback);
1341
+ };
1342
+
1343
+
1344
+ /**
1345
+ * @param {!proto.sniipappappconfigapi.UpdateOfferRulesetRequest} request The
1346
+ * request proto
1347
+ * @param {?Object<string, string>=} metadata User defined
1348
+ * call metadata
1349
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferRulesetResponse>}
1350
+ * Promise that resolves to the response
1351
+ */
1352
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.updateOfferRuleset =
1353
+ function(request, metadata) {
1354
+ return this.client_.unaryCall(this.hostname_ +
1355
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/UpdateOfferRuleset',
1356
+ request,
1357
+ metadata || {},
1358
+ methodDescriptor_SniipAppAppConfigAPIService_UpdateOfferRuleset);
1359
+ };
1360
+
1361
+
1362
+ /**
1363
+ * @const
1364
+ * @type {!grpc.web.MethodDescriptor<
1365
+ * !proto.sniipappappconfigapi.GetOfferRulesetRequest,
1366
+ * !proto.sniipappappconfigapi.OfferRulesetResponse>}
1367
+ */
1368
+ const methodDescriptor_SniipAppAppConfigAPIService_GetOfferRuleset = new grpc.web.MethodDescriptor(
1369
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetOfferRuleset',
1370
+ grpc.web.MethodType.UNARY,
1371
+ proto.sniipappappconfigapi.GetOfferRulesetRequest,
1372
+ proto.sniipappappconfigapi.OfferRulesetResponse,
1373
+ /**
1374
+ * @param {!proto.sniipappappconfigapi.GetOfferRulesetRequest} request
1375
+ * @return {!Uint8Array}
1376
+ */
1377
+ function(request) {
1378
+ return request.serializeBinary();
1379
+ },
1380
+ proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinary
1381
+ );
1382
+
1383
+
1384
+ /**
1385
+ * @param {!proto.sniipappappconfigapi.GetOfferRulesetRequest} request The
1386
+ * request proto
1387
+ * @param {?Object<string, string>} metadata User defined
1388
+ * call metadata
1389
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferRulesetResponse)}
1390
+ * callback The callback function(error, response)
1391
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferRulesetResponse>|undefined}
1392
+ * The XHR Node Readable Stream
1393
+ */
1394
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.getOfferRuleset =
1395
+ function(request, metadata, callback) {
1396
+ return this.client_.rpcCall(this.hostname_ +
1397
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetOfferRuleset',
1398
+ request,
1399
+ metadata || {},
1400
+ methodDescriptor_SniipAppAppConfigAPIService_GetOfferRuleset,
1401
+ callback);
1402
+ };
1403
+
1404
+
1405
+ /**
1406
+ * @param {!proto.sniipappappconfigapi.GetOfferRulesetRequest} request The
1407
+ * request proto
1408
+ * @param {?Object<string, string>=} metadata User defined
1409
+ * call metadata
1410
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferRulesetResponse>}
1411
+ * Promise that resolves to the response
1412
+ */
1413
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.getOfferRuleset =
1414
+ function(request, metadata) {
1415
+ return this.client_.unaryCall(this.hostname_ +
1416
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/GetOfferRuleset',
1417
+ request,
1418
+ metadata || {},
1419
+ methodDescriptor_SniipAppAppConfigAPIService_GetOfferRuleset);
1420
+ };
1421
+
1422
+
1423
+ /**
1424
+ * @const
1425
+ * @type {!grpc.web.MethodDescriptor<
1426
+ * !proto.sniipappappconfigapi.DeleteOfferRulesetRequest,
1427
+ * !proto.sniipappappconfigapi.OfferRulesetResponse>}
1428
+ */
1429
+ const methodDescriptor_SniipAppAppConfigAPIService_DeleteOfferRuleset = new grpc.web.MethodDescriptor(
1430
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/DeleteOfferRuleset',
1431
+ grpc.web.MethodType.UNARY,
1432
+ proto.sniipappappconfigapi.DeleteOfferRulesetRequest,
1433
+ proto.sniipappappconfigapi.OfferRulesetResponse,
1434
+ /**
1435
+ * @param {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} request
1436
+ * @return {!Uint8Array}
1437
+ */
1438
+ function(request) {
1439
+ return request.serializeBinary();
1440
+ },
1441
+ proto.sniipappappconfigapi.OfferRulesetResponse.deserializeBinary
1442
+ );
1443
+
1444
+
1445
+ /**
1446
+ * @param {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} request The
1447
+ * request proto
1448
+ * @param {?Object<string, string>} metadata User defined
1449
+ * call metadata
1450
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.OfferRulesetResponse)}
1451
+ * callback The callback function(error, response)
1452
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.OfferRulesetResponse>|undefined}
1453
+ * The XHR Node Readable Stream
1454
+ */
1455
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.deleteOfferRuleset =
1456
+ function(request, metadata, callback) {
1457
+ return this.client_.rpcCall(this.hostname_ +
1458
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/DeleteOfferRuleset',
1459
+ request,
1460
+ metadata || {},
1461
+ methodDescriptor_SniipAppAppConfigAPIService_DeleteOfferRuleset,
1462
+ callback);
1463
+ };
1464
+
1465
+
1466
+ /**
1467
+ * @param {!proto.sniipappappconfigapi.DeleteOfferRulesetRequest} request The
1468
+ * request proto
1469
+ * @param {?Object<string, string>=} metadata User defined
1470
+ * call metadata
1471
+ * @return {!Promise<!proto.sniipappappconfigapi.OfferRulesetResponse>}
1472
+ * Promise that resolves to the response
1473
+ */
1474
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.deleteOfferRuleset =
1475
+ function(request, metadata) {
1476
+ return this.client_.unaryCall(this.hostname_ +
1477
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/DeleteOfferRuleset',
1478
+ request,
1479
+ metadata || {},
1480
+ methodDescriptor_SniipAppAppConfigAPIService_DeleteOfferRuleset);
1481
+ };
1482
+
1483
+
1484
+ /**
1485
+ * @const
1486
+ * @type {!grpc.web.MethodDescriptor<
1487
+ * !proto.sniipappappconfigapi.ListOfferRulesetsRequest,
1488
+ * !proto.sniipappappconfigapi.ListOfferRulesetsResponse>}
1489
+ */
1490
+ const methodDescriptor_SniipAppAppConfigAPIService_ListOfferRulesets = new grpc.web.MethodDescriptor(
1491
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOfferRulesets',
1492
+ grpc.web.MethodType.UNARY,
1493
+ proto.sniipappappconfigapi.ListOfferRulesetsRequest,
1494
+ proto.sniipappappconfigapi.ListOfferRulesetsResponse,
1495
+ /**
1496
+ * @param {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} request
1497
+ * @return {!Uint8Array}
1498
+ */
1499
+ function(request) {
1500
+ return request.serializeBinary();
1501
+ },
1502
+ proto.sniipappappconfigapi.ListOfferRulesetsResponse.deserializeBinary
1503
+ );
1504
+
1505
+
1506
+ /**
1507
+ * @param {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} request The
1508
+ * request proto
1509
+ * @param {?Object<string, string>} metadata User defined
1510
+ * call metadata
1511
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ListOfferRulesetsResponse)}
1512
+ * callback The callback function(error, response)
1513
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ListOfferRulesetsResponse>|undefined}
1514
+ * The XHR Node Readable Stream
1515
+ */
1516
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.listOfferRulesets =
1517
+ function(request, metadata, callback) {
1518
+ return this.client_.rpcCall(this.hostname_ +
1519
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOfferRulesets',
1520
+ request,
1521
+ metadata || {},
1522
+ methodDescriptor_SniipAppAppConfigAPIService_ListOfferRulesets,
1523
+ callback);
1524
+ };
1525
+
1526
+
1527
+ /**
1528
+ * @param {!proto.sniipappappconfigapi.ListOfferRulesetsRequest} request The
1529
+ * request proto
1530
+ * @param {?Object<string, string>=} metadata User defined
1531
+ * call metadata
1532
+ * @return {!Promise<!proto.sniipappappconfigapi.ListOfferRulesetsResponse>}
1533
+ * Promise that resolves to the response
1534
+ */
1535
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.listOfferRulesets =
1536
+ function(request, metadata) {
1537
+ return this.client_.unaryCall(this.hostname_ +
1538
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOfferRulesets',
1539
+ request,
1540
+ metadata || {},
1541
+ methodDescriptor_SniipAppAppConfigAPIService_ListOfferRulesets);
1542
+ };
1543
+
1544
+
1545
+ /**
1546
+ * @const
1547
+ * @type {!grpc.web.MethodDescriptor<
1548
+ * !proto.sniipappappconfigapi.ListOffersAdminRequest,
1549
+ * !proto.sniipappappconfigapi.ListOffersResponse>}
1550
+ */
1551
+ const methodDescriptor_SniipAppAppConfigAPIService_ListOffersAdmin = new grpc.web.MethodDescriptor(
1552
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOffersAdmin',
1553
+ grpc.web.MethodType.UNARY,
1554
+ proto.sniipappappconfigapi.ListOffersAdminRequest,
1555
+ proto.sniipappappconfigapi.ListOffersResponse,
1556
+ /**
1557
+ * @param {!proto.sniipappappconfigapi.ListOffersAdminRequest} request
1558
+ * @return {!Uint8Array}
1559
+ */
1560
+ function(request) {
1561
+ return request.serializeBinary();
1562
+ },
1563
+ proto.sniipappappconfigapi.ListOffersResponse.deserializeBinary
1564
+ );
1565
+
1566
+
1567
+ /**
1568
+ * @param {!proto.sniipappappconfigapi.ListOffersAdminRequest} request The
1569
+ * request proto
1570
+ * @param {?Object<string, string>} metadata User defined
1571
+ * call metadata
1572
+ * @param {function(?grpc.web.RpcError, ?proto.sniipappappconfigapi.ListOffersResponse)}
1573
+ * callback The callback function(error, response)
1574
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipappappconfigapi.ListOffersResponse>|undefined}
1575
+ * The XHR Node Readable Stream
1576
+ */
1577
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServiceClient.prototype.listOffersAdmin =
1578
+ function(request, metadata, callback) {
1579
+ return this.client_.rpcCall(this.hostname_ +
1580
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOffersAdmin',
1581
+ request,
1582
+ metadata || {},
1583
+ methodDescriptor_SniipAppAppConfigAPIService_ListOffersAdmin,
1584
+ callback);
1585
+ };
1586
+
1587
+
1588
+ /**
1589
+ * @param {!proto.sniipappappconfigapi.ListOffersAdminRequest} request The
1590
+ * request proto
1591
+ * @param {?Object<string, string>=} metadata User defined
1592
+ * call metadata
1593
+ * @return {!Promise<!proto.sniipappappconfigapi.ListOffersResponse>}
1594
+ * Promise that resolves to the response
1595
+ */
1596
+ proto.sniipappappconfigapi.SniipAppAppConfigAPIServicePromiseClient.prototype.listOffersAdmin =
1597
+ function(request, metadata) {
1598
+ return this.client_.unaryCall(this.hostname_ +
1599
+ '/sniipappappconfigapi.SniipAppAppConfigAPIService/ListOffersAdmin',
1600
+ request,
1601
+ metadata || {},
1602
+ methodDescriptor_SniipAppAppConfigAPIService_ListOffersAdmin);
1603
+ };
1604
+
1605
+
1606
+ module.exports = proto.sniipappappconfigapi;
1607
+