@cinerino/sdk 3.101.0 → 3.102.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 -0
- package/example/src/chevre/transaction/processCancelReservation.ts +1 -0
- package/example/src/chevre/transaction/processRegisterService.ts +1 -0
- package/example/src/chevre/transaction/processReserve.ts +2 -0
- package/lib/bundle.js +162 -157
- package/package.json +2 -2
|
@@ -18,6 +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
|
+
transactionNumber: 'xxx',
|
|
21
22
|
agent: { typeOf: client.factory.personType.Person, id: 'xxx', name: 'sample' },
|
|
22
23
|
object: {
|
|
23
24
|
reservation: { id: 'CIN029375202258362-0' }
|
|
@@ -23,6 +23,7 @@ async function main() {
|
|
|
23
23
|
const transaction = await cancelReservationService.start({
|
|
24
24
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
25
25
|
typeOf: client.factory.assetTransactionType.CancelReservation,
|
|
26
|
+
transactionNumber: 'xxx',
|
|
26
27
|
agent: {
|
|
27
28
|
typeOf: client.factory.personType.Person,
|
|
28
29
|
id: 'xxx',
|
|
@@ -26,6 +26,7 @@ async function main() {
|
|
|
26
26
|
const transaction = await registerService.start({
|
|
27
27
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
28
28
|
typeOf: client.factory.assetTransactionType.RegisterService,
|
|
29
|
+
transactionNumber: 'xxx',
|
|
29
30
|
agent: {
|
|
30
31
|
typeOf: client.factory.personType.Person,
|
|
31
32
|
id: 'xxx',
|
|
@@ -85,6 +85,7 @@ async function main() {
|
|
|
85
85
|
let transaction = await reserveService.start({
|
|
86
86
|
project: { typeOf: client.factory.organizationType.Project, id: project.id },
|
|
87
87
|
typeOf: client.factory.assetTransactionType.Reserve,
|
|
88
|
+
transactionNumber: 'xxx',
|
|
88
89
|
agent: {
|
|
89
90
|
typeOf: client.factory.personType.Person,
|
|
90
91
|
id: 'xxx',
|
|
@@ -137,6 +138,7 @@ async function main() {
|
|
|
137
138
|
transaction = await reserveService.start({
|
|
138
139
|
project: { id: project.id, typeOf: client.factory.organizationType.Project },
|
|
139
140
|
typeOf: client.factory.assetTransactionType.Reserve,
|
|
141
|
+
transactionNumber: 'xxx',
|
|
140
142
|
agent: {
|
|
141
143
|
typeOf: client.factory.personType.Person,
|
|
142
144
|
id: 'xxx',
|