@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,19 +1,19 @@
1
1
  import type { GMOFactory } from '@gmopg/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type ISecureTran2Args = GMOFactory.service.credit.ISecureTran2Args;
4
4
  export type ISecureTran2Result = GMOFactory.service.credit.ISecureTran2Result;
5
- export interface IDirectionSecureTran2 extends RecipeFactory.IHowToDirection {
5
+ export interface IDirectionSecureTran2 extends IBaseHowToDirection {
6
6
  beforeMedia?: ISecureTran2Args;
7
7
  afterMedia?: ISecureTran2Result;
8
8
  }
9
- export interface IStepSecureTran2 extends RecipeFactory.IHowToStep {
10
- identifier: RecipeFactory.StepIdentifier.secureTran2;
9
+ export interface IStepSecureTran2 extends IBaseHowToStep {
10
+ identifier: StepIdentifier.secureTran2;
11
11
  itemListElement: [IDirectionSecureTran2];
12
12
  }
13
- export interface IHowToSection extends RecipeFactory.IHowToSection {
13
+ export interface IHowToSection extends IBaseHowToSection {
14
14
  itemListElement: [IStepSecureTran2];
15
15
  }
16
- export interface IRecipe extends RecipeFactory.IRecipe {
17
- recipeCategory: RecipeFactory.RecipeCategory.authorizeInvoice3ds;
16
+ export interface IRecipe extends IBaseRecipe {
17
+ recipeCategory: RecipeCategory.authorizeInvoice3ds;
18
18
  step: IHowToSection[];
19
19
  }
@@ -1,23 +1,23 @@
1
1
  import type { COAFactory } from '@coasystems/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export interface IResultAsError {
4
4
  name: string;
5
5
  message: string;
6
6
  }
7
7
  export type IDelTmpReserveArgs = COAFactory.reserve.IDelTmpReserveArgs;
8
8
  export type IDelTmpReserveResult = IResultAsError;
9
- export interface IDirectionDelReserve extends RecipeFactory.IHowToDirection {
9
+ export interface IDirectionDelReserve extends IBaseHowToDirection {
10
10
  beforeMedia?: IDelTmpReserveArgs;
11
11
  afterMedia?: IDelTmpReserveResult;
12
12
  }
13
- export interface IStepDelReserve extends RecipeFactory.IHowToStep {
14
- identifier: RecipeFactory.StepIdentifier.delTmpReserve;
13
+ export interface IStepDelReserve extends IBaseHowToStep {
14
+ identifier: StepIdentifier.delTmpReserve;
15
15
  itemListElement: [IDirectionDelReserve];
16
16
  }
17
- export interface IHowToSection extends RecipeFactory.IHowToSection {
17
+ export interface IHowToSection extends IBaseHowToSection {
18
18
  itemListElement: [IStepDelReserve];
19
19
  }
20
- export interface IRecipe extends RecipeFactory.IRecipe {
21
- recipeCategory: RecipeFactory.RecipeCategory.cancelPendingCOAReserve;
20
+ export interface IRecipe extends IBaseRecipe {
21
+ recipeCategory: RecipeCategory.cancelPendingCOAReserve;
22
22
  step: IHowToSection[];
23
23
  }
@@ -1,22 +1,22 @@
1
1
  import type { SurfrockFactory } from '@surfrock/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IPurchaseNumberAuthIn = SurfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberAuthIn;
4
4
  export type IPurchaseNumberAuthResult = SurfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberAuthResult;
5
5
  export type IPurchaseNumberInfo = SurfrockFactory.service.auth.purchaseNumberAuth.IPurchaseNumberInfo;
6
6
  export type IMkknInfo = SurfrockFactory.service.auth.purchaseNumberAuth.INvalidTicket;
7
7
  export type IYkknInfo = SurfrockFactory.service.auth.purchaseNumberAuth.IValidTicket;
8
- export interface IDirectionPurchaseNumberAuth extends RecipeFactory.IHowToDirection {
8
+ export interface IDirectionPurchaseNumberAuth extends IBaseHowToDirection {
9
9
  beforeMedia?: IPurchaseNumberAuthIn;
10
10
  afterMedia?: IPurchaseNumberAuthResult;
11
11
  }
12
- export interface IStepPurchaseNumberAuth extends RecipeFactory.IHowToStep {
13
- identifier: RecipeFactory.StepIdentifier.purchaseNumberAuth;
12
+ export interface IStepPurchaseNumberAuth extends IBaseHowToStep {
13
+ identifier: StepIdentifier.purchaseNumberAuth;
14
14
  itemListElement: [IDirectionPurchaseNumberAuth];
15
15
  }
16
- export interface IHowToSection extends RecipeFactory.IHowToSection {
16
+ export interface IHowToSection extends IBaseHowToSection {
17
17
  itemListElement: [IStepPurchaseNumberAuth];
18
18
  }
19
- export interface IRecipe extends RecipeFactory.IRecipe {
20
- recipeCategory: RecipeFactory.RecipeCategory.checkMovieTicket;
19
+ export interface IRecipe extends IBaseRecipe {
20
+ recipeCategory: RecipeCategory.checkMovieTicket;
21
21
  step: IHowToSection[];
22
22
  }
@@ -1,29 +1,29 @@
1
1
  import type { COAFactory } from '@coasystems/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IStateReserveArgs = COAFactory.reserve.IStateReserveArgs;
4
4
  export type IStateReserveResult = COAFactory.reserve.IStateReserveResult;
5
5
  export type IUpdReserveArgs = COAFactory.reserve.IUpdReserveArgs;
6
6
  export type IUpdReserveResult = COAFactory.reserve.IUpdReserveResult;
7
- export interface IDirectionStateReserve extends RecipeFactory.IHowToDirection {
7
+ export interface IDirectionStateReserve extends IBaseHowToDirection {
8
8
  beforeMedia?: IStateReserveArgs;
9
9
  afterMedia?: IStateReserveResult;
10
10
  }
11
- export interface IDirectionUpdReserve extends RecipeFactory.IHowToDirection {
11
+ export interface IDirectionUpdReserve extends IBaseHowToDirection {
12
12
  beforeMedia?: IUpdReserveArgs;
13
13
  afterMedia?: IUpdReserveResult;
14
14
  }
15
- export interface IStepStateReserve extends RecipeFactory.IHowToStep {
16
- identifier: RecipeFactory.StepIdentifier.stateReserve;
15
+ export interface IStepStateReserve extends IBaseHowToStep {
16
+ identifier: StepIdentifier.stateReserve;
17
17
  itemListElement: [IDirectionStateReserve];
18
18
  }
19
- export interface IStepUpdReserve extends RecipeFactory.IHowToStep {
20
- identifier: RecipeFactory.StepIdentifier.updReserve;
19
+ export interface IStepUpdReserve extends IBaseHowToStep {
20
+ identifier: StepIdentifier.updReserve;
21
21
  itemListElement: [IDirectionUpdReserve];
22
22
  }
23
- export interface IHowToSection extends RecipeFactory.IHowToSection {
23
+ export interface IHowToSection extends IBaseHowToSection {
24
24
  itemListElement: [IStepStateReserve, IStepUpdReserve];
25
25
  }
26
- export interface IRecipe extends RecipeFactory.IRecipe {
27
- recipeCategory: RecipeFactory.RecipeCategory.confirmCOAReserve;
26
+ export interface IRecipe extends IBaseRecipe {
27
+ recipeCategory: RecipeCategory.confirmCOAReserve;
28
28
  step: IHowToSection[];
29
29
  }
@@ -1,30 +1,30 @@
1
1
  import type { GMOFactory } from '@gmopg/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IOptionalSiteArgs = GMOFactory.service.credit.IOptionalSiteArgs;
4
4
  export type ISearchTradeArgs = GMOFactory.service.credit.ISearchTradeArgs & IOptionalSiteArgs;
5
5
  export type ISearchTradeResult = GMOFactory.service.credit.ISearchTradeResult;
6
6
  export type IAlterTranArgs = GMOFactory.service.credit.IAlterTranArgs & IOptionalSiteArgs;
7
7
  export type IAlterTranResult = GMOFactory.service.credit.IAlterTranResult;
8
- export interface IDirectionSearchTrade extends RecipeFactory.IHowToDirection {
8
+ export interface IDirectionSearchTrade extends IBaseHowToDirection {
9
9
  beforeMedia?: ISearchTradeArgs;
10
10
  afterMedia?: ISearchTradeResult;
11
11
  }
12
- export interface IDirectionAlterTran extends RecipeFactory.IHowToDirection {
12
+ export interface IDirectionAlterTran extends IBaseHowToDirection {
13
13
  beforeMedia?: IAlterTranArgs;
14
14
  afterMedia?: IAlterTranResult;
15
15
  }
16
- export interface IStepSearchTrade extends RecipeFactory.IHowToStep {
17
- identifier: RecipeFactory.StepIdentifier.searchTrade;
16
+ export interface IStepSearchTrade extends IBaseHowToStep {
17
+ identifier: StepIdentifier.searchTrade;
18
18
  itemListElement: [IDirectionSearchTrade];
19
19
  }
20
- export interface IStepAlterTran extends RecipeFactory.IHowToStep {
21
- identifier: RecipeFactory.StepIdentifier.alterTran;
20
+ export interface IStepAlterTran extends IBaseHowToStep {
21
+ identifier: StepIdentifier.alterTran;
22
22
  itemListElement: [IDirectionAlterTran];
23
23
  }
24
- export interface IHowToSection extends RecipeFactory.IHowToSection {
24
+ export interface IHowToSection extends IBaseHowToSection {
25
25
  itemListElement: [IStepSearchTrade, IStepAlterTran];
26
26
  }
27
- export interface IRecipe extends RecipeFactory.IRecipe {
28
- recipeCategory: RecipeFactory.RecipeCategory.payCreditCard;
27
+ export interface IRecipe extends IBaseRecipe {
28
+ recipeCategory: RecipeCategory.payCreditCard;
29
29
  step: IHowToSection[];
30
30
  }
@@ -1,23 +1,23 @@
1
1
  import type { SurfrockFactory } from '@surfrock/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export interface ISeatInfoSyncResultAsError {
4
4
  name: string;
5
5
  message: string;
6
6
  }
7
7
  export type ISeatInfoSyncIn = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncIn;
8
8
  export type ISeatInfoSyncResult = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncResult | ISeatInfoSyncResultAsError;
9
- export interface IDirectionSeatInfoSync extends RecipeFactory.IHowToDirection {
9
+ export interface IDirectionSeatInfoSync extends IBaseHowToDirection {
10
10
  beforeMedia?: ISeatInfoSyncIn;
11
11
  afterMedia?: ISeatInfoSyncResult;
12
12
  }
13
- export interface IStepSeatInfoSync extends RecipeFactory.IHowToStep {
14
- identifier: RecipeFactory.StepIdentifier.seatInfoSync;
13
+ export interface IStepSeatInfoSync extends IBaseHowToStep {
14
+ identifier: StepIdentifier.seatInfoSync;
15
15
  itemListElement: [IDirectionSeatInfoSync];
16
16
  }
17
- export interface IHowToSection extends RecipeFactory.IHowToSection {
17
+ export interface IHowToSection extends IBaseHowToSection {
18
18
  itemListElement: [IStepSeatInfoSync];
19
19
  }
20
- export interface IRecipe extends RecipeFactory.IRecipe {
21
- recipeCategory: RecipeFactory.RecipeCategory.payMovieTicket;
20
+ export interface IRecipe extends IBaseRecipe {
21
+ recipeCategory: RecipeCategory.payMovieTicket;
22
22
  step: IHowToSection[];
23
23
  }
@@ -1,31 +1,31 @@
1
1
  import type { GMOFactory } from '@gmopg/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IEntryTranArgs = GMOFactory.service.credit.IEntryTranArgs;
4
4
  export type IEntryTranResult = GMOFactory.service.credit.IEntryTranResult;
5
5
  export type IExecTranArgs = GMOFactory.service.credit.IExecTranArgs;
6
6
  export type IExecTranResult = GMOFactory.service.credit.IExecTranResult;
7
7
  export type IExecTran3dsArgs = GMOFactory.service.credit.IExecTran3dsArgs;
8
8
  export type IExecTran3dsResult = GMOFactory.service.credit.IExecTran3dsResult;
9
- export interface IDirectionEntryTran extends RecipeFactory.IHowToDirection {
9
+ export interface IDirectionEntryTran extends IBaseHowToDirection {
10
10
  beforeMedia?: IEntryTranArgs;
11
11
  afterMedia?: IEntryTranResult;
12
12
  }
13
- export interface IDirectionExecTran extends RecipeFactory.IHowToDirection {
13
+ export interface IDirectionExecTran extends IBaseHowToDirection {
14
14
  beforeMedia?: IExecTranArgs;
15
15
  afterMedia?: IExecTranResult | IExecTran3dsResult;
16
16
  }
17
- export interface IStepEntryTran extends RecipeFactory.IHowToStep {
18
- identifier: RecipeFactory.StepIdentifier.entryTran;
17
+ export interface IStepEntryTran extends IBaseHowToStep {
18
+ identifier: StepIdentifier.entryTran;
19
19
  itemListElement: [IDirectionEntryTran];
20
20
  }
21
- export interface IStepExecTran extends RecipeFactory.IHowToStep {
22
- identifier: RecipeFactory.StepIdentifier.execTran;
21
+ export interface IStepExecTran extends IBaseHowToStep {
22
+ identifier: StepIdentifier.execTran;
23
23
  itemListElement: [IDirectionExecTran];
24
24
  }
25
- export interface IHowToSection extends RecipeFactory.IHowToSection {
25
+ export interface IHowToSection extends IBaseHowToSection {
26
26
  itemListElement: [IStepEntryTran, IStepExecTran];
27
27
  }
28
- export interface IRecipe extends RecipeFactory.IRecipe {
29
- recipeCategory: RecipeFactory.RecipeCategory.publishPaymentUrl;
28
+ export interface IRecipe extends IBaseRecipe {
29
+ recipeCategory: RecipeCategory.publishPaymentUrl;
30
30
  step: IHowToSection[];
31
31
  }
@@ -1,5 +1,5 @@
1
1
  import type { GMOFactory } from '@gmopg/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export interface IResultAsError {
4
4
  name: string;
5
5
  message: string;
@@ -9,26 +9,26 @@ export type ISearchTradeArgs = GMOFactory.service.credit.ISearchTradeArgs & IOpt
9
9
  export type ISearchTradeResult = GMOFactory.service.credit.ISearchTradeResult | IResultAsError;
10
10
  export type IAlterTranArgs = GMOFactory.service.credit.IAlterTranArgs & IOptionalSiteArgs;
11
11
  export type IAlterTranResult = GMOFactory.service.credit.IAlterTranResult | IResultAsError;
12
- export interface IDirectionSearchTrade extends RecipeFactory.IHowToDirection {
12
+ export interface IDirectionSearchTrade extends IBaseHowToDirection {
13
13
  beforeMedia?: ISearchTradeArgs;
14
14
  afterMedia?: ISearchTradeResult;
15
15
  }
16
- export interface IDirectionAlterTran extends RecipeFactory.IHowToDirection {
16
+ export interface IDirectionAlterTran extends IBaseHowToDirection {
17
17
  beforeMedia?: IAlterTranArgs;
18
18
  afterMedia?: IAlterTranResult;
19
19
  }
20
- export interface IStepSearchTrade extends RecipeFactory.IHowToStep {
21
- identifier: RecipeFactory.StepIdentifier.searchTrade;
20
+ export interface IStepSearchTrade extends IBaseHowToStep {
21
+ identifier: StepIdentifier.searchTrade;
22
22
  itemListElement: [IDirectionSearchTrade];
23
23
  }
24
- export interface IStepAlterTran extends RecipeFactory.IHowToStep {
25
- identifier: RecipeFactory.StepIdentifier.alterTran;
24
+ export interface IStepAlterTran extends IBaseHowToStep {
25
+ identifier: StepIdentifier.alterTran;
26
26
  itemListElement: [IDirectionAlterTran];
27
27
  }
28
- export interface IHowToSection extends RecipeFactory.IHowToSection {
28
+ export interface IHowToSection extends IBaseHowToSection {
29
29
  itemListElement: [IStepSearchTrade, IStepAlterTran];
30
30
  }
31
- export interface IRecipe extends RecipeFactory.IRecipe {
32
- recipeCategory: RecipeFactory.RecipeCategory.refundCreditCard;
31
+ export interface IRecipe extends IBaseRecipe {
32
+ recipeCategory: RecipeCategory.refundCreditCard;
33
33
  step: IHowToSection[];
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import type { SurfrockFactory } from '@surfrock/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export interface IResultAsError {
4
4
  name: string;
5
5
  message: string;
@@ -8,26 +8,26 @@ export type ISeatInfoSyncCancelIn = SurfrockFactory.service.seat.seatInfoSyncCan
8
8
  export type ISeatInfoSyncCancelResult = SurfrockFactory.service.seat.seatInfoSyncCancel.ISeatInfoSyncCancelResult | IResultAsError;
9
9
  export type ISeatInfoSyncIn = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncIn;
10
10
  export type ISeatInfoSyncResult = SurfrockFactory.service.seat.seatInfoSync.ISeatInfoSyncResult | IResultAsError;
11
- export interface IDirectionSeatInfoSyncCancel extends RecipeFactory.IHowToDirection {
11
+ export interface IDirectionSeatInfoSyncCancel extends IBaseHowToDirection {
12
12
  beforeMedia?: ISeatInfoSyncCancelIn;
13
13
  afterMedia?: ISeatInfoSyncCancelResult;
14
14
  }
15
- export interface IDirectionSeatInfoSync extends RecipeFactory.IHowToDirection {
15
+ export interface IDirectionSeatInfoSync extends IBaseHowToDirection {
16
16
  beforeMedia?: ISeatInfoSyncIn;
17
17
  afterMedia?: ISeatInfoSyncResult;
18
18
  }
19
- export interface IStepSeatInfoSyncCancel extends RecipeFactory.IHowToStep {
20
- identifier: RecipeFactory.StepIdentifier.seatInfoSyncCancel;
19
+ export interface IStepSeatInfoSyncCancel extends IBaseHowToStep {
20
+ identifier: StepIdentifier.seatInfoSyncCancel;
21
21
  itemListElement: [IDirectionSeatInfoSyncCancel];
22
22
  }
23
- export interface IStepSeatInfoSync extends RecipeFactory.IHowToStep {
24
- identifier: RecipeFactory.StepIdentifier.seatInfoSync;
23
+ export interface IStepSeatInfoSync extends IBaseHowToStep {
24
+ identifier: StepIdentifier.seatInfoSync;
25
25
  itemListElement: [IDirectionSeatInfoSync];
26
26
  }
27
- export interface IHowToSection extends RecipeFactory.IHowToSection {
27
+ export interface IHowToSection extends IBaseHowToSection {
28
28
  itemListElement: [IStepSeatInfoSyncCancel] | [IStepSeatInfoSync];
29
29
  }
30
- export interface IRecipe extends RecipeFactory.IRecipe {
31
- recipeCategory: RecipeFactory.RecipeCategory.refundMovieTicket;
30
+ export interface IRecipe extends IBaseRecipe {
31
+ recipeCategory: RecipeCategory.refundMovieTicket;
32
32
  step: IHowToSection[];
33
33
  }
@@ -1,28 +1,28 @@
1
1
  import type { COAFactory } from '@coasystems/factory';
2
- import * as RecipeFactory from '../recipe';
2
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
3
3
  export type IStateReserveArgs = COAFactory.reserve.IStateReserveArgs;
4
4
  export type IStateReserveResult = COAFactory.reserve.IStateReserveResult;
5
5
  export type IDelReserveArgs = COAFactory.reserve.IDelReserveArgs;
6
- export interface IDirectionStateReserve extends RecipeFactory.IHowToDirection {
6
+ export interface IDirectionStateReserve extends IBaseHowToDirection {
7
7
  beforeMedia?: IStateReserveArgs;
8
8
  afterMedia?: IStateReserveResult;
9
9
  }
10
- export interface IDirectionDelReserve extends RecipeFactory.IHowToDirection {
10
+ export interface IDirectionDelReserve extends IBaseHowToDirection {
11
11
  beforeMedia?: IDelReserveArgs;
12
12
  afterMedia?: never;
13
13
  }
14
- export interface IStepStateReserve extends RecipeFactory.IHowToStep {
15
- identifier: RecipeFactory.StepIdentifier.stateReserve;
14
+ export interface IStepStateReserve extends IBaseHowToStep {
15
+ identifier: StepIdentifier.stateReserve;
16
16
  itemListElement: [IDirectionStateReserve];
17
17
  }
18
- export interface IStepDelReserve extends RecipeFactory.IHowToStep {
19
- identifier: RecipeFactory.StepIdentifier.delReserve;
18
+ export interface IStepDelReserve extends IBaseHowToStep {
19
+ identifier: StepIdentifier.delReserve;
20
20
  itemListElement: [IDirectionDelReserve];
21
21
  }
22
- export interface IHowToSection extends RecipeFactory.IHowToSection {
22
+ export interface IHowToSection extends IBaseHowToSection {
23
23
  itemListElement: [IStepStateReserve, IStepDelReserve];
24
24
  }
25
- export interface IRecipe extends RecipeFactory.IRecipe {
26
- recipeCategory: RecipeFactory.RecipeCategory.returnCOAReserve;
25
+ export interface IRecipe extends IBaseRecipe {
26
+ recipeCategory: RecipeCategory.returnCOAReserve;
27
27
  step: IHowToSection[];
28
28
  }
@@ -1,22 +1,22 @@
1
- import * as RecipeFactory from '../recipe';
1
+ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSection, IHowToStep as IBaseHowToStep, IRecipe as IBaseRecipe, RecipeCategory, StepIdentifier } from '../recipe';
2
2
  export interface ISendMultipleArgs {
3
3
  to?: any;
4
4
  from?: any;
5
5
  customArgs?: any;
6
6
  }
7
7
  export type ISendMultipleResult = any;
8
- export interface IDirectionSendMultiple extends RecipeFactory.IHowToDirection {
8
+ export interface IDirectionSendMultiple extends IBaseHowToDirection {
9
9
  beforeMedia?: ISendMultipleArgs;
10
10
  afterMedia?: ISendMultipleResult;
11
11
  }
12
- export interface IStepSendMultiple extends RecipeFactory.IHowToStep {
13
- identifier: RecipeFactory.StepIdentifier.sendMultiple;
12
+ export interface IStepSendMultiple extends IBaseHowToStep {
13
+ identifier: StepIdentifier.sendMultiple;
14
14
  itemListElement: [IDirectionSendMultiple];
15
15
  }
16
- export interface IHowToSection extends RecipeFactory.IHowToSection {
16
+ export interface IHowToSection extends IBaseHowToSection {
17
17
  itemListElement: [IStepSendMultiple];
18
18
  }
19
- export interface IRecipe extends RecipeFactory.IRecipe {
20
- recipeCategory: RecipeFactory.RecipeCategory.sendEmailMessage;
19
+ export interface IRecipe extends IBaseRecipe {
20
+ recipeCategory: RecipeCategory.sendEmailMessage;
21
21
  step: IHowToSection[];
22
22
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as IAcceptCOAOfferActionAttributes } from '../action/accept/coaOffer';
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<IAcceptCOAOfferActionAttributes, 'agent' | 'object' | 'potentialActions' | 'purpose' | 'typeOf'>;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.AcceptCOAOffer;
8
8
  data: IData;
9
9
  }
@@ -3,12 +3,12 @@
3
3
  */
4
4
  import { IAttributes as IMoneyTransferActionAttributes } from '../account/action/moneyTransfer';
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 interface IData {
9
9
  actionAttributes: IMoneyTransferActionAttributes;
10
10
  }
11
- export interface IAttributes extends TaskFactory.IAttributes {
11
+ export interface IAttributes extends ITaskAttributes {
12
12
  name: TaskName.AccountMoneyTransfer;
13
13
  data: IData;
14
14
  }
@@ -1,12 +1,12 @@
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
  typeOf: EventType.ScreeningEvent;
7
7
  id: string;
8
8
  }
9
- export interface IAttributes extends TaskFactory.IAttributes {
9
+ export interface IAttributes extends ITaskAttributes {
10
10
  name: TaskName.AggregateOffers;
11
11
  data: IData;
12
12
  }
@@ -1,6 +1,6 @@
1
1
  import { IAggregation } from '../aggregation';
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
  type IObjectAsAggregation = Pick<IAggregation, 'aggregateDate' | 'project' | 'typeOf'> & {
6
6
  aggregateDurationUnit: 'days' | 'hours';
@@ -8,7 +8,7 @@ type IObjectAsAggregation = Pick<IAggregation, 'aggregateDate' | 'project' | 'ty
8
8
  export interface IData {
9
9
  object: IObjectAsAggregation;
10
10
  }
11
- export interface IAttributes extends TaskFactory.IAttributes {
11
+ export interface IAttributes extends ITaskAttributes {
12
12
  name: TaskName.AggregateOnSystem;
13
13
  data: IData;
14
14
  }
@@ -1,12 +1,12 @@
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
  typeOf: EventType.ScreeningEvent;
7
7
  id: string;
8
8
  }
9
- export interface IAttributes extends TaskFactory.IAttributes {
9
+ export interface IAttributes extends ITaskAttributes {
10
10
  name: TaskName.AggregateScreeningEvent;
11
11
  data: IData;
12
12
  }
@@ -2,7 +2,7 @@ import { IObjectWithoutDetail, IPurpose } from '../action/authorize/paymentMetho
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 {
@@ -34,7 +34,7 @@ export interface IData {
34
34
  */
35
35
  instrument?: IInstrument[];
36
36
  }
37
- export interface IAttributes extends TaskFactory.IAttributes {
37
+ export interface IAttributes extends ITaskAttributes {
38
38
  name: TaskName.AuthorizePayment;
39
39
  data: IData;
40
40
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { AccountTransactionType } from '../account/transactionType';
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 interface IData {
9
9
  transaction: {
@@ -12,7 +12,7 @@ export interface IData {
12
12
  transactionNumber?: string;
13
13
  };
14
14
  }
15
- export interface IAttributes extends TaskFactory.IAttributes {
15
+ export interface IAttributes extends ITaskAttributes {
16
16
  name: TaskName.CancelAccountMoneyTransfer;
17
17
  data: IData;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import { AssetTransactionType } from '../assetTransactionType';
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
  purpose: {
@@ -8,7 +8,7 @@ export interface IData {
8
8
  id: string;
9
9
  };
10
10
  }
11
- export interface IAttributes extends TaskFactory.IAttributes {
11
+ export interface IAttributes extends ITaskAttributes {
12
12
  name: TaskName.CancelMoneyTransfer;
13
13
  data: IData;
14
14
  }
@@ -2,7 +2,7 @@ import { IAttributes as ICancelCOAReserveActionAttributes } from '../action/canc
2
2
  import { IPurpose } from '../action/cancel/reservation';
3
3
  import { AssetTransactionType } from '../assetTransactionType';
4
4
  import { IExtendId } from '../autoGenerated';
5
- import * as TaskFactory from '../task';
5
+ import { ITaskAttributes } from '../task';
6
6
  import { TaskName } from '../taskName';
7
7
  export interface ICancelPurpose extends IPurpose {
8
8
  typeOf: AssetTransactionType.Reserve;
@@ -19,7 +19,7 @@ export type IPotentialCancelCOAReserveAction = Pick<ICancelCOAReserveActionAttri
19
19
  purpose?: never;
20
20
  };
21
21
  export type IData = IPotentialCancelAction | IPotentialCancelCOAReserveAction;
22
- export interface IAttributes extends TaskFactory.IAttributes {
22
+ export interface IAttributes extends ITaskAttributes {
23
23
  name: TaskName.CancelPendingReservation;
24
24
  data: IData;
25
25
  }
@@ -1,7 +1,7 @@
1
1
  import { IAttributes as ICancelReservationActionAttributes } from '../action/cancel/reservation';
2
2
  import { AssetTransactionType } from '../assetTransactionType';
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 interface IPotentialCancelAction extends ICancelReservationActionAttributes {
7
7
  purpose: {
@@ -12,7 +12,7 @@ export interface IPotentialCancelAction extends ICancelReservationActionAttribut
12
12
  export interface IData {
13
13
  actionAttributes: IPotentialCancelAction[];
14
14
  }
15
- export interface IAttributes extends TaskFactory.IAttributes {
15
+ export interface IAttributes extends ITaskAttributes {
16
16
  name: TaskName.CancelReservation;
17
17
  data: IData;
18
18
  }
@@ -1,11 +1,11 @@
1
1
  import { IAttributes as ICheckMovieTicketActionAttributes, IPurpose } from '../action/check/paymentMethod/movieTicket';
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 extends Pick<ICheckMovieTicketActionAttributes, 'agent' | 'object' | 'project' | 'purpose' | 'typeOf'> {
6
6
  purpose: IPurpose;
7
7
  }
8
- export interface IAttributes extends TaskFactory.IAttributes {
8
+ export interface IAttributes extends ITaskAttributes {
9
9
  name: TaskName.CheckMovieTicket;
10
10
  data: IData;
11
11
  }
@@ -1,9 +1,9 @@
1
1
  import { IAttributes as ICheckActionAttributes } from '../action/check/thing';
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<ICheckActionAttributes, 'object' | 'typeOf'>;
6
- export interface IAttributes extends TaskFactory.IAttributes {
6
+ export interface IAttributes extends ITaskAttributes {
7
7
  name: TaskName.CheckResource;
8
8
  data: IData;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import { IAttributes as IConfirmPayActionAttributes, IPurpose as IConfirmPayPurpose } from '../action/interact/confirm/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 IPurpose = IConfirmPayPurpose & {
6
6
  confirmationNumber: string;
@@ -13,7 +13,7 @@ export interface IData extends IConfirmPayActionAttributes {
13
13
  processOrder?: boolean;
14
14
  useOnOrderStatusChanged?: boolean;
15
15
  }
16
- export interface IAttributes extends TaskFactory.IAttributes {
16
+ export interface IAttributes extends ITaskAttributes {
17
17
  name: TaskName.ConfirmPayTransaction;
18
18
  data: IData;
19
19
  }
@@ -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.ConfirmRegisterService;
8
8
  data: IData;
9
9
  }