@chevre/factory 4.382.0-alpha.1 → 4.382.0-alpha.2
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as ActionFactory from '../../action';
|
|
2
|
+
import { IAuthorization, IObject } from '../../authorization';
|
|
3
|
+
import { CreativeWorkType } from '../../creativeWorkType';
|
|
4
|
+
import * as AuthorizeActionFactory from '../authorize';
|
|
5
|
+
export { IObject };
|
|
6
|
+
export type IResult = Pick<IAuthorization, 'code' | 'typeOf'>[];
|
|
7
|
+
export interface IInstrument {
|
|
8
|
+
id: string;
|
|
9
|
+
typeOf: CreativeWorkType.SoftwareApplication | CreativeWorkType.WebApplication;
|
|
10
|
+
}
|
|
11
|
+
export interface IAttributes extends Pick<AuthorizeActionFactory.IAttributes<IObject, IResult>, 'agent' | 'error' | 'object' | 'project' | 'recipient' | 'result' | 'typeOf'> {
|
|
12
|
+
instrument?: IInstrument;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* チケットオブジェクト承認アクション
|
|
16
|
+
*/
|
|
17
|
+
export type IAction = ActionFactory.IAction<IAttributes>;
|
package/lib/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import * as AuthorizeEventServiceOfferActionFactory from './action/authorize/off
|
|
|
15
15
|
import * as AuthorizeMoneyTransferOfferActionFactory from './action/authorize/offer/moneyTransfer';
|
|
16
16
|
import * as AuthorizeProductOfferActionFactory from './action/authorize/offer/product';
|
|
17
17
|
import * as AuthorizeAnyPaymentActionFactory from './action/authorize/paymentMethod/any';
|
|
18
|
+
import * as AuthorizeTicketedObjectActionFactory from './action/authorize/ticketedObject';
|
|
18
19
|
import * as CancelReservationActionFactory from './action/cancel/reservation';
|
|
19
20
|
import * as CheckMovieTicketActionFactory from './action/check/paymentMethod/movieTicket';
|
|
20
21
|
import * as CheckTokenActionFactory from './action/check/token';
|
|
@@ -231,6 +232,7 @@ export declare namespace action {
|
|
|
231
232
|
export import product = AuthorizeProductOfferActionFactory;
|
|
232
233
|
}
|
|
233
234
|
export import invoice = AuthorizeInvoiceActionFactory;
|
|
235
|
+
export import ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
234
236
|
}
|
|
235
237
|
namespace cancel {
|
|
236
238
|
export import reservation = CancelReservationActionFactory;
|
package/lib/index.js
CHANGED
|
@@ -17,6 +17,7 @@ var AuthorizeEventServiceOfferActionFactory = require("./action/authorize/offer/
|
|
|
17
17
|
var AuthorizeMoneyTransferOfferActionFactory = require("./action/authorize/offer/moneyTransfer");
|
|
18
18
|
var AuthorizeProductOfferActionFactory = require("./action/authorize/offer/product");
|
|
19
19
|
var AuthorizeAnyPaymentActionFactory = require("./action/authorize/paymentMethod/any");
|
|
20
|
+
var AuthorizeTicketedObjectActionFactory = require("./action/authorize/ticketedObject");
|
|
20
21
|
var CancelReservationActionFactory = require("./action/cancel/reservation");
|
|
21
22
|
var CheckMovieTicketActionFactory = require("./action/check/paymentMethod/movieTicket");
|
|
22
23
|
var CheckTokenActionFactory = require("./action/check/token");
|
|
@@ -194,6 +195,7 @@ var action;
|
|
|
194
195
|
})(offer = authorize.offer || (authorize.offer = {}));
|
|
195
196
|
// tslint:disable-next-line:no-shadowed-variable
|
|
196
197
|
authorize.invoice = AuthorizeInvoiceActionFactory;
|
|
198
|
+
authorize.ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
197
199
|
})(authorize = action.authorize || (action.authorize = {}));
|
|
198
200
|
var cancel;
|
|
199
201
|
(function (cancel) {
|