@cinerino/sdk 8.0.0-alpha.3 → 8.0.0-alpha.4

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.
@@ -81,7 +81,11 @@ async function main() {
81
81
 
82
82
  console.log('starting transaction...');
83
83
  const transaction = await placeOrderService.start({
84
- agent: {},
84
+ agent: {
85
+ identifier: [
86
+ { name: 'fromSamples', value: 'true' }
87
+ ]
88
+ },
85
89
  seller: { id: String(seller.id) },
86
90
  object: {
87
91
  // passport: { token: passportToken }
@@ -43,10 +43,10 @@ export declare namespace service {
43
43
  * 取引サービス
44
44
  */
45
45
  export declare class ChevreTxn {
46
- options: Pick<IOptions, 'auth' | 'endpoint'>;
47
- constructor(options: Pick<IOptions, 'auth' | 'endpoint'>);
46
+ options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry'>;
47
+ constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'disableAutoRetry'>);
48
48
  createOfferInstance(params: Pick<IOptions, 'project' | 'retryableStatusCodes'> & Pick<IAdditionalOptions, 'seller'>): Promise<OfferService>;
49
- createMoneyTransferTransactionInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<MoneyTransferTransactionService>;
49
+ createMoneyTransferTransactionInstance(params: Pick<IOptions, 'project' | 'retryableStatusCodes'> & Pick<IAdditionalOptions, 'seller'>): Promise<MoneyTransferTransactionService>;
50
50
  createPlaceOrderTransactionInstance(params: Pick<IOptions, 'project' | 'retryableStatusCodes'> & Pick<IAdditionalOptions, 'seller'>): Promise<PlaceOrderTransactionService>;
51
51
  createReturnOrderTransactionInstance(params: Pick<IOptions, 'project' | 'retryableStatusCodes'> & Pick<IAdditionalOptions, 'seller'>): Promise<ReturnOrderTransactionService>;
52
52
  }
@@ -46,6 +46,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
46
46
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
47
  }
48
48
  };
49
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
50
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
51
+ to[j] = from[i];
52
+ return to;
53
+ };
49
54
  Object.defineProperty(exports, "__esModule", { value: true });
50
55
  exports.ChevreTxn = exports.service = void 0;
51
56
  var service;
@@ -88,7 +93,7 @@ var ChevreTxn = /** @class */ (function () {
88
93
  case 1:
89
94
  _a.svc = (_b.sent()).OfferService;
90
95
  _b.label = 2;
91
- case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
96
+ case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
92
97
  }
93
98
  });
94
99
  });
@@ -105,7 +110,7 @@ var ChevreTxn = /** @class */ (function () {
105
110
  case 1:
106
111
  _a.svc = (_b.sent()).MoneyTransferTransactionService;
107
112
  _b.label = 2;
108
- case 2: return [2 /*return*/, new service.transaction.MoneyTransfer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
113
+ case 2: return [2 /*return*/, new service.transaction.MoneyTransfer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
109
114
  }
110
115
  });
111
116
  });
@@ -122,7 +127,7 @@ var ChevreTxn = /** @class */ (function () {
122
127
  case 1:
123
128
  _a.svc = (_b.sent()).PlaceOrderTransactionService;
124
129
  _b.label = 2;
125
- case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
130
+ case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
126
131
  }
127
132
  });
128
133
  });
@@ -139,7 +144,7 @@ var ChevreTxn = /** @class */ (function () {
139
144
  case 1:
140
145
  _a.svc = (_b.sent()).ReturnOrderTransactionService;
141
146
  _b.label = 2;
142
- case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
147
+ case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
143
148
  }
144
149
  });
145
150
  });
@@ -90,7 +90,7 @@ var service;
90
90
  (function (Reservation) {
91
91
  })(Reservation = service.Reservation || (service.Reservation = {}));
92
92
  })(service = exports.service || (exports.service = {}));
93
- var defaultPath = '/admin';
93
+ var defaultRetryableStatusCodes = [];
94
94
  /**
95
95
  * 管理サービス
96
96
  */
@@ -117,7 +117,7 @@ var CloudAdmin = /** @class */ (function () {
117
117
  case 1:
118
118
  _a.svc = (_b.sent()).AuthorizationService;
119
119
  _b.label = 2;
120
- case 2: return [2 /*return*/, new service.Authorization.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
120
+ case 2: return [2 /*return*/, new service.Authorization.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
121
121
  }
122
122
  });
123
123
  });
@@ -134,7 +134,7 @@ var CloudAdmin = /** @class */ (function () {
134
134
  case 1:
135
135
  _a.svc = (_b.sent()).CreativeWorkService;
136
136
  _b.label = 2;
137
- case 2: return [2 /*return*/, new service.CreativeWork.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
137
+ case 2: return [2 /*return*/, new service.CreativeWork.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
138
138
  }
139
139
  });
140
140
  });
@@ -151,7 +151,7 @@ var CloudAdmin = /** @class */ (function () {
151
151
  case 1:
152
152
  _a.svc = (_b.sent()).CustomerService;
153
153
  _b.label = 2;
154
- case 2: return [2 /*return*/, new service.Customer.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
154
+ case 2: return [2 /*return*/, new service.Customer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
155
155
  }
156
156
  });
157
157
  });
@@ -168,7 +168,7 @@ var CloudAdmin = /** @class */ (function () {
168
168
  case 1:
169
169
  _a.svc = (_b.sent()).EventService;
170
170
  _b.label = 2;
171
- case 2: return [2 /*return*/, new service.Event.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
171
+ case 2: return [2 /*return*/, new service.Event.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
172
172
  }
173
173
  });
174
174
  });
