@superdurable/connector-braintree 0.1.0 → 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/README.md +3 -1
- package/dex-connector.json +1356 -2
- package/dist/chunk-KA52AO5W.js +1036 -0
- package/dist/connection-Cn9eRQrg.d.ts +562 -0
- package/dist/index.d.ts +1333 -6
- package/dist/index.js +1750 -15
- package/dist/mock.d.ts +444 -5
- package/dist/mock.js +1073 -4
- package/package.json +3 -3
- package/dist/chunk-4EVX2UKI.js +0 -109
- package/dist/connection-B5NUruTy.d.ts +0 -74
|
@@ -0,0 +1,1036 @@
|
|
|
1
|
+
// src/generated/models.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { SecretString } from "@superdurable/connectors-sdk";
|
|
4
|
+
var ConfigSchema = z.object({
|
|
5
|
+
"baseUrl": z.string().optional(),
|
|
6
|
+
"apiVersion": z.string().optional(),
|
|
7
|
+
"timeoutMs": z.number().int().optional(),
|
|
8
|
+
"maxResponseBytes": z.number().int().optional(),
|
|
9
|
+
"evidenceDirectory": z.string().optional()
|
|
10
|
+
});
|
|
11
|
+
var CredentialMaterialError = class extends TypeError {
|
|
12
|
+
constructor(message) {
|
|
13
|
+
super(message);
|
|
14
|
+
this.name = "CredentialMaterialError";
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var sdkCredentialDecodingFailureMessages = /* @__PURE__ */ new Set([
|
|
18
|
+
"project credential decoding failed",
|
|
19
|
+
"shared project credential decoding failed",
|
|
20
|
+
"project credential decoding failed: this connector version does not support shared credentials"
|
|
21
|
+
]);
|
|
22
|
+
function isCredentialMaterialError(error) {
|
|
23
|
+
return error instanceof CredentialMaterialError || error instanceof TypeError && sdkCredentialDecodingFailureMessages.has(error.message);
|
|
24
|
+
}
|
|
25
|
+
function decodeCredentials(value) {
|
|
26
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw new CredentialMaterialError("credential fields are invalid");
|
|
27
|
+
const fields = value;
|
|
28
|
+
const allowed = /* @__PURE__ */ new Set(["privateKey", "publicKey"]);
|
|
29
|
+
if (Object.keys(fields).some((key) => !allowed.has(key))) throw new CredentialMaterialError("stored credential does not match the connector credential fields");
|
|
30
|
+
if (fields["privateKey"] != null && !(typeof fields["privateKey"] === "string")) throw new CredentialMaterialError("credential privateKey has an invalid type");
|
|
31
|
+
if (fields["publicKey"] != null && !(typeof fields["publicKey"] === "string")) throw new CredentialMaterialError("credential publicKey has an invalid type");
|
|
32
|
+
const credentials = {};
|
|
33
|
+
if (!fields["publicKey"]) throw new CredentialMaterialError("credential publicKey is required");
|
|
34
|
+
credentials.publicKey = fields["publicKey"] ?? "";
|
|
35
|
+
if (!fields["privateKey"]) throw new CredentialMaterialError("credential privateKey is required");
|
|
36
|
+
credentials.privateKey = new SecretString(fields["privateKey"] ?? "");
|
|
37
|
+
return credentials;
|
|
38
|
+
}
|
|
39
|
+
var GetDisputeInputSchema = z.strictObject({
|
|
40
|
+
"disputeId": z.string()
|
|
41
|
+
});
|
|
42
|
+
var DisputeEvidenceProfileSchema = z.strictObject({
|
|
43
|
+
"id": z.string(),
|
|
44
|
+
"category": z.string().optional(),
|
|
45
|
+
"content": z.string().optional()
|
|
46
|
+
});
|
|
47
|
+
var DisputeProfileSchema = z.strictObject({
|
|
48
|
+
"id": z.string(),
|
|
49
|
+
"status": z.string(),
|
|
50
|
+
"replyByDate": z.string().optional(),
|
|
51
|
+
"evidence": z.array(DisputeEvidenceProfileSchema).optional()
|
|
52
|
+
});
|
|
53
|
+
var SearchDisputesInputSchema = z.strictObject({
|
|
54
|
+
"disputeId": z.string().optional(),
|
|
55
|
+
"status": z.string().optional(),
|
|
56
|
+
"first": z.number().int().optional(),
|
|
57
|
+
"after": z.string().optional()
|
|
58
|
+
});
|
|
59
|
+
var DisputesPageSchema = z.strictObject({
|
|
60
|
+
"disputes": z.array(DisputeProfileSchema).nullable(),
|
|
61
|
+
"hasNextPage": z.boolean(),
|
|
62
|
+
"endCursor": z.string().optional()
|
|
63
|
+
});
|
|
64
|
+
var CreateDisputeTextEvidenceInputSchema = z.strictObject({
|
|
65
|
+
"disputeId": z.string(),
|
|
66
|
+
"category": z.string(),
|
|
67
|
+
"content": z.string()
|
|
68
|
+
});
|
|
69
|
+
var DisputeTextEvidenceProfileSchema = z.strictObject({
|
|
70
|
+
"id": z.string(),
|
|
71
|
+
"category": z.string().optional(),
|
|
72
|
+
"content": z.string().optional()
|
|
73
|
+
});
|
|
74
|
+
var CreateDisputeFileEvidenceInputSchema = z.strictObject({
|
|
75
|
+
"disputeId": z.string(),
|
|
76
|
+
"category": z.string(),
|
|
77
|
+
"fileName": z.string(),
|
|
78
|
+
"expectedSha256": z.string()
|
|
79
|
+
});
|
|
80
|
+
var DeleteDisputeEvidenceInputSchema = z.strictObject({
|
|
81
|
+
"disputeId": z.string(),
|
|
82
|
+
"evidenceId": z.string()
|
|
83
|
+
});
|
|
84
|
+
var DisputeEvidenceDeleteResultSchema = z.strictObject({
|
|
85
|
+
"disputeId": z.string(),
|
|
86
|
+
"evidenceId": z.string(),
|
|
87
|
+
"deleted": z.boolean()
|
|
88
|
+
});
|
|
89
|
+
var SearchTransactionsInputSchema = z.strictObject({
|
|
90
|
+
"transactionId": z.string().optional(),
|
|
91
|
+
"orderId": z.string().optional(),
|
|
92
|
+
"first": z.number().int().optional(),
|
|
93
|
+
"after": z.string().optional()
|
|
94
|
+
});
|
|
95
|
+
var TransactionProfileSchema = z.strictObject({
|
|
96
|
+
"id": z.string(),
|
|
97
|
+
"status": z.string()
|
|
98
|
+
});
|
|
99
|
+
var TransactionsPageSchema = z.strictObject({
|
|
100
|
+
"transactions": z.array(TransactionProfileSchema).nullable(),
|
|
101
|
+
"hasNextPage": z.boolean(),
|
|
102
|
+
"endCursor": z.string().optional()
|
|
103
|
+
});
|
|
104
|
+
var ChargePaymentMethodInputSchema = z.strictObject({
|
|
105
|
+
"paymentMethodId": z.string(),
|
|
106
|
+
"amount": z.string(),
|
|
107
|
+
"merchantAccountId": z.string().optional(),
|
|
108
|
+
"orderId": z.string().optional()
|
|
109
|
+
});
|
|
110
|
+
var CaptureTransactionInputSchema = z.strictObject({
|
|
111
|
+
"transactionId": z.string(),
|
|
112
|
+
"amount": z.string().optional()
|
|
113
|
+
});
|
|
114
|
+
var GetTransactionInputSchema = z.strictObject({
|
|
115
|
+
"transactionId": z.string()
|
|
116
|
+
});
|
|
117
|
+
var RefundTransactionInputSchema = z.strictObject({
|
|
118
|
+
"transactionId": z.string(),
|
|
119
|
+
"amount": z.string().optional(),
|
|
120
|
+
"orderId": z.string().optional()
|
|
121
|
+
});
|
|
122
|
+
var RefundProfileSchema = z.strictObject({
|
|
123
|
+
"id": z.string(),
|
|
124
|
+
"status": z.string()
|
|
125
|
+
});
|
|
126
|
+
var VaultPaymentMethodInputSchema = z.strictObject({
|
|
127
|
+
"paymentMethodId": z.string(),
|
|
128
|
+
"customerId": z.string().optional()
|
|
129
|
+
});
|
|
130
|
+
var PaymentMethodProfileSchema = z.strictObject({
|
|
131
|
+
"id": z.string(),
|
|
132
|
+
"usage": z.string()
|
|
133
|
+
});
|
|
134
|
+
var UpdateCreditCardCardholderNameInputSchema = z.strictObject({
|
|
135
|
+
"paymentMethodId": z.string(),
|
|
136
|
+
"cardholderName": z.string()
|
|
137
|
+
});
|
|
138
|
+
var UpdateCreditCardExpirationDateInputSchema = z.strictObject({
|
|
139
|
+
"paymentMethodId": z.string(),
|
|
140
|
+
"expirationMonth": z.string(),
|
|
141
|
+
"expirationYear": z.string()
|
|
142
|
+
});
|
|
143
|
+
var UpdateCreditCardBillingAddressInputSchema = z.strictObject({
|
|
144
|
+
"paymentMethodId": z.string(),
|
|
145
|
+
"addressLine1": z.string(),
|
|
146
|
+
"city": z.string(),
|
|
147
|
+
"state": z.string(),
|
|
148
|
+
"postalCode": z.string(),
|
|
149
|
+
"countryCode": z.string()
|
|
150
|
+
});
|
|
151
|
+
var GetPaymentMethodInputSchema = z.strictObject({
|
|
152
|
+
"paymentMethodId": z.string()
|
|
153
|
+
});
|
|
154
|
+
var PaymentMethodDeleteResultSchema = z.strictObject({
|
|
155
|
+
"paymentMethodId": z.string(),
|
|
156
|
+
"deleted": z.boolean()
|
|
157
|
+
});
|
|
158
|
+
var CreateCustomerInputSchema = z.strictObject({
|
|
159
|
+
"firstName": z.string().optional(),
|
|
160
|
+
"lastName": z.string().optional(),
|
|
161
|
+
"email": z.string().optional()
|
|
162
|
+
});
|
|
163
|
+
var CustomerProfileSchema = z.strictObject({
|
|
164
|
+
"id": z.string(),
|
|
165
|
+
"firstName": z.string(),
|
|
166
|
+
"lastName": z.string(),
|
|
167
|
+
"email": z.string()
|
|
168
|
+
});
|
|
169
|
+
var UpdateCustomerInputSchema = z.strictObject({
|
|
170
|
+
"customerId": z.string(),
|
|
171
|
+
"firstName": z.string(),
|
|
172
|
+
"lastName": z.string(),
|
|
173
|
+
"email": z.string()
|
|
174
|
+
});
|
|
175
|
+
var GetCustomerInputSchema = z.strictObject({
|
|
176
|
+
"customerId": z.string()
|
|
177
|
+
});
|
|
178
|
+
var CustomerDeleteResultSchema = z.strictObject({
|
|
179
|
+
"customerId": z.string(),
|
|
180
|
+
"deleted": z.boolean()
|
|
181
|
+
});
|
|
182
|
+
var GetRefundInputSchema = z.strictObject({
|
|
183
|
+
"refundId": z.string()
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
// src/generated/definitions.ts
|
|
187
|
+
var ConnectorID = "braintree";
|
|
188
|
+
var ProviderID = "braintree";
|
|
189
|
+
var GetDisputeBranch = {
|
|
190
|
+
Found: "found",
|
|
191
|
+
NotFound: "notFound",
|
|
192
|
+
ProviderRejected: "providerRejected",
|
|
193
|
+
InvalidResponse: "invalidResponse",
|
|
194
|
+
Defect: "defect"
|
|
195
|
+
};
|
|
196
|
+
var GetDisputeBranchFound = GetDisputeBranch.Found;
|
|
197
|
+
var GetDisputeBranchNotFound = GetDisputeBranch.NotFound;
|
|
198
|
+
var GetDisputeBranchProviderRejected = GetDisputeBranch.ProviderRejected;
|
|
199
|
+
var GetDisputeBranchInvalidResponse = GetDisputeBranch.InvalidResponse;
|
|
200
|
+
var GetDisputeBranchDefect = GetDisputeBranch.Defect;
|
|
201
|
+
var GetDisputeDefinition = {
|
|
202
|
+
operation: { connectorId: ConnectorID, operationId: "getDispute" },
|
|
203
|
+
branches: [
|
|
204
|
+
{ id: "found", description: "Braintree returned the requested result." },
|
|
205
|
+
{ id: "notFound", description: "The dispute or evidence was not found.", optional: true },
|
|
206
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
207
|
+
{ id: "invalidResponse", description: "Braintree returned invalid dispute JSON.", optional: true },
|
|
208
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
209
|
+
],
|
|
210
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
211
|
+
};
|
|
212
|
+
var GetDisputeMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
213
|
+
var SearchDisputesBranch = {
|
|
214
|
+
Searched: "searched",
|
|
215
|
+
NotFound: "notFound",
|
|
216
|
+
ProviderRejected: "providerRejected",
|
|
217
|
+
InvalidResponse: "invalidResponse",
|
|
218
|
+
Defect: "defect"
|
|
219
|
+
};
|
|
220
|
+
var SearchDisputesBranchSearched = SearchDisputesBranch.Searched;
|
|
221
|
+
var SearchDisputesBranchNotFound = SearchDisputesBranch.NotFound;
|
|
222
|
+
var SearchDisputesBranchProviderRejected = SearchDisputesBranch.ProviderRejected;
|
|
223
|
+
var SearchDisputesBranchInvalidResponse = SearchDisputesBranch.InvalidResponse;
|
|
224
|
+
var SearchDisputesBranchDefect = SearchDisputesBranch.Defect;
|
|
225
|
+
var SearchDisputesDefinition = {
|
|
226
|
+
operation: { connectorId: ConnectorID, operationId: "searchDisputes" },
|
|
227
|
+
branches: [
|
|
228
|
+
{ id: "searched", description: "Braintree returned the requested result." },
|
|
229
|
+
{ id: "notFound", description: "The dispute or evidence was not found.", optional: true },
|
|
230
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
231
|
+
{ id: "invalidResponse", description: "Braintree returned invalid dispute JSON.", optional: true },
|
|
232
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
233
|
+
],
|
|
234
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
235
|
+
};
|
|
236
|
+
var SearchDisputesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
237
|
+
var AcceptDisputeBranch = {
|
|
238
|
+
Accepted: "accepted",
|
|
239
|
+
NotFound: "notFound",
|
|
240
|
+
ProviderRejected: "providerRejected",
|
|
241
|
+
Defect: "defect",
|
|
242
|
+
Uncertain: "uncertain"
|
|
243
|
+
};
|
|
244
|
+
var AcceptDisputeBranchAccepted = AcceptDisputeBranch.Accepted;
|
|
245
|
+
var AcceptDisputeBranchNotFound = AcceptDisputeBranch.NotFound;
|
|
246
|
+
var AcceptDisputeBranchProviderRejected = AcceptDisputeBranch.ProviderRejected;
|
|
247
|
+
var AcceptDisputeBranchDefect = AcceptDisputeBranch.Defect;
|
|
248
|
+
var AcceptDisputeBranchUncertain = AcceptDisputeBranch.Uncertain;
|
|
249
|
+
var AcceptDisputeDefinition = {
|
|
250
|
+
operation: { connectorId: ConnectorID, operationId: "acceptDispute" },
|
|
251
|
+
branches: [
|
|
252
|
+
{ id: "accepted", description: "Braintree returned the requested result." },
|
|
253
|
+
{ id: "notFound", description: "The dispute or evidence was not found.", optional: true },
|
|
254
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
255
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
256
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
257
|
+
],
|
|
258
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
259
|
+
repeatOnUnknown: "limited",
|
|
260
|
+
maxSends: 3
|
|
261
|
+
};
|
|
262
|
+
var AcceptDisputeMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
263
|
+
var CreateDisputeTextEvidenceBranch = {
|
|
264
|
+
Created: "created",
|
|
265
|
+
NotFound: "notFound",
|
|
266
|
+
ProviderRejected: "providerRejected",
|
|
267
|
+
Defect: "defect",
|
|
268
|
+
Uncertain: "uncertain"
|
|
269
|
+
};
|
|
270
|
+
var CreateDisputeTextEvidenceBranchCreated = CreateDisputeTextEvidenceBranch.Created;
|
|
271
|
+
var CreateDisputeTextEvidenceBranchNotFound = CreateDisputeTextEvidenceBranch.NotFound;
|
|
272
|
+
var CreateDisputeTextEvidenceBranchProviderRejected = CreateDisputeTextEvidenceBranch.ProviderRejected;
|
|
273
|
+
var CreateDisputeTextEvidenceBranchDefect = CreateDisputeTextEvidenceBranch.Defect;
|
|
274
|
+
var CreateDisputeTextEvidenceBranchUncertain = CreateDisputeTextEvidenceBranch.Uncertain;
|
|
275
|
+
var CreateDisputeTextEvidenceDefinition = {
|
|
276
|
+
operation: { connectorId: ConnectorID, operationId: "createDisputeTextEvidence" },
|
|
277
|
+
branches: [
|
|
278
|
+
{ id: "created", description: "Braintree returned the requested result." },
|
|
279
|
+
{ id: "notFound", description: "The dispute or evidence was not found.", optional: true },
|
|
280
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
281
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
282
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
283
|
+
],
|
|
284
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
285
|
+
repeatOnUnknown: "limited",
|
|
286
|
+
maxSends: 3
|
|
287
|
+
};
|
|
288
|
+
var CreateDisputeTextEvidenceMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
289
|
+
var CreateDisputeFileEvidenceBranch = {
|
|
290
|
+
Created: "created",
|
|
291
|
+
NotFound: "notFound",
|
|
292
|
+
ProviderRejected: "providerRejected",
|
|
293
|
+
Defect: "defect",
|
|
294
|
+
Uncertain: "uncertain"
|
|
295
|
+
};
|
|
296
|
+
var CreateDisputeFileEvidenceBranchCreated = CreateDisputeFileEvidenceBranch.Created;
|
|
297
|
+
var CreateDisputeFileEvidenceBranchNotFound = CreateDisputeFileEvidenceBranch.NotFound;
|
|
298
|
+
var CreateDisputeFileEvidenceBranchProviderRejected = CreateDisputeFileEvidenceBranch.ProviderRejected;
|
|
299
|
+
var CreateDisputeFileEvidenceBranchDefect = CreateDisputeFileEvidenceBranch.Defect;
|
|
300
|
+
var CreateDisputeFileEvidenceBranchUncertain = CreateDisputeFileEvidenceBranch.Uncertain;
|
|
301
|
+
var CreateDisputeFileEvidenceDefinition = {
|
|
302
|
+
operation: { connectorId: ConnectorID, operationId: "createDisputeFileEvidence" },
|
|
303
|
+
branches: [
|
|
304
|
+
{ id: "created", description: "Braintree returned the created evidence." },
|
|
305
|
+
{ id: "notFound", description: "The dispute was not found.", optional: true },
|
|
306
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the file.", optional: true },
|
|
307
|
+
{ id: "defect", description: "Invalid file or input or credentials.", optional: true },
|
|
308
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
309
|
+
],
|
|
310
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
311
|
+
repeatOnUnknown: "limited",
|
|
312
|
+
maxSends: 3
|
|
313
|
+
};
|
|
314
|
+
var CreateDisputeFileEvidenceMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
315
|
+
var DeleteDisputeEvidenceBranch = {
|
|
316
|
+
Deleted: "deleted",
|
|
317
|
+
NotFound: "notFound",
|
|
318
|
+
ProviderRejected: "providerRejected",
|
|
319
|
+
InvalidResponse: "invalidResponse",
|
|
320
|
+
Defect: "defect"
|
|
321
|
+
};
|
|
322
|
+
var DeleteDisputeEvidenceBranchDeleted = DeleteDisputeEvidenceBranch.Deleted;
|
|
323
|
+
var DeleteDisputeEvidenceBranchNotFound = DeleteDisputeEvidenceBranch.NotFound;
|
|
324
|
+
var DeleteDisputeEvidenceBranchProviderRejected = DeleteDisputeEvidenceBranch.ProviderRejected;
|
|
325
|
+
var DeleteDisputeEvidenceBranchInvalidResponse = DeleteDisputeEvidenceBranch.InvalidResponse;
|
|
326
|
+
var DeleteDisputeEvidenceBranchDefect = DeleteDisputeEvidenceBranch.Defect;
|
|
327
|
+
var DeleteDisputeEvidenceDefinition = {
|
|
328
|
+
operation: { connectorId: ConnectorID, operationId: "deleteDisputeEvidence" },
|
|
329
|
+
branches: [
|
|
330
|
+
{ id: "deleted", description: "Braintree returned the requested result." },
|
|
331
|
+
{ id: "notFound", description: "The dispute or evidence was not found.", optional: true },
|
|
332
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
333
|
+
{ id: "invalidResponse", description: "Braintree returned invalid dispute JSON.", optional: true },
|
|
334
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
335
|
+
],
|
|
336
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
337
|
+
repeatOnUnknown: "safe"
|
|
338
|
+
};
|
|
339
|
+
var DeleteDisputeEvidenceMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
340
|
+
var FinalizeDisputeBranch = {
|
|
341
|
+
Finalized: "finalized",
|
|
342
|
+
NotFound: "notFound",
|
|
343
|
+
ProviderRejected: "providerRejected",
|
|
344
|
+
Defect: "defect",
|
|
345
|
+
Uncertain: "uncertain"
|
|
346
|
+
};
|
|
347
|
+
var FinalizeDisputeBranchFinalized = FinalizeDisputeBranch.Finalized;
|
|
348
|
+
var FinalizeDisputeBranchNotFound = FinalizeDisputeBranch.NotFound;
|
|
349
|
+
var FinalizeDisputeBranchProviderRejected = FinalizeDisputeBranch.ProviderRejected;
|
|
350
|
+
var FinalizeDisputeBranchDefect = FinalizeDisputeBranch.Defect;
|
|
351
|
+
var FinalizeDisputeBranchUncertain = FinalizeDisputeBranch.Uncertain;
|
|
352
|
+
var FinalizeDisputeDefinition = {
|
|
353
|
+
operation: { connectorId: ConnectorID, operationId: "finalizeDispute" },
|
|
354
|
+
branches: [
|
|
355
|
+
{ id: "finalized", description: "Braintree returned the requested result." },
|
|
356
|
+
{ id: "notFound", description: "The dispute or evidence was not found.", optional: true },
|
|
357
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
358
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
359
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
360
|
+
],
|
|
361
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
362
|
+
repeatOnUnknown: "limited",
|
|
363
|
+
maxSends: 3
|
|
364
|
+
};
|
|
365
|
+
var FinalizeDisputeMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
366
|
+
var SearchTransactionsBranch = {
|
|
367
|
+
Searched: "searched",
|
|
368
|
+
NotFound: "notFound",
|
|
369
|
+
ProviderRejected: "providerRejected",
|
|
370
|
+
InvalidResponse: "invalidResponse",
|
|
371
|
+
Defect: "defect"
|
|
372
|
+
};
|
|
373
|
+
var SearchTransactionsBranchSearched = SearchTransactionsBranch.Searched;
|
|
374
|
+
var SearchTransactionsBranchNotFound = SearchTransactionsBranch.NotFound;
|
|
375
|
+
var SearchTransactionsBranchProviderRejected = SearchTransactionsBranch.ProviderRejected;
|
|
376
|
+
var SearchTransactionsBranchInvalidResponse = SearchTransactionsBranch.InvalidResponse;
|
|
377
|
+
var SearchTransactionsBranchDefect = SearchTransactionsBranch.Defect;
|
|
378
|
+
var SearchTransactionsDefinition = {
|
|
379
|
+
operation: { connectorId: ConnectorID, operationId: "searchTransactions" },
|
|
380
|
+
branches: [
|
|
381
|
+
{ id: "searched", description: "Braintree returned the requested result." },
|
|
382
|
+
{ id: "notFound", description: "The selected resource was not found.", optional: true },
|
|
383
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
384
|
+
{ id: "invalidResponse", description: "Braintree returned invalid search JSON.", optional: true },
|
|
385
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
386
|
+
],
|
|
387
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
388
|
+
};
|
|
389
|
+
var SearchTransactionsMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
390
|
+
var ChargePaymentMethodBranch = {
|
|
391
|
+
Charged: "charged",
|
|
392
|
+
NotFound: "notFound",
|
|
393
|
+
ProviderRejected: "providerRejected",
|
|
394
|
+
Defect: "defect"
|
|
395
|
+
};
|
|
396
|
+
var ChargePaymentMethodBranchCharged = ChargePaymentMethodBranch.Charged;
|
|
397
|
+
var ChargePaymentMethodBranchNotFound = ChargePaymentMethodBranch.NotFound;
|
|
398
|
+
var ChargePaymentMethodBranchProviderRejected = ChargePaymentMethodBranch.ProviderRejected;
|
|
399
|
+
var ChargePaymentMethodBranchDefect = ChargePaymentMethodBranch.Defect;
|
|
400
|
+
var ChargePaymentMethodDefinition = {
|
|
401
|
+
operation: { connectorId: ConnectorID, operationId: "chargePaymentMethod" },
|
|
402
|
+
branches: [
|
|
403
|
+
{ id: "charged", description: "Braintree returned the requested result." },
|
|
404
|
+
{ id: "notFound", description: "The selected resource was not found.", optional: true },
|
|
405
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
406
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
407
|
+
],
|
|
408
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
409
|
+
repeatOnUnknown: "safe"
|
|
410
|
+
};
|
|
411
|
+
var ChargePaymentMethodMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
412
|
+
var CaptureTransactionBranch = {
|
|
413
|
+
Captured: "captured",
|
|
414
|
+
NotFound: "notFound",
|
|
415
|
+
ProviderRejected: "providerRejected",
|
|
416
|
+
Defect: "defect"
|
|
417
|
+
};
|
|
418
|
+
var CaptureTransactionBranchCaptured = CaptureTransactionBranch.Captured;
|
|
419
|
+
var CaptureTransactionBranchNotFound = CaptureTransactionBranch.NotFound;
|
|
420
|
+
var CaptureTransactionBranchProviderRejected = CaptureTransactionBranch.ProviderRejected;
|
|
421
|
+
var CaptureTransactionBranchDefect = CaptureTransactionBranch.Defect;
|
|
422
|
+
var CaptureTransactionDefinition = {
|
|
423
|
+
operation: { connectorId: ConnectorID, operationId: "captureTransaction" },
|
|
424
|
+
branches: [
|
|
425
|
+
{ id: "captured", description: "Braintree returned the requested result." },
|
|
426
|
+
{ id: "notFound", description: "The selected resource was not found.", optional: true },
|
|
427
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
428
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
429
|
+
],
|
|
430
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
431
|
+
repeatOnUnknown: "safe"
|
|
432
|
+
};
|
|
433
|
+
var CaptureTransactionMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
434
|
+
var VoidTransactionBranch = {
|
|
435
|
+
Voided: "voided",
|
|
436
|
+
NotFound: "notFound",
|
|
437
|
+
ProviderRejected: "providerRejected",
|
|
438
|
+
Defect: "defect"
|
|
439
|
+
};
|
|
440
|
+
var VoidTransactionBranchVoided = VoidTransactionBranch.Voided;
|
|
441
|
+
var VoidTransactionBranchNotFound = VoidTransactionBranch.NotFound;
|
|
442
|
+
var VoidTransactionBranchProviderRejected = VoidTransactionBranch.ProviderRejected;
|
|
443
|
+
var VoidTransactionBranchDefect = VoidTransactionBranch.Defect;
|
|
444
|
+
var VoidTransactionDefinition = {
|
|
445
|
+
operation: { connectorId: ConnectorID, operationId: "voidTransaction" },
|
|
446
|
+
branches: [
|
|
447
|
+
{ id: "voided", description: "Braintree returned the requested result." },
|
|
448
|
+
{ id: "notFound", description: "The selected resource was not found.", optional: true },
|
|
449
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
450
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
451
|
+
],
|
|
452
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
453
|
+
repeatOnUnknown: "safe"
|
|
454
|
+
};
|
|
455
|
+
var VoidTransactionMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
456
|
+
var RefundTransactionBranch = {
|
|
457
|
+
Refunded: "refunded",
|
|
458
|
+
NotFound: "notFound",
|
|
459
|
+
ProviderRejected: "providerRejected",
|
|
460
|
+
Defect: "defect"
|
|
461
|
+
};
|
|
462
|
+
var RefundTransactionBranchRefunded = RefundTransactionBranch.Refunded;
|
|
463
|
+
var RefundTransactionBranchNotFound = RefundTransactionBranch.NotFound;
|
|
464
|
+
var RefundTransactionBranchProviderRejected = RefundTransactionBranch.ProviderRejected;
|
|
465
|
+
var RefundTransactionBranchDefect = RefundTransactionBranch.Defect;
|
|
466
|
+
var RefundTransactionDefinition = {
|
|
467
|
+
operation: { connectorId: ConnectorID, operationId: "refundTransaction" },
|
|
468
|
+
branches: [
|
|
469
|
+
{ id: "refunded", description: "Braintree returned the requested result." },
|
|
470
|
+
{ id: "notFound", description: "The selected resource was not found.", optional: true },
|
|
471
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the request.", optional: true },
|
|
472
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
473
|
+
],
|
|
474
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
475
|
+
repeatOnUnknown: "safe"
|
|
476
|
+
};
|
|
477
|
+
var RefundTransactionMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
478
|
+
var VaultPaymentMethodBranch = {
|
|
479
|
+
Vaulted: "vaulted",
|
|
480
|
+
NotFound: "notFound",
|
|
481
|
+
ProviderRejected: "providerRejected",
|
|
482
|
+
Defect: "defect",
|
|
483
|
+
Uncertain: "uncertain"
|
|
484
|
+
};
|
|
485
|
+
var VaultPaymentMethodBranchVaulted = VaultPaymentMethodBranch.Vaulted;
|
|
486
|
+
var VaultPaymentMethodBranchNotFound = VaultPaymentMethodBranch.NotFound;
|
|
487
|
+
var VaultPaymentMethodBranchProviderRejected = VaultPaymentMethodBranch.ProviderRejected;
|
|
488
|
+
var VaultPaymentMethodBranchDefect = VaultPaymentMethodBranch.Defect;
|
|
489
|
+
var VaultPaymentMethodBranchUncertain = VaultPaymentMethodBranch.Uncertain;
|
|
490
|
+
var VaultPaymentMethodDefinition = {
|
|
491
|
+
operation: { connectorId: ConnectorID, operationId: "vaultPaymentMethod" },
|
|
492
|
+
branches: [
|
|
493
|
+
{ id: "vaulted", description: "A vaulted payment method was returned." },
|
|
494
|
+
{ id: "notFound", description: "The selected payment method was not found.", optional: true },
|
|
495
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the mutation.", optional: true },
|
|
496
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
497
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
498
|
+
],
|
|
499
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
500
|
+
repeatOnUnknown: "limited",
|
|
501
|
+
maxSends: 3
|
|
502
|
+
};
|
|
503
|
+
var VaultPaymentMethodMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
504
|
+
var UpdateCreditCardCardholderNameBranch = {
|
|
505
|
+
Updated: "updated",
|
|
506
|
+
NotFound: "notFound",
|
|
507
|
+
ProviderRejected: "providerRejected",
|
|
508
|
+
Defect: "defect",
|
|
509
|
+
Uncertain: "uncertain"
|
|
510
|
+
};
|
|
511
|
+
var UpdateCreditCardCardholderNameBranchUpdated = UpdateCreditCardCardholderNameBranch.Updated;
|
|
512
|
+
var UpdateCreditCardCardholderNameBranchNotFound = UpdateCreditCardCardholderNameBranch.NotFound;
|
|
513
|
+
var UpdateCreditCardCardholderNameBranchProviderRejected = UpdateCreditCardCardholderNameBranch.ProviderRejected;
|
|
514
|
+
var UpdateCreditCardCardholderNameBranchDefect = UpdateCreditCardCardholderNameBranch.Defect;
|
|
515
|
+
var UpdateCreditCardCardholderNameBranchUncertain = UpdateCreditCardCardholderNameBranch.Uncertain;
|
|
516
|
+
var UpdateCreditCardCardholderNameDefinition = {
|
|
517
|
+
operation: { connectorId: ConnectorID, operationId: "updateCreditCardCardholderName" },
|
|
518
|
+
branches: [
|
|
519
|
+
{ id: "updated", description: "The cardholder name was updated." },
|
|
520
|
+
{ id: "notFound", description: "The selected payment method was not found.", optional: true },
|
|
521
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the mutation.", optional: true },
|
|
522
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
523
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
524
|
+
],
|
|
525
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
526
|
+
repeatOnUnknown: "limited",
|
|
527
|
+
maxSends: 3
|
|
528
|
+
};
|
|
529
|
+
var UpdateCreditCardCardholderNameMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
530
|
+
var UpdateCreditCardExpirationDateBranch = {
|
|
531
|
+
Updated: "updated",
|
|
532
|
+
NotFound: "notFound",
|
|
533
|
+
ProviderRejected: "providerRejected",
|
|
534
|
+
Defect: "defect",
|
|
535
|
+
Uncertain: "uncertain"
|
|
536
|
+
};
|
|
537
|
+
var UpdateCreditCardExpirationDateBranchUpdated = UpdateCreditCardExpirationDateBranch.Updated;
|
|
538
|
+
var UpdateCreditCardExpirationDateBranchNotFound = UpdateCreditCardExpirationDateBranch.NotFound;
|
|
539
|
+
var UpdateCreditCardExpirationDateBranchProviderRejected = UpdateCreditCardExpirationDateBranch.ProviderRejected;
|
|
540
|
+
var UpdateCreditCardExpirationDateBranchDefect = UpdateCreditCardExpirationDateBranch.Defect;
|
|
541
|
+
var UpdateCreditCardExpirationDateBranchUncertain = UpdateCreditCardExpirationDateBranch.Uncertain;
|
|
542
|
+
var UpdateCreditCardExpirationDateDefinition = {
|
|
543
|
+
operation: { connectorId: ConnectorID, operationId: "updateCreditCardExpirationDate" },
|
|
544
|
+
branches: [
|
|
545
|
+
{ id: "updated", description: "The expiration date was updated." },
|
|
546
|
+
{ id: "notFound", description: "The selected payment method was not found.", optional: true },
|
|
547
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the mutation.", optional: true },
|
|
548
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
549
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
550
|
+
],
|
|
551
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
552
|
+
repeatOnUnknown: "limited",
|
|
553
|
+
maxSends: 3
|
|
554
|
+
};
|
|
555
|
+
var UpdateCreditCardExpirationDateMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
556
|
+
var UpdateCreditCardBillingAddressBranch = {
|
|
557
|
+
Updated: "updated",
|
|
558
|
+
NotFound: "notFound",
|
|
559
|
+
ProviderRejected: "providerRejected",
|
|
560
|
+
Defect: "defect",
|
|
561
|
+
Uncertain: "uncertain"
|
|
562
|
+
};
|
|
563
|
+
var UpdateCreditCardBillingAddressBranchUpdated = UpdateCreditCardBillingAddressBranch.Updated;
|
|
564
|
+
var UpdateCreditCardBillingAddressBranchNotFound = UpdateCreditCardBillingAddressBranch.NotFound;
|
|
565
|
+
var UpdateCreditCardBillingAddressBranchProviderRejected = UpdateCreditCardBillingAddressBranch.ProviderRejected;
|
|
566
|
+
var UpdateCreditCardBillingAddressBranchDefect = UpdateCreditCardBillingAddressBranch.Defect;
|
|
567
|
+
var UpdateCreditCardBillingAddressBranchUncertain = UpdateCreditCardBillingAddressBranch.Uncertain;
|
|
568
|
+
var UpdateCreditCardBillingAddressDefinition = {
|
|
569
|
+
operation: { connectorId: ConnectorID, operationId: "updateCreditCardBillingAddress" },
|
|
570
|
+
branches: [
|
|
571
|
+
{ id: "updated", description: "The billing address was updated." },
|
|
572
|
+
{ id: "notFound", description: "The selected payment method was not found.", optional: true },
|
|
573
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the mutation.", optional: true },
|
|
574
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
575
|
+
{ id: "uncertain", description: "The outcome cannot be confirmed after the send cap.", optional: true }
|
|
576
|
+
],
|
|
577
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
578
|
+
repeatOnUnknown: "limited",
|
|
579
|
+
maxSends: 3
|
|
580
|
+
};
|
|
581
|
+
var UpdateCreditCardBillingAddressMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
582
|
+
var DeletePaymentMethodFromVaultBranch = {
|
|
583
|
+
Deleted: "deleted",
|
|
584
|
+
NotFound: "notFound",
|
|
585
|
+
ProviderRejected: "providerRejected",
|
|
586
|
+
InvalidResponse: "invalidResponse",
|
|
587
|
+
Defect: "defect"
|
|
588
|
+
};
|
|
589
|
+
var DeletePaymentMethodFromVaultBranchDeleted = DeletePaymentMethodFromVaultBranch.Deleted;
|
|
590
|
+
var DeletePaymentMethodFromVaultBranchNotFound = DeletePaymentMethodFromVaultBranch.NotFound;
|
|
591
|
+
var DeletePaymentMethodFromVaultBranchProviderRejected = DeletePaymentMethodFromVaultBranch.ProviderRejected;
|
|
592
|
+
var DeletePaymentMethodFromVaultBranchInvalidResponse = DeletePaymentMethodFromVaultBranch.InvalidResponse;
|
|
593
|
+
var DeletePaymentMethodFromVaultBranchDefect = DeletePaymentMethodFromVaultBranch.Defect;
|
|
594
|
+
var DeletePaymentMethodFromVaultDefinition = {
|
|
595
|
+
operation: { connectorId: ConnectorID, operationId: "deletePaymentMethodFromVault" },
|
|
596
|
+
branches: [
|
|
597
|
+
{ id: "deleted", description: "The vaulted payment method was deleted." },
|
|
598
|
+
{ id: "notFound", description: "The payment method was not found.", optional: true },
|
|
599
|
+
{ id: "providerRejected", description: "Braintree definitively rejected deletion.", optional: true },
|
|
600
|
+
{ id: "invalidResponse", description: "Braintree returned malformed deletion JSON.", optional: true },
|
|
601
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
602
|
+
],
|
|
603
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
604
|
+
repeatOnUnknown: "safe"
|
|
605
|
+
};
|
|
606
|
+
var DeletePaymentMethodFromVaultMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
607
|
+
var CreateCustomerBranch = {
|
|
608
|
+
Created: "created",
|
|
609
|
+
ProviderRejected: "providerRejected",
|
|
610
|
+
Defect: "defect",
|
|
611
|
+
Uncertain: "uncertain"
|
|
612
|
+
};
|
|
613
|
+
var CreateCustomerBranchCreated = CreateCustomerBranch.Created;
|
|
614
|
+
var CreateCustomerBranchProviderRejected = CreateCustomerBranch.ProviderRejected;
|
|
615
|
+
var CreateCustomerBranchDefect = CreateCustomerBranch.Defect;
|
|
616
|
+
var CreateCustomerBranchUncertain = CreateCustomerBranch.Uncertain;
|
|
617
|
+
var CreateCustomerDefinition = {
|
|
618
|
+
operation: { connectorId: ConnectorID, operationId: "createCustomer" },
|
|
619
|
+
branches: [
|
|
620
|
+
{ id: "created", description: "Braintree created the customer." },
|
|
621
|
+
{ id: "providerRejected", description: "Braintree definitively rejected creation.", optional: true },
|
|
622
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true },
|
|
623
|
+
{ id: "uncertain", description: "The customer outcome cannot be confirmed after the send cap.", optional: true }
|
|
624
|
+
],
|
|
625
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
626
|
+
repeatOnUnknown: "limited",
|
|
627
|
+
maxSends: 3
|
|
628
|
+
};
|
|
629
|
+
var CreateCustomerMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
630
|
+
var UpdateCustomerBranch = {
|
|
631
|
+
Updated: "updated",
|
|
632
|
+
NotFound: "notFound",
|
|
633
|
+
ProviderRejected: "providerRejected",
|
|
634
|
+
InvalidResponse: "invalidResponse",
|
|
635
|
+
Defect: "defect"
|
|
636
|
+
};
|
|
637
|
+
var UpdateCustomerBranchUpdated = UpdateCustomerBranch.Updated;
|
|
638
|
+
var UpdateCustomerBranchNotFound = UpdateCustomerBranch.NotFound;
|
|
639
|
+
var UpdateCustomerBranchProviderRejected = UpdateCustomerBranch.ProviderRejected;
|
|
640
|
+
var UpdateCustomerBranchInvalidResponse = UpdateCustomerBranch.InvalidResponse;
|
|
641
|
+
var UpdateCustomerBranchDefect = UpdateCustomerBranch.Defect;
|
|
642
|
+
var UpdateCustomerDefinition = {
|
|
643
|
+
operation: { connectorId: ConnectorID, operationId: "updateCustomer" },
|
|
644
|
+
branches: [
|
|
645
|
+
{ id: "updated", description: "Braintree updated the customer." },
|
|
646
|
+
{ id: "notFound", description: "The customer was not found.", optional: true },
|
|
647
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the update.", optional: true },
|
|
648
|
+
{ id: "invalidResponse", description: "Braintree returned malformed customer JSON.", optional: true },
|
|
649
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
650
|
+
],
|
|
651
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
652
|
+
repeatOnUnknown: "safe"
|
|
653
|
+
};
|
|
654
|
+
var UpdateCustomerMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
655
|
+
var DeleteCustomerBranch = {
|
|
656
|
+
Deleted: "deleted",
|
|
657
|
+
NotFound: "notFound",
|
|
658
|
+
ProviderRejected: "providerRejected",
|
|
659
|
+
InvalidResponse: "invalidResponse",
|
|
660
|
+
Defect: "defect"
|
|
661
|
+
};
|
|
662
|
+
var DeleteCustomerBranchDeleted = DeleteCustomerBranch.Deleted;
|
|
663
|
+
var DeleteCustomerBranchNotFound = DeleteCustomerBranch.NotFound;
|
|
664
|
+
var DeleteCustomerBranchProviderRejected = DeleteCustomerBranch.ProviderRejected;
|
|
665
|
+
var DeleteCustomerBranchInvalidResponse = DeleteCustomerBranch.InvalidResponse;
|
|
666
|
+
var DeleteCustomerBranchDefect = DeleteCustomerBranch.Defect;
|
|
667
|
+
var DeleteCustomerDefinition = {
|
|
668
|
+
operation: { connectorId: ConnectorID, operationId: "deleteCustomer" },
|
|
669
|
+
branches: [
|
|
670
|
+
{ id: "deleted", description: "Braintree deleted the customer." },
|
|
671
|
+
{ id: "notFound", description: "The customer was not found.", optional: true },
|
|
672
|
+
{ id: "providerRejected", description: "Braintree rejected deletion because payment methods may remain.", optional: true },
|
|
673
|
+
{ id: "invalidResponse", description: "Braintree returned malformed deletion JSON.", optional: true },
|
|
674
|
+
{ id: "defect", description: "Input or credentials are invalid.", optional: true }
|
|
675
|
+
],
|
|
676
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
677
|
+
repeatOnUnknown: "safe"
|
|
678
|
+
};
|
|
679
|
+
var DeleteCustomerMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
680
|
+
var GetCustomerBranch = {
|
|
681
|
+
Found: "found",
|
|
682
|
+
NotFound: "notFound",
|
|
683
|
+
ProviderRejected: "providerRejected",
|
|
684
|
+
InvalidResponse: "invalidResponse",
|
|
685
|
+
Defect: "defect"
|
|
686
|
+
};
|
|
687
|
+
var GetCustomerBranchFound = GetCustomerBranch.Found;
|
|
688
|
+
var GetCustomerBranchNotFound = GetCustomerBranch.NotFound;
|
|
689
|
+
var GetCustomerBranchProviderRejected = GetCustomerBranch.ProviderRejected;
|
|
690
|
+
var GetCustomerBranchInvalidResponse = GetCustomerBranch.InvalidResponse;
|
|
691
|
+
var GetCustomerBranchDefect = GetCustomerBranch.Defect;
|
|
692
|
+
var GetCustomerDefinition = {
|
|
693
|
+
operation: { connectorId: ConnectorID, operationId: "getCustomer" },
|
|
694
|
+
branches: [
|
|
695
|
+
{ id: "found", description: "Braintree returned the customer." },
|
|
696
|
+
{ id: "notFound", description: "The node is absent or has another type.", optional: true },
|
|
697
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the query.", optional: true },
|
|
698
|
+
{ id: "invalidResponse", description: "Braintree returned malformed or oversized JSON.", optional: true },
|
|
699
|
+
{ id: "defect", description: "Local input or credentials are invalid.", optional: true }
|
|
700
|
+
],
|
|
701
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
702
|
+
};
|
|
703
|
+
var GetCustomerMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
704
|
+
var GetPaymentMethodBranch = {
|
|
705
|
+
Found: "found",
|
|
706
|
+
NotFound: "notFound",
|
|
707
|
+
ProviderRejected: "providerRejected",
|
|
708
|
+
InvalidResponse: "invalidResponse",
|
|
709
|
+
Defect: "defect"
|
|
710
|
+
};
|
|
711
|
+
var GetPaymentMethodBranchFound = GetPaymentMethodBranch.Found;
|
|
712
|
+
var GetPaymentMethodBranchNotFound = GetPaymentMethodBranch.NotFound;
|
|
713
|
+
var GetPaymentMethodBranchProviderRejected = GetPaymentMethodBranch.ProviderRejected;
|
|
714
|
+
var GetPaymentMethodBranchInvalidResponse = GetPaymentMethodBranch.InvalidResponse;
|
|
715
|
+
var GetPaymentMethodBranchDefect = GetPaymentMethodBranch.Defect;
|
|
716
|
+
var GetPaymentMethodDefinition = {
|
|
717
|
+
operation: { connectorId: ConnectorID, operationId: "getPaymentMethod" },
|
|
718
|
+
branches: [
|
|
719
|
+
{ id: "found", description: "Braintree returned the payment method." },
|
|
720
|
+
{ id: "notFound", description: "The node is absent or has another type.", optional: true },
|
|
721
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the query.", optional: true },
|
|
722
|
+
{ id: "invalidResponse", description: "Braintree returned malformed or oversized JSON.", optional: true },
|
|
723
|
+
{ id: "defect", description: "Local input or credentials are invalid.", optional: true }
|
|
724
|
+
],
|
|
725
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
726
|
+
};
|
|
727
|
+
var GetPaymentMethodMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
728
|
+
var GetRefundBranch = {
|
|
729
|
+
Found: "found",
|
|
730
|
+
NotFound: "notFound",
|
|
731
|
+
ProviderRejected: "providerRejected",
|
|
732
|
+
InvalidResponse: "invalidResponse",
|
|
733
|
+
Defect: "defect"
|
|
734
|
+
};
|
|
735
|
+
var GetRefundBranchFound = GetRefundBranch.Found;
|
|
736
|
+
var GetRefundBranchNotFound = GetRefundBranch.NotFound;
|
|
737
|
+
var GetRefundBranchProviderRejected = GetRefundBranch.ProviderRejected;
|
|
738
|
+
var GetRefundBranchInvalidResponse = GetRefundBranch.InvalidResponse;
|
|
739
|
+
var GetRefundBranchDefect = GetRefundBranch.Defect;
|
|
740
|
+
var GetRefundDefinition = {
|
|
741
|
+
operation: { connectorId: ConnectorID, operationId: "getRefund" },
|
|
742
|
+
branches: [
|
|
743
|
+
{ id: "found", description: "Braintree returned the refund." },
|
|
744
|
+
{ id: "notFound", description: "The node is absent or has another type.", optional: true },
|
|
745
|
+
{ id: "providerRejected", description: "Braintree definitively rejected the query.", optional: true },
|
|
746
|
+
{ id: "invalidResponse", description: "Braintree returned malformed or oversized JSON.", optional: true },
|
|
747
|
+
{ id: "defect", description: "Local input or credentials are invalid.", optional: true }
|
|
748
|
+
],
|
|
749
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
750
|
+
};
|
|
751
|
+
var GetRefundMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
752
|
+
var GetTransactionBranch = {
|
|
753
|
+
Found: "found",
|
|
754
|
+
NotFound: "notFound",
|
|
755
|
+
ProviderRejected: "providerRejected",
|
|
756
|
+
InvalidResponse: "invalidResponse",
|
|
757
|
+
Defect: "defect"
|
|
758
|
+
};
|
|
759
|
+
var GetTransactionBranchFound = GetTransactionBranch.Found;
|
|
760
|
+
var GetTransactionBranchNotFound = GetTransactionBranch.NotFound;
|
|
761
|
+
var GetTransactionBranchProviderRejected = GetTransactionBranch.ProviderRejected;
|
|
762
|
+
var GetTransactionBranchInvalidResponse = GetTransactionBranch.InvalidResponse;
|
|
763
|
+
var GetTransactionBranchDefect = GetTransactionBranch.Defect;
|
|
764
|
+
var GetTransactionDefinition = {
|
|
765
|
+
operation: { connectorId: ConnectorID, operationId: "getTransaction" },
|
|
766
|
+
branches: [
|
|
767
|
+
{ id: "found", description: "Braintree returned the transaction." },
|
|
768
|
+
{ id: "notFound", description: "The node is absent or is another object type.", optional: true },
|
|
769
|
+
{ id: "providerRejected", description: "Braintree returned a definite GraphQL or HTTP rejection.", optional: true },
|
|
770
|
+
{ id: "invalidResponse", description: "Braintree returned malformed or oversized JSON.", optional: true },
|
|
771
|
+
{ id: "defect", description: "Local input or credentials are invalid.", optional: true }
|
|
772
|
+
],
|
|
773
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
774
|
+
};
|
|
775
|
+
var GetTransactionMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
776
|
+
|
|
777
|
+
// src/generated/connection.ts
|
|
778
|
+
import { ConnectionRefSchema } from "@superdurable/connectors-sdk";
|
|
779
|
+
var Connection = class {
|
|
780
|
+
/** Stable provider and connection name. */
|
|
781
|
+
reference;
|
|
782
|
+
/** Bound provider operations. */
|
|
783
|
+
operations;
|
|
784
|
+
/** Validate a reference and bind operations. */
|
|
785
|
+
constructor(reference, operations) {
|
|
786
|
+
this.reference = ConnectionRefSchema.parse(reference);
|
|
787
|
+
if (this.reference.provider !== ProviderID) throw new TypeError("connection provider differs from the manifest");
|
|
788
|
+
if (!operations) throw new TypeError("connector operations are required");
|
|
789
|
+
this.operations = operations;
|
|
790
|
+
}
|
|
791
|
+
};
|
|
792
|
+
function newConnection(client, reference) {
|
|
793
|
+
if (!client) throw new TypeError("connector client is required");
|
|
794
|
+
return new Connection(reference, client);
|
|
795
|
+
}
|
|
796
|
+
function newConnectionWithOperations(operations, reference) {
|
|
797
|
+
return new Connection(reference, operations);
|
|
798
|
+
}
|
|
799
|
+
function newProjectConnection(project, connectionName, createClient) {
|
|
800
|
+
if (!project) throw new TypeError("loaded project is required");
|
|
801
|
+
const reference = ConnectionRefSchema.parse({ provider: ProviderID, name: connectionName });
|
|
802
|
+
const selected = project.configuration.connections.find((entry) => entry.connectorId === ConnectorID && entry.connectionName === connectionName);
|
|
803
|
+
if (!selected || selected.provider !== ProviderID) throw new TypeError("project connection is not configured");
|
|
804
|
+
return newConnection(createClient(project, connectionName), reference);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export {
|
|
808
|
+
ConfigSchema,
|
|
809
|
+
CredentialMaterialError,
|
|
810
|
+
isCredentialMaterialError,
|
|
811
|
+
decodeCredentials,
|
|
812
|
+
GetDisputeInputSchema,
|
|
813
|
+
DisputeEvidenceProfileSchema,
|
|
814
|
+
DisputeProfileSchema,
|
|
815
|
+
SearchDisputesInputSchema,
|
|
816
|
+
DisputesPageSchema,
|
|
817
|
+
CreateDisputeTextEvidenceInputSchema,
|
|
818
|
+
DisputeTextEvidenceProfileSchema,
|
|
819
|
+
CreateDisputeFileEvidenceInputSchema,
|
|
820
|
+
DeleteDisputeEvidenceInputSchema,
|
|
821
|
+
DisputeEvidenceDeleteResultSchema,
|
|
822
|
+
SearchTransactionsInputSchema,
|
|
823
|
+
TransactionProfileSchema,
|
|
824
|
+
TransactionsPageSchema,
|
|
825
|
+
ChargePaymentMethodInputSchema,
|
|
826
|
+
CaptureTransactionInputSchema,
|
|
827
|
+
GetTransactionInputSchema,
|
|
828
|
+
RefundTransactionInputSchema,
|
|
829
|
+
RefundProfileSchema,
|
|
830
|
+
VaultPaymentMethodInputSchema,
|
|
831
|
+
PaymentMethodProfileSchema,
|
|
832
|
+
UpdateCreditCardCardholderNameInputSchema,
|
|
833
|
+
UpdateCreditCardExpirationDateInputSchema,
|
|
834
|
+
UpdateCreditCardBillingAddressInputSchema,
|
|
835
|
+
GetPaymentMethodInputSchema,
|
|
836
|
+
PaymentMethodDeleteResultSchema,
|
|
837
|
+
CreateCustomerInputSchema,
|
|
838
|
+
CustomerProfileSchema,
|
|
839
|
+
UpdateCustomerInputSchema,
|
|
840
|
+
GetCustomerInputSchema,
|
|
841
|
+
CustomerDeleteResultSchema,
|
|
842
|
+
GetRefundInputSchema,
|
|
843
|
+
ConnectorID,
|
|
844
|
+
ProviderID,
|
|
845
|
+
GetDisputeBranch,
|
|
846
|
+
GetDisputeBranchFound,
|
|
847
|
+
GetDisputeBranchNotFound,
|
|
848
|
+
GetDisputeBranchProviderRejected,
|
|
849
|
+
GetDisputeBranchInvalidResponse,
|
|
850
|
+
GetDisputeBranchDefect,
|
|
851
|
+
GetDisputeDefinition,
|
|
852
|
+
GetDisputeMetadata,
|
|
853
|
+
SearchDisputesBranch,
|
|
854
|
+
SearchDisputesBranchSearched,
|
|
855
|
+
SearchDisputesBranchNotFound,
|
|
856
|
+
SearchDisputesBranchProviderRejected,
|
|
857
|
+
SearchDisputesBranchInvalidResponse,
|
|
858
|
+
SearchDisputesBranchDefect,
|
|
859
|
+
SearchDisputesDefinition,
|
|
860
|
+
SearchDisputesMetadata,
|
|
861
|
+
AcceptDisputeBranch,
|
|
862
|
+
AcceptDisputeBranchAccepted,
|
|
863
|
+
AcceptDisputeBranchNotFound,
|
|
864
|
+
AcceptDisputeBranchProviderRejected,
|
|
865
|
+
AcceptDisputeBranchDefect,
|
|
866
|
+
AcceptDisputeBranchUncertain,
|
|
867
|
+
AcceptDisputeDefinition,
|
|
868
|
+
AcceptDisputeMetadata,
|
|
869
|
+
CreateDisputeTextEvidenceBranch,
|
|
870
|
+
CreateDisputeTextEvidenceBranchCreated,
|
|
871
|
+
CreateDisputeTextEvidenceBranchNotFound,
|
|
872
|
+
CreateDisputeTextEvidenceBranchProviderRejected,
|
|
873
|
+
CreateDisputeTextEvidenceBranchDefect,
|
|
874
|
+
CreateDisputeTextEvidenceBranchUncertain,
|
|
875
|
+
CreateDisputeTextEvidenceDefinition,
|
|
876
|
+
CreateDisputeTextEvidenceMetadata,
|
|
877
|
+
CreateDisputeFileEvidenceBranch,
|
|
878
|
+
CreateDisputeFileEvidenceBranchCreated,
|
|
879
|
+
CreateDisputeFileEvidenceBranchNotFound,
|
|
880
|
+
CreateDisputeFileEvidenceBranchProviderRejected,
|
|
881
|
+
CreateDisputeFileEvidenceBranchDefect,
|
|
882
|
+
CreateDisputeFileEvidenceBranchUncertain,
|
|
883
|
+
CreateDisputeFileEvidenceDefinition,
|
|
884
|
+
CreateDisputeFileEvidenceMetadata,
|
|
885
|
+
DeleteDisputeEvidenceBranch,
|
|
886
|
+
DeleteDisputeEvidenceBranchDeleted,
|
|
887
|
+
DeleteDisputeEvidenceBranchNotFound,
|
|
888
|
+
DeleteDisputeEvidenceBranchProviderRejected,
|
|
889
|
+
DeleteDisputeEvidenceBranchInvalidResponse,
|
|
890
|
+
DeleteDisputeEvidenceBranchDefect,
|
|
891
|
+
DeleteDisputeEvidenceDefinition,
|
|
892
|
+
DeleteDisputeEvidenceMetadata,
|
|
893
|
+
FinalizeDisputeBranch,
|
|
894
|
+
FinalizeDisputeBranchFinalized,
|
|
895
|
+
FinalizeDisputeBranchNotFound,
|
|
896
|
+
FinalizeDisputeBranchProviderRejected,
|
|
897
|
+
FinalizeDisputeBranchDefect,
|
|
898
|
+
FinalizeDisputeBranchUncertain,
|
|
899
|
+
FinalizeDisputeDefinition,
|
|
900
|
+
FinalizeDisputeMetadata,
|
|
901
|
+
SearchTransactionsBranch,
|
|
902
|
+
SearchTransactionsBranchSearched,
|
|
903
|
+
SearchTransactionsBranchNotFound,
|
|
904
|
+
SearchTransactionsBranchProviderRejected,
|
|
905
|
+
SearchTransactionsBranchInvalidResponse,
|
|
906
|
+
SearchTransactionsBranchDefect,
|
|
907
|
+
SearchTransactionsDefinition,
|
|
908
|
+
SearchTransactionsMetadata,
|
|
909
|
+
ChargePaymentMethodBranch,
|
|
910
|
+
ChargePaymentMethodBranchCharged,
|
|
911
|
+
ChargePaymentMethodBranchNotFound,
|
|
912
|
+
ChargePaymentMethodBranchProviderRejected,
|
|
913
|
+
ChargePaymentMethodBranchDefect,
|
|
914
|
+
ChargePaymentMethodDefinition,
|
|
915
|
+
ChargePaymentMethodMetadata,
|
|
916
|
+
CaptureTransactionBranch,
|
|
917
|
+
CaptureTransactionBranchCaptured,
|
|
918
|
+
CaptureTransactionBranchNotFound,
|
|
919
|
+
CaptureTransactionBranchProviderRejected,
|
|
920
|
+
CaptureTransactionBranchDefect,
|
|
921
|
+
CaptureTransactionDefinition,
|
|
922
|
+
CaptureTransactionMetadata,
|
|
923
|
+
VoidTransactionBranch,
|
|
924
|
+
VoidTransactionBranchVoided,
|
|
925
|
+
VoidTransactionBranchNotFound,
|
|
926
|
+
VoidTransactionBranchProviderRejected,
|
|
927
|
+
VoidTransactionBranchDefect,
|
|
928
|
+
VoidTransactionDefinition,
|
|
929
|
+
VoidTransactionMetadata,
|
|
930
|
+
RefundTransactionBranch,
|
|
931
|
+
RefundTransactionBranchRefunded,
|
|
932
|
+
RefundTransactionBranchNotFound,
|
|
933
|
+
RefundTransactionBranchProviderRejected,
|
|
934
|
+
RefundTransactionBranchDefect,
|
|
935
|
+
RefundTransactionDefinition,
|
|
936
|
+
RefundTransactionMetadata,
|
|
937
|
+
VaultPaymentMethodBranch,
|
|
938
|
+
VaultPaymentMethodBranchVaulted,
|
|
939
|
+
VaultPaymentMethodBranchNotFound,
|
|
940
|
+
VaultPaymentMethodBranchProviderRejected,
|
|
941
|
+
VaultPaymentMethodBranchDefect,
|
|
942
|
+
VaultPaymentMethodBranchUncertain,
|
|
943
|
+
VaultPaymentMethodDefinition,
|
|
944
|
+
VaultPaymentMethodMetadata,
|
|
945
|
+
UpdateCreditCardCardholderNameBranch,
|
|
946
|
+
UpdateCreditCardCardholderNameBranchUpdated,
|
|
947
|
+
UpdateCreditCardCardholderNameBranchNotFound,
|
|
948
|
+
UpdateCreditCardCardholderNameBranchProviderRejected,
|
|
949
|
+
UpdateCreditCardCardholderNameBranchDefect,
|
|
950
|
+
UpdateCreditCardCardholderNameBranchUncertain,
|
|
951
|
+
UpdateCreditCardCardholderNameDefinition,
|
|
952
|
+
UpdateCreditCardCardholderNameMetadata,
|
|
953
|
+
UpdateCreditCardExpirationDateBranch,
|
|
954
|
+
UpdateCreditCardExpirationDateBranchUpdated,
|
|
955
|
+
UpdateCreditCardExpirationDateBranchNotFound,
|
|
956
|
+
UpdateCreditCardExpirationDateBranchProviderRejected,
|
|
957
|
+
UpdateCreditCardExpirationDateBranchDefect,
|
|
958
|
+
UpdateCreditCardExpirationDateBranchUncertain,
|
|
959
|
+
UpdateCreditCardExpirationDateDefinition,
|
|
960
|
+
UpdateCreditCardExpirationDateMetadata,
|
|
961
|
+
UpdateCreditCardBillingAddressBranch,
|
|
962
|
+
UpdateCreditCardBillingAddressBranchUpdated,
|
|
963
|
+
UpdateCreditCardBillingAddressBranchNotFound,
|
|
964
|
+
UpdateCreditCardBillingAddressBranchProviderRejected,
|
|
965
|
+
UpdateCreditCardBillingAddressBranchDefect,
|
|
966
|
+
UpdateCreditCardBillingAddressBranchUncertain,
|
|
967
|
+
UpdateCreditCardBillingAddressDefinition,
|
|
968
|
+
UpdateCreditCardBillingAddressMetadata,
|
|
969
|
+
DeletePaymentMethodFromVaultBranch,
|
|
970
|
+
DeletePaymentMethodFromVaultBranchDeleted,
|
|
971
|
+
DeletePaymentMethodFromVaultBranchNotFound,
|
|
972
|
+
DeletePaymentMethodFromVaultBranchProviderRejected,
|
|
973
|
+
DeletePaymentMethodFromVaultBranchInvalidResponse,
|
|
974
|
+
DeletePaymentMethodFromVaultBranchDefect,
|
|
975
|
+
DeletePaymentMethodFromVaultDefinition,
|
|
976
|
+
DeletePaymentMethodFromVaultMetadata,
|
|
977
|
+
CreateCustomerBranch,
|
|
978
|
+
CreateCustomerBranchCreated,
|
|
979
|
+
CreateCustomerBranchProviderRejected,
|
|
980
|
+
CreateCustomerBranchDefect,
|
|
981
|
+
CreateCustomerBranchUncertain,
|
|
982
|
+
CreateCustomerDefinition,
|
|
983
|
+
CreateCustomerMetadata,
|
|
984
|
+
UpdateCustomerBranch,
|
|
985
|
+
UpdateCustomerBranchUpdated,
|
|
986
|
+
UpdateCustomerBranchNotFound,
|
|
987
|
+
UpdateCustomerBranchProviderRejected,
|
|
988
|
+
UpdateCustomerBranchInvalidResponse,
|
|
989
|
+
UpdateCustomerBranchDefect,
|
|
990
|
+
UpdateCustomerDefinition,
|
|
991
|
+
UpdateCustomerMetadata,
|
|
992
|
+
DeleteCustomerBranch,
|
|
993
|
+
DeleteCustomerBranchDeleted,
|
|
994
|
+
DeleteCustomerBranchNotFound,
|
|
995
|
+
DeleteCustomerBranchProviderRejected,
|
|
996
|
+
DeleteCustomerBranchInvalidResponse,
|
|
997
|
+
DeleteCustomerBranchDefect,
|
|
998
|
+
DeleteCustomerDefinition,
|
|
999
|
+
DeleteCustomerMetadata,
|
|
1000
|
+
GetCustomerBranch,
|
|
1001
|
+
GetCustomerBranchFound,
|
|
1002
|
+
GetCustomerBranchNotFound,
|
|
1003
|
+
GetCustomerBranchProviderRejected,
|
|
1004
|
+
GetCustomerBranchInvalidResponse,
|
|
1005
|
+
GetCustomerBranchDefect,
|
|
1006
|
+
GetCustomerDefinition,
|
|
1007
|
+
GetCustomerMetadata,
|
|
1008
|
+
GetPaymentMethodBranch,
|
|
1009
|
+
GetPaymentMethodBranchFound,
|
|
1010
|
+
GetPaymentMethodBranchNotFound,
|
|
1011
|
+
GetPaymentMethodBranchProviderRejected,
|
|
1012
|
+
GetPaymentMethodBranchInvalidResponse,
|
|
1013
|
+
GetPaymentMethodBranchDefect,
|
|
1014
|
+
GetPaymentMethodDefinition,
|
|
1015
|
+
GetPaymentMethodMetadata,
|
|
1016
|
+
GetRefundBranch,
|
|
1017
|
+
GetRefundBranchFound,
|
|
1018
|
+
GetRefundBranchNotFound,
|
|
1019
|
+
GetRefundBranchProviderRejected,
|
|
1020
|
+
GetRefundBranchInvalidResponse,
|
|
1021
|
+
GetRefundBranchDefect,
|
|
1022
|
+
GetRefundDefinition,
|
|
1023
|
+
GetRefundMetadata,
|
|
1024
|
+
GetTransactionBranch,
|
|
1025
|
+
GetTransactionBranchFound,
|
|
1026
|
+
GetTransactionBranchNotFound,
|
|
1027
|
+
GetTransactionBranchProviderRejected,
|
|
1028
|
+
GetTransactionBranchInvalidResponse,
|
|
1029
|
+
GetTransactionBranchDefect,
|
|
1030
|
+
GetTransactionDefinition,
|
|
1031
|
+
GetTransactionMetadata,
|
|
1032
|
+
Connection,
|
|
1033
|
+
newConnection,
|
|
1034
|
+
newConnectionWithOperations,
|
|
1035
|
+
newProjectConnection
|
|
1036
|
+
};
|