@t-0/provider-sdk 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gen/common/common_pb.d.ts +26 -0
- package/lib/gen/common/common_pb.js +13 -0
- package/lib/gen/common/payment_method_pb.d.ts +51 -0
- package/lib/gen/common/payment_method_pb.js +18 -0
- package/lib/gen/network/network_pb.d.ts +649 -0
- package/lib/gen/network/network_pb.js +163 -0
- package/lib/gen/network/provider_pb.d.ts +719 -0
- package/lib/gen/network/provider_pb.js +223 -0
- package/package.json +4 -2
|
@@ -0,0 +1,223 @@
|
|
|
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("ChZuZXR3b3JrL3Byb3ZpZGVyLnByb3RvEhNuZXR3b3JrLnYxLnByb3ZpZGVyItINChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJRCgx0cmFuc2FjdGlvbnMYFCADKAsyOy5uZXR3b3JrLnYxLnByb3ZpZGVyLkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uGuMHCgtUcmFuc2FjdGlvbhIWCg50cmFuc2FjdGlvbl9pZBgKIAEoBBJMCgdlbnRyaWVzGB4gAygLMjsubmV0d29yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWV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Byb3ZpZGVyLlVwZGF0ZUxpbWl0UmVzcG9uc2UiA5ACAhJ9ChNBcHBlbmRMZWRnZXJFbnRyaWVzEi8ubmV0d29yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBowLm5ldHdvcmsudjEucHJvdmlkZXIuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJClgEKF2NvbS5uZXR3b3JrLnYxLnByb3ZpZGVyQg1Qcm92aWRlclByb3RvUAGiAgNOVlCqAhNOZXR3b3JrLlYxLlByb3ZpZGVyygITTmV0d29ya1xWMVxQcm92aWRlcuICH05ldHdvcmtcVjFcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAhVOZXR3b3JrOjpWMTo6UHJvdmlkZXJiBnByb3RvMw", [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.UpdateLimitRequest.Limit.
|
|
187
|
+
* Use `create(UpdateLimitRequest_LimitSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export const UpdateLimitRequest_LimitSchema = /*@__PURE__*/ messageDesc(file_network_provider, 6, 0);
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message network.v1.provider.UpdateLimitResponse.
|
|
192
|
+
* Use `create(UpdateLimitResponseSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export const UpdateLimitResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 7);
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message network.v1.provider.CreatePayInDetailsRequest.
|
|
197
|
+
* Use `create(CreatePayInDetailsRequestSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export const CreatePayInDetailsRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8);
|
|
200
|
+
/**
|
|
201
|
+
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.
|
|
202
|
+
* Use `create(CreatePayInDetailsRequest_SenderSchema)` to create a new message.
|
|
203
|
+
*/
|
|
204
|
+
export const CreatePayInDetailsRequest_SenderSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0);
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson.
|
|
207
|
+
* Use `create(CreatePayInDetailsRequest_Sender_PrivatePersonSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export const CreatePayInDetailsRequest_Sender_PrivatePersonSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0, 0);
|
|
210
|
+
/**
|
|
211
|
+
* Describes the message network.v1.provider.CreatePayInDetailsResponse.
|
|
212
|
+
* Use `create(CreatePayInDetailsResponseSchema)` to create a new message.
|
|
213
|
+
*/
|
|
214
|
+
export const CreatePayInDetailsResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 9);
|
|
215
|
+
/**
|
|
216
|
+
* *
|
|
217
|
+
* This service must be implemented by the provider.
|
|
218
|
+
*
|
|
219
|
+
* 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.
|
|
220
|
+
*
|
|
221
|
+
* @generated from service network.v1.provider.ProviderService
|
|
222
|
+
*/
|
|
223
|
+
export const ProviderService = /*@__PURE__*/ serviceDesc(file_network_provider, 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t-0/provider-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Provider SDK for the T-0 Network",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
"typescript": "^5.8.3"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
|
-
"buf:generate": "buf generate
|
|
41
|
+
"buf:generate": "buf generate",
|
|
42
|
+
"build" : "tsc",
|
|
43
|
+
"publish": "npm run buf:generate && npm run build && npm publish --access public"
|
|
42
44
|
}
|
|
43
45
|
}
|