@finverse/sdk-typescript 0.0.272 → 0.0.274
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/api.d.ts +7 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2005,6 +2005,12 @@ export interface FVCard {
|
|
|
2005
2005
|
* @memberof FVCard
|
|
2006
2006
|
*/
|
|
2007
2007
|
card_details?: FVCardDetails;
|
|
2008
|
+
/**
|
|
2009
|
+
*
|
|
2010
|
+
* @type {MandateRecipientAccount}
|
|
2011
|
+
* @memberof FVCard
|
|
2012
|
+
*/
|
|
2013
|
+
recipient_account?: MandateRecipientAccount;
|
|
2008
2014
|
}
|
|
2009
2015
|
export declare const FVCardStatusEnum: {
|
|
2010
2016
|
readonly Unknown: "UNKNOWN";
|
|
@@ -6044,7 +6050,7 @@ export interface PaymentSetupOptions {
|
|
|
6044
6050
|
* @type {AutopayEnrollmentConfiguration}
|
|
6045
6051
|
* @memberof PaymentSetupOptions
|
|
6046
6052
|
*/
|
|
6047
|
-
|
|
6053
|
+
autopay_enrollment_configuration?: AutopayEnrollmentConfiguration;
|
|
6048
6054
|
}
|
|
6049
6055
|
export declare const PaymentSetupOptionsFuturePaymentsEnum: {
|
|
6050
6056
|
readonly Autopay: "AUTOPAY";
|
package/dist/configuration.js
CHANGED
|
@@ -35,7 +35,7 @@ class Configuration {
|
|
|
35
35
|
* @return True if the given MIME is JSON, false otherwise.
|
|
36
36
|
*/
|
|
37
37
|
isJsonMime(mime) {
|
|
38
|
-
const jsonMime = new RegExp('^(application
|
|
38
|
+
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
39
39
|
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
40
40
|
}
|
|
41
41
|
}
|