@cinerino/sdk 3.107.0 → 3.110.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.
|
@@ -11680,43 +11680,6 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
|
|
|
11680
11680
|
});
|
|
11681
11681
|
});
|
|
11682
11682
|
};
|
|
11683
|
-
/**
|
|
11684
|
-
* 確認番号発行
|
|
11685
|
-
*/
|
|
11686
|
-
PlaceOrderTransactionService.prototype.publishConfirmationNumberIfNotExist = function (params) {
|
|
11687
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11688
|
-
return __generator(this, function (_a) {
|
|
11689
|
-
switch (_a.label) {
|
|
11690
|
-
case 0: return [4 /*yield*/, this.fetch({
|
|
11691
|
-
uri: "/transactions/" + this.typeOf + "/" + params.id + "/publishConfirmationNumberIfNotExist",
|
|
11692
|
-
method: 'POST',
|
|
11693
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT, http_status_1.OK]
|
|
11694
|
-
})];
|
|
11695
|
-
case 1:
|
|
11696
|
-
_a.sent();
|
|
11697
|
-
return [2 /*return*/];
|
|
11698
|
-
}
|
|
11699
|
-
});
|
|
11700
|
-
});
|
|
11701
|
-
};
|
|
11702
|
-
/**
|
|
11703
|
-
* 注文番号発行
|
|
11704
|
-
*/
|
|
11705
|
-
PlaceOrderTransactionService.prototype.publishOrderNumberIfNotExist = function (params) {
|
|
11706
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11707
|
-
var _this = this;
|
|
11708
|
-
return __generator(this, function (_a) {
|
|
11709
|
-
return [2 /*return*/, this.fetch({
|
|
11710
|
-
uri: "/transactions/" + this.typeOf + "/" + params.id + "/publishOrderNumberIfNotExist",
|
|
11711
|
-
method: 'POST',
|
|
11712
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
11713
|
-
})
|
|
11714
|
-
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
11715
|
-
return [2 /*return*/, response.json()];
|
|
11716
|
-
}); }); })];
|
|
11717
|
-
});
|
|
11718
|
-
});
|
|
11719
|
-
};
|
|
11720
11683
|
/**
|
|
11721
11684
|
* 取引検索
|
|
11722
11685
|
*/
|
|
@@ -124,9 +124,6 @@ async function main() {
|
|
|
124
124
|
// tslint:disable-next-line:no-magic-numbers
|
|
125
125
|
await wait(5000);
|
|
126
126
|
|
|
127
|
-
const publishOrderNumberReulst = await placeOrderService.publishOrderNumberIfNotExist({ id: transaction.id });
|
|
128
|
-
console.log(publishOrderNumberReulst.orderNumber);
|
|
129
|
-
|
|
130
127
|
await placeOrderService.updateObject({
|
|
131
128
|
id: transaction.id,
|
|
132
129
|
object: { name: 'order from samples' }
|
package/lib/bundle.js
CHANGED
|
@@ -11592,43 +11592,6 @@ var PlaceOrderTransactionService = /** @class */ (function (_super) {
|
|
|
11592
11592
|
});
|
|
11593
11593
|
});
|
|
11594
11594
|
};
|
|
11595
|
-
/**
|
|
11596
|
-
* 確認番号発行
|
|
11597
|
-
*/
|
|
11598
|
-
PlaceOrderTransactionService.prototype.publishConfirmationNumberIfNotExist = function (params) {
|
|
11599
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11600
|
-
return __generator(this, function (_a) {
|
|
11601
|
-
switch (_a.label) {
|
|
11602
|
-
case 0: return [4 /*yield*/, this.fetch({
|
|
11603
|
-
uri: "/transactions/" + this.typeOf + "/" + params.id + "/publishConfirmationNumberIfNotExist",
|
|
11604
|
-
method: 'POST',
|
|
11605
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT, http_status_1.OK]
|
|
11606
|
-
})];
|
|
11607
|
-
case 1:
|
|
11608
|
-
_a.sent();
|
|
11609
|
-
return [2 /*return*/];
|
|
11610
|
-
}
|
|
11611
|
-
});
|
|
11612
|
-
});
|
|
11613
|
-
};
|
|
11614
|
-
/**
|
|
11615
|
-
* 注文番号発行
|
|
11616
|
-
*/
|
|
11617
|
-
PlaceOrderTransactionService.prototype.publishOrderNumberIfNotExist = function (params) {
|
|
11618
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11619
|
-
var _this = this;
|
|
11620
|
-
return __generator(this, function (_a) {
|
|
11621
|
-
return [2 /*return*/, this.fetch({
|
|
11622
|
-
uri: "/transactions/" + this.typeOf + "/" + params.id + "/publishOrderNumberIfNotExist",
|
|
11623
|
-
method: 'POST',
|
|
11624
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
11625
|
-
})
|
|
11626
|
-
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
11627
|
-
return [2 /*return*/, response.json()];
|
|
11628
|
-
}); }); })];
|
|
11629
|
-
});
|
|
11630
|
-
});
|
|
11631
|
-
};
|
|
11632
11595
|
/**
|
|
11633
11596
|
* 取引検索
|
|
11634
11597
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.110.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.
|
|
100
|
+
"@cinerino/api-abstract-client": "3.110.0",
|
|
101
101
|
"debug": "^3.2.6",
|
|
102
102
|
"http-status": "^1.4.2",
|
|
103
103
|
"idtoken-verifier": "^2.0.3",
|