@lana-commerce/core 12.0.0-alpha.3 → 12.0.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/CHANGELOG.md CHANGED
@@ -6,9 +6,23 @@ This project adheres to [Semantic Versioning][semantic versioning].
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Major Changes
10
+ ### Minor Changes
11
+ ### Patch Changes
12
+
13
+ ## [Released]
14
+
15
+ ## 12.0.0 (2024-07-18)
16
+
9
17
  ### Major Changes
10
18
 
11
19
  - Add new helper class PinInput. Refactor SixDigitInput to use it. Note that SixDigitInput's property is now called "onEnteredAllDigits" instead of "onEnteredSixDigits".
20
+ - Remove deprecated stripe payment method integrations:
21
+ - amex express checkout
22
+ - masterpass
23
+ - visa checkout
24
+ - giropay
25
+ - sofort
12
26
 
13
27
  ### Minor Changes
14
28
 
@@ -18,7 +32,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
18
32
 
19
33
  - Add missing "children" prop to RootCloseWrapper.
20
34
 
21
- ## [Released]
35
+ ------------------------------------------------------------------------------------------------------------------
22
36
 
23
37
  ## 11.0.0 (2024-05-14)
24
38
 
@@ -55,7 +69,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
55
69
  - Add support for tips (ui.js script loader).
56
70
  - Add "filterFunc" lib.
57
71
 
58
- ---
72
+ ------------------------------------------------------------------------------------------------------------------
59
73
 
60
74
  ## 10.0.0 (2023-06-13)
61
75
 
@@ -100,7 +114,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
100
114
  - Customer info loading process no longer contributes to customer module's "somethingIsPending" store.
101
115
  - Create return page (customer module) ignores some errors on init now, this helps with the case when no return policies were found.
102
116
 
103
- ---
117
+ ------------------------------------------------------------------------------------------------------------------
104
118
 
105
119
  ## 9.0.0 (2023-01-27)
106
120
 
@@ -120,7 +134,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
120
134
  - Add "uploadFileGeneric".
121
135
  - Add "iterAllItems", kind of like "fetchAllItems", but as async iterator. Also add these for JSON API.
122
136
 
123
- ---
137
+ ------------------------------------------------------------------------------------------------------------------
124
138
 
125
139
  ## 8.4.0 (2022-11-28)
126
140
 
@@ -128,7 +142,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
128
142
 
129
143
  - Add "commerce" flag to GraphQLOpts. Useful if you want to use "request" lib against default commerce API endpoint.
130
144
 
131
- ---
145
+ ------------------------------------------------------------------------------------------------------------------
132
146
 
133
147
  ## 8.3.0 (2022-11-25)
134
148
 
@@ -136,7 +150,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
136
150
 
137
151
  - Add "error" and "error_count" fields to subscription graphql fragment.
138
152
 
139
- ---
153
+ ------------------------------------------------------------------------------------------------------------------
140
154
 
141
155
  ## 8.2.0 (2022-11-24)
142
156
 
@@ -144,7 +158,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
144
158
 
145
159
  - Bump deps and regenerate graphql types. Adds "too_many_subscriptions" order line item error.
146
160
 
147
- ---
161
+ ------------------------------------------------------------------------------------------------------------------
148
162
 
149
163
  ## 8.1.0 (2022-11-24)
150
164
 
@@ -152,7 +166,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
152
166
 
153
167
  - Bump deps and regenerate graphql types. Adds "pending_payment" state to subscriptions.
154
168
 
155
- ---
169
+ ------------------------------------------------------------------------------------------------------------------
156
170
 
157
171
  ## 8.0.0 (2022-11-21)
158
172
 
@@ -173,7 +187,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
173
187
  - A fix in internal customer model logic. It should not be allowed to store pages with parameters as "lastAuthPage". This breaks the logic if you switch between different customers which do not have items with the same id obviously.
174
188
  - Fix "formatToJSX". There were some problematic edge cases when nested JSX elements were used in T-strings.
175
189
 
176
- ---
190
+ ------------------------------------------------------------------------------------------------------------------
177
191
 
178
192
  ## 7.2.2 (2022-10-10)
179
193
 
