@cinerino/sdk 15.0.0-alpha.2 → 15.0.0-alpha.3
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/chevreConsole.d.ts +0 -9
- package/lib/abstract/chevreConsole.js +0 -10
- package/lib/abstract/cloud/admin/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/chevreConsole/advanceBookingRequirement.d.ts +0 -19
- package/lib/abstract/chevreConsole/advanceBookingRequirement.js +0 -46
|
@@ -3,7 +3,6 @@ import type { AccountingReportService } from './chevreConsole/accountingReport';
|
|
|
3
3
|
import type { AccountTitleService } from './chevreConsole/accountTitle';
|
|
4
4
|
import type { ActionService } from './chevreConsole/action';
|
|
5
5
|
import type { AdditionalPropertyService } from './chevreConsole/additionalProperty';
|
|
6
|
-
import type { AdvanceBookingRequirementService } from './chevreConsole/advanceBookingRequirement';
|
|
7
6
|
import type { AggregateOfferService } from './chevreConsole/aggregateOffer';
|
|
8
7
|
import type { AggregateReservationService } from './chevreConsole/aggregateReservation';
|
|
9
8
|
import type { AggregationService } from './chevreConsole/aggregation';
|
|
@@ -89,13 +88,6 @@ export declare namespace service {
|
|
|
89
88
|
namespace AdditionalProperty {
|
|
90
89
|
let svc: typeof AdditionalPropertyService | undefined;
|
|
91
90
|
}
|
|
92
|
-
/**
|
|
93
|
-
* 事前予約要件サービス
|
|
94
|
-
*/
|
|
95
|
-
type AdvanceBookingRequirement = AdvanceBookingRequirementService;
|
|
96
|
-
namespace AdvanceBookingRequirement {
|
|
97
|
-
let svc: typeof AdvanceBookingRequirementService | undefined;
|
|
98
|
-
}
|
|
99
91
|
/**
|
|
100
92
|
* 集計オファーサービス
|
|
101
93
|
*/
|
|
@@ -501,7 +493,6 @@ export declare class ChevreConsole {
|
|
|
501
493
|
createAccountTitleInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AccountTitleService>;
|
|
502
494
|
createActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ActionService>;
|
|
503
495
|
createAdditionalPropertyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdditionalPropertyService>;
|
|
504
|
-
createAdvanceBookingRequirementInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdvanceBookingRequirementService>;
|
|
505
496
|
createAggregateOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateOfferService>;
|
|
506
497
|
createAggregateReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateReservationService>;
|
|
507
498
|
createAggregationInstance(): Promise<AggregationService>;
|
|
@@ -48,9 +48,6 @@ var service;
|
|
|
48
48
|
let AdditionalProperty;
|
|
49
49
|
(function (AdditionalProperty) {
|
|
50
50
|
})(AdditionalProperty = service.AdditionalProperty || (service.AdditionalProperty = {}));
|
|
51
|
-
let AdvanceBookingRequirement;
|
|
52
|
-
(function (AdvanceBookingRequirement) {
|
|
53
|
-
})(AdvanceBookingRequirement = service.AdvanceBookingRequirement || (service.AdvanceBookingRequirement = {}));
|
|
54
51
|
let AggregateOffer;
|
|
55
52
|
(function (AggregateOffer) {
|
|
56
53
|
})(AggregateOffer = service.AggregateOffer || (service.AggregateOffer = {}));
|
|
@@ -261,13 +258,6 @@ class ChevreConsole {
|
|
|
261
258
|
}
|
|
262
259
|
return new service.AdditionalProperty.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
263
260
|
}
|
|
264
|
-
async createAdvanceBookingRequirementInstance(params) {
|
|
265
|
-
if (service.AdvanceBookingRequirement.svc === undefined) {
|
|
266
|
-
service.AdvanceBookingRequirement.svc =
|
|
267
|
-
(await Promise.resolve().then(() => __importStar(require('./chevreConsole/advanceBookingRequirement.js')))).AdvanceBookingRequirementService;
|
|
268
|
-
}
|
|
269
|
-
return new service.AdvanceBookingRequirement.svc({ ...this.options, ...params, retryableStatusCodes: [] });
|
|
270
|
-
}
|
|
271
261
|
async createAggregateOfferInstance(params) {
|
|
272
262
|
if (service.AggregateOffer.svc === undefined) {
|
|
273
263
|
service.AggregateOffer.svc = (await Promise.resolve().then(() => __importStar(require('./chevreConsole/aggregateOffer.js')))).AggregateOfferService;
|
|
@@ -36,7 +36,7 @@ export declare class OfferService extends Service {
|
|
|
36
36
|
/**
|
|
37
37
|
* 最大長:20
|
|
38
38
|
*/
|
|
39
|
-
params: Pick<factory.unitPriceOffer.ICreateParams, 'acceptedPaymentMethod' | 'addOn' | 'additionalProperty' | '
|
|
39
|
+
params: Pick<factory.unitPriceOffer.ICreateParams, 'acceptedPaymentMethod' | 'addOn' | 'additionalProperty' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'category' | 'color' | 'description' | 'eligibleSeatingType' | 'hasMerchantReturnPolicy' | 'identifier' | 'itemOffered' | 'name' | 'priceSpecification' | 'settings' | 'validFrom' | 'validThrough'>[], options: {
|
|
40
40
|
productType: factory.product.ProductType.EventService | factory.product.ProductType.Product;
|
|
41
41
|
}): Promise<void>;
|
|
42
42
|
}
|