@cinerino/sdk 10.21.0-alpha.3 → 10.21.0-alpha.31

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.
Files changed (29) hide show
  1. package/example/playground/public/lib/bundle.js +1644 -1038
  2. package/example/src/cloud/transaction/processPlaceOrderByCreditCard3DS.ts +50 -3
  3. package/lib/abstract/chevreAdmin/advanceBookingRequirement.d.ts +19 -0
  4. package/lib/abstract/chevreAdmin/advanceBookingRequirement.js +149 -0
  5. package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.d.ts +0 -13
  6. package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.js +9 -70
  7. package/lib/abstract/chevreAdmin/assetTransaction/pay.d.ts +0 -5
  8. package/lib/abstract/chevreAdmin/assetTransaction/pay.js +32 -51
  9. package/lib/abstract/chevreAdmin/identity.d.ts +2 -2
  10. package/lib/abstract/chevreAdmin/identityProvider.d.ts +2 -30
  11. package/lib/abstract/chevreAdmin/identityProvider.js +2 -2
  12. package/lib/abstract/chevreAdmin/paymentService.d.ts +40 -8
  13. package/lib/abstract/chevreAdmin/paymentService.js +32 -0
  14. package/lib/abstract/chevreAdmin/paymentServiceChannel.d.ts +20 -0
  15. package/lib/abstract/chevreAdmin/{assetTransaction/refund.js → paymentServiceChannel.js} +41 -37
  16. package/lib/abstract/chevreAdmin/task.d.ts +2 -6
  17. package/lib/abstract/chevreAdmin/task.js +12 -13
  18. package/lib/abstract/chevreAdmin/webSite.d.ts +23 -0
  19. package/lib/abstract/chevreAdmin/webSite.js +138 -0
  20. package/lib/abstract/chevreAdmin.d.ts +27 -9
  21. package/lib/abstract/chevreAdmin.js +61 -20
  22. package/lib/abstract/chevrePay/payment/factory.d.ts +5 -5
  23. package/lib/bundle.js +1672 -1070
  24. package/package.json +2 -2
  25. package/example/src/chevre/assetTransaction/processCancelReservation.ts +0 -61
  26. package/example/src/chevre/assetTransaction/processPayMovieTicket.ts +0 -101
  27. package/example/src/chevre/assetTransaction/processPublishPaymentUrl.ts +0 -95
  28. package/example/src/chevre/assetTransaction/processRefundCreditCard.ts +0 -76
  29. package/lib/abstract/chevreAdmin/assetTransaction/refund.d.ts +0 -24
@@ -162,6 +162,38 @@ var PaymentProductService = /** @class */ (function (_super) {
162
162
  });
163
163
  });
164
164
  };
165
+ PaymentProductService.prototype.searchAvailableChannels = function (params) {
166
+ return __awaiter(this, void 0, void 0, function () {
167
+ var _this = this;
168
+ return __generator(this, function (_a) {
169
+ return [2 /*return*/, this.fetch({
170
+ uri: '/paymentServices/availableChannels',
171
+ method: 'GET',
172
+ qs: params,
173
+ expectedStatusCodes: [http_status_1.OK]
174
+ })
175
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
176
+ return [2 /*return*/, response.json()];
177
+ }); }); })];
178
+ });
179
+ });
180
+ };
181
+ PaymentProductService.prototype.searchPotentialActions = function (params) {
182
+ return __awaiter(this, void 0, void 0, function () {
183
+ var _this = this;
184
+ return __generator(this, function (_a) {
185
+ return [2 /*return*/, this.fetch({
186
+ uri: '/paymentServices/potentialActions',
187
+ method: 'GET',
188
+ qs: params,
189
+ expectedStatusCodes: [http_status_1.OK]
190
+ })
191
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
192
+ return [2 /*return*/, response.json()];
193
+ }); }); })];
194
+ });
195
+ });
196
+ };
165
197
  return PaymentProductService;
166
198
  }(service_1.Service));
167
199
  exports.PaymentProductService = PaymentProductService;