@@ -185,7 +185,7 @@ var CloudAdmin = /** @class */ (function () {
185
185
  case 1:
186
186
  _a.svc = (_b.sent()).MeService;
187
187
  _b.label = 2;
188
- case 2: return [2 /*return*/, new service.Me.svc(__assign(__assign({}, this.options), { defaultPath: defaultPath }))];
188
+ case 2: return [2 /*return*/, new service.Me.svc(__assign({}, this.options))];
189
189
  }
190
190
  });
191
191
  });
@@ -202,7 +202,7 @@ var CloudAdmin = /** @class */ (function () {
202
202
  case 1:
203
203
  _a.svc = (_b.sent()).MemberService;
204
204
  _b.label = 2;
205
- case 2: return [2 /*return*/, new service.Member.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
205
+ case 2: return [2 /*return*/, new service.Member.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
206
206
  }
207
207
  });
208
208
  });
@@ -219,7 +219,7 @@ var CloudAdmin = /** @class */ (function () {
219
219
  case 1:
220
220
  _a.svc = (_b.sent()).NoteService;
221
221
  _b.label = 2;
222
- case 2: return [2 /*return*/, new service.Note.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
222
+ case 2: return [2 /*return*/, new service.Note.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
223
223
  }
224
224
  });
225
225
  });
@@ -236,7 +236,7 @@ var CloudAdmin = /** @class */ (function () {
236
236
  case 1:
237
237
  _a.svc = (_b.sent()).OfferService;
238
238
  _b.label = 2;
239
- case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
239
+ case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
240
240
  }
241
241
  });
242
242
  });
@@ -253,7 +253,7 @@ var CloudAdmin = /** @class */ (function () {
253
253
  case 1:
254
254
  _a.svc = (_b.sent()).OfferCatalogService;
255
255
  _b.label = 2;
256
- case 2: return [2 /*return*/, new service.OfferCatalog.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
256
+ case 2: return [2 /*return*/, new service.OfferCatalog.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
257
257
  }
258
258
  });
259
259
  });
@@ -270,7 +270,7 @@ var CloudAdmin = /** @class */ (function () {
270
270
  case 1:
271
271
  _a.svc = (_b.sent()).OfferCatalogItemService;
272
272
  _b.label = 2;
273
- case 2: return [2 /*return*/, new service.OfferCatalogItem.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
273
+ case 2: return [2 /*return*/, new service.OfferCatalogItem.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
274
274
  }
275
275
  });
276
276
  });
@@ -287,7 +287,7 @@ var CloudAdmin = /** @class */ (function () {
287
287
  case 1:
288
288
  _a.svc = (_b.sent()).OrderService;
289
289
  _b.label = 2;
290
- case 2: return [2 /*return*/, new service.Order.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
290
+ case 2: return [2 /*return*/, new service.Order.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
291
291
  }
292
292
  });
293
293
  });
@@ -304,7 +304,7 @@ var CloudAdmin = /** @class */ (function () {
304
304
  case 1:
305
305
  _a.svc = (_b.sent()).ProductService;
306
306
  _b.label = 2;
307
- case 2: return [2 /*return*/, new service.Product.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
307
+ case 2: return [2 /*return*/, new service.Product.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
308
308
  }
309
309
  });
310
310
  });
@@ -321,7 +321,7 @@ var CloudAdmin = /** @class */ (function () {
321
321
  case 1:
322
322
  _a.svc = (_b.sent()).ReservationService;
323
323
  _b.label = 2;
324
- case 2: return [2 /*return*/, new service.Reservation.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
324
+ case 2: return [2 /*return*/, new service.Reservation.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
325
325
  }
326
326
  });
327
327
  });
@@ -56,7 +56,7 @@ var service;
56
56
  (function (Payment) {
57
57
  })(Payment = service.Payment || (service.Payment = {}));
58
58
  })(service = exports.service || (exports.service = {}));
59
- var defaultPath = '/pay';
59
+ var defaultRetryableStatusCodes = [http_status_1.BAD_GATEWAY, http_status_1.SERVICE_UNAVAILABLE, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED];
60
60
  /**
61
61
  * 決済サービス
62
62
  */
@@ -83,7 +83,7 @@ var CloudPay = /** @class */ (function () {
83
83
  case 1:
84
84
  _a.svc = (_b.sent()).PaymentService;
85
85
  _b.label = 2;
86
- case 2: return [2 /*return*/, new service.Payment.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
86
+ case 2: return [2 /*return*/, new service.Payment.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
87
87
  }
88
88
  });
89
89
  });
@@ -1,11 +1,10 @@
1
1
  import type { IAuthorizeEventServiceResult, IMinimalAuthorizeEventServiceResult } from '../../chevreTxn/transaction/placeOrder/factory';
2
2
  import * as factory from '../../factory';
3
- import { IAdditionalOptions, IOptions, Service } from '../../service';
3
+ import { Service } from '../../service';
4
4
  /**
5
5
  * オファーサービス
6
6
  */
