@cinerino/sdk 3.168.0 → 3.169.0-alpha.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.
|
@@ -13,4 +13,10 @@ export declare class AggregateOfferService extends Service {
|
|
|
13
13
|
* オファー検索
|
|
14
14
|
*/
|
|
15
15
|
search(params: Omit<factory.unitPriceOffer.ISearchConditions, 'project'> & IProjectionSearchConditions): Promise<ISearchResult<factory.aggregateOffer.IAggregateOffer[]>>;
|
|
16
|
+
/**
|
|
17
|
+
* 集計オファー削除
|
|
18
|
+
*/
|
|
19
|
+
deleteById(params: {
|
|
20
|
+
id: string;
|
|
21
|
+
}): Promise<void>;
|
|
16
22
|
}
|
|
@@ -90,6 +90,25 @@ var AggregateOfferService = /** @class */ (function (_super) {
|
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
92
|
};
|
|
93
|
+
/**
|
|
94
|
+
* 集計オファー削除
|
|
95
|
+
*/
|
|
96
|
+
AggregateOfferService.prototype.deleteById = function (params) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
98
|
+
return __generator(this, function (_a) {
|
|
99
|
+
switch (_a.label) {
|
|
100
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
101
|
+
uri: "/aggregateOffers/" + encodeURIComponent(String(params.id)),
|
|
102
|
+
method: 'DELETE',
|
|
103
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
104
|
+
})];
|
|
105
|
+
case 1:
|
|
106
|
+
_a.sent();
|
|
107
|
+
return [2 /*return*/];
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
};
|
|
93
112
|
return AggregateOfferService;
|
|
94
113
|
}(service_1.Service));
|
|
95
114
|
exports.AggregateOfferService = AggregateOfferService;
|
|
@@ -76,12 +76,6 @@ export declare class OfferService extends Service {
|
|
|
76
76
|
* オファー更新
|
|
77
77
|
*/
|
|
78
78
|
update(params: factory.unitPriceOffer.IUnitPriceOffer & IUnset): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* オファー削除
|
|
81
|
-
*/
|
|
82
|
-
deleteById(params: {
|
|
83
|
-
id: string;
|
|
84
|
-
}): Promise<void>;
|
|
85
79
|
/**
|
|
86
80
|
* プロダクトオファー承認
|
|
87
81
|
*/
|
|
@@ -163,25 +163,6 @@ var OfferService = /** @class */ (function (_super) {
|
|
|
163
163
|
});
|
|
164
164
|
});
|
|
165
165
|
};
|
|
166
|
-
/**
|
|
167
|
-
* オファー削除
|
|
168
|
-
*/
|
|
169
|
-
OfferService.prototype.deleteById = function (params) {
|
|
170
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
171
|
-
return __generator(this, function (_a) {
|
|
172
|
-
switch (_a.label) {
|
|
173
|
-
case 0: return [4 /*yield*/, this.fetch({
|
|
174
|
-
uri: "/offers/" + encodeURIComponent(String(params.id)),
|
|
175
|
-
method: 'DELETE',
|
|
176
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
177
|
-
})];
|
|
178
|
-
case 1:
|
|
179
|
-
_a.sent();
|
|
180
|
-
return [2 /*return*/];
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
});
|
|
184
|
-
};
|
|
185
166
|
/**
|
|
186
167
|
* プロダクトオファー承認
|
|
187
168
|
*/
|
package/lib/bundle.js
CHANGED
|
@@ -1820,6 +1820,25 @@ var AggregateOfferService = /** @class */ (function (_super) {
|
|
|
1820
1820
|
});
|
|
1821
1821
|
});
|
|
1822
1822
|
};
|
|
1823
|
+
/**
|
|
1824
|
+
* 集計オファー削除
|
|
1825
|
+
*/
|
|
1826
|
+
AggregateOfferService.prototype.deleteById = function (params) {
|
|
1827
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1828
|
+
return __generator(this, function (_a) {
|
|
1829
|
+
switch (_a.label) {
|
|
1830
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
1831
|
+
uri: "/aggregateOffers/" + encodeURIComponent(String(params.id)),
|
|
1832
|
+
method: 'DELETE',
|
|
1833
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
1834
|
+
})];
|
|
1835
|
+
case 1:
|
|
1836
|
+
_a.sent();
|
|
1837
|
+
return [2 /*return*/];
|
|
1838
|
+
}
|
|
1839
|
+
});
|
|
1840
|
+
});
|
|
1841
|
+
};
|
|
1823
1842
|
return AggregateOfferService;
|
|
1824
1843
|
}(service_1.Service));
|
|
1825
1844
|
exports.AggregateOfferService = AggregateOfferService;
|
|
@@ -5335,25 +5354,6 @@ var OfferService = /** @class */ (function (_super) {
|
|
|
5335
5354
|
});
|
|
5336
5355
|
});
|
|
5337
5356
|
};
|
|
5338
|
-
/**
|
|
5339
|
-
* オファー削除
|
|
5340
|
-
*/
|
|
5341
|
-
OfferService.prototype.deleteById = function (params) {
|
|
5342
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
5343
|
-
return __generator(this, function (_a) {
|
|
5344
|
-
switch (_a.label) {
|
|
5345
|
-
case 0: return [4 /*yield*/, this.fetch({
|
|
5346
|
-
uri: "/offers/" + encodeURIComponent(String(params.id)),
|
|
5347
|
-
method: 'DELETE',
|
|
5348
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
5349
|
-
})];
|
|
5350
|
-
case 1:
|
|
5351
|
-
_a.sent();
|
|
5352
|
-
return [2 /*return*/];
|
|
5353
|
-
}
|
|
5354
|
-
});
|
|
5355
|
-
});
|
|
5356
|
-
};
|
|
5357
5357
|
/**
|
|
5358
5358
|
* プロダクトオファー承認
|
|
5359
5359
|
*/
|