@cinerino/sdk 14.0.0-alpha.5 → 14.0.0-alpha.7

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.
@@ -18,36 +18,6 @@ export interface ICodeResponse {
18
18
  * 会員所有権サービス
19
19
  */
20
20
  export declare class PersonOwnershipInfoService extends Service<IOptions> {
21
- /**
22
- * クレジットカード追加
23
- */
24
- addCreditCard(params: {
25
- id: string;
26
- /**
27
- * クレジットカード情報
28
- * 情報の渡し方にはいくつかパターンがあるので、型を参照すること
29
- */
30
- creditCard: ICreditCard;
31
- paymentMethodType: string;
32
- }): Promise<factory.paymentMethod.paymentCard.creditCard.ICheckedCard>;
33
- /**
34
- * クレジットカード検索
35
- */
36
- searchCreditCards(params: {
37
- id: string;
38
- paymentMethodType: string;
39
- }): Promise<factory.paymentMethod.paymentCard.creditCard.ICheckedCard[]>;
40
- /**
41
- * クレジットカード削除
42
- */
43
- deleteCreditCard(params: {
44
- id: string;
45
- /**
46
- * カード連番
47
- */
48
- cardSeq: string;
49
- paymentMethodType: string;
50
- }): Promise<void>;
51
21
  /**
52
22
  * 所有権検索
53
23
  * typeOfGood.issuedThrough.typeOf.$eqの指定が必須です
@@ -73,72 +73,6 @@ var PersonOwnershipInfoService = /** @class */ (function (_super) {
73
73
  function PersonOwnershipInfoService() {
74
74
  return _super !== null && _super.apply(this, arguments) || this;
75
75
  }
76
- /**
77
- * クレジットカード追加
78
- */
79
- PersonOwnershipInfoService.prototype.addCreditCard = function (params) {
80
- return __awaiter(this, void 0, void 0, function () {
81
- var id;
82
- var _this = this;
83
- return __generator(this, function (_a) {
84
- id = (typeof params.id === 'string') ? params.id : 'me';
85
- return [2 /*return*/, this.fetch({
86
- uri: "/people/".concat(id, "/paymentMethod/creditCards"),
87
- method: 'POST',
88
- body: params.creditCard,
89
- expectedStatusCodes: [http_status_1.CREATED],
90
- qs: { paymentMethodType: params.paymentMethodType }
91
- })
92
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
93
- return [2 /*return*/, response.json()];
94
- }); }); })];
95
- });
96
- });
97
- };
98
- /**
99
- * クレジットカード検索
100
- */
101
- PersonOwnershipInfoService.prototype.searchCreditCards = function (params) {
102
- return __awaiter(this, void 0, void 0, function () {
103
- var id;
104
- var _this = this;
105
- return __generator(this, function (_a) {
106
- id = (typeof params.id === 'string') ? params.id : 'me';
107
- return [2 /*return*/, this.fetch({
108
- uri: "/people/".concat(id, "/paymentMethod/creditCards"),
109
- method: 'GET',
110
- qs: { paymentMethodType: params.paymentMethodType },
111
- expectedStatusCodes: [http_status_1.OK]
112
- })
113
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
114
- return [2 /*return*/, response.json()];
115
- }); }); })];
116
- });
117
- });
118
- };
119
- /**
120
- * クレジットカード削除
121
- */
122
- PersonOwnershipInfoService.prototype.deleteCreditCard = function (params) {
123
- return __awaiter(this, void 0, void 0, function () {
124
- var id;
125
- return __generator(this, function (_a) {
126
- switch (_a.label) {
127
- case 0:
128
- id = (typeof params.id === 'string') ? params.id : 'me';
129
- return [4 /*yield*/, this.fetch({
130
- uri: "/people/".concat(id, "/paymentMethod/creditCards/").concat(String(params.cardSeq)),
131
- method: 'DELETE',
132
- expectedStatusCodes: [http_status_1.NO_CONTENT],
133
- qs: { paymentMethodType: params.paymentMethodType }
134
- })];
135
- case 1:
136
- _a.sent();
137
- return [2 /*return*/];
138
- }
139
- });
140
- });
141
- };
142
76
  /**
143
77
  * 所有権検索
144
78
  * typeOfGood.issuedThrough.typeOf.$eqの指定が必須です
package/lib/bundle.js CHANGED
@@ -16128,72 +16128,6 @@ var PersonOwnershipInfoService = /** @class */ (function (_super) {
16128
16128
  function PersonOwnershipInfoService() {
16129
16129
  return _super !== null && _super.apply(this, arguments) || this;
16130
16130
  }
16131
- /**
16132
- * クレジットカード追加
16133
- */
16134
- PersonOwnershipInfoService.prototype.addCreditCard = function (params) {
16135
- return __awaiter(this, void 0, void 0, function () {
16136
- var id;
16137
- var _this = this;
16138
- return __generator(this, function (_a) {
16139
- id = (typeof params.id === 'string') ? params.id : 'me';
16140
- return [2 /*return*/, this.fetch({
16141
- uri: "/people/".concat(id, "/paymentMethod/creditCards"),
16142
- method: 'POST',
16143
- body: params.creditCard,
16144
- expectedStatusCodes: [http_status_1.CREATED],
16145
- qs: { paymentMethodType: params.paymentMethodType }
16146
- })
16147
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
16148
- return [2 /*return*/, response.json()];
16149
- }); }); })];
16150
- });
16151
- });
16152
- };
16153
- /**
16154
- * クレジットカード検索
16155
- */
16156
- PersonOwnershipInfoService.prototype.searchCreditCards = function (params) {
16157
- return __awaiter(this, void 0, void 0, function () {
16158
- var id;
16159
- var _this = this;
16160
- return __generator(this, function (_a) {
16161
- id = (typeof params.id === 'string') ? params.id : 'me';
16162
- return [2 /*return*/, this.fetch({
16163
- uri: "/people/".concat(id, "/paymentMethod/creditCards"),
16164
- method: 'GET',
16165
- qs: { paymentMethodType: params.paymentMethodType },
16166
- expectedStatusCodes: [http_status_1.OK]
16167
- })
16168
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
16169
- return [2 /*return*/, response.json()];
16170
- }); }); })];
16171
- });
16172
- });
16173
- };
16174
- /**
16175
- * クレジットカード削除
16176
- */
16177
- PersonOwnershipInfoService.prototype.deleteCreditCard = function (params) {
16178
- return __awaiter(this, void 0, void 0, function () {
16179
- var id;
16180
- return __generator(this, function (_a) {
16181
- switch (_a.label) {
16182
- case 0:
16183
- id = (typeof params.id === 'string') ? params.id : 'me';
16184
- return [4 /*yield*/, this.fetch({
16185
- uri: "/people/".concat(id, "/paymentMethod/creditCards/").concat(String(params.cardSeq)),
16186
- method: 'DELETE',
16187
- expectedStatusCodes: [http_status_1.NO_CONTENT],
16188
- qs: { paymentMethodType: params.paymentMethodType }
16189
- })];
16190
- case 1:
16191
- _a.sent();
16192
- return [2 /*return*/];
16193
- }
16194
- });
16195
- });
16196
- };
16197
16131
  /**
16198
16132
  * 所有権検索
16199
16133
  * typeOfGood.issuedThrough.typeOf.$eqの指定が必須です
@@ -33166,8 +33100,15 @@ var CertificationStatusEnumeration;
33166
33100
  },{}],261:[function(require,module,exports){
33167
33101
  arguments[4][48][0].apply(exports,arguments)
33168
33102
  },{"dup":48}],262:[function(require,module,exports){
33169
- arguments[4][48][0].apply(exports,arguments)
33170
- },{"dup":48}],263:[function(require,module,exports){
33103
+ "use strict";
33104
+ // /**
33105
+ // * Cognitoインターフェース
33106
+ // */
33107
+ // import type { UserPoolClientDescription, UserPoolClientType, UserPoolType } from '@aws-sdk/client-cognito-identity-provider';
33108
+ // export { UserPoolClientDescription, UserPoolClientType, UserPoolType };
33109
+ Object.defineProperty(exports, "__esModule", { value: true });
33110
+
33111
+ },{}],263:[function(require,module,exports){
33171
33112
  arguments[4][48][0].apply(exports,arguments)
33172
33113
  },{"dup":48}],264:[function(require,module,exports){
33173
33114
  arguments[4][48][0].apply(exports,arguments)
@@ -33916,8 +33857,8 @@ arguments[4][48][0].apply(exports,arguments)
33916
33857
  },{"dup":48}],297:[function(require,module,exports){
33917
33858
  "use strict";
33918
33859
  Object.defineProperty(exports, "__esModule", { value: true });
33919
- exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.project = exports.cognito = exports.waiter = void 0;
33920
- exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = void 0;
33860
+ exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.eventOffer = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.recipe = exports.errors = exports.project = exports.cognito = exports.waiter = void 0;
33861
+ exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = void 0;
33921
33862
  /**
33922
33863
  * factory
33923
33864
  */
@@ -34034,7 +33975,6 @@ var PropertyValueFactory = require("./propertyValue");
34034
33975
  var LocationFeatureSpecificationFactory = require("./propertyValue/locationFeatureSpecification");
34035
33976
  var QualitativeValueFactory = require("./qualitativeValue");
34036
33977
  var QuantitativeValueFactory = require("./quantitativeValue");
34037
- var RecipeFactory = require("./recipe");
34038
33978
  var AccountingReportFactory = require("./report/accountingReport");
34039
33979
  var EventReservationFactory = require("./reservation/event");
34040
33980
  var ReservationPackageFactory = require("./reservation/reservationPackage");
@@ -34125,6 +34065,7 @@ var transactionType_1 = require("./transactionType");
34125
34065
  var errorCode_1 = require("./errorCode");
34126
34066
  // import * as errors from './errors';
34127
34067
  exports.errors = require("./errors");
34068
+ exports.recipe = require("./recipe");
34128
34069
  // export import errors = errors;
34129
34070
  exports.errorCode = errorCode_1.ErrorCode;
34130
34071
  exports.account = AccountFactory;
@@ -34378,7 +34319,6 @@ var propertyValue;
34378
34319
  })(propertyValue || (exports.propertyValue = propertyValue = {}));
