@superdurable/connector-braintree 0.0.0-stage → 0.2.0
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/LICENSE +21 -0
- package/README.md +4 -2
- package/dex-connector.json +1419 -0
- package/dist/chunk-KA52AO5W.js +1036 -0
- package/dist/connection-Cn9eRQrg.d.ts +562 -0
- package/dist/index.d.ts +1425 -0
- package/dist/index.js +1990 -0
- package/dist/mock.d.ts +474 -0
- package/dist/mock.js +1142 -0
- package/package.json +59 -4
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1425 @@
|
|
|
1
|
+
import { G as GetDisputeInput, D as DisputeProfile, C as Connection, a as CaptureTransactionInput, T as TransactionProfile, b as ChargePaymentMethodInput, c as CreateCustomerInput, d as CustomerProfile, e as CreateDisputeFileEvidenceInput, f as DisputeEvidenceProfile, g as CreateDisputeTextEvidenceInput, h as DisputeTextEvidenceProfile, i as GetCustomerInput, j as CustomerDeleteResult, k as DeleteDisputeEvidenceInput, l as DisputeEvidenceDeleteResult, m as GetPaymentMethodInput, P as PaymentMethodDeleteResult, n as PaymentMethodProfile, o as GetRefundInput, R as RefundProfile, p as GetTransactionInput, q as RefundTransactionInput, S as SearchDisputesInput, r as DisputesPage, s as SearchTransactionsInput, t as TransactionsPage, U as UpdateCreditCardBillingAddressInput, u as UpdateCreditCardCardholderNameInput, v as UpdateCreditCardExpirationDateInput, w as UpdateCustomerInput, V as VaultPaymentMethodInput, O as Operations, x as Config, y as Credentials } from './connection-Cn9eRQrg.js';
|
|
2
|
+
export { z as CaptureTransactionInputSchema, A as ChargePaymentMethodInputSchema, B as ConfigSchema, E as CreateCustomerInputSchema, F as CreateDisputeFileEvidenceInputSchema, H as CreateDisputeTextEvidenceInputSchema, I as CredentialMaterialError, J as CredentialSource, K as CustomerDeleteResultSchema, L as CustomerProfileSchema, M as DeleteDisputeEvidenceInputSchema, N as DisputeEvidenceDeleteResultSchema, Q as DisputeEvidenceProfileSchema, W as DisputeProfileSchema, X as DisputeTextEvidenceProfileSchema, Y as DisputesPageSchema, Z as GetCustomerInputSchema, _ as GetDisputeInputSchema, $ as GetPaymentMethodInputSchema, a0 as GetRefundInputSchema, a1 as GetTransactionInputSchema, a2 as PaymentMethodDeleteResultSchema, a3 as PaymentMethodProfileSchema, a4 as RefundProfileSchema, a5 as RefundTransactionInputSchema, a6 as SearchDisputesInputSchema, a7 as SearchTransactionsInputSchema, a8 as TransactionProfileSchema, a9 as TransactionsPageSchema, aa as UpdateCreditCardBillingAddressInputSchema, ab as UpdateCreditCardCardholderNameInputSchema, ac as UpdateCreditCardExpirationDateInputSchema, ad as UpdateCustomerInputSchema, ae as VaultPaymentMethodInputSchema, af as decodeCredentials, ag as isCredentialMaterialError, ah as newConnection, ai as newConnectionWithOperations } from './connection-Cn9eRQrg.js';
|
|
3
|
+
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, QueryAttempt, MutationAttempt, Failure, CredentialProvider } from '@superdurable/connectors-sdk';
|
|
4
|
+
import { StepTarget } from '@superdurable/dex';
|
|
5
|
+
import { LoadedProject } from '@superdurable/connectors-sdk/projectconfig';
|
|
6
|
+
import { ProviderRequest, ProviderResponse } from '@superdurable/connectors-sdk/providerhttp';
|
|
7
|
+
import 'zod';
|
|
8
|
+
|
|
9
|
+
/** Stable connector identity. */
|
|
10
|
+
declare const ConnectorID = "braintree";
|
|
11
|
+
/** Provider identity for named connections. */
|
|
12
|
+
declare const ProviderID = "braintree";
|
|
13
|
+
/** Branch IDs for getDispute. */
|
|
14
|
+
declare const GetDisputeBranch: {
|
|
15
|
+
readonly Found: "found";
|
|
16
|
+
readonly NotFound: "notFound";
|
|
17
|
+
readonly ProviderRejected: "providerRejected";
|
|
18
|
+
readonly InvalidResponse: "invalidResponse";
|
|
19
|
+
readonly Defect: "defect";
|
|
20
|
+
};
|
|
21
|
+
/** Braintree returned the requested result. */
|
|
22
|
+
declare const GetDisputeBranchFound: "found";
|
|
23
|
+
/** The dispute or evidence was not found. */
|
|
24
|
+
declare const GetDisputeBranchNotFound: "notFound";
|
|
25
|
+
/** Braintree definitively rejected the request. */
|
|
26
|
+
declare const GetDisputeBranchProviderRejected: "providerRejected";
|
|
27
|
+
/** Braintree returned invalid dispute JSON. */
|
|
28
|
+
declare const GetDisputeBranchInvalidResponse: "invalidResponse";
|
|
29
|
+
/** Input or credentials are invalid. */
|
|
30
|
+
declare const GetDisputeBranchDefect: "defect";
|
|
31
|
+
/** Manifest definition for getDispute. */
|
|
32
|
+
declare const GetDisputeDefinition: QueryDefinition;
|
|
33
|
+
/** Manifest metadata for getDispute. */
|
|
34
|
+
declare const GetDisputeMetadata: {
|
|
35
|
+
readonly kind: "query";
|
|
36
|
+
readonly idempotency: "none";
|
|
37
|
+
readonly authorization: "required";
|
|
38
|
+
};
|
|
39
|
+
/** Branch IDs for searchDisputes. */
|
|
40
|
+
declare const SearchDisputesBranch: {
|
|
41
|
+
readonly Searched: "searched";
|
|
42
|
+
readonly NotFound: "notFound";
|
|
43
|
+
readonly ProviderRejected: "providerRejected";
|
|
44
|
+
readonly InvalidResponse: "invalidResponse";
|
|
45
|
+
readonly Defect: "defect";
|
|
46
|
+
};
|
|
47
|
+
/** Braintree returned the requested result. */
|
|
48
|
+
declare const SearchDisputesBranchSearched: "searched";
|
|
49
|
+
/** The dispute or evidence was not found. */
|
|
50
|
+
declare const SearchDisputesBranchNotFound: "notFound";
|
|
51
|
+
/** Braintree definitively rejected the request. */
|
|
52
|
+
declare const SearchDisputesBranchProviderRejected: "providerRejected";
|
|
53
|
+
/** Braintree returned invalid dispute JSON. */
|
|
54
|
+
declare const SearchDisputesBranchInvalidResponse: "invalidResponse";
|
|
55
|
+
/** Input or credentials are invalid. */
|
|
56
|
+
declare const SearchDisputesBranchDefect: "defect";
|
|
57
|
+
/** Manifest definition for searchDisputes. */
|
|
58
|
+
declare const SearchDisputesDefinition: QueryDefinition;
|
|
59
|
+
/** Manifest metadata for searchDisputes. */
|
|
60
|
+
declare const SearchDisputesMetadata: {
|
|
61
|
+
readonly kind: "query";
|
|
62
|
+
readonly idempotency: "none";
|
|
63
|
+
readonly authorization: "required";
|
|
64
|
+
};
|
|
65
|
+
/** Branch IDs for acceptDispute. */
|
|
66
|
+
declare const AcceptDisputeBranch: {
|
|
67
|
+
readonly Accepted: "accepted";
|
|
68
|
+
readonly NotFound: "notFound";
|
|
69
|
+
readonly ProviderRejected: "providerRejected";
|
|
70
|
+
readonly Defect: "defect";
|
|
71
|
+
readonly Uncertain: "uncertain";
|
|
72
|
+
};
|
|
73
|
+
/** Braintree returned the requested result. */
|
|
74
|
+
declare const AcceptDisputeBranchAccepted: "accepted";
|
|
75
|
+
/** The dispute or evidence was not found. */
|
|
76
|
+
declare const AcceptDisputeBranchNotFound: "notFound";
|
|
77
|
+
/** Braintree definitively rejected the request. */
|
|
78
|
+
declare const AcceptDisputeBranchProviderRejected: "providerRejected";
|
|
79
|
+
/** Input or credentials are invalid. */
|
|
80
|
+
declare const AcceptDisputeBranchDefect: "defect";
|
|
81
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
82
|
+
declare const AcceptDisputeBranchUncertain: "uncertain";
|
|
83
|
+
/** Manifest definition for acceptDispute. */
|
|
84
|
+
declare const AcceptDisputeDefinition: MutationDefinition;
|
|
85
|
+
/** Manifest metadata for acceptDispute. */
|
|
86
|
+
declare const AcceptDisputeMetadata: {
|
|
87
|
+
readonly kind: "mutation";
|
|
88
|
+
readonly idempotency: "required";
|
|
89
|
+
readonly authorization: "required";
|
|
90
|
+
};
|
|
91
|
+
/** Branch IDs for createDisputeTextEvidence. */
|
|
92
|
+
declare const CreateDisputeTextEvidenceBranch: {
|
|
93
|
+
readonly Created: "created";
|
|
94
|
+
readonly NotFound: "notFound";
|
|
95
|
+
readonly ProviderRejected: "providerRejected";
|
|
96
|
+
readonly Defect: "defect";
|
|
97
|
+
readonly Uncertain: "uncertain";
|
|
98
|
+
};
|
|
99
|
+
/** Braintree returned the requested result. */
|
|
100
|
+
declare const CreateDisputeTextEvidenceBranchCreated: "created";
|
|
101
|
+
/** The dispute or evidence was not found. */
|
|
102
|
+
declare const CreateDisputeTextEvidenceBranchNotFound: "notFound";
|
|
103
|
+
/** Braintree definitively rejected the request. */
|
|
104
|
+
declare const CreateDisputeTextEvidenceBranchProviderRejected: "providerRejected";
|
|
105
|
+
/** Input or credentials are invalid. */
|
|
106
|
+
declare const CreateDisputeTextEvidenceBranchDefect: "defect";
|
|
107
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
108
|
+
declare const CreateDisputeTextEvidenceBranchUncertain: "uncertain";
|
|
109
|
+
/** Manifest definition for createDisputeTextEvidence. */
|
|
110
|
+
declare const CreateDisputeTextEvidenceDefinition: MutationDefinition;
|
|
111
|
+
/** Manifest metadata for createDisputeTextEvidence. */
|
|
112
|
+
declare const CreateDisputeTextEvidenceMetadata: {
|
|
113
|
+
readonly kind: "mutation";
|
|
114
|
+
readonly idempotency: "required";
|
|
115
|
+
readonly authorization: "required";
|
|
116
|
+
};
|
|
117
|
+
/** Branch IDs for createDisputeFileEvidence. */
|
|
118
|
+
declare const CreateDisputeFileEvidenceBranch: {
|
|
119
|
+
readonly Created: "created";
|
|
120
|
+
readonly NotFound: "notFound";
|
|
121
|
+
readonly ProviderRejected: "providerRejected";
|
|
122
|
+
readonly Defect: "defect";
|
|
123
|
+
readonly Uncertain: "uncertain";
|
|
124
|
+
};
|
|
125
|
+
/** Braintree returned the created evidence. */
|
|
126
|
+
declare const CreateDisputeFileEvidenceBranchCreated: "created";
|
|
127
|
+
/** The dispute was not found. */
|
|
128
|
+
declare const CreateDisputeFileEvidenceBranchNotFound: "notFound";
|
|
129
|
+
/** Braintree definitively rejected the file. */
|
|
130
|
+
declare const CreateDisputeFileEvidenceBranchProviderRejected: "providerRejected";
|
|
131
|
+
/** Invalid file or input or credentials. */
|
|
132
|
+
declare const CreateDisputeFileEvidenceBranchDefect: "defect";
|
|
133
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
134
|
+
declare const CreateDisputeFileEvidenceBranchUncertain: "uncertain";
|
|
135
|
+
/** Manifest definition for createDisputeFileEvidence. */
|
|
136
|
+
declare const CreateDisputeFileEvidenceDefinition: MutationDefinition;
|
|
137
|
+
/** Manifest metadata for createDisputeFileEvidence. */
|
|
138
|
+
declare const CreateDisputeFileEvidenceMetadata: {
|
|
139
|
+
readonly kind: "mutation";
|
|
140
|
+
readonly idempotency: "required";
|
|
141
|
+
readonly authorization: "required";
|
|
142
|
+
};
|
|
143
|
+
/** Branch IDs for deleteDisputeEvidence. */
|
|
144
|
+
declare const DeleteDisputeEvidenceBranch: {
|
|
145
|
+
readonly Deleted: "deleted";
|
|
146
|
+
readonly NotFound: "notFound";
|
|
147
|
+
readonly ProviderRejected: "providerRejected";
|
|
148
|
+
readonly InvalidResponse: "invalidResponse";
|
|
149
|
+
readonly Defect: "defect";
|
|
150
|
+
};
|
|
151
|
+
/** Braintree returned the requested result. */
|
|
152
|
+
declare const DeleteDisputeEvidenceBranchDeleted: "deleted";
|
|
153
|
+
/** The dispute or evidence was not found. */
|
|
154
|
+
declare const DeleteDisputeEvidenceBranchNotFound: "notFound";
|
|
155
|
+
/** Braintree definitively rejected the request. */
|
|
156
|
+
declare const DeleteDisputeEvidenceBranchProviderRejected: "providerRejected";
|
|
157
|
+
/** Braintree returned invalid dispute JSON. */
|
|
158
|
+
declare const DeleteDisputeEvidenceBranchInvalidResponse: "invalidResponse";
|
|
159
|
+
/** Input or credentials are invalid. */
|
|
160
|
+
declare const DeleteDisputeEvidenceBranchDefect: "defect";
|
|
161
|
+
/** Manifest definition for deleteDisputeEvidence. */
|
|
162
|
+
declare const DeleteDisputeEvidenceDefinition: MutationDefinition;
|
|
163
|
+
/** Manifest metadata for deleteDisputeEvidence. */
|
|
164
|
+
declare const DeleteDisputeEvidenceMetadata: {
|
|
165
|
+
readonly kind: "mutation";
|
|
166
|
+
readonly idempotency: "required";
|
|
167
|
+
readonly authorization: "required";
|
|
168
|
+
};
|
|
169
|
+
/** Branch IDs for finalizeDispute. */
|
|
170
|
+
declare const FinalizeDisputeBranch: {
|
|
171
|
+
readonly Finalized: "finalized";
|
|
172
|
+
readonly NotFound: "notFound";
|
|
173
|
+
readonly ProviderRejected: "providerRejected";
|
|
174
|
+
readonly Defect: "defect";
|
|
175
|
+
readonly Uncertain: "uncertain";
|
|
176
|
+
};
|
|
177
|
+
/** Braintree returned the requested result. */
|
|
178
|
+
declare const FinalizeDisputeBranchFinalized: "finalized";
|
|
179
|
+
/** The dispute or evidence was not found. */
|
|
180
|
+
declare const FinalizeDisputeBranchNotFound: "notFound";
|
|
181
|
+
/** Braintree definitively rejected the request. */
|
|
182
|
+
declare const FinalizeDisputeBranchProviderRejected: "providerRejected";
|
|
183
|
+
/** Input or credentials are invalid. */
|
|
184
|
+
declare const FinalizeDisputeBranchDefect: "defect";
|
|
185
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
186
|
+
declare const FinalizeDisputeBranchUncertain: "uncertain";
|
|
187
|
+
/** Manifest definition for finalizeDispute. */
|
|
188
|
+
declare const FinalizeDisputeDefinition: MutationDefinition;
|
|
189
|
+
/** Manifest metadata for finalizeDispute. */
|
|
190
|
+
declare const FinalizeDisputeMetadata: {
|
|
191
|
+
readonly kind: "mutation";
|
|
192
|
+
readonly idempotency: "required";
|
|
193
|
+
readonly authorization: "required";
|
|
194
|
+
};
|
|
195
|
+
/** Branch IDs for searchTransactions. */
|
|
196
|
+
declare const SearchTransactionsBranch: {
|
|
197
|
+
readonly Searched: "searched";
|
|
198
|
+
readonly NotFound: "notFound";
|
|
199
|
+
readonly ProviderRejected: "providerRejected";
|
|
200
|
+
readonly InvalidResponse: "invalidResponse";
|
|
201
|
+
readonly Defect: "defect";
|
|
202
|
+
};
|
|
203
|
+
/** Braintree returned the requested result. */
|
|
204
|
+
declare const SearchTransactionsBranchSearched: "searched";
|
|
205
|
+
/** The selected resource was not found. */
|
|
206
|
+
declare const SearchTransactionsBranchNotFound: "notFound";
|
|
207
|
+
/** Braintree definitively rejected the request. */
|
|
208
|
+
declare const SearchTransactionsBranchProviderRejected: "providerRejected";
|
|
209
|
+
/** Braintree returned invalid search JSON. */
|
|
210
|
+
declare const SearchTransactionsBranchInvalidResponse: "invalidResponse";
|
|
211
|
+
/** Input or credentials are invalid. */
|
|
212
|
+
declare const SearchTransactionsBranchDefect: "defect";
|
|
213
|
+
/** Manifest definition for searchTransactions. */
|
|
214
|
+
declare const SearchTransactionsDefinition: QueryDefinition;
|
|
215
|
+
/** Manifest metadata for searchTransactions. */
|
|
216
|
+
declare const SearchTransactionsMetadata: {
|
|
217
|
+
readonly kind: "query";
|
|
218
|
+
readonly idempotency: "none";
|
|
219
|
+
readonly authorization: "required";
|
|
220
|
+
};
|
|
221
|
+
/** Branch IDs for chargePaymentMethod. */
|
|
222
|
+
declare const ChargePaymentMethodBranch: {
|
|
223
|
+
readonly Charged: "charged";
|
|
224
|
+
readonly NotFound: "notFound";
|
|
225
|
+
readonly ProviderRejected: "providerRejected";
|
|
226
|
+
readonly Defect: "defect";
|
|
227
|
+
};
|
|
228
|
+
/** Braintree returned the requested result. */
|
|
229
|
+
declare const ChargePaymentMethodBranchCharged: "charged";
|
|
230
|
+
/** The selected resource was not found. */
|
|
231
|
+
declare const ChargePaymentMethodBranchNotFound: "notFound";
|
|
232
|
+
/** Braintree definitively rejected the request. */
|
|
233
|
+
declare const ChargePaymentMethodBranchProviderRejected: "providerRejected";
|
|
234
|
+
/** Input or credentials are invalid. */
|
|
235
|
+
declare const ChargePaymentMethodBranchDefect: "defect";
|
|
236
|
+
/** Manifest definition for chargePaymentMethod. */
|
|
237
|
+
declare const ChargePaymentMethodDefinition: MutationDefinition;
|
|
238
|
+
/** Manifest metadata for chargePaymentMethod. */
|
|
239
|
+
declare const ChargePaymentMethodMetadata: {
|
|
240
|
+
readonly kind: "mutation";
|
|
241
|
+
readonly idempotency: "required";
|
|
242
|
+
readonly authorization: "required";
|
|
243
|
+
};
|
|
244
|
+
/** Branch IDs for captureTransaction. */
|
|
245
|
+
declare const CaptureTransactionBranch: {
|
|
246
|
+
readonly Captured: "captured";
|
|
247
|
+
readonly NotFound: "notFound";
|
|
248
|
+
readonly ProviderRejected: "providerRejected";
|
|
249
|
+
readonly Defect: "defect";
|
|
250
|
+
};
|
|
251
|
+
/** Braintree returned the requested result. */
|
|
252
|
+
declare const CaptureTransactionBranchCaptured: "captured";
|
|
253
|
+
/** The selected resource was not found. */
|
|
254
|
+
declare const CaptureTransactionBranchNotFound: "notFound";
|
|
255
|
+
/** Braintree definitively rejected the request. */
|
|
256
|
+
declare const CaptureTransactionBranchProviderRejected: "providerRejected";
|
|
257
|
+
/** Input or credentials are invalid. */
|
|
258
|
+
declare const CaptureTransactionBranchDefect: "defect";
|
|
259
|
+
/** Manifest definition for captureTransaction. */
|
|
260
|
+
declare const CaptureTransactionDefinition: MutationDefinition;
|
|
261
|
+
/** Manifest metadata for captureTransaction. */
|
|
262
|
+
declare const CaptureTransactionMetadata: {
|
|
263
|
+
readonly kind: "mutation";
|
|
264
|
+
readonly idempotency: "required";
|
|
265
|
+
readonly authorization: "required";
|
|
266
|
+
};
|
|
267
|
+
/** Branch IDs for voidTransaction. */
|
|
268
|
+
declare const VoidTransactionBranch: {
|
|
269
|
+
readonly Voided: "voided";
|
|
270
|
+
readonly NotFound: "notFound";
|
|
271
|
+
readonly ProviderRejected: "providerRejected";
|
|
272
|
+
readonly Defect: "defect";
|
|
273
|
+
};
|
|
274
|
+
/** Braintree returned the requested result. */
|
|
275
|
+
declare const VoidTransactionBranchVoided: "voided";
|
|
276
|
+
/** The selected resource was not found. */
|
|
277
|
+
declare const VoidTransactionBranchNotFound: "notFound";
|
|
278
|
+
/** Braintree definitively rejected the request. */
|
|
279
|
+
declare const VoidTransactionBranchProviderRejected: "providerRejected";
|
|
280
|
+
/** Input or credentials are invalid. */
|
|
281
|
+
declare const VoidTransactionBranchDefect: "defect";
|
|
282
|
+
/** Manifest definition for voidTransaction. */
|
|
283
|
+
declare const VoidTransactionDefinition: MutationDefinition;
|
|
284
|
+
/** Manifest metadata for voidTransaction. */
|
|
285
|
+
declare const VoidTransactionMetadata: {
|
|
286
|
+
readonly kind: "mutation";
|
|
287
|
+
readonly idempotency: "required";
|
|
288
|
+
readonly authorization: "required";
|
|
289
|
+
};
|
|
290
|
+
/** Branch IDs for refundTransaction. */
|
|
291
|
+
declare const RefundTransactionBranch: {
|
|
292
|
+
readonly Refunded: "refunded";
|
|
293
|
+
readonly NotFound: "notFound";
|
|
294
|
+
readonly ProviderRejected: "providerRejected";
|
|
295
|
+
readonly Defect: "defect";
|
|
296
|
+
};
|
|
297
|
+
/** Braintree returned the requested result. */
|
|
298
|
+
declare const RefundTransactionBranchRefunded: "refunded";
|
|
299
|
+
/** The selected resource was not found. */
|
|
300
|
+
declare const RefundTransactionBranchNotFound: "notFound";
|
|
301
|
+
/** Braintree definitively rejected the request. */
|
|
302
|
+
declare const RefundTransactionBranchProviderRejected: "providerRejected";
|
|
303
|
+
/** Input or credentials are invalid. */
|
|
304
|
+
declare const RefundTransactionBranchDefect: "defect";
|
|
305
|
+
/** Manifest definition for refundTransaction. */
|
|
306
|
+
declare const RefundTransactionDefinition: MutationDefinition;
|
|
307
|
+
/** Manifest metadata for refundTransaction. */
|
|
308
|
+
declare const RefundTransactionMetadata: {
|
|
309
|
+
readonly kind: "mutation";
|
|
310
|
+
readonly idempotency: "required";
|
|
311
|
+
readonly authorization: "required";
|
|
312
|
+
};
|
|
313
|
+
/** Branch IDs for vaultPaymentMethod. */
|
|
314
|
+
declare const VaultPaymentMethodBranch: {
|
|
315
|
+
readonly Vaulted: "vaulted";
|
|
316
|
+
readonly NotFound: "notFound";
|
|
317
|
+
readonly ProviderRejected: "providerRejected";
|
|
318
|
+
readonly Defect: "defect";
|
|
319
|
+
readonly Uncertain: "uncertain";
|
|
320
|
+
};
|
|
321
|
+
/** A vaulted payment method was returned. */
|
|
322
|
+
declare const VaultPaymentMethodBranchVaulted: "vaulted";
|
|
323
|
+
/** The selected payment method was not found. */
|
|
324
|
+
declare const VaultPaymentMethodBranchNotFound: "notFound";
|
|
325
|
+
/** Braintree definitively rejected the mutation. */
|
|
326
|
+
declare const VaultPaymentMethodBranchProviderRejected: "providerRejected";
|
|
327
|
+
/** Input or credentials are invalid. */
|
|
328
|
+
declare const VaultPaymentMethodBranchDefect: "defect";
|
|
329
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
330
|
+
declare const VaultPaymentMethodBranchUncertain: "uncertain";
|
|
331
|
+
/** Manifest definition for vaultPaymentMethod. */
|
|
332
|
+
declare const VaultPaymentMethodDefinition: MutationDefinition;
|
|
333
|
+
/** Manifest metadata for vaultPaymentMethod. */
|
|
334
|
+
declare const VaultPaymentMethodMetadata: {
|
|
335
|
+
readonly kind: "mutation";
|
|
336
|
+
readonly idempotency: "required";
|
|
337
|
+
readonly authorization: "required";
|
|
338
|
+
};
|
|
339
|
+
/** Branch IDs for updateCreditCardCardholderName. */
|
|
340
|
+
declare const UpdateCreditCardCardholderNameBranch: {
|
|
341
|
+
readonly Updated: "updated";
|
|
342
|
+
readonly NotFound: "notFound";
|
|
343
|
+
readonly ProviderRejected: "providerRejected";
|
|
344
|
+
readonly Defect: "defect";
|
|
345
|
+
readonly Uncertain: "uncertain";
|
|
346
|
+
};
|
|
347
|
+
/** The cardholder name was updated. */
|
|
348
|
+
declare const UpdateCreditCardCardholderNameBranchUpdated: "updated";
|
|
349
|
+
/** The selected payment method was not found. */
|
|
350
|
+
declare const UpdateCreditCardCardholderNameBranchNotFound: "notFound";
|
|
351
|
+
/** Braintree definitively rejected the mutation. */
|
|
352
|
+
declare const UpdateCreditCardCardholderNameBranchProviderRejected: "providerRejected";
|
|
353
|
+
/** Input or credentials are invalid. */
|
|
354
|
+
declare const UpdateCreditCardCardholderNameBranchDefect: "defect";
|
|
355
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
356
|
+
declare const UpdateCreditCardCardholderNameBranchUncertain: "uncertain";
|
|
357
|
+
/** Manifest definition for updateCreditCardCardholderName. */
|
|
358
|
+
declare const UpdateCreditCardCardholderNameDefinition: MutationDefinition;
|
|
359
|
+
/** Manifest metadata for updateCreditCardCardholderName. */
|
|
360
|
+
declare const UpdateCreditCardCardholderNameMetadata: {
|
|
361
|
+
readonly kind: "mutation";
|
|
362
|
+
readonly idempotency: "required";
|
|
363
|
+
readonly authorization: "required";
|
|
364
|
+
};
|
|
365
|
+
/** Branch IDs for updateCreditCardExpirationDate. */
|
|
366
|
+
declare const UpdateCreditCardExpirationDateBranch: {
|
|
367
|
+
readonly Updated: "updated";
|
|
368
|
+
readonly NotFound: "notFound";
|
|
369
|
+
readonly ProviderRejected: "providerRejected";
|
|
370
|
+
readonly Defect: "defect";
|
|
371
|
+
readonly Uncertain: "uncertain";
|
|
372
|
+
};
|
|
373
|
+
/** The expiration date was updated. */
|
|
374
|
+
declare const UpdateCreditCardExpirationDateBranchUpdated: "updated";
|
|
375
|
+
/** The selected payment method was not found. */
|
|
376
|
+
declare const UpdateCreditCardExpirationDateBranchNotFound: "notFound";
|
|
377
|
+
/** Braintree definitively rejected the mutation. */
|
|
378
|
+
declare const UpdateCreditCardExpirationDateBranchProviderRejected: "providerRejected";
|
|
379
|
+
/** Input or credentials are invalid. */
|
|
380
|
+
declare const UpdateCreditCardExpirationDateBranchDefect: "defect";
|
|
381
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
382
|
+
declare const UpdateCreditCardExpirationDateBranchUncertain: "uncertain";
|
|
383
|
+
/** Manifest definition for updateCreditCardExpirationDate. */
|
|
384
|
+
declare const UpdateCreditCardExpirationDateDefinition: MutationDefinition;
|
|
385
|
+
/** Manifest metadata for updateCreditCardExpirationDate. */
|
|
386
|
+
declare const UpdateCreditCardExpirationDateMetadata: {
|
|
387
|
+
readonly kind: "mutation";
|
|
388
|
+
readonly idempotency: "required";
|
|
389
|
+
readonly authorization: "required";
|
|
390
|
+
};
|
|
391
|
+
/** Branch IDs for updateCreditCardBillingAddress. */
|
|
392
|
+
declare const UpdateCreditCardBillingAddressBranch: {
|
|
393
|
+
readonly Updated: "updated";
|
|
394
|
+
readonly NotFound: "notFound";
|
|
395
|
+
readonly ProviderRejected: "providerRejected";
|
|
396
|
+
readonly Defect: "defect";
|
|
397
|
+
readonly Uncertain: "uncertain";
|
|
398
|
+
};
|
|
399
|
+
/** The billing address was updated. */
|
|
400
|
+
declare const UpdateCreditCardBillingAddressBranchUpdated: "updated";
|
|
401
|
+
/** The selected payment method was not found. */
|
|
402
|
+
declare const UpdateCreditCardBillingAddressBranchNotFound: "notFound";
|
|
403
|
+
/** Braintree definitively rejected the mutation. */
|
|
404
|
+
declare const UpdateCreditCardBillingAddressBranchProviderRejected: "providerRejected";
|
|
405
|
+
/** Input or credentials are invalid. */
|
|
406
|
+
declare const UpdateCreditCardBillingAddressBranchDefect: "defect";
|
|
407
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
408
|
+
declare const UpdateCreditCardBillingAddressBranchUncertain: "uncertain";
|
|
409
|
+
/** Manifest definition for updateCreditCardBillingAddress. */
|
|
410
|
+
declare const UpdateCreditCardBillingAddressDefinition: MutationDefinition;
|
|
411
|
+
/** Manifest metadata for updateCreditCardBillingAddress. */
|
|
412
|
+
declare const UpdateCreditCardBillingAddressMetadata: {
|
|
413
|
+
readonly kind: "mutation";
|
|
414
|
+
readonly idempotency: "required";
|
|
415
|
+
readonly authorization: "required";
|
|
416
|
+
};
|
|
417
|
+
/** Branch IDs for deletePaymentMethodFromVault. */
|
|
418
|
+
declare const DeletePaymentMethodFromVaultBranch: {
|
|
419
|
+
readonly Deleted: "deleted";
|
|
420
|
+
readonly NotFound: "notFound";
|
|
421
|
+
readonly ProviderRejected: "providerRejected";
|
|
422
|
+
readonly InvalidResponse: "invalidResponse";
|
|
423
|
+
readonly Defect: "defect";
|
|
424
|
+
};
|
|
425
|
+
/** The vaulted payment method was deleted. */
|
|
426
|
+
declare const DeletePaymentMethodFromVaultBranchDeleted: "deleted";
|
|
427
|
+
/** The payment method was not found. */
|
|
428
|
+
declare const DeletePaymentMethodFromVaultBranchNotFound: "notFound";
|
|
429
|
+
/** Braintree definitively rejected deletion. */
|
|
430
|
+
declare const DeletePaymentMethodFromVaultBranchProviderRejected: "providerRejected";
|
|
431
|
+
/** Braintree returned malformed deletion JSON. */
|
|
432
|
+
declare const DeletePaymentMethodFromVaultBranchInvalidResponse: "invalidResponse";
|
|
433
|
+
/** Input or credentials are invalid. */
|
|
434
|
+
declare const DeletePaymentMethodFromVaultBranchDefect: "defect";
|
|
435
|
+
/** Manifest definition for deletePaymentMethodFromVault. */
|
|
436
|
+
declare const DeletePaymentMethodFromVaultDefinition: MutationDefinition;
|
|
437
|
+
/** Manifest metadata for deletePaymentMethodFromVault. */
|
|
438
|
+
declare const DeletePaymentMethodFromVaultMetadata: {
|
|
439
|
+
readonly kind: "mutation";
|
|
440
|
+
readonly idempotency: "required";
|
|
441
|
+
readonly authorization: "required";
|
|
442
|
+
};
|
|
443
|
+
/** Branch IDs for createCustomer. */
|
|
444
|
+
declare const CreateCustomerBranch: {
|
|
445
|
+
readonly Created: "created";
|
|
446
|
+
readonly ProviderRejected: "providerRejected";
|
|
447
|
+
readonly Defect: "defect";
|
|
448
|
+
readonly Uncertain: "uncertain";
|
|
449
|
+
};
|
|
450
|
+
/** Braintree created the customer. */
|
|
451
|
+
declare const CreateCustomerBranchCreated: "created";
|
|
452
|
+
/** Braintree definitively rejected creation. */
|
|
453
|
+
declare const CreateCustomerBranchProviderRejected: "providerRejected";
|
|
454
|
+
/** Input or credentials are invalid. */
|
|
455
|
+
declare const CreateCustomerBranchDefect: "defect";
|
|
456
|
+
/** The customer outcome cannot be confirmed after the send cap. */
|
|
457
|
+
declare const CreateCustomerBranchUncertain: "uncertain";
|
|
458
|
+
/** Manifest definition for createCustomer. */
|
|
459
|
+
declare const CreateCustomerDefinition: MutationDefinition;
|
|
460
|
+
/** Manifest metadata for createCustomer. */
|
|
461
|
+
declare const CreateCustomerMetadata: {
|
|
462
|
+
readonly kind: "mutation";
|
|
463
|
+
readonly idempotency: "required";
|
|
464
|
+
readonly authorization: "required";
|
|
465
|
+
};
|
|
466
|
+
/** Branch IDs for updateCustomer. */
|
|
467
|
+
declare const UpdateCustomerBranch: {
|
|
468
|
+
readonly Updated: "updated";
|
|
469
|
+
readonly NotFound: "notFound";
|
|
470
|
+
readonly ProviderRejected: "providerRejected";
|
|
471
|
+
readonly InvalidResponse: "invalidResponse";
|
|
472
|
+
readonly Defect: "defect";
|
|
473
|
+
};
|
|
474
|
+
/** Braintree updated the customer. */
|
|
475
|
+
declare const UpdateCustomerBranchUpdated: "updated";
|
|
476
|
+
/** The customer was not found. */
|
|
477
|
+
declare const UpdateCustomerBranchNotFound: "notFound";
|
|
478
|
+
/** Braintree definitively rejected the update. */
|
|
479
|
+
declare const UpdateCustomerBranchProviderRejected: "providerRejected";
|
|
480
|
+
/** Braintree returned malformed customer JSON. */
|
|
481
|
+
declare const UpdateCustomerBranchInvalidResponse: "invalidResponse";
|
|
482
|
+
/** Input or credentials are invalid. */
|
|
483
|
+
declare const UpdateCustomerBranchDefect: "defect";
|
|
484
|
+
/** Manifest definition for updateCustomer. */
|
|
485
|
+
declare const UpdateCustomerDefinition: MutationDefinition;
|
|
486
|
+
/** Manifest metadata for updateCustomer. */
|
|
487
|
+
declare const UpdateCustomerMetadata: {
|
|
488
|
+
readonly kind: "mutation";
|
|
489
|
+
readonly idempotency: "required";
|
|
490
|
+
readonly authorization: "required";
|
|
491
|
+
};
|
|
492
|
+
/** Branch IDs for deleteCustomer. */
|
|
493
|
+
declare const DeleteCustomerBranch: {
|
|
494
|
+
readonly Deleted: "deleted";
|
|
495
|
+
readonly NotFound: "notFound";
|
|
496
|
+
readonly ProviderRejected: "providerRejected";
|
|
497
|
+
readonly InvalidResponse: "invalidResponse";
|
|
498
|
+
readonly Defect: "defect";
|
|
499
|
+
};
|
|
500
|
+
/** Braintree deleted the customer. */
|
|
501
|
+
declare const DeleteCustomerBranchDeleted: "deleted";
|
|
502
|
+
/** The customer was not found. */
|
|
503
|
+
declare const DeleteCustomerBranchNotFound: "notFound";
|
|
504
|
+
/** Braintree rejected deletion because payment methods may remain. */
|
|
505
|
+
declare const DeleteCustomerBranchProviderRejected: "providerRejected";
|
|
506
|
+
/** Braintree returned malformed deletion JSON. */
|
|
507
|
+
declare const DeleteCustomerBranchInvalidResponse: "invalidResponse";
|
|
508
|
+
/** Input or credentials are invalid. */
|
|
509
|
+
declare const DeleteCustomerBranchDefect: "defect";
|
|
510
|
+
/** Manifest definition for deleteCustomer. */
|
|
511
|
+
declare const DeleteCustomerDefinition: MutationDefinition;
|
|
512
|
+
/** Manifest metadata for deleteCustomer. */
|
|
513
|
+
declare const DeleteCustomerMetadata: {
|
|
514
|
+
readonly kind: "mutation";
|
|
515
|
+
readonly idempotency: "required";
|
|
516
|
+
readonly authorization: "required";
|
|
517
|
+
};
|
|
518
|
+
/** Branch IDs for getCustomer. */
|
|
519
|
+
declare const GetCustomerBranch: {
|
|
520
|
+
readonly Found: "found";
|
|
521
|
+
readonly NotFound: "notFound";
|
|
522
|
+
readonly ProviderRejected: "providerRejected";
|
|
523
|
+
readonly InvalidResponse: "invalidResponse";
|
|
524
|
+
readonly Defect: "defect";
|
|
525
|
+
};
|
|
526
|
+
/** Braintree returned the customer. */
|
|
527
|
+
declare const GetCustomerBranchFound: "found";
|
|
528
|
+
/** The node is absent or has another type. */
|
|
529
|
+
declare const GetCustomerBranchNotFound: "notFound";
|
|
530
|
+
/** Braintree definitively rejected the query. */
|
|
531
|
+
declare const GetCustomerBranchProviderRejected: "providerRejected";
|
|
532
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
533
|
+
declare const GetCustomerBranchInvalidResponse: "invalidResponse";
|
|
534
|
+
/** Local input or credentials are invalid. */
|
|
535
|
+
declare const GetCustomerBranchDefect: "defect";
|
|
536
|
+
/** Manifest definition for getCustomer. */
|
|
537
|
+
declare const GetCustomerDefinition: QueryDefinition;
|
|
538
|
+
/** Manifest metadata for getCustomer. */
|
|
539
|
+
declare const GetCustomerMetadata: {
|
|
540
|
+
readonly kind: "query";
|
|
541
|
+
readonly idempotency: "none";
|
|
542
|
+
readonly authorization: "required";
|
|
543
|
+
};
|
|
544
|
+
/** Branch IDs for getPaymentMethod. */
|
|
545
|
+
declare const GetPaymentMethodBranch: {
|
|
546
|
+
readonly Found: "found";
|
|
547
|
+
readonly NotFound: "notFound";
|
|
548
|
+
readonly ProviderRejected: "providerRejected";
|
|
549
|
+
readonly InvalidResponse: "invalidResponse";
|
|
550
|
+
readonly Defect: "defect";
|
|
551
|
+
};
|
|
552
|
+
/** Braintree returned the payment method. */
|
|
553
|
+
declare const GetPaymentMethodBranchFound: "found";
|
|
554
|
+
/** The node is absent or has another type. */
|
|
555
|
+
declare const GetPaymentMethodBranchNotFound: "notFound";
|
|
556
|
+
/** Braintree definitively rejected the query. */
|
|
557
|
+
declare const GetPaymentMethodBranchProviderRejected: "providerRejected";
|
|
558
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
559
|
+
declare const GetPaymentMethodBranchInvalidResponse: "invalidResponse";
|
|
560
|
+
/** Local input or credentials are invalid. */
|
|
561
|
+
declare const GetPaymentMethodBranchDefect: "defect";
|
|
562
|
+
/** Manifest definition for getPaymentMethod. */
|
|
563
|
+
declare const GetPaymentMethodDefinition: QueryDefinition;
|
|
564
|
+
/** Manifest metadata for getPaymentMethod. */
|
|
565
|
+
declare const GetPaymentMethodMetadata: {
|
|
566
|
+
readonly kind: "query";
|
|
567
|
+
readonly idempotency: "none";
|
|
568
|
+
readonly authorization: "required";
|
|
569
|
+
};
|
|
570
|
+
/** Branch IDs for getRefund. */
|
|
571
|
+
declare const GetRefundBranch: {
|
|
572
|
+
readonly Found: "found";
|
|
573
|
+
readonly NotFound: "notFound";
|
|
574
|
+
readonly ProviderRejected: "providerRejected";
|
|
575
|
+
readonly InvalidResponse: "invalidResponse";
|
|
576
|
+
readonly Defect: "defect";
|
|
577
|
+
};
|
|
578
|
+
/** Braintree returned the refund. */
|
|
579
|
+
declare const GetRefundBranchFound: "found";
|
|
580
|
+
/** The node is absent or has another type. */
|
|
581
|
+
declare const GetRefundBranchNotFound: "notFound";
|
|
582
|
+
/** Braintree definitively rejected the query. */
|
|
583
|
+
declare const GetRefundBranchProviderRejected: "providerRejected";
|
|
584
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
585
|
+
declare const GetRefundBranchInvalidResponse: "invalidResponse";
|
|
586
|
+
/** Local input or credentials are invalid. */
|
|
587
|
+
declare const GetRefundBranchDefect: "defect";
|
|
588
|
+
/** Manifest definition for getRefund. */
|
|
589
|
+
declare const GetRefundDefinition: QueryDefinition;
|
|
590
|
+
/** Manifest metadata for getRefund. */
|
|
591
|
+
declare const GetRefundMetadata: {
|
|
592
|
+
readonly kind: "query";
|
|
593
|
+
readonly idempotency: "none";
|
|
594
|
+
readonly authorization: "required";
|
|
595
|
+
};
|
|
596
|
+
/** Branch IDs for getTransaction. */
|
|
597
|
+
declare const GetTransactionBranch: {
|
|
598
|
+
readonly Found: "found";
|
|
599
|
+
readonly NotFound: "notFound";
|
|
600
|
+
readonly ProviderRejected: "providerRejected";
|
|
601
|
+
readonly InvalidResponse: "invalidResponse";
|
|
602
|
+
readonly Defect: "defect";
|
|
603
|
+
};
|
|
604
|
+
/** Braintree returned the transaction. */
|
|
605
|
+
declare const GetTransactionBranchFound: "found";
|
|
606
|
+
/** The node is absent or is another object type. */
|
|
607
|
+
declare const GetTransactionBranchNotFound: "notFound";
|
|
608
|
+
/** Braintree returned a definite GraphQL or HTTP rejection. */
|
|
609
|
+
declare const GetTransactionBranchProviderRejected: "providerRejected";
|
|
610
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
611
|
+
declare const GetTransactionBranchInvalidResponse: "invalidResponse";
|
|
612
|
+
/** Local input or credentials are invalid. */
|
|
613
|
+
declare const GetTransactionBranchDefect: "defect";
|
|
614
|
+
/** Manifest definition for getTransaction. */
|
|
615
|
+
declare const GetTransactionDefinition: QueryDefinition;
|
|
616
|
+
/** Manifest metadata for getTransaction. */
|
|
617
|
+
declare const GetTransactionMetadata: {
|
|
618
|
+
readonly kind: "query";
|
|
619
|
+
readonly idempotency: "none";
|
|
620
|
+
readonly authorization: "required";
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
/** Configuration for the getDispute connector Step. */
|
|
624
|
+
interface GetDisputeStepConfig<StepInput, OperationInput = GetDisputeInput, OperationOutput = DisputeProfile> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
625
|
+
/** Named connection supplying this operation. */
|
|
626
|
+
connection: Connection<{
|
|
627
|
+
getDispute(): Query<OperationInput, OperationOutput>;
|
|
628
|
+
}>;
|
|
629
|
+
/** Name matching the bound connection. */
|
|
630
|
+
connectionName: string;
|
|
631
|
+
/** Braintree returned the requested result. */
|
|
632
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
633
|
+
/** The dispute or evidence was not found. */
|
|
634
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
635
|
+
/** Braintree definitively rejected the request. */
|
|
636
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
637
|
+
/** Braintree returned invalid dispute JSON. */
|
|
638
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
639
|
+
/** Input or credentials are invalid. */
|
|
640
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
641
|
+
}
|
|
642
|
+
/** Build the getDispute Step from a named connection. */
|
|
643
|
+
declare function newGetDisputeStep<StepInput, OperationInput = GetDisputeInput, OperationOutput = DisputeProfile>(configuration: GetDisputeStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
644
|
+
/** Configuration for the searchDisputes connector Step. */
|
|
645
|
+
interface SearchDisputesStepConfig<StepInput, OperationInput = SearchDisputesInput, OperationOutput = DisputesPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
646
|
+
/** Named connection supplying this operation. */
|
|
647
|
+
connection: Connection<{
|
|
648
|
+
searchDisputes(): Query<OperationInput, OperationOutput>;
|
|
649
|
+
}>;
|
|
650
|
+
/** Name matching the bound connection. */
|
|
651
|
+
connectionName: string;
|
|
652
|
+
/** Braintree returned the requested result. */
|
|
653
|
+
searched: StepTarget<QueryResult<OperationOutput>>;
|
|
654
|
+
/** The dispute or evidence was not found. */
|
|
655
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
656
|
+
/** Braintree definitively rejected the request. */
|
|
657
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
658
|
+
/** Braintree returned invalid dispute JSON. */
|
|
659
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
660
|
+
/** Input or credentials are invalid. */
|
|
661
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
662
|
+
}
|
|
663
|
+
/** Build the searchDisputes Step from a named connection. */
|
|
664
|
+
declare function newSearchDisputesStep<StepInput, OperationInput = SearchDisputesInput, OperationOutput = DisputesPage>(configuration: SearchDisputesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
665
|
+
/** Configuration for the acceptDispute connector Step. */
|
|
666
|
+
interface AcceptDisputeStepConfig<StepInput, OperationInput = GetDisputeInput, OperationOutput = DisputeProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
667
|
+
/** Named connection supplying this operation. */
|
|
668
|
+
connection: Connection<{
|
|
669
|
+
acceptDispute(): Mutation<OperationInput, OperationOutput>;
|
|
670
|
+
}>;
|
|
671
|
+
/** Name matching the bound connection. */
|
|
672
|
+
connectionName: string;
|
|
673
|
+
/** Braintree returned the requested result. */
|
|
674
|
+
accepted: StepTarget<MutationResult<OperationOutput>>;
|
|
675
|
+
/** The dispute or evidence was not found. */
|
|
676
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
677
|
+
/** Braintree definitively rejected the request. */
|
|
678
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
679
|
+
/** Input or credentials are invalid. */
|
|
680
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
681
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
682
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
683
|
+
}
|
|
684
|
+
/** Build the acceptDispute Step from a named connection. */
|
|
685
|
+
declare function newAcceptDisputeStep<StepInput, OperationInput = GetDisputeInput, OperationOutput = DisputeProfile>(configuration: AcceptDisputeStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
686
|
+
/** Configuration for the createDisputeTextEvidence connector Step. */
|
|
687
|
+
interface CreateDisputeTextEvidenceStepConfig<StepInput, OperationInput = CreateDisputeTextEvidenceInput, OperationOutput = DisputeTextEvidenceProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
688
|
+
/** Named connection supplying this operation. */
|
|
689
|
+
connection: Connection<{
|
|
690
|
+
createDisputeTextEvidence(): Mutation<OperationInput, OperationOutput>;
|
|
691
|
+
}>;
|
|
692
|
+
/** Name matching the bound connection. */
|
|
693
|
+
connectionName: string;
|
|
694
|
+
/** Braintree returned the requested result. */
|
|
695
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
696
|
+
/** The dispute or evidence was not found. */
|
|
697
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
698
|
+
/** Braintree definitively rejected the request. */
|
|
699
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
700
|
+
/** Input or credentials are invalid. */
|
|
701
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
702
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
703
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
704
|
+
}
|
|
705
|
+
/** Build the createDisputeTextEvidence Step from a named connection. */
|
|
706
|
+
declare function newCreateDisputeTextEvidenceStep<StepInput, OperationInput = CreateDisputeTextEvidenceInput, OperationOutput = DisputeTextEvidenceProfile>(configuration: CreateDisputeTextEvidenceStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
707
|
+
/** Configuration for the createDisputeFileEvidence connector Step. */
|
|
708
|
+
interface CreateDisputeFileEvidenceStepConfig<StepInput, OperationInput = CreateDisputeFileEvidenceInput, OperationOutput = DisputeEvidenceProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
709
|
+
/** Named connection supplying this operation. */
|
|
710
|
+
connection: Connection<{
|
|
711
|
+
createDisputeFileEvidence(): Mutation<OperationInput, OperationOutput>;
|
|
712
|
+
}>;
|
|
713
|
+
/** Name matching the bound connection. */
|
|
714
|
+
connectionName: string;
|
|
715
|
+
/** Braintree returned the created evidence. */
|
|
716
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
717
|
+
/** The dispute was not found. */
|
|
718
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
719
|
+
/** Braintree definitively rejected the file. */
|
|
720
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
721
|
+
/** Invalid file or input or credentials. */
|
|
722
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
723
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
724
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
725
|
+
}
|
|
726
|
+
/** Build the createDisputeFileEvidence Step from a named connection. */
|
|
727
|
+
declare function newCreateDisputeFileEvidenceStep<StepInput, OperationInput = CreateDisputeFileEvidenceInput, OperationOutput = DisputeEvidenceProfile>(configuration: CreateDisputeFileEvidenceStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
728
|
+
/** Configuration for the deleteDisputeEvidence connector Step. */
|
|
729
|
+
interface DeleteDisputeEvidenceStepConfig<StepInput, OperationInput = DeleteDisputeEvidenceInput, OperationOutput = DisputeEvidenceDeleteResult> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
730
|
+
/** Named connection supplying this operation. */
|
|
731
|
+
connection: Connection<{
|
|
732
|
+
deleteDisputeEvidence(): Mutation<OperationInput, OperationOutput>;
|
|
733
|
+
}>;
|
|
734
|
+
/** Name matching the bound connection. */
|
|
735
|
+
connectionName: string;
|
|
736
|
+
/** Braintree returned the requested result. */
|
|
737
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
738
|
+
/** The dispute or evidence was not found. */
|
|
739
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
740
|
+
/** Braintree definitively rejected the request. */
|
|
741
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
742
|
+
/** Braintree returned invalid dispute JSON. */
|
|
743
|
+
invalidResponse?: StepTarget<MutationResult<OperationOutput>>;
|
|
744
|
+
/** Input or credentials are invalid. */
|
|
745
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
746
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
747
|
+
maxSends?: number;
|
|
748
|
+
}
|
|
749
|
+
/** Build the deleteDisputeEvidence Step from a named connection. */
|
|
750
|
+
declare function newDeleteDisputeEvidenceStep<StepInput, OperationInput = DeleteDisputeEvidenceInput, OperationOutput = DisputeEvidenceDeleteResult>(configuration: DeleteDisputeEvidenceStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
751
|
+
/** Configuration for the finalizeDispute connector Step. */
|
|
752
|
+
interface FinalizeDisputeStepConfig<StepInput, OperationInput = GetDisputeInput, OperationOutput = DisputeProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
753
|
+
/** Named connection supplying this operation. */
|
|
754
|
+
connection: Connection<{
|
|
755
|
+
finalizeDispute(): Mutation<OperationInput, OperationOutput>;
|
|
756
|
+
}>;
|
|
757
|
+
/** Name matching the bound connection. */
|
|
758
|
+
connectionName: string;
|
|
759
|
+
/** Braintree returned the requested result. */
|
|
760
|
+
finalized: StepTarget<MutationResult<OperationOutput>>;
|
|
761
|
+
/** The dispute or evidence was not found. */
|
|
762
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
763
|
+
/** Braintree definitively rejected the request. */
|
|
764
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
765
|
+
/** Input or credentials are invalid. */
|
|
766
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
767
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
768
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
769
|
+
}
|
|
770
|
+
/** Build the finalizeDispute Step from a named connection. */
|
|
771
|
+
declare function newFinalizeDisputeStep<StepInput, OperationInput = GetDisputeInput, OperationOutput = DisputeProfile>(configuration: FinalizeDisputeStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
772
|
+
/** Configuration for the searchTransactions connector Step. */
|
|
773
|
+
interface SearchTransactionsStepConfig<StepInput, OperationInput = SearchTransactionsInput, OperationOutput = TransactionsPage> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
774
|
+
/** Named connection supplying this operation. */
|
|
775
|
+
connection: Connection<{
|
|
776
|
+
searchTransactions(): Query<OperationInput, OperationOutput>;
|
|
777
|
+
}>;
|
|
778
|
+
/** Name matching the bound connection. */
|
|
779
|
+
connectionName: string;
|
|
780
|
+
/** Braintree returned the requested result. */
|
|
781
|
+
searched: StepTarget<QueryResult<OperationOutput>>;
|
|
782
|
+
/** The selected resource was not found. */
|
|
783
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
784
|
+
/** Braintree definitively rejected the request. */
|
|
785
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
786
|
+
/** Braintree returned invalid search JSON. */
|
|
787
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
788
|
+
/** Input or credentials are invalid. */
|
|
789
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
790
|
+
}
|
|
791
|
+
/** Build the searchTransactions Step from a named connection. */
|
|
792
|
+
declare function newSearchTransactionsStep<StepInput, OperationInput = SearchTransactionsInput, OperationOutput = TransactionsPage>(configuration: SearchTransactionsStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
793
|
+
/** Configuration for the chargePaymentMethod connector Step. */
|
|
794
|
+
interface ChargePaymentMethodStepConfig<StepInput, OperationInput = ChargePaymentMethodInput, OperationOutput = TransactionProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
795
|
+
/** Named connection supplying this operation. */
|
|
796
|
+
connection: Connection<{
|
|
797
|
+
chargePaymentMethod(): Mutation<OperationInput, OperationOutput>;
|
|
798
|
+
}>;
|
|
799
|
+
/** Name matching the bound connection. */
|
|
800
|
+
connectionName: string;
|
|
801
|
+
/** Braintree returned the requested result. */
|
|
802
|
+
charged: StepTarget<MutationResult<OperationOutput>>;
|
|
803
|
+
/** The selected resource was not found. */
|
|
804
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
805
|
+
/** Braintree definitively rejected the request. */
|
|
806
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
807
|
+
/** Input or credentials are invalid. */
|
|
808
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
809
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
810
|
+
maxSends?: number;
|
|
811
|
+
}
|
|
812
|
+
/** Build the chargePaymentMethod Step from a named connection. */
|
|
813
|
+
declare function newChargePaymentMethodStep<StepInput, OperationInput = ChargePaymentMethodInput, OperationOutput = TransactionProfile>(configuration: ChargePaymentMethodStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
814
|
+
/** Configuration for the captureTransaction connector Step. */
|
|
815
|
+
interface CaptureTransactionStepConfig<StepInput, OperationInput = CaptureTransactionInput, OperationOutput = TransactionProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
816
|
+
/** Named connection supplying this operation. */
|
|
817
|
+
connection: Connection<{
|
|
818
|
+
captureTransaction(): Mutation<OperationInput, OperationOutput>;
|
|
819
|
+
}>;
|
|
820
|
+
/** Name matching the bound connection. */
|
|
821
|
+
connectionName: string;
|
|
822
|
+
/** Braintree returned the requested result. */
|
|
823
|
+
captured: StepTarget<MutationResult<OperationOutput>>;
|
|
824
|
+
/** The selected resource was not found. */
|
|
825
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
826
|
+
/** Braintree definitively rejected the request. */
|
|
827
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
828
|
+
/** Input or credentials are invalid. */
|
|
829
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
830
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
831
|
+
maxSends?: number;
|
|
832
|
+
}
|
|
833
|
+
/** Build the captureTransaction Step from a named connection. */
|
|
834
|
+
declare function newCaptureTransactionStep<StepInput, OperationInput = CaptureTransactionInput, OperationOutput = TransactionProfile>(configuration: CaptureTransactionStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
835
|
+
/** Configuration for the voidTransaction connector Step. */
|
|
836
|
+
interface VoidTransactionStepConfig<StepInput, OperationInput = GetTransactionInput, OperationOutput = TransactionProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
837
|
+
/** Named connection supplying this operation. */
|
|
838
|
+
connection: Connection<{
|
|
839
|
+
voidTransaction(): Mutation<OperationInput, OperationOutput>;
|
|
840
|
+
}>;
|
|
841
|
+
/** Name matching the bound connection. */
|
|
842
|
+
connectionName: string;
|
|
843
|
+
/** Braintree returned the requested result. */
|
|
844
|
+
voided: StepTarget<MutationResult<OperationOutput>>;
|
|
845
|
+
/** The selected resource was not found. */
|
|
846
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
847
|
+
/** Braintree definitively rejected the request. */
|
|
848
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
849
|
+
/** Input or credentials are invalid. */
|
|
850
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
851
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
852
|
+
maxSends?: number;
|
|
853
|
+
}
|
|
854
|
+
/** Build the voidTransaction Step from a named connection. */
|
|
855
|
+
declare function newVoidTransactionStep<StepInput, OperationInput = GetTransactionInput, OperationOutput = TransactionProfile>(configuration: VoidTransactionStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
856
|
+
/** Configuration for the refundTransaction connector Step. */
|
|
857
|
+
interface RefundTransactionStepConfig<StepInput, OperationInput = RefundTransactionInput, OperationOutput = RefundProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
858
|
+
/** Named connection supplying this operation. */
|
|
859
|
+
connection: Connection<{
|
|
860
|
+
refundTransaction(): Mutation<OperationInput, OperationOutput>;
|
|
861
|
+
}>;
|
|
862
|
+
/** Name matching the bound connection. */
|
|
863
|
+
connectionName: string;
|
|
864
|
+
/** Braintree returned the requested result. */
|
|
865
|
+
refunded: StepTarget<MutationResult<OperationOutput>>;
|
|
866
|
+
/** The selected resource was not found. */
|
|
867
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
868
|
+
/** Braintree definitively rejected the request. */
|
|
869
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
870
|
+
/** Input or credentials are invalid. */
|
|
871
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
872
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
873
|
+
maxSends?: number;
|
|
874
|
+
}
|
|
875
|
+
/** Build the refundTransaction Step from a named connection. */
|
|
876
|
+
declare function newRefundTransactionStep<StepInput, OperationInput = RefundTransactionInput, OperationOutput = RefundProfile>(configuration: RefundTransactionStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
877
|
+
/** Configuration for the vaultPaymentMethod connector Step. */
|
|
878
|
+
interface VaultPaymentMethodStepConfig<StepInput, OperationInput = VaultPaymentMethodInput, OperationOutput = PaymentMethodProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
879
|
+
/** Named connection supplying this operation. */
|
|
880
|
+
connection: Connection<{
|
|
881
|
+
vaultPaymentMethod(): Mutation<OperationInput, OperationOutput>;
|
|
882
|
+
}>;
|
|
883
|
+
/** Name matching the bound connection. */
|
|
884
|
+
connectionName: string;
|
|
885
|
+
/** A vaulted payment method was returned. */
|
|
886
|
+
vaulted: StepTarget<MutationResult<OperationOutput>>;
|
|
887
|
+
/** The selected payment method was not found. */
|
|
888
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
889
|
+
/** Braintree definitively rejected the mutation. */
|
|
890
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
891
|
+
/** Input or credentials are invalid. */
|
|
892
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
893
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
894
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
895
|
+
}
|
|
896
|
+
/** Build the vaultPaymentMethod Step from a named connection. */
|
|
897
|
+
declare function newVaultPaymentMethodStep<StepInput, OperationInput = VaultPaymentMethodInput, OperationOutput = PaymentMethodProfile>(configuration: VaultPaymentMethodStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
898
|
+
/** Configuration for the updateCreditCardCardholderName connector Step. */
|
|
899
|
+
interface UpdateCreditCardCardholderNameStepConfig<StepInput, OperationInput = UpdateCreditCardCardholderNameInput, OperationOutput = PaymentMethodProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
900
|
+
/** Named connection supplying this operation. */
|
|
901
|
+
connection: Connection<{
|
|
902
|
+
updateCreditCardCardholderName(): Mutation<OperationInput, OperationOutput>;
|
|
903
|
+
}>;
|
|
904
|
+
/** Name matching the bound connection. */
|
|
905
|
+
connectionName: string;
|
|
906
|
+
/** The cardholder name was updated. */
|
|
907
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
908
|
+
/** The selected payment method was not found. */
|
|
909
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
910
|
+
/** Braintree definitively rejected the mutation. */
|
|
911
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
912
|
+
/** Input or credentials are invalid. */
|
|
913
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
914
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
915
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
916
|
+
}
|
|
917
|
+
/** Build the updateCreditCardCardholderName Step from a named connection. */
|
|
918
|
+
declare function newUpdateCreditCardCardholderNameStep<StepInput, OperationInput = UpdateCreditCardCardholderNameInput, OperationOutput = PaymentMethodProfile>(configuration: UpdateCreditCardCardholderNameStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
919
|
+
/** Configuration for the updateCreditCardExpirationDate connector Step. */
|
|
920
|
+
interface UpdateCreditCardExpirationDateStepConfig<StepInput, OperationInput = UpdateCreditCardExpirationDateInput, OperationOutput = PaymentMethodProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
921
|
+
/** Named connection supplying this operation. */
|
|
922
|
+
connection: Connection<{
|
|
923
|
+
updateCreditCardExpirationDate(): Mutation<OperationInput, OperationOutput>;
|
|
924
|
+
}>;
|
|
925
|
+
/** Name matching the bound connection. */
|
|
926
|
+
connectionName: string;
|
|
927
|
+
/** The expiration date was updated. */
|
|
928
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
929
|
+
/** The selected payment method was not found. */
|
|
930
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
931
|
+
/** Braintree definitively rejected the mutation. */
|
|
932
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
933
|
+
/** Input or credentials are invalid. */
|
|
934
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
935
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
936
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
937
|
+
}
|
|
938
|
+
/** Build the updateCreditCardExpirationDate Step from a named connection. */
|
|
939
|
+
declare function newUpdateCreditCardExpirationDateStep<StepInput, OperationInput = UpdateCreditCardExpirationDateInput, OperationOutput = PaymentMethodProfile>(configuration: UpdateCreditCardExpirationDateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
940
|
+
/** Configuration for the updateCreditCardBillingAddress connector Step. */
|
|
941
|
+
interface UpdateCreditCardBillingAddressStepConfig<StepInput, OperationInput = UpdateCreditCardBillingAddressInput, OperationOutput = PaymentMethodProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
942
|
+
/** Named connection supplying this operation. */
|
|
943
|
+
connection: Connection<{
|
|
944
|
+
updateCreditCardBillingAddress(): Mutation<OperationInput, OperationOutput>;
|
|
945
|
+
}>;
|
|
946
|
+
/** Name matching the bound connection. */
|
|
947
|
+
connectionName: string;
|
|
948
|
+
/** The billing address was updated. */
|
|
949
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
950
|
+
/** The selected payment method was not found. */
|
|
951
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
952
|
+
/** Braintree definitively rejected the mutation. */
|
|
953
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
954
|
+
/** Input or credentials are invalid. */
|
|
955
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
956
|
+
/** The outcome cannot be confirmed after the send cap. */
|
|
957
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
958
|
+
}
|
|
959
|
+
/** Build the updateCreditCardBillingAddress Step from a named connection. */
|
|
960
|
+
declare function newUpdateCreditCardBillingAddressStep<StepInput, OperationInput = UpdateCreditCardBillingAddressInput, OperationOutput = PaymentMethodProfile>(configuration: UpdateCreditCardBillingAddressStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
961
|
+
/** Configuration for the deletePaymentMethodFromVault connector Step. */
|
|
962
|
+
interface DeletePaymentMethodFromVaultStepConfig<StepInput, OperationInput = GetPaymentMethodInput, OperationOutput = PaymentMethodDeleteResult> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
963
|
+
/** Named connection supplying this operation. */
|
|
964
|
+
connection: Connection<{
|
|
965
|
+
deletePaymentMethodFromVault(): Mutation<OperationInput, OperationOutput>;
|
|
966
|
+
}>;
|
|
967
|
+
/** Name matching the bound connection. */
|
|
968
|
+
connectionName: string;
|
|
969
|
+
/** The vaulted payment method was deleted. */
|
|
970
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
971
|
+
/** The payment method was not found. */
|
|
972
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
973
|
+
/** Braintree definitively rejected deletion. */
|
|
974
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
975
|
+
/** Braintree returned malformed deletion JSON. */
|
|
976
|
+
invalidResponse?: StepTarget<MutationResult<OperationOutput>>;
|
|
977
|
+
/** Input or credentials are invalid. */
|
|
978
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
979
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
980
|
+
maxSends?: number;
|
|
981
|
+
}
|
|
982
|
+
/** Build the deletePaymentMethodFromVault Step from a named connection. */
|
|
983
|
+
declare function newDeletePaymentMethodFromVaultStep<StepInput, OperationInput = GetPaymentMethodInput, OperationOutput = PaymentMethodDeleteResult>(configuration: DeletePaymentMethodFromVaultStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
984
|
+
/** Configuration for the createCustomer connector Step. */
|
|
985
|
+
interface CreateCustomerStepConfig<StepInput, OperationInput = CreateCustomerInput, OperationOutput = CustomerProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
986
|
+
/** Named connection supplying this operation. */
|
|
987
|
+
connection: Connection<{
|
|
988
|
+
createCustomer(): Mutation<OperationInput, OperationOutput>;
|
|
989
|
+
}>;
|
|
990
|
+
/** Name matching the bound connection. */
|
|
991
|
+
connectionName: string;
|
|
992
|
+
/** Braintree created the customer. */
|
|
993
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
994
|
+
/** Braintree definitively rejected creation. */
|
|
995
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
996
|
+
/** Input or credentials are invalid. */
|
|
997
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
998
|
+
/** The customer outcome cannot be confirmed after the send cap. */
|
|
999
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
1000
|
+
}
|
|
1001
|
+
/** Build the createCustomer Step from a named connection. */
|
|
1002
|
+
declare function newCreateCustomerStep<StepInput, OperationInput = CreateCustomerInput, OperationOutput = CustomerProfile>(configuration: CreateCustomerStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1003
|
+
/** Configuration for the updateCustomer connector Step. */
|
|
1004
|
+
interface UpdateCustomerStepConfig<StepInput, OperationInput = UpdateCustomerInput, OperationOutput = CustomerProfile> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1005
|
+
/** Named connection supplying this operation. */
|
|
1006
|
+
connection: Connection<{
|
|
1007
|
+
updateCustomer(): Mutation<OperationInput, OperationOutput>;
|
|
1008
|
+
}>;
|
|
1009
|
+
/** Name matching the bound connection. */
|
|
1010
|
+
connectionName: string;
|
|
1011
|
+
/** Braintree updated the customer. */
|
|
1012
|
+
updated: StepTarget<MutationResult<OperationOutput>>;
|
|
1013
|
+
/** The customer was not found. */
|
|
1014
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1015
|
+
/** Braintree definitively rejected the update. */
|
|
1016
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1017
|
+
/** Braintree returned malformed customer JSON. */
|
|
1018
|
+
invalidResponse?: StepTarget<MutationResult<OperationOutput>>;
|
|
1019
|
+
/** Input or credentials are invalid. */
|
|
1020
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1021
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1022
|
+
maxSends?: number;
|
|
1023
|
+
}
|
|
1024
|
+
/** Build the updateCustomer Step from a named connection. */
|
|
1025
|
+
declare function newUpdateCustomerStep<StepInput, OperationInput = UpdateCustomerInput, OperationOutput = CustomerProfile>(configuration: UpdateCustomerStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1026
|
+
/** Configuration for the deleteCustomer connector Step. */
|
|
1027
|
+
interface DeleteCustomerStepConfig<StepInput, OperationInput = GetCustomerInput, OperationOutput = CustomerDeleteResult> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1028
|
+
/** Named connection supplying this operation. */
|
|
1029
|
+
connection: Connection<{
|
|
1030
|
+
deleteCustomer(): Mutation<OperationInput, OperationOutput>;
|
|
1031
|
+
}>;
|
|
1032
|
+
/** Name matching the bound connection. */
|
|
1033
|
+
connectionName: string;
|
|
1034
|
+
/** Braintree deleted the customer. */
|
|
1035
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
1036
|
+
/** The customer was not found. */
|
|
1037
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
1038
|
+
/** Braintree rejected deletion because payment methods may remain. */
|
|
1039
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
1040
|
+
/** Braintree returned malformed deletion JSON. */
|
|
1041
|
+
invalidResponse?: StepTarget<MutationResult<OperationOutput>>;
|
|
1042
|
+
/** Input or credentials are invalid. */
|
|
1043
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
1044
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
1045
|
+
maxSends?: number;
|
|
1046
|
+
}
|
|
1047
|
+
/** Build the deleteCustomer Step from a named connection. */
|
|
1048
|
+
declare function newDeleteCustomerStep<StepInput, OperationInput = GetCustomerInput, OperationOutput = CustomerDeleteResult>(configuration: DeleteCustomerStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
1049
|
+
/** Configuration for the getCustomer connector Step. */
|
|
1050
|
+
interface GetCustomerStepConfig<StepInput, OperationInput = GetCustomerInput, OperationOutput = CustomerProfile> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1051
|
+
/** Named connection supplying this operation. */
|
|
1052
|
+
connection: Connection<{
|
|
1053
|
+
getCustomer(): Query<OperationInput, OperationOutput>;
|
|
1054
|
+
}>;
|
|
1055
|
+
/** Name matching the bound connection. */
|
|
1056
|
+
connectionName: string;
|
|
1057
|
+
/** Braintree returned the customer. */
|
|
1058
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1059
|
+
/** The node is absent or has another type. */
|
|
1060
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1061
|
+
/** Braintree definitively rejected the query. */
|
|
1062
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1063
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
1064
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1065
|
+
/** Local input or credentials are invalid. */
|
|
1066
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1067
|
+
}
|
|
1068
|
+
/** Build the getCustomer Step from a named connection. */
|
|
1069
|
+
declare function newGetCustomerStep<StepInput, OperationInput = GetCustomerInput, OperationOutput = CustomerProfile>(configuration: GetCustomerStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1070
|
+
/** Configuration for the getPaymentMethod connector Step. */
|
|
1071
|
+
interface GetPaymentMethodStepConfig<StepInput, OperationInput = GetPaymentMethodInput, OperationOutput = PaymentMethodProfile> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1072
|
+
/** Named connection supplying this operation. */
|
|
1073
|
+
connection: Connection<{
|
|
1074
|
+
getPaymentMethod(): Query<OperationInput, OperationOutput>;
|
|
1075
|
+
}>;
|
|
1076
|
+
/** Name matching the bound connection. */
|
|
1077
|
+
connectionName: string;
|
|
1078
|
+
/** Braintree returned the payment method. */
|
|
1079
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1080
|
+
/** The node is absent or has another type. */
|
|
1081
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1082
|
+
/** Braintree definitively rejected the query. */
|
|
1083
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1084
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
1085
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1086
|
+
/** Local input or credentials are invalid. */
|
|
1087
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1088
|
+
}
|
|
1089
|
+
/** Build the getPaymentMethod Step from a named connection. */
|
|
1090
|
+
declare function newGetPaymentMethodStep<StepInput, OperationInput = GetPaymentMethodInput, OperationOutput = PaymentMethodProfile>(configuration: GetPaymentMethodStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1091
|
+
/** Configuration for the getRefund connector Step. */
|
|
1092
|
+
interface GetRefundStepConfig<StepInput, OperationInput = GetRefundInput, OperationOutput = RefundProfile> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1093
|
+
/** Named connection supplying this operation. */
|
|
1094
|
+
connection: Connection<{
|
|
1095
|
+
getRefund(): Query<OperationInput, OperationOutput>;
|
|
1096
|
+
}>;
|
|
1097
|
+
/** Name matching the bound connection. */
|
|
1098
|
+
connectionName: string;
|
|
1099
|
+
/** Braintree returned the refund. */
|
|
1100
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1101
|
+
/** The node is absent or has another type. */
|
|
1102
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1103
|
+
/** Braintree definitively rejected the query. */
|
|
1104
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1105
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
1106
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1107
|
+
/** Local input or credentials are invalid. */
|
|
1108
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1109
|
+
}
|
|
1110
|
+
/** Build the getRefund Step from a named connection. */
|
|
1111
|
+
declare function newGetRefundStep<StepInput, OperationInput = GetRefundInput, OperationOutput = RefundProfile>(configuration: GetRefundStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1112
|
+
/** Configuration for the getTransaction connector Step. */
|
|
1113
|
+
interface GetTransactionStepConfig<StepInput, OperationInput = GetTransactionInput, OperationOutput = TransactionProfile> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
1114
|
+
/** Named connection supplying this operation. */
|
|
1115
|
+
connection: Connection<{
|
|
1116
|
+
getTransaction(): Query<OperationInput, OperationOutput>;
|
|
1117
|
+
}>;
|
|
1118
|
+
/** Name matching the bound connection. */
|
|
1119
|
+
connectionName: string;
|
|
1120
|
+
/** Braintree returned the transaction. */
|
|
1121
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
1122
|
+
/** The node is absent or is another object type. */
|
|
1123
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
1124
|
+
/** Braintree returned a definite GraphQL or HTTP rejection. */
|
|
1125
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
1126
|
+
/** Braintree returned malformed or oversized JSON. */
|
|
1127
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
1128
|
+
/** Local input or credentials are invalid. */
|
|
1129
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
1130
|
+
}
|
|
1131
|
+
/** Build the getTransaction Step from a named connection. */
|
|
1132
|
+
declare function newGetTransactionStep<StepInput, OperationInput = GetTransactionInput, OperationOutput = TransactionProfile>(configuration: GetTransactionStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
1133
|
+
|
|
1134
|
+
/** Open one named Braintree connection from Dex project configuration. */
|
|
1135
|
+
declare function newProjectConnection(project: LoadedProject, connectionName: string): Connection<Operations>;
|
|
1136
|
+
|
|
1137
|
+
type Fields$2 = Record<string, unknown>;
|
|
1138
|
+
interface QuerySpec<Input, Output> {
|
|
1139
|
+
definition: QueryDefinition;
|
|
1140
|
+
query: string;
|
|
1141
|
+
empty: () => Output;
|
|
1142
|
+
success: 'found' | 'searched';
|
|
1143
|
+
invalid: string;
|
|
1144
|
+
variables: (input: Input) => Fields$2 | undefined;
|
|
1145
|
+
decode: (data: Fields$2, variables: Fields$2) => Output | null;
|
|
1146
|
+
}
|
|
1147
|
+
declare class GraphQLQuery<Input, Output> {
|
|
1148
|
+
private readonly client;
|
|
1149
|
+
private readonly spec;
|
|
1150
|
+
constructor(client: BraintreeClient, spec: QuerySpec<Input, Output>);
|
|
1151
|
+
/** Return the manifest-generated query contract. */
|
|
1152
|
+
definition(): QueryDefinition;
|
|
1153
|
+
/** Validate input, execute once, and classify the provider response. */
|
|
1154
|
+
invoke(call: Call, input: Input): Promise<QueryAttempt<Output>>;
|
|
1155
|
+
}
|
|
1156
|
+
interface NodeSpec<Input, Output> extends Omit<QuerySpec<Input, Output>, 'success' | 'variables' | 'decode'> {
|
|
1157
|
+
typename: string;
|
|
1158
|
+
id: (input: Input) => string;
|
|
1159
|
+
profile: (node: Fields$2) => Output;
|
|
1160
|
+
}
|
|
1161
|
+
declare class NodeQuery<Input, Output> extends GraphQLQuery<Input, Output> {
|
|
1162
|
+
constructor(client: BraintreeClient, spec: NodeSpec<Input, Output>);
|
|
1163
|
+
}
|
|
1164
|
+
/** Read one dispute and its evidence metadata. */
|
|
1165
|
+
declare class GetDisputeOperation extends NodeQuery<GetDisputeInput, DisputeProfile> {
|
|
1166
|
+
/** Bind the provider client. */
|
|
1167
|
+
constructor(client: BraintreeClient);
|
|
1168
|
+
}
|
|
1169
|
+
/** Read one customer's contact identity. */
|
|
1170
|
+
declare class GetCustomerOperation extends NodeQuery<GetCustomerInput, CustomerProfile> {
|
|
1171
|
+
/** Bind the provider client. */
|
|
1172
|
+
constructor(client: BraintreeClient);
|
|
1173
|
+
}
|
|
1174
|
+
/** Read one payment method's ID and usage. */
|
|
1175
|
+
declare class GetPaymentMethodOperation extends NodeQuery<GetPaymentMethodInput, PaymentMethodProfile> {
|
|
1176
|
+
/** Bind the provider client. */
|
|
1177
|
+
constructor(client: BraintreeClient);
|
|
1178
|
+
}
|
|
1179
|
+
/** Read one refund's ID and provider status. */
|
|
1180
|
+
declare class GetRefundOperation extends NodeQuery<GetRefundInput, RefundProfile> {
|
|
1181
|
+
/** Bind the provider client. */
|
|
1182
|
+
constructor(client: BraintreeClient);
|
|
1183
|
+
}
|
|
1184
|
+
/** Search disputes by exact GraphQL ID or status. */
|
|
1185
|
+
declare class SearchDisputesOperation extends GraphQLQuery<SearchDisputesInput, DisputesPage> {
|
|
1186
|
+
/** Bind the provider client. */
|
|
1187
|
+
constructor(client: BraintreeClient);
|
|
1188
|
+
}
|
|
1189
|
+
/** Search transactions by exact transaction ID or order ID. */
|
|
1190
|
+
declare class SearchTransactionsOperation extends GraphQLQuery<SearchTransactionsInput, TransactionsPage> {
|
|
1191
|
+
/** Bind the provider client. */
|
|
1192
|
+
constructor(client: BraintreeClient);
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
type Fields$1 = Record<string, unknown>;
|
|
1196
|
+
/** Shared Braintree mutation classification. @internal */
|
|
1197
|
+
declare abstract class BraintreeMutation<Input, Output> {
|
|
1198
|
+
protected readonly client: BraintreeClient;
|
|
1199
|
+
protected readonly contract: MutationDefinition;
|
|
1200
|
+
protected readonly query: string;
|
|
1201
|
+
protected readonly empty: () => Output;
|
|
1202
|
+
protected readonly success: string;
|
|
1203
|
+
private readonly isFinancial;
|
|
1204
|
+
private readonly hasNotFoundBranch;
|
|
1205
|
+
constructor(client: BraintreeClient, contract: MutationDefinition, query: string, empty: () => Output, success: string, isFinancial?: boolean, hasNotFoundBranch?: boolean);
|
|
1206
|
+
/** Return the manifest-generated mutation contract. */
|
|
1207
|
+
definition(): MutationDefinition;
|
|
1208
|
+
/** Return the stable call ID for provider correlation. */
|
|
1209
|
+
idempotencyKey(callID: string, input: Input): string;
|
|
1210
|
+
protected write(call: Call, values: Fields$1, decode: (payload: unknown) => Output): Promise<MutationAttempt<Output>>;
|
|
1211
|
+
protected complete(response: Exchange, hasPrior: boolean, decode: (payload: unknown) => Output): MutationAttempt<Output>;
|
|
1212
|
+
private wireFailure;
|
|
1213
|
+
private graphQLFailure;
|
|
1214
|
+
protected failure(kind: Failure['kind'], message: string): Failure;
|
|
1215
|
+
protected branch(branch: string, kind: Failure['kind'], message: string): MutationAttempt<Output>;
|
|
1216
|
+
protected invalid(message: string): MutationAttempt<Output>;
|
|
1217
|
+
protected retry(kind: Failure['kind'], message: string, delay?: number): MutationAttempt<Output>;
|
|
1218
|
+
private protocol;
|
|
1219
|
+
}
|
|
1220
|
+
declare abstract class TransactionMutation<Input> extends BraintreeMutation<Input, TransactionProfile> {
|
|
1221
|
+
constructor(client: BraintreeClient, contract: MutationDefinition, query: string, success: string);
|
|
1222
|
+
protected transaction(call: Call, values: Fields$1, expectedID?: string): Promise<MutationAttempt<TransactionProfile>>;
|
|
1223
|
+
}
|
|
1224
|
+
/** Charge one Braintree payment method with provider deduplication. */
|
|
1225
|
+
declare class ChargePaymentMethodOperation extends TransactionMutation<ChargePaymentMethodInput> {
|
|
1226
|
+
/** Bind the provider client. */
|
|
1227
|
+
constructor(client: BraintreeClient);
|
|
1228
|
+
/** Send an amount and optional merchant routing fields. */
|
|
1229
|
+
invoke(call: Call, input: ChargePaymentMethodInput): Promise<MutationAttempt<TransactionProfile>>;
|
|
1230
|
+
}
|
|
1231
|
+
/** Capture an existing authorization with provider deduplication. */
|
|
1232
|
+
declare class CaptureTransactionOperation extends TransactionMutation<CaptureTransactionInput> {
|
|
1233
|
+
/** Bind the provider client. */
|
|
1234
|
+
constructor(client: BraintreeClient);
|
|
1235
|
+
/** Capture the specified amount or the full authorization. */
|
|
1236
|
+
invoke(call: Call, input: CaptureTransactionInput): Promise<MutationAttempt<TransactionProfile>>;
|
|
1237
|
+
}
|
|
1238
|
+
/** Void a selected transaction with provider deduplication. */
|
|
1239
|
+
declare class VoidTransactionOperation extends TransactionMutation<GetTransactionInput> {
|
|
1240
|
+
/** Bind the provider client. */
|
|
1241
|
+
constructor(client: BraintreeClient);
|
|
1242
|
+
/** Void the selected transaction and confirm its identity. */
|
|
1243
|
+
invoke(call: Call, input: GetTransactionInput): Promise<MutationAttempt<TransactionProfile>>;
|
|
1244
|
+
}
|
|
1245
|
+
/** Refund a transaction using a stable provider request key. */
|
|
1246
|
+
declare class RefundTransactionOperation extends BraintreeMutation<RefundTransactionInput, RefundProfile> {
|
|
1247
|
+
/** Bind the provider client. */
|
|
1248
|
+
constructor(client: BraintreeClient);
|
|
1249
|
+
/** Refund the supplied amount or the full eligible transaction. */
|
|
1250
|
+
invoke(call: Call, input: RefundTransactionInput): Promise<MutationAttempt<RefundProfile>>;
|
|
1251
|
+
}
|
|
1252
|
+
/** Replace the selected customer's contact fields. */
|
|
1253
|
+
declare class UpdateCustomerOperation extends BraintreeMutation<UpdateCustomerInput, CustomerProfile> {
|
|
1254
|
+
/** Bind the provider client. */
|
|
1255
|
+
constructor(client: BraintreeClient);
|
|
1256
|
+
/** Write absolute contact fields, including explicit blanks. */
|
|
1257
|
+
invoke(call: Call, input: UpdateCustomerInput): Promise<MutationAttempt<CustomerProfile>>;
|
|
1258
|
+
}
|
|
1259
|
+
/** Delete a customer whose payment methods were removed. */
|
|
1260
|
+
declare class DeleteCustomerOperation extends BraintreeMutation<GetCustomerInput, CustomerDeleteResult> {
|
|
1261
|
+
/** Bind the provider client. */
|
|
1262
|
+
constructor(client: BraintreeClient);
|
|
1263
|
+
/** Delete the selected customer and confirm the payload. */
|
|
1264
|
+
invoke(call: Call, input: GetCustomerInput): Promise<MutationAttempt<CustomerDeleteResult>>;
|
|
1265
|
+
}
|
|
1266
|
+
/** Remove one payment method from the vault. */
|
|
1267
|
+
declare class DeletePaymentMethodFromVaultOperation extends BraintreeMutation<GetPaymentMethodInput, PaymentMethodDeleteResult> {
|
|
1268
|
+
/** Bind the provider client. */
|
|
1269
|
+
constructor(client: BraintreeClient);
|
|
1270
|
+
/** Delete the selected payment method and confirm the payload. */
|
|
1271
|
+
invoke(call: Call, input: GetPaymentMethodInput): Promise<MutationAttempt<PaymentMethodDeleteResult>>;
|
|
1272
|
+
}
|
|
1273
|
+
/** Remove one Braintree dispute evidence record. */
|
|
1274
|
+
declare class DeleteDisputeEvidenceOperation extends BraintreeMutation<DeleteDisputeEvidenceInput, DisputeEvidenceDeleteResult> {
|
|
1275
|
+
/** Bind the provider client. */
|
|
1276
|
+
constructor(client: BraintreeClient);
|
|
1277
|
+
/** Remove the evidence and return its identity. */
|
|
1278
|
+
invoke(call: Call, input: DeleteDisputeEvidenceInput): Promise<MutationAttempt<DisputeEvidenceDeleteResult>>;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
type Fields = Record<string, unknown>;
|
|
1282
|
+
interface DisputeRecovery<Output> {
|
|
1283
|
+
disputeID: string;
|
|
1284
|
+
confirm: (profile: DisputeProfile) => Output | undefined;
|
|
1285
|
+
}
|
|
1286
|
+
declare abstract class LimitedMutation<Input, Output> extends BraintreeMutation<Input, Output> {
|
|
1287
|
+
private readonly allowsBlindResend;
|
|
1288
|
+
constructor(client: BraintreeClient, contract: MutationDefinition, query: string, empty: () => Output, success: string, allowsBlindResend?: boolean, hasNotFoundBranch?: boolean);
|
|
1289
|
+
protected limited(call: Call, values: Fields, decode: (payload: unknown) => Output, recovery?: DisputeRecovery<Output>, fileInput?: CreateDisputeFileEvidenceInput): Promise<MutationAttempt<Output>>;
|
|
1290
|
+
private uncertain;
|
|
1291
|
+
}
|
|
1292
|
+
/** Create a customer under a durable send cap. */
|
|
1293
|
+
declare class CreateCustomerOperation extends LimitedMutation<CreateCustomerInput, CustomerProfile> {
|
|
1294
|
+
/** Bind the provider client. */
|
|
1295
|
+
constructor(client: BraintreeClient);
|
|
1296
|
+
/** Create one customer from the supplied contact fields. */
|
|
1297
|
+
invoke(call: Call, input: CreateCustomerInput): Promise<MutationAttempt<CustomerProfile>>;
|
|
1298
|
+
}
|
|
1299
|
+
declare abstract class PaymentMethodMutation<Input> extends LimitedMutation<Input, PaymentMethodProfile> {
|
|
1300
|
+
constructor(client: BraintreeClient, contract: MutationDefinition, query: string, success: string);
|
|
1301
|
+
protected paymentMethod(call: Call, values: Fields, expectedID?: string): Promise<MutationAttempt<PaymentMethodProfile>>;
|
|
1302
|
+
}
|
|
1303
|
+
/** Vault one payment method under a durable send cap. */
|
|
1304
|
+
declare class VaultPaymentMethodOperation extends PaymentMethodMutation<VaultPaymentMethodInput> {
|
|
1305
|
+
/** Bind the provider client. */
|
|
1306
|
+
constructor(client: BraintreeClient);
|
|
1307
|
+
/** Vault the supplied payment method for an optional customer. */
|
|
1308
|
+
invoke(call: Call, input: VaultPaymentMethodInput): Promise<MutationAttempt<PaymentMethodProfile>>;
|
|
1309
|
+
}
|
|
1310
|
+
/** Update the cardholder name of a vaulted payment method. */
|
|
1311
|
+
declare class UpdateCreditCardCardholderNameOperation extends PaymentMethodMutation<UpdateCreditCardCardholderNameInput> {
|
|
1312
|
+
/** Bind the provider client. */
|
|
1313
|
+
constructor(client: BraintreeClient);
|
|
1314
|
+
/** Set the name and confirm the payment method identity. */
|
|
1315
|
+
invoke(call: Call, input: UpdateCreditCardCardholderNameInput): Promise<MutationAttempt<PaymentMethodProfile>>;
|
|
1316
|
+
}
|
|
1317
|
+
/** Update expiration metadata for a vaulted payment method. */
|
|
1318
|
+
declare class UpdateCreditCardExpirationDateOperation extends PaymentMethodMutation<UpdateCreditCardExpirationDateInput> {
|
|
1319
|
+
/** Bind the provider client. */
|
|
1320
|
+
constructor(client: BraintreeClient);
|
|
1321
|
+
/** Set the expiration month and year. */
|
|
1322
|
+
invoke(call: Call, input: UpdateCreditCardExpirationDateInput): Promise<MutationAttempt<PaymentMethodProfile>>;
|
|
1323
|
+
}
|
|
1324
|
+
/** Update billing address metadata for a vaulted payment method. */
|
|
1325
|
+
declare class UpdateCreditCardBillingAddressOperation extends PaymentMethodMutation<UpdateCreditCardBillingAddressInput> {
|
|
1326
|
+
/** Bind the provider client. */
|
|
1327
|
+
constructor(client: BraintreeClient);
|
|
1328
|
+
/** Set the billing address fields and confirm the payment method identity. */
|
|
1329
|
+
invoke(call: Call, input: UpdateCreditCardBillingAddressInput): Promise<MutationAttempt<PaymentMethodProfile>>;
|
|
1330
|
+
}
|
|
1331
|
+
declare abstract class DisputeStatus extends LimitedMutation<GetDisputeInput, DisputeProfile> {
|
|
1332
|
+
private readonly desiredStatus;
|
|
1333
|
+
constructor(client: BraintreeClient, contract: MutationDefinition, query: string, success: string, desiredStatus: string);
|
|
1334
|
+
/** Apply the requested status and recover a previously confirmed result. */
|
|
1335
|
+
invoke(call: Call, input: GetDisputeInput): Promise<MutationAttempt<DisputeProfile>>;
|
|
1336
|
+
}
|
|
1337
|
+
/** Accept an open dispute. */
|
|
1338
|
+
declare class AcceptDisputeOperation extends DisputeStatus {
|
|
1339
|
+
/** Bind the provider client. */
|
|
1340
|
+
constructor(client: BraintreeClient);
|
|
1341
|
+
}
|
|
1342
|
+
/** Submit a dispute and its evidence. */
|
|
1343
|
+
declare class FinalizeDisputeOperation extends DisputeStatus {
|
|
1344
|
+
/** Bind the provider client. */
|
|
1345
|
+
constructor(client: BraintreeClient);
|
|
1346
|
+
}
|
|
1347
|
+
/** Attach a categorized text statement to an open dispute. */
|
|
1348
|
+
declare class CreateDisputeTextEvidenceOperation extends LimitedMutation<CreateDisputeTextEvidenceInput, DisputeTextEvidenceProfile> {
|
|
1349
|
+
/** Bind the provider client. */
|
|
1350
|
+
constructor(client: BraintreeClient);
|
|
1351
|
+
/** Attach the statement or confirm a matching statement from an earlier call. */
|
|
1352
|
+
invoke(call: Call, input: CreateDisputeTextEvidenceInput): Promise<MutationAttempt<DisputeTextEvidenceProfile>>;
|
|
1353
|
+
}
|
|
1354
|
+
/** Upload an immutable evidence file from the configured worker directory. */
|
|
1355
|
+
declare class CreateDisputeFileEvidenceOperation extends LimitedMutation<CreateDisputeFileEvidenceInput, DisputeEvidenceProfile> {
|
|
1356
|
+
/** Bind the provider client. */
|
|
1357
|
+
constructor(client: BraintreeClient);
|
|
1358
|
+
/** Verify the file and submit one multipart upload under the dispatch fence. */
|
|
1359
|
+
invoke(call: Call, input: CreateDisputeFileEvidenceInput): Promise<MutationAttempt<DisputeEvidenceProfile>>;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/** Injectable provider sender for tests and local applications. */
|
|
1363
|
+
interface BraintreeClientOptions {
|
|
1364
|
+
/** Provider sender; omitted uses the SDK transport. */ send?: (request: ProviderRequest) => Promise<ProviderResponse>;
|
|
1365
|
+
}
|
|
1366
|
+
/** Bounded GraphQL response metadata. @internal */
|
|
1367
|
+
interface Exchange {
|
|
1368
|
+
status: number;
|
|
1369
|
+
body: Uint8Array;
|
|
1370
|
+
retryAfterMs: number;
|
|
1371
|
+
error?: 'credential' | 'request' | 'tooLarge' | 'interrupted';
|
|
1372
|
+
}
|
|
1373
|
+
/** Authenticated Braintree GraphQL client. */
|
|
1374
|
+
declare class BraintreeClient {
|
|
1375
|
+
private readonly credentials;
|
|
1376
|
+
private readonly baseURL;
|
|
1377
|
+
private readonly timeoutMs;
|
|
1378
|
+
private readonly apiVersion;
|
|
1379
|
+
private readonly maxResponseBytes;
|
|
1380
|
+
/** Absolute worker directory for dispute evidence. @internal */
|
|
1381
|
+
readonly evidenceDirectory: string;
|
|
1382
|
+
private readonly send;
|
|
1383
|
+
/** Validate provider configuration without contacting Braintree. */
|
|
1384
|
+
constructor(config: Config, credentials: CredentialProvider<Credentials>, options?: BraintreeClientOptions);
|
|
1385
|
+
/** Bind the getTransaction Query. */ getTransaction(): GetTransactionOperation;
|
|
1386
|
+
/** Bind the getDispute Query. */ getDispute(): GetDisputeOperation;
|
|
1387
|
+
/** Bind the searchDisputes Query. */ searchDisputes(): SearchDisputesOperation;
|
|
1388
|
+
/** Bind the searchTransactions Query. */ searchTransactions(): SearchTransactionsOperation;
|
|
1389
|
+
/** Bind the getCustomer Query. */ getCustomer(): GetCustomerOperation;
|
|
1390
|
+
/** Bind the getPaymentMethod Query. */ getPaymentMethod(): GetPaymentMethodOperation;
|
|
1391
|
+
/** Bind the getRefund Query. */ getRefund(): GetRefundOperation;
|
|
1392
|
+
/** Bind the deleteDisputeEvidence Mutation. */ deleteDisputeEvidence(): DeleteDisputeEvidenceOperation;
|
|
1393
|
+
/** Bind the chargePaymentMethod Mutation. */ chargePaymentMethod(): ChargePaymentMethodOperation;
|
|
1394
|
+
/** Bind the captureTransaction Mutation. */ captureTransaction(): CaptureTransactionOperation;
|
|
1395
|
+
/** Bind the voidTransaction Mutation. */ voidTransaction(): VoidTransactionOperation;
|
|
1396
|
+
/** Bind the refundTransaction Mutation. */ refundTransaction(): RefundTransactionOperation;
|
|
1397
|
+
/** Bind the deletePaymentMethodFromVault Mutation. */ deletePaymentMethodFromVault(): DeletePaymentMethodFromVaultOperation;
|
|
1398
|
+
/** Bind the updateCustomer Mutation. */ updateCustomer(): UpdateCustomerOperation;
|
|
1399
|
+
/** Bind the deleteCustomer Mutation. */ deleteCustomer(): DeleteCustomerOperation;
|
|
1400
|
+
/** Bind the acceptDispute Mutation. */ acceptDispute(): AcceptDisputeOperation;
|
|
1401
|
+
/** Bind the createDisputeTextEvidence Mutation. */ createDisputeTextEvidence(): CreateDisputeTextEvidenceOperation;
|
|
1402
|
+
/** Bind the createDisputeFileEvidence Mutation. */ createDisputeFileEvidence(): CreateDisputeFileEvidenceOperation;
|
|
1403
|
+
/** Bind the finalizeDispute Mutation. */ finalizeDispute(): FinalizeDisputeOperation;
|
|
1404
|
+
/** Bind the vaultPaymentMethod Mutation. */ vaultPaymentMethod(): VaultPaymentMethodOperation;
|
|
1405
|
+
/** Bind the updateCreditCardCardholderName Mutation. */ updateCreditCardCardholderName(): UpdateCreditCardCardholderNameOperation;
|
|
1406
|
+
/** Bind the updateCreditCardExpirationDate Mutation. */ updateCreditCardExpirationDate(): UpdateCreditCardExpirationDateOperation;
|
|
1407
|
+
/** Bind the updateCreditCardBillingAddress Mutation. */ updateCreditCardBillingAddress(): UpdateCreditCardBillingAddressOperation;
|
|
1408
|
+
/** Bind the createCustomer Mutation. */ createCustomer(): CreateCustomerOperation;
|
|
1409
|
+
/** Resolve credentials and send one bounded transaction lookup. */
|
|
1410
|
+
get(call: Call, input: GetTransactionInput): Promise<Exchange>;
|
|
1411
|
+
/** Resolve credentials and send one bounded GraphQL request. @internal */
|
|
1412
|
+
graphQL(call: Call, query: string, variables: Record<string, unknown>, signal?: AbortSignal): Promise<Exchange>;
|
|
1413
|
+
/** Send one authenticated GraphQL body without processing redirects. @internal */
|
|
1414
|
+
postGraphQL(call: Call, body: Uint8Array, contentType: string, signal?: AbortSignal): Promise<Exchange>;
|
|
1415
|
+
}
|
|
1416
|
+
/** Read one transaction by its Braintree GraphQL ID. */
|
|
1417
|
+
declare class GetTransactionOperation implements Query<GetTransactionInput, TransactionProfile> {
|
|
1418
|
+
private readonly client;
|
|
1419
|
+
/** Bind the provider client. */ constructor(client: BraintreeClient);
|
|
1420
|
+
/** Return the generated Query definition. */ definition(): QueryDefinition;
|
|
1421
|
+
/** Classify provider outcomes consistently with Go. */
|
|
1422
|
+
invoke(call: Call, input: GetTransactionInput): Promise<QueryAttempt<TransactionProfile>>;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export { AcceptDisputeBranch, AcceptDisputeBranchAccepted, AcceptDisputeBranchDefect, AcceptDisputeBranchNotFound, AcceptDisputeBranchProviderRejected, AcceptDisputeBranchUncertain, AcceptDisputeDefinition, AcceptDisputeMetadata, AcceptDisputeOperation, type AcceptDisputeStepConfig, BraintreeClient, type BraintreeClientOptions, CaptureTransactionBranch, CaptureTransactionBranchCaptured, CaptureTransactionBranchDefect, CaptureTransactionBranchNotFound, CaptureTransactionBranchProviderRejected, CaptureTransactionDefinition, CaptureTransactionInput, CaptureTransactionMetadata, CaptureTransactionOperation, type CaptureTransactionStepConfig, ChargePaymentMethodBranch, ChargePaymentMethodBranchCharged, ChargePaymentMethodBranchDefect, ChargePaymentMethodBranchNotFound, ChargePaymentMethodBranchProviderRejected, ChargePaymentMethodDefinition, ChargePaymentMethodInput, ChargePaymentMethodMetadata, ChargePaymentMethodOperation, type ChargePaymentMethodStepConfig, Config, Connection, ConnectorID, CreateCustomerBranch, CreateCustomerBranchCreated, CreateCustomerBranchDefect, CreateCustomerBranchProviderRejected, CreateCustomerBranchUncertain, CreateCustomerDefinition, CreateCustomerInput, CreateCustomerMetadata, CreateCustomerOperation, type CreateCustomerStepConfig, CreateDisputeFileEvidenceBranch, CreateDisputeFileEvidenceBranchCreated, CreateDisputeFileEvidenceBranchDefect, CreateDisputeFileEvidenceBranchNotFound, CreateDisputeFileEvidenceBranchProviderRejected, CreateDisputeFileEvidenceBranchUncertain, CreateDisputeFileEvidenceDefinition, CreateDisputeFileEvidenceInput, CreateDisputeFileEvidenceMetadata, CreateDisputeFileEvidenceOperation, type CreateDisputeFileEvidenceStepConfig, CreateDisputeTextEvidenceBranch, CreateDisputeTextEvidenceBranchCreated, CreateDisputeTextEvidenceBranchDefect, CreateDisputeTextEvidenceBranchNotFound, CreateDisputeTextEvidenceBranchProviderRejected, CreateDisputeTextEvidenceBranchUncertain, CreateDisputeTextEvidenceDefinition, CreateDisputeTextEvidenceInput, CreateDisputeTextEvidenceMetadata, CreateDisputeTextEvidenceOperation, type CreateDisputeTextEvidenceStepConfig, Credentials, CustomerDeleteResult, CustomerProfile, DeleteCustomerBranch, DeleteCustomerBranchDefect, DeleteCustomerBranchDeleted, DeleteCustomerBranchInvalidResponse, DeleteCustomerBranchNotFound, DeleteCustomerBranchProviderRejected, DeleteCustomerDefinition, DeleteCustomerMetadata, DeleteCustomerOperation, type DeleteCustomerStepConfig, DeleteDisputeEvidenceBranch, DeleteDisputeEvidenceBranchDefect, DeleteDisputeEvidenceBranchDeleted, DeleteDisputeEvidenceBranchInvalidResponse, DeleteDisputeEvidenceBranchNotFound, DeleteDisputeEvidenceBranchProviderRejected, DeleteDisputeEvidenceDefinition, DeleteDisputeEvidenceInput, DeleteDisputeEvidenceMetadata, DeleteDisputeEvidenceOperation, type DeleteDisputeEvidenceStepConfig, DeletePaymentMethodFromVaultBranch, DeletePaymentMethodFromVaultBranchDefect, DeletePaymentMethodFromVaultBranchDeleted, DeletePaymentMethodFromVaultBranchInvalidResponse, DeletePaymentMethodFromVaultBranchNotFound, DeletePaymentMethodFromVaultBranchProviderRejected, DeletePaymentMethodFromVaultDefinition, DeletePaymentMethodFromVaultMetadata, DeletePaymentMethodFromVaultOperation, type DeletePaymentMethodFromVaultStepConfig, DisputeEvidenceDeleteResult, DisputeEvidenceProfile, DisputeProfile, DisputeTextEvidenceProfile, DisputesPage, FinalizeDisputeBranch, FinalizeDisputeBranchDefect, FinalizeDisputeBranchFinalized, FinalizeDisputeBranchNotFound, FinalizeDisputeBranchProviderRejected, FinalizeDisputeBranchUncertain, FinalizeDisputeDefinition, FinalizeDisputeMetadata, FinalizeDisputeOperation, type FinalizeDisputeStepConfig, GetCustomerBranch, GetCustomerBranchDefect, GetCustomerBranchFound, GetCustomerBranchInvalidResponse, GetCustomerBranchNotFound, GetCustomerBranchProviderRejected, GetCustomerDefinition, GetCustomerInput, GetCustomerMetadata, GetCustomerOperation, type GetCustomerStepConfig, GetDisputeBranch, GetDisputeBranchDefect, GetDisputeBranchFound, GetDisputeBranchInvalidResponse, GetDisputeBranchNotFound, GetDisputeBranchProviderRejected, GetDisputeDefinition, GetDisputeInput, GetDisputeMetadata, GetDisputeOperation, type GetDisputeStepConfig, GetPaymentMethodBranch, GetPaymentMethodBranchDefect, GetPaymentMethodBranchFound, GetPaymentMethodBranchInvalidResponse, GetPaymentMethodBranchNotFound, GetPaymentMethodBranchProviderRejected, GetPaymentMethodDefinition, GetPaymentMethodInput, GetPaymentMethodMetadata, GetPaymentMethodOperation, type GetPaymentMethodStepConfig, GetRefundBranch, GetRefundBranchDefect, GetRefundBranchFound, GetRefundBranchInvalidResponse, GetRefundBranchNotFound, GetRefundBranchProviderRejected, GetRefundDefinition, GetRefundInput, GetRefundMetadata, GetRefundOperation, type GetRefundStepConfig, GetTransactionBranch, GetTransactionBranchDefect, GetTransactionBranchFound, GetTransactionBranchInvalidResponse, GetTransactionBranchNotFound, GetTransactionBranchProviderRejected, GetTransactionDefinition, GetTransactionInput, GetTransactionMetadata, GetTransactionOperation, type GetTransactionStepConfig, PaymentMethodDeleteResult, PaymentMethodProfile, ProviderID, RefundProfile, RefundTransactionBranch, RefundTransactionBranchDefect, RefundTransactionBranchNotFound, RefundTransactionBranchProviderRejected, RefundTransactionBranchRefunded, RefundTransactionDefinition, RefundTransactionInput, RefundTransactionMetadata, RefundTransactionOperation, type RefundTransactionStepConfig, SearchDisputesBranch, SearchDisputesBranchDefect, SearchDisputesBranchInvalidResponse, SearchDisputesBranchNotFound, SearchDisputesBranchProviderRejected, SearchDisputesBranchSearched, SearchDisputesDefinition, SearchDisputesInput, SearchDisputesMetadata, SearchDisputesOperation, type SearchDisputesStepConfig, SearchTransactionsBranch, SearchTransactionsBranchDefect, SearchTransactionsBranchInvalidResponse, SearchTransactionsBranchNotFound, SearchTransactionsBranchProviderRejected, SearchTransactionsBranchSearched, SearchTransactionsDefinition, SearchTransactionsInput, SearchTransactionsMetadata, SearchTransactionsOperation, type SearchTransactionsStepConfig, TransactionProfile, TransactionsPage, UpdateCreditCardBillingAddressBranch, UpdateCreditCardBillingAddressBranchDefect, UpdateCreditCardBillingAddressBranchNotFound, UpdateCreditCardBillingAddressBranchProviderRejected, UpdateCreditCardBillingAddressBranchUncertain, UpdateCreditCardBillingAddressBranchUpdated, UpdateCreditCardBillingAddressDefinition, UpdateCreditCardBillingAddressInput, UpdateCreditCardBillingAddressMetadata, UpdateCreditCardBillingAddressOperation, type UpdateCreditCardBillingAddressStepConfig, UpdateCreditCardCardholderNameBranch, UpdateCreditCardCardholderNameBranchDefect, UpdateCreditCardCardholderNameBranchNotFound, UpdateCreditCardCardholderNameBranchProviderRejected, UpdateCreditCardCardholderNameBranchUncertain, UpdateCreditCardCardholderNameBranchUpdated, UpdateCreditCardCardholderNameDefinition, UpdateCreditCardCardholderNameInput, UpdateCreditCardCardholderNameMetadata, UpdateCreditCardCardholderNameOperation, type UpdateCreditCardCardholderNameStepConfig, UpdateCreditCardExpirationDateBranch, UpdateCreditCardExpirationDateBranchDefect, UpdateCreditCardExpirationDateBranchNotFound, UpdateCreditCardExpirationDateBranchProviderRejected, UpdateCreditCardExpirationDateBranchUncertain, UpdateCreditCardExpirationDateBranchUpdated, UpdateCreditCardExpirationDateDefinition, UpdateCreditCardExpirationDateInput, UpdateCreditCardExpirationDateMetadata, UpdateCreditCardExpirationDateOperation, type UpdateCreditCardExpirationDateStepConfig, UpdateCustomerBranch, UpdateCustomerBranchDefect, UpdateCustomerBranchInvalidResponse, UpdateCustomerBranchNotFound, UpdateCustomerBranchProviderRejected, UpdateCustomerBranchUpdated, UpdateCustomerDefinition, UpdateCustomerInput, UpdateCustomerMetadata, UpdateCustomerOperation, type UpdateCustomerStepConfig, VaultPaymentMethodBranch, VaultPaymentMethodBranchDefect, VaultPaymentMethodBranchNotFound, VaultPaymentMethodBranchProviderRejected, VaultPaymentMethodBranchUncertain, VaultPaymentMethodBranchVaulted, VaultPaymentMethodDefinition, VaultPaymentMethodInput, VaultPaymentMethodMetadata, VaultPaymentMethodOperation, type VaultPaymentMethodStepConfig, VoidTransactionBranch, VoidTransactionBranchDefect, VoidTransactionBranchNotFound, VoidTransactionBranchProviderRejected, VoidTransactionBranchVoided, VoidTransactionDefinition, VoidTransactionMetadata, VoidTransactionOperation, type VoidTransactionStepConfig, newAcceptDisputeStep, newCaptureTransactionStep, newChargePaymentMethodStep, newCreateCustomerStep, newCreateDisputeFileEvidenceStep, newCreateDisputeTextEvidenceStep, newDeleteCustomerStep, newDeleteDisputeEvidenceStep, newDeletePaymentMethodFromVaultStep, newFinalizeDisputeStep, newGetCustomerStep, newGetDisputeStep, newGetPaymentMethodStep, newGetRefundStep, newGetTransactionStep, newProjectConnection, newRefundTransactionStep, newSearchDisputesStep, newSearchTransactionsStep, newUpdateCreditCardBillingAddressStep, newUpdateCreditCardCardholderNameStep, newUpdateCreditCardExpirationDateStep, newUpdateCustomerStep, newVaultPaymentMethodStep, newVoidTransactionStep };
|