@cinerino/sdk 15.0.0-alpha.0 → 15.0.0-alpha.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.
- package/lib/abstract/chevre.d.ts +0 -9
- package/lib/abstract/chevre.js +0 -9
- package/lib/abstract/chevreAdmin.d.ts +0 -9
- package/lib/abstract/chevreAdmin.js +0 -9
- package/lib/abstract/chevreConsole.d.ts +0 -9
- package/lib/abstract/chevreConsole.js +0 -9
- package/lib/abstract/chevreTxn/offer.d.ts +1 -1
- package/lib/abstract/cloud/admin.d.ts +0 -9
- package/lib/abstract/cloud/admin.js +0 -9
- package/lib/abstract/cloud/search.d.ts +0 -12
- package/lib/abstract/cloud/search.js +0 -15
- package/lib/abstract/cloud/txn/offer.d.ts +1 -1
- package/lib/bundle.js +3 -3
- package/lib/bundle.js.map +4 -4
- package/package.json +2 -2
- package/lib/abstract/chevre/productOffer.d.ts +0 -33
- package/lib/abstract/chevre/productOffer.js +0 -21
- package/lib/abstract/chevreAdmin/productOffer.d.ts +0 -79
- package/lib/abstract/chevreAdmin/productOffer.js +0 -67
- package/lib/abstract/chevreConsole/comment.d.ts +0 -36
- package/lib/abstract/chevreConsole/comment.js +0 -39
- package/lib/abstract/cloud/admin/productOffer.d.ts +0 -48
- package/lib/abstract/cloud/admin/productOffer.js +0 -55
- package/lib/abstract/cloud/search/productOffer.d.ts +0 -11
- package/lib/abstract/cloud/search/productOffer.js +0 -25
package/lib/abstract/chevre.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import type { PaymentProductService } from './chevre/paymentService';
|
|
|
10
10
|
import type { PlaceService } from './chevre/place';
|
|
11
11
|
import type { HasPOSService } from './chevre/place/hasPOS';
|
|
12
12
|
import type { ProductService } from './chevre/product';
|
|
13
|
-
import type { ProductOfferService } from './chevre/productOffer';
|
|
14
13
|
import type { SeatOfferService } from './chevre/seatOffer';
|
|
15
14
|
import type { SellerService } from './chevre/seller';
|
|
16
15
|
export declare namespace service {
|
|
@@ -94,13 +93,6 @@ export declare namespace service {
|
|
|
94
93
|
namespace Product {
|
|
95
94
|
let svc: typeof ProductService | undefined;
|
|
96
95
|
}
|
|
97
|
-
/**
|
|
98
|
-
* プロダクトオファーサービス
|
|
99
|
-
*/
|
|
100
|
-
type ProductOffer = ProductOfferService;
|
|
101
|
-
namespace ProductOffer {
|
|
102
|
-
let svc: typeof ProductOfferService | undefined;
|
|
103
|
-
}
|
|
104
96
|
/**
|
|
105
97
|
* 座席オファーサービス
|
|
106
98
|
*/
|
|
@@ -133,7 +125,6 @@ export declare class Chevre {
|
|
|
133
125
|
createPlaceInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PlaceService>;
|
|
134
126
|
createHasPOSInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<HasPOSService>;
|
|
135
127
|
createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
|
|
136
|
-
createProductOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductOfferService>;
|
|
137
128
|
createSeatOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<SeatOfferService>;
|
|
138
129
|
createSellerInstance(params: Pick<IOptions, 'project'>): Promise<SellerService>;
|
|
139
130
|
}
|
package/lib/abstract/chevre.js
CHANGED
|
@@ -72,9 +72,6 @@ var service;
|
|
|
72
72
|
let Product;
|
|
73
73
|
(function (Product) {
|
|
74
74
|
})(Product = service.Product || (service.Product = {}));
|
|
75
|
-
let ProductOffer;
|
|
76
|
-
(function (ProductOffer) {
|
|
77
|
-
})(ProductOffer = service.ProductOffer || (service.ProductOffer = {}));
|
|
78
75
|
let SeatOffer;
|
|
79
76
|
(function (SeatOffer) {
|
|
80
77
|
})(SeatOffer = service.SeatOffer || (service.SeatOffer = {}));
|
|
@@ -156,12 +153,6 @@ class Chevre {
|
|
|
156
153
|
}
|
|
157
154
|
return new service.Product.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
158
155
|
}
|
|
159
|
-
async createProductOfferInstance(params) {
|
|
160
|
-
if (service.ProductOffer.svc === undefined) {
|
|
161
|
-
service.ProductOffer.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/productOffer.js')))).ProductOfferService;
|
|
162
|
-
}
|
|
163
|
-
return new service.ProductOffer.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
164
|
-
}
|
|
165
156
|
async createSeatOfferInstance(params) {
|
|
166
157
|
if (service.SeatOffer.svc === undefined) {
|
|
167
158
|
service.SeatOffer.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/seatOffer.js')))).SeatOfferService;
|
|
@@ -17,7 +17,6 @@ import type { OfferCatalogItemService } from './chevreAdmin/offerCatalogItem';
|
|
|
17
17
|
import type { OrderService } from './chevreAdmin/order';
|
|
18
18
|
import type { PaymentMethodService } from './chevreAdmin/paymentMethod';
|
|
19
19
|
import type { ProductService } from './chevreAdmin/product';
|
|
20
|
-
import type { ProductOfferService } from './chevreAdmin/productOffer';
|
|
21
20
|
import type { ReservationService } from './chevreAdmin/reservation';
|
|
22
21
|
import type { RoomService } from './chevreAdmin/room';
|
|
23
22
|
import type { SeatService } from './chevreAdmin/seat';
|
|
@@ -123,13 +122,6 @@ export declare namespace service {
|
|
|
123
122
|
namespace Product {
|
|
124
123
|
let svc: typeof ProductService | undefined;
|
|
125
124
|
}
|
|
126
|
-
/**
|
|
127
|
-
* プロダクトオファーサービス
|
|
128
|
-
*/
|
|
129
|
-
type ProductOffer = ProductOfferService;
|
|
130
|
-
namespace ProductOffer {
|
|
131
|
-
let svc: typeof ProductOfferService | undefined;
|
|
132
|
-
}
|
|
133
125
|
/**
|
|
134
126
|
* 予約サービス
|
|
135
127
|
*/
|
|
@@ -219,7 +211,6 @@ export declare class ChevreAdmin {
|
|
|
219
211
|
createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
|
|
220
212
|
createPaymentMethodInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentMethodService>;
|
|
221
213
|
createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
|
|
222
|
-
createProductOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductOfferService>;
|
|
223
214
|
createReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReservationService>;
|
|
224
215
|
/**
|
|
225
216
|
* 販売者指定必須
|
|
@@ -78,9 +78,6 @@ var service;
|
|
|
78
78
|
let Product;
|
|
79
79
|
(function (Product) {
|
|
80
80
|
})(Product = service.Product || (service.Product = {}));
|
|
81
|
-
let ProductOffer;
|
|
82
|
-
(function (ProductOffer) {
|
|
83
|
-
})(ProductOffer = service.ProductOffer || (service.ProductOffer = {}));
|
|
84
81
|
let Reservation;
|
|
85
82
|
(function (Reservation) {
|
|
86
83
|
})(Reservation = service.Reservation || (service.Reservation = {}));
|
|
@@ -207,12 +204,6 @@ class ChevreAdmin {
|
|
|
207
204
|
}
|
|
208
205
|
return new service.Product.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
209
206
|
}
|
|
210
|
-
async createProductOfferInstance(params) {
|
|
211
|
-
if (service.ProductOffer.svc === undefined) {
|
|
212
|
-
service.ProductOffer.svc = (await Promise.resolve().then(() => __importStar(require('./chevreAdmin/productOffer.js')))).ProductOfferService;
|
|
213
|
-
}
|
|
214
|
-
return new service.ProductOffer.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
215
|
-
}
|
|
216
207
|
async createReservationInstance(params) {
|
|
217
208
|
if (service.Reservation.svc === undefined) {
|
|
218
209
|
service.Reservation.svc = (await Promise.resolve().then(() => __importStar(require('./chevreAdmin/reservation.js')))).ReservationService;
|
|
@@ -13,7 +13,6 @@ import type { PayAssetTransactionService } from './chevreConsole/assetTransactio
|
|
|
13
13
|
import type { ReserveAssetTransactionService } from './chevreConsole/assetTransaction/reserve';
|
|
14
14
|
import type { AuthorizationService } from './chevreConsole/authorization';
|
|
15
15
|
import type { CategoryCodeService } from './chevreConsole/categoryCode';
|
|
16
|
-
import type { CommentService } from './chevreConsole/comment';
|
|
17
16
|
import type { CreativeWorkService } from './chevreConsole/creativeWork';
|
|
18
17
|
import type { CustomerService } from './chevreConsole/customer';
|
|
19
18
|
import type { CustomerTypeService } from './chevreConsole/customerType';
|
|
@@ -141,13 +140,6 @@ export declare namespace service {
|
|
|
141
140
|
namespace CategoryCode {
|
|
142
141
|
let svc: typeof CategoryCodeService | undefined;
|
|
143
142
|
}
|
|
144
|
-
/**
|
|
145
|
-
* コメントサービス
|
|
146
|
-
*/
|
|
147
|
-
type Comment = CommentService;
|
|
148
|
-
namespace Comment {
|
|
149
|
-
let svc: typeof CommentService | undefined;
|
|
150
|
-
}
|
|
151
143
|
/**
|
|
152
144
|
* コンテンツサービス
|
|
153
145
|
*/
|
|
@@ -531,7 +523,6 @@ export declare class ChevreConsole {
|
|
|
531
523
|
createAggregateReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateReservationService>;
|
|
532
524
|
createAggregationInstance(): Promise<AggregationService>;
|
|
533
525
|
createAuthorizationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AuthorizationService>;
|
|
534
|
-
createCommentInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CommentService>;
|
|
535
526
|
createCreativeWorkInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CreativeWorkService>;
|
|
536
527
|
createCategoryCodeInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CategoryCodeService>;
|
|
537
528
|
createCustomerInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CustomerService>;
|
|
@@ -69,9 +69,6 @@ var service;
|
|
|
69
69
|
let CategoryCode;
|
|
70
70
|
(function (CategoryCode) {
|
|
71
71
|
})(CategoryCode = service.CategoryCode || (service.CategoryCode = {}));
|
|
72
|
-
let Comment;
|
|
73
|
-
(function (Comment) {
|
|
74
|
-
})(Comment = service.Comment || (service.Comment = {}));
|
|
75
72
|
let CreativeWork;
|
|
76
73
|
(function (CreativeWork) {
|
|
77
74
|
})(CreativeWork = service.CreativeWork || (service.CreativeWork = {}));
|
|
@@ -307,12 +304,6 @@ class ChevreConsole {
|
|
|
307
304
|
}
|
|
308
305
|
return new service.Authorization.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
309
306
|
}
|
|
310
|
-
async createCommentInstance(params) {
|
|
311
|
-
if (service.Comment.svc === undefined) {
|
|
312
|
-
service.Comment.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/comment.js')))).CommentService;
|
|
313
|
-
}
|
|
314
|
-
return new service.Comment.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
315
|
-
}
|
|
316
307
|
async createCreativeWorkInstance(params) {
|
|
317
308
|
if (service.CreativeWork.svc === undefined) {
|
|
318
309
|
service.CreativeWork.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/creativeWork.js')))).CreativeWorkService;
|
|
@@ -16,7 +16,7 @@ export declare class OfferService extends Service {
|
|
|
16
16
|
audience: Pick<factory.action.authorize.offer.eventService.IPurpose, 'id'>;
|
|
17
17
|
eventId: string;
|
|
18
18
|
eventOfferId?: string;
|
|
19
|
-
ticketedOffer?: Pick<factory.authorization.IOfferAsObject, 'token'
|
|
19
|
+
ticketedOffer?: Pick<factory.authorization.IOfferAsObject, 'token'>;
|
|
20
20
|
}): Promise<IOfferTicket>;
|
|
21
21
|
/**
|
|
22
22
|
* 興行オファー承認
|
|
@@ -12,7 +12,6 @@ import type { OfferCatalogItemService } from './admin/offerCatalogItem';
|
|
|
12
12
|
import type { OrderService } from './admin/order';
|
|
13
13
|
import type { PaymentMethodService } from './admin/paymentMethod';
|
|
14
14
|
import type { ProductService } from './admin/product';
|
|
15
|
-
import type { ProductOfferService } from './admin/productOffer';
|
|
16
15
|
import type { ReservationService } from './admin/reservation';
|
|
17
16
|
import type { SellerService } from './admin/seller';
|
|
18
17
|
export declare namespace service {
|
|
@@ -108,13 +107,6 @@ export declare namespace service {
|
|
|
108
107
|
namespace Product {
|
|
109
108
|
let svc: typeof ProductService | undefined;
|
|
110
109
|
}
|
|
111
|
-
/**
|
|
112
|
-
* プロダクトオファーサービス
|
|
113
|
-
*/
|
|
114
|
-
type ProductOffer = ProductOfferService;
|
|
115
|
-
namespace ProductOffer {
|
|
116
|
-
let svc: typeof ProductOfferService | undefined;
|
|
117
|
-
}
|
|
118
110
|
/**
|
|
119
111
|
* 予約サービス
|
|
120
112
|
*/
|
|
@@ -149,7 +141,6 @@ export declare class CloudAdmin {
|
|
|
149
141
|
createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
|
|
150
142
|
createPaymentMethodInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentMethodService>;
|
|
151
143
|
createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
|
|
152
|
-
createProductOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductOfferService>;
|
|
153
144
|
createReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReservationService>;
|
|
154
145
|
createSellerInstance(params: Pick<IOptions, 'project'>): Promise<SellerService>;
|
|
155
146
|
}
|
|
@@ -75,9 +75,6 @@ var service;
|
|
|
75
75
|
let Product;
|
|
76
76
|
(function (Product) {
|
|
77
77
|
})(Product = service.Product || (service.Product = {}));
|
|
78
|
-
let ProductOffer;
|
|
79
|
-
(function (ProductOffer) {
|
|
80
|
-
})(ProductOffer = service.ProductOffer || (service.ProductOffer = {}));
|
|
81
78
|
let Reservation;
|
|
82
79
|
(function (Reservation) {
|
|
83
80
|
})(Reservation = service.Reservation || (service.Reservation = {}));
|
|
@@ -178,12 +175,6 @@ class CloudAdmin {
|
|
|
178
175
|
}
|
|
179
176
|
return new service.Product.svc({ ...this.options, ...params, retryableStatusCodes: defaultRetryableStatusCodes });
|
|
180
177
|
}
|
|
181
|
-
async createProductOfferInstance(params) {
|
|
182
|
-
if (service.ProductOffer.svc === undefined) {
|
|
183
|
-
service.ProductOffer.svc = (await Promise.resolve().then(() => __importStar(require('./admin/productOffer.js')))).ProductOfferService;
|
|
184
|
-
}
|
|
185
|
-
return new service.ProductOffer.svc({ ...this.options, ...params, retryableStatusCodes: defaultRetryableStatusCodes });
|
|
186
|
-
}
|
|
187
178
|
async createReservationInstance(params) {
|
|
188
179
|
if (service.Reservation.svc === undefined) {
|
|
189
180
|
service.Reservation.svc = (await Promise.resolve().then(() => __importStar(require('./admin/reservation.js')))).ReservationService;
|
|
@@ -4,7 +4,6 @@ import type { EventOfferService } from './search/eventOffer';
|
|
|
4
4
|
import type { PaymentProductService } from './search/paymentService';
|
|
5
5
|
import type { PlaceService } from './search/place';
|
|
6
6
|
import type { ProductService } from './search/product';
|
|
7
|
-
import type { ProductOfferService } from './search/productOffer';
|
|
8
7
|
import type { SeatOfferService } from './search/seatOffer';
|
|
9
8
|
/**
|
|
10
9
|
* publicリソース検索サービス群
|
|
@@ -45,13 +44,6 @@ export declare namespace service {
|
|
|
45
44
|
namespace Product {
|
|
46
45
|
let svc: typeof ProductService | undefined;
|
|
47
46
|
}
|
|
48
|
-
/**
|
|
49
|
-
* プロダクトオファーサービス
|
|
50
|
-
*/
|
|
51
|
-
type ProductOffer = ProductOfferService;
|
|
52
|
-
namespace ProductOffer {
|
|
53
|
-
let svc: typeof ProductOfferService | undefined;
|
|
54
|
-
}
|
|
55
47
|
/**
|
|
56
48
|
* 座席オファーサービス
|
|
57
49
|
*/
|
|
@@ -78,10 +70,6 @@ export declare class CloudSearch {
|
|
|
78
70
|
* プロダクトサービスインスタンス生成
|
|
79
71
|
*/
|
|
80
72
|
createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
|
|
81
|
-
/**
|
|
82
|
-
* プロダクトオファーサービスインスタンス生成
|
|
83
|
-
*/
|
|
84
|
-
createProductOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductOfferService>;
|
|
85
73
|
/**
|
|
86
74
|
* イベントオファーサービスインスタンス生成
|
|
87
75
|
* 販売者指定必須
|
|
@@ -55,9 +55,6 @@ var service;
|
|
|
55
55
|
let Product;
|
|
56
56
|
(function (Product) {
|
|
57
57
|
})(Product = service.Product || (service.Product = {}));
|
|
58
|
-
let ProductOffer;
|
|
59
|
-
(function (ProductOffer) {
|
|
60
|
-
})(ProductOffer = service.ProductOffer || (service.ProductOffer = {}));
|
|
61
58
|
let SeatOffer;
|
|
62
59
|
(function (SeatOffer) {
|
|
63
60
|
})(SeatOffer = service.SeatOffer || (service.SeatOffer = {}));
|
|
@@ -107,18 +104,6 @@ class CloudSearch {
|
|
|
107
104
|
retryableStatusCodes: defaultRetryableStatusCodes
|
|
108
105
|
});
|
|
109
106
|
}
|
|
110
|
-
/**
|
|
111
|
-
* プロダクトオファーサービスインスタンス生成
|
|
112
|
-
*/
|
|
113
|
-
async createProductOfferInstance(params) {
|
|
114
|
-
if (service.ProductOffer.svc === undefined) {
|
|
115
|
-
service.ProductOffer.svc = (await Promise.resolve().then(() => __importStar(require('./search/productOffer.js')))).ProductOfferService;
|
|
116
|
-
}
|
|
117
|
-
return new service.ProductOffer.svc({
|
|
118
|
-
...this.options, ...params,
|
|
119
|
-
retryableStatusCodes: defaultRetryableStatusCodes
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
107
|
/**
|
|
123
108
|
* イベントオファーサービスインスタンス生成
|
|
124
109
|
* 販売者指定必須
|
|
@@ -12,7 +12,7 @@ export declare class OfferService extends Service {
|
|
|
12
12
|
audience: Pick<factory.action.authorize.offer.eventService.IPurpose, 'id'>;
|
|
13
13
|
eventId: string;
|
|
14
14
|
eventOfferId?: string;
|
|
15
|
-
ticketedOffer?: Pick<factory.authorization.IOfferAsObject, 'token'
|
|
15
|
+
ticketedOffer?: Pick<factory.authorization.IOfferAsObject, 'token'>;
|
|
16
16
|
}): Promise<IOfferTicket>;
|
|
17
17
|
/**
|
|
18
18
|
* 興行オファー承認
|