@chevre/factory 9.1.0 → 9.3.0

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.
@@ -18,7 +18,6 @@ import { IProductAsNotification } from '../../notification/product';
18
18
  import { IRefundAction4inform } from '../../notification/refundAction';
19
19
  import { IReservation4inform } from '../../notification/reservation';
20
20
  import { ITask4inform } from '../../notification/task';
21
- import { IPlaceOrderAsNotification } from '../../notification/transaction';
22
21
  export type IAgent = IParticipantAsProject;
23
22
  export type IRecipientAsWebApplicationDeprecated = Pick<IRecipientAsAnonymousWebApplication, 'id' | 'name' | 'typeOf'> & {
24
23
  url?: string;
@@ -37,7 +36,7 @@ export type IRecipient = Pick<IParticipantAsWebApplication, 'name' | 'typeOf'> &
37
36
  /**
38
37
  * 取引、タスク以外の通知対象リソース
39
38
  */
40
- export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
39
+ export type IAnyResourceAsObject = IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
41
40
  export type IObject = IAnyResourceAsObject | IOrder4inform | IReservation4inform | IPayAction4inform | IRefundAction4inform | ITask4inform;
42
41
  export interface IPayTransactionAsPurpose {
43
42
  id: string;
@@ -137,7 +137,6 @@ import * as ProductNotification from './notification/product';
137
137
  import * as RefundActionNotification from './notification/refundAction';
138
138
  import * as ReservationNotification from './notification/reservation';
139
139
  import * as TaskNotification from './notification/task';
140
- import * as TransactionNotification from './notification/transaction';
141
140
  import * as TaskFactory from './task';
142
141
  import * as AcceptCOAOfferTaskFactory from './task/acceptCOAOffer';
143
142
  import * as AggregateOffersTaskFactory from './task/aggregateOffers';
@@ -355,7 +354,6 @@ export declare namespace notification {
355
354
  export import place = PlaceNotification;
356
355
  export import product = ProductNotification;
357
356
  export import task = TaskNotification;
358
- export import transaction = TransactionNotification;
359
357
  }
360
358
  export import offerCatalog = OfferCatalogFactory;
361
359
  export import offerItemCondition = OfferItemConditionFactory;
@@ -137,7 +137,6 @@ const ProductNotification = require("./notification/product");
137
137
  const RefundActionNotification = require("./notification/refundAction");
138
138
  const ReservationNotification = require("./notification/reservation");
139
139
  const TaskNotification = require("./notification/task");
140
- const TransactionNotification = require("./notification/transaction");
141
140
  const AcceptCOAOfferTaskFactory = require("./task/acceptCOAOffer");
142
141
  const AggregateOffersTaskFactory = require("./task/aggregateOffers");
143
142
  const AggregateOnSystemTaskFactory = require("./task/aggregateOnSystem");
@@ -349,7 +348,6 @@ var notification;
349
348
  notification.place = PlaceNotification;
350
349
  notification.product = ProductNotification;
351
350
  notification.task = TaskNotification;
352
- notification.transaction = TransactionNotification;
353
351
  })(notification || (exports.notification = notification = {}));
354
352
  exports.offerCatalog = OfferCatalogFactory;
355
353
  exports.offerItemCondition = OfferItemConditionFactory;
@@ -572,6 +572,12 @@ export interface ISearchConditions {
572
572
  * 顧客条件
573
573
  */
574
574
  customer?: ICustomerSearchConditions;
575
+ /**
576
+ * 注文取引ID
577
+ */
578
+ identifier?: {
579
+ $eq?: string;
580
+ };
575
581
  /**
576
582
  * 注文番号リスト
577
583
  */
@@ -16,7 +16,6 @@ import { IProductAsNotification } from '../notification/product';
16
16
  import { IRefundAction4inform } from '../notification/refundAction';
17
17
  import { IReservation4inform } from '../notification/reservation';
18
18
  import { ITask4inform } from '../notification/task';
19
- import { IPlaceOrderAsNotification } from '../notification/transaction';
20
19
  import { ITaskAttributes } from '../task';
21
20
  import { TaskName } from '../taskName';
22
21
  export type IDeprecatedRecipient = Pick<IRecipientDeprecated, 'id' | 'name' | 'typeOf'> & {
@@ -25,7 +24,7 @@ export type IDeprecatedRecipient = Pick<IRecipientDeprecated, 'id' | 'name' | 't
25
24
  /**
26
25
  * define strictly(2025-02-20~)
27
26
  */
28
- export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
27
+ export type IAnyResourceAsObject = IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
29
28
  export type IInformAnyResourceAction = Pick<IInformActionAttributes<IAnyResourceAsObject>, 'object' | 'about'> & {
30
29
  /**
31
30
  * 通知識別子(2024-10-24~)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "9.1.0",
3
+ "version": "9.3.0",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [
@@ -1,2 +0,0 @@
1
- import { ITransaction } from '../transaction/placeOrder';
2
- export type IPlaceOrderAsNotification = Pick<ITransaction, 'endDate' | 'id' | 'project' | 'seller' | 'startDate' | 'status' | 'typeOf'>;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // id: string;
4
- // typeOf: transaction.typeOf,
5
- // project: transaction.project,
6
- // seller: transaction.seller,
7
- // startDate: transaction.startDate,
8
- // status: transaction.status,
9
- // ...(transaction.endDate !== undefined) ? { endDate: transaction.endDate } : undefined
10
- // }