@superdurable/connector-adyen 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.
@@ -0,0 +1,489 @@
1
+ // src/generated/models.ts
2
+ import { z } from "zod";
3
+ import { SecretString } from "@superdurable/connectors-sdk";
4
+ var nativeJSON = JSON;
5
+ var signedIntegerToken = /^-?(?:0|[1-9][0-9]*)$/;
6
+ var minimumSignedInteger = -(1n << 63n);
7
+ var maximumSignedInteger = (1n << 63n) - 1n;
8
+ function decodeSignedInteger(value) {
9
+ if (typeof value === "number" && Number.isSafeInteger(value)) return value === 0 ? 0 : value;
10
+ if (!nativeJSON.isRawJSON(value) || value.rawJSON.length > 20 || !signedIntegerToken.test(value.rawJSON)) {
11
+ throw new TypeError("expected a signed 64-bit integer");
12
+ }
13
+ const integer = BigInt(value.rawJSON);
14
+ if (integer < minimumSignedInteger || integer > maximumSignedInteger) throw new RangeError("signed 64-bit integer out of range");
15
+ const number = Number(integer);
16
+ return Number.isSafeInteger(number) ? number : value;
17
+ }
18
+ var signedIntegerSchema = z.unknown().transform((value, context) => {
19
+ try {
20
+ return decodeSignedInteger(value);
21
+ } catch {
22
+ context.addIssue({ code: "custom", message: "expected a signed 64-bit integer" });
23
+ return z.NEVER;
24
+ }
25
+ });
26
+ function parseJSONNumberTokens(text) {
27
+ return JSON.parse(text, (_key, value, context) => typeof value === "number" && context?.source !== void 0 ? nativeJSON.rawJSON(context.source) : value);
28
+ }
29
+ function parseExactIntegerJSON(text) {
30
+ return JSON.parse(text, (_key, field, context) => typeof field === "number" && !Number.isSafeInteger(field) && context?.source && signedIntegerToken.test(context.source) ? nativeJSON.rawJSON(context.source) : field);
31
+ }
32
+ function exactIntegerJSONCodec(decode) {
33
+ return {
34
+ typeName: "json",
35
+ wireKind: "json",
36
+ encode(value) {
37
+ const data = JSON.stringify(value, (_key, field) => {
38
+ if (typeof field === "number" && Number.isInteger(field) && !Number.isSafeInteger(field)) {
39
+ throw new RangeError("use a raw JSON token for integers outside the safe number range");
40
+ }
41
+ return field;
42
+ });
43
+ if (data === void 0) throw new TypeError("value cannot be encoded as JSON");
44
+ return { kind: "json", data };
45
+ },
46
+ decode(wire) {
47
+ if (wire.kind !== "json" || typeof wire.data !== "string") throw new TypeError("expected Dex JSON wire data");
48
+ const value = parseExactIntegerJSON(wire.data);
49
+ return decode ? decode(value) : value;
50
+ }
51
+ };
52
+ }
53
+ var ConfigSchema = z.object({
54
+ "baseUrl": z.string().optional(),
55
+ "timeoutMs": z.number().int().optional(),
56
+ "maxResponseBytes": z.number().int().optional()
57
+ });
58
+ var CredentialMaterialError = class extends TypeError {
59
+ constructor(message) {
60
+ super(message);
61
+ this.name = "CredentialMaterialError";
62
+ }
63
+ };
64
+ var sdkCredentialDecodingFailureMessages = /* @__PURE__ */ new Set([
65
+ "project credential decoding failed",
66
+ "shared project credential decoding failed",
67
+ "project credential decoding failed: this connector version does not support shared credentials"
68
+ ]);
69
+ function isCredentialMaterialError(error) {
70
+ return error instanceof CredentialMaterialError || error instanceof TypeError && sdkCredentialDecodingFailureMessages.has(error.message);
71
+ }
72
+ function decodeCredentials(value) {
73
+ if (!value || typeof value !== "object" || Array.isArray(value)) throw new CredentialMaterialError("credential fields are invalid");
74
+ const fields = value;
75
+ const allowed = /* @__PURE__ */ new Set(["api_key"]);
76
+ if (Object.keys(fields).some((key) => !allowed.has(key))) throw new CredentialMaterialError("stored credential does not match the connector credential fields");
77
+ if (fields["api_key"] != null && !(typeof fields["api_key"] === "string")) throw new CredentialMaterialError("credential api_key has an invalid type");
78
+ const credentials = {};
79
+ if (!fields["api_key"]) throw new CredentialMaterialError("credential api_key is required");
80
+ credentials.apiKey = new SecretString(fields["api_key"] ?? "");
81
+ return credentials;
82
+ }
83
+ var LookupCardBrandsByBINInputSchema = z.strictObject({
84
+ "merchantAccount": z.string(),
85
+ "issuerBin": z.string(),
86
+ "countryCode": z.string().optional()
87
+ });
88
+ var CardBrandSchema = z.strictObject({
89
+ "type": z.string(),
90
+ "supported": z.boolean()
91
+ });
92
+ var CardBrandsSchema = z.strictObject({
93
+ "brands": z.array(CardBrandSchema).nullable()
94
+ });
95
+ var PaymentModificationInputSchema = z.strictObject({
96
+ "merchantAccount": z.string(),
97
+ "paymentPspReference": z.string(),
98
+ "reference": z.string().optional(),
99
+ "currencyCode": z.string().optional(),
100
+ "amountMinorUnits": signedIntegerSchema.optional()
101
+ });
102
+ var PaymentModificationReceiptSchema = z.strictObject({
103
+ "paymentPspReference": z.string(),
104
+ "modificationPspReference": z.string(),
105
+ "status": z.string()
106
+ });
107
+ var PaymentReferenceModificationInputSchema = z.strictObject({
108
+ "merchantAccount": z.string(),
109
+ "paymentPspReference": z.string(),
110
+ "reference": z.string().optional()
111
+ });
112
+ var ListPaymentMethodsInputSchema = z.strictObject({
113
+ "merchantAccount": z.string(),
114
+ "currencyCode": z.string(),
115
+ "amountMinorUnits": signedIntegerSchema,
116
+ "countryCode": z.string().optional()
117
+ });
118
+ var AvailablePaymentMethodSchema = z.strictObject({
119
+ "type": z.string(),
120
+ "name": z.string()
121
+ });
122
+ var PaymentMethodPageSchema = z.strictObject({
123
+ "methods": z.array(AvailablePaymentMethodSchema).nullable()
124
+ });
125
+ var CreatePaymentLinkInputSchema = z.strictObject({
126
+ "merchantAccount": z.string(),
127
+ "reference": z.string(),
128
+ "currencyCode": z.string(),
129
+ "amountMinorUnits": signedIntegerSchema,
130
+ "countryCode": z.string().optional()
131
+ });
132
+ var CreatedPaymentLinkSchema = z.strictObject({
133
+ "id": z.string(),
134
+ "status": z.string(),
135
+ "currencyCode": z.string(),
136
+ "amountMinorUnits": signedIntegerSchema,
137
+ "url": z.string()
138
+ });
139
+ var ExpirePaymentLinkInputSchema = z.strictObject({
140
+ "paymentLinkId": z.string()
141
+ });
142
+ var PaymentLinkStatusSchema = z.strictObject({
143
+ "id": z.string(),
144
+ "status": z.string(),
145
+ "currencyCode": z.string()
146
+ });
147
+ var GetPaymentLinkInputSchema = z.strictObject({
148
+ "paymentLinkId": z.string()
149
+ });
150
+
151
+ // src/generated/definitions.ts
152
+ var ConnectorID = "adyen";
153
+ var ProviderID = "adyen";
154
+ var LookupCardBrandsByBINBranch = {
155
+ Found: "found",
156
+ ProviderRejected: "providerRejected",
157
+ InvalidResponse: "invalidResponse",
158
+ Defect: "defect"
159
+ };
160
+ var LookupCardBrandsByBINBranchFound = LookupCardBrandsByBINBranch.Found;
161
+ var LookupCardBrandsByBINBranchProviderRejected = LookupCardBrandsByBINBranch.ProviderRejected;
162
+ var LookupCardBrandsByBINBranchInvalidResponse = LookupCardBrandsByBINBranch.InvalidResponse;
163
+ var LookupCardBrandsByBINBranchDefect = LookupCardBrandsByBINBranch.Defect;
164
+ var LookupCardBrandsByBINDefinition = {
165
+ operation: { connectorId: ConnectorID, operationId: "lookupCardBrandsByBIN" },
166
+ branches: [
167
+ { id: "found", description: "Adyen returned card brands for the issuer BIN." },
168
+ { id: "providerRejected", description: "Adyen conclusively rejected the lookup.", optional: true },
169
+ { id: "invalidResponse", description: "Adyen returned malformed or oversized JSON.", optional: true },
170
+ { id: "defect", description: "Local input or credentials are invalid.", optional: true }
171
+ ],
172
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
173
+ };
174
+ var LookupCardBrandsByBINMetadata = { kind: "query", idempotency: "none", authorization: "required" };
175
+ var CapturePaymentBranch = {
176
+ Received: "received",
177
+ ProviderRejected: "providerRejected",
178
+ Defect: "defect"
179
+ };
180
+ var CapturePaymentBranchReceived = CapturePaymentBranch.Received;
181
+ var CapturePaymentBranchProviderRejected = CapturePaymentBranch.ProviderRejected;
182
+ var CapturePaymentBranchDefect = CapturePaymentBranch.Defect;
183
+ var CapturePaymentDefinition = {
184
+ operation: { connectorId: ConnectorID, operationId: "capturePayment" },
185
+ branches: [
186
+ { id: "received", description: "Adyen received the modification for asynchronous processing." },
187
+ { id: "providerRejected", description: "Adyen conclusively rejected the modification.", optional: true },
188
+ { id: "defect", description: "Local input or credentials are invalid.", optional: true }
189
+ ],
190
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
191
+ repeatOnUnknown: "safe"
192
+ };
193
+ var CapturePaymentMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
194
+ var CancelPaymentBranch = {
195
+ Received: "received",
196
+ ProviderRejected: "providerRejected",
197
+ Defect: "defect"
198
+ };
199
+ var CancelPaymentBranchReceived = CancelPaymentBranch.Received;
200
+ var CancelPaymentBranchProviderRejected = CancelPaymentBranch.ProviderRejected;
201
+ var CancelPaymentBranchDefect = CancelPaymentBranch.Defect;
202
+ var CancelPaymentDefinition = {
203
+ operation: { connectorId: ConnectorID, operationId: "cancelPayment" },
204
+ branches: [
205
+ { id: "received", description: "Adyen received the modification for asynchronous processing." },
206
+ { id: "providerRejected", description: "Adyen conclusively rejected the modification.", optional: true },
207
+ { id: "defect", description: "Local input or credentials are invalid.", optional: true }
208
+ ],
209
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
210
+ repeatOnUnknown: "safe"
211
+ };
212
+ var CancelPaymentMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
213
+ var RefundPaymentBranch = {
214
+ Received: "received",
215
+ ProviderRejected: "providerRejected",
216
+ Defect: "defect"
217
+ };
218
+ var RefundPaymentBranchReceived = RefundPaymentBranch.Received;
219
+ var RefundPaymentBranchProviderRejected = RefundPaymentBranch.ProviderRejected;
220
+ var RefundPaymentBranchDefect = RefundPaymentBranch.Defect;
221
+ var RefundPaymentDefinition = {
222
+ operation: { connectorId: ConnectorID, operationId: "refundPayment" },
223
+ branches: [
224
+ { id: "received", description: "Adyen received the modification for asynchronous processing." },
225
+ { id: "providerRejected", description: "Adyen conclusively rejected the modification.", optional: true },
226
+ { id: "defect", description: "Local input or credentials are invalid.", optional: true }
227
+ ],
228
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
229
+ repeatOnUnknown: "safe"
230
+ };
231
+ var RefundPaymentMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
232
+ var ReversePaymentBranch = {
233
+ Received: "received",
234
+ ProviderRejected: "providerRejected",
235
+ Defect: "defect"
236
+ };
237
+ var ReversePaymentBranchReceived = ReversePaymentBranch.Received;
238
+ var ReversePaymentBranchProviderRejected = ReversePaymentBranch.ProviderRejected;
239
+ var ReversePaymentBranchDefect = ReversePaymentBranch.Defect;
240
+ var ReversePaymentDefinition = {
241
+ operation: { connectorId: ConnectorID, operationId: "reversePayment" },
242
+ branches: [
243
+ { id: "received", description: "Adyen received the modification for asynchronous processing." },
244
+ { id: "providerRejected", description: "Adyen conclusively rejected the modification.", optional: true },
245
+ { id: "defect", description: "Local input or credentials are invalid.", optional: true }
246
+ ],
247
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
248
+ repeatOnUnknown: "safe"
249
+ };
250
+ var ReversePaymentMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
251
+ var UpdateAuthorisedAmountBranch = {
252
+ Received: "received",
253
+ ProviderRejected: "providerRejected",
254
+ Defect: "defect"
255
+ };
256
+ var UpdateAuthorisedAmountBranchReceived = UpdateAuthorisedAmountBranch.Received;
257
+ var UpdateAuthorisedAmountBranchProviderRejected = UpdateAuthorisedAmountBranch.ProviderRejected;
258
+ var UpdateAuthorisedAmountBranchDefect = UpdateAuthorisedAmountBranch.Defect;
259
+ var UpdateAuthorisedAmountDefinition = {
260
+ operation: { connectorId: ConnectorID, operationId: "updateAuthorisedAmount" },
261
+ branches: [
262
+ { id: "received", description: "Adyen received the modification for asynchronous processing." },
263
+ { id: "providerRejected", description: "Adyen conclusively rejected the modification.", optional: true },
264
+ { id: "defect", description: "Local input or credentials are invalid.", optional: true }
265
+ ],
266
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
267
+ repeatOnUnknown: "safe"
268
+ };
269
+ var UpdateAuthorisedAmountMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
270
+ var ListPaymentMethodsBranch = {
271
+ Listed: "listed",
272
+ ProviderRejected: "providerRejected",
273
+ InvalidResponse: "invalidResponse",
274
+ Defect: "defect"
275
+ };
276
+ var ListPaymentMethodsBranchListed = ListPaymentMethodsBranch.Listed;
277
+ var ListPaymentMethodsBranchProviderRejected = ListPaymentMethodsBranch.ProviderRejected;
278
+ var ListPaymentMethodsBranchInvalidResponse = ListPaymentMethodsBranch.InvalidResponse;
279
+ var ListPaymentMethodsBranchDefect = ListPaymentMethodsBranch.Defect;
280
+ var ListPaymentMethodsDefinition = {
281
+ operation: { connectorId: ConnectorID, operationId: "listPaymentMethods" },
282
+ branches: [
283
+ { id: "listed", description: "Adyen returned available payment methods." },
284
+ { id: "providerRejected", description: "Adyen conclusively rejected the request.", optional: true },
285
+ { id: "invalidResponse", description: "Adyen returned malformed or oversized JSON.", optional: true },
286
+ { id: "defect", description: "Local input or connection credentials are invalid.", optional: true }
287
+ ],
288
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
289
+ };
290
+ var ListPaymentMethodsMetadata = { kind: "query", idempotency: "none", authorization: "required" };
291
+ var CreatePaymentLinkBranch = {
292
+ Created: "created",
293
+ ProviderRejected: "providerRejected",
294
+ InvalidResponse: "invalidResponse",
295
+ Defect: "defect"
296
+ };
297
+ var CreatePaymentLinkBranchCreated = CreatePaymentLinkBranch.Created;
298
+ var CreatePaymentLinkBranchProviderRejected = CreatePaymentLinkBranch.ProviderRejected;
299
+ var CreatePaymentLinkBranchInvalidResponse = CreatePaymentLinkBranch.InvalidResponse;
300
+ var CreatePaymentLinkBranchDefect = CreatePaymentLinkBranch.Defect;
301
+ var CreatePaymentLinkDefinition = {
302
+ operation: { connectorId: ConnectorID, operationId: "createPaymentLink" },
303
+ branches: [
304
+ { id: "created", description: "Adyen created a payment link." },
305
+ { id: "providerRejected", description: "Adyen conclusively rejected the payment link request.", optional: true },
306
+ { id: "invalidResponse", description: "Adyen returned malformed or oversized JSON.", optional: true },
307
+ { id: "defect", description: "Local input or connection credentials are invalid.", optional: true }
308
+ ],
309
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
310
+ repeatOnUnknown: "safe"
311
+ };
312
+ var CreatePaymentLinkMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
313
+ var ExpirePaymentLinkBranch = {
314
+ Expired: "expired",
315
+ NotFound: "notFound",
316
+ ProviderRejected: "providerRejected",
317
+ InvalidResponse: "invalidResponse",
318
+ Defect: "defect"
319
+ };
320
+ var ExpirePaymentLinkBranchExpired = ExpirePaymentLinkBranch.Expired;
321
+ var ExpirePaymentLinkBranchNotFound = ExpirePaymentLinkBranch.NotFound;
322
+ var ExpirePaymentLinkBranchProviderRejected = ExpirePaymentLinkBranch.ProviderRejected;
323
+ var ExpirePaymentLinkBranchInvalidResponse = ExpirePaymentLinkBranch.InvalidResponse;
324
+ var ExpirePaymentLinkBranchDefect = ExpirePaymentLinkBranch.Defect;
325
+ var ExpirePaymentLinkDefinition = {
326
+ operation: { connectorId: ConnectorID, operationId: "expirePaymentLink" },
327
+ branches: [
328
+ { id: "expired", description: "Adyen confirmed the link expired." },
329
+ { id: "notFound", description: "Adyen did not expose the payment link.", optional: true },
330
+ { id: "providerRejected", description: "Adyen conclusively rejected expiry.", optional: true },
331
+ { id: "invalidResponse", description: "Adyen returned malformed or oversized JSON.", optional: true },
332
+ { id: "defect", description: "Local input or connection credentials are invalid.", optional: true }
333
+ ],
334
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
335
+ repeatOnUnknown: "safe"
336
+ };
337
+ var ExpirePaymentLinkMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
338
+ var GetPaymentLinkBranch = {
339
+ Found: "found",
340
+ NotFound: "notFound",
341
+ ProviderRejected: "providerRejected",
342
+ InvalidResponse: "invalidResponse",
343
+ Defect: "defect"
344
+ };
345
+ var GetPaymentLinkBranchFound = GetPaymentLinkBranch.Found;
346
+ var GetPaymentLinkBranchNotFound = GetPaymentLinkBranch.NotFound;
347
+ var GetPaymentLinkBranchProviderRejected = GetPaymentLinkBranch.ProviderRejected;
348
+ var GetPaymentLinkBranchInvalidResponse = GetPaymentLinkBranch.InvalidResponse;
349
+ var GetPaymentLinkBranchDefect = GetPaymentLinkBranch.Defect;
350
+ var GetPaymentLinkDefinition = {
351
+ operation: { connectorId: ConnectorID, operationId: "getPaymentLink" },
352
+ branches: [
353
+ { id: "found", description: "Adyen returned the payment link." },
354
+ { id: "notFound", description: "Adyen did not expose the payment link.", optional: true },
355
+ { id: "providerRejected", description: "Adyen conclusively rejected the lookup.", optional: true },
356
+ { id: "invalidResponse", description: "Adyen returned malformed or oversized JSON.", optional: true },
357
+ { id: "defect", description: "Local input or connection credentials are invalid.", optional: true }
358
+ ],
359
+ stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
360
+ };
361
+ var GetPaymentLinkMetadata = { kind: "query", idempotency: "none", authorization: "required" };
362
+
363
+ // src/generated/connection.ts
364
+ import { ConnectionRefSchema } from "@superdurable/connectors-sdk";
365
+ var Connection = class {
366
+ /** Stable provider and connection name. */
367
+ reference;
368
+ /** Bound provider operations. */
369
+ operations;
370
+ /** Validate a reference and bind operations. */
371
+ constructor(reference, operations) {
372
+ this.reference = ConnectionRefSchema.parse(reference);
373
+ if (this.reference.provider !== ProviderID) throw new TypeError("connection provider differs from the manifest");
374
+ if (!operations) throw new TypeError("connector operations are required");
375
+ this.operations = operations;
376
+ }
377
+ };
378
+ function newConnection(client, reference) {
379
+ if (!client) throw new TypeError("connector client is required");
380
+ return new Connection(reference, client);
381
+ }
382
+ function newConnectionWithOperations(operations, reference) {
383
+ return new Connection(reference, operations);
384
+ }
385
+ function newProjectConnection(project, connectionName, createClient) {
386
+ if (!project) throw new TypeError("loaded project is required");
387
+ const reference = ConnectionRefSchema.parse({ provider: ProviderID, name: connectionName });
388
+ const selected = project.configuration.connections.find((entry) => entry.connectorId === ConnectorID && entry.connectionName === connectionName);
389
+ if (!selected || selected.provider !== ProviderID) throw new TypeError("project connection is not configured");
390
+ return newConnection(createClient(project, connectionName), reference);
391
+ }
392
+
393
+ export {
394
+ decodeSignedInteger,
395
+ parseJSONNumberTokens,
396
+ parseExactIntegerJSON,
397
+ exactIntegerJSONCodec,
398
+ ConfigSchema,
399
+ CredentialMaterialError,
400
+ isCredentialMaterialError,
401
+ decodeCredentials,
402
+ LookupCardBrandsByBINInputSchema,
403
+ CardBrandSchema,
404
+ CardBrandsSchema,
405
+ PaymentModificationInputSchema,
406
+ PaymentModificationReceiptSchema,
407
+ PaymentReferenceModificationInputSchema,
408
+ ListPaymentMethodsInputSchema,
409
+ AvailablePaymentMethodSchema,
410
+ PaymentMethodPageSchema,
411
+ CreatePaymentLinkInputSchema,
412
+ CreatedPaymentLinkSchema,
413
+ ExpirePaymentLinkInputSchema,
414
+ PaymentLinkStatusSchema,
415
+ GetPaymentLinkInputSchema,
416
+ ConnectorID,
417
+ ProviderID,
418
+ LookupCardBrandsByBINBranch,
419
+ LookupCardBrandsByBINBranchFound,
420
+ LookupCardBrandsByBINBranchProviderRejected,
421
+ LookupCardBrandsByBINBranchInvalidResponse,
422
+ LookupCardBrandsByBINBranchDefect,
423
+ LookupCardBrandsByBINDefinition,
424
+ LookupCardBrandsByBINMetadata,
425
+ CapturePaymentBranch,
426
+ CapturePaymentBranchReceived,
427
+ CapturePaymentBranchProviderRejected,
428
+ CapturePaymentBranchDefect,
429
+ CapturePaymentDefinition,
430
+ CapturePaymentMetadata,
431
+ CancelPaymentBranch,
432
+ CancelPaymentBranchReceived,
433
+ CancelPaymentBranchProviderRejected,
434
+ CancelPaymentBranchDefect,
435
+ CancelPaymentDefinition,
436
+ CancelPaymentMetadata,
437
+ RefundPaymentBranch,
438
+ RefundPaymentBranchReceived,
439
+ RefundPaymentBranchProviderRejected,
440
+ RefundPaymentBranchDefect,
441
+ RefundPaymentDefinition,
442
+ RefundPaymentMetadata,
443
+ ReversePaymentBranch,
444
+ ReversePaymentBranchReceived,
445
+ ReversePaymentBranchProviderRejected,
446
+ ReversePaymentBranchDefect,
447
+ ReversePaymentDefinition,
448
+ ReversePaymentMetadata,
449
+ UpdateAuthorisedAmountBranch,
450
+ UpdateAuthorisedAmountBranchReceived,
451
+ UpdateAuthorisedAmountBranchProviderRejected,
452
+ UpdateAuthorisedAmountBranchDefect,
453
+ UpdateAuthorisedAmountDefinition,
454
+ UpdateAuthorisedAmountMetadata,
455
+ ListPaymentMethodsBranch,
456
+ ListPaymentMethodsBranchListed,
457
+ ListPaymentMethodsBranchProviderRejected,
458
+ ListPaymentMethodsBranchInvalidResponse,
459
+ ListPaymentMethodsBranchDefect,
460
+ ListPaymentMethodsDefinition,
461
+ ListPaymentMethodsMetadata,
462
+ CreatePaymentLinkBranch,
463
+ CreatePaymentLinkBranchCreated,
464
+ CreatePaymentLinkBranchProviderRejected,
465
+ CreatePaymentLinkBranchInvalidResponse,
466
+ CreatePaymentLinkBranchDefect,
467
+ CreatePaymentLinkDefinition,
468
+ CreatePaymentLinkMetadata,
469
+ ExpirePaymentLinkBranch,
470
+ ExpirePaymentLinkBranchExpired,
471
+ ExpirePaymentLinkBranchNotFound,
472
+ ExpirePaymentLinkBranchProviderRejected,
473
+ ExpirePaymentLinkBranchInvalidResponse,
474
+ ExpirePaymentLinkBranchDefect,
475
+ ExpirePaymentLinkDefinition,
476
+ ExpirePaymentLinkMetadata,
477
+ GetPaymentLinkBranch,
478
+ GetPaymentLinkBranchFound,
479
+ GetPaymentLinkBranchNotFound,
480
+ GetPaymentLinkBranchProviderRejected,
481
+ GetPaymentLinkBranchInvalidResponse,
482
+ GetPaymentLinkBranchDefect,
483
+ GetPaymentLinkDefinition,
484
+ GetPaymentLinkMetadata,
485
+ Connection,
486
+ newConnection,
487
+ newConnectionWithOperations,
488
+ newProjectConnection
489
+ };