@@ -181,7 +195,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
181
195
 
182
196
  - Fix a bug in "isoStripTrailingZeros".
183
197
 
184
- ---
198
+ ------------------------------------------------------------------------------------------------------------------
185
199
 
186
200
  ## 7.2.1 (2022-10-05)
187
201
 
@@ -189,7 +203,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
189
203
 
190
204
  - Fix typo in "shopBuyURL". Add a test for it.
191
205
 
192
- ---
206
+ ------------------------------------------------------------------------------------------------------------------
193
207
 
194
208
  ## 7.2.0 (2022-10-05)
195
209
 
@@ -197,7 +211,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
197
211
 
198
212
  - Add "shopBuyURL" helper to "shopLinks" module.
199
213
 
200
- ---
214
+ ------------------------------------------------------------------------------------------------------------------
201
215
 
202
216
  ## 7.1.0 (2022-10-04)
203
217
 
@@ -205,7 +219,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
205
219
 
206
220
  - Codegen. Adds new invalid input error kind: "invalid_url_id".
207
221
 
208
- ---
222
+ ------------------------------------------------------------------------------------------------------------------
209
223
 
210
224
  ## 7.0.0 (2022-10-04)
211
225
 
@@ -268,7 +282,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
268
282
  - Properly reload product model on locale changes.
269
283
  - Silence possible jwtDecode exception in getCustomerInfoFx.
270
284
 
271
- ---
285
+ ------------------------------------------------------------------------------------------------------------------
272
286
 
273
287
  ## 6.0.0 (2022-04-20)
274
288
 
@@ -295,7 +309,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
295
309
  - Add "details" component to request response, it can be used to form a more detailed error message.
296
310
  - Fixes and improvements to customer module. Add oauth2 flow support. Expose "customerInfo" store and "message" event.
297
311
 
298
- ---
312
+ ------------------------------------------------------------------------------------------------------------------
299
313
 
300
314
  ## 5.0.2 (2021-09-21)
301
315
 
@@ -303,7 +317,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
303
317
 
304
318
  - Fix broken GraphQL operations.
305
319
 
306
- ---
320
+ ------------------------------------------------------------------------------------------------------------------
307
321
 
308
322
  ## 5.0.1 (2021-09-21)
309
323
 
@@ -311,7 +325,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
311
325
 
312
326
  - Bump deps, regenerate all graphql operations/fragments.
313
327
 
314
- ---
328
+ ------------------------------------------------------------------------------------------------------------------
315
329
 
316
330
  ## 5.0.0 (2021-09-09)
317
331
 
@@ -319,7 +333,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
319
333
 
320
334
  - Remove "children" field from categories. The API has changed. Categories API no longer has recursive types in it.
321
335
 
322
- ---
336
+ ------------------------------------------------------------------------------------------------------------------
323
337
 
324
338
  ## 4.1.2 (2021-09-02)
325
339
 
@@ -327,7 +341,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
327
341
 
328
342
  - GraphQL type compatibility fixes.
329
343
 
330
- ---
344
+ ------------------------------------------------------------------------------------------------------------------
331
345
 
332
346
  ## 4.1.1 (2021-09-02)
333
347
 
@@ -335,7 +349,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
335
349
 
336
350
  - On customer signup the "timezone_hint" is set to automatically inferred timezone name (via Intl API).
337
351
 
338
- ---
352
+ ------------------------------------------------------------------------------------------------------------------
339
353
 
340
354
  ## 4.1.0 (2021-09-02)
341
355
 
@@ -343,7 +357,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
343
357
 
344
358
  - Add "getTimezone()" utility function. Uses Intl API to get the current timezone.
345
359
 
346
- ---
360
+ ------------------------------------------------------------------------------------------------------------------
347
361
 
348
362
  ## 4.0.0 (2021-07-27)
349
363
 
@@ -355,7 +369,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
355
369
  - `low_stock`: when qty is > 0 and <= low_stock_level.
356
370
  - `in_stock`: when qty is > 0 and > low_stock_level.
357
371
 
358
- ---
372
+ ------------------------------------------------------------------------------------------------------------------
359
373
 
360
374
  ## 3.5.0 (2021-07-26)
361
375
 