7
7
  export declare class OfferService extends Service {
8
- constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'> & IAdditionalOptions);
9
8
  /**
10
9
  * 興行オファー承認
11
10
  */
@@ -58,6 +58,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
58
58
  Object.defineProperty(exports, "__esModule", { value: true });
59
59
  exports.OfferService = void 0;
60
60
  var factory = require("../../factory");
61
+ // import { IAdditionalOptions, IOptions, Service } from '../../service';
61
62
  var service_1 = require("../../service");
62
63
  var index_1 = require("../../../index");
63
64
  /**
@@ -65,20 +66,26 @@ var index_1 = require("../../../index");
65
66
  */
66
67
  var OfferService = /** @class */ (function (_super) {
67
68
  __extends(OfferService, _super);
68
- function OfferService(options) {
69
- return _super.call(this, options) || this;
69
+ function OfferService() {
70
+ return _super !== null && _super.apply(this, arguments) || this;
70
71
  }
72
+ // constructor(options: Pick<
73
+ // IOptions,
74
+ // 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'
75
+ // > & IAdditionalOptions) {
76
+ // super(options);
77
+ // }
71
78
  /**
72
79
  * 興行オファー承認
73
80
  */
74
81
  OfferService.prototype.authorizeEventService = function (params, options) {
75
82
  return __awaiter(this, void 0, void 0, function () {
76
- var _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, offerService;
83
+ var _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, offerService;
77
84
  return __generator(this, function (_b) {
78
85
  switch (_b.label) {
79
86
  case 0:
80
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
81
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
87
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
88
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
82
89
  case 1:
83
90
  chevreTxn = _b.sent();
84
91
  return [4 /*yield*/, chevreTxn.createOfferInstance({
@@ -104,13 +111,13 @@ var OfferService = /** @class */ (function (_super) {
104
111
  */
105
112
  OfferService.prototype.voidAuthorization = function (params) {
106
113
  return __awaiter(this, void 0, void 0, function () {
107
- var id, purpose, object, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, offerService;
114
+ var id, purpose, object, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, offerService;
108
115
  return __generator(this, function (_b) {
109
116
  switch (_b.label) {
110
117
  case 0:
111
118
  id = params.id, purpose = params.purpose, object = params.object;
112
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
113
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
119
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
120
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
114
121
  case 1:
115
122
  chevreTxn = _b.sent();
116
123
  return [4 /*yield*/, chevreTxn.createOfferInstance({
@@ -1,12 +1,11 @@
1
1
  import type { ISetProfileParams } from '../../../chevreTxn/transaction';
2
2
  import type { IConfirmResult4tttsPOS, IMinimalConfirmResult, IStartParams, IStartPlaceOrderResult } from '../../../chevreTxn/transaction/placeOrder/factory';
3
3
  import * as factory from '../../../factory';
4
- import { IAdditionalOptions, IOptions, Service } from '../../../service';
4
+ import { Service } from '../../../service';
5
5
  /**
6
6
  * 注文取引サービス
7
7
  */
8
8
  export declare class PlaceOrderTransactionService extends Service {
9
- constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'> & IAdditionalOptions);
10
9
  /**
11
10
  * 取引開始
12
11
  */
@@ -58,6 +58,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
58
58
  Object.defineProperty(exports, "__esModule", { value: true });
59
59
  exports.PlaceOrderTransactionService = void 0;
60
60
  var http_status_1 = require("http-status");
61
+ // import { IAdditionalOptions, IOptions, Service } from '../../../service';
61
62
  var service_1 = require("../../../service");
62
63
  var index_1 = require("../../../index");
63
64
  /**
@@ -65,21 +66,27 @@ var index_1 = require("../../../index");
65
66
  */
66
67
  var PlaceOrderTransactionService = /** @class */ (function (_super) {
67
68
  __extends(PlaceOrderTransactionService, _super);
68
- function PlaceOrderTransactionService(options) {
69
- return _super.call(this, options) || this;
69
+ function PlaceOrderTransactionService() {
70
+ return _super !== null && _super.apply(this, arguments) || this;
70
71
  }
72
+ // constructor(options: Pick<
73
+ // IOptions,
74
+ // 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'
75
+ // > & IAdditionalOptions) {
76
+ // super(options);
77
+ // }
71
78
  /**
72
79
  * 取引開始
73
80
  */
74
81
  PlaceOrderTransactionService.prototype.start = function (params) {
75
82
  return __awaiter(this, void 0, void 0, function () {
76
- var agent, object, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
83
+ var agent, object, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
77
84
  return __generator(this, function (_b) {
78
85
  switch (_b.label) {
79
86
  case 0:
80
87
  agent = params.agent, object = params.object;
81
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
82
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
88
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
89
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
83
90
  case 1:
84
91
  chevreTxn = _b.sent();
85
92
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
@@ -103,13 +110,13 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
103
110
  */
104
111
  PlaceOrderTransactionService.prototype.setProfile = function (params) {
105
112
  return __awaiter(this, void 0, void 0, function () {
106
- var id, agent, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
113
+ var id, agent, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
107
114
  return __generator(this, function (_b) {
108
115
  switch (_b.label) {
109
116
  case 0:
110
117
  id = params.id, agent = params.agent;
111
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
112
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
118
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
119
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
113
120
  case 1:
114
121
  chevreTxn = _b.sent();
115
122
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
@@ -132,13 +139,13 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
132
139
  */
133
140
  PlaceOrderTransactionService.prototype.changeExpiringDate = function (params) {
134
141
  return __awaiter(this, void 0, void 0, function () {
135
- var id, expires, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
142
+ var id, expires, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
136
143
  return __generator(this, function (_b) {
137
144
  switch (_b.label) {
138
145
  case 0:
139
146
  id = params.id, expires = params.expires;
140
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
141
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
147
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
148
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
142
149
  case 1:
143
150
  chevreTxn = _b.sent();
144
151
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
@@ -161,20 +168,21 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
161
168
  */
162
169
  PlaceOrderTransactionService.prototype.confirm4tttsPOS = function (params) {
163
170
  return __awaiter(this, void 0, void 0, function () {
164
- var id, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
171
+ var id, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
165
172
  return __generator(this, function (_b) {
166
173
  switch (_b.label) {
167
174
  case 0:
168
175
  id = params.id;
169
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
170
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
176
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
177
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
171
178
  case 1:
172
179
  chevreTxn = _b.sent();
173
180
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
174
181
  project: project,
175
182
  seller: { id: (typeof (seller === null || seller === void 0 ? void 0 : seller.id) === 'string') ? seller.id : '' },
176
183
  retryableStatusCodes: __spreadArray(__spreadArray([], (Array.isArray(retryableStatusCodes)) ? retryableStatusCodes : []), [
177
- http_status_1.CONFLICT, http_status_1.TOO_MANY_REQUESTS
184
+ http_status_1.CONFLICT,
185
+ http_status_1.TOO_MANY_REQUESTS
178
186
  ])
179
187
  })];
180
188
  case 2:
@@ -192,20 +200,21 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
192
200
  */
193
201
  PlaceOrderTransactionService.prototype.confirmWithMiminalResponse = function (params) {
194
202
  return __awaiter(this, void 0, void 0, function () {
195
- var id, potentialActions, result, sendEmailMessage, email, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
203
+ var id, potentialActions, result, sendEmailMessage, email, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
196
204
  return __generator(this, function (_b) {
197
205
  switch (_b.label) {
198
206
  case 0:
199
207
  id = params.id, potentialActions = params.potentialActions, result = params.result, sendEmailMessage = params.sendEmailMessage, email = params.email;
200
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
201
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
208
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
209
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
202
210
  case 1:
203
211
  chevreTxn = _b.sent();
204
212
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
205
213
  project: project,
206
214
  seller: { id: (typeof (seller === null || seller === void 0 ? void 0 : seller.id) === 'string') ? seller.id : '' },
207
215
  retryableStatusCodes: __spreadArray(__spreadArray([], (Array.isArray(retryableStatusCodes)) ? retryableStatusCodes : []), [
208
- http_status_1.CONFLICT, http_status_1.TOO_MANY_REQUESTS
216
+ http_status_1.CONFLICT,
217
+ http_status_1.TOO_MANY_REQUESTS
209
218
  ])
210
219
  })];
211
220
  case 2:
@@ -224,20 +233,21 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
224
233
  */
225
234
  PlaceOrderTransactionService.prototype.cancel = function (params) {
226
235
  return __awaiter(this, void 0, void 0, function () {
227
- var id, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
236
+ var id, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
228
237
  return __generator(this, function (_b) {
229
238
  switch (_b.label) {
230
239
  case 0:
231
240
  id = params.id;
232
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
233
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
241
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
242
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
234
243
  case 1:
235
244
  chevreTxn = _b.sent();
236
245
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
237
246
  project: project,
238
247
  seller: { id: (typeof (seller === null || seller === void 0 ? void 0 : seller.id) === 'string') ? seller.id : '' },
239
248
  retryableStatusCodes: __spreadArray(__spreadArray([], (Array.isArray(retryableStatusCodes)) ? retryableStatusCodes : []), [
240
- http_status_1.CONFLICT, http_status_1.TOO_MANY_REQUESTS
249
+ http_status_1.CONFLICT,
250
+ http_status_1.TOO_MANY_REQUESTS
241
251
  ])
242
252
  })];
243
253
  case 2:
@@ -1,11 +1,10 @@
1
1
  import type { IStartParams } from '../../../chevreTxn/transaction/returnOrder/factory';
2
2
  import * as factory from '../../../factory';
3
- import { IAdditionalOptions, IOptions, Service } from '../../../service';
3
+ import { Service } from '../../../service';
4
4
  /**
5
5
  * 返品取引サービス
6
6
  */
7
7
  export declare class ReturnOrderTransactionService extends Service {
8
- constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'> & IAdditionalOptions);
9
8
  /**
10
9
  * 取引を開始する
11
10
  */
@@ -57,6 +57,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
57
57
  };
58
58
  Object.defineProperty(exports, "__esModule", { value: true });
59
59
  exports.ReturnOrderTransactionService = void 0;
60
+ // import { IAdditionalOptions, IOptions, Service } from '../../../service';
60
61
  var service_1 = require("../../../service");
61
62
  var index_1 = require("../../../index");
62
63
  /**
@@ -64,9 +65,15 @@ var index_1 = require("../../../index");
64
65
  */
65
66
  var ReturnOrderTransactionService = /** @class */ (function (_super) {
66
67
  __extends(ReturnOrderTransactionService, _super);
67
- function ReturnOrderTransactionService(options) {
68
- return _super.call(this, options) || this;
68
+ function ReturnOrderTransactionService() {
69
+ return _super !== null && _super.apply(this, arguments) || this;
69
70
  }
71
+ // constructor(options: Pick<
72
+ // IOptions,
73
+ // 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'
74
+ // > & IAdditionalOptions) {
75
+ // super(options);
76
+ // }
70
77
  /**
71
78
  * 取引を開始する
72
79
  */
@@ -68,7 +68,7 @@ var service;
68
68
  })(ReturnOrder = transaction.ReturnOrder || (transaction.ReturnOrder = {}));
69
69
  })(transaction = service.transaction || (service.transaction = {}));
70
70
  })(service = exports.service || (exports.service = {}));
71
- var defaultPath = '/txn';
71
+ var defaultRetryableStatusCodes = [http_status_1.BAD_GATEWAY, http_status_1.SERVICE_UNAVAILABLE, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED];
72
72
  /**
73
73
  * 取引サービス
74
74
  */
@@ -95,7 +95,7 @@ var CloudTxn = /** @class */ (function () {
95
95
  case 1:
96
96
  _a.svc = (_b.sent()).OfferService;
97
97
  _b.label = 2;
98
- case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
98
+ case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
99
99
  }
100
100
  });
101
101
  });
@@ -112,7 +112,7 @@ var CloudTxn = /** @class */ (function () {
112
112
  case 1:
113
113
  _a.svc = (_b.sent()).PlaceOrderTransactionService;
114
114
  _b.label = 2;
115
- case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
115
+ case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
116
116
  }
117
117
  });
118
118
  });
@@ -129,7 +129,7 @@ var CloudTxn = /** @class */ (function () {
129
129
  case 1:
130
130
  _a.svc = (_b.sent()).ReturnOrderTransactionService;
131
131
  _b.label = 2;
132
- case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
132
+ case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
133
133
  }
134
134
  });
135
135
  });
package/lib/bundle.js CHANGED
@@ -14427,6 +14427,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14427
14427
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
14428
14428
  }
14429
14429
  };
14430
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
14431
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
14432
+ to[j] = from[i];
14433
+ return to;
14434
+ };
14430
14435
  Object.defineProperty(exports, "__esModule", { value: true });
14431
14436
  exports.ChevreTxn = exports.service = void 0;
14432
14437
  var service;
@@ -14469,7 +14474,7 @@ var ChevreTxn = /** @class */ (function () {
14469
14474
  case 1:
14470
14475
  _a.svc = (_b.sent()).OfferService;
14471
14476
  _b.label = 2;
14472
- case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
14477
+ case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
14473
14478
  }
14474
14479
  });
14475
14480
  });
@@ -14486,7 +14491,7 @@ var ChevreTxn = /** @class */ (function () {
14486
14491
  case 1:
14487
14492
  _a.svc = (_b.sent()).MoneyTransferTransactionService;
14488
14493
  _b.label = 2;
14489
- case 2: return [2 /*return*/, new service.transaction.MoneyTransfer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
14494
+ case 2: return [2 /*return*/, new service.transaction.MoneyTransfer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
14490
14495
  }
14491
14496
  });
14492
14497
  });
@@ -14503,7 +14508,7 @@ var ChevreTxn = /** @class */ (function () {
14503
14508
  case 1:
14504
14509
  _a.svc = (_b.sent()).PlaceOrderTransactionService;
14505
14510
  _b.label = 2;
14506
- case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
14511
+ case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
14507
14512
  }
14508
14513
  });
14509
14514
  });
@@ -14520,7 +14525,7 @@ var ChevreTxn = /** @class */ (function () {
14520
14525
  case 1:
14521
14526
  _a.svc = (_b.sent()).ReturnOrderTransactionService;
14522
14527
  _b.label = 2;
14523
- case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
14528
+ case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: __spreadArray([], (Array.isArray(params.retryableStatusCodes)) ? params.retryableStatusCodes : []) }))];
14524
14529
  }
14525
14530
  });
14526
14531
  });
@@ -18650,7 +18655,7 @@ var service;
18650
18655
  (function (Reservation) {
18651
18656
  })(Reservation = service.Reservation || (service.Reservation = {}));
18652
18657
  })(service = exports.service || (exports.service = {}));
18653
- var defaultPath = '/admin';
18658
+ var defaultRetryableStatusCodes = [];
18654
18659
  /**
18655
18660
  * 管理サービス
18656
18661
  */
@@ -18677,7 +18682,7 @@ var CloudAdmin = /** @class */ (function () {
18677
18682
  case 1:
18678
18683
  _a.svc = (_b.sent()).AuthorizationService;
18679
18684
  _b.label = 2;
18680
- case 2: return [2 /*return*/, new service.Authorization.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18685
+ case 2: return [2 /*return*/, new service.Authorization.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18681
18686
  }
18682
18687
  });
18683
18688
  });
@@ -18694,7 +18699,7 @@ var CloudAdmin = /** @class */ (function () {
18694
18699
  case 1:
18695
18700
  _a.svc = (_b.sent()).CreativeWorkService;
18696
18701
  _b.label = 2;
18697
- case 2: return [2 /*return*/, new service.CreativeWork.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18702
+ case 2: return [2 /*return*/, new service.CreativeWork.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18698
18703
  }
18699
18704
  });
18700
18705
  });
@@ -18711,7 +18716,7 @@ var CloudAdmin = /** @class */ (function () {
18711
18716
  case 1:
18712
18717
  _a.svc = (_b.sent()).CustomerService;
18713
18718
  _b.label = 2;
18714
- case 2: return [2 /*return*/, new service.Customer.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18719
+ case 2: return [2 /*return*/, new service.Customer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18715
18720
  }
18716
18721
  });
18717
18722
  });
@@ -18728,7 +18733,7 @@ var CloudAdmin = /** @class */ (function () {
18728
18733
  case 1:
18729
18734
  _a.svc = (_b.sent()).EventService;
18730
18735
  _b.label = 2;
18731
- case 2: return [2 /*return*/, new service.Event.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18736
+ case 2: return [2 /*return*/, new service.Event.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18732
18737
  }
18733
18738
  });
18734
18739
  });
@@ -18745,7 +18750,7 @@ var CloudAdmin = /** @class */ (function () {
18745
18750
  case 1:
18746
18751
  _a.svc = (_b.sent()).MeService;
18747
18752
  _b.label = 2;
18748
- case 2: return [2 /*return*/, new service.Me.svc(__assign(__assign({}, this.options), { defaultPath: defaultPath }))];
18753
+ case 2: return [2 /*return*/, new service.Me.svc(__assign({}, this.options))];
18749
18754
  }
18750
18755
  });
18751
18756
  });
@@ -18762,7 +18767,7 @@ var CloudAdmin = /** @class */ (function () {
18762
18767
  case 1:
18763
18768
  _a.svc = (_b.sent()).MemberService;
18764
18769
  _b.label = 2;
18765
- case 2: return [2 /*return*/, new service.Member.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18770
+ case 2: return [2 /*return*/, new service.Member.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18766
18771
  }
18767
18772
  });
18768
18773
  });
@@ -18779,7 +18784,7 @@ var CloudAdmin = /** @class */ (function () {
18779
18784
  case 1:
18780
18785
  _a.svc = (_b.sent()).NoteService;
18781
18786
  _b.label = 2;
18782
- case 2: return [2 /*return*/, new service.Note.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18787
+ case 2: return [2 /*return*/, new service.Note.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18783
18788
  }
18784
18789
  });
18785
18790
  });
@@ -18796,7 +18801,7 @@ var CloudAdmin = /** @class */ (function () {
18796
18801
  case 1:
18797
18802
  _a.svc = (_b.sent()).OfferService;
18798
18803
  _b.label = 2;
18799
- case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18804
+ case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: [] }))];
18800
18805
  }
18801
18806
  });
18802
18807
  });
@@ -18813,7 +18818,7 @@ var CloudAdmin = /** @class */ (function () {
18813
18818
  case 1:
18814
18819
  _a.svc = (_b.sent()).OfferCatalogService;
18815
18820
  _b.label = 2;
18816
- case 2: return [2 /*return*/, new service.OfferCatalog.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18821
+ case 2: return [2 /*return*/, new service.OfferCatalog.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18817
18822
  }
18818
18823
  });
18819
18824
  });
@@ -18830,7 +18835,7 @@ var CloudAdmin = /** @class */ (function () {
18830
18835
  case 1:
18831
18836
  _a.svc = (_b.sent()).OfferCatalogItemService;
18832
18837
  _b.label = 2;
18833
- case 2: return [2 /*return*/, new service.OfferCatalogItem.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18838
+ case 2: return [2 /*return*/, new service.OfferCatalogItem.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18834
18839
  }
18835
18840
  });
18836
18841
  });
@@ -18847,7 +18852,7 @@ var CloudAdmin = /** @class */ (function () {
18847
18852
  case 1:
18848
18853
  _a.svc = (_b.sent()).OrderService;
18849
18854
  _b.label = 2;
18850
- case 2: return [2 /*return*/, new service.Order.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18855
+ case 2: return [2 /*return*/, new service.Order.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18851
18856
  }
18852
18857
  });
18853
18858
  });
@@ -18864,7 +18869,7 @@ var CloudAdmin = /** @class */ (function () {
18864
18869
  case 1:
18865
18870
  _a.svc = (_b.sent()).ProductService;
18866
18871
  _b.label = 2;
18867
- case 2: return [2 /*return*/, new service.Product.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18872
+ case 2: return [2 /*return*/, new service.Product.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18868
18873
  }
18869
18874
  });
18870
18875
  });
@@ -18881,7 +18886,7 @@ var CloudAdmin = /** @class */ (function () {
18881
18886
  case 1:
18882
18887
  _a.svc = (_b.sent()).ReservationService;
18883
18888
  _b.label = 2;
18884
- case 2: return [2 /*return*/, new service.Reservation.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [] }))];
18889
+ case 2: return [2 /*return*/, new service.Reservation.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
18885
18890
  }
18886
18891
  });
18887
18892
  });
