@chevre/factory 6.2.0-alpha.9 → 7.0.0-alpha.1

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.
Files changed (75) hide show
  1. package/README.md +0 -1
  2. package/lib/action/update/delete.d.ts +0 -8
  3. package/lib/assetTransaction/pay.d.ts +3 -3
  4. package/lib/cognito.d.ts +345 -3
  5. package/lib/cognito.js +5 -0
  6. package/lib/index.d.ts +3 -4
  7. package/lib/index.js +3 -4
  8. package/lib/paymentMethod/paymentCard/creditCard.d.ts +7 -40
  9. package/lib/paymentMethod/paymentCard/creditCard.js +1 -0
  10. package/lib/recipe/acceptCOAOffer.d.ts +7 -7
  11. package/lib/recipe/authorizeInvoice.d.ts +10 -10
  12. package/lib/recipe/authorizeInvoice3ds.d.ts +7 -7
  13. package/lib/recipe/cancelPendingCOAReserve.d.ts +7 -7
  14. package/lib/recipe/checkMovieTicket.d.ts +7 -7
  15. package/lib/recipe/confirmCOAReserve.d.ts +10 -10
  16. package/lib/recipe/payCreditCard.d.ts +10 -10
  17. package/lib/recipe/payMovieTicket.d.ts +7 -7
  18. package/lib/recipe/publishPaymentUrl.d.ts +10 -10
  19. package/lib/recipe/refundCreditCard.d.ts +10 -10
  20. package/lib/recipe/refundMovieTicket.d.ts +10 -10
  21. package/lib/recipe/returnCOAReserve.d.ts +10 -10
  22. package/lib/recipe/sendEmailMessage.d.ts +7 -7
  23. package/lib/task/acceptCOAOffer.d.ts +2 -2
  24. package/lib/task/accountMoneyTransfer.d.ts +2 -2
  25. package/lib/task/aggregateOffers.d.ts +2 -2
  26. package/lib/task/aggregateOnSystem.d.ts +2 -2
  27. package/lib/task/aggregateScreeningEvent.d.ts +2 -2
  28. package/lib/task/authorizePayment.d.ts +2 -2
  29. package/lib/task/cancelAccountMoneyTransfer.d.ts +2 -2
  30. package/lib/task/cancelMoneyTransfer.d.ts +2 -2
  31. package/lib/task/cancelPendingReservation.d.ts +2 -2
  32. package/lib/task/cancelReservation.d.ts +2 -2
  33. package/lib/task/checkMovieTicket.d.ts +2 -2
  34. package/lib/task/checkResource.d.ts +2 -2
  35. package/lib/task/confirmPayTransaction.d.ts +2 -2
  36. package/lib/task/confirmRegisterService.d.ts +2 -2
  37. package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
  38. package/lib/task/confirmReserveTransaction.d.ts +2 -2
  39. package/lib/task/createAccountingReport.d.ts +2 -2
  40. package/lib/task/deletePerson.d.ts +5 -14
  41. package/lib/task/deleteTransaction.d.ts +2 -2
  42. package/lib/task/givePointAward.d.ts +2 -2
  43. package/lib/task/handleNotification.d.ts +2 -2
  44. package/lib/task/importEventCapacitiesFromCOA.d.ts +2 -2
  45. package/lib/task/importEventsFromCOA.d.ts +2 -2
  46. package/lib/task/importOffersFromCOA.d.ts +2 -2
  47. package/lib/task/invalidatePaymentUrl.d.ts +2 -2
  48. package/lib/task/moneyTransfer.d.ts +2 -2
  49. package/lib/task/onAssetTransactionStatusChanged.d.ts +2 -2
  50. package/lib/task/onAuthorizationCreated.d.ts +2 -2
  51. package/lib/task/onEventChanged.d.ts +2 -2
  52. package/lib/task/onOrderPaymentCompleted.d.ts +2 -2
  53. package/lib/task/onResourceDeleted.d.ts +2 -2
  54. package/lib/task/onResourceUpdated.d.ts +2 -2
  55. package/lib/task/pay.d.ts +2 -2
  56. package/lib/task/placeOrder.d.ts +2 -2
  57. package/lib/task/publishPaymentUrl.d.ts +2 -2
  58. package/lib/task/refund.d.ts +2 -2
  59. package/lib/task/registerService.d.ts +2 -2
  60. package/lib/task/reserve.d.ts +2 -2
  61. package/lib/task/returnOrder.d.ts +2 -2
  62. package/lib/task/returnPayTransaction.d.ts +2 -2
  63. package/lib/task/returnPointAward.d.ts +2 -2
  64. package/lib/task/returnReserveTransaction.d.ts +2 -2
  65. package/lib/task/sendEmailMessage.d.ts +2 -2
  66. package/lib/task/sendOrder.d.ts +2 -2
  67. package/lib/task/syncResourcesFromCOA.d.ts +2 -2
  68. package/lib/task/triggerWebhook.d.ts +2 -2
  69. package/lib/task/useReservation.d.ts +2 -2
  70. package/lib/task/voidPayTransaction.d.ts +2 -2
  71. package/lib/task/voidPayment.d.ts +2 -2
  72. package/lib/task/voidRegisterServiceTransaction.d.ts +2 -2
  73. package/lib/task/voidReserveTransaction.d.ts +2 -2
  74. package/lib/task.d.ts +2 -2
  75. package/package.json +3 -4
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../action/interact/confirm/registerService';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = IConfirmRegisterServiceActionAttributes;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.ConfirmRegisterServiceTransaction;
8
8
  data: IData;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import { IAttributes as IConfirmReservationActionAttributes, IObject4Chevre, IObject4COA } from '../action/interact/confirm/reservation';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IObject4COAOptimized = Pick<IObject4COA, 'transactionNumber' | 'typeOf'> & {
6
6
  optimized: boolean;
@@ -11,7 +11,7 @@ export type IData = Pick<IConfirmReservationActionAttributes, 'purpose' | 'typeO
11
11
  agent?: never;
12
12
  project?: never;
13
13
  };