@@ -363,7 +377,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
363
377
 
364
378
  - Expand "CartVariant" definition. Include more fields (per location inventory data).
365
379
 
366
- ---
380
+ ------------------------------------------------------------------------------------------------------------------
367
381
 
368
382
  ## 3.4.0 (2021-07-21)
369
383
 
@@ -374,7 +388,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
374
388
  - Request API should now properly recognize timeout errors and report them as such (new SystemErrorType).
375
389
  - Request API pauses between retries are reduced. Also a bit of jitter is added to pauses.
376
390
 
377
- ---
391
+ ------------------------------------------------------------------------------------------------------------------
378
392
 
379
393
  ## 3.3.0 (2021-07-21)
380
394
 
@@ -382,7 +396,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
382
396
 
383
397
  - Expand "CartVariant" definition. Include more fields.
384
398
 
385
- ---
399
+ ------------------------------------------------------------------------------------------------------------------
386
400
 
387
401
  ## 3.2.0 (2021-07-21)
388
402
 
@@ -390,7 +404,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
390
404
 
391
405
  - In product module fetch more data for "ReviewQuestionProduct". Making it compatible with "clay" idea of product.
392
406
 
393
- ---
407
+ ------------------------------------------------------------------------------------------------------------------
394
408
 
395
409
  ## 3.1.0 (2021-07-16)
396
410
 
@@ -398,7 +412,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
398
412
 
399
413
  - Accept "null" as "canonicalVariantURL" to "productSEO()". In this case canonical page urls won't be formed.
400
414
 
401
- ---
415
+ ------------------------------------------------------------------------------------------------------------------
402
416
 
403
417
  ## 3.0.0 (2021-07-15)
404
418
 
@@ -444,7 +458,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
444
458
 
445
459
  - Fix typo in file name: clearOnChangeAfterChange.ts -> clearOnChangeAfterDelay.ts.
446
460
 
447
- ---
461
+ ------------------------------------------------------------------------------------------------------------------
448
462
 
449
463
  ## 2.4.0 (2021-05-21)
450
464
 
@@ -453,7 +467,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
453
467
  - Add "getSessionID()" function. Which returns the current session id (analytics).
454
468
  - Request API will use the result of getSessionID() if no sessionID provided.
455
469
 
456
- ---
470
+ ------------------------------------------------------------------------------------------------------------------
457
471
 
458
472
  ## 2.3.0 (2021-05-21)
459
473
 
@@ -461,7 +475,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
461
475
 
462
476
  - Product fragment now include "handle". It might be required for URL building.
463
477
 
464
- ---
478
+ ------------------------------------------------------------------------------------------------------------------
465
479
 
466
480
  ## 2.2.0 (2021-05-21)
467
481
 
@@ -470,7 +484,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
470
484
  - Add analytics helper functions.
471
485
  - Analytics anonymous id is now implicitly propagated when submitting jwt to remote auth.
472
486
 
473
- ---
487
+ ------------------------------------------------------------------------------------------------------------------
474
488
 
475
489
  ## 2.1.2 (2021-05-20)
476
490
 
@@ -478,7 +492,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
478
492
 
479
493
  - Inline scripts cannot be deferred, use DOMContentLoaded instead.
480
494
 
481
- ---
495
+ ------------------------------------------------------------------------------------------------------------------
482
496
 
483
497
  ## 2.1.1 (2021-05-20)
484
498
 
@@ -486,7 +500,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
486
500
 
487
501
  - Use proper CDN URL when fetching last analytics lib version.
488
502
 
489
- ---
503
+ ------------------------------------------------------------------------------------------------------------------
490
504
 
491
505
  ## 2.1.0 (2021-05-20)
492
506
 
@@ -494,7 +508,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
494
508
 
495
509
  - Add "script" library. It's a helper lib that generates &lt;script&gt; and &lt;style&gt; tags for you. Supports analytics and trunkery ui.
496
510
 
497
- ---
511
+ ------------------------------------------------------------------------------------------------------------------
498
512
 
499
513
  ## 2.0.0 (2021-05-18)
500
514
 
@@ -502,7 +516,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
502
516
 
