@cinerino/sdk 3.84.0 → 3.85.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.
- package/example/src/cancelReservations.ts +1 -1
- package/example/src/chevre/transaction/processCancelReservation.ts +2 -1
- package/example/src/chevre/transaction/processRefundCreditCard.ts +2 -3
- package/example/src/chevre/transaction/processRegisterService.ts +1 -0
- package/example/src/chevre/transaction/processReserve.ts +2 -0
- package/package.json +2 -2
|
@@ -18,7 +18,7 @@ async function main() {
|
|
|
18
18
|
await reservationService.cancel({
|
|
19
19
|
project: { id: project.id, typeOf: client.factory.organizationType.Project },
|
|
20
20
|
typeOf: client.factory.assetTransactionType.CancelReservation,
|
|
21
|
-
agent: { typeOf:
|
|
21
|
+
agent: { typeOf: client.factory.personType.Person, id: 'xxx', name: 'sample' },
|
|
22
22
|
object: {
|
|
23
23
|
reservation: { id: 'CIN029375202258362-0' }
|
|
24
24
|
},
|
|
@@ -24,7 +24,8 @@ async function main() {
|
|
|
24
24
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
25
25
|
typeOf: client.factory.assetTransactionType.CancelReservation,
|
|
26
26
|
agent: {
|
|
27
|
-
typeOf:
|
|
27
|
+
typeOf: client.factory.personType.Person,
|
|
28
|
+
id: 'xxx',
|
|
28
29
|
name: 'agent name'
|
|
29
30
|
},
|
|
30
31
|
object: {
|
|
@@ -40,9 +40,8 @@ async function main() {
|
|
|
40
40
|
transactionNumber: transactionNumber,
|
|
41
41
|
agent: {
|
|
42
42
|
typeOf: seller.typeOf,
|
|
43
|
-
name: (<client.factory.multilingualString>seller.name)?.ja,
|
|
44
|
-
id: seller.id
|
|
45
|
-
project: { typeOf: client.factory.organizationType.Project, id: project.id }
|
|
43
|
+
name: String((<client.factory.multilingualString>seller.name)?.ja),
|
|
44
|
+
id: String(seller.id)
|
|
46
45
|
},
|
|
47
46
|
recipient: { typeOf: client.factory.personType.Person, name: 'サンプル決済者名称', id: 'id' },
|
|
48
47
|
object: {
|
|
@@ -87,6 +87,7 @@ async function main() {
|
|
|
87
87
|
typeOf: client.factory.assetTransactionType.Reserve,
|
|
88
88
|
agent: {
|
|
89
89
|
typeOf: client.factory.personType.Person,
|
|
90
|
+
id: 'xxx',
|
|
90
91
|
name: 'agent name'
|
|
91
92
|
},
|
|
92
93
|
object: {
|
|
@@ -138,6 +139,7 @@ async function main() {
|
|
|
138
139
|
typeOf: client.factory.assetTransactionType.Reserve,
|
|
139
140
|
agent: {
|
|
140
141
|
typeOf: client.factory.personType.Person,
|
|
142
|
+
id: 'xxx',
|
|
141
143
|
name: 'agent name'
|
|
142
144
|
},
|
|
143
145
|
object: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.85.0",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"watchify": "^3.11.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@cinerino/api-abstract-client": "3.
|
|
100
|
+
"@cinerino/api-abstract-client": "3.85.0",
|
|
101
101
|
"debug": "^3.2.6",
|
|
102
102
|
"http-status": "^1.4.2",
|
|
103
103
|
"idtoken-verifier": "^2.0.3",
|