@t-0/provider-sdk 1.0.19 → 1.0.20

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,649 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Decimal } from "../common/common_pb";
3
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file network/network.proto.
7
+ */
8
+ export declare const file_network_network: GenFile;
9
+ /**
10
+ *
11
+ * Base currency is always USD, so the quotes are always in USD/currency format.
12
+ *
13
+ * @generated from message tzero.v1.network.UpdateQuoteRequest
14
+ */
15
+ export type UpdateQuoteRequest = Message<"tzero.v1.network.UpdateQuoteRequest"> & {
16
+ /**
17
+ * *
18
+ * Zero or more quotes for pay-out operations, each quote must have a unique currency, and one or more bands, with the
19
+ * unique client_quote_id for each band.
20
+ *
21
+ * @generated from field: repeated tzero.v1.network.UpdateQuoteRequest.Quote pay_out = 10;
22
+ */
23
+ payOut: UpdateQuoteRequest_Quote[];
24
+ /**
25
+ * *
26
+ * Zero or more quotes for pay-in operations, each quote must have a unique currency, and one or more bands, with the
27
+ * unique client_quote_id for each band.
28
+ *
29
+ * @generated from field: repeated tzero.v1.network.UpdateQuoteRequest.Quote pay_in = 20;
30
+ */
31
+ payIn: UpdateQuoteRequest_Quote[];
32
+ };
33
+ /**
34
+ * Describes the message tzero.v1.network.UpdateQuoteRequest.
35
+ * Use `create(UpdateQuoteRequestSchema)` to create a new message.
36
+ */
37
+ export declare const UpdateQuoteRequestSchema: GenMessage<UpdateQuoteRequest>;
38
+ /**
39
+ * @generated from message tzero.v1.network.UpdateQuoteRequest.Quote
40
+ */
41
+ export type UpdateQuoteRequest_Quote = Message<"tzero.v1.network.UpdateQuoteRequest.Quote"> & {
42
+ /**
43
+ * BRL, EUR, GBP, etc. (ISO 4217 currency code)
44
+ *
45
+ * @generated from field: string currency = 10;
46
+ */
47
+ currency: string;
48
+ /**
49
+ * type of the quote, e.g. real-time or guaranteed
50
+ *
51
+ * @generated from field: tzero.v1.network.QuoteType quote_type = 20;
52
+ */
53
+ quoteType: QuoteType;
54
+ /**
55
+ * list of bands for this quote
56
+ *
57
+ * @generated from field: repeated tzero.v1.network.UpdateQuoteRequest.Quote.Band bands = 30;
58
+ */
59
+ bands: UpdateQuoteRequest_Quote_Band[];
60
+ /**
61
+ * expiration time of the quote
62
+ *
63
+ * @generated from field: google.protobuf.Timestamp expiration = 60;
64
+ */
65
+ expiration?: Timestamp;
66
+ /**
67
+ * timestamp quote was created
68
+ *
69
+ * @generated from field: google.protobuf.Timestamp timestamp = 70;
70
+ */
71
+ timestamp?: Timestamp;
72
+ };
73
+ /**
74
+ * Describes the message tzero.v1.network.UpdateQuoteRequest.Quote.
75
+ * Use `create(UpdateQuoteRequest_QuoteSchema)` to create a new message.
76
+ */
77
+ export declare const UpdateQuoteRequest_QuoteSchema: GenMessage<UpdateQuoteRequest_Quote>;
78
+ /**
79
+ * @generated from message tzero.v1.network.UpdateQuoteRequest.Quote.Band
80
+ */
81
+ export type UpdateQuoteRequest_Quote_Band = Message<"tzero.v1.network.UpdateQuoteRequest.Quote.Band"> & {
82
+ /**
83
+ * unique client generated id for this band
84
+ *
85
+ * @generated from field: string client_quote_id = 10;
86
+ */
87
+ clientQuoteId: string;
88
+ /**
89
+ * max amount of USD this quote is applicable for. Please look into documentation for valid amounts.
90
+ *
91
+ * @generated from field: tzero.v1.common.Decimal max_amount = 40;
92
+ */
93
+ maxAmount?: Decimal;
94
+ /**
95
+ * USD/currency rate
96
+ *
97
+ * @generated from field: tzero.v1.common.Decimal rate = 50;
98
+ */
99
+ rate?: Decimal;
100
+ };
101
+ /**
102
+ * Describes the message tzero.v1.network.UpdateQuoteRequest.Quote.Band.
103
+ * Use `create(UpdateQuoteRequest_Quote_BandSchema)` to create a new message.
104
+ */
105
+ export declare const UpdateQuoteRequest_Quote_BandSchema: GenMessage<UpdateQuoteRequest_Quote_Band>;
106
+ /**
107
+ * @generated from message tzero.v1.network.UpdateQuoteResponse
108
+ */
109
+ export type UpdateQuoteResponse = Message<"tzero.v1.network.UpdateQuoteResponse"> & {};
110
+ /**
111
+ * Describes the message tzero.v1.network.UpdateQuoteResponse.
112
+ * Use `create(UpdateQuoteResponseSchema)` to create a new message.
113
+ */
114
+ export declare const UpdateQuoteResponseSchema: GenMessage<UpdateQuoteResponse>;
115
+ /**
116
+ * @generated from message tzero.v1.network.GetPayoutQuoteRequest
117
+ */
118
+ export type GetPayoutQuoteRequest = Message<"tzero.v1.network.GetPayoutQuoteRequest"> & {
119
+ /**
120
+ * ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
121
+ *
122
+ * @generated from field: string payout_currency = 10;
123
+ */
124
+ payoutCurrency: string;
125
+ /**
126
+ * amount in quote currency, only USD is supported
127
+ *
128
+ * @generated from field: tzero.v1.common.Decimal amount = 20;
129
+ */
130
+ amount?: Decimal;
131
+ /**
132
+ * type of the quote, e.g. real-time or guaranteed
133
+ *
134
+ * @generated from field: tzero.v1.network.QuoteType quote_type = 30;
135
+ */
136
+ quoteType: QuoteType;
137
+ };
138
+ /**
139
+ * Describes the message tzero.v1.network.GetPayoutQuoteRequest.
140
+ * Use `create(GetPayoutQuoteRequestSchema)` to create a new message.
141
+ */
142
+ export declare const GetPayoutQuoteRequestSchema: GenMessage<GetPayoutQuoteRequest>;
143
+ /**
144
+ * @generated from message tzero.v1.network.GetPayoutQuoteResponse
145
+ */
146
+ export type GetPayoutQuoteResponse = Message<"tzero.v1.network.GetPayoutQuoteResponse"> & {
147
+ /**
148
+ * rate in USD/currency, e.g. 1.2345 for 1 USD = 1.2345 EUR
149
+ *
150
+ * @generated from field: tzero.v1.common.Decimal rate = 10;
151
+ */
152
+ rate?: Decimal;
153
+ /**
154
+ * expiration time of the quote
155
+ *
156
+ * @generated from field: google.protobuf.Timestamp expiration = 20;
157
+ */
158
+ expiration?: Timestamp;
159
+ /**
160
+ * @generated from field: tzero.v1.network.QuoteId quote_id = 30;
161
+ */
162
+ quoteId?: QuoteId;
163
+ };
164
+ /**
165
+ * Describes the message tzero.v1.network.GetPayoutQuoteResponse.
166
+ * Use `create(GetPayoutQuoteResponseSchema)` to create a new message.
167
+ */
168
+ export declare const GetPayoutQuoteResponseSchema: GenMessage<GetPayoutQuoteResponse>;
169
+ /**
170
+ * @generated from message tzero.v1.network.CreatePaymentRequest
171
+ */
172
+ export type CreatePaymentRequest = Message<"tzero.v1.network.CreatePaymentRequest"> & {
173
+ /**
174
+ * unique client generated id for this payment
175
+ *
176
+ * @generated from field: string payment_client_id = 10;
177
+ */
178
+ paymentClientId: string;
179
+ /**
180
+ * ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
181
+ *
182
+ * @generated from field: string payout_currency = 20;
183
+ */
184
+ payoutCurrency: string;
185
+ /**
186
+ * amount in the payin currency, by default USD (if the payIn currency is not specified)
187
+ *
188
+ * @generated from field: tzero.v1.common.Decimal amount = 30;
189
+ */
190
+ amount?: Decimal;
191
+ /**
192
+ * if not specified, USD is used for calculations
193
+ *
194
+ * @generated from field: optional string payin_currency = 40;
195
+ */
196
+ payinCurrency?: string;
197
+ /**
198
+ * @generated from field: tzero.v1.network.CreatePaymentRequest.Sender sender = 50;
199
+ */
200
+ sender?: CreatePaymentRequest_Sender;
201
+ /**
202
+ * @generated from field: tzero.v1.network.CreatePaymentRequest.Recipient recipient = 60;
203
+ */
204
+ recipient?: CreatePaymentRequest_Recipient;
205
+ /**
206
+ * if specified, must be a valid quoteId that was previously returned by the GetPayoutQuote method
207
+ *
208
+ * @generated from field: optional tzero.v1.network.QuoteId quote_id = 100;
209
+ */
210
+ quoteId?: QuoteId;
211
+ };
212
+ /**
213
+ * Describes the message tzero.v1.network.CreatePaymentRequest.
214
+ * Use `create(CreatePaymentRequestSchema)` to create a new message.
215
+ */
216
+ export declare const CreatePaymentRequestSchema: GenMessage<CreatePaymentRequest>;
217
+ /**
218
+ * Work in progress
219
+ *
220
+ * @generated from message tzero.v1.network.CreatePaymentRequest.Sender
221
+ */
222
+ export type CreatePaymentRequest_Sender = Message<"tzero.v1.network.CreatePaymentRequest.Sender"> & {
223
+ /**
224
+ * @generated from oneof tzero.v1.network.CreatePaymentRequest.Sender.sender
225
+ */
226
+ sender: {
227
+ /**
228
+ * @generated from field: tzero.v1.network.CreatePaymentRequest.PrivatePerson private_person = 10;
229
+ */
230
+ value: CreatePaymentRequest_PrivatePerson;
231
+ case: "privatePerson";
232
+ } | {
233
+ case: undefined;
234
+ value?: undefined;
235
+ };
236
+ };
237
+ /**
238
+ * Describes the message tzero.v1.network.CreatePaymentRequest.Sender.
239
+ * Use `create(CreatePaymentRequest_SenderSchema)` to create a new message.
240
+ */
241
+ export declare const CreatePaymentRequest_SenderSchema: GenMessage<CreatePaymentRequest_Sender>;
242
+ /**
243
+ * Work in progress
244
+ *
245
+ * @generated from message tzero.v1.network.CreatePaymentRequest.Recipient
246
+ */
247
+ export type CreatePaymentRequest_Recipient = Message<"tzero.v1.network.CreatePaymentRequest.Recipient"> & {
248
+ /**
249
+ * @generated from oneof tzero.v1.network.CreatePaymentRequest.Recipient.recipient
250
+ */
251
+ recipient: {
252
+ /**
253
+ * @generated from field: tzero.v1.network.CreatePaymentRequest.PrivatePerson private_person = 10;
254
+ */
255
+ value: CreatePaymentRequest_PrivatePerson;
256
+ case: "privatePerson";
257
+ } | {
258
+ case: undefined;
259
+ value?: undefined;
260
+ };
261
+ };
262
+ /**
263
+ * Describes the message tzero.v1.network.CreatePaymentRequest.Recipient.
264
+ * Use `create(CreatePaymentRequest_RecipientSchema)` to create a new message.
265
+ */
266
+ export declare const CreatePaymentRequest_RecipientSchema: GenMessage<CreatePaymentRequest_Recipient>;
267
+ /**
268
+ * Work in progress
269
+ *
270
+ * @generated from message tzero.v1.network.CreatePaymentRequest.PrivatePerson
271
+ */
272
+ export type CreatePaymentRequest_PrivatePerson = Message<"tzero.v1.network.CreatePaymentRequest.PrivatePerson"> & {
273
+ /**
274
+ * @generated from field: string private_person_client_id = 10;
275
+ */
276
+ privatePersonClientId: string;
277
+ /**
278
+ * @generated from field: string first_name = 20;
279
+ */
280
+ firstName: string;
281
+ /**
282
+ * @generated from field: string last_name = 30;
283
+ */
284
+ lastName: string;
285
+ };
286
+ /**
287
+ * Describes the message tzero.v1.network.CreatePaymentRequest.PrivatePerson.
288
+ * Use `create(CreatePaymentRequest_PrivatePersonSchema)` to create a new message.
289
+ */
290
+ export declare const CreatePaymentRequest_PrivatePersonSchema: GenMessage<CreatePaymentRequest_PrivatePerson>;
291
+ /**
292
+ * @generated from message tzero.v1.network.QuoteId
293
+ */
294
+ export type QuoteId = Message<"tzero.v1.network.QuoteId"> & {
295
+ /**
296
+ * unique identifier of the quote within the specified provider
297
+ *
298
+ * @generated from field: int64 quote_id = 30;
299
+ */
300
+ quoteId: bigint;
301
+ /**
302
+ * provider id of the quote
303
+ *
304
+ * @generated from field: int32 provider_id = 40;
305
+ */
306
+ providerId: number;
307
+ };
308
+ /**
309
+ * Describes the message tzero.v1.network.QuoteId.
310
+ * Use `create(QuoteIdSchema)` to create a new message.
311
+ */
312
+ export declare const QuoteIdSchema: GenMessage<QuoteId>;
313
+ /**
314
+ * @generated from message tzero.v1.network.CreatePaymentResponse
315
+ */
316
+ export type CreatePaymentResponse = Message<"tzero.v1.network.CreatePaymentResponse"> & {
317
+ /**
318
+ * client generated id supplied in the request
319
+ *
320
+ * @generated from field: string payment_client_id = 10;
321
+ */
322
+ paymentClientId: string;
323
+ /**
324
+ * @generated from oneof tzero.v1.network.CreatePaymentResponse.result
325
+ */
326
+ result: {
327
+ /**
328
+ * *
329
+ * Success response - means the payment was accepted, but the payout is not yet completed. This means, the network found
330
+ * a suitable quote for the payout currency and amount, and instructed the payout provider to process the payout.
331
+ *
332
+ * @generated from field: tzero.v1.network.CreatePaymentResponse.Success success = 20;
333
+ */
334
+ value: CreatePaymentResponse_Success;
335
+ case: "success";
336
+ } | {
337
+ /**
338
+ * *
339
+ * Failure response - means the payment was not accepted, e.g. the network could not find a suitable quote for the
340
+ * payout currency and amount, or the credit limit is exceeded for the available quotes.
341
+ *
342
+ * @generated from field: tzero.v1.network.CreatePaymentResponse.Failure failure = 30;
343
+ */
344
+ value: CreatePaymentResponse_Failure;
345
+ case: "failure";
346
+ } | {
347
+ case: undefined;
348
+ value?: undefined;
349
+ };
350
+ };
351
+ /**
352
+ * Describes the message tzero.v1.network.CreatePaymentResponse.
353
+ * Use `create(CreatePaymentResponseSchema)` to create a new message.
354
+ */
355
+ export declare const CreatePaymentResponseSchema: GenMessage<CreatePaymentResponse>;
356
+ /**
357
+ * @generated from message tzero.v1.network.CreatePaymentResponse.Success
358
+ */
359
+ export type CreatePaymentResponse_Success = Message<"tzero.v1.network.CreatePaymentResponse.Success"> & {
360
+ /**
361
+ * payment id assigned by the network
362
+ *
363
+ * @generated from field: int64 payment_id = 10;
364
+ */
365
+ paymentId: bigint;
366
+ };
367
+ /**
368
+ * Describes the message tzero.v1.network.CreatePaymentResponse.Success.
369
+ * Use `create(CreatePaymentResponse_SuccessSchema)` to create a new message.
370
+ */
371
+ export declare const CreatePaymentResponse_SuccessSchema: GenMessage<CreatePaymentResponse_Success>;
372
+ /**
373
+ * @generated from message tzero.v1.network.CreatePaymentResponse.Failure
374
+ */
375
+ export type CreatePaymentResponse_Failure = Message<"tzero.v1.network.CreatePaymentResponse.Failure"> & {};
376
+ /**
377
+ * Describes the message tzero.v1.network.CreatePaymentResponse.Failure.
378
+ * Use `create(CreatePaymentResponse_FailureSchema)` to create a new message.
379
+ */
380
+ export declare const CreatePaymentResponse_FailureSchema: GenMessage<CreatePaymentResponse_Failure>;
381
+ /**
382
+ * @generated from enum tzero.v1.network.CreatePaymentResponse.Failure.Reason
383
+ */
384
+ export declare enum CreatePaymentResponse_Failure_Reason {
385
+ /**
386
+ * @generated from enum value: REASON_UNSPECIFIED = 0;
387
+ */
388
+ UNSPECIFIED = 0
389
+ }
390
+ /**
391
+ * Describes the enum tzero.v1.network.CreatePaymentResponse.Failure.Reason.
392
+ */
393
+ export declare const CreatePaymentResponse_Failure_ReasonSchema: GenEnum<CreatePaymentResponse_Failure_Reason>;
394
+ /**
395
+ * @generated from message tzero.v1.network.UpdatePayoutRequest
396
+ */
397
+ export type UpdatePayoutRequest = Message<"tzero.v1.network.UpdatePayoutRequest"> & {
398
+ /**
399
+ * payment id assigned by the network, this is the same payment id that was provided in the PayoutRequest
400
+ *
401
+ * @generated from field: int64 payment_id = 10;
402
+ */
403
+ paymentId: bigint;
404
+ /**
405
+ * payout id assigned by the payout provider, this is the same payout id that was provided in the PayoutRequest
406
+ *
407
+ * @generated from field: int64 payout_id = 20;
408
+ */
409
+ payoutId: bigint;
410
+ /**
411
+ * @generated from oneof tzero.v1.network.UpdatePayoutRequest.result
412
+ */
413
+ result: {
414
+ /**
415
+ * success response with the details of the payout
416
+ *
417
+ * @generated from field: tzero.v1.network.UpdatePayoutRequest.Success success = 30;
418
+ */
419
+ value: UpdatePayoutRequest_Success;
420
+ case: "success";
421
+ } | {
422
+ /**
423
+ * failure response with the reason of the failure
424
+ *
425
+ * @generated from field: tzero.v1.network.UpdatePayoutRequest.Failure failure = 40;
426
+ */
427
+ value: UpdatePayoutRequest_Failure;
428
+ case: "failure";
429
+ } | {
430
+ case: undefined;
431
+ value?: undefined;
432
+ };
433
+ };
434
+ /**
435
+ * Describes the message tzero.v1.network.UpdatePayoutRequest.
436
+ * Use `create(UpdatePayoutRequestSchema)` to create a new message.
437
+ */
438
+ export declare const UpdatePayoutRequestSchema: GenMessage<UpdatePayoutRequest>;
439
+ /**
440
+ * @generated from message tzero.v1.network.UpdatePayoutRequest.Success
441
+ */
442
+ export type UpdatePayoutRequest_Success = Message<"tzero.v1.network.UpdatePayoutRequest.Success"> & {};
443
+ /**
444
+ * Describes the message tzero.v1.network.UpdatePayoutRequest.Success.
445
+ * Use `create(UpdatePayoutRequest_SuccessSchema)` to create a new message.
446
+ */
447
+ export declare const UpdatePayoutRequest_SuccessSchema: GenMessage<UpdatePayoutRequest_Success>;
448
+ /**
449
+ * @generated from message tzero.v1.network.UpdatePayoutRequest.Failure
450
+ */
451
+ export type UpdatePayoutRequest_Failure = Message<"tzero.v1.network.UpdatePayoutRequest.Failure"> & {};
452
+ /**
453
+ * Describes the message tzero.v1.network.UpdatePayoutRequest.Failure.
454
+ * Use `create(UpdatePayoutRequest_FailureSchema)` to create a new message.
455
+ */
456
+ export declare const UpdatePayoutRequest_FailureSchema: GenMessage<UpdatePayoutRequest_Failure>;
457
+ /**
458
+ * @generated from message tzero.v1.network.UpdatePayoutResponse
459
+ */
460
+ export type UpdatePayoutResponse = Message<"tzero.v1.network.UpdatePayoutResponse"> & {};
461
+ /**
462
+ * Describes the message tzero.v1.network.UpdatePayoutResponse.
463
+ * Use `create(UpdatePayoutResponseSchema)` to create a new message.
464
+ */
465
+ export declare const UpdatePayoutResponseSchema: GenMessage<UpdatePayoutResponse>;
466
+ /**
467
+ * @generated from message tzero.v1.network.GetKycDataRequest
468
+ */
469
+ export type GetKycDataRequest = Message<"tzero.v1.network.GetKycDataRequest"> & {
470
+ /**
471
+ * @generated from oneof tzero.v1.network.GetKycDataRequest.account
472
+ */
473
+ account: {
474
+ /**
475
+ * @generated from field: string person_id = 10;
476
+ */
477
+ value: string;
478
+ case: "personId";
479
+ } | {
480
+ case: undefined;
481
+ value?: undefined;
482
+ };
483
+ };
484
+ /**
485
+ * Describes the message tzero.v1.network.GetKycDataRequest.
486
+ * Use `create(GetKycDataRequestSchema)` to create a new message.
487
+ */
488
+ export declare const GetKycDataRequestSchema: GenMessage<GetKycDataRequest>;
489
+ /**
490
+ * @generated from message tzero.v1.network.GetKycDataResponse
491
+ */
492
+ export type GetKycDataResponse = Message<"tzero.v1.network.GetKycDataResponse"> & {
493
+ /**
494
+ * @generated from oneof tzero.v1.network.GetKycDataResponse.kyc_data
495
+ */
496
+ kycData: {
497
+ /**
498
+ * @generated from field: string sumsub_kyc_token = 10;
499
+ */
500
+ value: string;
501
+ case: "sumsubKycToken";
502
+ } | {
503
+ case: undefined;
504
+ value?: undefined;
505
+ };
506
+ };
507
+ /**
508
+ * Describes the message tzero.v1.network.GetKycDataResponse.
509
+ * Use `create(GetKycDataResponseSchema)` to create a new message.
510
+ */
511
+ export declare const GetKycDataResponseSchema: GenMessage<GetKycDataResponse>;
512
+ /**
513
+ * @generated from message tzero.v1.network.CreatePayInRequest
514
+ */
515
+ export type CreatePayInRequest = Message<"tzero.v1.network.CreatePayInRequest"> & {
516
+ /**
517
+ * @generated from field: string payment_id = 10;
518
+ */
519
+ paymentId: string;
520
+ /**
521
+ * @generated from field: tzero.v1.common.Decimal amount = 20;
522
+ */
523
+ amount?: Decimal;
524
+ };
525
+ /**
526
+ * Describes the message tzero.v1.network.CreatePayInRequest.
527
+ * Use `create(CreatePayInRequestSchema)` to create a new message.
528
+ */
529
+ export declare const CreatePayInRequestSchema: GenMessage<CreatePayInRequest>;
530
+ /**
531
+ * @generated from message tzero.v1.network.CreatePayInResponse
532
+ */
533
+ export type CreatePayInResponse = Message<"tzero.v1.network.CreatePayInResponse"> & {};
534
+ /**
535
+ * Describes the message tzero.v1.network.CreatePayInResponse.
536
+ * Use `create(CreatePayInResponseSchema)` to create a new message.
537
+ */
538
+ export declare const CreatePayInResponseSchema: GenMessage<CreatePayInResponse>;
539
+ /**
540
+ * @generated from enum tzero.v1.network.QuoteType
541
+ */
542
+ export declare enum QuoteType {
543
+ /**
544
+ * @generated from enum value: QUOTE_TYPE_UNSPECIFIED = 0;
545
+ */
546
+ UNSPECIFIED = 0,
547
+ /**
548
+ * real-time quote must be valid at least for 30 seconds (TBD)
549
+ *
550
+ * @generated from enum value: QUOTE_TYPE_REALTIME = 1;
551
+ */
552
+ REALTIME = 1
553
+ }
554
+ /**
555
+ * Describes the enum tzero.v1.network.QuoteType.
556
+ */
557
+ export declare const QuoteTypeSchema: GenEnum<QuoteType>;
558
+ /**
559
+ * *
560
+ * This service is used by provider to interact with the Network, e.g. push quotes and initiate payments.
561
+ *
562
+ * All methods of this service are idempotent, meaning they are safe to retry and multiple calls with the same parameters will have no additional effect.
563
+ *
564
+ * @generated from service tzero.v1.network.NetworkService
565
+ */
566
+ export declare const NetworkService: GenService<{
567
+ /**
568
+ * *
569
+ * Used by the provider to publish pay-in and pay-out quotes (FX rates) into the network.
570
+ * These quotes include tiered pricing bands and an expiration timestamp.
571
+ * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
572
+ *
573
+ * @generated from rpc tzero.v1.network.NetworkService.UpdateQuote
574
+ */
575
+ updateQuote: {
576
+ methodKind: "unary";
577
+ input: typeof UpdateQuoteRequestSchema;
578
+ output: typeof UpdateQuoteResponseSchema;
579
+ };
580
+ /**
581
+ * *
582
+ * Request the best available quote for a payout in a specific currency, for a given amount.
583
+ * If the payout quote exists, but the credit limit is exceeded, this quote will not be considered.
584
+ *
585
+ * @generated from rpc tzero.v1.network.NetworkService.GetPayoutQuote
586
+ */
587
+ getPayoutQuote: {
588
+ methodKind: "unary";
589
+ input: typeof GetPayoutQuoteRequestSchema;
590
+ output: typeof GetPayoutQuoteResponseSchema;
591
+ };
592
+ /**
593
+ * *
594
+ * Submit a request to create a new payment. PayIn currency and QuoteId are the optional parameters.
595
+ * If the payIn currency is not specified, the network will use USD as the default payIn currency, and considering
596
+ * the amount in USD.
597
+ * If specified, it must be a valid currency code - in this case the network will try to find the payIn quote for the
598
+ * specified currency and considering the band from the provider initiated this request. So this is only possible, if
599
+ * this provider already submitted the payIn quote for the specified currency using UpdateQuote rpc.
600
+ * If the quoteID is specified, it must be a valid quoteId that was previously returned by the GetPayoutQuote method.
601
+ * If the quoteId is not specified, the network will try to find a suitable quote for the payout currency and amount,
602
+ * same way as GetPayoutQuote rpc.
603
+ * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
604
+ *
605
+ * @generated from rpc tzero.v1.network.NetworkService.CreatePayment
606
+ */
607
+ createPayment: {
608
+ methodKind: "unary";
609
+ input: typeof CreatePaymentRequestSchema;
610
+ output: typeof CreatePaymentResponseSchema;
611
+ };
612
+ /**
613
+ * *
614
+ * Inform the network that a payout has been completed or failed. This endpoint is called by the payout
615
+ * provider, specifying the payment ID and payout ID, which was provided when the payout request was made to this provider.
616
+ * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
617
+ *
618
+ * @generated from rpc tzero.v1.network.NetworkService.UpdatePayout
619
+ */
620
+ updatePayout: {
621
+ methodKind: "unary";
622
+ input: typeof UpdatePayoutRequestSchema;
623
+ output: typeof UpdatePayoutResponseSchema;
624
+ };
625
+ /**
626
+ * *
627
+ * Inform the network that the provider has received a pay-in from the user.
628
+ * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
629
+ *
630
+ * @generated from rpc tzero.v1.network.NetworkService.CreatePayIn
631
+ */
632
+ createPayIn: {
633
+ methodKind: "unary";
634
+ input: typeof CreatePayInRequestSchema;
635
+ output: typeof CreatePayInResponseSchema;
636
+ };
637
+ /**
638
+ *
639
+ * Retrieve KYC verification data (e.g., SumSub token) for a person involved in the payment.
640
+ *
641
+ *
642
+ * @generated from rpc tzero.v1.network.NetworkService.GetKycData
643
+ */
644
+ getKycData: {
645
+ methodKind: "unary";
646
+ input: typeof GetKycDataRequestSchema;
647
+ output: typeof GetKycDataResponseSchema;
648
+ };
649
+ }>;