503
517
  - In "search" module replace "result" field in "Search&lt;Product&gt;" with a different type. It communicates explicitly the outcome of the search request: did it run? did it resulted in an error? did it succeed with some result (or none)?
504
518
 
505
- ---
519
+ ------------------------------------------------------------------------------------------------------------------
506
520
 
507
521
  ## 1.1.0 (2021-05-14)
508
522
 
@@ -510,7 +524,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
510
524
 
511
525
  - Export "PopperBinderParams" and "Placement" from popperBinder.
512
526
 
513
- ---
527
+ ------------------------------------------------------------------------------------------------------------------
514
528
 
515
529
  ## 1.0.3 (2021-05-11)
516
530
 
@@ -518,7 +532,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
518
532
 
519
533
  - Add CHANGELOG.
520
534
 
521
- ---
535
+ ------------------------------------------------------------------------------------------------------------------
522
536
 
523
537
  ## 1.0.2 (2021-05-11)
524
538
 
@@ -526,7 +540,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
526
540
 
527
541
  - Fix vendored popper.js files.
528
542
 
529
- ---
543
+ ------------------------------------------------------------------------------------------------------------------
530
544
 
531
545
  ## 1.0.0 (2021-05-10)
532
546
 
@@ -534,7 +548,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
534
548
 
535
549
  - Initial release.
536
550
 
537
- ---
551
+ ------------------------------------------------------------------------------------------------------------------
538
552
 
539
553
  <!-- Links -->
540
554
 
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = "fragment GatewayStripe on GatewayStripe{account_id amex_express_checkout{client_id enabled}auto_capture card_tokenization cards{amex diners discover jcb mastercard unionpay visa}masterpass{checkout_id enabled}payment_methods{alipay bancontact giropay eps ideal multibanco p24 sofort wechat}send_authorized_order_notifications visa_checkout{checkout_id enabled}publishable_key}\n";
3
+ exports.default = "fragment GatewayStripe on GatewayStripe{account_id auto_capture card_tokenization cards{amex diners discover jcb mastercard unionpay visa}payment_methods{alipay bancontact eps ideal multibanco p24 wechat}send_authorized_order_notifications publishable_key}\n";
@@ -1 +1 @@
1
- export default "fragment GatewayStripe on GatewayStripe{account_id amex_express_checkout{client_id enabled}auto_capture card_tokenization cards{amex diners discover jcb mastercard unionpay visa}masterpass{checkout_id enabled}payment_methods{alipay bancontact giropay eps ideal multibanco p24 sofort wechat}send_authorized_order_notifications visa_checkout{checkout_id enabled}publishable_key}\n";
1
+ export default "fragment GatewayStripe on GatewayStripe{account_id auto_capture card_tokenization cards{amex diners discover jcb mastercard unionpay visa}payment_methods{alipay bancontact eps ideal multibanco p24 wechat}send_authorized_order_notifications publishable_key}\n";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lana-commerce/core",
3
- "version": "12.0.0-alpha.3",
3
+ "version": "12.0.0",
4
4
  "description": "Lana JS Core",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -89,4 +89,4 @@
89
89
  "style": "renke"
90
90
  }
91
91
  }
92
- }
92
+ }
@@ -1,2 +1,2 @@
1
- declare const _default: "fragment GatewayStripe on GatewayStripe{account_id amex_express_checkout{client_id enabled}auto_capture card_tokenization cards{amex diners discover jcb mastercard unionpay visa}masterpass{checkout_id enabled}payment_methods{alipay bancontact giropay eps ideal multibanco p24 sofort wechat}send_authorized_order_notifications visa_checkout{checkout_id enabled}publishable_key}\n";
1
+ declare const _default: "fragment GatewayStripe on GatewayStripe{account_id auto_capture card_tokenization cards{amex diners discover jcb mastercard unionpay visa}payment_methods{alipay bancontact eps ideal multibanco p24 wechat}send_authorized_order_notifications publishable_key}\n";
2
2
  export default _default;
@@ -890,10 +890,6 @@ export interface GatewayPaypalFragment {
890
890
  }