34379
34320
  exports.qualitativeValue = QualitativeValueFactory;
34380
34321
  exports.quantitativeValue = QuantitativeValueFactory;
34381
- exports.recipe = RecipeFactory;
34382
34322
  var report;
34383
34323
  (function (report) {
34384
34324
  report.accountingReport = AccountingReportFactory;
@@ -34699,8 +34639,11 @@ var OrganizationType;
34699
34639
  },{}],331:[function(require,module,exports){
34700
34640
  arguments[4][48][0].apply(exports,arguments)
34701
34641
  },{"dup":48}],332:[function(require,module,exports){
34702
- arguments[4][48][0].apply(exports,arguments)
34703
- },{"dup":48}],333:[function(require,module,exports){
34642
+ "use strict";
34643
+ // import { IPaymentCard } from '../paymentCard';
34644
+ Object.defineProperty(exports, "__esModule", { value: true });
34645
+
34646
+ },{}],333:[function(require,module,exports){
34704
34647
  arguments[4][48][0].apply(exports,arguments)
34705
34648
  },{"dup":48}],334:[function(require,module,exports){
34706
34649
  "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "14.0.0-alpha.5",
3
+ "version": "14.0.0-alpha.7",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -75,7 +75,7 @@
75
75
  "watchify": "^3.11.1"
76
76
  },
77
77
  "dependencies": {
78
- "@chevre/factory": "6.2.0-alpha.7",
78
+ "@chevre/factory": "7.0.0-alpha.0",
79
79
  "debug": "4.4.3",
80
80
  "http-status": "1.7.4",
81
81
  "idtoken-verifier": "2.2.4",