14
- export interface IAttributes extends TaskFactory.IAttributes {
14
+ export interface IAttributes extends ITaskAttributes {
15
15
  name: TaskName.ConfirmReserveTransaction;
16
16
  data: IData;
17
17
  }
@@ -1,11 +1,11 @@
1
1
  import { IObject } from '../action/create';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  object: Pick<IObject, 'mainEntity'>;
7
7
  }
8
- export interface IAttributes extends TaskFactory.IAttributes {
8
+ export interface IAttributes extends ITaskAttributes {
9
9
  name: TaskName.CreateAccountingReport;
10
10
  data: IData;
11
11
  }
@@ -1,6 +1,6 @@
1
1
  import { IAttributes as IDeleteMemberActionAttributes } from '../action/update/delete';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  /**
@@ -10,21 +10,12 @@ export interface IData {
10
10
  agent: IDeleteMemberActionAttributes['agent'];
11
11
  physically: boolean;
12
12
  userPoolId: string;
13
- /**
14
- * 移行するかどうか
15
- */
16
- migrate: boolean;
17
- migratePersonRecipientUrl?: string;
18
- useUsernameAsGMOMemberId: boolean;
19
- /**
20
- * クレジットカード会員を管理する決済代行の決済方法区分
21
- * 未指定の場合、クレジットカード会員削除処理は実行されない
22
- * 2024-12-26~
23
- */
24
- paymentMethodType4creditCard?: string;
25
13
  executeBackground: boolean;
14
+ migratePersonRecipientUrl?: never;
15
+ useUsernameAsGMOMemberId?: never;
16
+ paymentMethodType4creditCard?: never;
26
17
  }