@@ -20806,7 +20811,7 @@ var service;
20806
20811
  (function (Payment) {
20807
20812
  })(Payment = service.Payment || (service.Payment = {}));
20808
20813
  })(service = exports.service || (exports.service = {}));
20809
- var defaultPath = '/pay';
20814
+ var defaultRetryableStatusCodes = [http_status_1.BAD_GATEWAY, http_status_1.SERVICE_UNAVAILABLE, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED];
20810
20815
  /**
20811
20816
  * 決済サービス
20812
20817
  */
@@ -20833,7 +20838,7 @@ var CloudPay = /** @class */ (function () {
20833
20838
  case 1:
20834
20839
  _a.svc = (_b.sent()).PaymentService;
20835
20840
  _b.label = 2;
20836
- case 2: return [2 /*return*/, new service.Payment.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
20841
+ case 2: return [2 /*return*/, new service.Payment.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
20837
20842
  }
20838
20843
  });
20839
20844
  });
@@ -21419,7 +21424,7 @@ var service;
21419
21424
  })(ReturnOrder = transaction.ReturnOrder || (transaction.ReturnOrder = {}));
21420
21425
  })(transaction = service.transaction || (service.transaction = {}));
21421
21426
  })(service = exports.service || (exports.service = {}));
21422
- var defaultPath = '/txn';
21427
+ var defaultRetryableStatusCodes = [http_status_1.BAD_GATEWAY, http_status_1.SERVICE_UNAVAILABLE, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED];
21423
21428
  /**
21424
21429
  * 取引サービス
21425
21430
  */
