@juhuu/sdk-ts 1.2.212 → 1.2.214
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/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -1309,6 +1309,7 @@ declare namespace JUHUU {
|
|
1309
1309
|
type Params = {
|
1310
1310
|
sessionId: string;
|
1311
1311
|
isOffSession: boolean;
|
1312
|
+
ignoreFlowErrors?: boolean;
|
1312
1313
|
};
|
1313
1314
|
type Options = JUHUU.RequestOptions;
|
1314
1315
|
type Response = {
|
@@ -2732,6 +2733,8 @@ declare namespace JUHUU {
|
|
2732
2733
|
namespace Capture {
|
2733
2734
|
type Params = {
|
2734
2735
|
paymentId: string;
|
2736
|
+
customAmount?: number;
|
2737
|
+
mode?: "captureAmountFinal" | "captureCustomAmount";
|
2735
2738
|
};
|
2736
2739
|
type Options = JUHUU.RequestOptions;
|
2737
2740
|
type Response = {
|
package/dist/index.d.ts
CHANGED
@@ -1309,6 +1309,7 @@ declare namespace JUHUU {
|
|
1309
1309
|
type Params = {
|
1310
1310
|
sessionId: string;
|
1311
1311
|
isOffSession: boolean;
|
1312
|
+
ignoreFlowErrors?: boolean;
|
1312
1313
|
};
|
1313
1314
|
type Options = JUHUU.RequestOptions;
|
1314
1315
|
type Response = {
|
@@ -2732,6 +2733,8 @@ declare namespace JUHUU {
|
|
2732
2733
|
namespace Capture {
|
2733
2734
|
type Params = {
|
2734
2735
|
paymentId: string;
|
2736
|
+
customAmount?: number;
|
2737
|
+
mode?: "captureAmountFinal" | "captureCustomAmount";
|
2735
2738
|
};
|
2736
2739
|
type Options = JUHUU.RequestOptions;
|
2737
2740
|
type Response = {
|
package/dist/index.js
CHANGED
@@ -501,7 +501,8 @@ var SessionService = class extends Service {
|
|
501
501
|
method: "PATCH",
|
502
502
|
url: "sessions/" + SessionTerminateParams.sessionId + "/terminate",
|
503
503
|
body: {
|
504
|
-
isOffSession: SessionTerminateParams.isOffSession
|
504
|
+
isOffSession: SessionTerminateParams.isOffSession,
|
505
|
+
ignoreFlowErrors: SessionTerminateParams.ignoreFlowErrors
|
505
506
|
},
|
506
507
|
authenticationNotOptional: true
|
507
508
|
},
|
package/dist/index.mjs
CHANGED
@@ -457,7 +457,8 @@ var SessionService = class extends Service {
|
|
457
457
|
method: "PATCH",
|
458
458
|
url: "sessions/" + SessionTerminateParams.sessionId + "/terminate",
|
459
459
|
body: {
|
460
|
-
isOffSession: SessionTerminateParams.isOffSession
|
460
|
+
isOffSession: SessionTerminateParams.isOffSession,
|
461
|
+
ignoreFlowErrors: SessionTerminateParams.ignoreFlowErrors
|
461
462
|
},
|
462
463
|
authenticationNotOptional: true
|
463
464
|
},
|