@chevre/factory 4.309.0 → 4.309.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.
@@ -1,117 +1,119 @@
1
1
  {
2
- "object": [
3
- {
4
- "paymentMethod": {
5
- /**
6
- * ムビチケリスト
7
- */
8
- "serviceOutput": [
9
- {
10
- /**
11
- * 購入番号
12
- */
13
- "identifier": "2127021398",
14
- "serviceOutput": {
2
+ "data": {
3
+ "object": [
4
+ {
5
+ "paymentMethod": {
6
+ /**
7
+ * ムビチケリスト
8
+ */
9
+ "serviceOutput": [
10
+ {
15
11
  /**
16
- * 予約の価格仕様
12
+ * 購入番号
17
13
  */
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": {
14
+ "identifier": "2127021398",
15
+ "serviceOutput": {
16
+ /**
17
+ * 予約の価格仕様
18
+ */
19
+ "priceSpecification": {
20
+ "priceComponent": [
21
+ {
38
22
  /**
39
- * 売上金額
23
+ * 価格仕様タイプ
40
24
  */
41
- "accountsReceivable": 1400
42
- }
43
- },
44
- {
45
- /**
46
- * 価格仕様タイプ
47
- */
48
- "typeOf": "MovieTicketTypeChargeSpecification",
49
- /**
50
- * 価格
51
- */
52
- "price": 0,
53
- "appliesToMovieTicket": {
54
- "serviceOutput": {
25
+ "typeOf": "UnitPriceSpecification",
26
+ /**
27
+ * 価格
28
+ */
29
+ "price": 0,
30
+ /**
31
+ * 単価基準数量
32
+ */
33
+ "referenceQuantity": {
34
+ "typeOf": "QuantitativeValue",
35
+ "value": 1,
36
+ "unitCode": "C62"
37
+ },
38
+ "accounting": {
55
39
  /**
56
- * 適用決済方法区分
57
- */
58
- "typeOf": "MGTicket"
40
+ * 売上金額
41
+ */
42
+ "accountsReceivable": 1400
59
43
  }
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
44
  },
89
- /**
90
- * 適用アドオンオファー
91
- */
92
- "appliesToAddOn": []
93
- }
94
- ]
95
- },
96
- /**
97
- * 予約番号
98
- */
99
- "reservationNumber": "12345",
100
- "reservedTicket": {
45
+ {
46
+ /**
47
+ * 価格仕様タイプ
48
+ */
49
+ "typeOf": "MovieTicketTypeChargeSpecification",
50
+ /**
51
+ * 価格
52
+ */
53
+ "price": 0,
54
+ "appliesToMovieTicket": {
55
+ "serviceOutput": {
56
+ /**
57
+ * 適用決済方法区分
58
+ */
59
+ "typeOf": "MGTicket"
60
+ }
61
+ }
62
+ },
63
+ {
64
+ /**
65
+ * 価格仕様タイプ
66
+ */
67
+ "typeOf": "CategoryCodeChargeSpecification",
68
+ /**
69
+ * 価格
70
+ */
71
+ "price": 0
72
+ },
73
+ {
74
+ /**
75
+ * 価格仕様タイプ
76
+ */
77
+ "typeOf": "UnitPriceSpecification",
78
+ /**
79
+ * 価格
80
+ */
81
+ "price": 300,
82
+ /**
83
+ * 単価基準数量
84
+ */
85
+ "referenceQuantity": {
86
+ "typeOf": "QuantitativeValue",
87
+ "value": 1,
88
+ "unitCode": "C62"
89
+ },
90
+ /**
91
+ * 適用アドオンオファー
92
+ */
93
+ "appliesToAddOn": []
94
+ }
95
+ ]
96
+ },
101
97
  /**
102
- * チケットトークン(COAの場合のみ)
98
+ * 予約番号
103
99
  */
104
- "ticketToken": "xxxxx"
100
+ "reservationNumber": "12345",
101
+ "reservedTicket": {
102
+ /**
103
+ * チケットトークン(COAの場合のみ)
104
+ */
105
+ "ticketToken": "xxxxx"
106
+ }
105
107
  }
106
108
  }
107
- }
108
- ]
109
- },
110
- /**
111
- * 決済方法ID
112
- */
113
- "paymentMethodId": "648829745997954"
114
- }
115
- ],
116
- "typeOf": "PayAction"
109
+ ]
110
+ },
111
+ /**
112
+ * 決済方法ID
113
+ */
114
+ "paymentMethodId": "648829745997954"
115
+ }
116
+ ],
117
+ "typeOf": "PayAction"
118
+ }
117
119
  }
@@ -0,0 +1,16 @@
1
+ {
2
+ "data": {
3
+ "object": [
4
+ {
5
+ /**
6
+ * 決済方法ID
7
+ */
8
+ "paymentMethodId": "581367984638698"
9
+ }
10
+ ],
11
+ /**
12
+ * 返金アクションタイプ
13
+ */
14
+ "typeOf": "RefundAction"
15
+ }
16
+ }
@@ -45,14 +45,13 @@ export interface IAccountTitle {
45
45
  additionalProperty?: IPropertyValue<string>[];
46
46
  }
47
47
  /**
48
- * ソート条件インターフェース
48
+ * ソート条件
49
49
  */
50
50
  export interface ISortOrder {
51
51
  codeValue?: SortType;
52
- name?: SortType;
53
52
  }
54
53
  /**
55
- * 検索条件インターフェース
54
+ * 検索条件
56
55
  */
57
56
  export interface ISearchConditions {
58
57
  limit?: number;
@@ -119,8 +119,6 @@ export declare type ITransaction<TStartParams, TResult, TError, TPotentialAction
119
119
  */
120
120
  export interface ISortOrder {
121
121
  startDate?: SortType;
122
- endDate?: SortType;
123
- status?: SortType;
124
122
  }
125
123
  export interface ISearchConditions<T extends AssetTransactionType> {
126
124
  limit?: number;
package/lib/customer.d.ts CHANGED
@@ -33,10 +33,10 @@ export interface ICustomer extends IOrganization {
33
33
  typeOf: OrganizationType.Organization;
34
34
  }
35
35
  /**
36
- * ソート条件インターフェース
36
+ * ソート条件
37
37
  */
38
38
  export interface ISortOrder {
39
- startDate?: SortType;
39
+ branchCode?: SortType;
40
40
  }
41
41
  /**
42
42
  * 顧客検索条件
package/lib/product.d.ts CHANGED
@@ -180,7 +180,6 @@ export interface ISearchConditions {
180
180
  export interface IServiceOutputSearchConditions {
181
181
  limit?: number;
182
182
  page?: number;
183
- sort?: ISortOrder;
184
183
  project?: {
185
184
  id?: {
186
185
  $eq?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.309.0",
3
+ "version": "4.309.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",