@chevre/factory 4.308.0 → 4.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,117 @@
1
+ {
2
+ "object": [
3
+ {
4
+ "paymentMethod": {
5
+ /**
6
+ * ムビチケリスト
7
+ */
8
+ "serviceOutput": [
9
+ {
10
+ /**
11
+ * 購入番号
12
+ */
13
+ "identifier": "2127021398",
14
+ "serviceOutput": {
15
+ /**
16
+ * 予約の価格仕様
17
+ */
18
+ "priceSpecification": {
19
+ "priceComponent": [
20
+ {
21
+ /**
22
+ * 価格仕様タイプ
23
+ */
24
+ "typeOf": "UnitPriceSpecification",
25
+ /**
26
+ * 価格
27
+ */
28
+ "price": 0,
29
+ /**
30
+ * 単価基準数量
31
+ */
32
+ "referenceQuantity": {
33
+ "typeOf": "QuantitativeValue",
34
+ "value": 1,
35
+ "unitCode": "C62"
36
+ },
37
+ "accounting": {
38
+ /**
39
+ * 売上金額
40
+ */
41
+ "accountsReceivable": 1400
42
+ }
43
+ },
44
+ {
45
+ /**
46
+ * 価格仕様タイプ
47
+ */
48
+ "typeOf": "MovieTicketTypeChargeSpecification",
49
+ /**
50
+ * 価格
51
+ */
52
+ "price": 0,
53
+ "appliesToMovieTicket": {
54
+ "serviceOutput": {
55
+ /**
56
+ * 適用決済方法区分
57
+ */
58
+ "typeOf": "MGTicket"
59
+ }
60
+ }
61
+ },
62
+ {
63
+ /**
64
+ * 価格仕様タイプ
65
+ */
66
+ "typeOf": "CategoryCodeChargeSpecification",
67
+ /**
68
+ * 価格
69
+ */
70
+ "price": 0
71
+ },
72
+ {
73
+ /**
74
+ * 価格仕様タイプ
75
+ */
76
+ "typeOf": "UnitPriceSpecification",
77
+ /**
78
+ * 価格
79
+ */
80
+ "price": 300,
81
+ /**
82
+ * 単価基準数量
83
+ */
84
+ "referenceQuantity": {
85
+ "typeOf": "QuantitativeValue",
86
+ "value": 1,
87
+ "unitCode": "C62"
88
+ },
89
+ /**
90
+ * 適用アドオンオファー
91
+ */
92
+ "appliesToAddOn": []
93
+ }
94
+ ]
95
+ },
96
+ /**
97
+ * 予約番号
98
+ */
99
+ "reservationNumber": "12345",
100
+ "reservedTicket": {
101
+ /**
102
+ * チケットトークン(COAの場合のみ)
103
+ */
104
+ "ticketToken": "xxxxx"
105
+ }
106
+ }
107
+ }
108
+ ]
109
+ },
110
+ /**
111
+ * 決済方法ID
112
+ */
113
+ "paymentMethodId": "648829745997954"
114
+ }
115
+ ],
116
+ "typeOf": "PayAction"
117
+ }
File without changes
package/lib/invoice.d.ts CHANGED
@@ -4,7 +4,7 @@ import { PaymentStatusType } from './paymentStatusType';
4
4
  import * as PersonFactory from './person';
5
5
  import { IAccounting } from './priceSpecification';
6
6
  import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
7
- import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
7
+ import { IAppliesToMovieTicket, IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
8
8
  import { IAppliesToAddOn as IUnitPriceSpecAppliesToAddOn, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
9
9
  import { IPriceSpecification } from './reservation/event';
10
10
  import * as SellerFactory from './seller';
@@ -16,10 +16,15 @@ export interface IReferenceOrder extends OrderFactory.IOrder {
16
16
  }
17
17
  export declare type IReservationPriceAccounting = Pick<IAccounting, 'accountsReceivable'>;
18
18
  export declare type IAppliesToAddOn = Pick<IUnitPriceSpecAppliesToAddOn, 'typeOf'>;
19
- export declare type IPriceComponentSpecification = Pick<ICategoryCodeChargeSpecification, 'typeOf' | 'price'> | Pick<IMovieTicketTypeChargeSpecification, 'typeOf' | 'price'> | Pick<IUnitPriceSpecification, 'typeOf' | 'price' | 'referenceQuantity'> & {
19
+ export declare type IMinimizedCategoryCodeChargeSpecification = Pick<ICategoryCodeChargeSpecification, 'typeOf' | 'price'>;
20
+ export declare type IMinimizedMovieTicketTypeChargeSpecification = Pick<IMovieTicketTypeChargeSpecification, 'typeOf' | 'price'> & {
21
+ appliesToMovieTicket: Pick<IAppliesToMovieTicket, 'serviceOutput'>;
22
+ };
23
+ export declare type IMinimizedUnitPriceSpecification = Pick<IUnitPriceSpecification, 'typeOf' | 'price' | 'referenceQuantity'> & {
20
24
  accounting?: IReservationPriceAccounting;
21
25
  appliesToAddOn?: IAppliesToAddOn[];
22
26
  };
27
+ export declare type IPriceComponentSpecification = IMinimizedCategoryCodeChargeSpecification | IMinimizedMovieTicketTypeChargeSpecification | IMinimizedUnitPriceSpecification;
23
28
  export declare type IReservationPriceSpecification = Pick<IPriceSpecification, 'typeOf'> & {
24
29
  priceComponent: IPriceComponentSpecification[];
25
30
  };
package/lib/task.d.ts CHANGED
@@ -63,6 +63,9 @@ export interface ISortOrder {
63
63
  }
64
64
  export interface IDataSearchConditions {
65
65
  object?: {
66
+ id?: {
67
+ $eq?: string;
68
+ };
66
69
  transactionNumber?: {
67
70
  $eq?: string;
68
71
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.308.0",
3
+ "version": "4.309.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",