@shipengine/react-api 4.2.0 → 4.2.1
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.
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { SE } from "@shipengine/js-api";
|
|
2
2
|
export type UpdateFundingSourceData = {
|
|
3
|
-
/** (Optional)
|
|
3
|
+
/** (Optional) Auctane Pay Session info */
|
|
4
4
|
auctanePayInfo?: SE.AuctanePayInfo;
|
|
5
|
+
/** (Optional) Bank Account used for the funding source */
|
|
6
|
+
bankAccountInfo?: SE.BankAccountInfo;
|
|
5
7
|
/** Billing info used for the Funding Source */
|
|
6
8
|
billingInfo: SE.FundingSourceAddress;
|
|
7
|
-
/** (Optional)
|
|
9
|
+
/** (Optional) Credit Card used to the funding source */
|
|
8
10
|
creditCardInfo?: SE.CreditCardInfo;
|
|
9
11
|
/** The ID of the Funding Source to be updated */
|
|
10
12
|
fundingSourceId: string;
|
package/index.js
CHANGED
|
@@ -1086,12 +1086,14 @@ const useUpdateFundingSource = () => {
|
|
|
1086
1086
|
mutationFn: (_0) => __async$D(void 0, [_0], function* ({
|
|
1087
1087
|
billingInfo,
|
|
1088
1088
|
creditCardInfo,
|
|
1089
|
+
bankAccountInfo,
|
|
1089
1090
|
fundingSourceId,
|
|
1090
1091
|
auctanePayInfo
|
|
1091
1092
|
}) {
|
|
1092
1093
|
const result = yield client.fundingSources.update(
|
|
1093
1094
|
billingInfo,
|
|
1094
1095
|
creditCardInfo,
|
|
1096
|
+
bankAccountInfo,
|
|
1095
1097
|
auctanePayInfo,
|
|
1096
1098
|
fundingSourceId
|
|
1097
1099
|
);
|
package/index.mjs
CHANGED
|
@@ -1083,12 +1083,14 @@ const useUpdateFundingSource = () => {
|
|
|
1083
1083
|
mutationFn: (_0) => __async$D(void 0, [_0], function* ({
|
|
1084
1084
|
billingInfo,
|
|
1085
1085
|
creditCardInfo,
|
|
1086
|
+
bankAccountInfo,
|
|
1086
1087
|
fundingSourceId,
|
|
1087
1088
|
auctanePayInfo
|
|
1088
1089
|
}) {
|
|
1089
1090
|
const result = yield client.fundingSources.update(
|
|
1090
1091
|
billingInfo,
|
|
1091
1092
|
creditCardInfo,
|
|
1093
|
+
bankAccountInfo,
|
|
1092
1094
|
auctanePayInfo,
|
|
1093
1095
|
fundingSourceId
|
|
1094
1096
|
);
|