@t-0/provider-sdk 1.0.23 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/client/client.d.ts +3 -33
- package/lib/client/client.js +4 -5
- package/lib/common/gen/tzero/v1/common/common_pb.d.ts +64 -0
- package/lib/common/gen/tzero/v1/common/common_pb.js +53 -0
- package/lib/common/gen/tzero/v1/common/payment_method_pb.d.ts +122 -0
- package/lib/common/gen/tzero/v1/common/payment_method_pb.js +57 -0
- package/lib/common/gen/tzero/v1/payment/network_pb.d.ts +567 -0
- package/lib/common/gen/tzero/v1/payment/network_pb.js +144 -0
- package/lib/common/gen/tzero/v1/payment/provider_pb.d.ts +641 -0
- package/lib/common/gen/tzero/v1/payment/provider_pb.js +203 -0
- package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +296 -0
- package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +84 -0
- package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +214 -0
- package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +59 -0
- package/lib/common/gen/tzero/v1/public/public_pb.d.ts +234 -0
- package/lib/common/gen/tzero/v1/public/public_pb.js +85 -0
- package/lib/gen/common/common_pb.d.ts +39 -1
- package/lib/gen/common/common_pb.js +42 -2
- package/lib/gen/common/payment_method_pb.d.ts +77 -6
- package/lib/gen/common/payment_method_pb.js +41 -2
- package/lib/gen/network/network_pb.d.ts +10 -98
- package/lib/gen/network/network_pb.js +2 -21
- package/lib/gen/network/provider_pb.d.ts +14 -99
- package/lib/gen/network/provider_pb.js +1 -21
- package/lib/gen/payment_intent/provider/provider_pb.d.ts +296 -0
- package/lib/gen/payment_intent/provider/provider_pb.js +84 -0
- package/lib/gen/payment_intent/recipient/recipient_pb.d.ts +214 -0
- package/lib/gen/payment_intent/recipient/recipient_pb.js +59 -0
- package/lib/index.d.ts +6 -4
- package/lib/index.js +6 -4
- package/lib/payment_intent/provider/index.d.ts +1 -0
- package/lib/payment_intent/provider/index.js +1 -0
- package/lib/payment_intent/recipient/index.d.ts +1 -0
- package/lib/payment_intent/recipient/index.js +1 -0
- package/lib/service/service.d.ts +6 -2
- package/lib/service/service.js +4 -6
- package/package.json +6 -6
|
@@ -1,13 +1,53 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file common/common.proto (package tzero.v1.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file common/common.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_common_common = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_common_common = /*@__PURE__*/ fileDesc("ChNjb21tb24vY29tbW9uLnByb3RvEg90emVyby52MS5jb21tb24iLQoHRGVjaW1hbBIQCgh1bnNjYWxlZBgKIAEoAxIQCghleHBvbmVudBgUIAEoBSpRCgpCbG9ja2NoYWluEhoKFkJMT0NLQ0hBSU5fVU5TUEVDSUZJRUQQABISCg5CTE9DS0NIQUlOX0JTQxAKEhMKD0JMT0NLQ0hBSU5fVFJPThBkKj0KClN0YWJsZWNvaW4SGgoWU1RBQkxFQ09JTl9VTlNQRUNJRklFRBAAEhMKD1NUQUJMRUNPSU5fVVNEVBAKQoABChNjb20udHplcm8udjEuY29tbW9uQgtDb21tb25Qcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message tzero.v1.common.Decimal.
|
|
11
11
|
* Use `create(DecimalSchema)` to create a new message.
|
|
12
12
|
*/
|
|
13
13
|
export const DecimalSchema = /*@__PURE__*/ messageDesc(file_common_common, 0);
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum tzero.v1.common.Blockchain
|
|
16
|
+
*/
|
|
17
|
+
export var Blockchain;
|
|
18
|
+
(function (Blockchain) {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: BLOCKCHAIN_UNSPECIFIED = 0;
|
|
21
|
+
*/
|
|
22
|
+
Blockchain[Blockchain["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: BLOCKCHAIN_BSC = 10;
|
|
25
|
+
*/
|
|
26
|
+
Blockchain[Blockchain["BSC"] = 10] = "BSC";
|
|
27
|
+
/**
|
|
28
|
+
* @generated from enum value: BLOCKCHAIN_TRON = 100;
|
|
29
|
+
*/
|
|
30
|
+
Blockchain[Blockchain["TRON"] = 100] = "TRON";
|
|
31
|
+
})(Blockchain || (Blockchain = {}));
|
|
32
|
+
/**
|
|
33
|
+
* Describes the enum tzero.v1.common.Blockchain.
|
|
34
|
+
*/
|
|
35
|
+
export const BlockchainSchema = /*@__PURE__*/ enumDesc(file_common_common, 0);
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum tzero.v1.common.Stablecoin
|
|
38
|
+
*/
|
|
39
|
+
export var Stablecoin;
|
|
40
|
+
(function (Stablecoin) {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: STABLECOIN_UNSPECIFIED = 0;
|
|
43
|
+
*/
|
|
44
|
+
Stablecoin[Stablecoin["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: STABLECOIN_USDT = 10;
|
|
47
|
+
*/
|
|
48
|
+
Stablecoin[Stablecoin["USDT"] = 10] = "USDT";
|
|
49
|
+
})(Stablecoin || (Stablecoin = {}));
|
|
50
|
+
/**
|
|
51
|
+
* Describes the enum tzero.v1.common.Stablecoin.
|
|
52
|
+
*/
|
|
53
|
+
export const StablecoinSchema = /*@__PURE__*/ enumDesc(file_common_common, 1);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Blockchain, Stablecoin } from "./common_pb";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file common/payment_method.proto.
|
|
@@ -17,6 +18,18 @@ export type PaymentMethod = Message<"tzero.v1.common.PaymentMethod"> & {
|
|
|
17
18
|
*/
|
|
18
19
|
value: SepaPaymentMethod;
|
|
19
20
|
case: "sepa";
|
|
21
|
+
} | {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: tzero.v1.common.SwiftPaymentMethod swift = 30;
|
|
24
|
+
*/
|
|
25
|
+
value: SwiftPaymentMethod;
|
|
26
|
+
case: "swift";
|
|
27
|
+
} | {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: tzero.v1.common.StablecoinPaymentMethod stablecoin = 40;
|
|
30
|
+
*/
|
|
31
|
+
value: StablecoinPaymentMethod;
|
|
32
|
+
case: "stablecoin";
|
|
20
33
|
} | {
|
|
21
34
|
case: undefined;
|
|
22
35
|
value?: undefined;
|
|
@@ -32,20 +45,78 @@ export declare const PaymentMethodSchema: GenMessage<PaymentMethod>;
|
|
|
32
45
|
*/
|
|
33
46
|
export type SepaPaymentMethod = Message<"tzero.v1.common.SepaPaymentMethod"> & {
|
|
34
47
|
/**
|
|
35
|
-
* @generated from field: string iban =
|
|
48
|
+
* @generated from field: string iban = 20;
|
|
36
49
|
*/
|
|
37
50
|
iban: string;
|
|
38
51
|
/**
|
|
39
|
-
* @generated from field: string
|
|
52
|
+
* @generated from field: string beneficiary_name = 30;
|
|
40
53
|
*/
|
|
41
|
-
|
|
54
|
+
beneficiaryName: string;
|
|
42
55
|
/**
|
|
43
|
-
* @generated from field: string
|
|
56
|
+
* @generated from field: string payment_reference = 40;
|
|
44
57
|
*/
|
|
45
|
-
|
|
58
|
+
paymentReference: string;
|
|
46
59
|
};
|
|
47
60
|
/**
|
|
48
61
|
* Describes the message tzero.v1.common.SepaPaymentMethod.
|
|
49
62
|
* Use `create(SepaPaymentMethodSchema)` to create a new message.
|
|
50
63
|
*/
|
|
51
64
|
export declare const SepaPaymentMethodSchema: GenMessage<SepaPaymentMethod>;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message tzero.v1.common.SwiftPaymentMethod
|
|
67
|
+
*/
|
|
68
|
+
export type SwiftPaymentMethod = Message<"tzero.v1.common.SwiftPaymentMethod"> & {};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message tzero.v1.common.SwiftPaymentMethod.
|
|
71
|
+
* Use `create(SwiftPaymentMethodSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const SwiftPaymentMethodSchema: GenMessage<SwiftPaymentMethod>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message tzero.v1.common.StablecoinPaymentMethod
|
|
76
|
+
*/
|
|
77
|
+
export type StablecoinPaymentMethod = Message<"tzero.v1.common.StablecoinPaymentMethod"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: tzero.v1.common.Blockchain blockchain = 10;
|
|
80
|
+
*/
|
|
81
|
+
blockchain: Blockchain;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: tzero.v1.common.Stablecoin stablecoin = 20;
|
|
84
|
+
*/
|
|
85
|
+
stablecoin: Stablecoin;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string address = 30;
|
|
88
|
+
*/
|
|
89
|
+
address: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message tzero.v1.common.StablecoinPaymentMethod.
|
|
93
|
+
* Use `create(StablecoinPaymentMethodSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const StablecoinPaymentMethodSchema: GenMessage<StablecoinPaymentMethod>;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
98
|
+
*/
|
|
99
|
+
export declare enum PaymentMethodType {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_UNSPECIFIED = 0;
|
|
102
|
+
*/
|
|
103
|
+
UNSPECIFIED = 0,
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SEPA = 10;
|
|
106
|
+
*/
|
|
107
|
+
SEPA = 10,
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SWIFT = 20;
|
|
110
|
+
*/
|
|
111
|
+
SWIFT = 20,
|
|
112
|
+
/**
|
|
113
|
+
* only pay in
|
|
114
|
+
*
|
|
115
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
|
|
116
|
+
*/
|
|
117
|
+
CARD = 30
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Describes the enum tzero.v1.common.PaymentMethodType.
|
|
121
|
+
*/
|
|
122
|
+
export declare const PaymentMethodTypeSchema: GenEnum<PaymentMethodType>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file common/payment_method.proto (package tzero.v1.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_common_common } from "./common_pb";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file common/payment_method.proto.
|
|
7
8
|
*/
|
|
8
|
-
export const file_common_payment_method = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_common_payment_method = /*@__PURE__*/ fileDesc("Chtj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
* Describes the message tzero.v1.common.PaymentMethod.
|
|
11
12
|
* Use `create(PaymentMethodSchema)` to create a new message.
|
|
@@ -16,3 +17,41 @@ export const PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment
|
|
|
16
17
|
* Use `create(SepaPaymentMethodSchema)` to create a new message.
|
|
17
18
|
*/
|
|
18
19
|
export const SepaPaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message tzero.v1.common.SwiftPaymentMethod.
|
|
22
|
+
* Use `create(SwiftPaymentMethodSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const SwiftPaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message tzero.v1.common.StablecoinPaymentMethod.
|
|
27
|
+
* Use `create(StablecoinPaymentMethodSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const StablecoinPaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 3);
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
32
|
+
*/
|
|
33
|
+
export var PaymentMethodType;
|
|
34
|
+
(function (PaymentMethodType) {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_UNSPECIFIED = 0;
|
|
37
|
+
*/
|
|
38
|
+
PaymentMethodType[PaymentMethodType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SEPA = 10;
|
|
41
|
+
*/
|
|
42
|
+
PaymentMethodType[PaymentMethodType["SEPA"] = 10] = "SEPA";
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SWIFT = 20;
|
|
45
|
+
*/
|
|
46
|
+
PaymentMethodType[PaymentMethodType["SWIFT"] = 20] = "SWIFT";
|
|
47
|
+
/**
|
|
48
|
+
* only pay in
|
|
49
|
+
*
|
|
50
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
|
|
51
|
+
*/
|
|
52
|
+
PaymentMethodType[PaymentMethodType["CARD"] = 30] = "CARD";
|
|
53
|
+
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
54
|
+
/**
|
|
55
|
+
* Describes the enum tzero.v1.common.PaymentMethodType.
|
|
56
|
+
*/
|
|
57
|
+
export const PaymentMethodTypeSchema = /*@__PURE__*/ enumDesc(file_common_payment_method, 0);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Decimal } from "../common/common_pb";
|
|
3
|
+
import type { PaymentMethodType } from "../common/payment_method_pb";
|
|
3
4
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
6
|
/**
|
|
@@ -51,6 +52,10 @@ export type UpdateQuoteRequest_Quote = Message<"tzero.v1.network.UpdateQuoteRequ
|
|
|
51
52
|
* @generated from field: tzero.v1.network.QuoteType quote_type = 20;
|
|
52
53
|
*/
|
|
53
54
|
quoteType: QuoteType;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 25;
|
|
57
|
+
*/
|
|
58
|
+
paymentMethod: PaymentMethodType;
|
|
54
59
|
/**
|
|
55
60
|
* list of bands for this quote
|
|
56
61
|
*
|
|
@@ -189,16 +194,20 @@ export type CreatePaymentRequest = Message<"tzero.v1.network.CreatePaymentReques
|
|
|
189
194
|
*/
|
|
190
195
|
amount?: Decimal;
|
|
191
196
|
/**
|
|
192
|
-
* if not specified, USD is used
|
|
197
|
+
* if not specified, USD is used
|
|
193
198
|
*
|
|
194
199
|
* @generated from field: optional string payin_currency = 40;
|
|
195
200
|
*/
|
|
196
201
|
payinCurrency?: string;
|
|
197
202
|
/**
|
|
203
|
+
* optional or option in the oneof?
|
|
204
|
+
*
|
|
198
205
|
* @generated from field: tzero.v1.network.CreatePaymentRequest.Sender sender = 50;
|
|
199
206
|
*/
|
|
200
207
|
sender?: CreatePaymentRequest_Sender;
|
|
201
208
|
/**
|
|
209
|
+
* optional or option in the oneof?
|
|
210
|
+
*
|
|
202
211
|
* @generated from field: tzero.v1.network.CreatePaymentRequest.Recipient recipient = 60;
|
|
203
212
|
*/
|
|
204
213
|
recipient?: CreatePaymentRequest_Recipient;
|
|
@@ -469,79 +478,6 @@ export type UpdatePayoutResponse = Message<"tzero.v1.network.UpdatePayoutRespons
|
|
|
469
478
|
* Use `create(UpdatePayoutResponseSchema)` to create a new message.
|
|
470
479
|
*/
|
|
471
480
|
export declare const UpdatePayoutResponseSchema: GenMessage<UpdatePayoutResponse>;
|
|
472
|
-
/**
|
|
473
|
-
* @generated from message tzero.v1.network.GetKycDataRequest
|
|
474
|
-
*/
|
|
475
|
-
export type GetKycDataRequest = Message<"tzero.v1.network.GetKycDataRequest"> & {
|
|
476
|
-
/**
|
|
477
|
-
* @generated from oneof tzero.v1.network.GetKycDataRequest.account
|
|
478
|
-
*/
|
|
479
|
-
account: {
|
|
480
|
-
/**
|
|
481
|
-
* @generated from field: string person_id = 10;
|
|
482
|
-
*/
|
|
483
|
-
value: string;
|
|
484
|
-
case: "personId";
|
|
485
|
-
} | {
|
|
486
|
-
case: undefined;
|
|
487
|
-
value?: undefined;
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
/**
|
|
491
|
-
* Describes the message tzero.v1.network.GetKycDataRequest.
|
|
492
|
-
* Use `create(GetKycDataRequestSchema)` to create a new message.
|
|
493
|
-
*/
|
|
494
|
-
export declare const GetKycDataRequestSchema: GenMessage<GetKycDataRequest>;
|
|
495
|
-
/**
|
|
496
|
-
* @generated from message tzero.v1.network.GetKycDataResponse
|
|
497
|
-
*/
|
|
498
|
-
export type GetKycDataResponse = Message<"tzero.v1.network.GetKycDataResponse"> & {
|
|
499
|
-
/**
|
|
500
|
-
* @generated from oneof tzero.v1.network.GetKycDataResponse.kyc_data
|
|
501
|
-
*/
|
|
502
|
-
kycData: {
|
|
503
|
-
/**
|
|
504
|
-
* @generated from field: string sumsub_kyc_token = 10;
|
|
505
|
-
*/
|
|
506
|
-
value: string;
|
|
507
|
-
case: "sumsubKycToken";
|
|
508
|
-
} | {
|
|
509
|
-
case: undefined;
|
|
510
|
-
value?: undefined;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
/**
|
|
514
|
-
* Describes the message tzero.v1.network.GetKycDataResponse.
|
|
515
|
-
* Use `create(GetKycDataResponseSchema)` to create a new message.
|
|
516
|
-
*/
|
|
517
|
-
export declare const GetKycDataResponseSchema: GenMessage<GetKycDataResponse>;
|
|
518
|
-
/**
|
|
519
|
-
* @generated from message tzero.v1.network.CreatePayInRequest
|
|
520
|
-
*/
|
|
521
|
-
export type CreatePayInRequest = Message<"tzero.v1.network.CreatePayInRequest"> & {
|
|
522
|
-
/**
|
|
523
|
-
* @generated from field: string payment_id = 10;
|
|
524
|
-
*/
|
|
525
|
-
paymentId: string;
|
|
526
|
-
/**
|
|
527
|
-
* @generated from field: tzero.v1.common.Decimal amount = 20;
|
|
528
|
-
*/
|
|
529
|
-
amount?: Decimal;
|
|
530
|
-
};
|
|
531
|
-
/**
|
|
532
|
-
* Describes the message tzero.v1.network.CreatePayInRequest.
|
|
533
|
-
* Use `create(CreatePayInRequestSchema)` to create a new message.
|
|
534
|
-
*/
|
|
535
|
-
export declare const CreatePayInRequestSchema: GenMessage<CreatePayInRequest>;
|
|
536
|
-
/**
|
|
537
|
-
* @generated from message tzero.v1.network.CreatePayInResponse
|
|
538
|
-
*/
|
|
539
|
-
export type CreatePayInResponse = Message<"tzero.v1.network.CreatePayInResponse"> & {};
|
|
540
|
-
/**
|
|
541
|
-
* Describes the message tzero.v1.network.CreatePayInResponse.
|
|
542
|
-
* Use `create(CreatePayInResponseSchema)` to create a new message.
|
|
543
|
-
*/
|
|
544
|
-
export declare const CreatePayInResponseSchema: GenMessage<CreatePayInResponse>;
|
|
545
481
|
/**
|
|
546
482
|
* @generated from enum tzero.v1.network.QuoteType
|
|
547
483
|
*/
|
|
@@ -628,28 +564,4 @@ export declare const NetworkService: GenService<{
|
|
|
628
564
|
input: typeof UpdatePayoutRequestSchema;
|
|
629
565
|
output: typeof UpdatePayoutResponseSchema;
|
|
630
566
|
};
|
|
631
|
-
/**
|
|
632
|
-
* *
|
|
633
|
-
* Inform the network that the provider has received a pay-in from the user.
|
|
634
|
-
* This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
635
|
-
*
|
|
636
|
-
* @generated from rpc tzero.v1.network.NetworkService.CreatePayIn
|
|
637
|
-
*/
|
|
638
|
-
createPayIn: {
|
|
639
|
-
methodKind: "unary";
|
|
640
|
-
input: typeof CreatePayInRequestSchema;
|
|
641
|
-
output: typeof CreatePayInResponseSchema;
|
|
642
|
-
};
|
|
643
|
-
/**
|
|
644
|
-
*
|
|
645
|
-
* Retrieve KYC verification data (e.g., SumSub token) for a person involved in the payment.
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
* @generated from rpc tzero.v1.network.NetworkService.GetKycData
|
|
649
|
-
*/
|
|
650
|
-
getKycData: {
|
|
651
|
-
methodKind: "unary";
|
|
652
|
-
input: typeof GetKycDataRequestSchema;
|
|
653
|
-
output: typeof GetKycDataResponseSchema;
|
|
654
|
-
};
|
|
655
567
|
}>;
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_common_common } from "../common/common_pb";
|
|
6
|
+
import { file_common_payment_method } from "../common/payment_method_pb";
|
|
6
7
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file network/network.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_network_network = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_network_network = /*@__PURE__*/ fileDesc("ChVuZXR3b3JrL25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLm5ldHdvcmsirAQKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEubmV0d29yay5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEubmV0d29yay5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUanAMKBVF1b3RlEhAKCGN1cnJlbmN5GAogASgJEi8KCnF1b3RlX3R5cGUYFCABKA4yGy50emVyby52MS5uZXR3b3JrLlF1b3RlVHlwZRI6Cg5wYXltZW50X21ldGhvZBgZIAEoDjIiLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kVHlwZRI+CgViYW5kcxgeIAMoCzIvLnR6ZXJvLnYxLm5ldHdvcmsuVXBkYXRlUXVvdGVSZXF1ZXN0LlF1b3RlLkJhbmQSLgoKZXhwaXJhdGlvbhg8IAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLQoJdGltZXN0YW1wGEYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBp1CgRCYW5kEhcKD2NsaWVudF9xdW90ZV9pZBgKIAEoCRIsCgptYXhfYW1vdW50GCggASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwSJgoEcmF0ZRgyIAEoCzIYLnR6ZXJvLnYxLmNvbW1vbi5EZWNpbWFsIhUKE1VwZGF0ZVF1b3RlUmVzcG9uc2UiiwEKFUdldFBheW91dFF1b3RlUmVxdWVzdBIXCg9wYXlvdXRfY3VycmVuY3kYCiABKAkSKAoGYW1vdW50GBQgASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwSLwoKcXVvdGVfdHlwZRgeIAEoDjIbLnR6ZXJv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25zZSIDkAICEmgKDkdldFBheW91dFF1b3RlEicudHplcm8udjEubmV0d29yay5HZXRQYXlvdXRRdW90ZVJlcXVlc3QaKC50emVyby52MS5uZXR3b3JrLkdldFBheW91dFF1b3RlUmVzcG9uc2UiA5ACARJlCg1DcmVhdGVQYXltZW50EiYudHplcm8udjEubmV0d29yay5DcmVhdGVQYXltZW50UmVxdWVzdBonLnR6ZXJvLnYxLm5ldHdvcmsuQ3JlYXRlUGF5bWVudFJlc3BvbnNlIgOQAgISYgoMVXBkYXRlUGF5b3V0EiUudHplcm8udjEubmV0d29yay5VcGRhdGVQYXlvdXRSZXF1ZXN0GiYudHplcm8udjEubmV0d29yay5VcGRhdGVQYXlvdXRSZXNwb25zZSIDkAICQoYBChRjb20udHplcm8udjEubmV0d29ya0IMTmV0d29ya1Byb3RvUAGiAgNUVk6qAhBUemVyby5WMS5OZXR3b3JrygIQVHplcm9cVjFcTmV0d29ya+ICHFR6ZXJvXFYxXE5ldHdvcmtcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6Ok5ldHdvcmtiBnByb3RvMw", [file_common_common, file_common_payment_method, file_google_protobuf_timestamp]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message tzero.v1.network.UpdateQuoteRequest.
|
|
13
14
|
* Use `create(UpdateQuoteRequestSchema)` to create a new message.
|
|
@@ -112,26 +113,6 @@ export const UpdatePayoutRequest_FailureSchema = /*@__PURE__*/ messageDesc(file_
|
|
|
112
113
|
* Use `create(UpdatePayoutResponseSchema)` to create a new message.
|
|
113
114
|
*/
|
|
114
115
|
export const UpdatePayoutResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 8);
|
|
115
|
-
/**
|
|
116
|
-
* Describes the message tzero.v1.network.GetKycDataRequest.
|
|
117
|
-
* Use `create(GetKycDataRequestSchema)` to create a new message.
|
|
118
|
-
*/
|
|
119
|
-
export const GetKycDataRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 9);
|
|
120
|
-
/**
|
|
121
|
-
* Describes the message tzero.v1.network.GetKycDataResponse.
|
|
122
|
-
* Use `create(GetKycDataResponseSchema)` to create a new message.
|
|
123
|
-
*/
|
|
124
|
-
export const GetKycDataResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 10);
|
|
125
|
-
/**
|
|
126
|
-
* Describes the message tzero.v1.network.CreatePayInRequest.
|
|
127
|
-
* Use `create(CreatePayInRequestSchema)` to create a new message.
|
|
128
|
-
*/
|
|
129
|
-
export const CreatePayInRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 11);
|
|
130
|
-
/**
|
|
131
|
-
* Describes the message tzero.v1.network.CreatePayInResponse.
|
|
132
|
-
* Use `create(CreatePayInResponseSchema)` to create a new message.
|
|
133
|
-
*/
|
|
134
|
-
export const CreatePayInResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 12);
|
|
135
116
|
/**
|
|
136
117
|
* @generated from enum tzero.v1.network.QuoteType
|
|
137
118
|
*/
|
|
@@ -103,8 +103,6 @@ export declare const AppendLedgerEntriesRequest_TransactionSchema: GenMessage<Ap
|
|
|
103
103
|
*/
|
|
104
104
|
export type AppendLedgerEntriesRequest_Transaction_PayIn = Message<"network.v1.provider.AppendLedgerEntriesRequest.Transaction.PayIn"> & {
|
|
105
105
|
/**
|
|
106
|
-
* TODO: should we include details in the transaction?
|
|
107
|
-
*
|
|
108
106
|
* @generated from field: uint64 payment_id = 10;
|
|
109
107
|
*/
|
|
110
108
|
paymentId: bigint;
|
|
@@ -361,15 +359,15 @@ export type PayoutRequest = Message<"network.v1.provider.PayoutRequest"> & {
|
|
|
361
359
|
* amount in currency of the payout
|
|
362
360
|
* This is the amount that should be paid out to the recipient.
|
|
363
361
|
*
|
|
364
|
-
* @generated from field: tzero.v1.common.Decimal amount = 50;
|
|
365
|
-
*/
|
|
366
|
-
amount?: Decimal;
|
|
367
|
-
/**
|
|
368
362
|
* *
|
|
369
363
|
* payout_method is the payment method for the payout, e.g. bank transfer, crypto transfer, etc.
|
|
370
364
|
* This is used to specify how the payout should be made.
|
|
371
365
|
*
|
|
372
|
-
* @generated from field: tzero.v1.common.
|
|
366
|
+
* @generated from field: tzero.v1.common.Decimal amount = 50;
|
|
367
|
+
*/
|
|
368
|
+
amount?: Decimal;
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: optional tzero.v1.common.PaymentMethod payout_method = 60;
|
|
373
371
|
*/
|
|
374
372
|
payoutMethod?: PaymentMethod;
|
|
375
373
|
/**
|
|
@@ -379,6 +377,13 @@ export type PayoutRequest = Message<"network.v1.provider.PayoutRequest"> & {
|
|
|
379
377
|
* @generated from field: optional string reference = 70;
|
|
380
378
|
*/
|
|
381
379
|
reference?: string;
|
|
380
|
+
/**
|
|
381
|
+
* *
|
|
382
|
+
* Pay-in provider id which initiated the pay out.
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: uint32 pay_in_provider_id = 80;
|
|
385
|
+
*/
|
|
386
|
+
payInProviderId: number;
|
|
382
387
|
};
|
|
383
388
|
/**
|
|
384
389
|
* Describes the message network.v1.provider.PayoutRequest.
|
|
@@ -577,86 +582,6 @@ export type UpdateLimitResponse = Message<"network.v1.provider.UpdateLimitRespon
|
|
|
577
582
|
* Use `create(UpdateLimitResponseSchema)` to create a new message.
|
|
578
583
|
*/
|
|
579
584
|
export declare const UpdateLimitResponseSchema: GenMessage<UpdateLimitResponse>;
|
|
580
|
-
/**
|
|
581
|
-
* @generated from message network.v1.provider.CreatePayInDetailsRequest
|
|
582
|
-
*/
|
|
583
|
-
export type CreatePayInDetailsRequest = Message<"network.v1.provider.CreatePayInDetailsRequest"> & {
|
|
584
|
-
/**
|
|
585
|
-
* *
|
|
586
|
-
* payment_intent_id is a unique identifier for the payment intent, which is used to create a payment later.
|
|
587
|
-
*
|
|
588
|
-
* @generated from field: string payment_intent_id = 10;
|
|
589
|
-
*/
|
|
590
|
-
paymentIntentId: string;
|
|
591
|
-
/**
|
|
592
|
-
* *
|
|
593
|
-
* Sender details for the pay-in process.
|
|
594
|
-
*
|
|
595
|
-
* @generated from field: network.v1.provider.CreatePayInDetailsRequest.Sender sender = 40;
|
|
596
|
-
*/
|
|
597
|
-
sender?: CreatePayInDetailsRequest_Sender;
|
|
598
|
-
};
|
|
599
|
-
/**
|
|
600
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.
|
|
601
|
-
* Use `create(CreatePayInDetailsRequestSchema)` to create a new message.
|
|
602
|
-
*/
|
|
603
|
-
export declare const CreatePayInDetailsRequestSchema: GenMessage<CreatePayInDetailsRequest>;
|
|
604
|
-
/**
|
|
605
|
-
* @generated from message network.v1.provider.CreatePayInDetailsRequest.Sender
|
|
606
|
-
*/
|
|
607
|
-
export type CreatePayInDetailsRequest_Sender = Message<"network.v1.provider.CreatePayInDetailsRequest.Sender"> & {
|
|
608
|
-
/**
|
|
609
|
-
* @generated from oneof network.v1.provider.CreatePayInDetailsRequest.Sender.sender
|
|
610
|
-
*/
|
|
611
|
-
sender: {
|
|
612
|
-
/**
|
|
613
|
-
* @generated from field: network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson private_person = 10;
|
|
614
|
-
*/
|
|
615
|
-
value: CreatePayInDetailsRequest_Sender_PrivatePerson;
|
|
616
|
-
case: "privatePerson";
|
|
617
|
-
} | {
|
|
618
|
-
case: undefined;
|
|
619
|
-
value?: undefined;
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
/**
|
|
623
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.
|
|
624
|
-
* Use `create(CreatePayInDetailsRequest_SenderSchema)` to create a new message.
|
|
625
|
-
*/
|
|
626
|
-
export declare const CreatePayInDetailsRequest_SenderSchema: GenMessage<CreatePayInDetailsRequest_Sender>;
|
|
627
|
-
/**
|
|
628
|
-
* @generated from message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson
|
|
629
|
-
*/
|
|
630
|
-
export type CreatePayInDetailsRequest_Sender_PrivatePerson = Message<"network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson"> & {
|
|
631
|
-
/**
|
|
632
|
-
* can be used to get KYC data
|
|
633
|
-
*
|
|
634
|
-
* @generated from field: string private_person_id = 10;
|
|
635
|
-
*/
|
|
636
|
-
privatePersonId: string;
|
|
637
|
-
};
|
|
638
|
-
/**
|
|
639
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson.
|
|
640
|
-
* Use `create(CreatePayInDetailsRequest_Sender_PrivatePersonSchema)` to create a new message.
|
|
641
|
-
*/
|
|
642
|
-
export declare const CreatePayInDetailsRequest_Sender_PrivatePersonSchema: GenMessage<CreatePayInDetailsRequest_Sender_PrivatePerson>;
|
|
643
|
-
/**
|
|
644
|
-
* @generated from message network.v1.provider.CreatePayInDetailsResponse
|
|
645
|
-
*/
|
|
646
|
-
export type CreatePayInDetailsResponse = Message<"network.v1.provider.CreatePayInDetailsResponse"> & {
|
|
647
|
-
/**
|
|
648
|
-
* *
|
|
649
|
-
* List of available pay-in methods for the sender. This is used to present the user with options for how they can pay in.
|
|
650
|
-
*
|
|
651
|
-
* @generated from field: repeated tzero.v1.common.PaymentMethod pay_in_method = 10;
|
|
652
|
-
*/
|
|
653
|
-
payInMethod: PaymentMethod[];
|
|
654
|
-
};
|
|
655
|
-
/**
|
|
656
|
-
* Describes the message network.v1.provider.CreatePayInDetailsResponse.
|
|
657
|
-
* Use `create(CreatePayInDetailsResponseSchema)` to create a new message.
|
|
658
|
-
*/
|
|
659
|
-
export declare const CreatePayInDetailsResponseSchema: GenMessage<CreatePayInDetailsResponse>;
|
|
660
585
|
/**
|
|
661
586
|
* *
|
|
662
587
|
* This service must be implemented by the provider.
|
|
@@ -669,6 +594,7 @@ export declare const ProviderService: GenService<{
|
|
|
669
594
|
/**
|
|
670
595
|
* *
|
|
671
596
|
* Network instructs the provider to execute a payout to the recipient.
|
|
597
|
+
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
672
598
|
*
|
|
673
599
|
* @generated from rpc network.v1.provider.ProviderService.PayOut
|
|
674
600
|
*/
|
|
@@ -680,6 +606,7 @@ export declare const ProviderService: GenService<{
|
|
|
680
606
|
/**
|
|
681
607
|
* *
|
|
682
608
|
* Network provides an update on the status of a payment. This can be either a success or a failure.
|
|
609
|
+
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
683
610
|
*
|
|
684
611
|
* @generated from rpc network.v1.provider.ProviderService.UpdatePayment
|
|
685
612
|
*/
|
|
@@ -688,18 +615,6 @@ export declare const ProviderService: GenService<{
|
|
|
688
615
|
input: typeof UpdatePaymentRequestSchema;
|
|
689
616
|
output: typeof UpdatePaymentResponseSchema;
|
|
690
617
|
};
|
|
691
|
-
/**
|
|
692
|
-
* *
|
|
693
|
-
* Network asks the provider for possible pay-in options for a sender, in preparation for a pay-in process.
|
|
694
|
-
* This is optional, but if implemented, it should return a list of available pay-in methods.
|
|
695
|
-
*
|
|
696
|
-
* @generated from rpc network.v1.provider.ProviderService.CreatePayInDetails
|
|
697
|
-
*/
|
|
698
|
-
createPayInDetails: {
|
|
699
|
-
methodKind: "unary";
|
|
700
|
-
input: typeof CreatePayInDetailsRequestSchema;
|
|
701
|
-
output: typeof CreatePayInDetailsResponseSchema;
|
|
702
|
-
};
|
|
703
618
|
/**
|
|
704
619
|
* *
|
|
705
620
|
* This rpc is used to notify the provider about the changes in credit limit and/or credit usage.
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file network/provider.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_network_provider = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_network_provider = /*@__PURE__*/ fileDesc("ChZuZXR3b3JrL3Byb3ZpZGVyLnByb3RvEhNuZXR3b3JrLnYxLnByb3ZpZGVyItINChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJRCgx0cmFuc2FjdGlvbnMYFCADKAsyOy5uZXR3b3JrLn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VlCqAhNOZXR3b3JrLlYxLlByb3ZpZGVyygITTmV0d29ya1xWMVxQcm92aWRlcuICH05ldHdvcmtcVjFcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAhVOZXR3b3JrOjpWMTo6UHJvdmlkZXJiBnByb3RvMw", [file_common_payment_method, file_common_common, file_google_protobuf_timestamp]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message network.v1.provider.AppendLedgerEntriesRequest.
|
|
14
14
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
@@ -192,26 +192,6 @@ export const UpdateLimitRequest_LimitSchema = /*@__PURE__*/ messageDesc(file_net
|
|
|
192
192
|
* Use `create(UpdateLimitResponseSchema)` to create a new message.
|
|
193
193
|
*/
|
|
194
194
|
export const UpdateLimitResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 7);
|
|
195
|
-
/**
|
|
196
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.
|
|
197
|
-
* Use `create(CreatePayInDetailsRequestSchema)` to create a new message.
|
|
198
|
-
*/
|
|
199
|
-
export const CreatePayInDetailsRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8);
|
|
200
|
-
/**
|
|
201
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.
|
|
202
|
-
* Use `create(CreatePayInDetailsRequest_SenderSchema)` to create a new message.
|
|
203
|
-
*/
|
|
204
|
-
export const CreatePayInDetailsRequest_SenderSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0);
|
|
205
|
-
/**
|
|
206
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson.
|
|
207
|
-
* Use `create(CreatePayInDetailsRequest_Sender_PrivatePersonSchema)` to create a new message.
|
|
208
|
-
*/
|
|
209
|
-
export const CreatePayInDetailsRequest_Sender_PrivatePersonSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0, 0);
|
|
210
|
-
/**
|
|
211
|
-
* Describes the message network.v1.provider.CreatePayInDetailsResponse.
|
|
212
|
-
* Use `create(CreatePayInDetailsResponseSchema)` to create a new message.
|
|
213
|
-
*/
|
|
214
|
-
export const CreatePayInDetailsResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 9);
|
|
215
195
|
/**
|
|
216
196
|
* *
|
|
217
197
|
* This service must be implemented by the provider.
|