@chevre/factory 5.4.0-alpha.1 → 5.4.0-alpha.11

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,5 +1,5 @@
1
1
  import * as ActionFactory from '../../action';
2
- import { IPaymentMethodTicketAsInstrument } from '../../action/trade/pay';
2
+ import { IAcceptedPaymentMethodOfferAsInstrument, IPaymentMethodTicketAsInstrument } from '../../action/trade/pay';
3
3
  import { ActionType } from '../../actionType';
4
4
  import { IAgent, IObjectWithoutDetail, IPaymentMethodWithoutDetail } from '../../assetTransaction/pay';
5
5
  import { AssetTransactionType } from '../../assetTransactionType';
@@ -30,7 +30,7 @@ export interface IPurpose {
30
30
  typeOf: TransactionType.PlaceOrder;
31
31
  id: string;
32
32
  }
33
- export type IInstrument = IPaymentMethodTicketAsInstrument;
33
+ export type IInstrument = IPaymentMethodTicketAsInstrument | IAcceptedPaymentMethodOfferAsInstrument;
34
34
  /**
35
35
  * 決済採用アクション属性
36
36
  */
@@ -132,6 +132,10 @@ export type IAuthorizePaymentCardObject = Pick<IObjectIncludingPaymentMethodDeta
132
132
  * 決済承認リクエストの承認対象オブジェクト
133
133
  */
134
134
  export type IObjectWithoutDetail = IAuthorizeAnyPaymentObject | IAuthorizeCreditCardObject | IAuthorizeMovieTicketObject | IAuthorizePaymentCardObject;
135
+ /**
136
+ * 決済承認アクションオブジェクト
137
+ * paymentMethodIdが決済取引の取引番号に等しい
138
+ */
135
139
  export type IObject = Pick<IObjectIncludingPaymentMethodDetails, 'typeOf' | 'paymentMethodId' | 'accountId'>;
