@t-0/provider-sdk 1.1.25 → 1.1.26
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/lib/cjs/common/gen/tzero/v1/common/common_pb.d.ts +4 -0
- package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +5 -1
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +24 -5
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +1 -0
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +99 -6
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment/quote_pb.d.ts +194 -0
- package/lib/cjs/common/gen/tzero/v1/payment/quote_pb.js +57 -0
- package/lib/cjs/common/gen/tzero/v1/payment_intent/network_pb.d.ts +0 -2
- package/lib/cjs/version.d.ts +1 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/gen/tzero/v1/common/common_pb.d.ts +4 -0
- package/lib/esm/common/gen/tzero/v1/common/common_pb.js +5 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +24 -5
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +1 -0
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +99 -6
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment/quote_pb.d.ts +194 -0
- package/lib/esm/common/gen/tzero/v1/payment/quote_pb.js +54 -0
- package/lib/esm/common/gen/tzero/v1/payment_intent/network_pb.d.ts +0 -2
- package/lib/esm/version.d.ts +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { PaymentDetails } from "../common/payment_method_pb.js";
|
|
3
3
|
import type { PaymentReceipt } from "../common/payment_receipt_pb.js";
|
|
4
|
-
import type { Decimal } from "../common/common_pb.js";
|
|
4
|
+
import type { Blockchain, Decimal } from "../common/common_pb.js";
|
|
5
5
|
import type { Person } from "../../../ivms101/v1/ivms/ivms101_pb.js";
|
|
6
6
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -102,6 +102,13 @@ export type AppendLedgerEntriesRequest_Transaction_Payout = Message<"tzero.v1.pa
|
|
|
102
102
|
*/
|
|
103
103
|
export declare const AppendLedgerEntriesRequest_Transaction_PayoutSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_Payout>;
|
|
104
104
|
/**
|
|
105
|
+
* *
|
|
106
|
+
* An on-chain settlement between two providers. The on-chain fields let the
|
|
107
|
+
* counterparty reconcile the settlement against the USDT transfer actually
|
|
108
|
+
* sent. The settlement participants and USD amount below are authoritative;
|
|
109
|
+
* the ledger entries remain authoritative for the resulting account balances.
|
|
110
|
+
* Each recipient's counterparty is whichever provider id is not its own.
|
|
111
|
+
*
|
|
105
112
|
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.ProviderSettlement
|
|
106
113
|
*/
|
|
107
114
|
export type AppendLedgerEntriesRequest_Transaction_ProviderSettlement = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.ProviderSettlement"> & {
|
|
@@ -109,6 +116,48 @@ export type AppendLedgerEntriesRequest_Transaction_ProviderSettlement = Message<
|
|
|
109
116
|
* @generated from field: uint64 settlement_id = 10;
|
|
110
117
|
*/
|
|
111
118
|
settlementId: bigint;
|
|
119
|
+
/**
|
|
120
|
+
* no validation: observed settlement chain; informational reconciliation
|
|
121
|
+
* descriptor. defined_only intentionally omitted: this flows network->provider
|
|
122
|
+
* and the receiving provider may lag common.Blockchain, so defined_only would
|
|
123
|
+
* reject an append carrying a newly-added chain.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: tzero.v1.common.Blockchain blockchain = 20;
|
|
126
|
+
*/
|
|
127
|
+
blockchain: Blockchain;
|
|
128
|
+
/**
|
|
129
|
+
* no validation: observed on-chain transaction hash; informational
|
|
130
|
+
* descriptor for reconciliation, not a gating constraint
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string tx_hash = 30;
|
|
133
|
+
*/
|
|
134
|
+
txHash: string;
|
|
135
|
+
/**
|
|
136
|
+
* Observed on-chain (USDT) amount; differs from the settlement amount the
|
|
137
|
+
* ledger entries encode (full precision vs. truncated to cents).
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: tzero.v1.common.Decimal on_chain_amount = 40;
|
|
140
|
+
*/
|
|
141
|
+
onChainAmount?: Decimal | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Provider whose ledger records this settlement as SETTLEMENT_OUT (the sender).
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: uint32 sender_provider_id = 50;
|
|
146
|
+
*/
|
|
147
|
+
senderProviderId: number;
|
|
148
|
+
/**
|
|
149
|
+
* Provider whose ledger records this settlement as SETTLEMENT_IN (the receiver).
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: uint32 receiver_provider_id = 60;
|
|
152
|
+
*/
|
|
153
|
+
receiverProviderId: number;
|
|
154
|
+
/**
|
|
155
|
+
* Settlement amount in USD, truncated to cents. Differs from on_chain_amount
|
|
156
|
+
* (full-precision USDT); equals the settlement ledger leg's credit/debit.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: tzero.v1.common.Decimal amount_usd = 70;
|
|
159
|
+
*/
|
|
160
|
+
amountUsd?: Decimal | undefined;
|
|
112
161
|
};
|
|
113
162
|
/**
|
|
114
163
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.ProviderSettlement.
|
|
@@ -123,6 +172,15 @@ export type AppendLedgerEntriesRequest_Transaction_FeeSettlement = Message<"tzer
|
|
|
123
172
|
* @generated from field: uint64 fee_settlement_id = 10;
|
|
124
173
|
*/
|
|
125
174
|
feeSettlementId: bigint;
|
|
175
|
+
/**
|
|
176
|
+
* Fee settlement amount in USD, truncated to cents. Equals the
|
|
177
|
+
* SETTLEMENT_OUT credit this fee produces. The fee always flows to the
|
|
178
|
+
* network from the provider receiving this callback, so the descriptor
|
|
179
|
+
* carries no provider_id.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: tzero.v1.common.Decimal amount_usd = 20;
|
|
182
|
+
*/
|
|
183
|
+
amountUsd?: Decimal | undefined;
|
|
126
184
|
};
|
|
127
185
|
/**
|
|
128
186
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.FeeSettlement.
|
|
@@ -483,7 +541,8 @@ export declare const PayoutResponse_Failed_ReasonSchema: GenEnum<PayoutResponse_
|
|
|
483
541
|
export type UpdatePaymentRequest = Message<"tzero.v1.payment.UpdatePaymentRequest"> & {
|
|
484
542
|
/**
|
|
485
543
|
* *
|
|
486
|
-
* payment_id is a payment id in the T-0 network.
|
|
544
|
+
* payment_id is a payment id in the T-0 network. The upper bound is the largest
|
|
545
|
+
* value the network assigns, so a provider can store it in a signed 64-bit column.
|
|
487
546
|
*
|
|
488
547
|
* @generated from field: uint64 payment_id = 5;
|
|
489
548
|
*/
|
|
@@ -561,6 +620,24 @@ export type UpdatePaymentRequest_Accepted = Message<"tzero.v1.payment.UpdatePaym
|
|
|
561
620
|
* @generated from field: tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData travel_rule_data = 20;
|
|
562
621
|
*/
|
|
563
622
|
travelRuleData?: UpdatePaymentRequest_Accepted_TravelRuleData | undefined;
|
|
623
|
+
/**
|
|
624
|
+
* * Exchange rate the network applied to this payout, pay-out currency per USD.
|
|
625
|
+
*
|
|
626
|
+
* @generated from field: tzero.v1.common.Decimal rate = 30;
|
|
627
|
+
*/
|
|
628
|
+
rate?: Decimal | undefined;
|
|
629
|
+
/**
|
|
630
|
+
* * Fixed USD markup the network applied to this payout.
|
|
631
|
+
*
|
|
632
|
+
* @generated from field: tzero.v1.common.Decimal fix = 40;
|
|
633
|
+
*/
|
|
634
|
+
fix?: Decimal | undefined;
|
|
635
|
+
/**
|
|
636
|
+
* * Final USD obligation persisted by the network for this accepted payout.
|
|
637
|
+
*
|
|
638
|
+
* @generated from field: tzero.v1.common.Decimal settlement_amount = 50;
|
|
639
|
+
*/
|
|
640
|
+
settlementAmount?: Decimal | undefined;
|
|
564
641
|
};
|
|
565
642
|
/**
|
|
566
643
|
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Accepted.
|
|
@@ -655,7 +732,10 @@ export declare const UpdatePaymentRequest_Failed_ReasonSchema: GenEnum<UpdatePay
|
|
|
655
732
|
*/
|
|
656
733
|
export type UpdatePaymentRequest_Confirmed = Message<"tzero.v1.payment.UpdatePaymentRequest.Confirmed"> & {
|
|
657
734
|
/**
|
|
658
|
-
*
|
|
735
|
+
* *
|
|
736
|
+
* Time of the payout. No validation: the field is absent when the exact payout time
|
|
737
|
+
* is not known, so treat absence as unknown and fall back to the provider's own
|
|
738
|
+
* recorded time for this update rather than rejecting the callback.
|
|
659
739
|
*
|
|
660
740
|
* @generated from field: google.protobuf.Timestamp paid_out_at = 10;
|
|
661
741
|
*/
|
|
@@ -726,13 +806,16 @@ export type UpdateLimitRequest_Limit = Message<"tzero.v1.payment.UpdateLimitRequ
|
|
|
726
806
|
* the Id of the counterparty provider, e.g. the provider that is providing the credit limit.
|
|
727
807
|
* It's usually the payOut provider, which provides the credit line to the payIn provider.
|
|
728
808
|
*
|
|
809
|
+
* *
|
|
810
|
+
* payout_limit = credit_limit - credit_usage - reserve, negative value means credit limit is exceeded,
|
|
811
|
+
* e.g. if counterparty decreased credit limit
|
|
812
|
+
*
|
|
729
813
|
* @generated from field: int32 counterpart_id = 15;
|
|
730
814
|
*/
|
|
731
815
|
counterpartId: number;
|
|
732
816
|
/**
|
|
733
|
-
*
|
|
734
|
-
* payout_limit
|
|
735
|
-
* e.g. if counterparty decreased credit limit
|
|
817
|
+
* Amounts are mirrored verbatim: required enforces presence, sign is not re-validated
|
|
818
|
+
* (payout_limit and credit_usage are signed by design).
|
|
736
819
|
*
|
|
737
820
|
* @generated from field: tzero.v1.common.Decimal payout_limit = 20;
|
|
738
821
|
*/
|
|
@@ -783,22 +866,32 @@ export declare const UpdateLimitResponseSchema: GenMessage<UpdateLimitResponse>;
|
|
|
783
866
|
*/
|
|
784
867
|
export type ApprovePaymentQuoteRequest = Message<"tzero.v1.payment.ApprovePaymentQuoteRequest"> & {
|
|
785
868
|
/**
|
|
869
|
+
* * Payment id assigned by the network, identifying the payment being re-priced.
|
|
870
|
+
*
|
|
786
871
|
* @generated from field: uint64 payment_id = 10;
|
|
787
872
|
*/
|
|
788
873
|
paymentId: bigint;
|
|
789
874
|
/**
|
|
875
|
+
* * Updated pay-out quote id the approval applies to.
|
|
876
|
+
*
|
|
790
877
|
* @generated from field: int64 pay_out_quote_id = 20;
|
|
791
878
|
*/
|
|
792
879
|
payOutQuoteId: bigint;
|
|
793
880
|
/**
|
|
881
|
+
* * Exchange rate the network applied to this payout, pay-out currency per USD.
|
|
882
|
+
*
|
|
794
883
|
* @generated from field: tzero.v1.common.Decimal pay_out_rate = 30;
|
|
795
884
|
*/
|
|
796
885
|
payOutRate?: Decimal | undefined;
|
|
797
886
|
/**
|
|
887
|
+
* * Updated payout amount in the pay-out currency.
|
|
888
|
+
*
|
|
798
889
|
* @generated from field: tzero.v1.common.Decimal pay_out_amount = 40;
|
|
799
890
|
*/
|
|
800
891
|
payOutAmount?: Decimal | undefined;
|
|
801
892
|
/**
|
|
893
|
+
* * Updated settlement amount in USD.
|
|
894
|
+
*
|
|
802
895
|
* @generated from field: tzero.v1.common.Decimal settlement_amount = 50;
|
|
803
896
|
*/
|
|
804
897
|
settlementAmount?: Decimal | undefined;
|
|
@@ -11,7 +11,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file tzero/v1/payment/provider.proto.
|
|
13
13
|
*/
|
|
14
|
-
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("Ch90emVyby92MS9wYXltZW50L3Byb3ZpZGVyLnByb3RvEhB0emVyby52MS5wYXltZW50IqMQChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJYCgx0cmFuc2FjdGlvbnMYFCADKAsyOC50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uQgi6SAWSAQIIARq6CwoLVHJhbnNhY3Rpb24SHwoOdHJhbnNhY3Rpb25faWQYCiABKARCB7pIBDICIAASUwoHZW50cmllcxgeIAMoCzI4LnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1JlcXVlc3QuTGVkZ2VyRW50cnlCCLpIBZIBAggBElIKBnBheW91dBiCASABKAsyPy50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLlBheW91dEgAEmsKE3Byb3ZpZGVyX3NldHRsZW1lbnQYjAEgASgLMksudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdC5UcmFuc2FjdGlvbi5Qcm92aWRlclNldHRsZW1lbnRIABJhCg5mZWVfc2V0dGxlbWVudBiWASABKAsyRi50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLkZlZVNldHRsZW1lbnRIABJmChFwaV9mdW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C5VcGRhdGVMaW1pdFJlcXVlc3QaJS50emVyby52MS5wYXltZW50LlVwZGF0ZUxpbWl0UmVzcG9uc2UiA5ACAhJ3ChNBcHBlbmRMZWRnZXJFbnRyaWVzEiwudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBotLnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgISeAoUQXBwcm92ZVBheW1lbnRRdW90ZXMSLC50emVyby52MS5wYXltZW50LkFwcHJvdmVQYXltZW50UXVvdGVSZXF1ZXN0Gi0udHplcm8udjEucGF5bWVudC5BcHByb3ZlUGF5bWVudFF1b3RlUmVzcG9uc2UiA5ACAkLXAQoUY29tLnR6ZXJvLnYxLnBheW1lbnRCDVByb3ZpZGVyUHJvdG9QAVo7Z2l0aHViLmNvbS90LTAtbmV0d29yay9wcm92aWRlci1zZGsvZ28vYXBpL3R6ZXJvL3YxL3BheW1lbnSiAgNUVlCqAiNUMC5Qcm92aWRlclNkay5BcGkuVHplcm8uVjEuUGF5bWVudMoCEFR6ZXJvXFYxXFBheW1lbnTiAhxUemVyb1xWMVxQYXltZW50XEdQQk1ldGFkYXRh6gISVHplcm86OlYxOjpQYXltZW50YgZwcm90bzM", [file_tzero_v1_common_payment_method, file_tzero_v1_common_payment_receipt, file_tzero_v1_common_common, file_ivms101_v1_ivms_ivms101, file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.
|
|
17
17
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Decimal } from "../common/common_pb.js";
|
|
3
|
+
import type { PaymentMethodType } from "../common/payment_method_pb.js";
|
|
4
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file tzero/v1/payment/quote.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_tzero_v1_payment_quote: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message tzero.v1.payment.GetQuotesRequest
|
|
12
|
+
*/
|
|
13
|
+
export type GetQuotesRequest = Message<"tzero.v1.payment.GetQuotesRequest"> & {};
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message tzero.v1.payment.GetQuotesRequest.
|
|
16
|
+
* Use `create(GetQuotesRequestSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export declare const GetQuotesRequestSchema: GenMessage<GetQuotesRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from message tzero.v1.payment.GetQuotesResponse
|
|
21
|
+
*/
|
|
22
|
+
export type GetQuotesResponse = Message<"tzero.v1.payment.GetQuotesResponse"> & {
|
|
23
|
+
/**
|
|
24
|
+
* One entry per currency that has at least one quoting provider.
|
|
25
|
+
*
|
|
26
|
+
* no validation: any count is valid, including none
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: repeated tzero.v1.payment.GetQuotesResponse.CurrencyQuote quotes = 10;
|
|
29
|
+
*/
|
|
30
|
+
quotes: GetQuotesResponse_CurrencyQuote[];
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.
|
|
34
|
+
* Use `create(GetQuotesResponseSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export declare const GetQuotesResponseSchema: GenMessage<GetQuotesResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* * All pay-out quotes for one currency, grouped by payment method.
|
|
39
|
+
*
|
|
40
|
+
* @generated from message tzero.v1.payment.GetQuotesResponse.CurrencyQuote
|
|
41
|
+
*/
|
|
42
|
+
export type GetQuotesResponse_CurrencyQuote = Message<"tzero.v1.payment.GetQuotesResponse.CurrencyQuote"> & {
|
|
43
|
+
/**
|
|
44
|
+
* * ISO 4217 pay-out currency code, e.g. EUR, GBP.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string currency = 10;
|
|
47
|
+
*/
|
|
48
|
+
currency: string;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: repeated tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote payment_method_quotes = 20;
|
|
51
|
+
*/
|
|
52
|
+
paymentMethodQuotes: GetQuotesResponse_CurrencyQuote_PaymentMethodQuote[];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.
|
|
56
|
+
* Use `create(GetQuotesResponse_CurrencyQuoteSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export declare const GetQuotesResponse_CurrencyQuoteSchema: GenMessage<GetQuotesResponse_CurrencyQuote>;
|
|
59
|
+
/**
|
|
60
|
+
* * All pay-out quotes for one payment method within the enclosing currency, across providers.
|
|
61
|
+
*
|
|
62
|
+
* @generated from message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote
|
|
63
|
+
*/
|
|
64
|
+
export type GetQuotesResponse_CurrencyQuote_PaymentMethodQuote = Message<"tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote"> & {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 10;
|
|
67
|
+
*/
|
|
68
|
+
paymentMethod: PaymentMethodType;
|
|
69
|
+
/**
|
|
70
|
+
* The payout providers quoting this currency and method that the caller holds a credit line with.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: repeated tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote provider_quotes = 20;
|
|
73
|
+
*/
|
|
74
|
+
providerQuotes: GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote[];
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.
|
|
78
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuoteSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const GetQuotesResponse_CurrencyQuote_PaymentMethodQuoteSchema: GenMessage<GetQuotesResponse_CurrencyQuote_PaymentMethodQuote>;
|
|
81
|
+
/**
|
|
82
|
+
* * One payout provider's offering for the enclosing currency and method: the caller's balance
|
|
83
|
+
* with the provider plus its tiered rate bands.
|
|
84
|
+
*
|
|
85
|
+
* @generated from message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote
|
|
86
|
+
*/
|
|
87
|
+
export type GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote = Message<"tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote"> & {
|
|
88
|
+
/**
|
|
89
|
+
* * The payout provider that published these quotes (= KYB id).
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: int32 provider_id = 10;
|
|
92
|
+
*/
|
|
93
|
+
providerId: number;
|
|
94
|
+
/**
|
|
95
|
+
* * The caller's credit standing with this provider (USD, currency-agnostic).
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.ProviderBalance balance = 20;
|
|
98
|
+
*/
|
|
99
|
+
balance?: GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalance | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Tiered rate bands, ascending by max_amount.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: repeated tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.Quote quotes = 30;
|
|
104
|
+
*/
|
|
105
|
+
quotes: GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_Quote[];
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.
|
|
109
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuoteSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuoteSchema: GenMessage<GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote>;
|
|
112
|
+
/**
|
|
113
|
+
* * The caller's credit line with the provider, in USD.
|
|
114
|
+
*
|
|
115
|
+
* @generated from message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.ProviderBalance
|
|
116
|
+
*/
|
|
117
|
+
export type GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalance = Message<"tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.ProviderBalance"> & {
|
|
118
|
+
/**
|
|
119
|
+
* * Total credit the provider extends to the caller.
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: tzero.v1.common.Decimal credit_limit = 10;
|
|
122
|
+
*/
|
|
123
|
+
creditLimit?: Decimal | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* * Credit available to draw on now (credit_limit minus what is used); negative when the line is over-used.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: tzero.v1.common.Decimal available = 20;
|
|
128
|
+
*/
|
|
129
|
+
available?: Decimal | undefined;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.ProviderBalance.
|
|
133
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalanceSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export declare const GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalanceSchema: GenMessage<GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalance>;
|
|
136
|
+
/**
|
|
137
|
+
* * One pricing band: the rate and fixed fee that apply for a pay-out amount up to max_amount.
|
|
138
|
+
*
|
|
139
|
+
* @generated from message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.Quote
|
|
140
|
+
*/
|
|
141
|
+
export type GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_Quote = Message<"tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.Quote"> & {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: int64 quote_id = 10;
|
|
144
|
+
*/
|
|
145
|
+
quoteId: bigint;
|
|
146
|
+
/**
|
|
147
|
+
* * USD ceiling this band applies up to.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: tzero.v1.common.Decimal max_amount = 20;
|
|
150
|
+
*/
|
|
151
|
+
maxAmount?: Decimal | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* * Exchange rate, pay-out currency per USD.
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: tzero.v1.common.Decimal rate = 30;
|
|
156
|
+
*/
|
|
157
|
+
rate?: Decimal | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* * Fixed charge in USD applied per transfer on top of the exchange rate.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: tzero.v1.common.Decimal fix = 40;
|
|
162
|
+
*/
|
|
163
|
+
fix?: Decimal | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: google.protobuf.Timestamp expiration = 50;
|
|
166
|
+
*/
|
|
167
|
+
expiration?: Timestamp | undefined;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.Quote.
|
|
171
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_QuoteSchema)` to create a new message.
|
|
172
|
+
*/
|
|
173
|
+
export declare const GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_QuoteSchema: GenMessage<GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_Quote>;
|
|
174
|
+
/**
|
|
175
|
+
* *
|
|
176
|
+
* Network surface for browsing published pay-out quotes.
|
|
177
|
+
*
|
|
178
|
+
* @generated from service tzero.v1.payment.QuoteService
|
|
179
|
+
*/
|
|
180
|
+
export declare const QuoteService: GenService<{
|
|
181
|
+
/**
|
|
182
|
+
* * Lists the active pay-out quotes the caller can transact against, grouped by currency, then
|
|
183
|
+
* payment method: for each, the payout providers it holds a credit line with, the caller's
|
|
184
|
+
* balance with each, and their tiered rate bands. Indicative — request a priced quote via
|
|
185
|
+
* GetQuote to act on one.
|
|
186
|
+
*
|
|
187
|
+
* @generated from rpc tzero.v1.payment.QuoteService.GetQuotes
|
|
188
|
+
*/
|
|
189
|
+
getQuotes: {
|
|
190
|
+
methodKind: "unary";
|
|
191
|
+
input: typeof GetQuotesRequestSchema;
|
|
192
|
+
output: typeof GetQuotesResponseSchema;
|
|
193
|
+
};
|
|
194
|
+
}>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file tzero/v1/payment/quote.proto (package tzero.v1.payment, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_tzero_v1_common_common } from "../common/common_pb.js";
|
|
6
|
+
import { file_tzero_v1_common_payment_method } from "../common/payment_method_pb.js";
|
|
7
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file tzero/v1/payment/quote.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_tzero_v1_payment_quote = /*@__PURE__*/ fileDesc("Chx0emVyby92MS9wYXltZW50L3F1b3RlLnByb3RvEhB0emVyby52MS5wYXltZW50IhIKEEdldFF1b3Rlc1JlcXVlc3QixgoKEUdldFF1b3Rlc1Jlc3BvbnNlEkEKBnF1b3RlcxgKIAMoCzIxLnR6ZXJvLnYxLnBheW1lbnQuR2V0UXVvdGVzUmVzcG9uc2UuQ3VycmVuY3lRdW90ZRrtCQoNQ3VycmVuY3lRdW90ZRImCghjdXJyZW5jeRgKIAEoCUIUukgRcg8yCl5bQS1aXXszfSSYAQMSbQoVcGF5bWVudF9tZXRob2RfcXVvdGVzGBQgAygLMkQudHplcm8udjEucGF5bWVudC5HZXRRdW90ZXNSZXNwb25zZS5DdXJyZW5jeVF1b3RlLlBheW1lbnRNZXRob2RRdW90ZUIIukgFkgECCAEaxAgKElBheW1lbnRNZXRob2RRdW90ZRJGCg5wYXltZW50X21ldGhvZBgKIAEoDjIiLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kVHlwZUIKukgHggEEEAEgABJ1Cg9wcm92aWRlcl9xdW90ZXMYFCADKAsyUi50emVyby52MS5wYXltZW50LkdldFF1b3Rlc1Jlc3BvbnNlLkN1cnJlbmN5UXVvdGUuUGF5bWVudE1ldGhvZFF1b3RlLlByb3ZpZGVyUXVvdGVCCLpIBZIBAggBGu4GCg1Qcm92aWRlclF1b3RlEhwKC3Byb3ZpZGVyX2lkGAogASgFQge6SAQaAiAAEnsKB2JhbGFuY2UYFCABKAsyYi50emVyby52MS5wYXltZW50LkdldFF1b3Rlc1Jlc3BvbnNlLkN1cnJlbmN5UXVvdGUuUGF5bWVudE1ldGhvZFF1b3RlLlByb3ZpZGVyUXVvdGUuUHJvdmlkZXJCYWxhbmNlQga6SAPIAQEScgoGcXVvdGVzGB4gAygL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29tLnR6ZXJvLnYxLnBheW1lbnRCClF1b3RlUHJvdG9QAVo7Z2l0aHViLmNvbS90LTAtbmV0d29yay9wcm92aWRlci1zZGsvZ28vYXBpL3R6ZXJvL3YxL3BheW1lbnSiAgNUVlCqAiNUMC5Qcm92aWRlclNkay5BcGkuVHplcm8uVjEuUGF5bWVudMoCEFR6ZXJvXFYxXFBheW1lbnTiAhxUemVyb1xWMVxQYXltZW50XEdQQk1ldGFkYXRh6gISVHplcm86OlYxOjpQYXltZW50YgZwcm90bzM", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method, file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message tzero.v1.payment.GetQuotesRequest.
|
|
15
|
+
* Use `create(GetQuotesRequestSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const GetQuotesRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.
|
|
20
|
+
* Use `create(GetQuotesResponseSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export const GetQuotesResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 1);
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.
|
|
25
|
+
* Use `create(GetQuotesResponse_CurrencyQuoteSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const GetQuotesResponse_CurrencyQuoteSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 1, 0);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.
|
|
30
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuoteSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const GetQuotesResponse_CurrencyQuote_PaymentMethodQuoteSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 1, 0, 0);
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.
|
|
35
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuoteSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuoteSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 1, 0, 0, 0);
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.ProviderBalance.
|
|
40
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalanceSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_ProviderBalanceSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 1, 0, 0, 0, 0);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message tzero.v1.payment.GetQuotesResponse.CurrencyQuote.PaymentMethodQuote.ProviderQuote.Quote.
|
|
45
|
+
* Use `create(GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_QuoteSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const GetQuotesResponse_CurrencyQuote_PaymentMethodQuote_ProviderQuote_QuoteSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_quote, 1, 0, 0, 0, 1);
|
|
48
|
+
/**
|
|
49
|
+
* *
|
|
50
|
+
* Network surface for browsing published pay-out quotes.
|
|
51
|
+
*
|
|
52
|
+
* @generated from service tzero.v1.payment.QuoteService
|
|
53
|
+
*/
|
|
54
|
+
export const QuoteService = /*@__PURE__*/ serviceDesc(file_tzero_v1_payment_quote, 0);
|
|
@@ -218,7 +218,6 @@ export declare const GetQuoteResponse_SuccessSchema: GenMessage<GetQuoteResponse
|
|
|
218
218
|
/**
|
|
219
219
|
* *
|
|
220
220
|
* Represents an indicative quote from a pay-in provider.
|
|
221
|
-
* Contains the payment method, provider info, and indicative exchange rate.
|
|
222
221
|
*
|
|
223
222
|
* @generated from message tzero.v1.payment_intent.GetQuoteResponse.Success.IndicativeQuote
|
|
224
223
|
*/
|
|
@@ -276,7 +275,6 @@ export declare const GetQuoteResponse_QuoteNotFoundSchema: GenMessage<GetQuoteRe
|
|
|
276
275
|
/**
|
|
277
276
|
* *
|
|
278
277
|
* Represents pay-in details for a payment intent option.
|
|
279
|
-
* Contains the payment method, provider info, payment details, and indicative exchange rate.
|
|
280
278
|
*
|
|
281
279
|
* @generated from message tzero.v1.payment_intent.PaymentIntentPayInDetails
|
|
282
280
|
*/
|
package/lib/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.26";
|
package/lib/esm/version.js
CHANGED