@@ -0,0 +1,20 @@
1
+ import * as factory from '../factory';
2
+ import { Service } from '../service';
3
+ declare type IServiceChannel = Pick<factory.serviceChannel.IServiceChannel, 'credentials' | 'id' | 'providesService' | 'serviceUrl' | 'typeOf'>;
4
+ declare type ISavingChannel = Pick<factory.serviceChannel.IServiceChannel, 'credentials' | 'providesService' | 'serviceUrl'>;
5
+ /**
6
+ * 決済サービスチャネルサービス
7
+ */
8
+ export declare class PaymentServiceChannelService extends Service {
9
+ create(params: ISavingChannel): Promise<{
10
+ id: string;
11
+ }>;
12
+ projectFields(params: Omit<factory.serviceChannel.ISearchConditions, 'project'>): Promise<IServiceChannel[]>;
13
+ updateById(params: ISavingChannel & {
14
+ id: string;
15
+ }): Promise<void>;
16
+ deleteById(params: {
17
+ id: string;
18
+ }): Promise<void>;
19
+ }
20
+ export {};
@@ -62,29 +62,41 @@ var __rest = (this && this.__rest) || function (s, e) {
62
62
  return t;
63
63
  };
64
64
  Object.defineProperty(exports, "__esModule", { value: true });
65
- exports.RefundAssetTransactionService = void 0;
65
+ exports.PaymentServiceChannelService = void 0;
66
66
  var http_status_1 = require("http-status");
67
- var factory = require("../../factory");
68
- var service_1 = require("../../service");
67
+ var service_1 = require("../service");
69
68
  /**
70
- * 返金取引サービス
69
+ * 決済サービスチャネルサービス
71
70
  */
