@cinerino/sdk 14.0.0-alpha.12 → 14.0.0-alpha.13
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/lib/abstract/chevre/categoryCode.js +1 -1
- package/lib/abstract/chevre/creativeWork.js +1 -1
- package/lib/abstract/chevre/emailMessage.js +1 -1
- package/lib/abstract/chevre/event.js +9 -9
- package/lib/abstract/chevre/eventOffer.js +1 -1
- package/lib/abstract/chevre/eventSeries.js +1 -1
- package/lib/abstract/chevre/note.js +1 -1
- package/lib/abstract/chevre/paymentService.js +1 -1
- package/lib/abstract/chevre/place/hasPOS.js +1 -1
- package/lib/abstract/chevre/place.js +7 -7
- package/lib/abstract/chevre/product.js +4 -4
- package/lib/abstract/chevre/productOffer.js +1 -1
- package/lib/abstract/chevre/seatOffer.js +1 -1
- package/lib/abstract/chevre/seller.js +4 -4
- package/lib/abstract/chevre/trip.js +1 -1
- package/lib/abstract/chevreAdmic/sync.js +2 -2
- package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.js +1 -1
- package/lib/abstract/chevreAdmin/authorization.js +1 -1
- package/lib/abstract/chevreAdmin/customer.js +1 -1
- package/lib/abstract/chevreAdmin/event.js +5 -5
- package/lib/abstract/chevreAdmin/eventOffer.js +4 -4
- package/lib/abstract/chevreAdmin/eventSeries.js +2 -2
- package/lib/abstract/chevreAdmin/me.js +2 -2
- package/lib/abstract/chevreAdmin/member.js +1 -1
- package/lib/abstract/chevreAdmin/movie.js +2 -2
- package/lib/abstract/chevreAdmin/movieTheater.js +5 -5
- package/lib/abstract/chevreAdmin/note.js +3 -3
- package/lib/abstract/chevreAdmin/noteAboutOrder.js +3 -3
- package/lib/abstract/chevreAdmin/offer.js +2 -2
- package/lib/abstract/chevreAdmin/offerCatalog.js +1 -1
- package/lib/abstract/chevreAdmin/offerCatalogItem.js +2 -2
- package/lib/abstract/chevreAdmin/order.js +5 -5
- package/lib/abstract/chevreAdmin/paymentMethod.js +1 -1
- package/lib/abstract/chevreAdmin/product.js +3 -3
- package/lib/abstract/chevreAdmin/productOffer.js +4 -4
- package/lib/abstract/chevreAdmin/reservation.js +3 -3
- package/lib/abstract/chevreAdmin/room.js +2 -2
- package/lib/abstract/chevreAdmin/seat.js +3 -3
- package/lib/abstract/chevreAdmin/seatSection.js +2 -2
- package/lib/abstract/chevreAdmin/seller.js +1 -1
- package/lib/abstract/chevreAsset/order.js +8 -8
- package/lib/abstract/chevreAsset/permit.js +2 -2
- package/lib/abstract/chevreAsset/reservation.js +2 -2
- package/lib/abstract/chevreAsset/token.js +1 -1
- package/lib/abstract/chevreConsole/account.js +3 -3
- package/lib/abstract/chevreConsole/accountTitle.js +12 -12
- package/lib/abstract/chevreConsole/accountTransaction.js +1 -1
- package/lib/abstract/chevreConsole/accountingReport.js +1 -1
- package/lib/abstract/chevreConsole/action.js +3 -3
- package/lib/abstract/chevreConsole/additionalProperty.js +5 -5
- package/lib/abstract/chevreConsole/advanceBookingRequirement.js +4 -4
- package/lib/abstract/chevreConsole/aggregateOffer.js +2 -2
- package/lib/abstract/chevreConsole/aggregateReservation.js +1 -1
- package/lib/abstract/chevreConsole/aggregation.js +1 -1
- package/lib/abstract/chevreConsole/assetTransaction/moneyTransfer.js +3 -3
- package/lib/abstract/chevreConsole/assetTransaction/pay.js +7 -7
- package/lib/abstract/chevreConsole/assetTransaction/registerService.js +3 -3
- package/lib/abstract/chevreConsole/assetTransaction/reserve.js +4 -4
- package/lib/abstract/chevreConsole/assetTransaction.js +1 -1
- package/lib/abstract/chevreConsole/authorization.js +1 -1
- package/lib/abstract/chevreConsole/categoryCode.js +5 -5
- package/lib/abstract/chevreConsole/comment.js +2 -2
- package/lib/abstract/chevreConsole/creativeWork.js +5 -5
- package/lib/abstract/chevreConsole/customer.js +3 -3
- package/lib/abstract/chevreConsole/customerType.js +1 -1
- package/lib/abstract/chevreConsole/emailMessage.js +5 -5
- package/lib/abstract/chevreConsole/event.js +6 -6
- package/lib/abstract/chevreConsole/eventSeries.js +5 -5
- package/lib/abstract/chevreConsole/hasMerchantReturnPolicy.js +1 -1
- package/lib/abstract/chevreConsole/iam.js +13 -13
- package/lib/abstract/chevreConsole/identity.js +4 -4
- package/lib/abstract/chevreConsole/identityProvider.js +4 -4
- package/lib/abstract/chevreConsole/issuer.js +5 -5
- package/lib/abstract/chevreConsole/me.js +2 -2
- package/lib/abstract/chevreConsole/member.js +8 -8
- package/lib/abstract/chevreConsole/memberProgram.js +5 -5
- package/lib/abstract/chevreConsole/merchantReturnPolicy.js +5 -5
- package/lib/abstract/chevreConsole/message.js +1 -1
- package/lib/abstract/chevreConsole/movieTicketType.js +4 -4
- package/lib/abstract/chevreConsole/offer.js +3 -3
- package/lib/abstract/chevreConsole/offerCatalog.js +7 -7
- package/lib/abstract/chevreConsole/offerCatalogItem.js +6 -6
- package/lib/abstract/chevreConsole/offerItemCondition.js +5 -5
- package/lib/abstract/chevreConsole/order.js +6 -6
- package/lib/abstract/chevreConsole/ownershipInfo.js +1 -1
- package/lib/abstract/chevreConsole/paymentService.js +7 -7
- package/lib/abstract/chevreConsole/paymentServiceChannel.js +4 -4
- package/lib/abstract/chevreConsole/pendingReservation.js +2 -2
- package/lib/abstract/chevreConsole/permission.js +2 -2
- package/lib/abstract/chevreConsole/permit.js +3 -3
- package/lib/abstract/chevreConsole/person.js +6 -6
- package/lib/abstract/chevreConsole/place/hasPOS.js +4 -4
- package/lib/abstract/chevreConsole/place.js +23 -23
- package/lib/abstract/chevreConsole/priceSpecification.js +4 -4
- package/lib/abstract/chevreConsole/product.js +6 -6
- package/lib/abstract/chevreConsole/productModel.js +4 -4
- package/lib/abstract/chevreConsole/project.js +4 -4
- package/lib/abstract/chevreConsole/projectMakesOffer.js +4 -4
- package/lib/abstract/chevreConsole/reservation.js +1 -1
- package/lib/abstract/chevreConsole/seller.js +20 -20
- package/lib/abstract/chevreConsole/sellerMakesOffer.js +3 -3
- package/lib/abstract/chevreConsole/sellerReturnPolicy.js +5 -5
- package/lib/abstract/chevreConsole/task.js +3 -3
- package/lib/abstract/chevreConsole/ticket.js +1 -1
- package/lib/abstract/chevreConsole/token.js +1 -1
- package/lib/abstract/chevreConsole/transaction/placeOrder.js +2 -2
- package/lib/abstract/chevreConsole/transaction/returnOrder.js +1 -1
- package/lib/abstract/chevreConsole/transactionNumber.js +1 -1
- package/lib/abstract/chevreConsole/trip.js +5 -5
- package/lib/abstract/chevreConsole/userPool.js +3 -3
- package/lib/abstract/chevreConsole/webSite.js +4 -4
- package/lib/abstract/chevrePay/payment.js +17 -17
- package/lib/abstract/chevreTxc/offer.js +5 -5
- package/lib/abstract/chevreTxn/offer.js +4 -4
- package/lib/abstract/chevreTxn/transaction/placeOrder.js +6 -6
- package/lib/abstract/chevreTxn/transaction/returnOrder.js +4 -4
- package/lib/abstract/cinerino/service/categoryCode.js +2 -2
- package/lib/abstract/cinerino/service/emailMessage.js +2 -2
- package/lib/abstract/cinerino/service/event.js +13 -13
- package/lib/abstract/cinerino/service/place/hasPOS.js +2 -2
- package/lib/abstract/cinerino/service/place.js +3 -3
- package/lib/abstract/cinerino/service/seller.js +5 -5
- package/lib/abstract/cloud/admin/customer.js +2 -2
- package/lib/abstract/cloud/admin/offer.js +1 -1
- package/lib/abstract/cloud/admin/order.js +5 -5
- package/lib/abstract/cloud/admin/product.js +1 -1
- package/lib/abstract/cloud/asset/delivery.js +1 -1
- package/lib/abstract/cloud/asset/order.js +6 -6
- package/lib/abstract/cloud/asset.js +1 -1
- package/lib/abstract/cloud/pay/payment.js +21 -21
- package/lib/abstract/cloud/pay.js +1 -1
- package/lib/abstract/cloud/search/creativeWork.js +1 -1
- package/lib/abstract/cloud/search/eventOffer.js +1 -1
- package/lib/abstract/cloud/search/paymentService.js +1 -1
- package/lib/abstract/cloud/search/place.js +2 -2
- package/lib/abstract/cloud/search/product.js +3 -3
- package/lib/abstract/cloud/search/productOffer.js +1 -1
- package/lib/abstract/cloud/search/seatOffer.js +1 -1
- package/lib/abstract/cloud/search.js +1 -1
- package/lib/abstract/cloud/txc/transaction/placeOrder.js +3 -3
- package/lib/abstract/cloud/txc.js +1 -1
- package/lib/abstract/cloud/txn/offer.js +2 -2
- package/lib/abstract/cloud/txn/transaction/placeOrder.js +12 -12
- package/lib/abstract/cloud/txn/transaction/returnOrder.js +2 -2
- package/lib/abstract/cloud/txn.js +1 -1
- package/lib/abstract/pecorino/accountTransaction.js +4 -4
- package/lib/abstract/pecorino/permit.js +2 -2
- package/lib/abstract/waiterAdmin/rule.js +1 -1
- package/lib/abstract/waiterAdmin/ruleSet.js +2 -2
- package/lib/auth/clientCredentialsClient.js +2 -2
- package/lib/auth/oAuth2client.js +4 -4
- package/lib/bundle.js +3 -3
- package/lib/bundle.js.map +4 -4
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ class CreativeWorkService extends service_1.Service {
|
|
|
12
12
|
uri: '/creativeWorks/movie',
|
|
13
13
|
method: 'GET',
|
|
14
14
|
qs: params,
|
|
15
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
15
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
16
16
|
})
|
|
17
17
|
.then(async (response) => {
|
|
18
18
|
return {
|
|
@@ -16,7 +16,7 @@ class EventService extends service_1.Service {
|
|
|
16
16
|
uri: '/events',
|
|
17
17
|
method: 'GET',
|
|
18
18
|
qs: params,
|
|
19
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
19
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
20
20
|
})
|
|
21
21
|
.then(async (response) => response.json());
|
|
22
22
|
}
|
|
@@ -28,7 +28,7 @@ class EventService extends service_1.Service {
|
|
|
28
28
|
uri: '/events/aggregations',
|
|
29
29
|
method: 'GET',
|
|
30
30
|
qs: params,
|
|
31
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
31
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
32
32
|
})
|
|
33
33
|
.then(async (response) => response.json());
|
|
34
34
|
}
|
|
@@ -45,7 +45,7 @@ class EventService extends service_1.Service {
|
|
|
45
45
|
return this.fetch({
|
|
46
46
|
uri: `/events/${encodeURIComponent(String(id))}`,
|
|
47
47
|
method: 'GET',
|
|
48
|
-
expectedStatusCodes: [http_status_1.OK],
|
|
48
|
+
expectedStatusCodes: [http_status_1.status.OK],
|
|
49
49
|
qs: { typeOf }
|
|
50
50
|
})
|
|
51
51
|
.then(async (response) => response.json());
|
|
@@ -59,7 +59,7 @@ class EventService extends service_1.Service {
|
|
|
59
59
|
uri: `/events/${encodeURIComponent(String(id))}/offers/ticket`,
|
|
60
60
|
method: 'GET',
|
|
61
61
|
qs: query,
|
|
62
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
62
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
63
63
|
})
|
|
64
64
|
.then(async (response) => response.json());
|
|
65
65
|
}
|
|
@@ -77,7 +77,7 @@ class EventService extends service_1.Service {
|
|
|
77
77
|
...query,
|
|
78
78
|
useDefaultSection
|
|
79
79
|
},
|
|
80
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
80
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
81
81
|
})
|
|
82
82
|
.then(async (response) => response.json());
|
|
83
83
|
}
|
|
@@ -90,7 +90,7 @@ class EventService extends service_1.Service {
|
|
|
90
90
|
uri: `/events/${encodeURIComponent(String(id))}/offers/appliesToMovieTicket`,
|
|
91
91
|
method: 'GET',
|
|
92
92
|
qs: query,
|
|
93
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
93
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
94
94
|
})
|
|
95
95
|
.then(async (response) => response.json());
|
|
96
96
|
}
|
|
@@ -103,7 +103,7 @@ class EventService extends service_1.Service {
|
|
|
103
103
|
uri: `/events/${encodeURIComponent(String(id))}/offerCatalogItems`,
|
|
104
104
|
method: 'GET',
|
|
105
105
|
qs: query,
|
|
106
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
106
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
107
107
|
})
|
|
108
108
|
.then(async (response) => response.json());
|
|
109
109
|
}
|
|
@@ -116,7 +116,7 @@ class EventService extends service_1.Service {
|
|
|
116
116
|
uri: `/events/${encodeURIComponent(String(id))}/offerCatalogItemAvailabilities`,
|
|
117
117
|
method: 'GET',
|
|
118
118
|
qs: query,
|
|
119
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
119
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
120
120
|
})
|
|
121
121
|
.then(async (response) => response.json());
|
|
122
122
|
}
|
|
@@ -130,7 +130,7 @@ class EventService extends service_1.Service {
|
|
|
130
130
|
uri: `/events/${encodeURIComponent(String(id))}/hasOfferCatalog`,
|
|
131
131
|
method: 'GET',
|
|
132
132
|
qs: { limit, page, typeOf },
|
|
133
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
133
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
134
134
|
})
|
|
135
135
|
.then(async (response) => response.json());
|
|
136
136
|
}
|
|
@@ -12,7 +12,7 @@ class EventSeriesService extends service_1.Service {
|
|
|
12
12
|
uri: '/eventSeries',
|
|
13
13
|
method: 'GET',
|
|
14
14
|
qs: params,
|
|
15
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
15
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
16
16
|
})
|
|
17
17
|
.then(async (response) => response.json());
|
|
18
18
|
}
|
|
@@ -16,7 +16,7 @@ class PaymentProductService extends service_1.Service {
|
|
|
16
16
|
uri: '/paymentServices',
|
|
17
17
|
method: 'GET',
|
|
18
18
|
qs: { limit, page, typeOf },
|
|
19
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
19
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
20
20
|
})
|
|
21
21
|
.then(async (response) => response.json());
|
|
22
22
|
}
|
|
@@ -13,7 +13,7 @@ class HasPOSService extends service_1.Service {
|
|
|
13
13
|
uri: `/places/${factory_1.factory.placeType.MovieTheater}/${encodeURIComponent(String(params.operater.id))}/hasPOS`,
|
|
14
14
|
method: 'GET',
|
|
15
15
|
qs: params.qs,
|
|
16
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
16
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
17
17
|
})
|
|
18
18
|
.then(async (response) => response.json());
|
|
19
19
|
}
|
|
@@ -17,7 +17,7 @@ class PlaceService extends service_1.Service {
|
|
|
17
17
|
uri: `/places/${factory_1.factory.placeType.MovieTheater}`,
|
|
18
18
|
method: 'GET',
|
|
19
19
|
qs: params,
|
|
20
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
20
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
21
21
|
})
|
|
22
22
|
.then(async (response) => {
|
|
23
23
|
return {
|
|
@@ -34,7 +34,7 @@ class PlaceService extends service_1.Service {
|
|
|
34
34
|
uri: `/movieTheaters`,
|
|
35
35
|
method: 'GET',
|
|
36
36
|
qs: params,
|
|
37
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
37
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
38
38
|
})
|
|
39
39
|
.then(async (response) => response.json());
|
|
40
40
|
}
|
|
@@ -46,7 +46,7 @@ class PlaceService extends service_1.Service {
|
|
|
46
46
|
uri: `/places/${factory_1.factory.placeType.ScreeningRoom}`,
|
|
47
47
|
method: 'GET',
|
|
48
48
|
qs: params,
|
|
49
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
49
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
50
50
|
})
|
|
51
51
|
.then(async (response) => {
|
|
52
52
|
return {
|
|
@@ -62,7 +62,7 @@ class PlaceService extends service_1.Service {
|
|
|
62
62
|
uri: `/places/${factory_1.factory.placeType.ScreeningRoomSection}`,
|
|
63
63
|
method: 'GET',
|
|
64
64
|
qs: params,
|
|
65
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
65
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
66
66
|
})
|
|
67
67
|
.then(async (response) => {
|
|
68
68
|
return {
|
|
@@ -80,7 +80,7 @@ class PlaceService extends service_1.Service {
|
|
|
80
80
|
uri: '/seatSections',
|
|
81
81
|
method: 'GET',
|
|
82
82
|
qs: { limit, page, movieTheaterCode, roomCode },
|
|
83
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
83
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
84
84
|
})
|
|
85
85
|
.then(async (response) => response.json());
|
|
86
86
|
}
|
|
@@ -94,7 +94,7 @@ class PlaceService extends service_1.Service {
|
|
|
94
94
|
uri: '/seats',
|
|
95
95
|
method: 'GET',
|
|
96
96
|
qs: { limit, page, movieTheaterCode, roomCode, sectionCode, seatingType },
|
|
97
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
97
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
98
98
|
})
|
|
99
99
|
.then(async (response) => response.json());
|
|
100
100
|
}
|
|
@@ -106,7 +106,7 @@ class PlaceService extends service_1.Service {
|
|
|
106
106
|
uri: `/places/${factory_1.factory.placeType.BusStop}`,
|
|
107
107
|
method: 'GET',
|
|
108
108
|
qs: params,
|
|
109
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
109
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
110
110
|
})
|
|
111
111
|
.then(async (response) => {
|
|
112
112
|
return {
|
|
@@ -16,7 +16,7 @@ class ProductService extends service_1.Service {
|
|
|
16
16
|
uri: '/products',
|
|
17
17
|
method: 'GET',
|
|
18
18
|
qs: { typeOf, limit, page },
|
|
19
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
19
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
20
20
|
})
|
|
21
21
|
.then(async (response) => response.json());
|
|
22
22
|
}
|
|
@@ -33,7 +33,7 @@ class ProductService extends service_1.Service {
|
|
|
33
33
|
// uri: '/products',
|
|
34
34
|
// method: 'GET',
|
|
35
35
|
// qs: params,
|
|
36
|
-
// expectedStatusCodes: [OK]
|
|
36
|
+
// expectedStatusCodes: [status.OK]
|
|
37
37
|
// })
|
|
38
38
|
// .then(async (response) => response.json());
|
|
39
39
|
// }
|
|
@@ -46,7 +46,7 @@ class ProductService extends service_1.Service {
|
|
|
46
46
|
uri: `/products/${encodeURIComponent(String(id))}/offers`,
|
|
47
47
|
method: 'GET',
|
|
48
48
|
qs: query,
|
|
49
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
49
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
50
50
|
})
|
|
51
51
|
.then(async (response) => response.json());
|
|
52
52
|
}
|
|
@@ -55,7 +55,7 @@ class ProductService extends service_1.Service {
|
|
|
55
55
|
uri: '/productModels',
|
|
56
56
|
method: 'GET',
|
|
57
57
|
qs: params,
|
|
58
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
58
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
59
59
|
})
|
|
60
60
|
.then(async (response) => response.json());
|
|
61
61
|
}
|
|
@@ -17,7 +17,7 @@ class SeatOfferService extends service_1.Service {
|
|
|
17
17
|
uri: BASE_URI,
|
|
18
18
|
method: 'GET',
|
|
19
19
|
qs: { limit, page, eventId, sectionCode },
|
|
20
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
20
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
21
21
|
})
|
|
22
22
|
.then(async (response) => response.json());
|
|
23
23
|
}
|
|
@@ -15,7 +15,7 @@ class SellerService extends service_1.Service {
|
|
|
15
15
|
uri: `/sellers/${params.id}`,
|
|
16
16
|
method: 'GET',
|
|
17
17
|
// qs: params.qs,
|
|
18
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
18
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
19
19
|
})
|
|
20
20
|
.then(async (response) => response.json());
|
|
21
21
|
}
|
|
@@ -29,7 +29,7 @@ class SellerService extends service_1.Service {
|
|
|
29
29
|
uri: '/sellers',
|
|
30
30
|
method: 'GET',
|
|
31
31
|
qs: params,
|
|
32
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
32
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
33
33
|
})
|
|
34
34
|
.then(async (response) => response.json());
|
|
35
35
|
}
|
|
@@ -42,7 +42,7 @@ class SellerService extends service_1.Service {
|
|
|
42
42
|
uri: `/sellers/${provider.id}/paymentServices`,
|
|
43
43
|
method: 'GET',
|
|
44
44
|
qs,
|
|
45
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
45
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
46
46
|
})
|
|
47
47
|
.then(async (response) => response.json());
|
|
48
48
|
}
|
|
@@ -55,7 +55,7 @@ class SellerService extends service_1.Service {
|
|
|
55
55
|
uri: `/sellers/${id}/paymentAccepted`,
|
|
56
56
|
method: 'GET',
|
|
57
57
|
qs,
|
|
58
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
58
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
59
59
|
})
|
|
60
60
|
.then(async (response) => response.json());
|
|
61
61
|
}
|
|
@@ -14,7 +14,7 @@ class SyncService extends service_1.Service {
|
|
|
14
14
|
method: 'POST',
|
|
15
15
|
body: params,
|
|
16
16
|
qs: {},
|
|
17
|
-
expectedStatusCodes: [http_status_1.ACCEPTED]
|
|
17
|
+
expectedStatusCodes: [http_status_1.status.ACCEPTED]
|
|
18
18
|
})
|
|
19
19
|
.then(async (response) => response.json());
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ class SyncService extends service_1.Service {
|
|
|
24
24
|
method: 'POST',
|
|
25
25
|
body: params,
|
|
26
26
|
qs: {},
|
|
27
|
-
expectedStatusCodes: [http_status_1.ACCEPTED]
|
|
27
|
+
expectedStatusCodes: [http_status_1.status.ACCEPTED]
|
|
28
28
|
})
|
|
29
29
|
.then(async (response) => response.json());
|
|
30
30
|
}
|
|
@@ -15,7 +15,7 @@ class CancelReservationAssetTransactionService extends service_1.Service {
|
|
|
15
15
|
uri: '/assetTransactions/cancelReservation/confirm',
|
|
16
16
|
method: 'POST',
|
|
17
17
|
body: params,
|
|
18
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
18
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -15,7 +15,7 @@ class AuthorizationService extends service_1.Service {
|
|
|
15
15
|
uri: '/authorizations',
|
|
16
16
|
method: 'POST',
|
|
17
17
|
body: params,
|
|
18
|
-
expectedStatusCodes: [http_status_1.CREATED]
|
|
18
|
+
expectedStatusCodes: [http_status_1.status.CREATED]
|
|
19
19
|
})
|
|
20
20
|
.then(async (response) => response.json());
|
|
21
21
|
}
|
|
@@ -24,7 +24,7 @@ class EventService extends service_1.Service {
|
|
|
24
24
|
// support useExtensibleOffer(2025-11-12~)
|
|
25
25
|
useExtensibleOffer: useExtensibleOffer === true
|
|
26
26
|
},
|
|
27
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
27
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -48,7 +48,7 @@ class EventService extends service_1.Service {
|
|
|
48
48
|
// support disableOverwriteMakesOffer(2025-10-28~)
|
|
49
49
|
disableOverwriteMakesOffer: disableOverwriteMakesOffer === true
|
|
50
50
|
},
|
|
51
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
51
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
@@ -65,7 +65,7 @@ class EventService extends service_1.Service {
|
|
|
65
65
|
uri: `/eventSellerMakesOffer`,
|
|
66
66
|
method: 'PUT',
|
|
67
67
|
body: params,
|
|
68
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
68
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
@@ -76,7 +76,7 @@ class EventService extends service_1.Service {
|
|
|
76
76
|
uri: `/events/${encodeURIComponent(String(params.id))}`,
|
|
77
77
|
method: 'PATCH',
|
|
78
78
|
body: params.attributes,
|
|
79
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
79
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
@@ -87,7 +87,7 @@ class EventService extends service_1.Service {
|
|
|
87
87
|
uri: '/events',
|
|
88
88
|
method: 'GET',
|
|
89
89
|
qs: params,
|
|
90
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
90
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
91
91
|
})
|
|
92
92
|
.then(async (response) => response.json());
|
|
93
93
|
}
|
|
@@ -19,7 +19,7 @@ class EventOfferService extends service_1.Service {
|
|
|
19
19
|
method: 'POST',
|
|
20
20
|
body: params,
|
|
21
21
|
qs: { itemOfferedId },
|
|
22
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
22
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
async updateEventOfferByIdentifier(
|
|
@@ -33,7 +33,7 @@ class EventOfferService extends service_1.Service {
|
|
|
33
33
|
method: 'PUT',
|
|
34
34
|
body: params,
|
|
35
35
|
qs: { itemOfferedId },
|
|
36
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
36
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
async findEventOffers(params) {
|
|
@@ -41,7 +41,7 @@ class EventOfferService extends service_1.Service {
|
|
|
41
41
|
uri: BASE_URI,
|
|
42
42
|
method: 'GET',
|
|
43
43
|
qs: params,
|
|
44
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
44
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
45
45
|
})
|
|
46
46
|
.then(async (response) => response.json());
|
|
47
47
|
}
|
|
@@ -53,7 +53,7 @@ class EventOfferService extends service_1.Service {
|
|
|
53
53
|
return this.fetch({
|
|
54
54
|
uri: `${BASE_URI}/${encodeURIComponent(String(id))}/tokens`,
|
|
55
55
|
method: 'POST',
|
|
56
|
-
expectedStatusCodes: [http_status_1.CREATED]
|
|
56
|
+
expectedStatusCodes: [http_status_1.status.CREATED]
|
|
57
57
|
})
|
|
58
58
|
.then(async (response) => response.json());
|
|
59
59
|
}
|
|
@@ -26,7 +26,7 @@ class EventSeriesService extends service_1.Service {
|
|
|
26
26
|
upsert: upsert === true,
|
|
27
27
|
useSync: useSync === true
|
|
28
28
|
},
|
|
29
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
29
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT],
|
|
30
30
|
stringifyOptions: { arrayFormat: 'repeat' }
|
|
31
31
|
});
|
|
32
32
|
}
|
|
@@ -38,7 +38,7 @@ class EventSeriesService extends service_1.Service {
|
|
|
38
38
|
uri: BASE_URI,
|
|
39
39
|
method: 'GET',
|
|
40
40
|
qs: params,
|
|
41
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
41
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
42
42
|
})
|
|
43
43
|
.then(async (response) => response.json());
|
|
44
44
|
}
|
|
@@ -18,7 +18,7 @@ class MeService extends service_1.Service {
|
|
|
18
18
|
uri: '/members/me/projects',
|
|
19
19
|
method: 'GET',
|
|
20
20
|
qs: params,
|
|
21
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
21
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
22
22
|
})
|
|
23
23
|
.then(async (response) => response.json());
|
|
24
24
|
}
|
|
@@ -31,7 +31,7 @@ class MeService extends service_1.Service {
|
|
|
31
31
|
uri: `/members/me/projects/${String(project?.id)}/sellers`,
|
|
32
32
|
method: 'GET',
|
|
33
33
|
qs: conditions,
|
|
34
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
34
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
35
35
|
})
|
|
36
36
|
.then(async (response) => response.json());
|
|
37
37
|
}
|
|
@@ -16,7 +16,7 @@ class MemberService extends service_1.Service {
|
|
|
16
16
|
uri: `/members/${factory_1.factory.creativeWorkType.SoftwareApplication}`,
|
|
17
17
|
method: 'GET',
|
|
18
18
|
qs: params,
|
|
19
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
19
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
20
20
|
})
|
|
21
21
|
.then(async (response) => response.json());
|
|
22
22
|
}
|
|
@@ -16,7 +16,7 @@ class MovieService extends service_1.Service {
|
|
|
16
16
|
uri: BASE_URI,
|
|
17
17
|
method: 'PUT',
|
|
18
18
|
body: params,
|
|
19
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
19
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
@@ -27,7 +27,7 @@ class MovieService extends service_1.Service {
|
|
|
27
27
|
uri: BASE_URI,
|
|
28
28
|
method: 'GET',
|
|
29
29
|
qs: params,
|
|
30
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
30
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
31
31
|
})
|
|
32
32
|
.then(async (response) => response.json());
|
|
33
33
|
}
|
|
@@ -17,7 +17,7 @@ class MovieTheaterService extends service_1.Service {
|
|
|
17
17
|
uri: BASE_URI,
|
|
18
18
|
method: 'GET',
|
|
19
19
|
qs: params,
|
|
20
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
20
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
21
21
|
})
|
|
22
22
|
.then(async (response) => response.json());
|
|
23
23
|
}
|
|
@@ -35,7 +35,7 @@ class MovieTheaterService extends service_1.Service {
|
|
|
35
35
|
method: 'POST',
|
|
36
36
|
body: params,
|
|
37
37
|
qs: { sellerId },
|
|
38
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
38
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT],
|
|
39
39
|
stringifyOptions: { arrayFormat: 'repeat' }
|
|
40
40
|
});
|
|
41
41
|
}
|
|
@@ -47,7 +47,7 @@ class MovieTheaterService extends service_1.Service {
|
|
|
47
47
|
uri: BASE_URI_ENTRANCE_GATES,
|
|
48
48
|
method: 'GET',
|
|
49
49
|
qs: params,
|
|
50
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
50
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
51
51
|
})
|
|
52
52
|
.then(async (response) => response.json());
|
|
53
53
|
}
|
|
@@ -65,7 +65,7 @@ class MovieTheaterService extends service_1.Service {
|
|
|
65
65
|
method: 'PUT',
|
|
66
66
|
body: params,
|
|
67
67
|
qs: { movieTheaterId },
|
|
68
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
68
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT],
|
|
69
69
|
stringifyOptions: { arrayFormat: 'repeat' }
|
|
70
70
|
});
|
|
71
71
|
}
|
|
@@ -85,7 +85,7 @@ class MovieTheaterService extends service_1.Service {
|
|
|
85
85
|
movieTheaterId,
|
|
86
86
|
identifiers: params.map(({ identifier }) => identifier)
|
|
87
87
|
},
|
|
88
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
88
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT],
|
|
89
89
|
stringifyOptions: { arrayFormat: 'repeat' }
|
|
90
90
|
});
|
|
91
91
|
}
|
|
@@ -15,7 +15,7 @@ class NoteService extends service_1.Service {
|
|
|
15
15
|
method: 'POST',
|
|
16
16
|
body: params,
|
|
17
17
|
qs: { aboutTypeOf },
|
|
18
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
18
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
async updateNotesByIdentifier(params, options) {
|
|
@@ -25,7 +25,7 @@ class NoteService extends service_1.Service {
|
|
|
25
25
|
method: 'PUT',
|
|
26
26
|
body: params,
|
|
27
27
|
qs: { aboutTypeOf },
|
|
28
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
28
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
async findNotes(params) {
|
|
@@ -33,7 +33,7 @@ class NoteService extends service_1.Service {
|
|
|
33
33
|
uri: BASE_URI,
|
|
34
34
|
method: 'GET',
|
|
35
35
|
qs: params,
|
|
36
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
36
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
37
37
|
})
|
|
38
38
|
.then(async (response) => response.json());
|
|
39
39
|
}
|
|
@@ -13,7 +13,7 @@ class NoteAboutOrderService extends service_1.Service {
|
|
|
13
13
|
uri: BASE_URI,
|
|
14
14
|
method: 'PUT',
|
|
15
15
|
body: params,
|
|
16
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
16
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
async search(params) {
|
|
@@ -21,7 +21,7 @@ class NoteAboutOrderService extends service_1.Service {
|
|
|
21
21
|
uri: BASE_URI,
|
|
22
22
|
method: 'GET',
|
|
23
23
|
qs: params,
|
|
24
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
24
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
25
25
|
})
|
|
26
26
|
.then(async (response) => response.json());
|
|
27
27
|
}
|
|
@@ -31,7 +31,7 @@ class NoteAboutOrderService extends service_1.Service {
|
|
|
31
31
|
uri: `${BASE_URI}/${String(id)}`,
|
|
32
32
|
method: 'PUT',
|
|
33
33
|
body: { text },
|
|
34
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
34
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -15,7 +15,7 @@ class OfferService extends service_1.Service {
|
|
|
15
15
|
uri: '/offers',
|
|
16
16
|
method: 'GET',
|
|
17
17
|
qs: params,
|
|
18
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
18
|
+
expectedStatusCodes: [http_status_1.status.OK]
|
|
19
19
|
})
|
|
20
20
|
.then(async (response) => response.json());
|
|
21
21
|
}
|
|
@@ -31,7 +31,7 @@ class OfferService extends service_1.Service {
|
|
|
31
31
|
qs: {
|
|
32
32
|
productType
|
|
33
33
|
},
|
|
34
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
34
|
+
expectedStatusCodes: [http_status_1.status.NO_CONTENT]
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
}
|