@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.
- package/lib/cjs/client/client.js +46 -0
- package/lib/{client → cjs/client}/signer.d.ts +1 -1
- package/lib/cjs/client/signer.js +69 -0
- package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +56 -0
- package/lib/{common → cjs/common}/gen/tzero/v1/common/payment_method_pb.d.ts +1 -1
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +60 -0
- package/lib/{common → cjs/common}/gen/tzero/v1/payment/network_pb.d.ts +2 -2
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +147 -0
- package/lib/{common → cjs/common}/gen/tzero/v1/payment/provider_pb.d.ts +2 -2
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +206 -0
- package/lib/{common → cjs/common}/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +2 -2
- package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +87 -0
- package/lib/{common → cjs/common}/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +2 -2
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +62 -0
- package/lib/cjs/common/gen/tzero/v1/public/public_pb.js +88 -0
- package/lib/cjs/common/headers.js +10 -0
- package/lib/cjs/examples/payment_intent/pay-in-provider-flow.d.ts +4 -0
- package/lib/cjs/examples/payment_intent/pay-in-provider-flow.js +56 -0
- package/lib/cjs/examples/payment_intent/service.d.ts +1 -0
- package/lib/cjs/examples/payment_intent/service.js +68 -0
- package/lib/cjs/examples/server.d.ts +4 -0
- package/lib/cjs/examples/server.js +93 -0
- package/lib/cjs/examples/update-quote.d.ts +4 -0
- package/lib/cjs/examples/update-quote.js +42 -0
- package/lib/cjs/index.d.ts +11 -0
- package/lib/cjs/index.js +50 -0
- package/lib/cjs/package.json +1 -0
- package/lib/{payment_intent → cjs/payment_intent}/provider/index.d.ts +1 -1
- package/lib/cjs/payment_intent/provider/index.js +17 -0
- package/lib/{payment_intent → cjs/payment_intent}/recipient/index.d.ts +1 -1
- package/lib/cjs/payment_intent/recipient/index.js +17 -0
- package/lib/cjs/service/node.d.ts +3 -0
- package/lib/cjs/service/node.js +15 -0
- package/lib/{service → cjs/service}/service.d.ts +2 -3
- package/lib/cjs/service/service.js +112 -0
- package/lib/esm/client/client.d.ts +16 -0
- package/lib/{client → esm/client}/client.js +2 -2
- package/lib/esm/client/signer.d.ts +3 -0
- package/lib/{gen → esm/common/gen/tzero/v1}/common/common_pb.d.ts +2 -2
- package/lib/{common → esm/common}/gen/tzero/v1/common/common_pb.js +1 -1
- package/lib/{gen → esm/common/gen/tzero/v1}/common/payment_method_pb.d.ts +3 -3
- package/lib/{common → esm/common}/gen/tzero/v1/common/payment_method_pb.js +2 -2
- package/lib/{gen/network → esm/common/gen/tzero/v1/payment}/network_pb.d.ts +86 -86
- package/lib/{common → esm/common}/gen/tzero/v1/payment/network_pb.js +3 -3
- package/lib/{gen/network → esm/common/gen/tzero/v1/payment}/provider_pb.d.ts +84 -84
- package/lib/{common → esm/common}/gen/tzero/v1/payment/provider_pb.js +3 -3
- package/lib/{gen → esm/common/gen/tzero/v1}/payment_intent/provider/provider_pb.d.ts +4 -4
- package/lib/{common → esm/common}/gen/tzero/v1/payment_intent/provider/provider_pb.js +3 -3
- package/lib/{gen → esm/common/gen/tzero/v1}/payment_intent/recipient/recipient_pb.d.ts +4 -4
- package/lib/{common → esm/common}/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +3 -3
- package/lib/esm/common/gen/tzero/v1/public/public_pb.d.ts +234 -0
- package/lib/{common → esm/common}/gen/tzero/v1/public/public_pb.js +1 -1
- package/lib/esm/common/headers.d.ts +6 -0
- package/lib/esm/examples/payment_intent/pay-in-provider-flow.d.ts +4 -0
- package/lib/esm/examples/payment_intent/pay-in-provider-flow.js +51 -0
- package/lib/esm/examples/payment_intent/service.d.ts +1 -0
- package/lib/esm/examples/payment_intent/service.js +30 -0
- package/lib/esm/examples/server.d.ts +4 -0
- package/lib/esm/examples/server.js +55 -0
- package/lib/esm/examples/update-quote.d.ts +4 -0
- package/lib/esm/examples/update-quote.js +37 -0
- package/lib/esm/index.d.ts +11 -0
- package/lib/esm/index.js +10 -0
- package/lib/esm/payment_intent/provider/index.d.ts +1 -0
- package/lib/{payment_intent → esm/payment_intent}/provider/index.js +1 -1
- package/lib/esm/payment_intent/recipient/index.d.ts +1 -0
- package/lib/{payment_intent → esm/payment_intent}/recipient/index.js +1 -1
- package/lib/esm/service/node.d.ts +3 -0
- package/lib/esm/service/service.d.ts +15 -0
- package/lib/{service → esm/service}/service.js +3 -3
- package/lib/tsconfig.cjs.tsbuildinfo +1 -0
- package/lib/tsconfig.esm.tsbuildinfo +1 -0
- package/package.json +19 -10
- package/lib/common/gen/common/common_pb.d.ts +0 -26
- package/lib/common/gen/common/common_pb.js +0 -13
- package/lib/common/gen/common/payment_method_pb.d.ts +0 -51
- package/lib/common/gen/common/payment_method_pb.js +0 -18
- package/lib/common/gen/network/network_pb.d.ts +0 -649
- package/lib/common/gen/network/network_pb.js +0 -163
- package/lib/common/gen/network/provider_pb.d.ts +0 -695
- package/lib/common/gen/network/provider_pb.js +0 -218
- package/lib/gen/common/common_pb.js +0 -53
- package/lib/gen/common/payment_method_pb.js +0 -57
- package/lib/gen/network/network_pb.js +0 -144
- package/lib/gen/network/provider_pb.js +0 -203
- package/lib/gen/payment_intent/provider/provider_pb.js +0 -84
- package/lib/gen/payment_intent/recipient/recipient_pb.js +0 -59
- package/lib/index.d.ts +0 -11
- package/lib/index.js +0 -10
- package/lib/service/node.d.ts +0 -2
- /package/lib/{client → cjs/client}/client.d.ts +0 -0
- /package/lib/{common → cjs/common}/gen/tzero/v1/common/common_pb.d.ts +0 -0
- /package/lib/{common → cjs/common}/gen/tzero/v1/public/public_pb.d.ts +0 -0
- /package/lib/{common → cjs/common}/headers.d.ts +0 -0
- /package/lib/{client → esm/client}/signer.js +0 -0
- /package/lib/{common → esm/common}/headers.js +0 -0
- /package/lib/{service → esm/service}/node.js +0 -0
|
@@ -1,203 +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("ChZuZXR3b3JrL3Byb3ZpZGVyLnByb3RvEhNuZXR3b3JrLnYxLnByb3ZpZGVyItINChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJRCgx0cmFuc2FjdGlvbnMYFCADKAsyOy5uZXR3b3JrLnYxLnByb3ZpZGVyLkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uGuMHCgtUcmFuc2FjdGlvbhIWCg50cmFuc2FjdGlvbl9pZBgKIAEoBBJMCgdlbnRyaWVzGB4gAygLMjsubmV0d29yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdC5MZWRnZXJFbnRyeRJTCgZwYXlfaW4YbiABKAsyQS5uZXR3b3JrLnYxLnByb3ZpZGVyLkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLlBheUluSAASawoScGF5b3V0X3Jlc2VydmF0aW9uGHggASgLMk0ubmV0d29yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdC5UcmFuc2FjdGlvbi5QYX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ZXR3b3JrLnYxLnByb3ZpZGVyLlBheW91dFJlcXVlc3QaIy5uZXR3b3JrLnYxLnByb3ZpZGVyLlBheW91dFJlc3BvbnNlIgOQAgISawoNVXBkYXRlUGF5bWVudBIpLm5ldHdvcmsudjEucHJvdmlkZXIuVXBkYXRlUGF5bWVudFJlcXVlc3QaKi5uZXR3b3JrLnYxLnByb3ZpZGVyLlVwZGF0ZVBheW1lbnRSZXNwb25zZSIDkAICEmUKC1VwZGF0ZUxpbWl0EicubmV0d29yay52MS5wcm92aWRlci5VcGRhdGVMaW1pdFJlcXVlc3QaKC5uZXR3b3JrLnYxLnByb3ZpZGVyLlVwZGF0ZUxpbWl0UmVzcG9uc2UiA5ACAhJ9ChNBcHBlbmRMZWRnZXJFbnRyaWVzEi8ubmV0d29yay52MS5wcm92aWRlci5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBowLm5ldHdvcmsudjEucHJvdmlkZXIuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJClgEKF2NvbS5uZXR3b3JrLnYxLnByb3ZpZGVyQg1Qcm92aWRlclByb3RvUAGiAgNOVlCqAhNOZXR3b3JrLlYxLlByb3ZpZGVyygITTmV0d29ya1xWMVxQcm92aWRlcuICH05ldHdvcmtcVjFcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAhVOZXR3b3JrOjpWMTo6UHJvdmlkZXJiBnByb3RvMw", [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
|
-
* *
|
|
197
|
-
* This service must be implemented by the provider.
|
|
198
|
-
*
|
|
199
|
-
* 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.
|
|
200
|
-
*
|
|
201
|
-
* @generated from service network.v1.provider.ProviderService
|
|
202
|
-
*/
|
|
203
|
-
export const ProviderService = /*@__PURE__*/ serviceDesc(file_network_provider, 0);
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file payment_intent/provider/provider.proto (package tzero.v1.payment_intent.provider, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { 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
|
-
/**
|
|
8
|
-
* Describes the file payment_intent/provider/provider.proto.
|
|
9
|
-
*/
|
|
10
|
-
export const file_payment_intent_provider_provider = /*@__PURE__*/ fileDesc("CiZwYXltZW50X2ludGVudC9wcm92aWRlci9wcm92aWRlci5wcm90bxIgdHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIicwoaQ3JlYXRlUGF5bWVudEludGVudFJlcXVlc3QSGQoRcGF5bWVudF9pbnRlbnRfaWQYCiABKAQSEAoIY3VycmVuY3kYFCABKAkSKAoGYW1vdW50GB4gASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwi5QEKG0NyZWF0ZVBheW1lbnRJbnRlbnRSZXNwb25zZRJkCg9wYXltZW50X21ldGhvZHMYFCADKAsySy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5DcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2UuUGF5bWVudE1ldGhvZBpgCg1QYXltZW50TWV0aG9kEhMKC3BheW1lbnRfdXJsGAogASgJEjoKDnBheW1lbnRfbWV0aG9kGBQgASgOMiIudHplcm8udjEuY29tbW9uLlBheW1lbnRN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m92aWRlcsoCH1R6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUHJvdmlkZXLiAitUemVyb1xWMVxQYXltZW50SW50ZW50XFByb3ZpZGVyXEdQQk1ldGFkYXRh6gIiVHplcm86OlYxOjpQYXltZW50SW50ZW50OjpQcm92aWRlcmIGcHJvdG8z", [file_common_common, file_common_payment_method]);
|
|
11
|
-
/**
|
|
12
|
-
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest.
|
|
13
|
-
* Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
|
|
14
|
-
*/
|
|
15
|
-
export const CreatePaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 0);
|
|
16
|
-
/**
|
|
17
|
-
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.
|
|
18
|
-
* Use `create(CreatePaymentIntentResponseSchema)` to create a new message.
|
|
19
|
-
*/
|
|
20
|
-
export const CreatePaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 1);
|
|
21
|
-
/**
|
|
22
|
-
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod.
|
|
23
|
-
* Use `create(CreatePaymentIntentResponse_PaymentMethodSchema)` to create a new message.
|
|
24
|
-
*/
|
|
25
|
-
export const CreatePaymentIntentResponse_PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 1, 0);
|
|
26
|
-
/**
|
|
27
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentRequest.
|
|
28
|
-
* Use `create(ConfirmPaymentRequestSchema)` to create a new message.
|
|
29
|
-
*/
|
|
30
|
-
export const ConfirmPaymentRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 2);
|
|
31
|
-
/**
|
|
32
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.
|
|
33
|
-
* Use `create(ConfirmPaymentResponseSchema)` to create a new message.
|
|
34
|
-
*/
|
|
35
|
-
export const ConfirmPaymentResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 3);
|
|
36
|
-
/**
|
|
37
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.SettlementAddress.
|
|
38
|
-
* Use `create(ConfirmPaymentResponse_SettlementAddressSchema)` to create a new message.
|
|
39
|
-
*/
|
|
40
|
-
export const ConfirmPaymentResponse_SettlementAddressSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 3, 0);
|
|
41
|
-
/**
|
|
42
|
-
* Describes the message tzero.v1.payment_intent.provider.RejectPaymentIntentRequest.
|
|
43
|
-
* Use `create(RejectPaymentIntentRequestSchema)` to create a new message.
|
|
44
|
-
*/
|
|
45
|
-
export const RejectPaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 4);
|
|
46
|
-
/**
|
|
47
|
-
* Describes the message tzero.v1.payment_intent.provider.RejectPaymentIntentResponse.
|
|
48
|
-
* Use `create(RejectPaymentIntentResponseSchema)` to create a new message.
|
|
49
|
-
*/
|
|
50
|
-
export const RejectPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 5);
|
|
51
|
-
/**
|
|
52
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutRequest.
|
|
53
|
-
* Use `create(ConfirmPayoutRequestSchema)` to create a new message.
|
|
54
|
-
*/
|
|
55
|
-
export const ConfirmPayoutRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 6);
|
|
56
|
-
/**
|
|
57
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutResponse.
|
|
58
|
-
* Use `create(ConfirmPayoutResponseSchema)` to create a new message.
|
|
59
|
-
*/
|
|
60
|
-
export const ConfirmPayoutResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 7);
|
|
61
|
-
/**
|
|
62
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmSettlementRequest.
|
|
63
|
-
* Use `create(ConfirmSettlementRequestSchema)` to create a new message.
|
|
64
|
-
*/
|
|
65
|
-
export const ConfirmSettlementRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 8);
|
|
66
|
-
/**
|
|
67
|
-
* Describes the message tzero.v1.payment_intent.provider.ConfirmSettlementResponse.
|
|
68
|
-
* Use `create(ConfirmSettlementResponseSchema)` to create a new message.
|
|
69
|
-
*/
|
|
70
|
-
export const ConfirmSettlementResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_provider_provider, 9);
|
|
71
|
-
/**
|
|
72
|
-
* *
|
|
73
|
-
* NetworkService is used by provider in order to notify network on payment intent updates
|
|
74
|
-
*
|
|
75
|
-
* @generated from service tzero.v1.payment_intent.provider.NetworkService
|
|
76
|
-
*/
|
|
77
|
-
export const NetworkService = /*@__PURE__*/ serviceDesc(file_payment_intent_provider_provider, 0);
|
|
78
|
-
/**
|
|
79
|
-
* *
|
|
80
|
-
* ProviderService is implemented by provider to provide pay-in details fpr payment intents
|
|
81
|
-
*
|
|
82
|
-
* @generated from service tzero.v1.payment_intent.provider.ProviderService
|
|
83
|
-
*/
|
|
84
|
-
export const ProviderService = /*@__PURE__*/ serviceDesc(file_payment_intent_provider_provider, 1);
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file payment_intent/recipient/recipient.proto (package tzero.v1.payment_intent.recipient, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { 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
|
-
/**
|
|
8
|
-
* Describes the file payment_intent/recipient/recipient.proto.
|
|
9
|
-
*/
|
|
10
|
-
export const file_payment_intent_recipient_recipient = /*@__PURE__*/ file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oCRIOCgZyZWFzb24YHiABKAkiHQobUmVqZWN0UGF5bWVudEludGVudFJlc3BvbnNlMqwBCg5OZXR3b3JrU2VydmljZRKZAQoTQ3JlYXRlUGF5bWVudEludGVudBI9LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5DcmVhdGVQYXltZW50SW50ZW50UmVxdWVzdBo+LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5DcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAjLBAgoQUmVjaXBpZW50U2VydmljZRKQAQoOQ29uZmlybVBheW1lbnQSOC50emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQuQ29uZmlybVBheW1lbnRSZXF1ZXN0Gj8udHplcm8udjEucGF5bWVudF9pbnRlbnQucmVjaXBpZW50LkNvbmZpcm1QYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAhKZAQoTUmVqZWN0UGF5bWVudEludGVudBI9LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5SZWplY3RQYXltZW50SW50ZW50UmVxdWVzdBo+LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5SZWplY3RQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAkLbAQolY29tLnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudEIOUmVjaXBpZW50UHJvdG9QAaICBFRWUFKqAiBUemVyby5WMS5QYXltZW50SW50ZW50LlJlY2lwaWVudMoCIFR6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUmVjaXBpZW504gIsVHplcm9cVjFcUGF5bWVudEludGVudFxSZWNpcGllbnRcR1BCTWV0YWRhdGHqAiNUemVybzo6VjE6OlBheW1lbnRJbnRlbnQ6OlJlY2lwaWVudGIGcHJvdG8z", [file_common_common, file_common_payment_method]);
|
|
11
|
-
/**
|
|
12
|
-
* Describes the message tzero.v1.payment_intent.recipient.CreatePaymentIntentRequest.
|
|
13
|
-
* Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
|
|
14
|
-
*/
|
|
15
|
-
export const CreatePaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 0);
|
|
16
|
-
/**
|
|
17
|
-
* Describes the message tzero.v1.payment_intent.recipient.CreatePaymentIntentResponse.
|
|
18
|
-
* Use `create(CreatePaymentIntentResponseSchema)` to create a new message.
|
|
19
|
-
*/
|
|
20
|
-
export const CreatePaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 1);
|
|
21
|
-
/**
|
|
22
|
-
* Describes the message tzero.v1.payment_intent.recipient.CreatePaymentIntentResponse.PaymentMethod.
|
|
23
|
-
* Use `create(CreatePaymentIntentResponse_PaymentMethodSchema)` to create a new message.
|
|
24
|
-
*/
|
|
25
|
-
export const CreatePaymentIntentResponse_PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 1, 0);
|
|
26
|
-
/**
|
|
27
|
-
* Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentRequest.
|
|
28
|
-
* Use `create(ConfirmPaymentRequestSchema)` to create a new message.
|
|
29
|
-
*/
|
|
30
|
-
export const ConfirmPaymentRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 2);
|
|
31
|
-
/**
|
|
32
|
-
* Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentIntentResponse.
|
|
33
|
-
* Use `create(ConfirmPaymentIntentResponseSchema)` to create a new message.
|
|
34
|
-
*/
|
|
35
|
-
export const ConfirmPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 3);
|
|
36
|
-
/**
|
|
37
|
-
* Describes the message tzero.v1.payment_intent.recipient.RejectPaymentIntentRequest.
|
|
38
|
-
* Use `create(RejectPaymentIntentRequestSchema)` to create a new message.
|
|
39
|
-
*/
|
|
40
|
-
export const RejectPaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 4);
|
|
41
|
-
/**
|
|
42
|
-
* Describes the message tzero.v1.payment_intent.recipient.RejectPaymentIntentResponse.
|
|
43
|
-
* Use `create(RejectPaymentIntentResponseSchema)` to create a new message.
|
|
44
|
-
*/
|
|
45
|
-
export const RejectPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_payment_intent_recipient_recipient, 5);
|
|
46
|
-
/**
|
|
47
|
-
* *
|
|
48
|
-
* NetworkService is used by recipient to create a payment intents
|
|
49
|
-
*
|
|
50
|
-
* @generated from service tzero.v1.payment_intent.recipient.NetworkService
|
|
51
|
-
*/
|
|
52
|
-
export const NetworkService = /*@__PURE__*/ serviceDesc(file_payment_intent_recipient_recipient, 0);
|
|
53
|
-
/**
|
|
54
|
-
* *
|
|
55
|
-
* RecipientService is implemented by recipient in order to get updates on payment intents
|
|
56
|
-
*
|
|
57
|
-
* @generated from service tzero.v1.payment_intent.recipient.RecipientService
|
|
58
|
-
*/
|
|
59
|
-
export const RecipientService = /*@__PURE__*/ serviceDesc(file_payment_intent_recipient_recipient, 1);
|
package/lib/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./client/client";
|
|
2
|
-
export * from "./service/service";
|
|
3
|
-
export * from "./service/node";
|
|
4
|
-
export { connectNodeAdapter as nodeAdapter } from "@connectrpc/connect-node";
|
|
5
|
-
export type { HandlerContext } from "@connectrpc/connect";
|
|
6
|
-
export * from './common/gen/tzero/v1/common/common_pb';
|
|
7
|
-
export * from './common/gen/tzero/v1/common/payment_method_pb';
|
|
8
|
-
export * from './common/gen/tzero/v1/payment/provider_pb';
|
|
9
|
-
export * from './common/gen/tzero/v1/payment/network_pb';
|
|
10
|
-
export * as PaymentIntentProvider from './common/gen/tzero/v1/payment_intent/provider/provider_pb';
|
|
11
|
-
export * as PaymentIntentRecipient from './common/gen/tzero/v1/payment_intent/recipient/recipient_pb';
|
package/lib/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from "./client/client";
|
|
2
|
-
export * from "./service/service";
|
|
3
|
-
export * from "./service/node";
|
|
4
|
-
export { connectNodeAdapter as nodeAdapter } from "@connectrpc/connect-node";
|
|
5
|
-
export * from './common/gen/tzero/v1/common/common_pb';
|
|
6
|
-
export * from './common/gen/tzero/v1/common/payment_method_pb';
|
|
7
|
-
export * from './common/gen/tzero/v1/payment/provider_pb';
|
|
8
|
-
export * from './common/gen/tzero/v1/payment/network_pb';
|
|
9
|
-
export * as PaymentIntentProvider from './common/gen/tzero/v1/payment_intent/provider/provider_pb';
|
|
10
|
-
export * as PaymentIntentRecipient from './common/gen/tzero/v1/payment_intent/recipient/recipient_pb';
|
package/lib/service/node.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|