@cinerino/sdk 3.65.0 → 3.68.0

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.
@@ -2078,15 +2078,8 @@ arguments[4][14][0].apply(exports,arguments)
2078
2078
  },{"dup":14}],35:[function(require,module,exports){
2079
2079
  arguments[4][14][0].apply(exports,arguments)
2080
2080
  },{"dup":14}],36:[function(require,module,exports){
2081
- "use strict";
2082
- Object.defineProperty(exports, "__esModule", { value: true });
2083
- exports.ObjectType = void 0;
2084
- var ObjectType;
2085
- (function (ObjectType) {
2086
- ObjectType["PaymentMethod"] = "PaymentMethod";
2087
- })(ObjectType = exports.ObjectType || (exports.ObjectType = {}));
2088
-
2089
- },{}],37:[function(require,module,exports){
2081
+ arguments[4][14][0].apply(exports,arguments)
2082
+ },{"dup":14}],37:[function(require,module,exports){
2090
2083
  arguments[4][14][0].apply(exports,arguments)
2091
2084
  },{"dup":14}],38:[function(require,module,exports){
2092
2085
  arguments[4][14][0].apply(exports,arguments)
@@ -7986,7 +7979,11 @@ var OrderService = /** @class */ (function (_super) {
7986
7979
  /**
7987
7980
  * なければ作成する
7988
7981
  */
7989
- OrderService.prototype.createIfNotExist = function (params, options) {
7982
+ OrderService.prototype.createIfNotExist = function (params
7983
+ // options: {
7984
+ // byTransaction?: '1';
7985
+ // }
7986
+ ) {
7990
7987
  return __awaiter(this, void 0, void 0, function () {
7991
7988
  return __generator(this, function (_a) {
7992
7989
  switch (_a.label) {
@@ -7994,7 +7991,7 @@ var OrderService = /** @class */ (function (_super) {
7994
7991
  uri: "/orders/" + params.orderNumber,
7995
7992
  method: 'PUT',
7996
7993
  body: params,
7997
- qs: options,
7994
+ // qs: options,
7998
7995
  expectedStatusCodes: [http_status_1.NO_CONTENT]
7999
7996
  })];
8000
7997
  case 1:
@@ -89,7 +89,8 @@ async function main() {
89
89
  value: amount,
90
90
  currency: ''
91
91
  },
92
- toLocation: toLocation
92
+ toLocation: toLocation,
93
+ object: { pendingTransaction: { typeOf: client.factory.assetTransactionType.MoneyTransfer, transactionNumber: '' } }
93
94
  },
94
95
  seller: { typeOf: seller.typeOf, id: seller.id, project: seller.project }
95
96
  },
@@ -97,7 +97,8 @@ async function main() {
97
97
  value: amount,
98
98
  currency: ''
99
99
  },
100
- toLocation: toLocation
100
+ toLocation: toLocation,
101
+ object: { pendingTransaction: { typeOf: client.factory.assetTransactionType.MoneyTransfer, transactionNumber: '' } }
101
102
  },
102
103
  seller: { typeOf: seller.typeOf, id: seller.id, project: seller.project }
103
104
  },
package/lib/bundle.js CHANGED
@@ -2031,15 +2031,8 @@ arguments[4][14][0].apply(exports,arguments)
2031
2031
  },{"dup":14}],33:[function(require,module,exports){
2032
2032
  arguments[4][14][0].apply(exports,arguments)
2033
2033
  },{"dup":14}],34:[function(require,module,exports){
2034
- "use strict";
2035
- Object.defineProperty(exports, "__esModule", { value: true });
2036
- exports.ObjectType = void 0;
2037
- var ObjectType;
2038
- (function (ObjectType) {
2039
- ObjectType["PaymentMethod"] = "PaymentMethod";
2040
- })(ObjectType = exports.ObjectType || (exports.ObjectType = {}));
2041
-
2042
- },{}],35:[function(require,module,exports){
2034
+ arguments[4][14][0].apply(exports,arguments)
2035
+ },{"dup":14}],35:[function(require,module,exports){
2043
2036
  arguments[4][14][0].apply(exports,arguments)
2044
2037
  },{"dup":14}],36:[function(require,module,exports){
2045
2038
  arguments[4][14][0].apply(exports,arguments)
@@ -7986,7 +7979,11 @@ var OrderService = /** @class */ (function (_super) {
7986
7979
  /**
7987
7980
  * なければ作成する
7988
7981
  */
7989
- OrderService.prototype.createIfNotExist = function (params, options) {
7982
+ OrderService.prototype.createIfNotExist = function (params
7983
+ // options: {
7984
+ // byTransaction?: '1';
7985
+ // }
7986
+ ) {
7990
7987
  return __awaiter(this, void 0, void 0, function () {
7991
7988
  return __generator(this, function (_a) {
7992
7989
  switch (_a.label) {
@@ -7994,7 +7991,7 @@ var OrderService = /** @class */ (function (_super) {
7994
7991
  uri: "/orders/" + params.orderNumber,
7995
7992
  method: 'PUT',
7996
7993
  body: params,
7997
- qs: options,
7994
+ // qs: options,
7998
7995
  expectedStatusCodes: [http_status_1.NO_CONTENT]
7999
7996
  })];
8000
7997
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.65.0",
3
+ "version": "3.68.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -97,7 +97,7 @@
97
97
  "watchify": "^3.11.1"
98
98
  },
99
99
  "dependencies": {
100
- "@cinerino/api-abstract-client": "3.65.0",
100
+ "@cinerino/api-abstract-client": "3.68.0",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",