@soltech/fluid-common 1.13.0-sc22031.0 → 1.13.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.
@@ -73,6 +73,7 @@ export interface CardTokenSettings extends HostedFieldsBase {
73
73
  export interface CardTokenParams {
74
74
  merchantId: string;
75
75
  env: string;
76
+ token?: string;
76
77
  }
77
78
  export declare enum HostedFieldsProtocol {
78
79
  CARD_VALUES = "CardValues",
@@ -73,6 +73,8 @@ export interface DepositContinuationParams {
73
73
  protectionHeaders?: Record<string, string>;
74
74
  /** A credential: carried on the challenge and handed back, never logged. */
75
75
  sessionKey?: string;
76
+ /** The stored method the purchase began on, so the concluding charge keeps its endpoint. */
77
+ accountId?: string;
76
78
  }
77
79
  /**
78
80
  * Transaction params for any payment method whose payload is keyed dynamically by
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.13.0-sc22031.0",
3
+ "version": "1.13.0",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
@@ -88,6 +88,8 @@ export interface CardTokenSettings extends HostedFieldsBase {
88
88
  export interface CardTokenParams {
89
89
  merchantId: string;
90
90
  env: string;
91
+ // Set only on a stored method, whose fields re-verify a card rather than collect a new one.
92
+ token?: string;
91
93
  }
92
94
 
93
95
  // Which message contract the client must speak to the hosted fields, not which gateway
@@ -81,6 +81,8 @@ export interface DepositContinuationParams {
81
81
  protectionHeaders?: Record<string, string>;
82
82
  /** A credential: carried on the challenge and handed back, never logged. */
83
83
  sessionKey?: string;
84
+ /** The stored method the purchase began on, so the concluding charge keeps its endpoint. */
85
+ accountId?: string;
84
86
  }
85
87
 
86
88
  /**
@@ -120,10 +122,15 @@ export interface RedirectOutput {
120
122
  sizeUnit?: string;
121
123
  url: string;
122
124
  width?: number;
125
+ purpose?: RedirectPurpose;
123
126
  }
124
127
 
125
128
  export type RedirectContainer = 'iframe' | 'window' | 'redirect';
126
129
 
130
+ export enum RedirectPurpose {
131
+ BANK_LINKING = 'BANK_LINKING'
132
+ }
133
+
127
134
  export enum TransactionState {
128
135
  SUCCESS = 'SUCCESS',
129
136
  FAIL = 'FAIL',
@@ -74,6 +74,7 @@ export enum Content {
74
74
  amountPlaceholderLabel = 'amountPlaceholderLabel',
75
75
  authorisationTitle = 'authorisationTitle',
76
76
  backLabel = 'backLabel',
77
+ bankLinkingFrameTitle = 'bankLinkingFrameTitle',
77
78
  bonus = 'bonus',
78
79
  bonusCodeInputPlaceholder = 'bonusCodeInputPlaceholder',
79
80
  bonusCodeMessage = 'bonusCodeMessage',
@@ -289,6 +290,7 @@ export enum ContentVirtual {
289
290
  abandonDepositModalTitle = 'abandonDepositModalTitle',
290
291
  authorisationTitle = 'authorisationTitle',
291
292
  backLabel = 'backLabel',
293
+ bankLinkingFrameTitle = 'bankLinkingFrameTitle',
292
294
  cancelWithdrawalsSuccess = 'cancelWithdrawalsSuccess',
293
295
  cancelWithdrawalSuccess = 'cancelWithdrawalSuccess',
294
296
  cardDetailsGenericError = 'cardDetailsGenericError',