@@ -21446,7 +21451,7 @@ var CloudTxn = /** @class */ (function () {
21446
21451
  case 1:
21447
21452
  _a.svc = (_b.sent()).OfferService;
21448
21453
  _b.label = 2;
21449
- case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
21454
+ case 2: return [2 /*return*/, new service.Offer.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
21450
21455
  }
21451
21456
  });
21452
21457
  });
@@ -21463,7 +21468,7 @@ var CloudTxn = /** @class */ (function () {
21463
21468
  case 1:
21464
21469
  _a.svc = (_b.sent()).PlaceOrderTransactionService;
21465
21470
  _b.label = 2;
21466
- case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
21471
+ case 2: return [2 /*return*/, new service.transaction.PlaceOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
21467
21472
  }
21468
21473
  });
21469
21474
  });
@@ -21480,7 +21485,7 @@ var CloudTxn = /** @class */ (function () {
21480
21485
  case 1:
21481
21486
  _a.svc = (_b.sent()).ReturnOrderTransactionService;
21482
21487
  _b.label = 2;
21483
- case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { defaultPath: defaultPath, retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] }))];
21488
+ case 2: return [2 /*return*/, new service.transaction.ReturnOrder.svc(__assign(__assign(__assign({}, this.options), params), { retryableStatusCodes: defaultRetryableStatusCodes }))];
21484
21489
  }
