@chevre/domain 24.0.0-alpha.71 → 24.0.0-alpha.73

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 (47) hide show
  1. package/lib/chevre/errorHandler.js +33 -33
  2. package/lib/chevre/factory.d.ts +1 -2
  3. package/lib/chevre/factory.js +2 -26
  4. package/lib/chevre/repo/action/checkMovieTicket.d.ts +3 -3
  5. package/lib/chevre/repo/action.d.ts +2 -2
  6. package/lib/chevre/repo/assetTransaction.d.ts +20 -20
  7. package/lib/chevre/repo/comment.d.ts +2 -2
  8. package/lib/chevre/repo/creativeWork.d.ts +3 -3
  9. package/lib/chevre/repo/event.d.ts +5 -5
  10. package/lib/chevre/repo/factory/reservation/createMongoConditions.d.ts +1 -1
  11. package/lib/chevre/repo/identity.d.ts +4 -4
  12. package/lib/chevre/repo/merchantReturnPolicy.d.ts +4 -4
  13. package/lib/chevre/repo/note.d.ts +1 -1
  14. package/lib/chevre/repo/noteAboutOrder.d.ts +1 -1
  15. package/lib/chevre/repo/paymentService.d.ts +1 -1
  16. package/lib/chevre/repo/place/busStop.d.ts +1 -1
  17. package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
  18. package/lib/chevre/repo/place/screeningRoom.d.ts +4 -4
  19. package/lib/chevre/repo/priceSpecification.d.ts +8 -8
  20. package/lib/chevre/repo/reservation.d.ts +2 -2
  21. package/lib/chevre/repo/role.d.ts +9 -9
  22. package/lib/chevre/repo/task.d.ts +1 -1
  23. package/lib/chevre/repo/transaction/placeOrder.d.ts +1 -1
  24. package/lib/chevre/repo/transaction/returnOrder.d.ts +1 -1
  25. package/lib/chevre/repo/transaction.d.ts +31 -31
  26. package/lib/chevre/service/assetTransaction/cancelReservation/start.d.ts +2 -2
  27. package/lib/chevre/service/notification/notifyByEmail.d.ts +1 -1
  28. package/lib/chevre/service/order/onOrderStatusChanged/onOrderCancelled/factory.d.ts +1 -1
  29. package/lib/chevre/service/order/onOrderStatusChanged/onOrderDeliveredPartially/factory.d.ts +1 -1
  30. package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned/factory.d.ts +1 -1
  31. package/lib/chevre/service/payment/movieTicket/factory.d.ts +2 -2
  32. package/lib/chevre/service/payment/movieTicket/factory.js +3 -26
  33. package/lib/chevre/service/payment/movieTicket/payMovieTicket/payActionParams2seatInfoSyncIn.d.ts +2 -2
  34. package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.d.ts +2 -2
  35. package/lib/chevre/service/payment/movieTicket/payMovieTicket.js +3 -26
  36. package/lib/chevre/service/payment/movieTicket/processPurchaseNumberAuth.js +4 -27
  37. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncCancelInOnRefund.d.ts +2 -2
  38. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncCancelInOnRefund.js +2 -25
  39. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncInOnRefund.d.ts +2 -2
  40. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/createSeatInfoSyncInOnRefund.js +2 -25
  41. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSync.d.ts +2 -2
  42. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.d.ts +2 -2
  43. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.js +3 -26
  44. package/lib/chevre/service/payment/movieTicket/refundMovieTicket.js +3 -26
  45. package/lib/chevre/service/reserve/factory.d.ts +1 -1
  46. package/lib/chevre/service/transaction/returnOrder.d.ts +1 -1
  47. package/package.json +4 -4
