@t-0/provider-sdk 1.0.24 → 1.0.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.
Files changed (97) hide show
  1. package/lib/cjs/client/client.js +46 -0
  2. package/lib/{client → cjs/client}/signer.d.ts +1 -1
  3. package/lib/cjs/client/signer.js +69 -0
  4. package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +56 -0
  5. package/lib/{common → cjs/common}/gen/tzero/v1/common/payment_method_pb.d.ts +1 -1
  6. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +60 -0
  7. package/lib/{common → cjs/common}/gen/tzero/v1/payment/network_pb.d.ts +2 -2
  8. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +147 -0
  9. package/lib/{common → cjs/common}/gen/tzero/v1/payment/provider_pb.d.ts +2 -2
  10. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +206 -0
  11. package/lib/{common → cjs/common}/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +2 -2
  12. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +87 -0
  13. package/lib/{common → cjs/common}/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +2 -2
  14. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +62 -0
  15. package/lib/cjs/common/gen/tzero/v1/public/public_pb.js +88 -0
  16. package/lib/cjs/common/headers.js +10 -0
  17. package/lib/cjs/examples/payment_intent/pay-in-provider-flow.d.ts +4 -0
  18. package/lib/cjs/examples/payment_intent/pay-in-provider-flow.js +56 -0
  19. package/lib/cjs/examples/payment_intent/service.d.ts +1 -0
  20. package/lib/cjs/examples/payment_intent/service.js +68 -0
  21. package/lib/cjs/examples/server.d.ts +4 -0
  22. package/lib/cjs/examples/server.js +93 -0
  23. package/lib/cjs/examples/update-quote.d.ts +4 -0
  24. package/lib/cjs/examples/update-quote.js +42 -0
  25. package/lib/cjs/index.d.ts +11 -0
  26. package/lib/cjs/index.js +50 -0
  27. package/lib/cjs/package.json +1 -0
  28. package/lib/{payment_intent → cjs/payment_intent}/provider/index.d.ts +1 -1
  29. package/lib/cjs/payment_intent/provider/index.js +17 -0
  30. package/lib/{payment_intent → cjs/payment_intent}/recipient/index.d.ts +1 -1
  31. package/lib/cjs/payment_intent/recipient/index.js +17 -0
  32. package/lib/cjs/service/node.d.ts +3 -0
  33. package/lib/cjs/service/node.js +15 -0
  34. package/lib/{service → cjs/service}/service.d.ts +2 -3
  35. package/lib/cjs/service/service.js +112 -0
  36. package/lib/esm/client/client.d.ts +16 -0
  37. package/lib/{client → esm/client}/client.js +2 -2
  38. package/lib/esm/client/signer.d.ts +3 -0
  39. package/lib/{gen → esm/common/gen/tzero/v1}/common/common_pb.d.ts +2 -2
  40. package/lib/{common → esm/common}/gen/tzero/v1/common/common_pb.js +1 -1
  41. package/lib/{gen → esm/common/gen/tzero/v1}/common/payment_method_pb.d.ts +3 -3
  42. package/lib/{common → esm/common}/gen/tzero/v1/common/payment_method_pb.js +2 -2
  43. package/lib/{gen/network → esm/common/gen/tzero/v1/payment}/network_pb.d.ts +86 -86
  44. package/lib/{common → esm/common}/gen/tzero/v1/payment/network_pb.js +3 -3
  45. package/lib/{gen/network → esm/common/gen/tzero/v1/payment}/provider_pb.d.ts +84 -84
  46. package/lib/{common → esm/common}/gen/tzero/v1/payment/provider_pb.js +3 -3
  47. package/lib/{gen → esm/common/gen/tzero/v1}/payment_intent/provider/provider_pb.d.ts +4 -4
  48. package/lib/{common → esm/common}/gen/tzero/v1/payment_intent/provider/provider_pb.js +3 -3
  49. package/lib/{gen → esm/common/gen/tzero/v1}/payment_intent/recipient/recipient_pb.d.ts +4 -4
  50. package/lib/{common → esm/common}/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +3 -3
  51. package/lib/esm/common/gen/tzero/v1/public/public_pb.d.ts +234 -0
  52. package/lib/{common → esm/common}/gen/tzero/v1/public/public_pb.js +1 -1
  53. package/lib/esm/common/headers.d.ts +6 -0
  54. package/lib/esm/examples/payment_intent/pay-in-provider-flow.d.ts +4 -0
  55. package/lib/esm/examples/payment_intent/pay-in-provider-flow.js +51 -0
  56. package/lib/esm/examples/payment_intent/service.d.ts +1 -0
  57. package/lib/esm/examples/payment_intent/service.js +30 -0
  58. package/lib/esm/examples/server.d.ts +4 -0
  59. package/lib/esm/examples/server.js +55 -0
  60. package/lib/esm/examples/update-quote.d.ts +4 -0
  61. package/lib/esm/examples/update-quote.js +37 -0
  62. package/lib/esm/index.d.ts +11 -0
  63. package/lib/esm/index.js +10 -0
  64. package/lib/esm/payment_intent/provider/index.d.ts +1 -0
  65. package/lib/{payment_intent → esm/payment_intent}/provider/index.js +1 -1
  66. package/lib/esm/payment_intent/recipient/index.d.ts +1 -0
  67. package/lib/{payment_intent → esm/payment_intent}/recipient/index.js +1 -1
  68. package/lib/esm/service/node.d.ts +3 -0
  69. package/lib/esm/service/service.d.ts +15 -0
  70. package/lib/{service → esm/service}/service.js +3 -3
  71. package/lib/tsconfig.cjs.tsbuildinfo +1 -0
  72. package/lib/tsconfig.esm.tsbuildinfo +1 -0
  73. package/package.json +19 -10
  74. package/lib/common/gen/common/common_pb.d.ts +0 -26
  75. package/lib/common/gen/common/common_pb.js +0 -13
  76. package/lib/common/gen/common/payment_method_pb.d.ts +0 -51
  77. package/lib/common/gen/common/payment_method_pb.js +0 -18
  78. package/lib/common/gen/network/network_pb.d.ts +0 -649
  79. package/lib/common/gen/network/network_pb.js +0 -163
  80. package/lib/common/gen/network/provider_pb.d.ts +0 -695
  81. package/lib/common/gen/network/provider_pb.js +0 -218
  82. package/lib/gen/common/common_pb.js +0 -53
  83. package/lib/gen/common/payment_method_pb.js +0 -57
  84. package/lib/gen/network/network_pb.js +0 -144
  85. package/lib/gen/network/provider_pb.js +0 -203
  86. package/lib/gen/payment_intent/provider/provider_pb.js +0 -84
  87. package/lib/gen/payment_intent/recipient/recipient_pb.js +0 -59
  88. package/lib/index.d.ts +0 -11
  89. package/lib/index.js +0 -10
  90. package/lib/service/node.d.ts +0 -2
  91. /package/lib/{client → cjs/client}/client.d.ts +0 -0
  92. /package/lib/{common → cjs/common}/gen/tzero/v1/common/common_pb.d.ts +0 -0
  93. /package/lib/{common → cjs/common}/gen/tzero/v1/public/public_pb.d.ts +0 -0
  94. /package/lib/{common → cjs/common}/headers.d.ts +0 -0
  95. /package/lib/{client → esm/client}/signer.js +0 -0
  96. /package/lib/{common → esm/common}/headers.js +0 -0
  97. /package/lib/{service → esm/service}/node.js +0 -0
