@chevre/factory 4.389.0-alpha.0 → 4.389.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.
- package/lib/aggregation.d.ts +46 -0
- package/lib/aggregation.js +21 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +6 -2
- package/lib/task/aggregateOnSystem.d.ts +16 -0
- package/lib/task/aggregateOnSystem.js +2 -0
- package/lib/taskName.d.ts +1 -0
- package/lib/taskName.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OrganizationType } from './organizationType';
|
|
2
|
+
export declare enum AggregationType {
|
|
3
|
+
AggregateAuthorizeEventServiceOfferAction = "AggregateAuthorizeEventServiceOfferAction",
|
|
4
|
+
AggregateAuthorizeOrderAction = "AggregateAuthorizeOrderAction",
|
|
5
|
+
AggregateAuthorizePaymentAction = "AggregateAuthorizePaymentAction",
|
|
6
|
+
AggregateCancelReservationAction = "AggregateCancelReservationAction",
|
|
7
|
+
AggregateCheckMovieTicketAction = "AggregateCheckMovieTicketAction",
|
|
8
|
+
AggregateEvent = "AggregateEvent",
|
|
9
|
+
AggregateOrder = "AggregateOrder",
|
|
10
|
+
AggregateOrderAction = "AggregateOrderAction",
|
|
11
|
+
AggregatePay = "AggregatePay",
|
|
12
|
+
AggregatePayMovieTicketAction = "AggregatePayMovieTicketAction",
|
|
13
|
+
AggregatePlaceOrder = "AggregatePlaceOrder",
|
|
14
|
+
AggregateReserve = "AggregateReserve",
|
|
15
|
+
AggregateReserveAction = "AggregateReserveAction",
|
|
16
|
+
AggregateTask = "AggregateTask",
|
|
17
|
+
AggregateUseAction = "AggregateUseAction"
|
|
18
|
+
}
|
|
19
|
+
export interface IAggregationByClient {
|
|
20
|
+
clientId: string;
|
|
21
|
+
aggregation: any;
|
|
22
|
+
}
|
|
23
|
+
export interface IAggregation {
|
|
24
|
+
typeOf: AggregationType;
|
|
25
|
+
/**
|
|
26
|
+
* 全プロジェクトの場合、id:*
|
|
27
|
+
*/
|
|
28
|
+
project: {
|
|
29
|
+
id: string;
|
|
30
|
+
typeOf: OrganizationType.Project;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 集計日時
|
|
34
|
+
*/
|
|
35
|
+
aggregateDate: Date;
|
|
36
|
+
/**
|
|
37
|
+
* 集計対象間隔
|
|
38
|
+
* PT1H or P1D
|
|
39
|
+
*/
|
|
40
|
+
aggregateDuration: string;
|
|
41
|
+
/**
|
|
42
|
+
* 集計対象範囲開始日時
|
|
43
|
+
*/
|
|
44
|
+
aggregateStart: Date;
|
|
45
|
+
aggregationByClient?: IAggregationByClient[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AggregationType = void 0;
|
|
4
|
+
var AggregationType;
|
|
5
|
+
(function (AggregationType) {
|
|
6
|
+
AggregationType["AggregateAuthorizeEventServiceOfferAction"] = "AggregateAuthorizeEventServiceOfferAction";
|
|
7
|
+
AggregationType["AggregateAuthorizeOrderAction"] = "AggregateAuthorizeOrderAction";
|
|
8
|
+
AggregationType["AggregateAuthorizePaymentAction"] = "AggregateAuthorizePaymentAction";
|
|
9
|
+
AggregationType["AggregateCancelReservationAction"] = "AggregateCancelReservationAction";
|
|
10
|
+
AggregationType["AggregateCheckMovieTicketAction"] = "AggregateCheckMovieTicketAction";
|
|
11
|
+
AggregationType["AggregateEvent"] = "AggregateEvent";
|
|
12
|
+
AggregationType["AggregateOrder"] = "AggregateOrder";
|
|
13
|
+
AggregationType["AggregateOrderAction"] = "AggregateOrderAction";
|
|
14
|
+
AggregationType["AggregatePay"] = "AggregatePay";
|
|
15
|
+
AggregationType["AggregatePayMovieTicketAction"] = "AggregatePayMovieTicketAction";
|
|
16
|
+
AggregationType["AggregatePlaceOrder"] = "AggregatePlaceOrder";
|
|
17
|
+
AggregationType["AggregateReserve"] = "AggregateReserve";
|
|
18
|
+
AggregationType["AggregateReserveAction"] = "AggregateReserveAction";
|
|
19
|
+
AggregationType["AggregateTask"] = "AggregateTask";
|
|
20
|
+
AggregationType["AggregateUseAction"] = "AggregateUseAction";
|
|
21
|
+
})(AggregationType = exports.AggregationType || (exports.AggregationType = {}));
|
package/lib/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ import { ActionType } from './actionType';
|
|
|
49
49
|
import * as AccountTitleFactory from './accountTitle';
|
|
50
50
|
import { AccountType } from './accountType';
|
|
51
51
|
import * as AdditionalPropertyFactory from './additionalProperty';
|
|
52
|
+
import * as AggregationFactory from './aggregation';
|
|
52
53
|
import * as AuthorizationFactory from './authorization';
|
|
53
54
|
import * as CategoryCodeFactory from './categoryCode';
|
|
54
55
|
import * as ClientUserFactory from './clientUser';
|
|
@@ -135,6 +136,7 @@ import * as TaskFactory from './task';
|
|
|
135
136
|
import * as AcceptCOAOfferTaskFactory from './task/acceptCOAOffer';
|
|
136
137
|
import * as AccountMoneyTransferTaskFactory from './task/accountMoneyTransfer';
|
|
137
138
|
import * as AggregateOffersTaskFactory from './task/aggregateOffers';
|
|
139
|
+
import * as AggregateOnSystemTaskFactory from './task/aggregateOnSystem';
|
|
138
140
|
import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
|
|
139
141
|
import * as AggregateUseActionsOnEventTaskFactory from './task/aggregateUseActionsOnEvent';
|
|
140
142
|
import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
|
|
@@ -310,6 +312,7 @@ export declare namespace action {
|
|
|
310
312
|
export import accountTitle = AccountTitleFactory;
|
|
311
313
|
export import accountType = AccountType;
|
|
312
314
|
export import additionalProperty = AdditionalPropertyFactory;
|
|
315
|
+
export import aggregation = AggregationFactory;
|
|
313
316
|
export import aggregateOffer = AggregateOfferFactory;
|
|
314
317
|
export import authorization = AuthorizationFactory;
|
|
315
318
|
export import categoryCode = CategoryCodeFactory;
|
|
@@ -446,6 +449,7 @@ export declare namespace task {
|
|
|
446
449
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
447
450
|
export import acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
448
451
|
export import aggregateOffers = AggregateOffersTaskFactory;
|
|
452
|
+
export import aggregateOnSystem = AggregateOnSystemTaskFactory;
|
|
449
453
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
450
454
|
export import aggregateUseActionsOnEvent = AggregateUseActionsOnEventTaskFactory;
|
|
451
455
|
export import authorizePayment = AuthorizePaymentTaskFactory;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = void 0;
|
|
3
|
+
exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = 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.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = 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.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -48,6 +48,7 @@ var actionType_1 = require("./actionType");
|
|
|
48
48
|
var AccountTitleFactory = require("./accountTitle");
|
|
49
49
|
var accountType_1 = require("./accountType");
|
|
50
50
|
var AdditionalPropertyFactory = require("./additionalProperty");
|
|
51
|
+
var AggregationFactory = require("./aggregation");
|
|
51
52
|
var AuthorizationFactory = require("./authorization");
|
|
52
53
|
var CategoryCodeFactory = require("./categoryCode");
|
|
53
54
|
var ClientUserFactory = require("./clientUser");
|
|
@@ -123,6 +124,7 @@ var ReservationNotification = require("./notification/reservation");
|
|
|
123
124
|
var AcceptCOAOfferTaskFactory = require("./task/acceptCOAOffer");
|
|
124
125
|
var AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
|
|
125
126
|
var AggregateOffersTaskFactory = require("./task/aggregateOffers");
|
|
127
|
+
var AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
|
|
126
128
|
var AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
127
129
|
var AggregateUseActionsOnEventTaskFactory = require("./task/aggregateUseActionsOnEvent");
|
|
128
130
|
var AuthorizePaymentTaskFactory = require("./task/authorizePayment");
|
|
@@ -294,6 +296,7 @@ var action;
|
|
|
294
296
|
exports.accountTitle = AccountTitleFactory;
|
|
295
297
|
exports.accountType = accountType_1.AccountType;
|
|
296
298
|
exports.additionalProperty = AdditionalPropertyFactory;
|
|
299
|
+
exports.aggregation = AggregationFactory;
|
|
297
300
|
exports.aggregateOffer = AggregateOfferFactory;
|
|
298
301
|
exports.authorization = AuthorizationFactory;
|
|
299
302
|
exports.categoryCode = CategoryCodeFactory;
|
|
@@ -402,6 +405,7 @@ var task;
|
|
|
402
405
|
(function (task) {
|
|
403
406
|
task.acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
404
407
|
task.aggregateOffers = AggregateOffersTaskFactory;
|
|
408
|
+
task.aggregateOnSystem = AggregateOnSystemTaskFactory;
|
|
405
409
|
task.aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
406
410
|
task.aggregateUseActionsOnEvent = AggregateUseActionsOnEventTaskFactory;
|
|
407
411
|
task.authorizePayment = AuthorizePaymentTaskFactory;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IAggregation } from '../aggregation';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import * as TaskFactory from '../task';
|
|
4
|
+
import { TaskName } from '../taskName';
|
|
5
|
+
type IObjectAsAggregation = Pick<IAggregation, 'aggregateStart' | 'project' | 'typeOf'> & {
|
|
6
|
+
aggregateDurationUnit: 'days' | 'hours';
|
|
7
|
+
};
|
|
8
|
+
export interface IData {
|
|
9
|
+
object: IObjectAsAggregation;
|
|
10
|
+
}
|
|
11
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
12
|
+
name: TaskName.AggregateOnSystem;
|
|
13
|
+
data: IData;
|
|
14
|
+
}
|
|
15
|
+
export type ITask = IExtendId<IAttributes>;
|
|
16
|
+
export {};
|
package/lib/taskName.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare enum TaskName {
|
|
|
8
8
|
*/
|
|
9
9
|
AccountMoneyTransfer = "accountMoneyTransfer",
|
|
10
10
|
AggregateOffers = "aggregateOffers",
|
|
11
|
+
AggregateOnSystem = "aggregateOnSystem",
|
|
11
12
|
AggregateScreeningEvent = "aggregateScreeningEvent",
|
|
12
13
|
AggregateUseActionsOnEvent = "aggregateUseActionsOnEvent",
|
|
13
14
|
/**
|
package/lib/taskName.js
CHANGED
|
@@ -12,6 +12,7 @@ var TaskName;
|
|
|
12
12
|
*/
|
|
13
13
|
TaskName["AccountMoneyTransfer"] = "accountMoneyTransfer";
|
|
14
14
|
TaskName["AggregateOffers"] = "aggregateOffers";
|
|
15
|
+
TaskName["AggregateOnSystem"] = "aggregateOnSystem";
|
|
15
16
|
TaskName["AggregateScreeningEvent"] = "aggregateScreeningEvent";
|
|
16
17
|
TaskName["AggregateUseActionsOnEvent"] = "aggregateUseActionsOnEvent";
|
|
17
18
|
/**
|