@@ -29,7 +29,7 @@ interface IUpsertOptions {
29
29
  export declare class MovieTheaterRepo {
30
30
  private readonly civicStructureModel;
31
31
  constructor(connection: Connection);
32
- static CREATE_MOVIE_THEATER_MONGO_CONDITIONS(params: factory.place.movieTheater.ISearchConditions): FilterQuery<import("@chevre/factory/lib/place/movieTheater").IPlace>[];
32
+ static CREATE_MOVIE_THEATER_MONGO_CONDITIONS(params: factory.place.movieTheater.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace>[];
33
33
  /**
34
34
  * 施設を保管する
35
35
  */
@@ -95,13 +95,13 @@ export declare class MovieTheaterRepo {
95
95
  id: string;
96
96
  };
97
97
  }): Promise<void>;
98
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/movieTheater").IPlace, "id"> & {
98
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace, "id"> & {
99
99
  hasPOS?: factory.place.movieTheater.IPOS[];
100
100
  } & {
101
101
  _id: import("mongoose").Types.ObjectId;
102
102
  } & {
103
103
  __v: number;
104
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/movieTheater").IPlace, "id"> & {
104
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace, "id"> & {
105
105
  hasPOS?: factory.place.movieTheater.IPOS[];
106
106
  } & {
107
107
  _id: import("mongoose").Types.ObjectId;
@@ -124,22 +124,22 @@ export declare class ScreeningRoomRepo {
124
124
  id: string;
125
125
  };
126
126
  }): Promise<void>;
127
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/screeningRoom").IPlace, "containsPlace"> & {
127
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/screeningRoom").IPlace, "containsPlace"> & {
128
128
  description?: any;
129
129
  openingHoursSpecification?: any;
130
130
  smokingAllowed?: boolean;
131
- containsPlace: (Pick<import("@chevre/factory/lib/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
131
+ containsPlace: (Pick<import("@chevre/factory/lib/chevre/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
132
132
  containsPlace?: factory.place.seat.IPlace[];
133
133
  })[];
134
134
  } & {
135
135
  _id: import("mongoose").Types.ObjectId;
136
136
  } & {
137
137
  __v: number;
138
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/screeningRoom").IPlace, "containsPlace"> & {
138
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/screeningRoom").IPlace, "containsPlace"> & {
139
139
  description?: any;
140
140
  openingHoursSpecification?: any;
141
141
  smokingAllowed?: boolean;
142
- containsPlace: (Pick<import("@chevre/factory/lib/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
142
+ containsPlace: (Pick<import("@chevre/factory/lib/chevre/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
143
143
  containsPlace?: factory.place.seat.IPlace[];
144
144
  })[];
145
145
  } & {
@@ -38,13 +38,13 @@ export declare class PriceSpecificationRepo {
38
38
  }): Promise<void>;
39
39
  getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
40
40
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
41
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
41
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
42
42
  price: number;
43
43
  priceCurrency: factory.priceCurrency;
44
44
  typeOf: factory.priceSpecificationType.CategoryCodeChargeSpecification;
45
45
  valueAddedTaxIncluded: boolean;
46
46
  accounting?: never | undefined;
47
- appliesToCategoryCode: import("@chevre/factory/lib/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
47
+ appliesToCategoryCode: import("@chevre/factory/lib/chevre/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
48
48
  } & {
49
49
  validFrom?: Date;
50
50
  validThrough?: Date;
@@ -54,13 +54,13 @@ export declare class PriceSpecificationRepo {
54
54
  __v: number;
55
55
  }) | ({
56
56
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
57
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
57
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
58
58
  price: number;
59
59
  priceCurrency: factory.priceCurrency;
60
60
  typeOf: factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
61
61
  valueAddedTaxIncluded: boolean;
62
62
  accounting?: never | undefined;
63
- appliesToMovieTicket: import("@chevre/factory/lib/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
63
+ appliesToMovieTicket: import("@chevre/factory/lib/chevre/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
64
64
  appliesToVideoFormat: string;
65
65
  } & {
66
66
  validFrom?: Date;
@@ -71,13 +71,13 @@ export declare class PriceSpecificationRepo {
71
71
  __v: number;
72
72
  })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
73
73
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
74
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
74
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
75
75
  price: number;
76
76
  priceCurrency: factory.priceCurrency;
77
77
  typeOf: factory.priceSpecificationType.CategoryCodeChargeSpecification;
78
78
  valueAddedTaxIncluded: boolean;
79
79
  accounting?: never | undefined;
80
- appliesToCategoryCode: import("@chevre/factory/lib/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
80
+ appliesToCategoryCode: import("@chevre/factory/lib/chevre/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
81
81
  } & {
82
82
  validFrom?: Date;
83
83
  validThrough?: Date;
@@ -87,13 +87,13 @@ export declare class PriceSpecificationRepo {
87
87
  __v: number;
88
88
  }) | ({
89
89
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
90
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
90
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
91
91
  price: number;
92
92
  priceCurrency: factory.priceCurrency;
93
93
  typeOf: factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
94
94
  valueAddedTaxIncluded: boolean;
95
95
  accounting?: never | undefined;
96
- appliesToMovieTicket: import("@chevre/factory/lib/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
96
+ appliesToMovieTicket: import("@chevre/factory/lib/chevre/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
97
97
  appliesToVideoFormat: string;
98
98
  } & {
99
99
  validFrom?: Date;
@@ -143,7 +143,7 @@ export declare class ReservationRepo {
143
143
  $in: string[];
144
144
  };
145
145
  }): Promise<string[]>;
146
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id"> & {
146
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id"> & {
147
147
  _id: string;
148
148
  bookingAgent?: any;
149
149
  previousReservationStatus?: factory.reservationStatusType;
@@ -151,7 +151,7 @@ export declare class ReservationRepo {
151
151
  _id: string;
152
152
  }> & {
153
153
  __v: number;
154
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id"> & {
154
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id"> & {
155
155
  _id: string;
156
156
  bookingAgent?: any;
157
157
  previousReservationStatus?: factory.reservationStatusType;
@@ -25,14 +25,14 @@ export declare class RoleRepo {
25
25
  };
26
26
  permission: string;
27
27
  }): Promise<(import("mongoose").FlattenMaps<{
28
- typeOf: import("@chevre/factory/lib/role").RoleType;
28
+ typeOf: import("@chevre/factory/lib/chevre/role").RoleType;
29
29
  memberOf: {
30
30
  typeOf: factory.organizationType.Corporation | factory.organizationType.Project;
31
31
  };
32
32
  member: {
33
- typeOf: import("@chevre/factory/lib/role/organizationRole").IMemberType;
33
+ typeOf: import("@chevre/factory/lib/chevre/role/organizationRole").IMemberType;
34
34
  };
35
- roleName: import("@chevre/factory/lib/role/organizationRole").RoleName;
35
+ roleName: import("@chevre/factory/lib/chevre/role/organizationRole").RoleName;
36
36
  permissions: string[];
37
37
  }> & {
38
38
  _id: import("mongoose").Types.ObjectId;
@@ -45,14 +45,14 @@ export declare class RoleRepo {
45
45
  };
46
46
  permission: string;
47
47
  }): Promise<(import("mongoose").FlattenMaps<{
48
- typeOf: import("@chevre/factory/lib/role").RoleType;
48
+ typeOf: import("@chevre/factory/lib/chevre/role").RoleType;
49
49
  memberOf: {
50
50
  typeOf: factory.organizationType.Corporation | factory.organizationType.Project;
51
51
  };
52
52
  member: {
53
- typeOf: import("@chevre/factory/lib/role/organizationRole").IMemberType;
53
+ typeOf: import("@chevre/factory/lib/chevre/role/organizationRole").IMemberType;
54
54
  };
55
- roleName: import("@chevre/factory/lib/role/organizationRole").RoleName;
55
+ roleName: import("@chevre/factory/lib/chevre/role/organizationRole").RoleName;
56
56
  permissions: string[];
57
57
  }> & {
58
58
  _id: import("mongoose").Types.ObjectId;
@@ -60,14 +60,14 @@ export declare class RoleRepo {
60
60
  __v: number;
61
61
  }) | null>;
62
62
  addMember(params: Pick<IRole, 'member' | 'memberOf' | 'roleName'>): Promise<(import("mongoose").FlattenMaps<{
63
- typeOf: import("@chevre/factory/lib/role").RoleType;
63
+ typeOf: import("@chevre/factory/lib/chevre/role").RoleType;
64
64
  memberOf: {
65
65
  typeOf: factory.organizationType.Corporation | factory.organizationType.Project;
66
66
  };
67
67
  member: {
68
- typeOf: import("@chevre/factory/lib/role/organizationRole").IMemberType;
68
+ typeOf: import("@chevre/factory/lib/chevre/role/organizationRole").IMemberType;
69
69
  };
70
- roleName: import("@chevre/factory/lib/role/organizationRole").RoleName;
70
+ roleName: import("@chevre/factory/lib/chevre/role/organizationRole").RoleName;
71
71
  permissions: string[];
72
72
  }> & {
73
73
  _id: import("mongoose").Types.ObjectId;
@@ -31,7 +31,7 @@ type ICreatingTask = Pick<factory.task.IAttributes<factory.taskName>, 'data' | '
31
31
  export declare class TaskRepo {
32
32
  readonly taskModel: IModel;
33
33
  constructor(connection: Connection);
34
- static CREATE_MONGO_CONDITIONS(params: factory.task.ISearchConditions): FilterQuery<import("@chevre/factory/lib/task").ITask | import("@chevre/factory/lib/task/confirmRegisterService").ITask | import("@chevre/factory/lib/task/confirmPayTransaction").ITask | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").ITask | import("@chevre/factory/lib/task/confirmReserveTransaction").ITask | import("@chevre/factory/lib/task/createAccountingReport").ITask | import("@chevre/factory/lib/task/deletePerson").ITask | import("@chevre/factory/lib/task/deleteTransaction").ITask | import("@chevre/factory/lib/task/givePointAward").ITask | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").ITask | import("@chevre/factory/lib/task/onAuthorizationCreated").ITask | import("@chevre/factory/lib/task/onEventChanged").ITask | import("@chevre/factory/lib/task/onResourceDeleted").ITask | import("@chevre/factory/lib/task/onResourceUpdated").ITask | import("@chevre/factory/lib/task/onOrderPaymentCompleted").ITask | import("@chevre/factory/lib/task/placeOrder").ITask | import("@chevre/factory/lib/task/returnOrder").ITask | import("@chevre/factory/lib/task/returnPayTransaction").ITask | import("@chevre/factory/lib/task/returnPointAward").ITask | import("@chevre/factory/lib/task/returnReserveTransaction").ITask | import("@chevre/factory/lib/task/sendEmailMessage").ITask | import("@chevre/factory/lib/task/sendOrder").ITask | import("@chevre/factory/lib/task/triggerWebhook").ITask | import("@chevre/factory/lib/task/useReservation").ITask | import("@chevre/factory/lib/task/voidPayTransaction").ITask | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").ITask | import("@chevre/factory/lib/task/voidReserveTransaction").ITask>[];
34
+ static CREATE_MONGO_CONDITIONS(params: factory.task.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/task").ITask | import("@chevre/factory/lib/chevre/task/confirmRegisterService").ITask | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").ITask | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").ITask | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").ITask | import("@chevre/factory/lib/chevre/task/createAccountingReport").ITask | import("@chevre/factory/lib/chevre/task/deletePerson").ITask | import("@chevre/factory/lib/chevre/task/deleteTransaction").ITask | import("@chevre/factory/lib/chevre/task/givePointAward").ITask | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").ITask | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").ITask | import("@chevre/factory/lib/chevre/task/onEventChanged").ITask | import("@chevre/factory/lib/chevre/task/onResourceDeleted").ITask | import("@chevre/factory/lib/chevre/task/onResourceUpdated").ITask | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").ITask | import("@chevre/factory/lib/chevre/task/placeOrder").ITask | import("@chevre/factory/lib/chevre/task/returnOrder").ITask | import("@chevre/factory/lib/chevre/task/returnPayTransaction").ITask | import("@chevre/factory/lib/chevre/task/returnPointAward").ITask | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").ITask | import("@chevre/factory/lib/chevre/task/sendEmailMessage").ITask | import("@chevre/factory/lib/chevre/task/sendOrder").ITask | import("@chevre/factory/lib/chevre/task/triggerWebhook").ITask | import("@chevre/factory/lib/chevre/task/useReservation").ITask | import("@chevre/factory/lib/chevre/task/voidPayTransaction").ITask | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").ITask | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").ITask>[];
35
35
  runImmediately(params: Pick<factory.task.IAttributes<factory.taskName>, 'data' | 'expires' | 'name' | 'project' | 'remainingNumberOfTries' | 'runsAt'> & {
36
36
  alternateName?: never;
37
37
  identifier?: never;
@@ -23,7 +23,7 @@ export type IStartedPlaceOrder = Pick<factory.transaction.ITransaction<factory.t
23
23
  export declare class PlaceOrderRepo {
24
24
  private readonly transactionModel;
25
25
  constructor(connection: Connection);
26
- static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.PlaceOrder>): FilterQuery<import("@chevre/factory/lib/transaction/placeOrder").ITransaction>[];
26
+ static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.PlaceOrder>): FilterQuery<import("@chevre/factory/lib/chevre/transaction/placeOrder").ITransaction>[];
27
27
  countPlaceOrder(params: factory.transaction.ISearchConditions<factory.transactionType.PlaceOrder>): Promise<{
28
28
  count: number;
29
29
  }>;
@@ -9,7 +9,7 @@ export type IStartedTransaction = Pick<factory.transaction.ITransaction<factory.
9
9
  export declare class ReturnOrderRepo {
10
10
  private readonly transactionModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.ReturnOrder>): FilterQuery<import("@chevre/factory/lib/transaction/returnOrder").ITransaction>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.transaction.ISearchConditions<factory.transactionType.ReturnOrder>): FilterQuery<import("@chevre/factory/lib/chevre/transaction/returnOrder").ITransaction>[];
13
13
  countReturnOrder(params: factory.transaction.ISearchConditions<factory.transactionType.ReturnOrder>): Promise<{
14
14
  count: number;
15
15
  }>;
@@ -73,7 +73,7 @@ export declare class TransactionRepo {
73
73
  $in: factory.transactionStatusType[];
74
74
  };
75
75
  limit: number;
76
- }): Promise<Pick<import("@chevre/factory/lib/transaction/placeOrder").ITransaction | import("@chevre/factory/lib/transaction/returnOrder").ITransaction, "id" | "typeOf" | "status">[]>;
76
+ }): Promise<Pick<import("@chevre/factory/lib/chevre/transaction/placeOrder").ITransaction | import("@chevre/factory/lib/chevre/transaction/returnOrder").ITransaction, "id" | "typeOf" | "status">[]>;
77
77
  /**
78
78
  * set task status exported by transaction id
79
79
  * IDでタスクをエクスポート済に変更する
@@ -127,77 +127,77 @@ export declare class TransactionRepo {
127
127
  };
128
128
  }): Promise<import("mongodb").DeleteResult>;
129
129
  getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
130
- object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
130
+ object: import("@chevre/factory/lib/chevre/transaction/placeOrder").IObject;
131
131
  error?: any;
132
- project: import("@chevre/factory/lib/transaction").IProject;
133
- seller: import("@chevre/factory/lib/transaction/placeOrder").ISeller;
132
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
133
+ seller: import("@chevre/factory/lib/chevre/transaction/placeOrder").ISeller;
134
134
  typeOf: factory.transactionType.PlaceOrder;
135
135
  expires: Date;
136
- result?: import("@chevre/factory/lib/transaction/placeOrder").IResult | undefined;
136
+ result?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IResult | undefined;
137
137
  startDate: Date;
138
138
  endDate?: Date | undefined;
139
139
  status: factory.transactionStatusType;
140
- agent: import("@chevre/factory/lib/transaction/placeOrder").IAgent;
141
- instrument?: import("@chevre/factory/lib/transaction/placeOrder").IInstrument | undefined;
142
- potentialActions?: import("@chevre/factory/lib/transaction/placeOrder").IPotentialActions | undefined;
143
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
140
+ agent: import("@chevre/factory/lib/chevre/transaction/placeOrder").IAgent;
141
+ instrument?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IInstrument | undefined;
142
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IPotentialActions | undefined;
143
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
144
144
  } & {
145
145
  _id: import("mongoose").Types.ObjectId;
146
146
  } & {
147
147
  __v: number;
148
148
  }) | ({
149
- object: import("@chevre/factory/lib/transaction/returnOrder").IObject;
149
+ object: import("@chevre/factory/lib/chevre/transaction/returnOrder").IObject;
150
150
  error?: any;
151
- project: import("@chevre/factory/lib/transaction").IProject;
152
- seller: import("@chevre/factory/lib/transaction").ISeller;
151
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
152
+ seller: import("@chevre/factory/lib/chevre/transaction").ISeller;
153
153
  typeOf: factory.transactionType.ReturnOrder;
154
154
  expires: Date;
155
- result?: import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined;
155
+ result?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IResult | undefined;
156
156
  startDate: Date;
157
157
  endDate?: Date | undefined;
158
158
  status: factory.transactionStatusType;
159
- agent: import("@chevre/factory/lib/transaction").IAgent;
160
- potentialActions?: import("@chevre/factory/lib/transaction/returnOrder").IPotentialActions | undefined;
159
+ agent: import("@chevre/factory/lib/chevre/transaction").IAgent;
160
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IPotentialActions | undefined;
161
161
  recipient?: undefined;
162
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
162
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
163
163
  } & {
164
164
  _id: import("mongoose").Types.ObjectId;
165
165
  } & {
166
166
  __v: number;
167
167
  })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
168
- object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
168
+ object: import("@chevre/factory/lib/chevre/transaction/placeOrder").IObject;
169
169
  error?: any;
170
- project: import("@chevre/factory/lib/transaction").IProject;
171
- seller: import("@chevre/factory/lib/transaction/placeOrder").ISeller;
170
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
171
+ seller: import("@chevre/factory/lib/chevre/transaction/placeOrder").ISeller;
172
172
  typeOf: factory.transactionType.PlaceOrder;
173
173
  expires: Date;
174
- result?: import("@chevre/factory/lib/transaction/placeOrder").IResult | undefined;
174
+ result?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IResult | undefined;
175
175
  startDate: Date;
176
176
  endDate?: Date | undefined;
177
177
  status: factory.transactionStatusType;
178
- agent: import("@chevre/factory/lib/transaction/placeOrder").IAgent;
179
- instrument?: import("@chevre/factory/lib/transaction/placeOrder").IInstrument | undefined;
180
- potentialActions?: import("@chevre/factory/lib/transaction/placeOrder").IPotentialActions | undefined;
181
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
178
+ agent: import("@chevre/factory/lib/chevre/transaction/placeOrder").IAgent;
179
+ instrument?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IInstrument | undefined;
180
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/placeOrder").IPotentialActions | undefined;
181
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
182
182
  } & {
183
183
  _id: import("mongoose").Types.ObjectId;
184
184
  } & {
185
185
  __v: number;
186
186
  }) | ({
187
- object: import("@chevre/factory/lib/transaction/returnOrder").IObject;
187
+ object: import("@chevre/factory/lib/chevre/transaction/returnOrder").IObject;
188
188
  error?: any;
189
- project: import("@chevre/factory/lib/transaction").IProject;
190
- seller: import("@chevre/factory/lib/transaction").ISeller;
189
+ project: import("@chevre/factory/lib/chevre/transaction").IProject;
190
+ seller: import("@chevre/factory/lib/chevre/transaction").ISeller;
191
191
  typeOf: factory.transactionType.ReturnOrder;
192
192
  expires: Date;
193
- result?: import("@chevre/factory/lib/transaction/returnOrder").IResult | undefined;
193
+ result?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IResult | undefined;
194
194
  startDate: Date;
195
195
  endDate?: Date | undefined;
196
196
  status: factory.transactionStatusType;
197
- agent: import("@chevre/factory/lib/transaction").IAgent;
198
- potentialActions?: import("@chevre/factory/lib/transaction/returnOrder").IPotentialActions | undefined;
197
+ agent: import("@chevre/factory/lib/chevre/transaction").IAgent;
198
+ potentialActions?: import("@chevre/factory/lib/chevre/transaction/returnOrder").IPotentialActions | undefined;
199
199
  recipient?: undefined;
200
- tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
200
+ tasksExportAction?: import("@chevre/factory/lib/chevre/transaction").ITasksExportAction | undefined;
201
201
  } & {
202
202
  _id: import("mongoose").Types.ObjectId;
203
203
  } & {
@@ -17,8 +17,8 @@ export declare function validateStartParams(params: IStartParams): (repos: {
17
17
  reservation: ReservationRepo;
18
18
  assetTransaction: AssetTransactionRepo;
19
19
  }) => Promise<{
20
- reserveTransaction: import("@chevre/factory/lib/assetTransaction/reserve").ITransaction | undefined;
21
- reservations: (Pick<import("@chevre/factory/lib/reservation/event").IReservation, "id" | "typeOf" | "reservationNumber" | "issuedThrough"> & {
20
+ reserveTransaction: import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction | undefined;
21
+ reservations: (Pick<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id" | "typeOf" | "reservationNumber" | "issuedThrough"> & {
22
22
  reservationFor: Pick<factory.reservation.eventReservation.IReservationForMinimized, "id" | "typeOf">;
23
23
  })[] | undefined;
24
24
  }>;
@@ -6,7 +6,7 @@ declare function notifyByEmail(params: {
6
6
  }): (__: Record<string, never>, credentials: {
7
7
  sendGrid: SendGridCredentials;
8
8
  }) => Promise<{
9
- result: import("@chevre/factory/lib/action/transfer/send/message/email").IResult;
9
+ result: import("@chevre/factory/lib/chevre/action/transfer/send/message/email").IResult;
10
10
  }>;
11
11
  type LineNotifyLogLevel = 'log' | 'error' | 'info';
12
12
  export { notifyByEmail };
@@ -7,5 +7,5 @@ import { factory } from '../../../../factory';
7
7
  */
8
8
  declare function createOnOrderCancelledTasksByTransaction(params: {
9
9
  transaction: Pick<factory.transaction.placeOrder.ITransaction, 'id' | 'project' | 'typeOf'>;
10
- }): (import("@chevre/factory/lib/task").ITaskAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
10
+ }): (import("@chevre/factory/lib/chevre/task").ITaskAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/chevre/task/deletePerson").IAttributes | import("@chevre/factory/lib/chevre/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/givePointAward").IAttributes | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/chevre/task/onEventChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/chevre/task/placeOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/returnPointAward").IAttributes | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/chevre/task/sendOrder").IAttributes | import("@chevre/factory/lib/chevre/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/chevre/task/useReservation").IAttributes | import("@chevre/factory/lib/chevre/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").IAttributes)[];
11
11
  export { createOnOrderCancelledTasksByTransaction };
@@ -13,5 +13,5 @@ declare function createInformTasks(params: {
13
13
  }, setting: Pick<ISetting, 'onOrderStatusChanged'> | null): factory.task.IAttributes<factory.taskName.TriggerWebhook>[];
14
14
  declare function createNextSendOrderTasks(params: {
15
15
  order: IInTransitOrder;
16
- }): (import("@chevre/factory/lib/task").ITaskAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
16
+ }): (import("@chevre/factory/lib/chevre/task").ITaskAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/chevre/task/deletePerson").IAttributes | import("@chevre/factory/lib/chevre/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/givePointAward").IAttributes | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/chevre/task/onEventChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/chevre/task/placeOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/returnPointAward").IAttributes | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/chevre/task/sendOrder").IAttributes | import("@chevre/factory/lib/chevre/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/chevre/task/useReservation").IAttributes | import("@chevre/factory/lib/chevre/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").IAttributes)[];
17
17
  export { createInformTasks, createNextSendOrderTasks, IInTransitOrder };
@@ -11,5 +11,5 @@ declare function createInformTasks(order: IReturnedOrder, returnOrderAction: IRe
11
11
  declare function createOnOrderReturnedTasksByTransaction(params: {
12
12
  order: Pick<factory.order.IOrder, 'project' | 'typeOf' | 'orderNumber' | 'customer' | 'price' | 'priceCurrency' | 'orderDate'>;
13
13
  potentialActions?: factory.action.transfer.returnAction.order.IPotentialActions;
14
- }): (import("@chevre/factory/lib/task").ITaskAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
14
+ }): (import("@chevre/factory/lib/chevre/task").ITaskAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/chevre/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/chevre/task/deletePerson").IAttributes | import("@chevre/factory/lib/chevre/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/givePointAward").IAttributes | import("@chevre/factory/lib/chevre/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/chevre/task/onEventChanged").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/chevre/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/chevre/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/chevre/task/placeOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnOrder").IAttributes | import("@chevre/factory/lib/chevre/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/returnPointAward").IAttributes | import("@chevre/factory/lib/chevre/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/chevre/task/sendOrder").IAttributes | import("@chevre/factory/lib/chevre/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/chevre/task/useReservation").IAttributes | import("@chevre/factory/lib/chevre/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/chevre/task/voidReserveTransaction").IAttributes)[];
15
15
  export { createInformTasks, createOnOrderReturnedTasksByTransaction, IReturnAction };
@@ -1,4 +1,4 @@
1
- import * as surfrock from '@surfrock/sdk';
1
+ import { Surfrock } from '@surfrock/sdk';
2
2
  import { factory } from '../../../factory';
3
3
  import { IMinimizedIndividualEvent } from '../../../factory/event';
4
4
  type IEvent4seatInfoSync = Pick<IMinimizedIndividualEvent, 'id' | 'coaInfo' | 'startDate'> & {
@@ -22,7 +22,7 @@ declare function createSeatInfoSyncIn(params: {
22
22
  kgygishCd: string;
23
23
  stCd: string;
24
24
  };
25
- }): surfrock.factory.service.seat.seatInfoSync.ISeatInfoSyncIn;
25
+ }): Surfrock.factory.service.seat.seatInfoSync.ISeatInfoSyncIn;
26
26
  declare function createStartingPayAction(params: factory.action.trade.pay.IAttributes): factory.action.trade.pay.IAttributes;
