@lcdp/api-react-rest-client 2.13.3-LDS-4522-allow-to-retrigger-offer-planif.15818658296 → 2.13.3-LDS-4522-allow-to-retrigger-offer-planif.15818666838
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.
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { OfferRefreshSynchronizationMode } from '../models/index';
|
|
14
|
-
export interface
|
|
14
|
+
export interface OfferRefreshSynchronizationRequest {
|
|
15
15
|
inventoryId: number;
|
|
16
16
|
offerRefreshSynchronizationMode?: OfferRefreshSynchronizationMode;
|
|
17
17
|
}
|
|
@@ -22,9 +22,9 @@ export declare class ManageOfferSynchronizationApi extends runtime.BaseAPI {
|
|
|
22
22
|
/**
|
|
23
23
|
* Refresh offer synchronization
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
offerRefreshSynchronizationRaw(requestParameters: OfferRefreshSynchronizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
26
26
|
/**
|
|
27
27
|
* Refresh offer synchronization
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
offerRefreshSynchronization(requestParameters: OfferRefreshSynchronizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
30
30
|
}
|
|
@@ -78,14 +78,14 @@ var ManageOfferSynchronizationApi = /** @class */ (function (_super) {
|
|
|
78
78
|
/**
|
|
79
79
|
* Refresh offer synchronization
|
|
80
80
|
*/
|
|
81
|
-
ManageOfferSynchronizationApi.prototype.
|
|
81
|
+
ManageOfferSynchronizationApi.prototype.offerRefreshSynchronizationRaw = function (requestParameters, initOverrides) {
|
|
82
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
83
83
|
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_1;
|
|
84
84
|
return __generator(this, function (_c) {
|
|
85
85
|
switch (_c.label) {
|
|
86
86
|
case 0:
|
|
87
87
|
if (requestParameters['inventoryId'] == null) {
|
|
88
|
-
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling
|
|
88
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling offerRefreshSynchronization().');
|
|
89
89
|
}
|
|
90
90
|
queryParameters = {};
|
|
91
91
|
headerParameters = {};
|
|
@@ -131,11 +131,11 @@ var ManageOfferSynchronizationApi = /** @class */ (function (_super) {
|
|
|
131
131
|
/**
|
|
132
132
|
* Refresh offer synchronization
|
|
133
133
|
*/
|
|
134
|
-
ManageOfferSynchronizationApi.prototype.
|
|
134
|
+
ManageOfferSynchronizationApi.prototype.offerRefreshSynchronization = function (requestParameters, initOverrides) {
|
|
135
135
|
return __awaiter(this, void 0, void 0, function () {
|
|
136
136
|
return __generator(this, function (_a) {
|
|
137
137
|
switch (_a.label) {
|
|
138
|
-
case 0: return [4 /*yield*/, this.
|
|
138
|
+
case 0: return [4 /*yield*/, this.offerRefreshSynchronizationRaw(requestParameters, initOverrides)];
|
|
139
139
|
case 1:
|
|
140
140
|
_a.sent();
|
|
141
141
|
return [2 /*return*/];
|