@peable.to/contracts 3.1.0 → 4.1.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/dist/cjs/resources/billingEngine/public.js +22 -3
- package/dist/cjs/resources/checkout/checkoutSessions.js +34 -9
- package/dist/cjs/resources/checkout/merchants.js +10 -23
- package/dist/cjs/resources/checkout/paymentMethodConfigurations.js +56 -10
- package/dist/cjs/resources/connect/balance.js +5 -0
- package/dist/cjs/resources/connect/connectedAccounts.js +11 -12
- package/dist/cjs/resources/connect/onboarding.js +13 -24
- package/dist/cjs/resources/payments/paymentIntents.js +39 -2
- package/dist/cjs/vocabulary/checkout.js +18 -1
- package/dist/cjs/vocabulary/errors.js +5 -3
- package/dist/cjs/vocabulary/paymentMethodConfigurations.js +24 -4
- package/dist/esm/resources/billingEngine/public.js +22 -3
- package/dist/esm/resources/checkout/checkoutSessions.js +35 -10
- package/dist/esm/resources/checkout/merchants.js +10 -23
- package/dist/esm/resources/checkout/paymentMethodConfigurations.js +57 -11
- package/dist/esm/resources/connect/balance.js +5 -0
- package/dist/esm/resources/connect/connectedAccounts.js +11 -12
- package/dist/esm/resources/connect/onboarding.js +12 -23
- package/dist/esm/resources/payments/paymentIntents.js +39 -2
- package/dist/esm/vocabulary/checkout.js +17 -0
- package/dist/esm/vocabulary/errors.js +5 -3
- package/dist/esm/vocabulary/paymentMethodConfigurations.js +25 -5
- package/dist/types/resources/billingEngine/index.d.ts +16 -2
- package/dist/types/resources/billingEngine/public.d.ts +32 -3
- package/dist/types/resources/checkout/checkoutSessions.d.ts +96 -31
- package/dist/types/resources/checkout/index.d.ts +406 -41
- package/dist/types/resources/checkout/merchants.d.ts +17 -28
- package/dist/types/resources/checkout/paymentMethodConfigurations.d.ts +440 -8
- package/dist/types/resources/connect/balance.d.ts +98 -5
- package/dist/types/resources/connect/connectedAccounts.d.ts +4 -4
- package/dist/types/resources/connect/index.d.ts +101 -10
- package/dist/types/resources/connect/onboarding.d.ts +15 -15
- package/dist/types/resources/connect/payouts.d.ts +64 -2
- package/dist/types/resources/payments/index.d.ts +310 -0
- package/dist/types/resources/payments/paymentIntents.d.ts +380 -0
- package/dist/types/resources/payments/testHelpers.d.ts +31 -0
- package/dist/types/resources/tax/deadlines.d.ts +3 -3
- package/dist/types/resources/tax/index.d.ts +2 -2
- package/dist/types/resources/tax/registrations.d.ts +2 -2
- package/dist/types/vocabulary/checkout.d.ts +13 -0
- package/dist/types/vocabulary/errors.d.ts +5 -3
- package/dist/types/vocabulary/paymentMethodConfigurations.d.ts +21 -7
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
* Payment method breadth
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
3
|
+
* Payment method breadth — which methods a merchant's payers are offered
|
|
4
|
+
* (`pmc_…`), and the web domains wallets may run on (`pmd_…`). FairCoin is an
|
|
5
|
+
* entry of every configuration and is locked on (ADR 0021 D2); the card-rail
|
|
6
|
+
* methods are the merchant's choice. Both are Orbit's objects; the provider's
|
|
7
|
+
* configuration and domain are bindings behind them (ADR 0016). Card data and
|
|
8
|
+
* bank credentials are entered in the provider's hosted fields and never reach
|
|
9
|
+
* Peable (PCI SAQ-A).
|
|
8
10
|
*/
|
|
9
11
|
/** The merchant's choice (`none`: Orbit's default) and what is in effect. */
|
|
10
12
|
export declare const paymentMethodDisplayPreferenceSchema: z.ZodObject<{
|
|
@@ -32,11 +34,16 @@ export declare const paymentMethodConfigurationEntrySchema: z.ZodObject<{
|
|
|
32
34
|
off: "off";
|
|
33
35
|
}>;
|
|
34
36
|
}, z.core.$strict>;
|
|
37
|
+
locked: z.ZodBoolean;
|
|
35
38
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
39
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
40
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
41
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
36
42
|
provider_unsupported: "provider_unsupported";
|
|
37
43
|
requires_card: "requires_card";
|
|
38
44
|
}>>;
|
|
39
45
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
46
|
+
FAIR: "FAIR";
|
|
40
47
|
EUR: "EUR";
|
|
41
48
|
USD: "USD";
|
|
42
49
|
GBP: "GBP";
|
|
@@ -66,11 +73,53 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
66
73
|
off: "off";
|
|
67
74
|
}>;
|
|
68
75
|
}, z.core.$strict>;
|
|
76
|
+
locked: z.ZodBoolean;
|
|
69
77
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
78
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
79
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
80
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
70
81
|
provider_unsupported: "provider_unsupported";
|
|
71
82
|
requires_card: "requires_card";
|
|
72
83
|
}>>;
|
|
73
84
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
85
|
+
FAIR: "FAIR";
|
|
86
|
+
EUR: "EUR";
|
|
87
|
+
USD: "USD";
|
|
88
|
+
GBP: "GBP";
|
|
89
|
+
CHF: "CHF";
|
|
90
|
+
SEK: "SEK";
|
|
91
|
+
NOK: "NOK";
|
|
92
|
+
DKK: "DKK";
|
|
93
|
+
PLN: "PLN";
|
|
94
|
+
CZK: "CZK";
|
|
95
|
+
CAD: "CAD";
|
|
96
|
+
AUD: "AUD";
|
|
97
|
+
JPY: "JPY";
|
|
98
|
+
}>>;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
faircoin: z.ZodObject<{
|
|
101
|
+
available: z.ZodBoolean;
|
|
102
|
+
display_preference: z.ZodObject<{
|
|
103
|
+
preference: z.ZodEnum<{
|
|
104
|
+
none: "none";
|
|
105
|
+
on: "on";
|
|
106
|
+
off: "off";
|
|
107
|
+
}>;
|
|
108
|
+
value: z.ZodEnum<{
|
|
109
|
+
on: "on";
|
|
110
|
+
off: "off";
|
|
111
|
+
}>;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
locked: z.ZodBoolean;
|
|
114
|
+
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
115
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
116
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
117
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
118
|
+
provider_unsupported: "provider_unsupported";
|
|
119
|
+
requires_card: "requires_card";
|
|
120
|
+
}>>;
|
|
121
|
+
currencies: z.ZodArray<z.ZodEnum<{
|
|
122
|
+
FAIR: "FAIR";
|
|
74
123
|
EUR: "EUR";
|
|
75
124
|
USD: "USD";
|
|
76
125
|
GBP: "GBP";
|
|
@@ -98,11 +147,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
98
147
|
off: "off";
|
|
99
148
|
}>;
|
|
100
149
|
}, z.core.$strict>;
|
|
150
|
+
locked: z.ZodBoolean;
|
|
101
151
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
152
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
153
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
154
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
102
155
|
provider_unsupported: "provider_unsupported";
|
|
103
156
|
requires_card: "requires_card";
|
|
104
157
|
}>>;
|
|
105
158
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
159
|
+
FAIR: "FAIR";
|
|
106
160
|
EUR: "EUR";
|
|
107
161
|
USD: "USD";
|
|
108
162
|
GBP: "GBP";
|
|
@@ -130,11 +184,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
130
184
|
off: "off";
|
|
131
185
|
}>;
|
|
132
186
|
}, z.core.$strict>;
|
|
187
|
+
locked: z.ZodBoolean;
|
|
133
188
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
189
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
190
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
191
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
134
192
|
provider_unsupported: "provider_unsupported";
|
|
135
193
|
requires_card: "requires_card";
|
|
136
194
|
}>>;
|
|
137
195
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
196
|
+
FAIR: "FAIR";
|
|
138
197
|
EUR: "EUR";
|
|
139
198
|
USD: "USD";
|
|
140
199
|
GBP: "GBP";
|
|
@@ -162,11 +221,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
162
221
|
off: "off";
|
|
163
222
|
}>;
|
|
164
223
|
}, z.core.$strict>;
|
|
224
|
+
locked: z.ZodBoolean;
|
|
165
225
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
226
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
227
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
228
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
166
229
|
provider_unsupported: "provider_unsupported";
|
|
167
230
|
requires_card: "requires_card";
|
|
168
231
|
}>>;
|
|
169
232
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
233
|
+
FAIR: "FAIR";
|
|
170
234
|
EUR: "EUR";
|
|
171
235
|
USD: "USD";
|
|
172
236
|
GBP: "GBP";
|
|
@@ -194,11 +258,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
194
258
|
off: "off";
|
|
195
259
|
}>;
|
|
196
260
|
}, z.core.$strict>;
|
|
261
|
+
locked: z.ZodBoolean;
|
|
197
262
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
263
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
264
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
265
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
198
266
|
provider_unsupported: "provider_unsupported";
|
|
199
267
|
requires_card: "requires_card";
|
|
200
268
|
}>>;
|
|
201
269
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
270
|
+
FAIR: "FAIR";
|
|
202
271
|
EUR: "EUR";
|
|
203
272
|
USD: "USD";
|
|
204
273
|
GBP: "GBP";
|
|
@@ -226,11 +295,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
226
295
|
off: "off";
|
|
227
296
|
}>;
|
|
228
297
|
}, z.core.$strict>;
|
|
298
|
+
locked: z.ZodBoolean;
|
|
229
299
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
300
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
301
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
302
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
230
303
|
provider_unsupported: "provider_unsupported";
|
|
231
304
|
requires_card: "requires_card";
|
|
232
305
|
}>>;
|
|
233
306
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
307
|
+
FAIR: "FAIR";
|
|
234
308
|
EUR: "EUR";
|
|
235
309
|
USD: "USD";
|
|
236
310
|
GBP: "GBP";
|
|
@@ -258,11 +332,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
258
332
|
off: "off";
|
|
259
333
|
}>;
|
|
260
334
|
}, z.core.$strict>;
|
|
335
|
+
locked: z.ZodBoolean;
|
|
261
336
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
337
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
338
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
339
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
262
340
|
provider_unsupported: "provider_unsupported";
|
|
263
341
|
requires_card: "requires_card";
|
|
264
342
|
}>>;
|
|
265
343
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
344
|
+
FAIR: "FAIR";
|
|
266
345
|
EUR: "EUR";
|
|
267
346
|
USD: "USD";
|
|
268
347
|
GBP: "GBP";
|
|
@@ -290,11 +369,16 @@ export declare const paymentMethodConfigurationSchema: z.ZodObject<{
|
|
|
290
369
|
off: "off";
|
|
291
370
|
}>;
|
|
292
371
|
}, z.core.$strict>;
|
|
372
|
+
locked: z.ZodBoolean;
|
|
293
373
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
374
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
375
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
376
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
294
377
|
provider_unsupported: "provider_unsupported";
|
|
295
378
|
requires_card: "requires_card";
|
|
296
379
|
}>>;
|
|
297
380
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
381
|
+
FAIR: "FAIR";
|
|
298
382
|
EUR: "EUR";
|
|
299
383
|
USD: "USD";
|
|
300
384
|
GBP: "GBP";
|
|
@@ -367,7 +451,11 @@ declare module '../../common/objects' {
|
|
|
367
451
|
payment_method_domain: PaymentMethodDomain;
|
|
368
452
|
}
|
|
369
453
|
}
|
|
370
|
-
/**
|
|
454
|
+
/**
|
|
455
|
+
* One method's setting in a create or update. `none` returns it to Orbit's
|
|
456
|
+
* default. For `faircoin` only `on` and `none` are accepted, and neither stores
|
|
457
|
+
* anything: it is always on, and `off` is refused with `payment_method_locked`.
|
|
458
|
+
*/
|
|
371
459
|
export declare const paymentMethodConfigurationEntryParams: z.ZodObject<{
|
|
372
460
|
display_preference: z.ZodObject<{
|
|
373
461
|
preference: z.ZodEnum<{
|
|
@@ -389,6 +477,15 @@ export declare const createPaymentMethodConfigurationParams: z.ZodObject<{
|
|
|
389
477
|
}>;
|
|
390
478
|
}, z.core.$strict>;
|
|
391
479
|
}, z.core.$strict>>;
|
|
480
|
+
faircoin: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
display_preference: z.ZodObject<{
|
|
482
|
+
preference: z.ZodEnum<{
|
|
483
|
+
none: "none";
|
|
484
|
+
on: "on";
|
|
485
|
+
off: "off";
|
|
486
|
+
}>;
|
|
487
|
+
}, z.core.$strict>;
|
|
488
|
+
}, z.core.$strict>>;
|
|
392
489
|
sepa_debit: z.ZodOptional<z.ZodObject<{
|
|
393
490
|
display_preference: z.ZodObject<{
|
|
394
491
|
preference: z.ZodEnum<{
|
|
@@ -466,6 +563,15 @@ export declare const updatePaymentMethodConfigurationParams: z.ZodObject<{
|
|
|
466
563
|
}>;
|
|
467
564
|
}, z.core.$strict>;
|
|
468
565
|
}, z.core.$strict>>;
|
|
566
|
+
faircoin: z.ZodOptional<z.ZodObject<{
|
|
567
|
+
display_preference: z.ZodObject<{
|
|
568
|
+
preference: z.ZodEnum<{
|
|
569
|
+
none: "none";
|
|
570
|
+
on: "on";
|
|
571
|
+
off: "off";
|
|
572
|
+
}>;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
}, z.core.$strict>>;
|
|
469
575
|
sepa_debit: z.ZodOptional<z.ZodObject<{
|
|
470
576
|
display_preference: z.ZodObject<{
|
|
471
577
|
preference: z.ZodEnum<{
|
|
@@ -626,11 +732,53 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
626
732
|
off: "off";
|
|
627
733
|
}>;
|
|
628
734
|
}, z.core.$strict>;
|
|
735
|
+
locked: z.ZodBoolean;
|
|
629
736
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
737
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
738
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
739
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
630
740
|
provider_unsupported: "provider_unsupported";
|
|
631
741
|
requires_card: "requires_card";
|
|
632
742
|
}>>;
|
|
633
743
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
744
|
+
FAIR: "FAIR";
|
|
745
|
+
EUR: "EUR";
|
|
746
|
+
USD: "USD";
|
|
747
|
+
GBP: "GBP";
|
|
748
|
+
CHF: "CHF";
|
|
749
|
+
SEK: "SEK";
|
|
750
|
+
NOK: "NOK";
|
|
751
|
+
DKK: "DKK";
|
|
752
|
+
PLN: "PLN";
|
|
753
|
+
CZK: "CZK";
|
|
754
|
+
CAD: "CAD";
|
|
755
|
+
AUD: "AUD";
|
|
756
|
+
JPY: "JPY";
|
|
757
|
+
}>>;
|
|
758
|
+
}, z.core.$strict>;
|
|
759
|
+
faircoin: z.ZodObject<{
|
|
760
|
+
available: z.ZodBoolean;
|
|
761
|
+
display_preference: z.ZodObject<{
|
|
762
|
+
preference: z.ZodEnum<{
|
|
763
|
+
none: "none";
|
|
764
|
+
on: "on";
|
|
765
|
+
off: "off";
|
|
766
|
+
}>;
|
|
767
|
+
value: z.ZodEnum<{
|
|
768
|
+
on: "on";
|
|
769
|
+
off: "off";
|
|
770
|
+
}>;
|
|
771
|
+
}, z.core.$strict>;
|
|
772
|
+
locked: z.ZodBoolean;
|
|
773
|
+
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
774
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
775
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
776
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
777
|
+
provider_unsupported: "provider_unsupported";
|
|
778
|
+
requires_card: "requires_card";
|
|
779
|
+
}>>;
|
|
780
|
+
currencies: z.ZodArray<z.ZodEnum<{
|
|
781
|
+
FAIR: "FAIR";
|
|
634
782
|
EUR: "EUR";
|
|
635
783
|
USD: "USD";
|
|
636
784
|
GBP: "GBP";
|
|
@@ -658,11 +806,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
658
806
|
off: "off";
|
|
659
807
|
}>;
|
|
660
808
|
}, z.core.$strict>;
|
|
809
|
+
locked: z.ZodBoolean;
|
|
661
810
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
811
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
812
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
813
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
662
814
|
provider_unsupported: "provider_unsupported";
|
|
663
815
|
requires_card: "requires_card";
|
|
664
816
|
}>>;
|
|
665
817
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
818
|
+
FAIR: "FAIR";
|
|
666
819
|
EUR: "EUR";
|
|
667
820
|
USD: "USD";
|
|
668
821
|
GBP: "GBP";
|
|
@@ -690,11 +843,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
690
843
|
off: "off";
|
|
691
844
|
}>;
|
|
692
845
|
}, z.core.$strict>;
|
|
846
|
+
locked: z.ZodBoolean;
|
|
693
847
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
848
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
849
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
850
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
694
851
|
provider_unsupported: "provider_unsupported";
|
|
695
852
|
requires_card: "requires_card";
|
|
696
853
|
}>>;
|
|
697
854
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
855
|
+
FAIR: "FAIR";
|
|
698
856
|
EUR: "EUR";
|
|
699
857
|
USD: "USD";
|
|
700
858
|
GBP: "GBP";
|
|
@@ -722,11 +880,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
722
880
|
off: "off";
|
|
723
881
|
}>;
|
|
724
882
|
}, z.core.$strict>;
|
|
883
|
+
locked: z.ZodBoolean;
|
|
725
884
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
885
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
886
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
887
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
726
888
|
provider_unsupported: "provider_unsupported";
|
|
727
889
|
requires_card: "requires_card";
|
|
728
890
|
}>>;
|
|
729
891
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
892
|
+
FAIR: "FAIR";
|
|
730
893
|
EUR: "EUR";
|
|
731
894
|
USD: "USD";
|
|
732
895
|
GBP: "GBP";
|
|
@@ -754,11 +917,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
754
917
|
off: "off";
|
|
755
918
|
}>;
|
|
756
919
|
}, z.core.$strict>;
|
|
920
|
+
locked: z.ZodBoolean;
|
|
757
921
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
922
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
923
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
924
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
758
925
|
provider_unsupported: "provider_unsupported";
|
|
759
926
|
requires_card: "requires_card";
|
|
760
927
|
}>>;
|
|
761
928
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
929
|
+
FAIR: "FAIR";
|
|
762
930
|
EUR: "EUR";
|
|
763
931
|
USD: "USD";
|
|
764
932
|
GBP: "GBP";
|
|
@@ -786,11 +954,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
786
954
|
off: "off";
|
|
787
955
|
}>;
|
|
788
956
|
}, z.core.$strict>;
|
|
957
|
+
locked: z.ZodBoolean;
|
|
789
958
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
959
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
960
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
961
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
790
962
|
provider_unsupported: "provider_unsupported";
|
|
791
963
|
requires_card: "requires_card";
|
|
792
964
|
}>>;
|
|
793
965
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
966
|
+
FAIR: "FAIR";
|
|
794
967
|
EUR: "EUR";
|
|
795
968
|
USD: "USD";
|
|
796
969
|
GBP: "GBP";
|
|
@@ -818,11 +991,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
818
991
|
off: "off";
|
|
819
992
|
}>;
|
|
820
993
|
}, z.core.$strict>;
|
|
994
|
+
locked: z.ZodBoolean;
|
|
821
995
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
996
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
997
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
998
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
822
999
|
provider_unsupported: "provider_unsupported";
|
|
823
1000
|
requires_card: "requires_card";
|
|
824
1001
|
}>>;
|
|
825
1002
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1003
|
+
FAIR: "FAIR";
|
|
826
1004
|
EUR: "EUR";
|
|
827
1005
|
USD: "USD";
|
|
828
1006
|
GBP: "GBP";
|
|
@@ -850,11 +1028,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
850
1028
|
off: "off";
|
|
851
1029
|
}>;
|
|
852
1030
|
}, z.core.$strict>;
|
|
1031
|
+
locked: z.ZodBoolean;
|
|
853
1032
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1033
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1034
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1035
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
854
1036
|
provider_unsupported: "provider_unsupported";
|
|
855
1037
|
requires_card: "requires_card";
|
|
856
1038
|
}>>;
|
|
857
1039
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1040
|
+
FAIR: "FAIR";
|
|
858
1041
|
EUR: "EUR";
|
|
859
1042
|
USD: "USD";
|
|
860
1043
|
GBP: "GBP";
|
|
@@ -889,7 +1072,7 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
889
1072
|
readonly path: "/v1/payment_method_configurations";
|
|
890
1073
|
readonly tag: "Payment method configurations";
|
|
891
1074
|
readonly summary: "Create a payment method configuration";
|
|
892
|
-
readonly description: "An additional, non-default configuration. Turning `on` a method the processing provider does not offer is refused.";
|
|
1075
|
+
readonly description: "An additional, non-default configuration. Turning `on` a method the processing provider does not offer is refused, and so is turning `faircoin` `off` (`payment_method_locked`): FairCoin is always offered.";
|
|
893
1076
|
readonly auth: "service";
|
|
894
1077
|
readonly scope: "payments:write";
|
|
895
1078
|
readonly idempotent: true;
|
|
@@ -903,6 +1086,15 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
903
1086
|
}>;
|
|
904
1087
|
}, z.core.$strict>;
|
|
905
1088
|
}, z.core.$strict>>;
|
|
1089
|
+
faircoin: z.ZodOptional<z.ZodObject<{
|
|
1090
|
+
display_preference: z.ZodObject<{
|
|
1091
|
+
preference: z.ZodEnum<{
|
|
1092
|
+
none: "none";
|
|
1093
|
+
on: "on";
|
|
1094
|
+
off: "off";
|
|
1095
|
+
}>;
|
|
1096
|
+
}, z.core.$strict>;
|
|
1097
|
+
}, z.core.$strict>>;
|
|
906
1098
|
sepa_debit: z.ZodOptional<z.ZodObject<{
|
|
907
1099
|
display_preference: z.ZodObject<{
|
|
908
1100
|
preference: z.ZodEnum<{
|
|
@@ -982,11 +1174,53 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
982
1174
|
off: "off";
|
|
983
1175
|
}>;
|
|
984
1176
|
}, z.core.$strict>;
|
|
1177
|
+
locked: z.ZodBoolean;
|
|
985
1178
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1179
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1180
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1181
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
986
1182
|
provider_unsupported: "provider_unsupported";
|
|
987
1183
|
requires_card: "requires_card";
|
|
988
1184
|
}>>;
|
|
989
1185
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1186
|
+
FAIR: "FAIR";
|
|
1187
|
+
EUR: "EUR";
|
|
1188
|
+
USD: "USD";
|
|
1189
|
+
GBP: "GBP";
|
|
1190
|
+
CHF: "CHF";
|
|
1191
|
+
SEK: "SEK";
|
|
1192
|
+
NOK: "NOK";
|
|
1193
|
+
DKK: "DKK";
|
|
1194
|
+
PLN: "PLN";
|
|
1195
|
+
CZK: "CZK";
|
|
1196
|
+
CAD: "CAD";
|
|
1197
|
+
AUD: "AUD";
|
|
1198
|
+
JPY: "JPY";
|
|
1199
|
+
}>>;
|
|
1200
|
+
}, z.core.$strict>;
|
|
1201
|
+
faircoin: z.ZodObject<{
|
|
1202
|
+
available: z.ZodBoolean;
|
|
1203
|
+
display_preference: z.ZodObject<{
|
|
1204
|
+
preference: z.ZodEnum<{
|
|
1205
|
+
none: "none";
|
|
1206
|
+
on: "on";
|
|
1207
|
+
off: "off";
|
|
1208
|
+
}>;
|
|
1209
|
+
value: z.ZodEnum<{
|
|
1210
|
+
on: "on";
|
|
1211
|
+
off: "off";
|
|
1212
|
+
}>;
|
|
1213
|
+
}, z.core.$strict>;
|
|
1214
|
+
locked: z.ZodBoolean;
|
|
1215
|
+
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1216
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1217
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1218
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1219
|
+
provider_unsupported: "provider_unsupported";
|
|
1220
|
+
requires_card: "requires_card";
|
|
1221
|
+
}>>;
|
|
1222
|
+
currencies: z.ZodArray<z.ZodEnum<{
|
|
1223
|
+
FAIR: "FAIR";
|
|
990
1224
|
EUR: "EUR";
|
|
991
1225
|
USD: "USD";
|
|
992
1226
|
GBP: "GBP";
|
|
@@ -1014,11 +1248,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1014
1248
|
off: "off";
|
|
1015
1249
|
}>;
|
|
1016
1250
|
}, z.core.$strict>;
|
|
1251
|
+
locked: z.ZodBoolean;
|
|
1017
1252
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1253
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1254
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1255
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1018
1256
|
provider_unsupported: "provider_unsupported";
|
|
1019
1257
|
requires_card: "requires_card";
|
|
1020
1258
|
}>>;
|
|
1021
1259
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1260
|
+
FAIR: "FAIR";
|
|
1022
1261
|
EUR: "EUR";
|
|
1023
1262
|
USD: "USD";
|
|
1024
1263
|
GBP: "GBP";
|
|
@@ -1046,11 +1285,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1046
1285
|
off: "off";
|
|
1047
1286
|
}>;
|
|
1048
1287
|
}, z.core.$strict>;
|
|
1288
|
+
locked: z.ZodBoolean;
|
|
1049
1289
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1290
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1291
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1292
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1050
1293
|
provider_unsupported: "provider_unsupported";
|
|
1051
1294
|
requires_card: "requires_card";
|
|
1052
1295
|
}>>;
|
|
1053
1296
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1297
|
+
FAIR: "FAIR";
|
|
1054
1298
|
EUR: "EUR";
|
|
1055
1299
|
USD: "USD";
|
|
1056
1300
|
GBP: "GBP";
|
|
@@ -1078,11 +1322,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1078
1322
|
off: "off";
|
|
1079
1323
|
}>;
|
|
1080
1324
|
}, z.core.$strict>;
|
|
1325
|
+
locked: z.ZodBoolean;
|
|
1081
1326
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1327
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1328
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1329
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1082
1330
|
provider_unsupported: "provider_unsupported";
|
|
1083
1331
|
requires_card: "requires_card";
|
|
1084
1332
|
}>>;
|
|
1085
1333
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1334
|
+
FAIR: "FAIR";
|
|
1086
1335
|
EUR: "EUR";
|
|
1087
1336
|
USD: "USD";
|
|
1088
1337
|
GBP: "GBP";
|
|
@@ -1110,11 +1359,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1110
1359
|
off: "off";
|
|
1111
1360
|
}>;
|
|
1112
1361
|
}, z.core.$strict>;
|
|
1362
|
+
locked: z.ZodBoolean;
|
|
1113
1363
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1364
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1365
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1366
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1114
1367
|
provider_unsupported: "provider_unsupported";
|
|
1115
1368
|
requires_card: "requires_card";
|
|
1116
1369
|
}>>;
|
|
1117
1370
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1371
|
+
FAIR: "FAIR";
|
|
1118
1372
|
EUR: "EUR";
|
|
1119
1373
|
USD: "USD";
|
|
1120
1374
|
GBP: "GBP";
|
|
@@ -1142,11 +1396,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1142
1396
|
off: "off";
|
|
1143
1397
|
}>;
|
|
1144
1398
|
}, z.core.$strict>;
|
|
1399
|
+
locked: z.ZodBoolean;
|
|
1145
1400
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1401
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1402
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1403
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1146
1404
|
provider_unsupported: "provider_unsupported";
|
|
1147
1405
|
requires_card: "requires_card";
|
|
1148
1406
|
}>>;
|
|
1149
1407
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1408
|
+
FAIR: "FAIR";
|
|
1150
1409
|
EUR: "EUR";
|
|
1151
1410
|
USD: "USD";
|
|
1152
1411
|
GBP: "GBP";
|
|
@@ -1174,11 +1433,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1174
1433
|
off: "off";
|
|
1175
1434
|
}>;
|
|
1176
1435
|
}, z.core.$strict>;
|
|
1436
|
+
locked: z.ZodBoolean;
|
|
1177
1437
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1438
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1439
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1440
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1178
1441
|
provider_unsupported: "provider_unsupported";
|
|
1179
1442
|
requires_card: "requires_card";
|
|
1180
1443
|
}>>;
|
|
1181
1444
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1445
|
+
FAIR: "FAIR";
|
|
1182
1446
|
EUR: "EUR";
|
|
1183
1447
|
USD: "USD";
|
|
1184
1448
|
GBP: "GBP";
|
|
@@ -1206,11 +1470,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1206
1470
|
off: "off";
|
|
1207
1471
|
}>;
|
|
1208
1472
|
}, z.core.$strict>;
|
|
1473
|
+
locked: z.ZodBoolean;
|
|
1209
1474
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1475
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1476
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1477
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1210
1478
|
provider_unsupported: "provider_unsupported";
|
|
1211
1479
|
requires_card: "requires_card";
|
|
1212
1480
|
}>>;
|
|
1213
1481
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1482
|
+
FAIR: "FAIR";
|
|
1214
1483
|
EUR: "EUR";
|
|
1215
1484
|
USD: "USD";
|
|
1216
1485
|
GBP: "GBP";
|
|
@@ -1263,11 +1532,53 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1263
1532
|
off: "off";
|
|
1264
1533
|
}>;
|
|
1265
1534
|
}, z.core.$strict>;
|
|
1535
|
+
locked: z.ZodBoolean;
|
|
1536
|
+
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1537
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1538
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1539
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1540
|
+
provider_unsupported: "provider_unsupported";
|
|
1541
|
+
requires_card: "requires_card";
|
|
1542
|
+
}>>;
|
|
1543
|
+
currencies: z.ZodArray<z.ZodEnum<{
|
|
1544
|
+
FAIR: "FAIR";
|
|
1545
|
+
EUR: "EUR";
|
|
1546
|
+
USD: "USD";
|
|
1547
|
+
GBP: "GBP";
|
|
1548
|
+
CHF: "CHF";
|
|
1549
|
+
SEK: "SEK";
|
|
1550
|
+
NOK: "NOK";
|
|
1551
|
+
DKK: "DKK";
|
|
1552
|
+
PLN: "PLN";
|
|
1553
|
+
CZK: "CZK";
|
|
1554
|
+
CAD: "CAD";
|
|
1555
|
+
AUD: "AUD";
|
|
1556
|
+
JPY: "JPY";
|
|
1557
|
+
}>>;
|
|
1558
|
+
}, z.core.$strict>;
|
|
1559
|
+
faircoin: z.ZodObject<{
|
|
1560
|
+
available: z.ZodBoolean;
|
|
1561
|
+
display_preference: z.ZodObject<{
|
|
1562
|
+
preference: z.ZodEnum<{
|
|
1563
|
+
none: "none";
|
|
1564
|
+
on: "on";
|
|
1565
|
+
off: "off";
|
|
1566
|
+
}>;
|
|
1567
|
+
value: z.ZodEnum<{
|
|
1568
|
+
on: "on";
|
|
1569
|
+
off: "off";
|
|
1570
|
+
}>;
|
|
1571
|
+
}, z.core.$strict>;
|
|
1572
|
+
locked: z.ZodBoolean;
|
|
1266
1573
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1574
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1575
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1576
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1267
1577
|
provider_unsupported: "provider_unsupported";
|
|
1268
1578
|
requires_card: "requires_card";
|
|
1269
1579
|
}>>;
|
|
1270
1580
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1581
|
+
FAIR: "FAIR";
|
|
1271
1582
|
EUR: "EUR";
|
|
1272
1583
|
USD: "USD";
|
|
1273
1584
|
GBP: "GBP";
|
|
@@ -1295,11 +1606,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1295
1606
|
off: "off";
|
|
1296
1607
|
}>;
|
|
1297
1608
|
}, z.core.$strict>;
|
|
1609
|
+
locked: z.ZodBoolean;
|
|
1298
1610
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1611
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1612
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1613
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1299
1614
|
provider_unsupported: "provider_unsupported";
|
|
1300
1615
|
requires_card: "requires_card";
|
|
1301
1616
|
}>>;
|
|
1302
1617
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1618
|
+
FAIR: "FAIR";
|
|
1303
1619
|
EUR: "EUR";
|
|
1304
1620
|
USD: "USD";
|
|
1305
1621
|
GBP: "GBP";
|
|
@@ -1327,11 +1643,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1327
1643
|
off: "off";
|
|
1328
1644
|
}>;
|
|
1329
1645
|
}, z.core.$strict>;
|
|
1646
|
+
locked: z.ZodBoolean;
|
|
1330
1647
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1648
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1649
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1650
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1331
1651
|
provider_unsupported: "provider_unsupported";
|
|
1332
1652
|
requires_card: "requires_card";
|
|
1333
1653
|
}>>;
|
|
1334
1654
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1655
|
+
FAIR: "FAIR";
|
|
1335
1656
|
EUR: "EUR";
|
|
1336
1657
|
USD: "USD";
|
|
1337
1658
|
GBP: "GBP";
|
|
@@ -1359,11 +1680,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1359
1680
|
off: "off";
|
|
1360
1681
|
}>;
|
|
1361
1682
|
}, z.core.$strict>;
|
|
1683
|
+
locked: z.ZodBoolean;
|
|
1362
1684
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1685
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1686
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1687
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1363
1688
|
provider_unsupported: "provider_unsupported";
|
|
1364
1689
|
requires_card: "requires_card";
|
|
1365
1690
|
}>>;
|
|
1366
1691
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1692
|
+
FAIR: "FAIR";
|
|
1367
1693
|
EUR: "EUR";
|
|
1368
1694
|
USD: "USD";
|
|
1369
1695
|
GBP: "GBP";
|
|
@@ -1391,11 +1717,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1391
1717
|
off: "off";
|
|
1392
1718
|
}>;
|
|
1393
1719
|
}, z.core.$strict>;
|
|
1720
|
+
locked: z.ZodBoolean;
|
|
1394
1721
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1722
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1723
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1724
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1395
1725
|
provider_unsupported: "provider_unsupported";
|
|
1396
1726
|
requires_card: "requires_card";
|
|
1397
1727
|
}>>;
|
|
1398
1728
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1729
|
+
FAIR: "FAIR";
|
|
1399
1730
|
EUR: "EUR";
|
|
1400
1731
|
USD: "USD";
|
|
1401
1732
|
GBP: "GBP";
|
|
@@ -1423,11 +1754,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1423
1754
|
off: "off";
|
|
1424
1755
|
}>;
|
|
1425
1756
|
}, z.core.$strict>;
|
|
1757
|
+
locked: z.ZodBoolean;
|
|
1426
1758
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1759
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1760
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1761
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1427
1762
|
provider_unsupported: "provider_unsupported";
|
|
1428
1763
|
requires_card: "requires_card";
|
|
1429
1764
|
}>>;
|
|
1430
1765
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1766
|
+
FAIR: "FAIR";
|
|
1431
1767
|
EUR: "EUR";
|
|
1432
1768
|
USD: "USD";
|
|
1433
1769
|
GBP: "GBP";
|
|
@@ -1455,11 +1791,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1455
1791
|
off: "off";
|
|
1456
1792
|
}>;
|
|
1457
1793
|
}, z.core.$strict>;
|
|
1794
|
+
locked: z.ZodBoolean;
|
|
1458
1795
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1796
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1797
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1798
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1459
1799
|
provider_unsupported: "provider_unsupported";
|
|
1460
1800
|
requires_card: "requires_card";
|
|
1461
1801
|
}>>;
|
|
1462
1802
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1803
|
+
FAIR: "FAIR";
|
|
1463
1804
|
EUR: "EUR";
|
|
1464
1805
|
USD: "USD";
|
|
1465
1806
|
GBP: "GBP";
|
|
@@ -1487,11 +1828,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1487
1828
|
off: "off";
|
|
1488
1829
|
}>;
|
|
1489
1830
|
}, z.core.$strict>;
|
|
1831
|
+
locked: z.ZodBoolean;
|
|
1490
1832
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1833
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1834
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1835
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1491
1836
|
provider_unsupported: "provider_unsupported";
|
|
1492
1837
|
requires_card: "requires_card";
|
|
1493
1838
|
}>>;
|
|
1494
1839
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
1840
|
+
FAIR: "FAIR";
|
|
1495
1841
|
EUR: "EUR";
|
|
1496
1842
|
USD: "USD";
|
|
1497
1843
|
GBP: "GBP";
|
|
@@ -1523,7 +1869,7 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1523
1869
|
readonly path: "/v1/payment_method_configurations/{id}";
|
|
1524
1870
|
readonly tag: "Payment method configurations";
|
|
1525
1871
|
readonly summary: "Update a payment method configuration";
|
|
1526
|
-
readonly description: "Method settings are merged; the default configuration is always active.";
|
|
1872
|
+
readonly description: "Method settings are merged; the default configuration is always active. `faircoin` is locked on: setting it `off` is refused with `payment_method_locked`.";
|
|
1527
1873
|
readonly auth: "service";
|
|
1528
1874
|
readonly scope: "payments:write";
|
|
1529
1875
|
readonly idempotent: true;
|
|
@@ -1540,6 +1886,15 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1540
1886
|
}>;
|
|
1541
1887
|
}, z.core.$strict>;
|
|
1542
1888
|
}, z.core.$strict>>;
|
|
1889
|
+
faircoin: z.ZodOptional<z.ZodObject<{
|
|
1890
|
+
display_preference: z.ZodObject<{
|
|
1891
|
+
preference: z.ZodEnum<{
|
|
1892
|
+
none: "none";
|
|
1893
|
+
on: "on";
|
|
1894
|
+
off: "off";
|
|
1895
|
+
}>;
|
|
1896
|
+
}, z.core.$strict>;
|
|
1897
|
+
}, z.core.$strict>>;
|
|
1543
1898
|
sepa_debit: z.ZodOptional<z.ZodObject<{
|
|
1544
1899
|
display_preference: z.ZodObject<{
|
|
1545
1900
|
preference: z.ZodEnum<{
|
|
@@ -1620,11 +1975,53 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1620
1975
|
off: "off";
|
|
1621
1976
|
}>;
|
|
1622
1977
|
}, z.core.$strict>;
|
|
1978
|
+
locked: z.ZodBoolean;
|
|
1979
|
+
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
1980
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
1981
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
1982
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1983
|
+
provider_unsupported: "provider_unsupported";
|
|
1984
|
+
requires_card: "requires_card";
|
|
1985
|
+
}>>;
|
|
1986
|
+
currencies: z.ZodArray<z.ZodEnum<{
|
|
1987
|
+
FAIR: "FAIR";
|
|
1988
|
+
EUR: "EUR";
|
|
1989
|
+
USD: "USD";
|
|
1990
|
+
GBP: "GBP";
|
|
1991
|
+
CHF: "CHF";
|
|
1992
|
+
SEK: "SEK";
|
|
1993
|
+
NOK: "NOK";
|
|
1994
|
+
DKK: "DKK";
|
|
1995
|
+
PLN: "PLN";
|
|
1996
|
+
CZK: "CZK";
|
|
1997
|
+
CAD: "CAD";
|
|
1998
|
+
AUD: "AUD";
|
|
1999
|
+
JPY: "JPY";
|
|
2000
|
+
}>>;
|
|
2001
|
+
}, z.core.$strict>;
|
|
2002
|
+
faircoin: z.ZodObject<{
|
|
2003
|
+
available: z.ZodBoolean;
|
|
2004
|
+
display_preference: z.ZodObject<{
|
|
2005
|
+
preference: z.ZodEnum<{
|
|
2006
|
+
none: "none";
|
|
2007
|
+
on: "on";
|
|
2008
|
+
off: "off";
|
|
2009
|
+
}>;
|
|
2010
|
+
value: z.ZodEnum<{
|
|
2011
|
+
on: "on";
|
|
2012
|
+
off: "off";
|
|
2013
|
+
}>;
|
|
2014
|
+
}, z.core.$strict>;
|
|
2015
|
+
locked: z.ZodBoolean;
|
|
1623
2016
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2017
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2018
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2019
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1624
2020
|
provider_unsupported: "provider_unsupported";
|
|
1625
2021
|
requires_card: "requires_card";
|
|
1626
2022
|
}>>;
|
|
1627
2023
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2024
|
+
FAIR: "FAIR";
|
|
1628
2025
|
EUR: "EUR";
|
|
1629
2026
|
USD: "USD";
|
|
1630
2027
|
GBP: "GBP";
|
|
@@ -1652,11 +2049,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1652
2049
|
off: "off";
|
|
1653
2050
|
}>;
|
|
1654
2051
|
}, z.core.$strict>;
|
|
2052
|
+
locked: z.ZodBoolean;
|
|
1655
2053
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2054
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2055
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2056
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1656
2057
|
provider_unsupported: "provider_unsupported";
|
|
1657
2058
|
requires_card: "requires_card";
|
|
1658
2059
|
}>>;
|
|
1659
2060
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2061
|
+
FAIR: "FAIR";
|
|
1660
2062
|
EUR: "EUR";
|
|
1661
2063
|
USD: "USD";
|
|
1662
2064
|
GBP: "GBP";
|
|
@@ -1684,11 +2086,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1684
2086
|
off: "off";
|
|
1685
2087
|
}>;
|
|
1686
2088
|
}, z.core.$strict>;
|
|
2089
|
+
locked: z.ZodBoolean;
|
|
1687
2090
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2091
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2092
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2093
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1688
2094
|
provider_unsupported: "provider_unsupported";
|
|
1689
2095
|
requires_card: "requires_card";
|
|
1690
2096
|
}>>;
|
|
1691
2097
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2098
|
+
FAIR: "FAIR";
|
|
1692
2099
|
EUR: "EUR";
|
|
1693
2100
|
USD: "USD";
|
|
1694
2101
|
GBP: "GBP";
|
|
@@ -1716,11 +2123,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1716
2123
|
off: "off";
|
|
1717
2124
|
}>;
|
|
1718
2125
|
}, z.core.$strict>;
|
|
2126
|
+
locked: z.ZodBoolean;
|
|
1719
2127
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2128
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2129
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2130
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1720
2131
|
provider_unsupported: "provider_unsupported";
|
|
1721
2132
|
requires_card: "requires_card";
|
|
1722
2133
|
}>>;
|
|
1723
2134
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2135
|
+
FAIR: "FAIR";
|
|
1724
2136
|
EUR: "EUR";
|
|
1725
2137
|
USD: "USD";
|
|
1726
2138
|
GBP: "GBP";
|
|
@@ -1748,11 +2160,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1748
2160
|
off: "off";
|
|
1749
2161
|
}>;
|
|
1750
2162
|
}, z.core.$strict>;
|
|
2163
|
+
locked: z.ZodBoolean;
|
|
1751
2164
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2165
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2166
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2167
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1752
2168
|
provider_unsupported: "provider_unsupported";
|
|
1753
2169
|
requires_card: "requires_card";
|
|
1754
2170
|
}>>;
|
|
1755
2171
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2172
|
+
FAIR: "FAIR";
|
|
1756
2173
|
EUR: "EUR";
|
|
1757
2174
|
USD: "USD";
|
|
1758
2175
|
GBP: "GBP";
|
|
@@ -1780,11 +2197,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1780
2197
|
off: "off";
|
|
1781
2198
|
}>;
|
|
1782
2199
|
}, z.core.$strict>;
|
|
2200
|
+
locked: z.ZodBoolean;
|
|
1783
2201
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2202
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2203
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2204
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1784
2205
|
provider_unsupported: "provider_unsupported";
|
|
1785
2206
|
requires_card: "requires_card";
|
|
1786
2207
|
}>>;
|
|
1787
2208
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2209
|
+
FAIR: "FAIR";
|
|
1788
2210
|
EUR: "EUR";
|
|
1789
2211
|
USD: "USD";
|
|
1790
2212
|
GBP: "GBP";
|
|
@@ -1812,11 +2234,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1812
2234
|
off: "off";
|
|
1813
2235
|
}>;
|
|
1814
2236
|
}, z.core.$strict>;
|
|
2237
|
+
locked: z.ZodBoolean;
|
|
1815
2238
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2239
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2240
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2241
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1816
2242
|
provider_unsupported: "provider_unsupported";
|
|
1817
2243
|
requires_card: "requires_card";
|
|
1818
2244
|
}>>;
|
|
1819
2245
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2246
|
+
FAIR: "FAIR";
|
|
1820
2247
|
EUR: "EUR";
|
|
1821
2248
|
USD: "USD";
|
|
1822
2249
|
GBP: "GBP";
|
|
@@ -1844,11 +2271,16 @@ export declare const paymentMethodConfigurationRoutes: readonly [{
|
|
|
1844
2271
|
off: "off";
|
|
1845
2272
|
}>;
|
|
1846
2273
|
}, z.core.$strict>;
|
|
2274
|
+
locked: z.ZodBoolean;
|
|
1847
2275
|
unavailable_reason: z.ZodNullable<z.ZodEnum<{
|
|
2276
|
+
faircoin_wallet_missing: "faircoin_wallet_missing";
|
|
2277
|
+
faircoin_network_closed: "faircoin_network_closed";
|
|
2278
|
+
temporarily_unavailable: "temporarily_unavailable";
|
|
1848
2279
|
provider_unsupported: "provider_unsupported";
|
|
1849
2280
|
requires_card: "requires_card";
|
|
1850
2281
|
}>>;
|
|
1851
2282
|
currencies: z.ZodArray<z.ZodEnum<{
|
|
2283
|
+
FAIR: "FAIR";
|
|
1852
2284
|
EUR: "EUR";
|
|
1853
2285
|
USD: "USD";
|
|
1854
2286
|
GBP: "GBP";
|