@soltech/fluid-common 1.2.5 → 1.2.7

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/lib/index.d.ts CHANGED
@@ -132,9 +132,9 @@ export declare enum EncryptionType {
132
132
  SHA384_SIGNATURE = "SHA384_SIGNATURE"
133
133
  }
134
134
  export declare enum ExpiryDateEncryptionMode {
135
- NONE = "None",
136
- SEPARATE_FIELDS = "SeparateFields",
137
- SINGLE_FIELD = "SingleField"
135
+ NONE = "NONE",
136
+ SEPARATE_FIELDS = "SEPARATE_FIELDS",
137
+ SINGLE_FIELD = "SINGLE_FIELD"
138
138
  }
139
139
  export type PaymentMethodFees = {
140
140
  fixed?: number;
@@ -188,6 +188,7 @@ export interface CreditcardTransactionParams extends TransactionParams {
188
188
  cvc: string;
189
189
  expiryMonth?: string;
190
190
  expiryYear?: string;
191
+ expiryDate?: string;
191
192
  }
192
193
  export interface BankTransferTransactionParams extends TransactionParams {
193
194
  accountName?: string;
package/lib/index.js CHANGED
@@ -33,9 +33,9 @@ export var EncryptionType;
33
33
  })(EncryptionType || (EncryptionType = {}));
34
34
  export var ExpiryDateEncryptionMode;
35
35
  (function (ExpiryDateEncryptionMode) {
36
- ExpiryDateEncryptionMode["NONE"] = "None";
37
- ExpiryDateEncryptionMode["SEPARATE_FIELDS"] = "SeparateFields";
38
- ExpiryDateEncryptionMode["SINGLE_FIELD"] = "SingleField";
36
+ ExpiryDateEncryptionMode["NONE"] = "NONE";
37
+ ExpiryDateEncryptionMode["SEPARATE_FIELDS"] = "SEPARATE_FIELDS";
38
+ ExpiryDateEncryptionMode["SINGLE_FIELD"] = "SINGLE_FIELD";
39
39
  })(ExpiryDateEncryptionMode || (ExpiryDateEncryptionMode = {}));
40
40
  export var RecentMethodMaskedAccountFormat;
41
41
  (function (RecentMethodMaskedAccountFormat) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -149,9 +149,9 @@ export enum EncryptionType {
149
149
  }
150
150
 
151
151
  export enum ExpiryDateEncryptionMode {
152
- NONE = 'None',
153
- SEPARATE_FIELDS = 'SeparateFields',
154
- SINGLE_FIELD = 'SingleField'
152
+ NONE = 'NONE',
153
+ SEPARATE_FIELDS = 'SEPARATE_FIELDS',
154
+ SINGLE_FIELD = 'SINGLE_FIELD'
155
155
  }
156
156
 
157
157
  export type PaymentMethodFees = {
@@ -213,6 +213,7 @@ export interface CreditcardTransactionParams extends TransactionParams {
213
213
  cvc: string;
214
214
  expiryMonth?: string;
215
215
  expiryYear?: string;
216
+ expiryDate?: string;
216
217
  }
217
218
 
218
219
  export interface BankTransferTransactionParams extends TransactionParams {