27
27
  interface IProcessPurchaseNumberAuthResult {
28
28
  purchaseNumberAuthIn?: factory.action.check.paymentMethod.movieTicket.IPurchaseNumberAuthIn;
@@ -1,27 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
4
  };
@@ -32,7 +9,7 @@ exports.createStartingPayAction = createStartingPayAction;
32
9
  exports.processPurchaseNumberAuthResult2checkRecipe = processPurchaseNumberAuthResult2checkRecipe;
33
10
  exports.processSeatInfoSyncResult2payRecipe = processSeatInfoSyncResult2payRecipe;
34
11
  exports.processSeatInfoSyncResult2refundRecipe = processSeatInfoSyncResult2refundRecipe;
35
- const surfrock = __importStar(require("@surfrock/sdk"));
12
+ const sdk_1 = require("@surfrock/sdk");
36
13
  const moment_timezone_1 = __importDefault(require("moment-timezone"));
37
14
  const factory_1 = require("../../../factory");
38
15
  function createSeatInfoSyncIn(params) {
@@ -77,8 +54,8 @@ function createSeatInfoSyncIn(params) {
77
54
  }
78
55
  return {
79
56
  kgygishCd: kgygishCd,
80
- yykDvcTyp: surfrock.factory.service.seat.seatInfoSync.ReserveDeviceType.EntertainerSitePC, // 予約デバイス区分
81
- trkshFlg: surfrock.factory.service.seat.seatInfoSync.DeleteFlag.False, // 取消フラグ
57
+ yykDvcTyp: sdk_1.Surfrock.factory.service.seat.seatInfoSync.ReserveDeviceType.EntertainerSitePC, // 予約デバイス区分
58
+ trkshFlg: sdk_1.Surfrock.factory.service.seat.seatInfoSync.DeleteFlag.False, // 取消フラグ
82
59
  kgygishSstmZskyykNo: params.paymentMethodId, // 興行会社システム座席予約番号
83
60
  kgygishUsrZskyykNo: confirmationNumber, // fix(2025-02-12~)
84
61
  // kgygishUsrZskyykNo: (typeof (<factory.action.trade.pay.IOrderAsPayPurpose>params.purpose)?.confirmationNumber === 'string')
@@ -1,4 +1,4 @@
1
- import * as surfrock from '@surfrock/sdk';
1
+ import { Surfrock } from '@surfrock/sdk';
2
2
  import type { EventRepo } from '../../../../repo/event';
3
3
  import type { PaymentServiceProviderRepo } from '../../../../repo/paymentServiceProvider';
4
4
  import type { SellerPaymentAcceptedRepo } from '../../../../repo/sellerPaymentAccepted';
@@ -9,4 +9,4 @@ export declare function payActionParams2seatInfoSyncIn(params: Omit<factory.acti
9
9
  event: EventRepo;
10
10
  paymentAccepted: SellerPaymentAcceptedRepo;
11
11
  paymentServiceProvider: PaymentServiceProviderRepo;
12
- }) => Promise<surfrock.factory.service.seat.seatInfoSync.ISeatInfoSyncIn>;
12
+ }) => Promise<Surfrock.factory.service.seat.seatInfoSync.ISeatInfoSyncIn>;
@@ -1,8 +1,8 @@
1
- import * as surfrock from '@surfrock/sdk';
1
+ import { Surfrock } from '@surfrock/sdk';
2
2
  import { factory } from '../../../../factory';