21485
21490
  });
21486
21491
  });
@@ -21550,6 +21555,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
21550
21555
  Object.defineProperty(exports, "__esModule", { value: true });
21551
21556
  exports.OfferService = void 0;
21552
21557
  var factory = require("../../factory");
21558
+ // import { IAdditionalOptions, IOptions, Service } from '../../service';
21553
21559
  var service_1 = require("../../service");
21554
21560
  var index_1 = require("../../../index");
21555
21561
  /**
@@ -21557,20 +21563,26 @@ var index_1 = require("../../../index");
21557
21563
  */
21558
21564
  var OfferService = /** @class */ (function (_super) {
21559
21565
  __extends(OfferService, _super);
21560
- function OfferService(options) {
21561
- return _super.call(this, options) || this;
21566
+ function OfferService() {
21567
+ return _super !== null && _super.apply(this, arguments) || this;
21562
21568
  }
21569
+ // constructor(options: Pick<
21570
+ // IOptions,
21571
+ // 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'
21572
+ // > & IAdditionalOptions) {
21573
+ // super(options);
21574
+ // }
21563
21575
  /**
21564
21576
  * 興行オファー承認
21565
21577
  */
21566
21578
  OfferService.prototype.authorizeEventService = function (params, options) {
21567
21579
  return __awaiter(this, void 0, void 0, function () {
21568
- var _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, offerService;
21580
+ var _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, offerService;
21569
21581
  return __generator(this, function (_b) {
21570
21582
  switch (_b.label) {
21571
21583
  case 0:
21572
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21573
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21584
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21585
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21574
21586
  case 1:
21575
21587
  chevreTxn = _b.sent();
21576
21588
  return [4 /*yield*/, chevreTxn.createOfferInstance({
@@ -21596,13 +21608,13 @@ var OfferService = /** @class */ (function (_super) {
21596
21608
  */
21597
21609
  OfferService.prototype.voidAuthorization = function (params) {
21598
21610
  return __awaiter(this, void 0, void 0, function () {
21599
- var id, purpose, object, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, offerService;
21611
+ var id, purpose, object, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, offerService;
21600
21612
  return __generator(this, function (_b) {
21601
21613
  switch (_b.label) {
21602
21614
  case 0:
21603
21615
  id = params.id, purpose = params.purpose, object = params.object;
21604
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21605
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21616
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21617
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21606
21618
  case 1:
21607
21619
  chevreTxn = _b.sent();
21608
21620
  return [4 /*yield*/, chevreTxn.createOfferInstance({
@@ -21689,6 +21701,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
21689
21701
  Object.defineProperty(exports, "__esModule", { value: true });
21690
21702
  exports.PlaceOrderTransactionService = void 0;
21691
21703
  var http_status_1 = require("http-status");
21704
+ // import { IAdditionalOptions, IOptions, Service } from '../../../service';
21692
21705
  var service_1 = require("../../../service");
21693
21706
  var index_1 = require("../../../index");
21694
21707
  /**
@@ -21696,21 +21709,27 @@ var index_1 = require("../../../index");
21696
21709
  */
21697
21710
  var PlaceOrderTransactionService = /** @class */ (function (_super) {
21698
21711
  __extends(PlaceOrderTransactionService, _super);
21699
- function PlaceOrderTransactionService(options) {
21700
- return _super.call(this, options) || this;
21712
+ function PlaceOrderTransactionService() {
21713
+ return _super !== null && _super.apply(this, arguments) || this;
21701
21714
  }
21715
+ // constructor(options: Pick<
21716
+ // IOptions,
21717
+ // 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'
21718
+ // > & IAdditionalOptions) {
21719
+ // super(options);
21720
+ // }
21702
21721
  /**
21703
21722
  * 取引開始
21704
21723
  */
21705
21724
  PlaceOrderTransactionService.prototype.start = function (params) {
21706
21725
  return __awaiter(this, void 0, void 0, function () {
21707
- var agent, object, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
21726
+ var agent, object, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
21708
21727
  return __generator(this, function (_b) {
21709
21728
  switch (_b.label) {
21710
21729
  case 0:
21711
21730
  agent = params.agent, object = params.object;
21712
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21713
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21731
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21732
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21714
21733
  case 1:
21715
21734
  chevreTxn = _b.sent();
21716
21735
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
@@ -21734,13 +21753,13 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
21734
21753
  */
21735
21754
  PlaceOrderTransactionService.prototype.setProfile = function (params) {
21736
21755
  return __awaiter(this, void 0, void 0, function () {
21737
- var id, agent, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
21756
+ var id, agent, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
21738
21757
  return __generator(this, function (_b) {
21739
21758
  switch (_b.label) {
21740
21759
  case 0:
21741
21760
  id = params.id, agent = params.agent;
21742
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21743
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21761
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21762
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21744
21763
  case 1:
21745
21764
  chevreTxn = _b.sent();
21746
21765
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
@@ -21763,13 +21782,13 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
21763
21782
  */
21764
21783
  PlaceOrderTransactionService.prototype.changeExpiringDate = function (params) {
21765
21784
  return __awaiter(this, void 0, void 0, function () {
21766
- var id, expires, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
21785
+ var id, expires, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
21767
21786
  return __generator(this, function (_b) {
21768
21787
  switch (_b.label) {
21769
21788
  case 0:
21770
21789
  id = params.id, expires = params.expires;
21771
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21772
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21790
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21791
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21773
21792
  case 1:
21774
21793
  chevreTxn = _b.sent();
21775
21794
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
@@ -21792,20 +21811,21 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
21792
21811
  */
21793
21812
  PlaceOrderTransactionService.prototype.confirm4tttsPOS = function (params) {
21794
21813
  return __awaiter(this, void 0, void 0, function () {
21795
- var id, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
21814
+ var id, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
21796
21815
  return __generator(this, function (_b) {
21797
21816
  switch (_b.label) {
21798
21817
  case 0:
21799
21818
  id = params.id;
21800
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21801
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21819
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21820
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21802
21821
  case 1:
21803
21822
  chevreTxn = _b.sent();
21804
21823
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
21805
21824
  project: project,
21806
21825
  seller: { id: (typeof (seller === null || seller === void 0 ? void 0 : seller.id) === 'string') ? seller.id : '' },
21807
21826
  retryableStatusCodes: __spreadArray(__spreadArray([], (Array.isArray(retryableStatusCodes)) ? retryableStatusCodes : []), [
21808
- http_status_1.CONFLICT, http_status_1.TOO_MANY_REQUESTS
21827
+ http_status_1.CONFLICT,
21828
+ http_status_1.TOO_MANY_REQUESTS
21809
21829
  ])
21810
21830
  })];
21811
21831
  case 2:
@@ -21823,20 +21843,21 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
21823
21843
  */
21824
21844
  PlaceOrderTransactionService.prototype.confirmWithMiminalResponse = function (params) {
21825
21845
  return __awaiter(this, void 0, void 0, function () {
21826
- var id, potentialActions, result, sendEmailMessage, email, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
21846
+ var id, potentialActions, result, sendEmailMessage, email, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
21827
21847
  return __generator(this, function (_b) {
21828
21848
  switch (_b.label) {
21829
21849
  case 0:
21830
21850
  id = params.id, potentialActions = params.potentialActions, result = params.result, sendEmailMessage = params.sendEmailMessage, email = params.email;
21831
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21832
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21851
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21852
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21833
21853
  case 1:
21834
21854
  chevreTxn = _b.sent();
21835
21855
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
21836
21856
  project: project,
21837
21857
  seller: { id: (typeof (seller === null || seller === void 0 ? void 0 : seller.id) === 'string') ? seller.id : '' },
21838
21858
  retryableStatusCodes: __spreadArray(__spreadArray([], (Array.isArray(retryableStatusCodes)) ? retryableStatusCodes : []), [
21839
- http_status_1.CONFLICT, http_status_1.TOO_MANY_REQUESTS
21859
+ http_status_1.CONFLICT,
21860
+ http_status_1.TOO_MANY_REQUESTS
21840
21861
  ])
21841
21862
  })];
21842
21863
  case 2:
@@ -21855,20 +21876,21 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
21855
21876
  */
21856
21877
  PlaceOrderTransactionService.prototype.cancel = function (params) {
21857
21878
  return __awaiter(this, void 0, void 0, function () {
21858
- var id, _a, auth, endpoint, project, seller, retryableStatusCodes, chevreTxn, placeOrderService;
21879
+ var id, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevreTxn, placeOrderService;
21859
21880
  return __generator(this, function (_b) {
21860
21881
  switch (_b.label) {
21861
21882
  case 0:
21862
21883
  id = params.id;
21863
- _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, retryableStatusCodes = _a.retryableStatusCodes;
21864
- return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint })];
21884
+ _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
21885
+ return [4 /*yield*/, index_1.loadChevreTxn({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
21865
21886
  case 1:
21866
21887
  chevreTxn = _b.sent();
21867
21888
  return [4 /*yield*/, chevreTxn.createPlaceOrderTransactionInstance({
21868
21889
  project: project,
21869
21890
  seller: { id: (typeof (seller === null || seller === void 0 ? void 0 : seller.id) === 'string') ? seller.id : '' },
21870
21891
  retryableStatusCodes: __spreadArray(__spreadArray([], (Array.isArray(retryableStatusCodes)) ? retryableStatusCodes : []), [
21871
- http_status_1.CONFLICT, http_status_1.TOO_MANY_REQUESTS
21892
+ http_status_1.CONFLICT,
21893
+ http_status_1.TOO_MANY_REQUESTS
21872
21894
  ])
21873
21895
  })];
21874
21896
  case 2:
@@ -21945,6 +21967,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
21945
21967
  };
21946
21968
  Object.defineProperty(exports, "__esModule", { value: true });
21947
21969
  exports.ReturnOrderTransactionService = void 0;
21970
+ // import { IAdditionalOptions, IOptions, Service } from '../../../service';
21948
21971
  var service_1 = require("../../../service");
21949
21972
  var index_1 = require("../../../index");
21950
21973
  /**
@@ -21952,9 +21975,15 @@ var index_1 = require("../../../index");
21952
21975
  */
21953
21976
  var ReturnOrderTransactionService = /** @class */ (function (_super) {
21954
21977
  __extends(ReturnOrderTransactionService, _super);
21955
- function ReturnOrderTransactionService(options) {
21956
- return _super.call(this, options) || this;
21978
+ function ReturnOrderTransactionService() {
21979
+ return _super !== null && _super.apply(this, arguments) || this;
21957
21980
  }
21981
+ // constructor(options: Pick<
21982
+ // IOptions,
21983
+ // 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath' | 'retryableStatusCodes'
21984
+ // > & IAdditionalOptions) {
21985
+ // super(options);
21986
+ // }
21958
21987
  /**
21959
21988
  * 取引を開始する
21960
21989
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "8.0.0-alpha.3",
3
+ "version": "8.0.0-alpha.4",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -60,7 +60,7 @@
60
60
  "@types/debug": "0.0.30",
61
61
  "@types/fetch-mock": "^6.0.6",
62
62
  "@types/form-data": "^2.5.0",
63
- "@types/http-status": "^0.2.30",
63
+ "@types/http-status": "1.1.2",
64
64
  "@types/isomorphic-fetch": "0.0.34",
65
65
  "@types/jwt-decode": "^2.2.1",
66
66
  "@types/mocha": "^5.2.7",
@@ -92,9 +92,9 @@
92
92
  "watchify": "^3.11.1"
93
93
  },
94
94
  "dependencies": {
95
- "@chevre/factory": "4.376.0-alpha.1",
95
+ "@chevre/factory": "4.376.0-alpha.2",
96
96
  "debug": "^3.2.6",
97
- "http-status": "^1.4.2",
97
+ "http-status": "1.7.4",
98
98
  "idtoken-verifier": "^2.0.3",
99
99
  "isomorphic-fetch": "^2.2.1",
100
100
  "qs": "6.11.0"