@@ -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("ChZuZXR3b3JrL3Byb3ZpZGVyLnByb3RvEhNuZXR3b3JrLnYxLnByb3ZpZGVyItINChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJRCgx0cmFuc2FjdGlvbnMYFCADKAsyOy5uZXR3b3JrLnYxLnByb3ZpZGVyLkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uGuMHCgtUcmFuc2FjdGlvbhIWCg50cmFuc2FjdGlvbl9pZBgKIAEoBBJMCgdlbnRyaWVzGB4gAygLMjsubmV0d29yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdC5MZWRnZXJFbnRyeRJTCgZwYXlfaW4YbiABKAsyQS5uZXR3b3JrLnYxLnByb3ZpZGVyLkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9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YxLnByb3ZpZGVyQg1Qcm92aWRlclByb3RvUAGiAgNOVlCqAhNOZXR3b3JrLlYxLlByb3ZpZGVyygITTmV0d29ya1xWMVxQcm92aWRlcuICH05ldHdvcmtcVjFcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAhVOZXR3b3JrOjpWMTo6UHJvdmlkZXJiBnByb3RvMw", [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,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,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);
@@ -1,144 +0,0 @@
1
- // @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
2
- // @generated from file network/network.proto (package tzero.v1.network, syntax proto3)
3
- /* eslint-disable */
4
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
- import { file_common_common } from "../common/common_pb";
6
- import { file_common_payment_method } from "../common/payment_method_pb";
7
- import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
- /**
9
- * Describes the file network/network.proto.
10
- */
11
- export const file_network_network = /*@__PURE__*/ fileDesc("ChVuZXR3b3JrL25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLm5ldHdvcmsirAQKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEubmV0d29yay5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEubmV0d29yay5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUanAMKBVF1b3RlEhAKCGN1cnJlbmN5GAogASgJEi8KCnF1b3RlX3R5cGUYFCABKA4yGy50emVyby52MS5uZXR3b3JrLlF1b3RlVHlwZRI6Cg5wYXlt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ya1Byb3RvUAGiAgNUVk6qAhBUemVyby5WMS5OZXR3b3JrygIQVHplcm9cVjFcTmV0d29ya+ICHFR6ZXJvXFYxXE5ldHdvcmtcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6Ok5ldHdvcmtiBnByb3RvMw", [file_common_common, file_common_payment_method, file_google_protobuf_timestamp]);
12
- /**
13
- * Describes the message tzero.v1.network.UpdateQuoteRequest.
14
- * Use `create(UpdateQuoteRequestSchema)` to create a new message.
15
- */
16
- export const UpdateQuoteRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 0);
17
- /**
18
- * Describes the message tzero.v1.network.UpdateQuoteRequest.Quote.
19
- * Use `create(UpdateQuoteRequest_QuoteSchema)` to create a new message.
20
- */
21
- export const UpdateQuoteRequest_QuoteSchema = /*@__PURE__*/ messageDesc(file_network_network, 0, 0);
22
- /**
23
- * Describes the message tzero.v1.network.UpdateQuoteRequest.Quote.Band.
24
- * Use `create(UpdateQuoteRequest_Quote_BandSchema)` to create a new message.
25
- */
26
- export const UpdateQuoteRequest_Quote_BandSchema = /*@__PURE__*/ messageDesc(file_network_network, 0, 0, 0);
27
- /**
28
- * Describes the message tzero.v1.network.UpdateQuoteResponse.
29
- * Use `create(UpdateQuoteResponseSchema)` to create a new message.
30
- */
31
- export const UpdateQuoteResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 1);
32
- /**
33
- * Describes the message tzero.v1.network.GetPayoutQuoteRequest.
34
- * Use `create(GetPayoutQuoteRequestSchema)` to create a new message.
35
- */
36
- export const GetPayoutQuoteRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 2);
37
- /**
38
- * Describes the message tzero.v1.network.GetPayoutQuoteResponse.
39
- * Use `create(GetPayoutQuoteResponseSchema)` to create a new message.
40
- */
41
- export const GetPayoutQuoteResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 3);
42
- /**
43
- * Describes the message tzero.v1.network.CreatePaymentRequest.
44
- * Use `create(CreatePaymentRequestSchema)` to create a new message.
45
- */
46
- export const CreatePaymentRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 4);
47
- /**
48
- * Describes the message tzero.v1.network.CreatePaymentRequest.Sender.
49
- * Use `create(CreatePaymentRequest_SenderSchema)` to create a new message.
50
- */
51
- export const CreatePaymentRequest_SenderSchema = /*@__PURE__*/ messageDesc(file_network_network, 4, 0);
52
- /**
53
- * Describes the message tzero.v1.network.CreatePaymentRequest.Recipient.
54
- * Use `create(CreatePaymentRequest_RecipientSchema)` to create a new message.
55
- */
56
- export const CreatePaymentRequest_RecipientSchema = /*@__PURE__*/ messageDesc(file_network_network, 4, 1);
57
- /**
58
- * Describes the message tzero.v1.network.CreatePaymentRequest.PrivatePerson.
59
- * Use `create(CreatePaymentRequest_PrivatePersonSchema)` to create a new message.
60
- */
61
- export const CreatePaymentRequest_PrivatePersonSchema = /*@__PURE__*/ messageDesc(file_network_network, 4, 2);
62
- /**
63
- * Describes the message tzero.v1.network.QuoteId.
64
- * Use `create(QuoteIdSchema)` to create a new message.
65
- */
66
- export const QuoteIdSchema = /*@__PURE__*/ messageDesc(file_network_network, 5);
67
- /**
68
- * Describes the message tzero.v1.network.CreatePaymentResponse.
69
- * Use `create(CreatePaymentResponseSchema)` to create a new message.
70
- */
71
- export const CreatePaymentResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 6);
72
- /**
73
- * Describes the message tzero.v1.network.CreatePaymentResponse.Success.
74
- * Use `create(CreatePaymentResponse_SuccessSchema)` to create a new message.
75
- */
76
- export const CreatePaymentResponse_SuccessSchema = /*@__PURE__*/ messageDesc(file_network_network, 6, 0);
77
- /**
78
- * Describes the message tzero.v1.network.CreatePaymentResponse.Failure.
79
- * Use `create(CreatePaymentResponse_FailureSchema)` to create a new message.
80
- */
81
- export const CreatePaymentResponse_FailureSchema = /*@__PURE__*/ messageDesc(file_network_network, 6, 1);
82
- /**
83
- * @generated from enum tzero.v1.network.CreatePaymentResponse.Failure.Reason
84
- */
85
- export var CreatePaymentResponse_Failure_Reason;
86
- (function (CreatePaymentResponse_Failure_Reason) {
87
- /**
88
- * @generated from enum value: REASON_UNSPECIFIED = 0;
89
- */
90
- CreatePaymentResponse_Failure_Reason[CreatePaymentResponse_Failure_Reason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
91
- })(CreatePaymentResponse_Failure_Reason || (CreatePaymentResponse_Failure_Reason = {}));
92
- /**
93
- * Describes the enum tzero.v1.network.CreatePaymentResponse.Failure.Reason.
94
- */
95
- export const CreatePaymentResponse_Failure_ReasonSchema = /*@__PURE__*/ enumDesc(file_network_network, 6, 1, 0);
96
- /**
97
- * Describes the message tzero.v1.network.UpdatePayoutRequest.
98
- * Use `create(UpdatePayoutRequestSchema)` to create a new message.
99
- */
100
- export const UpdatePayoutRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 7);
101
- /**
102
- * Describes the message tzero.v1.network.UpdatePayoutRequest.Success.
103
- * Use `create(UpdatePayoutRequest_SuccessSchema)` to create a new message.
104
- */
105
- export const UpdatePayoutRequest_SuccessSchema = /*@__PURE__*/ messageDesc(file_network_network, 7, 0);
106
- /**
107
- * Describes the message tzero.v1.network.UpdatePayoutRequest.Failure.
108
- * Use `create(UpdatePayoutRequest_FailureSchema)` to create a new message.
109
- */
110
- export const UpdatePayoutRequest_FailureSchema = /*@__PURE__*/ messageDesc(file_network_network, 7, 1);
111
- /**
112
- * Describes the message tzero.v1.network.UpdatePayoutResponse.
113
- * Use `create(UpdatePayoutResponseSchema)` to create a new message.
114
- */
115
- export const UpdatePayoutResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 8);
116
- /**
117
- * @generated from enum tzero.v1.network.QuoteType
118
- */
119
- export var QuoteType;
120
- (function (QuoteType) {
121
- /**
122
- * @generated from enum value: QUOTE_TYPE_UNSPECIFIED = 0;
123
- */
124
- QuoteType[QuoteType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
125
- /**
126
- * real-time quote must be valid at least for 30 seconds (TBD)
127
- *
128
- * @generated from enum value: QUOTE_TYPE_REALTIME = 1;
129
- */
130
- QuoteType[QuoteType["REALTIME"] = 1] = "REALTIME";
131
- })(QuoteType || (QuoteType = {}));
132
- /**
133
- * Describes the enum tzero.v1.network.QuoteType.
134
- */
135
- export const QuoteTypeSchema = /*@__PURE__*/ enumDesc(file_network_network, 0);
136
- /**
137
- * *
138
- * This service is used by provider to interact with the Network, e.g. push quotes and initiate payments.
139
- *
140
- * All methods of this service are idempotent, meaning they are safe to retry and multiple calls with the same parameters will have no additional effect.
141
- *
142
- * @generated from service tzero.v1.network.NetworkService
143
- */
144
- export const NetworkService = /*@__PURE__*/ serviceDesc(file_network_network, 0);