@t-0/provider-sdk 1.0.24 → 1.0.25

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.
Files changed (44) hide show
  1. package/lib/client/client.js +2 -2
  2. package/lib/client/signer.d.ts +1 -1
  3. package/lib/common/gen/tzero/v1/common/common_pb.js +1 -1
  4. package/lib/common/gen/tzero/v1/common/payment_method_pb.d.ts +1 -1
  5. package/lib/common/gen/tzero/v1/common/payment_method_pb.js +2 -2
  6. package/lib/common/gen/tzero/v1/payment/network_pb.d.ts +2 -2
  7. package/lib/common/gen/tzero/v1/payment/network_pb.js +3 -3
  8. package/lib/common/gen/tzero/v1/payment/provider_pb.d.ts +2 -2
  9. package/lib/common/gen/tzero/v1/payment/provider_pb.js +3 -3
  10. package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +2 -2
  11. package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +3 -3
  12. package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +2 -2
  13. package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +3 -3
  14. package/lib/common/gen/tzero/v1/public/public_pb.js +1 -1
  15. package/lib/index.d.ts +9 -9
  16. package/lib/index.js +9 -9
  17. package/lib/payment_intent/provider/index.d.ts +1 -1
  18. package/lib/payment_intent/provider/index.js +1 -1
  19. package/lib/payment_intent/recipient/index.d.ts +1 -1
  20. package/lib/payment_intent/recipient/index.js +1 -1
  21. package/lib/service/node.d.ts +2 -1
  22. package/lib/service/service.d.ts +2 -3
  23. package/lib/service/service.js +1 -1
  24. package/package.json +4 -4
  25. package/lib/common/gen/common/common_pb.d.ts +0 -26
  26. package/lib/common/gen/common/common_pb.js +0 -13
  27. package/lib/common/gen/common/payment_method_pb.d.ts +0 -51
  28. package/lib/common/gen/common/payment_method_pb.js +0 -18
  29. package/lib/common/gen/network/network_pb.d.ts +0 -649
  30. package/lib/common/gen/network/network_pb.js +0 -163
  31. package/lib/common/gen/network/provider_pb.d.ts +0 -695
  32. package/lib/common/gen/network/provider_pb.js +0 -218
  33. package/lib/gen/common/common_pb.d.ts +0 -64
  34. package/lib/gen/common/common_pb.js +0 -53
  35. package/lib/gen/common/payment_method_pb.d.ts +0 -122
  36. package/lib/gen/common/payment_method_pb.js +0 -57
  37. package/lib/gen/network/network_pb.d.ts +0 -567
  38. package/lib/gen/network/network_pb.js +0 -144
  39. package/lib/gen/network/provider_pb.d.ts +0 -641
  40. package/lib/gen/network/provider_pb.js +0 -203
  41. package/lib/gen/payment_intent/provider/provider_pb.d.ts +0 -296
  42. package/lib/gen/payment_intent/provider/provider_pb.js +0 -84
  43. package/lib/gen/payment_intent/recipient/recipient_pb.d.ts +0 -214
  44. package/lib/gen/payment_intent/recipient/recipient_pb.js +0 -59
