@lcdp/api-react-rest-client 2.13.3-LDS-4522-allow-to-retrigger-offer-planif.15782220374 → 2.13.3-LDS-4522-allow-to-retrigger-offer-planif.15782784176
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.
- package/inventory/src/apis/ManageInventorySynchronizationApi.d.ts +2 -2
- package/inventory/src/apis/ManageInventorySynchronizationApi.js +1 -1
- package/inventory/src/models/OfferRefreshSynchronizationMode.d.ts +32 -0
- package/inventory/src/models/OfferRefreshSynchronizationMode.js +46 -0
- package/inventory/src/models/index.d.ts +1 -0
- package/inventory/src/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { IdentifiedSynchronization, Synchronization, SynchronizationMode } from '../models/index';
|
|
13
|
+
import type { IdentifiedSynchronization, OfferRefreshSynchronizationMode, Synchronization, SynchronizationMode } from '../models/index';
|
|
14
14
|
export interface CreateOrUpdateCurrentInventorySynchronizationRequest {
|
|
15
15
|
synchronizationId: number;
|
|
16
16
|
synchronization: Synchronization;
|
|
@@ -29,7 +29,7 @@ export interface CreateOrUpdateInventorySynchronizationsRequest {
|
|
|
29
29
|
}
|
|
30
30
|
export interface OfferRefreshRequest {
|
|
31
31
|
inventoryId: number;
|
|
32
|
-
|
|
32
|
+
offerRefreshSynchronizationMode?: OfferRefreshSynchronizationMode;
|
|
33
33
|
}
|
|
34
34
|
export interface UpdateCurrentInventorySynchronizationsRequest {
|
|
35
35
|
synchronization: Synchronization;
|
|
@@ -398,7 +398,7 @@ var ManageInventorySynchronizationApi = /** @class */ (function (_super) {
|
|
|
398
398
|
method: 'POST',
|
|
399
399
|
headers: headerParameters,
|
|
400
400
|
query: queryParameters,
|
|
401
|
-
body: requestParameters['
|
|
401
|
+
body: (0, index_1.OfferRefreshSynchronizationModeToJSON)(requestParameters['offerRefreshSynchronizationMode']),
|
|
402
402
|
}, initOverrides)];
|
|
403
403
|
case 5:
|
|
404
404
|
response = _c.sent();
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-pharmaide-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SynchronizationMode } from './SynchronizationMode';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OfferRefreshSynchronizationMode
|
|
17
|
+
*/
|
|
18
|
+
export interface OfferRefreshSynchronizationMode {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SynchronizationMode}
|
|
22
|
+
* @memberof OfferRefreshSynchronizationMode
|
|
23
|
+
*/
|
|
24
|
+
mode?: SynchronizationMode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OfferRefreshSynchronizationMode interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOfferRefreshSynchronizationMode(value: object): value is OfferRefreshSynchronizationMode;
|
|
30
|
+
export declare function OfferRefreshSynchronizationModeFromJSON(json: any): OfferRefreshSynchronizationMode;
|
|
31
|
+
export declare function OfferRefreshSynchronizationModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): OfferRefreshSynchronizationMode;
|
|
32
|
+
export declare function OfferRefreshSynchronizationModeToJSON(value?: OfferRefreshSynchronizationMode | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-pharmaide-service
|
|
6
|
+
* This is the REST API of LCDP products
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OfferRefreshSynchronizationModeToJSON = exports.OfferRefreshSynchronizationModeFromJSONTyped = exports.OfferRefreshSynchronizationModeFromJSON = exports.instanceOfOfferRefreshSynchronizationMode = void 0;
|
|
17
|
+
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OfferRefreshSynchronizationMode interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOfferRefreshSynchronizationMode(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
exports.instanceOfOfferRefreshSynchronizationMode = instanceOfOfferRefreshSynchronizationMode;
|
|
25
|
+
function OfferRefreshSynchronizationModeFromJSON(json) {
|
|
26
|
+
return OfferRefreshSynchronizationModeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
exports.OfferRefreshSynchronizationModeFromJSON = OfferRefreshSynchronizationModeFromJSON;
|
|
29
|
+
function OfferRefreshSynchronizationModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'mode': (json['mode'] === null || json['mode'] === undefined) ? json['mode'] : (0, SynchronizationMode_1.SynchronizationModeFromJSON)(json['mode']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.OfferRefreshSynchronizationModeFromJSONTyped = OfferRefreshSynchronizationModeFromJSONTyped;
|
|
38
|
+
function OfferRefreshSynchronizationModeToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'mode': (0, SynchronizationMode_1.SynchronizationModeToJSON)(value['mode']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.OfferRefreshSynchronizationModeToJSON = OfferRefreshSynchronizationModeToJSON;
|
|
@@ -8,6 +8,7 @@ export * from './IdentifiedSynchronization';
|
|
|
8
8
|
export * from './Inventory';
|
|
9
9
|
export * from './InventoryJournal';
|
|
10
10
|
export * from './MisalignedProduct';
|
|
11
|
+
export * from './OfferRefreshSynchronizationMode';
|
|
11
12
|
export * from './OverstockProduct';
|
|
12
13
|
export * from './OverstockProductUpdateParameters';
|
|
13
14
|
export * from './PaginatedActiveProducts';
|
|
@@ -26,6 +26,7 @@ __exportStar(require("./IdentifiedSynchronization"), exports);
|
|
|
26
26
|
__exportStar(require("./Inventory"), exports);
|
|
27
27
|
__exportStar(require("./InventoryJournal"), exports);
|
|
28
28
|
__exportStar(require("./MisalignedProduct"), exports);
|
|
29
|
+
__exportStar(require("./OfferRefreshSynchronizationMode"), exports);
|
|
29
30
|
__exportStar(require("./OverstockProduct"), exports);
|
|
30
31
|
__exportStar(require("./OverstockProductUpdateParameters"), exports);
|
|
31
32
|
__exportStar(require("./PaginatedActiveProducts"), exports);
|