@cinerino/sdk 3.41.0 → 3.42.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.
|
@@ -3342,10 +3342,6 @@ var TaskName;
|
|
|
3342
3342
|
* 注文配送
|
|
3343
3343
|
*/
|
|
3344
3344
|
TaskName["SendOrder"] = "sendOrder";
|
|
3345
|
-
/**
|
|
3346
|
-
* メンバーシップ登録解除
|
|
3347
|
-
*/
|
|
3348
|
-
TaskName["UnRegisterProgramMembership"] = "unRegisterProgramMembership";
|
|
3349
3345
|
/**
|
|
3350
3346
|
* 通貨転送中止
|
|
3351
3347
|
*/
|
|
@@ -7907,6 +7903,83 @@ var OrderService = /** @class */ (function (_super) {
|
|
|
7907
7903
|
});
|
|
7908
7904
|
});
|
|
7909
7905
|
};
|
|
7906
|
+
/**
|
|
7907
|
+
* 確認番号で検索
|
|
7908
|
+
* 確認番号と購入者情報で注文を検索します
|
|
7909
|
+
*/
|
|
7910
|
+
OrderService.prototype.findByConfirmationNumber = function (params) {
|
|
7911
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7912
|
+
var _this = this;
|
|
7913
|
+
return __generator(this, function (_a) {
|
|
7914
|
+
return [2 /*return*/, this.fetch({
|
|
7915
|
+
uri: '/orders/findByConfirmationNumber',
|
|
7916
|
+
method: 'POST',
|
|
7917
|
+
body: params,
|
|
7918
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
7919
|
+
})
|
|
7920
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
7921
|
+
return [2 /*return*/, response.json()];
|
|
7922
|
+
}); }); })];
|
|
7923
|
+
});
|
|
7924
|
+
});
|
|
7925
|
+
};
|
|
7926
|
+
/**
|
|
7927
|
+
* イベントIDと確認番号で検索
|
|
7928
|
+
*/
|
|
7929
|
+
OrderService.prototype.findByEventAndConfirmationNumber = function (params) {
|
|
7930
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7931
|
+
var _this = this;
|
|
7932
|
+
return __generator(this, function (_a) {
|
|
7933
|
+
return [2 /*return*/, this.fetch({
|
|
7934
|
+
uri: '/orders/findByEventAndConfirmationNumber',
|
|
7935
|
+
method: 'POST',
|
|
7936
|
+
body: params,
|
|
7937
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
7938
|
+
})
|
|
7939
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
7940
|
+
return [2 /*return*/, response.json()];
|
|
7941
|
+
}); }); })];
|
|
7942
|
+
});
|
|
7943
|
+
});
|
|
7944
|
+
};
|
|
7945
|
+
/**
|
|
7946
|
+
* 予約番号と電話番号で注文情報を取得する(sskts専用)
|
|
7947
|
+
*/
|
|
7948
|
+
OrderService.prototype.findByOrderInquiryKey4sskts = function (params) {
|
|
7949
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7950
|
+
var _this = this;
|
|
7951
|
+
return __generator(this, function (_a) {
|
|
7952
|
+
return [2 /*return*/, this.fetch({
|
|
7953
|
+
uri: '/orders/findByOrderInquiryKey',
|
|
7954
|
+
method: 'POST',
|
|
7955
|
+
body: params,
|
|
7956
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
7957
|
+
})
|
|
7958
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
7959
|
+
return [2 /*return*/, response.json()];
|
|
7960
|
+
}); }); })];
|
|
7961
|
+
});
|
|
7962
|
+
});
|
|
7963
|
+
};
|
|
7964
|
+
/**
|
|
7965
|
+
* 注文番号と何かしらで注文照会
|
|
7966
|
+
*/
|
|
7967
|
+
OrderService.prototype.findOneByOrderNumberAndSomething = function (params) {
|
|
7968
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7969
|
+
var _this = this;
|
|
7970
|
+
return __generator(this, function (_a) {
|
|
7971
|
+
return [2 /*return*/, this.fetch({
|
|
7972
|
+
uri: '/orders/findOneByOrderNumberAndSomething',
|
|
7973
|
+
method: 'POST',
|
|
7974
|
+
body: params,
|
|
7975
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
7976
|
+
})
|
|
7977
|
+
.then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
7978
|
+
return [2 /*return*/, response.json()];
|
|
7979
|
+
}); }); })];
|
|
7980
|
+
});
|
|
7981
|
+
});
|
|
7982
|
+
};
|
|
7910
7983
|
/**
|
|
7911
7984
|
* 注文配送
|
|
7912
7985
|
*/
|
package/lib/bundle.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.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.42.0",
|
|
101
101
|
"debug": "^3.2.6",
|
|
102
102
|
"http-status": "^1.4.2",
|
|
103
103
|
"idtoken-verifier": "^2.0.3",
|