3
3
  import { IProcessSeatInfoSyncResult } from '../factory';
4
4
  export declare function processSeatInfoSync(params: {
5
5
  seatInfoSyncIn: factory.action.trade.refund.ISeatInfoSyncIn;
6
6
  }): (repos: {
7
- seatService: surfrock.service.seat.SeatService;
7
+ seatService: Surfrock.service.seat.SeatService;
8
8
  }) => Promise<IProcessSeatInfoSyncResult>;
@@ -1,30 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.payMovieTicket = payMovieTicket;
27
- const surfrock = __importStar(require("@surfrock/sdk"));
4
+ const sdk_1 = require("@surfrock/sdk");
28
5
  const errorHandler_1 = require("../../../errorHandler");
29
6
  const onPayActionCompleted_1 = require("../any/onPayActionCompleted");
30
7
  const factory_1 = require("./factory");
@@ -68,7 +45,7 @@ function payMovieTicket(params, options) {
68
45
  project: params.project,
69
46
  id: paymentServiceId
70
47
  });
71
- const mvtkReserveAuthClient = new surfrock.auth.ClientCredentials({
48
+ const mvtkReserveAuthClient = new sdk_1.Surfrock.auth.ClientCredentials({
72
49
  domain: String(availableChannel.credentials?.authorizeServerDomain),
73
50
  clientId: String(availableChannel.credentials?.clientId),
74
51
  clientSecret: String(availableChannel.credentials?.clientSecret),
@@ -76,7 +53,7 @@ function payMovieTicket(params, options) {
76
53
  state: '',
77
54
  credentialsRepo: repos.credentials // set credentialsRepo(2024-11-20~)
78
55
  });
79
- const seatService = new surfrock.service.seat.SeatService({ endpoint: String(availableChannel.serviceUrl), auth: mvtkReserveAuthClient }, { timeout: settings.movieticketReserve.timeout });
56
+ const seatService = new sdk_1.Surfrock.service.seat.SeatService({ endpoint: String(availableChannel.serviceUrl), auth: mvtkReserveAuthClient }, { timeout: settings.movieticketReserve.timeout });
80
57
  processSeatInfoSyncResult = await (0, processSeatInfoSync_1.processSeatInfoSync)({ seatInfoSyncIn })({ seatService });
81
58
  }
82
59
  // add recipe(2024-06-03~)