@@ -1,218 +0,0 @@
1
- // @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
2
- // @generated from file network/provider.proto (package network.v1.provider, syntax proto3)
3
- /* eslint-disable */
4
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
- import { file_common_payment_method } from "../common/payment_method_pb";
6
- import { file_common_common } from "../common/common_pb";
7
- import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
- /**
9
- * Describes the file network/provider.proto.
10
- */
11
- export const file_network_provider = /*@__PURE__*/ fileDesc("ChZuZXR3b3JrL3Byb3ZpZGVyLnByb3RvEhNuZXR3b3JrLnYxLnByb3ZpZGVyItINChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJRCgx0cmFuc2FjdGlvbnMYFCADKAsyOy5uZXR3b3JrLnYxLnByb3ZpZGVyLkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uGuMHCgtUcmFuc2FjdGlvbhIWCg50cmFuc2FjdGlvbl9pZBgKIAEoBBJMCgdlbnRyaWVzGB4gAygLMjsubmV0d29yay52MS5wcm92aWRlci5BcHBlb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yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBowLm5ldHdvcmsudjEucHJvdmlkZXIuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJClgEKF2NvbS5uZXR3b3JrLnYxLnByb3ZpZGVyQg1Qcm92aWRlclByb3RvUAGiAgNOVlCqAhNOZXR3b3JrLlYxLlByb3ZpZGVyygITTmV0d29ya1xWMVxQcm92aWRlcuICH05ldHdvcmtcVjFcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAhVOZXR3b3JrOjpWMTo6UHJvdmlkZXJiBnByb3RvMw", [file_common_payment_method, file_common_common, file_google_protobuf_timestamp]);
12
- /**
13
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.
14
- * Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
15
- */
16
- export const AppendLedgerEntriesRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0);
17
- /**
18
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.
19
- * Use `create(AppendLedgerEntriesRequest_TransactionSchema)` to create a new message.
20
- */
21
- export const AppendLedgerEntriesRequest_TransactionSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0);
22
- /**
23
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.PayIn.
24
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayInSchema)` to create a new message.
25
- */
26
- export const AppendLedgerEntriesRequest_Transaction_PayInSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0, 0);
27
- /**
28
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.PayoutReservation.
29
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema)` to create a new message.
30
- */
31
- export const AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0, 1);
32
- /**
33
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.Payout.
34
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayoutSchema)` to create a new message.
35
- */
36
- export const AppendLedgerEntriesRequest_Transaction_PayoutSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0, 2);
37
- /**
38
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.ProviderSettlement.
39
- * Use `create(AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema)` to create a new message.
40
- */
41
- export const AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0, 3);
42
- /**
43
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.FeeSettlement.
44
- * Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
45
- */
46
- export const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0, 4);
47
- /**
48
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease.
49
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema)` to create a new message.
50
- */
51
- export const AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 0, 5);
52
- /**
53
- * Describes the message network.v1.provider.AppendLedgerEntriesRequest.LedgerEntry.
54
- * Use `create(AppendLedgerEntriesRequest_LedgerEntrySchema)` to create a new message.
55
- */
56
- export const AppendLedgerEntriesRequest_LedgerEntrySchema = /*@__PURE__*/ messageDesc(file_network_provider, 0, 1);
57
- /**
58
- * @generated from enum network.v1.provider.AppendLedgerEntriesRequest.AccountType
59
- */
60
- export var AppendLedgerEntriesRequest_AccountType;
61
- (function (AppendLedgerEntriesRequest_AccountType) {
62
- /**
63
- * @generated from enum value: ACCOUNT_TYPE_UNSPECIFIED = 0;
64
- */
65
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
66
- /**
67
- * Reflects the user's payable balance, the amount that the provider owes to the user.
68
- *
69
- * @generated from enum value: ACCOUNT_TYPE_USER_PAYABLE = 1;
70
- */
71
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["USER_PAYABLE"] = 1] = "USER_PAYABLE";
72
- /**
73
- * Reflects the cash balance of the provider.
74
- *
75
- * @generated from enum value: ACCOUNT_TYPE_CASH = 2;
76
- */
77
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["CASH"] = 2] = "CASH";
78
- /**
79
- * This is the reserve account of the provider, which reflects the reserve of balance to reduce the limit available from one provider to another.
80
- *
81
- * @generated from enum value: ACCOUNT_TYPE_RESERVE = 3;
82
- */
83
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["RESERVE"] = 3] = "RESERVE";
84
- /**
85
- * This is the mirror account for the reserve. To keep the double entry accounting principle.
86
- *
87
- * @generated from enum value: ACCOUNT_TYPE_RESERVE_USAGE = 4;
88
- */
89
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["RESERVE_USAGE"] = 4] = "RESERVE_USAGE";
90
- /**
91
- * Reflects how much the provider owes to the network or other participants.
92
- *
93
- * @generated from enum value: ACCOUNT_TYPE_PROVIDER_PAYABLE = 5;
94
- */
95
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_PAYABLE"] = 5] = "PROVIDER_PAYABLE";
96
- /**
97
- * Reflects how much the provider is owed by the network or other participants.
98
- *
99
- * @generated from enum value: ACCOUNT_TYPE_PROVIDER_RECEIVABLE = 6;
100
- */
101
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_RECEIVABLE"] = 6] = "PROVIDER_RECEIVABLE";
102
- /**
103
- * Reflects the fees that the provider owes to the network.
104
- *
105
- * @generated from enum value: ACCOUNT_TYPE_FEE_PAYABLE = 7;
106
- */
107
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_PAYABLE"] = 7] = "FEE_PAYABLE";
108
- /**
109
- * Reflects the fees that the network is owed by the provider.
110
- *
111
- * @generated from enum value: ACCOUNT_TYPE_FEE_RECEIVABLE = 8;
112
- */
113
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_RECEIVABLE"] = 8] = "FEE_RECEIVABLE";
114
- /**
115
- * Reflects the fees that the provider has to pay for the services provided by the network.
116
- *
117
- * @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 9;
118
- */
119
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_EXPENSE"] = 9] = "FEE_EXPENSE";
120
- /**
121
- * Reflects the settlement balance of the provider with the network or other participants.
122
- *
123
- * @generated from enum value: ACCOUNT_TYPE_PROVIDER_SETTLEMENT = 10;
124
- */
125
- AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_SETTLEMENT"] = 10] = "PROVIDER_SETTLEMENT";
126
- })(AppendLedgerEntriesRequest_AccountType || (AppendLedgerEntriesRequest_AccountType = {}));
127
- /**
128
- * Describes the enum network.v1.provider.AppendLedgerEntriesRequest.AccountType.
129
- */
130
- export const AppendLedgerEntriesRequest_AccountTypeSchema = /*@__PURE__*/ enumDesc(file_network_provider, 0, 0);
131
- /**
132
- * Describes the message network.v1.provider.AppendLedgerEntriesResponse.
133
- * Use `create(AppendLedgerEntriesResponseSchema)` to create a new message.
134
- */
135
- export const AppendLedgerEntriesResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 1);
136
- /**
137
- * Describes the message network.v1.provider.PayoutRequest.
138
- * Use `create(PayoutRequestSchema)` to create a new message.
139
- */
140
- export const PayoutRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 2);
141
- /**
142
- * Describes the message network.v1.provider.PayoutResponse.
143
- * Use `create(PayoutResponseSchema)` to create a new message.
144
- */
145
- export const PayoutResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 3);
146
- /**
147
- * Describes the message network.v1.provider.UpdatePaymentRequest.
148
- * Use `create(UpdatePaymentRequestSchema)` to create a new message.
149
- */
150
- export const UpdatePaymentRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 4);
151
- /**
152
- * Describes the message network.v1.provider.UpdatePaymentRequest.Success.
153
- * Use `create(UpdatePaymentRequest_SuccessSchema)` to create a new message.
154
- */
155
- export const UpdatePaymentRequest_SuccessSchema = /*@__PURE__*/ messageDesc(file_network_provider, 4, 0);
156
- /**
157
- * Describes the message network.v1.provider.UpdatePaymentRequest.Failure.
158
- * Use `create(UpdatePaymentRequest_FailureSchema)` to create a new message.
159
- */
160
- export const UpdatePaymentRequest_FailureSchema = /*@__PURE__*/ messageDesc(file_network_provider, 4, 1);
161
- /**
162
- * @generated from enum network.v1.provider.UpdatePaymentRequest.Failure.Reason
163
- */
164
- export var UpdatePaymentRequest_Failure_Reason;
165
- (function (UpdatePaymentRequest_Failure_Reason) {
166
- /**
167
- * @generated from enum value: REASON_UNSPECIFIED = 0;
168
- */
169
- UpdatePaymentRequest_Failure_Reason[UpdatePaymentRequest_Failure_Reason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
170
- })(UpdatePaymentRequest_Failure_Reason || (UpdatePaymentRequest_Failure_Reason = {}));
171
- /**
172
- * Describes the enum network.v1.provider.UpdatePaymentRequest.Failure.Reason.
173
- */
174
- export const UpdatePaymentRequest_Failure_ReasonSchema = /*@__PURE__*/ enumDesc(file_network_provider, 4, 1, 0);
175
- /**
176
- * Describes the message network.v1.provider.UpdatePaymentResponse.
177
- * Use `create(UpdatePaymentResponseSchema)` to create a new message.
178
- */
179
- export const UpdatePaymentResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 5);
180
- /**
181
- * Describes the message network.v1.provider.UpdateLimitRequest.
182
- * Use `create(UpdateLimitRequestSchema)` to create a new message.
183
- */
184
- export const UpdateLimitRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 6);
185
- /**
186
- * Describes the message network.v1.provider.UpdateLimitResponse.
187
- * Use `create(UpdateLimitResponseSchema)` to create a new message.
188
- */
189
- export const UpdateLimitResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 7);
190
- /**
191
- * Describes the message network.v1.provider.CreatePayInDetailsRequest.
192
- * Use `create(CreatePayInDetailsRequestSchema)` to create a new message.
193
- */
194
- export const CreatePayInDetailsRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8);
195
- /**
196
- * Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.
197
- * Use `create(CreatePayInDetailsRequest_SenderSchema)` to create a new message.
198
- */
199
- export const CreatePayInDetailsRequest_SenderSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0);
200
- /**
201
- * Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson.
202
- * Use `create(CreatePayInDetailsRequest_Sender_PrivatePersonSchema)` to create a new message.
203
- */
204
- export const CreatePayInDetailsRequest_Sender_PrivatePersonSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0, 0);
205
- /**
206
- * Describes the message network.v1.provider.CreatePayInDetailsResponse.
207
- * Use `create(CreatePayInDetailsResponseSchema)` to create a new message.
208
- */
209
- export const CreatePayInDetailsResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 9);
210
- /**
211
- * *
212
- * This service must be implemented by the provider.
213
- *
214
- * All methods of this service must be idempotent, meaning they are safe to retry and multiple calls with the same parameters must not have additional effect.
215
- *
216
- * @generated from service network.v1.provider.ProviderService
217
- */
218
- export const ProviderService = /*@__PURE__*/ serviceDesc(file_network_provider, 0);
@@ -1,64 +0,0 @@
1
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
- import type { Message } from "@bufbuild/protobuf";
3
- /**
4
- * Describes the file common/common.proto.
5
- */
6
- export declare const file_common_common: GenFile;
7
- /**
8
- * Decimal 123.45 equals to unscaled=12345 and exponent=-2 (e.g. unscaled * 10^exponent, 123.45 = 12345 * 10^-2)
9
- *
10
- * @generated from message tzero.v1.common.Decimal
11
- */
12
- export type Decimal = Message<"tzero.v1.common.Decimal"> & {
13
- /**
14
- * @generated from field: int64 unscaled = 10;
15
- */
16
- unscaled: bigint;
17
- /**
18
- * @generated from field: int32 exponent = 20;
19
- */
20
- exponent: number;
21
- };
22
- /**
23
- * Describes the message tzero.v1.common.Decimal.
24
- * Use `create(DecimalSchema)` to create a new message.
25
- */
26
- export declare const DecimalSchema: GenMessage<Decimal>;
27
- /**
28
- * @generated from enum tzero.v1.common.Blockchain
29
- */
30
- export declare enum Blockchain {
31
- /**
32
- * @generated from enum value: BLOCKCHAIN_UNSPECIFIED = 0;
33
- */
34
- UNSPECIFIED = 0,
35
- /**
36
- * @generated from enum value: BLOCKCHAIN_BSC = 10;
37
- */
38
- BSC = 10,
39
- /**
40
- * @generated from enum value: BLOCKCHAIN_TRON = 100;
41
- */
42
- TRON = 100
43
- }
44
- /**
45
- * Describes the enum tzero.v1.common.Blockchain.
46
- */
47
- export declare const BlockchainSchema: GenEnum<Blockchain>;
48
- /**
49
- * @generated from enum tzero.v1.common.Stablecoin
50
- */
51
- export declare enum Stablecoin {
52
- /**
53
- * @generated from enum value: STABLECOIN_UNSPECIFIED = 0;
54
- */
55
- UNSPECIFIED = 0,
56
- /**
57
- * @generated from enum value: STABLECOIN_USDT = 10;
58
- */
59
- USDT = 10
60
- }
61
- /**
62
- * Describes the enum tzero.v1.common.Stablecoin.
63
- */
64
- export declare const StablecoinSchema: GenEnum<Stablecoin>;
@@ -1,53 +0,0 @@
1
- // @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
2
- // @generated from file common/common.proto (package tzero.v1.common, syntax proto3)
3
- /* eslint-disable */
4
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
- /**
6
- * Describes the file common/common.proto.
7
- */
8
- export const file_common_common = /*@__PURE__*/ fileDesc("ChNjb21tb24vY29tbW9uLnByb3RvEg90emVyby52MS5jb21tb24iLQoHRGVjaW1hbBIQCgh1bnNjYWxlZBgKIAEoAxIQCghleHBvbmVudBgUIAEoBSpRCgpCbG9ja2NoYWluEhoKFkJMT0NLQ0hBSU5fVU5TUEVDSUZJRUQQABISCg5CTE9DS0NIQUlOX0JTQxAKEhMKD0JMT0NLQ0hBSU5fVFJPThBkKj0KClN0YWJsZWNvaW4SGgoWU1RBQkxFQ09JTl9VTlNQRUNJRklFRBAAEhMKD1NUQUJMRUNPSU5fVVNEVBAKQoABChNjb20udHplcm8udjEuY29tbW9uQgtDb21tb25Qcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw");
9
- /**
10
- * Describes the message tzero.v1.common.Decimal.
11
- * Use `create(DecimalSchema)` to create a new message.
12
- */
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,122 +0,0 @@
1
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
- import type { Blockchain, Stablecoin } from "./common_pb";
3
- import type { Message } from "@bufbuild/protobuf";
4
- /**
5
- * Describes the file common/payment_method.proto.
6
- */
7
- export declare const file_common_payment_method: GenFile;
8
- /**
9
- * @generated from message tzero.v1.common.PaymentMethod
10
- */
11
- export type PaymentMethod = Message<"tzero.v1.common.PaymentMethod"> & {
12
- /**
13
- * @generated from oneof tzero.v1.common.PaymentMethod.details
14
- */
15
- details: {
16
- /**
17
- * @generated from field: tzero.v1.common.SepaPaymentMethod sepa = 10;
18
- */
19
- value: SepaPaymentMethod;
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";
33
- } | {
34
- case: undefined;
35
- value?: undefined;
36
- };
37
- };
38
- /**
39
- * Describes the message tzero.v1.common.PaymentMethod.
40
- * Use `create(PaymentMethodSchema)` to create a new message.
41
- */
42
- export declare const PaymentMethodSchema: GenMessage<PaymentMethod>;
43
- /**
44
- * @generated from message tzero.v1.common.SepaPaymentMethod
45
- */
46
- export type SepaPaymentMethod = Message<"tzero.v1.common.SepaPaymentMethod"> & {
47
- /**
48
- * @generated from field: string iban = 20;
49
- */
50
- iban: string;
51
- /**
52
- * @generated from field: string beneficiary_name = 30;
53
- */
54
- beneficiaryName: string;
55
- /**
56
- * @generated from field: string payment_reference = 40;
57
- */
58
- paymentReference: string;
59
- };
60
- /**
61
- * Describes the message tzero.v1.common.SepaPaymentMethod.
62
- * Use `create(SepaPaymentMethodSchema)` to create a new message.
63
- */
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,57 +0,0 @@
1
- // @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
2
- // @generated from file common/payment_method.proto (package tzero.v1.common, syntax proto3)
3
- /* eslint-disable */
4
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
5
- import { file_common_common } from "./common_pb";
6
- /**
7
- * Describes the file common/payment_method.proto.
8
- */
9
- export const file_common_payment_method = /*@__PURE__*/ fileDesc("Chtjb21tb24vcGF5bWVudF9tZXRob2QucHJvdG8SD3R6ZXJvLnYxLmNvbW1vbiLEAQoNUGF5bWVudE1ldGhvZBIyCgRzZXBhGAogASgLMiIudHplcm8udjEuY29tbW9uLlNlcGFQYXltZW50TWV0aG9kSAASNAoFc3dpZnQYHiABKAsyIy50emVyby52MS5jb21tb24uU3dpZnRQYXltZW50TWV0aG9kSAASPgoKc3RhYmxlY29pbhgoIAEoCzIoLnR6ZXJvLnYxLmNvbW1vbi5TdGFibGVjb2luUGF5bWVudE1ldGhvZEgAQgkKB2RldGFpbHMiVgoRU2VwYVBheW1lbnRNZXRob2QSDAoEaWJhbhgUIAEoCRIYChBiZW5lZmljaWFyeV9uYW1lGB4gASgJEhkKEXBheW1lbnRfcmVmZXJlbmNlGCggASgJIhQKElN3aWZ0UGF5bWVudE1ldGhvZCKMAQoXU3RhYmxlY29pblBheW1lbnRNZXRob2QSLwoKYmxvY2tjaGFpbhgKIAEoDjIbLnR6ZXJvLnYxLmNvbW1vbi5CbG9ja2NoYWluEi8KCnN0YWJsZWNvaW4YFCABKA4yGy50emVyby52MS5jb21tb24uU3RhYmxlY29pbhIPCgdhZGRyZXNzGB4gASgJKpMBChFQYXltZW50TWV0aG9kVHlwZRIjCh9QQVlNRU5UX01FVEhPRF9UWVBFX1VOU1BFQ0lGSUVEEAASHAoYUEFZTUVOVF9NRVRIT0RfVFlQRV9TRVBBEAoSHQoZUEFZTUVOVF9NRVRIT0RfVFlQRV9TV0lGVBAUEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfQ0FSRBAeQocBChNjb20udHplcm8udjEuY29tbW9uQhJQYXltZW50TWV0aG9kUHJvdG9QAaICA1RWQ6oCD1R6ZXJvLlYxLkNvbW1vbsoCD1R6ZXJvXFYxXENvbW1vbuICG1R6ZXJvXFYxXENvbW1vblxHUEJNZXRhZGF0YeoCEVR6ZXJvOjpWMTo6Q29tbW9uYgZwcm90bzM", [file_common_common]);
10
- /**
11
- * Describes the message tzero.v1.common.PaymentMethod.
12
- * Use `create(PaymentMethodSchema)` to create a new message.
13
- */
14
- export const PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 0);
15
- /**
16
- * Describes the message tzero.v1.common.SepaPaymentMethod.
17
- * Use `create(SepaPaymentMethodSchema)` to create a new message.
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);