@chevre/domain 24.0.0-alpha.23 → 24.0.0-alpha.24
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/chevre/repository.d.ts +5 -0
- package/lib/chevre/repository.js +11 -0
- package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard.d.ts +1 -0
- package/lib/chevre/service/payment/creditCard/authorize/processAuthorizeCreditCard3ds.d.ts +1 -0
- package/lib/chevre/service/payment/creditCard/authorize.d.ts +1 -0
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ import type { AccountTransactionRepo } from './repo/accountTransaction';
|
|
|
10
10
|
import type { ActionRepo } from './repo/action';
|
|
11
11
|
import type { AcceptCOAOfferActionRepo } from './repo/action/acceptCOAOffer';
|
|
12
12
|
import type { AcceptPayActionRepo } from './repo/action/acceptPay';
|
|
13
|
+
import type { AuthorizeInvoiceActionRepo } from './repo/action/authorizeInvoice';
|
|
13
14
|
import type { AuthorizeOfferActionRepo } from './repo/action/authorizeOffer';
|
|
14
15
|
import type { CheckMovieTicketActionRepo } from './repo/action/checkMovieTicket';
|
|
15
16
|
import type { CheckThingActionRepo } from './repo/action/checkThing';
|
|
@@ -138,6 +139,10 @@ export declare namespace action {
|
|
|
138
139
|
namespace AcceptPay {
|
|
139
140
|
function createInstance(...params: ConstructorParameters<typeof AcceptPayActionRepo>): Promise<AcceptPayActionRepo>;
|
|
140
141
|
}
|
|
142
|
+
type AuthorizeInvoice = AuthorizeInvoiceActionRepo;
|
|
143
|
+
namespace AuthorizeInvoice {
|
|
144
|
+
function createInstance(...params: ConstructorParameters<typeof AuthorizeInvoiceActionRepo>): Promise<AuthorizeInvoiceActionRepo>;
|
|
145
|
+
}
|
|
141
146
|
type AuthorizeOffer = AuthorizeOfferActionRepo;
|
|
142
147
|
namespace AuthorizeOffer {
|
|
143
148
|
function createInstance(...params: ConstructorParameters<typeof AuthorizeOfferActionRepo>): Promise<AuthorizeOfferActionRepo>;
|
package/lib/chevre/repository.js
CHANGED
|
@@ -126,6 +126,17 @@ var action;
|
|
|
126
126
|
}
|
|
127
127
|
AcceptPay.createInstance = createInstance;
|
|
128
128
|
})(AcceptPay = action.AcceptPay || (action.AcceptPay = {}));
|
|
129
|
+
let AuthorizeInvoice;
|
|
130
|
+
(function (AuthorizeInvoice) {
|
|
131
|
+
let repo;
|
|
132
|
+
async function createInstance(...params) {
|
|
133
|
+
if (repo === undefined) {
|
|
134
|
+
repo = (await Promise.resolve().then(() => __importStar(require('./repo/action/authorizeInvoice')))).AuthorizeInvoiceActionRepo;
|
|
135
|
+
}
|
|
136
|
+
return new repo(...params);
|
|
137
|
+
}
|
|
138
|
+
AuthorizeInvoice.createInstance = createInstance;
|
|
139
|
+
})(AuthorizeInvoice = action.AuthorizeInvoice || (action.AuthorizeInvoice = {}));
|
|
129
140
|
let AuthorizeOffer;
|
|
130
141
|
(function (AuthorizeOffer) {
|
|
131
142
|
let repo;
|
|
@@ -9,6 +9,7 @@ interface ICreditCardPaymentAgencyTransaction3ds {
|
|
|
9
9
|
secureTran2Result: GMO.factory.credit.ISecureTran2Result;
|
|
10
10
|
}
|
|
11
11
|
interface IProcessAuthorizeCreditCard3dsRepos {
|
|
12
|
+
action?: never;
|
|
12
13
|
authorizeInvoiceAction: AuthorizeInvoiceActionRepo;
|
|
13
14
|
creditCardService: GMO.service.Credit;
|
|
14
15
|
}
|
|
@@ -41,6 +41,7 @@ payTransaction: IPayTransactionAsAuthorizeInvoiceAction, paymentServiceId: strin
|
|
|
41
41
|
id?: string;
|
|
42
42
|
};
|
|
43
43
|
}): (repos: {
|
|
44
|
+
action?: never;
|
|
44
45
|
authorizeInvoiceAction: AuthorizeInvoiceActionRepo;
|
|
45
46
|
paymentAccepted: SellerPaymentAcceptedRepo;
|
|
46
47
|
paymentService: PaymentServiceRepo;
|
package/package.json
CHANGED