27
- export interface IAttributes extends TaskFactory.IAttributes {
18
+ export interface IAttributes extends ITaskAttributes {
28
19
  name: TaskName.DeletePerson;
29
20
  data: IData;
30
21
  }
@@ -1,13 +1,13 @@
1
1
  import { IObjectAsPlaceOrder, IObjectAsReturnOrder, IObjectAsTransactionByAgentId } from '../action/update/delete';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export { IObjectAsPlaceOrder, IObjectAsReturnOrder, IObjectAsTransactionByAgentId };
6
6
  export type IObject = IObjectAsPlaceOrder | IObjectAsReturnOrder | IObjectAsTransactionByAgentId;
7
7
  export interface IData {
8
8
  object: IObject;
9
9
  }
10
- export interface IAttributes extends TaskFactory.IAttributes {
10
+ export interface IAttributes extends ITaskAttributes {
11
11
  name: TaskName.DeleteTransaction;
12
12
  data: IData;
13
13
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IGivePointAwardActionAttributes } from '../action/transfer/give/pointAward';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = IGivePointAwardActionAttributes;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.GivePointAward;
8
8
  data: IData;
9
9
  }
@@ -3,7 +3,7 @@ import { IEvent4inform2agg } from '../notification/event';
3
3
  import { IOrder4inform } from '../notification/order';
4
4
  import { IReservation4inform } from '../notification/reservation';
5
5
  import { ITask4inform } from '../notification/task';
6
- import * as TaskFactory from '../task';
6
+ import { ITaskAttributes } from '../task';
7
7
  import { TaskName } from '../taskName';
8
8
  export type INotification = IEvent4inform2agg | IOrder4inform | IReservation4inform | ITask4inform;
9
9
  export interface IData {
@@ -18,7 +18,7 @@ export interface IData {
18
18
  */
19
19
  id?: string;
20
20
  }
21
- export interface IAttributes extends TaskFactory.IAttributes {
21
+ export interface IAttributes extends ITaskAttributes {
22
22
  name: TaskName.HandleNotification;
23
23
  data: IData;
24
24
  }
@@ -1,6 +1,6 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { IProject } from '../project';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  project: Pick<IProject, 'id' | 'typeOf'>;
@@ -17,7 +17,7 @@ export interface IData {
17
17
  */
18
18
  importThrough: Date;
19
19
  }
20
- export interface IAttributes extends TaskFactory.IAttributes {
20
+ export interface IAttributes extends ITaskAttributes {
21
21
  name: TaskName.ImportEventCapacitiesFromCOA;
22
22
  data: IData;
23
23
  }
@@ -1,6 +1,6 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { IProject } from '../project';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  project: Pick<IProject, 'id' | 'typeOf'>;
@@ -26,7 +26,7 @@ export interface IData {
26
26
  saveScreeningEventSeries: boolean;
27
27
  saveScreeningEventSeriesPeriodInMonth: number;
28
28
  }
29
- export interface IAttributes extends TaskFactory.IAttributes {
29
+ export interface IAttributes extends ITaskAttributes {
30
30
  name: TaskName.ImportEventsFromCOA;
31
31
  data: IData;
32
32
  }
@@ -1,12 +1,12 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { IProject } from '../project';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  project: Pick<IProject, 'id' | 'typeOf'>;
7
7
  theaterCode: string;
8
8
  }
9
- export interface IAttributes extends TaskFactory.IAttributes {
9
+ export interface IAttributes extends ITaskAttributes {
10
10
  name: TaskName.ImportOffersFromCOA;
11
11
  data: IData;
12
12
  }
@@ -1,11 +1,11 @@
1
1
  import { IAttributes as IRefundActionAttributes, IPurposeAsPlaceOrder } from '../action/trade/refund';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = Pick<IRefundActionAttributes, 'agent' | 'object' | 'project' | 'recipient' | 'typeOf' | 'instrument'> & {
6
6
  purpose: IPurposeAsPlaceOrder;
7
7
  };
8
- export interface IAttributes extends TaskFactory.IAttributes {
8
+ export interface IAttributes extends ITaskAttributes {
9
9
  name: TaskName.InvalidatePaymentUrl;
10
10
  data: IData;
11
11
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IMoneyTransferActionAttributes } from '../action/transfer/moneyTransfer';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = IMoneyTransferActionAttributes;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.MoneyTransfer;
8
8
  data: IData;
9
9
  }
@@ -2,7 +2,7 @@ import { AssetTransactionType } from '../assetTransactionType';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { OrderType } from '../order';
4
4
  import { IProject } from '../project';
5
- import * as TaskFactory from '../task';
5
+ import { ITaskAttributes } from '../task';
6
6
  import { TaskName } from '../taskName';
7
7
  import { TransactionStatusType } from '../transactionStatusType';
8
8
  export interface IPurposeAsOrder {
@@ -42,7 +42,7 @@ export interface IData {
42
42
  purpose: IPurposeAsOrder;
43
43
  useOnOrderStatusChanged: boolean;
44
44
  }
45
- export interface IAttributes extends TaskFactory.IAttributes {
45
+ export interface IAttributes extends ITaskAttributes {
46
46
  name: TaskName.OnAssetTransactionStatusChanged;
47
47
  data: IData;
48
48
  }
@@ -1,5 +1,5 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
- import * as TaskFactory from '../task';
2
+ import { ITaskAttributes } from '../task';
3
3
  import { TaskName } from '../taskName';
4
4
  export interface IData {
5
5
  /**
@@ -12,7 +12,7 @@ export interface IData {
12
12
  */
13
13
  retryOnReservationNotFound?: boolean;
14
14
  }
15
- export interface IAttributes extends TaskFactory.IAttributes {
15
+ export interface IAttributes extends ITaskAttributes {
16
16
  name: TaskName.OnAuthorizationCreated;
17
17
  data: IData;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { EventType } from '../eventType';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  id: string[];
@@ -15,7 +15,7 @@ export interface IData {
15
15
  */
16
16
  useSync?: boolean;
17
17
  }
18
- export interface IAttributes extends TaskFactory.IAttributes {
18
+ export interface IAttributes extends ITaskAttributes {
19
19
  name: TaskName.OnEventChanged;
20
20
  data: IData;
21
21
  }
@@ -1,6 +1,6 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { IProject } from '../project';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IObjectAsOrder {
6
6
  confirmationNumber: string;
@@ -11,7 +11,7 @@ export interface IData {
11
11
  object: IObjectAsOrder;
12
12
  useOnOrderStatusChanged: boolean;
13
13
  }
14
- export interface IAttributes extends TaskFactory.IAttributes {
14
+ export interface IAttributes extends ITaskAttributes {
15
15
  name: TaskName.OnOrderPaymentCompleted;
16
16
  data: IData;
17
17
  }
@@ -6,7 +6,7 @@ import { OfferType } from '../offerType';
6
6
  import { OrganizationType } from '../organizationType';
7
7
  import { PlaceType } from '../placeType';
8
8
  import { ProductType } from '../product';
9
- import * as TaskFactory from '../task';
9
+ import { ITaskAttributes } from '../task';
10
10
  import { TaskName } from '../taskName';
11
11
  export type CategoryCodeType = ICategoryCode['typeOf'];
12
12
  export type OfferCatalogType = IOfferCatalog['typeOf'];
@@ -71,7 +71,7 @@ export interface IData4pos {
71
71
  useInform: boolean;
72
72
  }
73
73
  export type IData = IData4common | IData4screeningRoom | IData4pos;
74
- export interface IAttributes extends TaskFactory.IAttributes {
74
+ export interface IAttributes extends ITaskAttributes {
75
75
  name: TaskName.OnResourceDeleted;
76
76
  data: IData;
77
77
  }
@@ -8,7 +8,7 @@ import { OfferType } from '../offerType';
8
8
  import { OrganizationType } from '../organizationType';
9
9
  import { PlaceType } from '../placeType';
10
10
  import { ProductType } from '../product';
11
- import * as TaskFactory from '../task';
11
+ import { ITaskAttributes } from '../task';
12
12
  import { TaskName } from '../taskName';
13
13
  export type AccountTitleType = IAccountTitle['typeOf'];
14
14
  export type CategoryCodeType = ICategoryCode['typeOf'];
@@ -96,7 +96,7 @@ export interface IData4entranceGate {
96
96
  isDeleted?: never;
97
97
  }
98
98
  export type IData = IData4common | IData4screeningRoom | IData4pos | IData4entranceGate;
99
- export interface IAttributes extends TaskFactory.IAttributes {
99
+ export interface IAttributes extends ITaskAttributes {
100
100
  name: TaskName.OnResourceUpdated;
101
101
  data: IData;
102
102
  }
package/lib/task/pay.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IAttributes as IPayActionAttributes, IOrderAsInstrument, IPurposeAsReturnAction, IRefundActionAsInstrument } from '../action/trade/pay';
2
2
  import { IOptimizedPayAction4order } from '../assetTransaction/pay';
3
3
  import { IExtendId } from '../autoGenerated';
4
- import * as TaskFactory from '../task';
4
+ import { ITaskAttributes } from '../task';
5
5
  import { TaskName } from '../taskName';
6
6
  export type IPayReturnFeeActionInstrument = IOrderAsInstrument | IRefundActionAsInstrument;
7
7
  /**
@@ -20,7 +20,7 @@ export type IPayOrderAction = Pick<IOptimizedPayAction4order, 'object' | 'purpos
20
20
  potentialActions?: never;
21
21
  };
22
22
  export type IData = IPayReturnFeeAction | IPayOrderAction;
23
- export interface IAttributes extends TaskFactory.IAttributes {
23
+ export interface IAttributes extends ITaskAttributes {
24
24
  name: TaskName.Pay;
25
25
  data: IData;
26
26
  }
@@ -1,6 +1,6 @@
1
1
  import { IExtendId } from '../autoGenerated';
2
2
  import { IProject } from '../project';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IData {
6
6
  project: Pick<IProject, 'id' | 'typeOf'>;
@@ -9,7 +9,7 @@ export interface IData {
9
9
  orderNumber: string;
10
10
  };
11
11
  }
12
- export interface IAttributes extends TaskFactory.IAttributes {
12
+ export interface IAttributes extends ITaskAttributes {
13
13
  name: TaskName.PlaceOrder;
14
14
  data: IData;
15
15
  }
@@ -2,7 +2,7 @@ import { IAuthorizeCreditCardObject, IPurpose } from '../action/authorize/paymen
2
2
  import { IAcceptedPaymentMethodOfferAsInstrument, ILocation } from '../action/trade/pay';
3
3
  import { IExtendId } from '../autoGenerated';
4
4
  import { PaymentServiceType } from '../service/paymentService';
5
- import * as TaskFactory from '../task';
5
+ import { ITaskAttributes } from '../task';
6
6
  import { TaskName } from '../taskName';
7
7
  export type IInstrument = IAcceptedPaymentMethodOfferAsInstrument;
8
8
  export interface IData {
@@ -26,7 +26,7 @@ export interface IData {
26
26
  */
27
27
  instrument?: IInstrument[];
28
28
  }
29
- export interface IAttributes extends TaskFactory.IAttributes {
29
+ export interface IAttributes extends ITaskAttributes {
30
30
  name: TaskName.PublishPaymentUrl;
31
31
  data: IData;
32
32
  }
@@ -1,11 +1,11 @@
1
1
  import { IAttributes as IRefundActionAttributes, IPurposeAsReturnAction } from '../action/trade/refund';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = Pick<IRefundActionAttributes, 'agent' | 'object' | 'potentialActions' | 'project' | 'recipient' | 'typeOf' | 'instrument'> & {
6
6
  purpose: IPurposeAsReturnAction;
7
7
  };
8
- export interface IAttributes extends TaskFactory.IAttributes {
8
+ export interface IAttributes extends ITaskAttributes {
9
9
  name: TaskName.Refund;
10
10
  data: IData;
11
11
  }
@@ -3,10 +3,10 @@
3
3
  */
4
4
  import { IAttributes as IRegisterServiceActionAttributes } from '../action/interact/register/service';
5
5
  import { IExtendId } from '../autoGenerated';
6
- import * as TaskFactory from '../task';
6
+ import { ITaskAttributes } from '../task';
7
7
  import { TaskName } from '../taskName';
8
8
  export type IData = IRegisterServiceActionAttributes[];
9
- export interface IAttributes extends TaskFactory.IAttributes {
9
+ export interface IAttributes extends ITaskAttributes {
10
10
  name: TaskName.RegisterService;
11
11
  data: IData;
12
12
  }
@@ -1,6 +1,6 @@
1
1
  import { IObject } from '../action/reserve';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export interface IPotentialReserveAction {
6
6
  /**
@@ -9,7 +9,7 @@ export interface IPotentialReserveAction {
9
9
  object: Pick<IObject, 'reservationNumber'>;
10
10
  }
11
11
  export type IData = IPotentialReserveAction;
12
- export interface IAttributes extends TaskFactory.IAttributes {
12
+ export interface IAttributes extends ITaskAttributes {
13
13
  name: TaskName.Reserve;
14
14
  data: IData;
15
15
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/return/order';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = Pick<IReturnOrderActionAttributes, 'agent' | 'object' | 'project' | 'typeOf'>;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.ReturnOrder;
8
8
  data: IData;
9
9
  }
@@ -1,9 +1,9 @@
1
1
  import { IPotentialReturnInvoiceAction } from '../action/transfer/return/order';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = IPotentialReturnInvoiceAction;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.ReturnPayTransaction;
8
8
  data: IData;
9
9
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IReturnPointAwardActionAttributes } from '../action/transfer/return/pointAward';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = IReturnPointAwardActionAttributes;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.ReturnPointAward;
8
8
  data: IData;
9
9
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IReturnActionAttributes } from '../action/transfer/return/reserveTransaction';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IData = Pick<IReturnActionAttributes, 'agent' | 'object' | 'project' | 'purpose' | 'recipient' | 'typeOf'>;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.ReturnReserveTransaction;
8
8
  data: IData;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import { IAttributes as ISendEmailMessageActionAttributest } from '../action/transfer/send/message/email';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IActionAttributes = Pick<ISendEmailMessageActionAttributest, 'agent' | 'object' | 'project' | 'purpose' | 'recipient' | 'typeOf'>;
6
6
  export interface IData {
@@ -9,7 +9,7 @@ export interface IData {
9
9
  */
10
10
  actionAttributes: IActionAttributes;
11
11
  }
12
- export interface IAttributes extends TaskFactory.IAttributes {
12
+ export interface IAttributes extends ITaskAttributes {
13
13
  name: TaskName.SendEmailMessage;
14
14
  data: IData;
15
15
  }
@@ -2,7 +2,7 @@ import * as SendOrderActionFactory from '../action/transfer/send/order';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { OrderStatus } from '../orderStatus';
4
4
  import { IProject } from '../project';
5
- import * as TaskFactory from '../task';
5
+ import { ITaskAttributes } from '../task';
6
6
  import { TaskName } from '../taskName';
7
7
  export type IObject = SendOrderActionFactory.IObject & {
8
8
  confirmationNumber: string;
@@ -15,7 +15,7 @@ export interface IData {
15
15
  project: Pick<IProject, 'id' | 'typeOf'>;
16
16
  object: IObject;
17
17
  }
18
- export interface IAttributes extends TaskFactory.IAttributes {
18
+ export interface IAttributes extends ITaskAttributes {
19
19
  name: TaskName.SendOrder;
20
20
  data: IData;
21
21
  }
@@ -1,7 +1,7 @@
1
1
  import { IParticipantAsPerson, IParticipantAsSoftwareApplication, IParticipantAsWebApplication } from '../action';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { EventType } from '../eventType';
4
- import * as TaskFactory from '../task';
4
+ import { ITaskAttributes } from '../task';
5
5
  import { TaskName } from '../taskName';
6
6
  export type IAgent = IParticipantAsPerson | IParticipantAsSoftwareApplication | IParticipantAsWebApplication;
7
7
  export interface IReplaceEventSeriesAction {
@@ -25,7 +25,7 @@ export interface IReplaceEventsAction {
25
25
  };
26
26
  }
27
27
  export type IData = IReplaceEventSeriesAction | IReplaceEventsAction;
28
- export interface IAttributes extends TaskFactory.IAttributes {
28
+ export interface IAttributes extends ITaskAttributes {
29
29
  name: TaskName.SyncResourcesFromCOA;
30
30
  data: IData;
31
31
  }
@@ -17,7 +17,7 @@ import { IRefundAction4inform } from '../notification/refundAction';
17
17
  import { IReservation4inform } from '../notification/reservation';
18
18
  import { ITask4inform } from '../notification/task';
19
19
  import { IPlaceOrderAsNotification } from '../notification/transaction';
20
- import * as TaskFactory from '../task';
20
+ import { ITaskAttributes } from '../task';
21
21
  import { TaskName } from '../taskName';
22
22
  export type IDeprecatedRecipient = Pick<IRecipientDeprecated, 'id' | 'name' | 'typeOf'> & {
23
23
  url?: never;
@@ -95,7 +95,7 @@ export type IPotentialInformActionWithId = Pick<IInformActionAttributes<IPayActi
95
95
  typeOf: IInformActionAttributes<IPayAction4inform | IRefundAction4inform>['typeOf'];
96
96
  };
97
97
  export type IData = IInformAnyResourceAction | IPotentialInformOrderAction | IPotentialInformReservationAction | IPotentialInformActionWithId | IPotentialInformTaskAction;
98
- export interface IAttributes extends TaskFactory.IAttributes {
98
+ export interface IAttributes extends ITaskAttributes {
99
99
  name: TaskName.TriggerWebhook;
100
100
  data: IData;
101
101
  }
@@ -1,12 +1,12 @@
1
1
  import { IAttributes as IUseReservationActionAttributes, IReservationAsObject } from '../action/consume/use/reservation';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IUseReservationObject = Pick<IReservationAsObject, 'id' | 'typeOf'>;
6
6
  export type IData = Pick<IUseReservationActionAttributes, 'agent' | 'instrument' | 'location' | 'project' | 'typeOf'> & {
7
7
  object: IUseReservationObject;
8
8
  };
9
- export interface IAttributes extends TaskFactory.IAttributes {
9
+ export interface IAttributes extends ITaskAttributes {
10
10
  name: TaskName.UseReservation;
11
11
  data: IData;
12
12
  }
@@ -1,7 +1,7 @@
1
1
  import { IPurpose as IAuthorizePaymentPurpose } from '../action/authorize/paymentMethod/any';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { OrderStatus } from '../orderStatus';
4
- import * as TaskFactory from '../task';
4
+ import { ITaskAttributes } from '../task';
5
5
  import { TaskName } from '../taskName';
6
6
  export type IPurpose = IAuthorizePaymentPurpose & {
7
7
  result?: {
@@ -17,7 +17,7 @@ export interface IData {
17
17
  id?: string;
18
18
  purpose: IPurpose;
19
19
  }
20
- export interface IAttributes extends TaskFactory.IAttributes {
20
+ export interface IAttributes extends ITaskAttributes {
21
21
  name: TaskName.VoidPayTransaction;
22
22
  data: IData;
23
23
  }
@@ -1,12 +1,12 @@
1
1
  import { ITransaction as IPayTransaction } from '../assetTransaction/pay';
2
2
  import { IExtendId } from '../autoGenerated';
3
- import * as TaskFactory from '../task';
3
+ import { ITaskAttributes } from '../task';
4
4
  import { TaskName } from '../taskName';
5
5
  export type IPayTransactionAsObject = Pick<IPayTransaction, 'project' | 'typeOf' | 'id' | 'transactionNumber' | 'recipient' | 'object'>;
6
6
  export interface IData {
7
7
  object: IPayTransactionAsObject;
8
8
  }
9
- export interface IAttributes extends TaskFactory.IAttributes {
9
+ export interface IAttributes extends ITaskAttributes {
10
10
  name: TaskName.VoidPayment;
11
11
  data: IData;
12
12
  }
@@ -1,7 +1,7 @@
1
1
  import { IPurpose } from '../action/authorize/offer/product';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { IProject } from '../project';
4
- import * as TaskFactory from '../task';
4
+ import { ITaskAttributes } from '../task';
5
5
  import { TaskName } from '../taskName';
6
6
  export interface IData {
7
7
  agent?: {
@@ -14,7 +14,7 @@ export interface IData {
14
14
  project: Pick<IProject, 'id' | 'typeOf'>;
15
15
  purpose: IPurpose;
16
16
  }
17
- export interface IAttributes extends TaskFactory.IAttributes {
17
+ export interface IAttributes extends ITaskAttributes {
18
18
  name: TaskName.VoidRegisterServiceTransaction;
19
19
  data: IData;
20
20
  }
@@ -1,7 +1,7 @@
1
1
  import { IPurpose as IAuthorizeEventServiceOfferPurpose } from '../action/authorize/offer/eventService';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { OrderStatus } from '../orderStatus';
4
- import * as TaskFactory from '../task';
4
+ import { ITaskAttributes } from '../task';
5
5
  import { TaskName } from '../taskName';
6
6
  export type IPurpose = IAuthorizeEventServiceOfferPurpose & {
7
7
  result?: {
@@ -17,7 +17,7 @@ export interface IData {
17
17
  id?: string;
18
18
  purpose: IPurpose;
19
19
  }
20
- export interface IAttributes extends TaskFactory.IAttributes {
20
+ export interface IAttributes extends ITaskAttributes {
21
21
  name: TaskName.VoidReserveTransaction;
22
22
  data: IData;
23
23
  }