@cinerino/sdk 10.21.0-alpha.4 → 10.21.0-alpha.41
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/playground/public/lib/bundle.js +1824 -890
- package/example/src/chevre/searchProjects.ts +17 -1
- package/example/src/cloud/transaction/processPlaceOrderByCreditCard3DS.ts +50 -3
- package/example/src/cloud/transaction/processPlaceOrderUsingMemberProgramTier.ts +517 -0
- package/lib/abstract/chevre/event.d.ts +3 -0
- package/lib/abstract/chevreAdmin/advanceBookingRequirement.d.ts +19 -0
- package/lib/abstract/chevreAdmin/advanceBookingRequirement.js +149 -0
- package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.d.ts +0 -13
- package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.js +9 -70
- package/lib/abstract/chevreAdmin/assetTransaction/pay.d.ts +0 -5
- package/lib/abstract/chevreAdmin/assetTransaction/pay.js +32 -51
- package/lib/abstract/chevreAdmin/eventOffer.d.ts +32 -0
- package/lib/abstract/chevreAdmin/eventOffer.js +169 -0
- package/lib/abstract/chevreAdmin/identity.d.ts +2 -2
- package/lib/abstract/chevreAdmin/identityProvider.d.ts +2 -30
- package/lib/abstract/chevreAdmin/identityProvider.js +2 -2
- package/lib/abstract/chevreAdmin/issuer.d.ts +12 -2
- package/lib/abstract/chevreAdmin/memberProgram.d.ts +38 -2
- package/lib/abstract/chevreAdmin/memberProgram.js +31 -4
- package/lib/abstract/chevreAdmin/offerCatalog.d.ts +8 -3
- package/lib/abstract/chevreAdmin/offerCatalogItem.d.ts +4 -3
- package/lib/abstract/chevreAdmin/paymentService.d.ts +29 -9
- package/lib/abstract/chevreAdmin/paymentService.js +16 -0
- package/lib/abstract/chevreAdmin/paymentServiceChannel.d.ts +20 -0
- package/lib/abstract/chevreAdmin/{assetTransaction/refund.js → paymentServiceChannel.js} +41 -37
- package/lib/abstract/chevreAdmin/pendingReservation.d.ts +58 -0
- package/lib/abstract/chevreAdmin/pendingReservation.js +104 -0
- package/lib/abstract/chevreAdmin/task.d.ts +2 -6
- package/lib/abstract/chevreAdmin/task.js +12 -13
- package/lib/abstract/chevreAdmin/webSite.d.ts +23 -0
- package/lib/abstract/chevreAdmin/webSite.js +138 -0
- package/lib/abstract/chevreAdmin.d.ts +45 -9
- package/lib/abstract/chevreAdmin.js +101 -20
- package/lib/abstract/chevrePay/payment/factory.d.ts +5 -5
- package/lib/abstract/cinerino/service/event.d.ts +3 -0
- package/lib/bundle.js +1825 -891
- package/package.json +2 -2
- package/example/src/chevre/assetTransaction/processCancelReservation.ts +0 -61
- package/example/src/chevre/assetTransaction/processPayMovieTicket.ts +0 -101
- package/example/src/chevre/assetTransaction/processPublishPaymentUrl.ts +0 -95
- package/example/src/chevre/assetTransaction/processRefundCreditCard.ts +0 -76
- package/lib/abstract/chevreAdmin/assetTransaction/refund.d.ts +0 -24
|
@@ -81,21 +81,20 @@ var TaskService = /** @class */ (function (_super) {
|
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
|
-
|
|
85
|
-
* タスク取得
|
|
86
|
-
*/
|
|
87
|
-
TaskService.prototype.findById = function (params) {
|
|
84
|
+
TaskService.prototype.retryForciblyIfAborted = function (params) {
|
|
88
85
|
return __awaiter(this, void 0, void 0, function () {
|
|
89
|
-
var _this = this;
|
|
90
86
|
return __generator(this, function (_a) {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
87
|
+
switch (_a.label) {
|
|
88
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
89
|
+
uri: "/tasks/" + params.id + "/retryForciblyIfAborted",
|
|
90
|
+
method: 'PUT',
|
|
91
|
+
body: params,
|
|
92
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
93
|
+
})];
|
|
94
|
+
case 1:
|
|
95
|
+
_a.sent();
|
|
96
|
+
return [2 /*return*/];
|
|
97
|
+
}
|
|
99
98
|
});
|
|
100
99
|
});
|
|
101
100
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as factory from '../factory';
|
|
2
|
+
import { Service } from '../service';
|
|
3
|
+
declare type ISavingWebSite = Pick<factory.creativeWork.certification.webSite.ICertification, 'about'> & {
|
|
4
|
+
id?: never;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* admin web site
|
|
8
|
+
*/
|
|
9
|
+
export declare class WebSiteService extends Service {
|
|
10
|
+
create(params: ISavingWebSite): Promise<{
|
|
11
|
+
id: string;
|
|
12
|
+
}>;
|
|
13
|
+
projectFields(params: Omit<factory.creativeWork.certification.webSite.ISearchConditions, 'project'>): Promise<(Pick<factory.creativeWork.certification.webSite.ICertification, 'about' | 'auditDate' | 'certificationIdentification' | 'certificationStatus' | 'dateModified' | 'datePublished' | 'id' | 'typeOf'> & {
|
|
14
|
+
id: string;
|
|
15
|
+
})[]>;
|
|
16
|
+
certifyById(params: {
|
|
17
|
+
id: string;
|
|
18
|
+
}): Promise<void>;
|
|
19
|
+
deleteById(params: {
|
|
20
|
+
id: string;
|
|
21
|
+
}): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
+
function step(op) {
|
|
31
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
+
while (_) try {
|
|
33
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
+
switch (op[0]) {
|
|
36
|
+
case 0: case 1: t = op; break;
|
|
37
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
+
default:
|
|
41
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
+
if (t[2]) _.ops.pop();
|
|
46
|
+
_.trys.pop(); continue;
|
|
47
|
+
}
|
|
48
|
+
op = body.call(thisArg, _);
|
|
49
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
|
+
exports.WebSiteService = void 0;
|
|
55
|
+
var http_status_1 = require("http-status");
|
|
56
|
+
var service_1 = require("../service");
|
|
57
|
+
/**
|
|
58
|
+
* admin web site
|
|
59
|
+
*/
|
|
60
|
+
var WebSiteService = /** @class */ (function (_super) {
|
|
61
|
+
__extends(WebSiteService, _super);
|
|
62
|
+
function WebSiteService() {
|
|
63
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
64
|
+
}
|
|
65
|
+
WebSiteService.prototype.create = function (params) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
67
|
+
var _this = this;
|
|
68
|
+
return __generator(this, function (_a) {
|
|
69
|
+
return [2 /*return*/, this.fetch({
|
|
70
|
+
uri: '/webSites',
|
|
71
|
+
method: 'POST',
|
|
72
|
+
body: params,
|
|
73
|
+
expectedStatusCodes: [http_status_1.CREATED]
|
|
74
|
+
})
|
|
75
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
76
|
+
return [2 /*return*/, response.json()];
|
|
77
|
+
}); }); })];
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
WebSiteService.prototype.projectFields = function (params) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var _this = this;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
return [2 /*return*/, this.fetch({
|
|
86
|
+
uri: '/webSites',
|
|
87
|
+
method: 'GET',
|
|
88
|
+
qs: params,
|
|
89
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
90
|
+
})
|
|
91
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
92
|
+
return [2 /*return*/, response.json()];
|
|
93
|
+
}); }); })];
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
WebSiteService.prototype.certifyById = function (params) {
|
|
98
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
99
|
+
var id;
|
|
100
|
+
return __generator(this, function (_a) {
|
|
101
|
+
switch (_a.label) {
|
|
102
|
+
case 0:
|
|
103
|
+
id = params.id;
|
|
104
|
+
return [4 /*yield*/, this.fetch({
|
|
105
|
+
uri: "/webSites/" + encodeURIComponent(String(id)) + "/certified",
|
|
106
|
+
method: 'PUT',
|
|
107
|
+
// body,
|
|
108
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
109
|
+
})];
|
|
110
|
+
case 1:
|
|
111
|
+
_a.sent();
|
|
112
|
+
return [2 /*return*/];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
};
|
|
117
|
+
WebSiteService.prototype.deleteById = function (params) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
119
|
+
var id;
|
|
120
|
+
return __generator(this, function (_a) {
|
|
121
|
+
switch (_a.label) {
|
|
122
|
+
case 0:
|
|
123
|
+
id = params.id;
|
|
124
|
+
return [4 /*yield*/, this.fetch({
|
|
125
|
+
uri: "/webSites/" + encodeURIComponent(String(id)),
|
|
126
|
+
method: 'DELETE',
|
|
127
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
128
|
+
})];
|
|
129
|
+
case 1:
|
|
130
|
+
_a.sent();
|
|
131
|
+
return [2 /*return*/];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
return WebSiteService;
|
|
137
|
+
}(service_1.Service));
|
|
138
|
+
exports.WebSiteService = WebSiteService;
|
|
@@ -5,6 +5,7 @@ import type { AccountTitleService } from './chevreAdmin/accountTitle';
|
|
|
5
5
|
import type { AccountTransactionService } from './chevreAdmin/accountTransaction';
|
|
6
6
|
import type { ActionService } from './chevreAdmin/action';
|
|
7
7
|
import type { AdditionalPropertyService } from './chevreAdmin/additionalProperty';
|
|
8
|
+
import type { AdvanceBookingRequirementService } from './chevreAdmin/advanceBookingRequirement';
|
|
8
9
|
import type { AggregateOfferService } from './chevreAdmin/aggregateOffer';
|
|
9
10
|
import type { AggregateReservationService } from './chevreAdmin/aggregateReservation';
|
|
10
11
|
import type { AggregationService } from './chevreAdmin/aggregation';
|
|
@@ -12,7 +13,6 @@ import type { AssetTransactionService } from './chevreAdmin/assetTransaction';
|
|
|
12
13
|
import type { CancelReservationAssetTransactionService } from './chevreAdmin/assetTransaction/cancelReservation';
|
|
13
14
|
import type { MoneyTransferAssetTransactionService } from './chevreAdmin/assetTransaction/moneyTransfer';
|
|
14
15
|
import type { PayAssetTransactionService } from './chevreAdmin/assetTransaction/pay';
|
|
15
|
-
import type { RefundAssetTransactionService } from './chevreAdmin/assetTransaction/refund';
|
|
16
16
|
import type { RegisterServiceAssetTransactionService } from './chevreAdmin/assetTransaction/registerService';
|
|
17
17
|
import type { ReserveAssetTransactionService } from './chevreAdmin/assetTransaction/reserve';
|
|
18
18
|
import type { AuthorizationService } from './chevreAdmin/authorization';
|
|
@@ -23,6 +23,7 @@ import type { CustomerService } from './chevreAdmin/customer';
|
|
|
23
23
|
import type { CustomerTypeService } from './chevreAdmin/customerType';
|
|
24
24
|
import type { EmailMessageService } from './chevreAdmin/emailMessage';
|
|
25
25
|
import type { EventService } from './chevreAdmin/event';
|
|
26
|
+
import type { EventOfferService } from './chevreAdmin/eventOffer';
|
|
26
27
|
import type { EventSeriesService } from './chevreAdmin/eventSeries';
|
|
27
28
|
import type { HasMerchantReturnPolicyService } from './chevreAdmin/hasMerchantReturnPolicy';
|
|
28
29
|
import type { IAMService } from './chevreAdmin/iam';
|
|
@@ -42,6 +43,8 @@ import type { OfferItemConditionService } from './chevreAdmin/offerItemCondition
|
|
|
42
43
|
import type { OrderService } from './chevreAdmin/order';
|
|
43
44
|
import type { OwnershipInfoService } from './chevreAdmin/ownershipInfo';
|
|
44
45
|
import type { PaymentProductService } from './chevreAdmin/paymentService';
|
|
46
|
+
import type { PaymentServiceChannelService } from './chevreAdmin/paymentServiceChannel';
|
|
47
|
+
import type { PendingReservationService } from './chevreAdmin/pendingReservation';
|
|
45
48
|
import type { PermissionService } from './chevreAdmin/permission';
|
|
46
49
|
import type { PermitService } from './chevreAdmin/permit';
|
|
47
50
|
import type { PersonService } from './chevreAdmin/person';
|
|
@@ -65,6 +68,7 @@ import type { ReturnOrderTransactionService } from './chevreAdmin/transaction/re
|
|
|
65
68
|
import type { TransactionNumberService } from './chevreAdmin/transactionNumber';
|
|
66
69
|
import type { TripService } from './chevreAdmin/trip';
|
|
67
70
|
import type { UserPoolService } from './chevreAdmin/userPool';
|
|
71
|
+
import type { WebSiteService } from './chevreAdmin/webSite';
|
|
68
72
|
export declare namespace service {
|
|
69
73
|
type IUnset = IUnsetOnService;
|
|
70
74
|
/**
|
|
@@ -109,6 +113,13 @@ export declare namespace service {
|
|
|
109
113
|
namespace AdditionalProperty {
|
|
110
114
|
let svc: typeof AdditionalPropertyService | undefined;
|
|
111
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* 事前予約要件サービス
|
|
118
|
+
*/
|
|
119
|
+
type AdvanceBookingRequirement = AdvanceBookingRequirementService;
|
|
120
|
+
namespace AdvanceBookingRequirement {
|
|
121
|
+
let svc: typeof AdvanceBookingRequirementService | undefined;
|
|
122
|
+
}
|
|
112
123
|
/**
|
|
113
124
|
* 集計オファーサービス
|
|
114
125
|
*/
|
|
@@ -186,6 +197,13 @@ export declare namespace service {
|
|
|
186
197
|
namespace Event {
|
|
187
198
|
let svc: typeof EventService | undefined;
|
|
188
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* イベントオファーサービス
|
|
202
|
+
*/
|
|
203
|
+
type EventOffer = EventOfferService;
|
|
204
|
+
namespace EventOffer {
|
|
205
|
+
let svc: typeof EventOfferService | undefined;
|
|
206
|
+
}
|
|
189
207
|
/**
|
|
190
208
|
* 施設コンテンツサービス
|
|
191
209
|
*/
|
|
@@ -291,6 +309,20 @@ export declare namespace service {
|
|
|
291
309
|
namespace PaymentProduct {
|
|
292
310
|
let svc: typeof PaymentProductService | undefined;
|
|
293
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* 決済サービスチャネルサービス
|
|
314
|
+
*/
|
|
315
|
+
type PaymentServiceChannel = PaymentServiceChannelService;
|
|
316
|
+
namespace PaymentServiceChannel {
|
|
317
|
+
let svc: typeof PaymentServiceChannelService | undefined;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* 保留予約サービス
|
|
321
|
+
*/
|
|
322
|
+
type PendingReservation = PendingReservationService;
|
|
323
|
+
namespace PendingReservation {
|
|
324
|
+
let svc: typeof PendingReservationService | undefined;
|
|
325
|
+
}
|
|
294
326
|
/**
|
|
295
327
|
* 権限サービス
|
|
296
328
|
*/
|
|
@@ -464,13 +496,6 @@ export declare namespace service {
|
|
|
464
496
|
namespace Pay {
|
|
465
497
|
let svc: typeof PayAssetTransactionService | undefined;
|
|
466
498
|
}
|
|
467
|
-
/**
|
|
468
|
-
* 返金取引サービス
|
|
469
|
-
*/
|
|
470
|
-
type Refund = RefundAssetTransactionService;
|
|
471
|
-
namespace Refund {
|
|
472
|
-
let svc: typeof RefundAssetTransactionService | undefined;
|
|
473
|
-
}
|
|
474
499
|
/**
|
|
475
500
|
* サービス登録取引
|
|
476
501
|
*/
|
|
@@ -540,6 +565,13 @@ export declare namespace service {
|
|
|
540
565
|
namespace UserPool {
|
|
541
566
|
let svc: typeof UserPoolService | undefined;
|
|
542
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* admin web site
|
|
570
|
+
*/
|
|
571
|
+
type WebSite = WebSiteService;
|
|
572
|
+
namespace WebSite {
|
|
573
|
+
let svc: typeof WebSiteService | undefined;
|
|
574
|
+
}
|
|
543
575
|
}
|
|
544
576
|
/**
|
|
545
577
|
* 管理サービス
|
|
@@ -553,6 +585,7 @@ export declare class ChevreAdmin {
|
|
|
553
585
|
createAccountTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AccountTransactionService>;
|
|
554
586
|
createActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ActionService>;
|
|
555
587
|
createAdditionalPropertyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdditionalPropertyService>;
|
|
588
|
+
createAdvanceBookingRequirementInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdvanceBookingRequirementService>;
|
|
556
589
|
createAggregateOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateOfferService>;
|
|
557
590
|
createAggregateReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateReservationService>;
|
|
558
591
|
createAggregationInstance(): Promise<AggregationService>;
|
|
@@ -564,6 +597,7 @@ export declare class ChevreAdmin {
|
|
|
564
597
|
createCustomerTypeInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CustomerTypeService>;
|
|
565
598
|
createEmailMessageInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EmailMessageService>;
|
|
566
599
|
createEventInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventService>;
|
|
600
|
+
createEventOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventOfferService>;
|
|
567
601
|
createEventSeriesInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventSeriesService>;
|
|
568
602
|
createHasMerchantReturnPolicyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<HasMerchantReturnPolicyService>;
|
|
569
603
|
createIAMInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<IAMService>;
|
|
@@ -579,6 +613,8 @@ export declare class ChevreAdmin {
|
|
|
579
613
|
createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
|
|
580
614
|
createOwnershipInfoInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OwnershipInfoService>;
|
|
581
615
|
createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
|
|
616
|
+
createPaymentServiceChannelInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentServiceChannelService>;
|
|
617
|
+
createPendingReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PendingReservationService>;
|
|
582
618
|
createPermissionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PermissionService>;
|
|
583
619
|
createPermitInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PermitService>;
|
|
584
620
|
createPersonInstance(params: Pick<IOptions, 'project'>): Promise<PersonService>;
|
|
@@ -603,7 +639,6 @@ export declare class ChevreAdmin {
|
|
|
603
639
|
createCancelReservationAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CancelReservationAssetTransactionService>;
|
|
604
640
|
createMoneyTransferAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MoneyTransferAssetTransactionService>;
|
|
605
641
|
createPayAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PayAssetTransactionService>;
|
|
606
|
-
createRefundAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<RefundAssetTransactionService>;
|
|
607
642
|
createRegisterServiceAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<RegisterServiceAssetTransactionService>;
|
|
608
643
|
createReserveAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReserveAssetTransactionService>;
|
|
609
644
|
createTokenInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<TokenService>;
|
|
@@ -613,4 +648,5 @@ export declare class ChevreAdmin {
|
|
|
613
648
|
createTransactionNumberInstance(params: Pick<IOptions, 'project'>): Promise<TransactionNumberService>;
|
|
614
649
|
createTripInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<TripService>;
|
|
615
650
|
createUserPoolInstance(params: Pick<IOptions, 'project'>): Promise<UserPoolService>;
|
|
651
|
+
createWebSiteInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<WebSiteService>;
|
|
616
652
|
}
|
|
@@ -68,6 +68,9 @@ var service;
|
|
|
68
68
|
var AdditionalProperty;
|
|
69
69
|
(function (AdditionalProperty) {
|
|
70
70
|
})(AdditionalProperty = service.AdditionalProperty || (service.AdditionalProperty = {}));
|
|
71
|
+
var AdvanceBookingRequirement;
|
|
72
|
+
(function (AdvanceBookingRequirement) {
|
|
73
|
+
})(AdvanceBookingRequirement = service.AdvanceBookingRequirement || (service.AdvanceBookingRequirement = {}));
|
|
71
74
|
var AggregateOffer;
|
|
72
75
|
(function (AggregateOffer) {
|
|
73
76
|
})(AggregateOffer = service.AggregateOffer || (service.AggregateOffer = {}));
|
|
@@ -101,6 +104,9 @@ var service;
|
|
|
101
104
|
var Event;
|
|
102
105
|
(function (Event) {
|
|
103
106
|
})(Event = service.Event || (service.Event = {}));
|
|
107
|
+
var EventOffer;
|
|
108
|
+
(function (EventOffer) {
|
|
109
|
+
})(EventOffer = service.EventOffer || (service.EventOffer = {}));
|
|
104
110
|
var EventSeries;
|
|
105
111
|
(function (EventSeries) {
|
|
106
112
|
})(EventSeries = service.EventSeries || (service.EventSeries = {}));
|
|
@@ -146,6 +152,12 @@ var service;
|
|
|
146
152
|
var PaymentProduct;
|
|
147
153
|
(function (PaymentProduct) {
|
|
148
154
|
})(PaymentProduct = service.PaymentProduct || (service.PaymentProduct = {}));
|
|
155
|
+
var PaymentServiceChannel;
|
|
156
|
+
(function (PaymentServiceChannel) {
|
|
157
|
+
})(PaymentServiceChannel = service.PaymentServiceChannel || (service.PaymentServiceChannel = {}));
|
|
158
|
+
var PendingReservation;
|
|
159
|
+
(function (PendingReservation) {
|
|
160
|
+
})(PendingReservation = service.PendingReservation || (service.PendingReservation = {}));
|
|
149
161
|
var Permission;
|
|
150
162
|
(function (Permission) {
|
|
151
163
|
})(Permission = service.Permission || (service.Permission = {}));
|
|
@@ -227,9 +239,6 @@ var service;
|
|
|
227
239
|
var Pay;
|
|
228
240
|
(function (Pay) {
|
|
229
241
|
})(Pay = assetTransaction.Pay || (assetTransaction.Pay = {}));
|
|
230
|
-
var Refund;
|
|
231
|
-
(function (Refund) {
|
|
232
|
-
})(Refund = assetTransaction.Refund || (assetTransaction.Refund = {}));
|
|
233
242
|
var RegisterService;
|
|
234
243
|
(function (RegisterService) {
|
|
235
244
|
})(RegisterService = assetTransaction.RegisterService || (assetTransaction.RegisterService = {}));
|
|
@@ -264,6 +273,9 @@ var service;
|
|
|
264
273
|
var UserPool;
|
|
265
274
|
(function (UserPool) {
|
|
266
275
|
})(UserPool = service.UserPool || (service.UserPool = {}));
|
|
276
|
+
var WebSite;
|
|
277
|
+
(function (WebSite) {
|
|
278
|
+
})(WebSite = service.WebSite || (service.WebSite = {}));
|
|
267
279
|
})(service = exports.service || (exports.service = {}));
|
|
268
280
|
/**
|
|
269
281
|
* 管理サービス
|
|
@@ -374,6 +386,24 @@ var ChevreAdmin = /** @class */ (function () {
|
|
|
374
386
|
});
|
|
375
387
|
});
|
|
376
388
|
};
|
|
389
|
+
ChevreAdmin.prototype.createAdvanceBookingRequirementInstance = function (params) {
|
|
390
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
391
|
+
var _a;
|
|
392
|
+
return __generator(this, function (_b) {
|
|
393
|
+
switch (_b.label) {
|
|
394
|
+
case 0:
|
|
395
|
+
if (!(service.AdvanceBookingRequirement.svc === undefined)) return [3 /*break*/, 2];
|
|
396
|
+
_a = service.AdvanceBookingRequirement;
|
|
397
|
+
return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/advanceBookingRequirement'); })];
|
|
398
|
+
case 1:
|
|
399
|
+
_a.svc =
|
|
400
|
+
(_b.sent()).AdvanceBookingRequirementService;
|
|
401
|
+
_b.label = 2;
|
|
402
|
+
case 2: return [2 /*return*/, new service.AdvanceBookingRequirement.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
};
|
|
377
407
|
ChevreAdmin.prototype.createAggregateOfferInstance = function (params) {
|
|
378
408
|
return __awaiter(this, void 0, void 0, function () {
|
|
379
409
|
var _a;
|
|
@@ -561,6 +591,23 @@ var ChevreAdmin = /** @class */ (function () {
|
|
|
561
591
|
});
|
|
562
592
|
});
|
|
563
593
|
};
|
|
594
|
+
ChevreAdmin.prototype.createEventOfferInstance = function (params) {
|
|
595
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
596
|
+
var _a;
|
|
597
|
+
return __generator(this, function (_b) {
|
|
598
|
+
switch (_b.label) {
|
|
599
|
+
case 0:
|
|
600
|
+
if (!(service.EventOffer.svc === undefined)) return [3 /*break*/, 2];
|
|
601
|
+
_a = service.EventOffer;
|
|
602
|
+
return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/eventOffer'); })];
|
|
603
|
+
case 1:
|
|
604
|
+
_a.svc = (_b.sent()).EventOfferService;
|
|
605
|
+
_b.label = 2;
|
|
606
|
+
case 2: return [2 /*return*/, new service.EventOffer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
});
|
|
610
|
+
};
|
|
564
611
|
ChevreAdmin.prototype.createEventSeriesInstance = function (params) {
|
|
565
612
|
return __awaiter(this, void 0, void 0, function () {
|
|
566
613
|
var _a;
|
|
@@ -816,6 +863,40 @@ var ChevreAdmin = /** @class */ (function () {
|
|
|
816
863
|
});
|
|
817
864
|
});
|
|
818
865
|
};
|
|
866
|
+
ChevreAdmin.prototype.createPaymentServiceChannelInstance = function (params) {
|
|
867
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
868
|
+
var _a;
|
|
869
|
+
return __generator(this, function (_b) {
|
|
870
|
+
switch (_b.label) {
|
|
871
|
+
case 0:
|
|
872
|
+
if (!(service.PaymentServiceChannel.svc === undefined)) return [3 /*break*/, 2];
|
|
873
|
+
_a = service.PaymentServiceChannel;
|
|
874
|
+
return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/paymentServiceChannel'); })];
|
|
875
|
+
case 1:
|
|
876
|
+
_a.svc = (_b.sent()).PaymentServiceChannelService;
|
|
877
|
+
_b.label = 2;
|
|
878
|
+
case 2: return [2 /*return*/, new service.PaymentServiceChannel.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
});
|
|
882
|
+
};
|
|
883
|
+
ChevreAdmin.prototype.createPendingReservationInstance = function (params) {
|
|
884
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
885
|
+
var _a;
|
|
886
|
+
return __generator(this, function (_b) {
|
|
887
|
+
switch (_b.label) {
|
|
888
|
+
case 0:
|
|
889
|
+
if (!(service.PendingReservation.svc === undefined)) return [3 /*break*/, 2];
|
|
890
|
+
_a = service.PendingReservation;
|
|
891
|
+
return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/pendingReservation'); })];
|
|
892
|
+
case 1:
|
|
893
|
+
_a.svc = (_b.sent()).PendingReservationService;
|
|
894
|
+
_b.label = 2;
|
|
895
|
+
case 2: return [2 /*return*/, new service.PendingReservation.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
|
|
896
|
+
}
|
|
897
|
+
});
|
|
898
|
+
});
|
|
899
|
+
};
|
|
819
900
|
ChevreAdmin.prototype.createPermissionInstance = function (params) {
|
|
820
901
|
return __awaiter(this, void 0, void 0, function () {
|
|
821
902
|
var _a;
|
|
@@ -1226,23 +1307,6 @@ var ChevreAdmin = /** @class */ (function () {
|
|
|
1226
1307
|
});
|
|
1227
1308
|
});
|
|
1228
1309
|
};
|
|
1229
|
-
ChevreAdmin.prototype.createRefundAssetTransactionInstance = function (params) {
|
|
1230
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1231
|
-
var _a;
|
|
1232
|
-
return __generator(this, function (_b) {
|
|
1233
|
-
switch (_b.label) {
|
|
1234
|
-
case 0:
|
|
1235
|
-
if (!(service.assetTransaction.Refund.svc === undefined)) return [3 /*break*/, 2];
|
|
1236
|
-
_a = service.assetTransaction.Refund;
|
|
1237
|
-
return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/assetTransaction/refund'); })];
|
|
1238
|
-
case 1:
|
|
1239
|
-
_a.svc = (_b.sent()).RefundAssetTransactionService;
|
|
1240
|
-
_b.label = 2;
|
|
1241
|
-
case 2: return [2 /*return*/, new service.assetTransaction.Refund.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
|
|
1242
|
-
}
|
|
1243
|
-
});
|
|
1244
|
-
});
|
|
1245
|
-
};
|
|
1246
1310
|
ChevreAdmin.prototype.createRegisterServiceAssetTransactionInstance = function (params) {
|
|
1247
1311
|
return __awaiter(this, void 0, void 0, function () {
|
|
1248
1312
|
var _a;
|
|
@@ -1398,6 +1462,23 @@ var ChevreAdmin = /** @class */ (function () {
|
|
|
1398
1462
|
});
|
|
1399
1463
|
});
|
|
1400
1464
|
};
|
|
1465
|
+
ChevreAdmin.prototype.createWebSiteInstance = function (params) {
|
|
1466
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1467
|
+
var _a;
|
|
1468
|
+
return __generator(this, function (_b) {
|
|
1469
|
+
switch (_b.label) {
|
|
1470
|
+
case 0:
|
|
1471
|
+
if (!(service.WebSite.svc === undefined)) return [3 /*break*/, 2];
|
|
1472
|
+
_a = service.WebSite;
|
|
1473
|
+
return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/webSite'); })];
|
|
1474
|
+
case 1:
|
|
1475
|
+
_a.svc = (_b.sent()).WebSiteService;
|
|
1476
|
+
_b.label = 2;
|
|
1477
|
+
case 2: return [2 /*return*/, new service.WebSite.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
|
|
1478
|
+
}
|
|
1479
|
+
});
|
|
1480
|
+
});
|
|
1481
|
+
};
|
|
1401
1482
|
return ChevreAdmin;
|
|
1402
1483
|
}());
|
|
1403
1484
|
exports.ChevreAdmin = ChevreAdmin;
|
|
@@ -31,13 +31,13 @@ export declare type IMovieTicketMkknInfo = factory.action.check.paymentMethod.mo
|
|
|
31
31
|
*/
|
|
32
32
|
knyknrNo: string;
|
|
33
33
|
};
|
|
34
|
-
export declare type IAuthorizeAnyPaymentObject = Pick<factory.action.authorize.paymentMethod.any.
|
|
35
|
-
export declare type IAuthorizeCreditCardObject = Pick<factory.action.authorize.paymentMethod.any.
|
|
36
|
-
export declare type IAuthorizeMovieTicketObject = Pick<factory.action.authorize.paymentMethod.any.
|
|
37
|
-
export declare type IAuthorizePaymentCardObject = Pick<factory.action.authorize.paymentMethod.any.
|
|
34
|
+
export declare type IAuthorizeAnyPaymentObject = Pick<factory.action.authorize.paymentMethod.any.IAuthorizeAnyPaymentObject, 'amount' | 'issuedThrough' | 'paymentMethod' | 'name' | 'additionalProperty' | 'ticketToken'>;
|
|
35
|
+
export declare type IAuthorizeCreditCardObject = Pick<factory.action.authorize.paymentMethod.any.IAuthorizeCreditCardObject, 'amount' | 'issuedThrough' | 'paymentMethod' | 'creditCard' | 'method' | 'paymentMethodId' | 'name' | 'additionalProperty' | 'ticketToken'>;
|
|
36
|
+
export declare type IAuthorizeMovieTicketObject = Pick<factory.action.authorize.paymentMethod.any.IAuthorizeMovieTicketObject, 'issuedThrough' | 'paymentMethod' | 'movieTickets' | 'name' | 'additionalProperty' | 'ticketToken'>;
|
|
37
|
+
export declare type IAuthorizePaymentCardObject = Pick<factory.action.authorize.paymentMethod.any.IAuthorizePaymentCardObject, 'amount' | 'issuedThrough' | 'paymentMethod' | 'fromLocation' | 'name' | 'additionalProperty'> & {
|
|
38
38
|
description?: string;
|
|
39
39
|
};
|
|
40
|
-
export declare type IPublishPaymentUrlObject = Pick<factory.action.authorize.paymentMethod.any.
|
|
40
|
+
export declare type IPublishPaymentUrlObject = Pick<factory.action.authorize.paymentMethod.any.IAuthorizeCreditCardObject, 'amount' | 'creditCard' | 'issuedThrough' | 'paymentMethod' | 'method'>;
|
|
41
41
|
export declare type IPublishPaymentUrlResult = Pick<factory.action.accept.pay.IResult, 'paymentMethodId' | 'paymentUrl'>;
|
|
42
42
|
export interface IFindAuthorizeActionResult {
|
|
43
43
|
/**
|