136
140
  export interface IResultPaymentMethod {
137
141
  /**
@@ -205,10 +209,14 @@ export interface IInstrumentAsAssetTransaction {
205
209
  identifier: ServiceIdentifier;
206
210
  }
207
211
  export type IInstrument = IInstrumentAsAssetTransaction;
208
- export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
212
+ export interface IAttributes extends Pick<AuthorizeActionFactory.IAttributes<IObject, IResult>, 'typeOf' | 'sameAs' | 'result' | 'recipient' | 'purpose' | 'project' | 'object' | 'identifier' | 'error' | 'agent'> {
209
213
  typeOf: ActionType.AuthorizeAction;
210
214
  object: IObject;
211
215
  agent: IAgent;
216
+ /**
217
+ * 決済取引としてのinstrument
218
+ * @deprecated object.paymentMethodIdに依存すること
219
+ */
212
220
  instrument: IInstrument;
213
221
  recipient: IRecipient;
214
222
  purpose: IPurpose;
@@ -5,6 +5,7 @@ import { ActionType } from '../../actionType';
5
5
  import { AssetTransactionType } from '../../assetTransactionType';
6
6
  import { CreativeWorkType } from '../../creativeWorkType';
7
7
  import { IPaymentServiceOutput } from '../../invoice';
8
+ import { OfferType } from '../../offerType';
8
9
  import { IOrder, ITotalPaymentDue, OrderType } from '../../order';
9
10
  import { IMovieTicketPaymentCard } from '../../paymentMethod/paymentCard/movieTicket';
10
11
  import { IPropertyValue } from '../../propertyValue';
@@ -118,16 +119,26 @@ export interface IPayTransactionAsInstrument {
118
119
  }
119
120
  export type IRefundActionAsInstrument = Pick<IRefundAction, 'id' | 'typeOf'>;
120
121
  /**
121
- * 決済方法チケット
122
+ * ツールとしての決済方法チケット
122
123
  */
123
124
  export interface IPaymentMethodTicketAsInstrument {
124
125
  ticketToken: string;
125
126
  typeOf: 'Ticket';
126
127
  }
128
+ /**
129
+ * ツールとしての対応決済方法オファー
130
+ */
131
+ export interface IAcceptedPaymentMethodOfferAsInstrument {
132
+ /**
133
+ * 対応決済方法オファーID
134
+ */
135
+ id: string;
136
+ typeOf: OfferType.Offer;
137
+ }
127
138
  /**
128
139
  * 注文時の決済アクションツール
129
140
  */
130
- export type IPlaceOrderRelatedInstrument = IPayTransactionAsInstrument | IOrderAsInstrument | IAuthorizeActionAsInstrument | IPaymentMethodTicketAsInstrument;
141
+ export type IPlaceOrderRelatedInstrument = IPayTransactionAsInstrument | IOrderAsInstrument | IAuthorizeActionAsInstrument | IPaymentMethodTicketAsInstrument | IAcceptedPaymentMethodOfferAsInstrument;
131
142
  /**
132
143
  * 注文返品時の決済アクションツール
133
144
  */
@@ -87,6 +87,7 @@ export interface ISearchConditions {
87
87
  identifier?: string | {
88
88
  $eq?: string;
89
89
  $in?: string[];
90
+ $regex?: string;
90
91
  };
91
92
  name?: string;
92
93
  datePublishedFrom?: Date;
@@ -57,19 +57,6 @@ export interface IAggregateOfferOfPlace {
57
57
  aggregateReservation?: Pick<IAggregateReservation, 'typeOf' | 'useActionCount'>;
58
58
  }[];
59
59
  }
60
- export interface IPlaceWithAggregateOffer {
61
- typeOf: PlaceType;
62
- identifier?: string;
63
- aggregateOffer?: IAggregateOfferOfPlace;
64
- }
65
- /**
66
- * 入場ゲート集計
67
- */
68
- export interface IAggregateEntranceGate {
69
- typeOf: PlaceType.AggregatePlace;
70
- aggregateDate: Date;
71
- places: IPlaceWithAggregateOffer[];
72
- }
73
60
  export type IServiceType = IProductServiceType & {
74
61
  id?: string;
75
62
  };
@@ -12,7 +12,6 @@ import * as AnyEventFactory from './anyEvent';
12
12
  export import IAggregateReservation = AnyEventFactory.IAggregateReservation;
13
13
  export import IOfferWithAggregateReservation = AnyEventFactory.IOfferWithAggregateReservation;
14
14
  export import IAggregateOffer = AnyEventFactory.IAggregateOffer;
15
- export import IAggregateEntranceGate = AnyEventFactory.IAggregateEntranceGate;
16
15
  export import IOfferAvailableAtOrFrom = AnyEventFactory.IOfferAvailableAtOrFrom;
17
16
  export import IEventOfferForMemberTier = AnyEventFactory.IEventOfferForMemberTier;
18
17
  export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
@@ -33,6 +33,23 @@ export interface ISoundFormat {
33
33
  typeOf: string;
34
34
  name: string;
35
35
  }
36
+ /**
37
+ * サブイベント
38
+ * 施設コンテンツに所属するScreeningEventの属性など
39
+ */
40
+ export interface ISubEvent {
41
+ typeOf: EventType.ScreeningEvent;
42
+ /**
43
+ * 上映方式区分コードリスト
44
+ */
45
+ videoFormat?: string[];
46
+ }
47
+ export interface IOrganizer {
48
+ /**
49
+ * 販売者ID
50
+ */
51
+ id: string;
52
+ }
36
53
  /**
37
54
  * コンテンツ
38
55
  * contentRatingはCOAのみ存在
@@ -109,7 +126,8 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
109
126
  /**
110
127
  * 音響方式
111
128
  */
112
- soundFormat: ISoundFormat[];
129
+ soundFormat?: ISoundFormat[];
130
+ subEvent?: ISubEvent;
113
131
  /**
114
132
  * コンテンツ
115
133
  */
@@ -152,7 +170,12 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
152
170
  export type IEvent = EventFactory.IEvent<IAttributes>;
153
171
  export type IOffers4create = Pick<ISingleOffer, 'unacceptedPaymentMethod'> & {
154
172
  typeOf?: never;
155
- } | Pick<IAggregateOffer, 'typeOf'>;
173
+ } | Pick<IAggregateOffer, 'typeOf'> & {
174
+ unacceptedPaymentMethod?: never;
175
+ };
176
+ /**
177
+ * 施設コンテンツ作成パラメータ
178
+ */
156
179
  export type ICreateParams = Pick<IAttributes, 'typeOf' | 'name' | 'duration' | 'endDate' | 'headline' | 'startDate' | 'additionalProperty' | 'kanaName' | 'eventStatus' | 'description'> & {
157
180
  subtitleLanguage?: Pick<ILanguage, 'name'>;
158
181
  dubLanguage?: Pick<ILanguage, 'name'>;
package/lib/index.d.ts CHANGED
@@ -86,6 +86,7 @@ import * as MonetaryAmountFactory from './monetaryAmount';
86
86
  import * as MovieTicketTypeFactory from './movieTicketType';
87
87
  import { IMultilingualString } from './multilingualString';
88
88
  import * as OfferFactory from './offer';
89
+ import * as AcceptedPaymentMethodOfferFactory from './offer/acceptedPaymentMethod';
89
90
  import * as AggregateOfferFactory from './offer/aggregateOffer';
90
91
  import * as EventOfferFactory from './offer/eventOffer';
91
92
  import * as ProductOfferFactory from './offer/productOffer';
@@ -211,6 +212,7 @@ import * as ReturnPointAwardTaskFactory from './task/returnPointAward';
211
212
  import * as ReturnReserveTransactionTaskFactory from './task/returnReserveTransaction';
212
213
  import * as SendEmailMessageTaskFactory from './task/sendEmailMessage';
213
214
  import * as SendOrderTaskFactory from './task/sendOrder';
215
+ import * as SyncResourcesFromCOATaskFactory from './task/syncResourcesFromCOA';
214
216
  import * as TriggerWebhookTaskFactory from './task/triggerWebhook';
215
217
  import * as UseReservationTaskFactory from './task/useReservation';
216
218
  import * as VoidMoneyTransferTransactionTaskFactory from './task/voidMoneyTransferTransaction';
@@ -238,6 +240,7 @@ import { ErrorCode } from './errorCode';
238
240
  import * as errors from './errors';
239
241
  export import errors = errors;
240
242
  export import errorCode = ErrorCode;
243
+ export import acceptedPaymentMethodOffer = AcceptedPaymentMethodOfferFactory;
241
244
  export import account = AccountFactory;
242
245
  export import actionStatusType = ActionStatusType;
243
246
  export import actionType = ActionType;
@@ -549,6 +552,7 @@ export declare namespace task {
549
552
  export import registerService = RegisterServiceTaskFactory;
550
553
  export import reserve = ReserveTaskFactory;
551
554
  export import sendEmailMessage = SendEmailMessageTaskFactory;
555
+ export import syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
552
556
  export import triggerWebhook = TriggerWebhookTaskFactory;
553
557
  export import useReservation = UseReservationTaskFactory;
554
558
  export import voidPayment = VoidPaymentTaskFactory;
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
4
- exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = void 0;
3
+ exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.acceptedPaymentMethodOffer = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
4
+ exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = void 0;
5
5
  /**
6
6
  * factory
7
7
  */
@@ -86,6 +86,7 @@ var MerchantReturnPolicyFactory = require("./merchantReturnPolicy");
86
86
  var MonetaryAmountFactory = require("./monetaryAmount");
87
87
  var MovieTicketTypeFactory = require("./movieTicketType");
88
88
  var OfferFactory = require("./offer");
89
+ var AcceptedPaymentMethodOfferFactory = require("./offer/acceptedPaymentMethod");
89
90
  var AggregateOfferFactory = require("./offer/aggregateOffer");
90
91
  var EventOfferFactory = require("./offer/eventOffer");
91
92
  var ProductOfferFactory = require("./offer/productOffer");
@@ -191,6 +192,7 @@ var RefundTaskFactory = require("./task/refund");
191
192
  var RegisterServiceTaskFactory = require("./task/registerService");
192
193
  var ReserveTaskFactory = require("./task/reserve");
193
194
  var SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
195
+ var SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
194
196
  var TriggerWebhookTaskFactory = require("./task/triggerWebhook");
195
197
  var UseReservationTaskFactory = require("./task/useReservation");
196
198
  var VoidPaymentTaskFactory = require("./task/voidPayment");
@@ -212,6 +214,7 @@ var errorCode_1 = require("./errorCode");
212
214
  var errors = require("./errors");
213
215
  exports.errors = errors;
214
216
  exports.errorCode = errorCode_1.ErrorCode;
217
+ exports.acceptedPaymentMethodOffer = AcceptedPaymentMethodOfferFactory;
215
218
  exports.account = AccountFactory;
216
219
  exports.actionStatusType = actionStatusType_1.ActionStatusType;
217
220
  exports.actionType = actionType_1.ActionType;
@@ -548,6 +551,7 @@ var task;
548
551
  task.registerService = RegisterServiceTaskFactory;
549
552
  task.reserve = ReserveTaskFactory;
550
553
  task.sendEmailMessage = SendEmailMessageTaskFactory;
554
+ task.syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
551
555
  task.triggerWebhook = TriggerWebhookTaskFactory;
552
556
  task.useReservation = UseReservationTaskFactory;
553
557
  task.voidPayment = VoidPaymentTaskFactory;
@@ -0,0 +1,111 @@
1
+ import { EventType } from '../eventType';
2
+ import { IOffer } from '../offer';
3
+ import { OfferType } from '../offerType';
4
+ import { OrganizationType } from '../organizationType';
5
+ import { PaymentServiceType } from '../service/paymentService';
6
+ import { SortType } from '../sortType';
7
+ interface ISeller {
8
+ id: string;
9
+ typeOf: OrganizationType.Corporation;
10
+ }
11
+ interface IAcceptedPaymentMethod {
12
+ typeOf: PaymentServiceType.CreditCard | PaymentServiceType.MovieTicket;
13
+ /**
14
+ * 決済サービスID
15
+ */
16
+ id: string;
17
+ }
18
+ /**
19
+ * 対応決済方法オファー
20
+ */
21
+ interface IAcceptedPaymentMethodOffer extends Pick<IOffer, 'typeOf' | 'validFrom' | 'validThrough'> {
22
+ project: {
23
+ id: string;
24
+ typeOf: OrganizationType.Project;
25
+ };
26
+ seller: ISeller;
27
+ typeOf: OfferType.Offer;
28
+ /**
29
+ * いつから承認可能か
30
+ */
31
+ validFrom: Date;
32
+ /**
33
+ * いつまで承認可能か
34
+ */
35
+ validThrough: Date;
36
+ id: string;
37
+ /**
38
+ * オファーコード
39
+ * 提供リソースID内でユニーク必須
40
+ */
41
+ identifier: string;
42
+ /**
43
+ * オファーの提供リソース
44
+ */
45
+ itemOffered: {
46
+ /**
47
+ * リソースID
48
+ */
49
+ id: string;
50
+ typeOf: EventType.ScreeningEventSeries;
51
+ };
52
+ /**
53
+ * 対応決済方法
54
+ */
55
+ acceptedPaymentMethod: IAcceptedPaymentMethod;
56
+ }
57
+ interface ISearchConditions {
58
+ limit?: number;
59
+ page?: number;
60
+ sort?: {
61
+ validFrom?: SortType;
62
+ };
63
+ project?: {
64
+ id?: {
65
+ $eq?: string;
66
+ };
67
+ };
68
+ id?: {
69
+ $eq?: string;
70
+ $in?: string[];
71
+ };
72
+ /**
73
+ * オファーコード
74
+ */
75
+ identifier?: {
76
+ $eq?: string;
77
+ $in?: string[];
78
+ };
79
+ itemOffered?: {
80
+ /**
81
+ * 提供リソースID
82
+ */
83
+ id?: {
84
+ $eq?: string;
85
+ $in?: string[];
86
+ };
87
+ };
88
+ acceptedPaymentMethod?: {
89
+ /**
90
+ * 決済サービスID
91
+ */
92
+ id?: {
93
+ $eq?: string;
94
+ };
95
+ };
96
+ seller?: {
97
+ /**
98
+ * 提供販売者ID
99
+ */
100
+ id?: {
101
+ $eq?: string;
102
+ };
103
+ };
104
+ validFrom?: {
105
+ $lte?: Date;
106
+ };
107
+ validThrough?: {
108
+ $gte?: Date;
109
+ };
110
+ }
111
+ export { IAcceptedPaymentMethodOffer, ISearchConditions };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -89,7 +89,7 @@ interface ISearchConditions {
89
89
  };
90
90
  itemOffered?: {
91
91
  /**
92
- * オファーコレクションコード
92
+ * イベントID
93
93
  */
94
94
  id?: {
95
95
  $eq?: string;
@@ -1,9 +1,10 @@
1
1
  import { IObjectWithoutDetail, IPurpose } from '../action/authorize/paymentMethod/any';
2
- import { ILocation } from '../action/trade/pay';
2
+ import { IAcceptedPaymentMethodOfferAsInstrument, ILocation } from '../action/trade/pay';
3
3
  import { IExtendId } from '../autoGenerated';
4
4
  import { PaymentServiceType } from '../service/paymentService';
5
5
  import * as TaskFactory from '../task';
6
6
  import { TaskName } from '../taskName';
7
+ export type IInstrument = IAcceptedPaymentMethodOfferAsInstrument;
7
8
  export interface IData {
8
9
  project: {
9
10
  id: string;
@@ -28,6 +29,10 @@ export interface IData {
28
29
  id: string;
29
30
  };
30
31
  };
32
+ /**
33
+ * クレジットカードIFあるいは決済カードIFの場合に対応決済方法オファーを指定する
34
+ */
35
+ instrument?: IInstrument[];
31
36
  }
32
37
  export interface IAttributes extends TaskFactory.IAttributes {
33
38
  name: TaskName.AuthorizePayment;
@@ -1,9 +1,10 @@
1
1
  import { IAuthorizeCreditCardObject, IPurpose } from '../action/authorize/paymentMethod/any';
2
- import { ILocation } from '../action/trade/pay';
2
+ import { IAcceptedPaymentMethodOfferAsInstrument, ILocation } from '../action/trade/pay';
3
3
  import { IExtendId } from '../autoGenerated';
4
4
  import { PaymentServiceType } from '../service/paymentService';
5
5
  import * as TaskFactory from '../task';
6
6
  import { TaskName } from '../taskName';
7
+ export type IInstrument = IAcceptedPaymentMethodOfferAsInstrument;
7
8
  export interface IData {
8
9
  project: {
9
10
  id: string;
@@ -20,6 +21,10 @@ export interface IData {
20
21
  * authorize payment action identifier
21
22
  */
22
23
  identifier?: string;
24
+ /**
25
+ * クレジットカードIFあるいは決済カードIFの場合に対応決済方法オファーを指定する
26
+ */
27
+ instrument?: IInstrument[];
23
28
  }
24
29
  export interface IAttributes extends TaskFactory.IAttributes {
25
30
  name: TaskName.PublishPaymentUrl;
@@ -0,0 +1,35 @@
1
+ import { IParticipantAsPerson, IParticipantAsSoftwareApplication, IParticipantAsWebApplication } from '../action';
2
+ import { IExtendId } from '../autoGenerated';
3
+ import { EventType } from '../eventType';
4
+ import * as TaskFactory from '../task';
5
+ import { TaskName } from '../taskName';
6
+ export type IAgent = IParticipantAsPerson | IParticipantAsSoftwareApplication | IParticipantAsWebApplication;
7
+ export interface IReplaceEventSeriesAction {
8
+ agent: IAgent;
9
+ object: {
10
+ locationBranchCode: string;
11
+ titleCode: string;
12
+ titleBranchNum: string;
13
+ typeOf: EventType.ScreeningEventSeries;
14
+ };
15
+ }
16
+ export interface IReplaceEventsAction {
17
+ agent: IAgent;
18
+ object: {
19
+ locationBranchCode: string;
20
+ roomCode: string;
21
+ titleCode: string;
22
+ titleBranchNum: string;
23
+ startDate: Date;
24
+ typeOf: EventType.ScreeningEvent;
25
+ };
26
+ }
27
+ export type IData = IReplaceEventSeriesAction | IReplaceEventsAction;
28
+ export interface IAttributes extends TaskFactory.IAttributes {
29
+ name: TaskName.SyncResourcesFromCOA;
30
+ data: IData;
31
+ }
32
+ /**
33
+ * リソース同期タスク
34
+ */
35
+ export type ITask = IExtendId<IAttributes>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/taskName.d.ts CHANGED
@@ -114,6 +114,7 @@ export declare enum TaskName {
114
114
  * 注文配送
115
115
  */
116
116
  SendOrder = "sendOrder",
117
+ SyncResourcesFromCOA = "syncResourcesFromCOA",
117
118
  /**
118
119
  * ウェブフックをたたく
119
120
  */
package/lib/taskName.js CHANGED
@@ -119,6 +119,7 @@ var TaskName;
119
119
  * 注文配送
120
120
  */
121
121
  TaskName["SendOrder"] = "sendOrder";
122
+ TaskName["SyncResourcesFromCOA"] = "syncResourcesFromCOA";
122
123
  /**
123
124
  * ウェブフックをたたく
124
125
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "5.4.0-alpha.1",
3
+ "version": "5.4.0-alpha.11",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",