891
891
  export interface GatewayStripeFragment {
892
892
  account_id: string;
893
- amex_express_checkout: {
894
- client_id: string;
895
- enabled: boolean;
896
- };
897
893
  auto_capture: boolean;
898
894
  card_tokenization: boolean;
899
895
  cards: {
@@ -905,27 +901,17 @@ export interface GatewayStripeFragment {
905
901
  unionpay: boolean;
906
902
  visa: boolean;
907
903
  };
908
- masterpass: {
909
- checkout_id: string;
910
- enabled: boolean;
911
- };
912
904
  payment_methods: {
913
905
  alipay: boolean;
914
906
  bancontact: boolean;
915
907
  eps: boolean;
916
- giropay: boolean;
917
908
  ideal: boolean;
918
909
  multibanco: boolean;
919
910
  p24: boolean;
920
- sofort: boolean;
921
911
  wechat: boolean;
922
912
  };
923
913
  publishable_key: string;
924
914
  send_authorized_order_notifications: boolean;
925
- visa_checkout: {
926
- checkout_id: string;
927
- enabled: boolean;
928
- };
929
915
  }
930
916
  export interface GatewayTestFragment {
931
917
  auto_capture: boolean;
@@ -2038,16 +2038,12 @@ export interface GatewayPaypalFundingCreate {
2038
2038
  export interface GatewayStripe {
2039
2039
  /** Account id of the connected stripe account */
2040
2040
  account_id: string;
2041
- /** Enable/disable Amex Express Checkout */
2042
- amex_express_checkout: GatewayStripeAmexExpressCheckout;
2043
2041
  /** Automatically capture authorized orders */
2044
2042
  auto_capture: boolean;
2045
2043
  /** Whether it's allowed to tokenize (save) cards for future use or not */
2046
2044
  card_tokenization: boolean;
2047
2045
  /** Enable/disable credit cards per-type */
2048
2046
  cards: GatewayStripeCards;
2049
- /** Enable/disable Masterpass */
2050
- masterpass: GatewayStripeMasterpass;
2051
2047
  /** Use stripe's MOTO options on payment intent transaction */
2052
2048
  moto: boolean;
2053
2049
  /** Enable/disable additional payment methods */
@@ -2056,16 +2052,6 @@ export interface GatewayStripe {
2056
2052
  publishable_key: string;
2057
2053
  /** Send about to expire authorized orders notification (when auto_capture is false) */
2058
2054
  send_authorized_order_notifications: boolean;
2059
- /** Enable/disable Visa Checkout */
2060
- visa_checkout: GatewayStripeVisaCheckout;
2061
- }
2062
- export interface GatewayStripeAmexExpressCheckout {
2063
- client_id: string;
2064
- enabled: boolean;
2065
- }
2066
- export interface GatewayStripeAmexExpressCheckoutCreate {
2067
- client_id: string;
2068
- enabled: boolean;
2069
2055
  }
2070
2056
  export interface GatewayStripeCards {
2071
2057
  amex: boolean;
@@ -2086,8 +2072,6 @@ export interface GatewayStripeCardsCreate {
2086
2072
  visa: boolean;
2087
2073
  }
2088
2074
  export interface GatewayStripeCreate {
2089
- /** Enable/disable Amex Express Checkout */
2090
- amex_express_checkout: GatewayStripeAmexExpressCheckoutCreate;
2091
2075
  /** Automatically capture authorized orders */
2092
2076
  auto_capture: boolean;
2093
2077
  /** Whether it's allowed to tokenize (save) cards for future use or not */
@@ -2095,55 +2079,31 @@ export interface GatewayStripeCreate {
2095
2079
  /** Enable/disable credit cards per-type */
2096
2080
  cards: GatewayStripeCardsCreate;
2097
2081
  code: string;
2098
- /** Enable/disable Masterpass */
2099
- masterpass: GatewayStripeMasterpassCreate;
2100
2082
  /** Use stripe's MOTO options on payment intent transaction */
2101
2083
  moto: boolean;
2102
2084
  /** Enable/disable additional payment methods */
2103
2085
  payment_methods: GatewayStripePaymentMethodsCreate;
2104
2086
  /** Send about to expire authorized orders notification (when auto_capture is false) */
2105
2087
  send_authorized_order_notifications: boolean;
2106
- /** Enable/disable Visa Checkout */
2107
- visa_checkout: GatewayStripeVisaCheckoutCreate;
2108
- }
2109
- export interface GatewayStripeMasterpass {
2110
- checkout_id: string;
2111
- enabled: boolean;
2112
- }
2113
- export interface GatewayStripeMasterpassCreate {
2114
- checkout_id: string;
2115
- enabled: boolean;
2116
2088
  }
2117
2089
  export interface GatewayStripePaymentMethods {
2118
2090
  alipay: boolean;
2119
2091
  bancontact: boolean;
2120
2092
  eps: boolean;
2121
- giropay: boolean;
2122
2093
  ideal: boolean;
2123
2094
  multibanco: boolean;
2124
2095
  p24: boolean;
2125
- sofort: boolean;
2126
2096
  wechat: boolean;
2127
2097
  }
2128
2098
  export interface GatewayStripePaymentMethodsCreate {
2129
2099
  alipay: boolean;
2130
2100
  bancontact: boolean;
2131
2101
  eps: boolean;
2132
- giropay: boolean;
2133
2102
  ideal: boolean;
2134
2103
  multibanco: boolean;
2135
2104
  p24: boolean;
2136
- sofort: boolean;
2137
2105
  wechat: boolean;
2138
2106
  }
2139
- export interface GatewayStripeVisaCheckout {
2140
- checkout_id: string;
2141
- enabled: boolean;
2142
- }
2143
- export interface GatewayStripeVisaCheckoutCreate {
2144
- checkout_id: string;
2145
- enabled: boolean;
2146
- }
2147
2107
  export interface GatewayTest {
2148
2108
  /** Automatically capture authorized orders */
2149
2109
  auto_capture: boolean;
@@ -475,16 +475,12 @@ export interface GatewayPaypalFunding {
475
475
  export interface GatewayStripe {
476
476
  /** Account id of the connected stripe account */
477
477
  account_id: string;
478
- /** Enable/disable Amex Express Checkout */
479
- amex_express_checkout: GatewayStripeAmexExpressCheckout;
480
478
  /** Automatically capture authorized orders */
481
479
  auto_capture: boolean;
482
480
  /** Whether it's allowed to tokenize (save) cards for future use or not */
483
481
  card_tokenization: boolean;
484
482
  /** Enable/disable credit cards per-type */
485
483
  cards: GatewayStripeCards;
486
- /** Enable/disable Masterpass */
487
- masterpass: GatewayStripeMasterpass;
488
484
  /** Use stripe's MOTO options on payment intent transaction */
489
485
  moto: boolean;
490
486
  /** Enable/disable additional payment methods */
@@ -493,12 +489,6 @@ export interface GatewayStripe {
493
489
  publishable_key: string;
494
490
  /** Send about to expire authorized orders notification (when auto_capture is false) */
495
491
  send_authorized_order_notifications: boolean;
496
- /** Enable/disable Visa Checkout */
497
- visa_checkout: GatewayStripeVisaCheckout;
498
- }
499
- export interface GatewayStripeAmexExpressCheckout {
500
- client_id: string;
501
- enabled: boolean;
502
492
  }
503
493
  export interface GatewayStripeCards {
504
494
  amex: boolean;
@@ -509,25 +499,15 @@ export interface GatewayStripeCards {
509
499
  unionpay: boolean;
510
500
  visa: boolean;
511
501
  }
512
- export interface GatewayStripeMasterpass {
513
- checkout_id: string;
514
- enabled: boolean;
515
- }
516
502
  export interface GatewayStripePaymentMethods {
517
503
  alipay: boolean;
518
504
  bancontact: boolean;
519
505
  eps: boolean;
520
- giropay: boolean;
521
506
  ideal: boolean;
522
507
  multibanco: boolean;
523
508
  p24: boolean;
524
- sofort: boolean;
525
509
  wechat: boolean;
526
510
  }
527
- export interface GatewayStripeVisaCheckout {
528
- checkout_id: string;
529
- enabled: boolean;
530
- }
531
511
  export interface GatewayTest {
532
512
  /** Automatically capture authorized orders */
533
513
  auto_capture: boolean;