72
- var RefundAssetTransactionService = /** @class */ (function (_super) {
73
- __extends(RefundAssetTransactionService, _super);
74
- function RefundAssetTransactionService() {
71
+ var PaymentServiceChannelService = /** @class */ (function (_super) {
72
+ __extends(PaymentServiceChannelService, _super);
73
+ function PaymentServiceChannelService() {
75
74
  return _super !== null && _super.apply(this, arguments) || this;
76
75
  }
77
- /**
78
- * 取引開始
79
- */
80
- RefundAssetTransactionService.prototype.start = function (params) {
76
+ PaymentServiceChannelService.prototype.create = function (params) {
81
77
  return __awaiter(this, void 0, void 0, function () {
82
78
  var _this = this;
83
79
  return __generator(this, function (_a) {
84
80
  return [2 /*return*/, this.fetch({
85
- uri: "/assetTransactions/" + factory.assetTransactionType.Refund + "/start",
81
+ uri: '/paymentServiceChannels',
86
82
  method: 'POST',
87
83
  body: params,
84
+ expectedStatusCodes: [http_status_1.CREATED]
85
+ })
86
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
87
+ return [2 /*return*/, response.json()];
88
+ }); }); })];
89
+ });
90
+ });
91
+ };
92
+ PaymentServiceChannelService.prototype.projectFields = function (params) {
93
+ return __awaiter(this, void 0, void 0, function () {
94
+ var _this = this;
95
+ return __generator(this, function (_a) {
96
+ return [2 /*return*/, this.fetch({
97
+ uri: '/paymentServiceChannels',
98
+ method: 'GET',
99
+ qs: params,
88
100
  expectedStatusCodes: [http_status_1.OK]
89
101
  })
90
102
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
@@ -93,23 +105,18 @@ var RefundAssetTransactionService = /** @class */ (function (_super) {
93
105
  });
94
106
  });
95
107
  };
96
- /**
97
- * 取引確定
98
- */
99
- RefundAssetTransactionService.prototype.confirm = function (params) {
108
+ PaymentServiceChannelService.prototype.updateById = function (params) {
100
109
  return __awaiter(this, void 0, void 0, function () {
101
- var transactionNumber, id, body;
110
+ var id, body;
102
111
  return __generator(this, function (_a) {
103
112
  switch (_a.label) {
104
113
  case 0:
105
- transactionNumber = params.transactionNumber, id = params.id, body = __rest(params, ["transactionNumber", "id"]);
114
+ id = params.id, body = __rest(params, ["id"]);
106
115
  return [4 /*yield*/, this.fetch({
107
- uri: (typeof params.transactionNumber === 'string')
108
- ? "/assetTransactions/" + factory.assetTransactionType.Refund + "/" + transactionNumber + "/confirm?transactionNumber=1"
109
- : "/assetTransactions/" + factory.assetTransactionType.Refund + "/" + encodeURIComponent(String(id)) + "/confirm",
116
+ uri: "/paymentServiceChannels/" + encodeURIComponent(String(id)),
110
117
  method: 'PUT',
111
- expectedStatusCodes: [http_status_1.NO_CONTENT],
112
- body: body
118
+ body: body,
119
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
113
120
  })];
114
121
  case 1:
115
122
  _a.sent();
@@ -118,21 +125,18 @@ var RefundAssetTransactionService = /** @class */ (function (_super) {
118
125
  });
119
126
  });
120
127
  };
121
- /**
122
- * 取引中止
123
- */
124
- RefundAssetTransactionService.prototype.cancel = function (params) {
128
+ PaymentServiceChannelService.prototype.deleteById = function (params) {
125
129
  return __awaiter(this, void 0, void 0, function () {
130
+ var id;
126
131
  return __generator(this, function (_a) {
127
132
  switch (_a.label) {
128
- case 0: return [4 /*yield*/, this.fetch({
129
- uri: (typeof params.transactionNumber === 'string')
130
- ? "/assetTransactions/" + factory.assetTransactionType.Refund + "/" + params.transactionNumber + "/cancel?transactionNumber=1"
131
- : "/assetTransactions/" + factory.assetTransactionType.Refund + "/" + encodeURIComponent(String(params.id)) + "/cancel",
132
- method: 'PUT',
133
- expectedStatusCodes: [http_status_1.NO_CONTENT]
134
- // body: params
135
- })];
133
+ case 0:
134
+ id = params.id;
135
+ return [4 /*yield*/, this.fetch({
136
+ uri: "/paymentServiceChannels/" + encodeURIComponent(String(id)),
137
+ method: 'DELETE',
138
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
139
+ })];
136
140
  case 1:
137
141
  _a.sent();
138
142
  return [2 /*return*/];
@@ -140,6 +144,6 @@ var RefundAssetTransactionService = /** @class */ (function (_super) {
140
144
  });
141
145
  });
142
146
  };
143
- return RefundAssetTransactionService;
147
+ return PaymentServiceChannelService;
144
148
  }(service_1.Service));
145
- exports.RefundAssetTransactionService = RefundAssetTransactionService;
149
+ exports.PaymentServiceChannelService = PaymentServiceChannelService;
@@ -9,13 +9,9 @@ export declare class TaskService extends Service<IOptions> {
9
9
  * タスク作成
10
10
  */
11
11
  create(params: factory.task.IAttributes<factory.taskName>): Promise<Pick<factory.task.ITask<factory.taskName>, 'id'>>;
12
- /**
13
- * タスク取得
14
- */
15
- findById<T extends factory.taskName>(params: {
16
- name: T;
12
+ retryForciblyIfAborted(params: {
17
13
  id: string;
18
- }): Promise<factory.task.ITask<T>>;
14
+ }): Promise<void>;
19
15
  /**
20
16
  * タスク検索
21
17
  */
@@ -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
- return [2 /*return*/, this.fetch({
92
- uri: "/tasks/" + params.name + "/" + params.id,
93
- method: 'GET',
94
- expectedStatusCodes: [http_status_1.OK]
95
- })
96
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
97
- return [2 /*return*/, response.json()];
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';
@@ -42,6 +42,7 @@ import type { OfferItemConditionService } from './chevreAdmin/offerItemCondition
42
42
  import type { OrderService } from './chevreAdmin/order';
43
43
  import type { OwnershipInfoService } from './chevreAdmin/ownershipInfo';
44
44
  import type { PaymentProductService } from './chevreAdmin/paymentService';
45
+ import type { PaymentServiceChannelService } from './chevreAdmin/paymentServiceChannel';
45
46
  import type { PermissionService } from './chevreAdmin/permission';
46
47
  import type { PermitService } from './chevreAdmin/permit';
47
48
  import type { PersonService } from './chevreAdmin/person';
@@ -65,6 +66,7 @@ import type { ReturnOrderTransactionService } from './chevreAdmin/transaction/re
65
66
  import type { TransactionNumberService } from './chevreAdmin/transactionNumber';
66
67
  import type { TripService } from './chevreAdmin/trip';
67
68
  import type { UserPoolService } from './chevreAdmin/userPool';
69
+ import type { WebSiteService } from './chevreAdmin/webSite';
68
70
  export declare namespace service {
69
71
  type IUnset = IUnsetOnService;
70
72
  /**
@@ -109,6 +111,13 @@ export declare namespace service {
109
111
  namespace AdditionalProperty {
110
112
  let svc: typeof AdditionalPropertyService | undefined;
111
113
  }
114
+ /**
115
+ * 事前予約要件サービス
116
+ */
117
+ type AdvanceBookingRequirement = AdvanceBookingRequirementService;
118
+ namespace AdvanceBookingRequirement {
119
+ let svc: typeof AdvanceBookingRequirementService | undefined;
120
+ }
112
121
  /**
113
122
  * 集計オファーサービス
114
123
  */
@@ -291,6 +300,13 @@ export declare namespace service {
291
300
  namespace PaymentProduct {
292
301
  let svc: typeof PaymentProductService | undefined;
293
302
  }
303
+ /**
304
+ * 決済サービスチャネルサービス
305
+ */
306
+ type PaymentServiceChannel = PaymentServiceChannelService;
307
+ namespace PaymentServiceChannel {
308
+ let svc: typeof PaymentServiceChannelService | undefined;
309
+ }
294
310
  /**
295
311
  * 権限サービス
296
312
  */
@@ -464,13 +480,6 @@ export declare namespace service {
464
480
  namespace Pay {
465
481
  let svc: typeof PayAssetTransactionService | undefined;
466
482
  }
467
- /**
468
- * 返金取引サービス
469
- */
470
- type Refund = RefundAssetTransactionService;
471
- namespace Refund {
472
- let svc: typeof RefundAssetTransactionService | undefined;
473
- }
474
483
  /**
475
484
  * サービス登録取引
476
485
  */
@@ -540,6 +549,13 @@ export declare namespace service {
540
549
  namespace UserPool {
541
550
  let svc: typeof UserPoolService | undefined;
542
551
  }
552
+ /**
553
+ * admin web site
554
+ */
555
+ type WebSite = WebSiteService;
556
+ namespace WebSite {
557
+ let svc: typeof WebSiteService | undefined;
558
+ }
543
559
  }
544
560
  /**
545
561
  * 管理サービス
@@ -553,6 +569,7 @@ export declare class ChevreAdmin {
553
569
  createAccountTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AccountTransactionService>;
554
570
  createActionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ActionService>;
555
571
  createAdditionalPropertyInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdditionalPropertyService>;
572
+ createAdvanceBookingRequirementInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AdvanceBookingRequirementService>;
556
573
  createAggregateOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateOfferService>;
557
574
  createAggregateReservationInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<AggregateReservationService>;
558
575
  createAggregationInstance(): Promise<AggregationService>;
@@ -579,6 +596,7 @@ export declare class ChevreAdmin {
579
596
  createOrderInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OrderService>;
580
597
  createOwnershipInfoInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<OwnershipInfoService>;
581
598
  createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
599
+ createPaymentServiceChannelInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentServiceChannelService>;
582
600
  createPermissionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PermissionService>;
583
601
  createPermitInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PermitService>;
584
602
  createPersonInstance(params: Pick<IOptions, 'project'>): Promise<PersonService>;
@@ -603,7 +621,6 @@ export declare class ChevreAdmin {
603
621
  createCancelReservationAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<CancelReservationAssetTransactionService>;
604
622
  createMoneyTransferAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MoneyTransferAssetTransactionService>;
605
623
  createPayAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PayAssetTransactionService>;
606
- createRefundAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<RefundAssetTransactionService>;
607
624
  createRegisterServiceAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<RegisterServiceAssetTransactionService>;
608
625
  createReserveAssetTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReserveAssetTransactionService>;
609
626
  createTokenInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<TokenService>;
@@ -613,4 +630,5 @@ export declare class ChevreAdmin {
613
630
  createTransactionNumberInstance(params: Pick<IOptions, 'project'>): Promise<TransactionNumberService>;
614
631
  createTripInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<TripService>;
615
632
  createUserPoolInstance(params: Pick<IOptions, 'project'>): Promise<UserPoolService>;
633
+ createWebSiteInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<WebSiteService>;
616
634
  }
@@ -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 = {}));
@@ -146,6 +149,9 @@ var service;
146
149
  var PaymentProduct;
147
150
  (function (PaymentProduct) {
148
151
  })(PaymentProduct = service.PaymentProduct || (service.PaymentProduct = {}));
152
+ var PaymentServiceChannel;
153
+ (function (PaymentServiceChannel) {
154
+ })(PaymentServiceChannel = service.PaymentServiceChannel || (service.PaymentServiceChannel = {}));
149
155
  var Permission;
150
156
  (function (Permission) {
151
157
  })(Permission = service.Permission || (service.Permission = {}));
@@ -227,9 +233,6 @@ var service;
227
233
  var Pay;
228
234
  (function (Pay) {
229
235
  })(Pay = assetTransaction.Pay || (assetTransaction.Pay = {}));
230
- var Refund;
231
- (function (Refund) {
232
- })(Refund = assetTransaction.Refund || (assetTransaction.Refund = {}));
233
236
  var RegisterService;
234
237
  (function (RegisterService) {
235
238
  })(RegisterService = assetTransaction.RegisterService || (assetTransaction.RegisterService = {}));
@@ -264,6 +267,9 @@ var service;
264
267
  var UserPool;
265
268
  (function (UserPool) {
266
269
  })(UserPool = service.UserPool || (service.UserPool = {}));
270
+ var WebSite;
271
+ (function (WebSite) {
272
+ })(WebSite = service.WebSite || (service.WebSite = {}));
267
273
  })(service = exports.service || (exports.service = {}));
268
274
  /**
269
275
  * 管理サービス
@@ -374,6 +380,24 @@ var ChevreAdmin = /** @class */ (function () {
374
380
  });
375
381
  });
376
382
  };
383
+ ChevreAdmin.prototype.createAdvanceBookingRequirementInstance = function (params) {
384
+ return __awaiter(this, void 0, void 0, function () {
385
+ var _a;
386
+ return __generator(this, function (_b) {
387
+ switch (_b.label) {
388
+ case 0:
389
+ if (!(service.AdvanceBookingRequirement.svc === undefined)) return [3 /*break*/, 2];
390
+ _a = service.AdvanceBookingRequirement;
391
+ return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/advanceBookingRequirement'); })];
392
+ case 1:
393
+ _a.svc =
394
+ (_b.sent()).AdvanceBookingRequirementService;
395
+ _b.label = 2;
396
+ case 2: return [2 /*return*/, new service.AdvanceBookingRequirement.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
397
+ }
398
+ });
399
+ });
400
+ };
377
401
  ChevreAdmin.prototype.createAggregateOfferInstance = function (params) {
378
402
  return __awaiter(this, void 0, void 0, function () {
379
403
  var _a;
@@ -816,6 +840,23 @@ var ChevreAdmin = /** @class */ (function () {
816
840
  });
817
841
  });
818
842
  };
843
+ ChevreAdmin.prototype.createPaymentServiceChannelInstance = function (params) {
844
+ return __awaiter(this, void 0, void 0, function () {
845
+ var _a;
846
+ return __generator(this, function (_b) {
847
+ switch (_b.label) {
848
+ case 0:
849
+ if (!(service.PaymentServiceChannel.svc === undefined)) return [3 /*break*/, 2];
850
+ _a = service.PaymentServiceChannel;
851
+ return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/paymentServiceChannel'); })];
852
+ case 1:
853
+ _a.svc = (_b.sent()).PaymentServiceChannelService;
854
+ _b.label = 2;
855
+ case 2: return [2 /*return*/, new service.PaymentServiceChannel.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
856
+ }
857
+ });
858
+ });
859
+ };
819
860
  ChevreAdmin.prototype.createPermissionInstance = function (params) {
820
861
  return __awaiter(this, void 0, void 0, function () {
821
862
  var _a;
@@ -1226,23 +1267,6 @@ var ChevreAdmin = /** @class */ (function () {
1226
1267
  });
1227
1268
  });
1228
1269
  };
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
1270
  ChevreAdmin.prototype.createRegisterServiceAssetTransactionInstance = function (params) {
1247
1271
  return __awaiter(this, void 0, void 0, function () {
1248
1272
  var _a;
@@ -1398,6 +1422,23 @@ var ChevreAdmin = /** @class */ (function () {
1398
1422
  });
1399
1423
  });
1400
1424
  };
1425
+ ChevreAdmin.prototype.createWebSiteInstance = function (params) {
1426
+ return __awaiter(this, void 0, void 0, function () {
1427
+ var _a;
1428
+ return __generator(this, function (_b) {
1429
+ switch (_b.label) {
1430
+ case 0:
1431
+ if (!(service.WebSite.svc === undefined)) return [3 /*break*/, 2];
1432
+ _a = service.WebSite;
1433
+ return [4 /*yield*/, Promise.resolve().then(function () { return require('./chevreAdmin/webSite'); })];
1434
+ case 1:
1435
+ _a.svc = (_b.sent()).WebSiteService;
1436
+ _b.label = 2;
1437
+ case 2: return [2 /*return*/, new service.WebSite.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
1438
+ }
1439
+ });
1440
+ });
1441
+ };
1401
1442
  return ChevreAdmin;
1402
1443
  }());
1403
1444
  exports.ChevreAdmin = ChevreAdmin;