@lcdp/api-react-rest-client 2.14.2-LDS-4911-migration-franco-custom-vers-ma.18038374439 → 2.14.2-LDS-4911-migration-franco-custom-vers-ma.18038534788
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/package.json +1 -1
- package/user/index.d.ts +0 -1
- package/user/index.js +0 -17
- package/user/src/apis/ManagePasswordApi.d.ts +0 -41
- package/user/src/apis/ManagePasswordApi.js +0 -214
- package/user/src/apis/ManageUserApi.d.ts +0 -143
- package/user/src/apis/ManageUserApi.js +0 -777
- package/user/src/apis/ManageUserBankAccountApi.d.ts +0 -45
- package/user/src/apis/ManageUserBankAccountApi.js +0 -249
- package/user/src/apis/ManageUserDocumentApi.d.ts +0 -98
- package/user/src/apis/ManageUserDocumentApi.js +0 -419
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.d.ts +0 -64
- package/user/src/apis/ManageUserFavoriteLaboratoryStoreApi.js +0 -354
- package/user/src/apis/ManageUserRestrictionApi.d.ts +0 -112
- package/user/src/apis/ManageUserRestrictionApi.js +0 -618
- package/user/src/apis/ManageUserRuleApi.d.ts +0 -44
- package/user/src/apis/ManageUserRuleApi.js +0 -235
- package/user/src/apis/ManageUserSocialNetworksApi.d.ts +0 -45
- package/user/src/apis/ManageUserSocialNetworksApi.js +0 -249
- package/user/src/apis/ManageUserTransportApi.d.ts +0 -32
- package/user/src/apis/ManageUserTransportApi.js +0 -166
- package/user/src/apis/SearchUserApi.d.ts +0 -130
- package/user/src/apis/SearchUserApi.js +0 -628
- package/user/src/apis/SearchUserDocumentApi.d.ts +0 -165
- package/user/src/apis/SearchUserDocumentApi.js +0 -688
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.d.ts +0 -37
- package/user/src/apis/SearchUserFavoriteLaboratoryStoreApi.js +0 -235
- package/user/src/apis/SearchUserFeatureApi.d.ts +0 -26
- package/user/src/apis/SearchUserFeatureApi.js +0 -156
- package/user/src/apis/SearchUserRestrictionApi.d.ts +0 -59
- package/user/src/apis/SearchUserRestrictionApi.js +0 -393
- package/user/src/apis/SearchUserRuleApi.d.ts +0 -29
- package/user/src/apis/SearchUserRuleApi.js +0 -159
- package/user/src/apis/SearchUserSocialNetworksApi.d.ts +0 -41
- package/user/src/apis/SearchUserSocialNetworksApi.js +0 -239
- package/user/src/apis/SearchUserTransportApi.d.ts +0 -37
- package/user/src/apis/SearchUserTransportApi.js +0 -235
- package/user/src/apis/index.d.ts +0 -17
- package/user/src/apis/index.js +0 -35
- package/user/src/index.d.ts +0 -3
- package/user/src/index.js +0 -21
- package/user/src/models/Address.d.ts +0 -49
- package/user/src/models/Address.js +0 -51
- package/user/src/models/Gender.d.ts +0 -24
- package/user/src/models/Gender.js +0 -47
- package/user/src/models/HttpLink.d.ts +0 -31
- package/user/src/models/HttpLink.js +0 -47
- package/user/src/models/KycLevel.d.ts +0 -24
- package/user/src/models/KycLevel.js +0 -47
- package/user/src/models/MyPasswordUpdateParameters.d.ts +0 -37
- package/user/src/models/MyPasswordUpdateParameters.js +0 -47
- package/user/src/models/NotificationTypeId.d.ts +0 -69
- package/user/src/models/NotificationTypeId.js +0 -92
- package/user/src/models/NotificationTypeLink.d.ts +0 -38
- package/user/src/models/NotificationTypeLink.js +0 -50
- package/user/src/models/OffisanteStatus.d.ts +0 -29
- package/user/src/models/OffisanteStatus.js +0 -52
- package/user/src/models/PaginatedObject.d.ts +0 -32
- package/user/src/models/PaginatedObject.js +0 -48
- package/user/src/models/PaginatedUsers.d.ts +0 -39
- package/user/src/models/PaginatedUsers.js +0 -51
- package/user/src/models/PagingMetadata.d.ts +0 -49
- package/user/src/models/PagingMetadata.js +0 -55
- package/user/src/models/PasswordResetCompletionParameters.d.ts +0 -31
- package/user/src/models/PasswordResetCompletionParameters.js +0 -47
- package/user/src/models/PasswordResetCreationParameters.d.ts +0 -31
- package/user/src/models/PasswordResetCreationParameters.js +0 -47
- package/user/src/models/ProductStorageType.d.ts +0 -26
- package/user/src/models/ProductStorageType.js +0 -49
- package/user/src/models/ProductTypeLink.d.ts +0 -43
- package/user/src/models/ProductTypeLink.js +0 -51
- package/user/src/models/RestError.d.ts +0 -103
- package/user/src/models/RestError.js +0 -113
- package/user/src/models/RestrictedProductStorageType.d.ts +0 -46
- package/user/src/models/RestrictedProductStorageType.js +0 -55
- package/user/src/models/ScaEnrollmentStatus.d.ts +0 -31
- package/user/src/models/ScaEnrollmentStatus.js +0 -54
- package/user/src/models/SomeonePasswordUpdateParameters.d.ts +0 -31
- package/user/src/models/SomeonePasswordUpdateParameters.js +0 -45
- package/user/src/models/ThreadLink.d.ts +0 -37
- package/user/src/models/ThreadLink.js +0 -51
- package/user/src/models/Transport.d.ts +0 -55
- package/user/src/models/Transport.js +0 -63
- package/user/src/models/User.d.ts +0 -349
- package/user/src/models/User.js +0 -180
- package/user/src/models/UserBankAccountCreationParameters.d.ts +0 -31
- package/user/src/models/UserBankAccountCreationParameters.js +0 -45
- package/user/src/models/UserBankAccountLink.d.ts +0 -53
- package/user/src/models/UserBankAccountLink.js +0 -60
- package/user/src/models/UserChargebeeTarget.d.ts +0 -37
- package/user/src/models/UserChargebeeTarget.js +0 -49
- package/user/src/models/UserCompany.d.ts +0 -118
- package/user/src/models/UserCompany.js +0 -75
- package/user/src/models/UserCreationParameters.d.ts +0 -68
- package/user/src/models/UserCreationParameters.js +0 -71
- package/user/src/models/UserCustomCommissions.d.ts +0 -37
- package/user/src/models/UserCustomCommissions.js +0 -47
- package/user/src/models/UserCustomCommissionsUpdateParameters.d.ts +0 -37
- package/user/src/models/UserCustomCommissionsUpdateParameters.js +0 -47
- package/user/src/models/UserDelegatedServices.d.ts +0 -52
- package/user/src/models/UserDelegatedServices.js +0 -49
- package/user/src/models/UserDocument.d.ts +0 -66
- package/user/src/models/UserDocument.js +0 -68
- package/user/src/models/UserDocumentStatus.d.ts +0 -27
- package/user/src/models/UserDocumentStatus.js +0 -50
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.d.ts +0 -31
- package/user/src/models/UserFavoriteLaboratoryStoreCreationParameter.js +0 -47
- package/user/src/models/UserFavoriteLaboratoryStoreLink.d.ts +0 -37
- package/user/src/models/UserFavoriteLaboratoryStoreLink.js +0 -49
- package/user/src/models/UserFeature.d.ts +0 -37
- package/user/src/models/UserFeature.js +0 -47
- package/user/src/models/UserForbiddenSellerLink.d.ts +0 -37
- package/user/src/models/UserForbiddenSellerLink.js +0 -49
- package/user/src/models/UserJournal.d.ts +0 -39
- package/user/src/models/UserJournal.js +0 -47
- package/user/src/models/UserJournalUpdateParameters.d.ts +0 -31
- package/user/src/models/UserJournalUpdateParameters.js +0 -45
- package/user/src/models/UserMangopayTarget.d.ts +0 -37
- package/user/src/models/UserMangopayTarget.js +0 -49
- package/user/src/models/UserRestrictedFeatureCreationParameter.d.ts +0 -31
- package/user/src/models/UserRestrictedFeatureCreationParameter.js +0 -47
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.d.ts +0 -32
- package/user/src/models/UserRestrictedNotificationTypeCreationParameter.js +0 -48
- package/user/src/models/UserRestrictedProductTypeCreationParameter.d.ts +0 -31
- package/user/src/models/UserRestrictedProductTypeCreationParameter.js +0 -47
- package/user/src/models/UserRole.d.ts +0 -29
- package/user/src/models/UserRole.js +0 -52
- package/user/src/models/UserRule.d.ts +0 -58
- package/user/src/models/UserRule.js +0 -56
- package/user/src/models/UserRuleActionEnum.d.ts +0 -23
- package/user/src/models/UserRuleActionEnum.js +0 -46
- package/user/src/models/UserRuleAttributeEnum.d.ts +0 -24
- package/user/src/models/UserRuleAttributeEnum.js +0 -47
- package/user/src/models/UserRuleComparatorEnum.d.ts +0 -24
- package/user/src/models/UserRuleComparatorEnum.js +0 -47
- package/user/src/models/UserRuleCreationParameters.d.ts +0 -52
- package/user/src/models/UserRuleCreationParameters.js +0 -62
- package/user/src/models/UserSocialNetwork.d.ts +0 -67
- package/user/src/models/UserSocialNetwork.js +0 -57
- package/user/src/models/UserStatisticLink.d.ts +0 -45
- package/user/src/models/UserStatisticLink.js +0 -53
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.d.ts +0 -61
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.js +0 -55
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.d.ts +0 -43
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.js +0 -49
- package/user/src/models/UserThreads.d.ts +0 -32
- package/user/src/models/UserThreads.js +0 -46
- package/user/src/models/UserUpdateParameters.d.ts +0 -164
- package/user/src/models/UserUpdateParameters.js +0 -95
- package/user/src/models/UserWalletLink.d.ts +0 -37
- package/user/src/models/UserWalletLink.js +0 -49
- package/user/src/models/UserWallets.d.ts +0 -50
- package/user/src/models/UserWallets.js +0 -52
- package/user/src/models/index.d.ts +0 -56
- package/user/src/models/index.js +0 -74
- package/user/src/runtime.d.ts +0 -190
- package/user/src/runtime.js +0 -598
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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 { UserRuleComparatorEnum } from './UserRuleComparatorEnum';
|
|
13
|
-
import type { UserRuleActionEnum } from './UserRuleActionEnum';
|
|
14
|
-
import type { UserRuleAttributeEnum } from './UserRuleAttributeEnum';
|
|
15
|
-
/**
|
|
16
|
-
* Rule description
|
|
17
|
-
* @export
|
|
18
|
-
* @interface UserRule
|
|
19
|
-
*/
|
|
20
|
-
export interface UserRule {
|
|
21
|
-
/**
|
|
22
|
-
* User rule Id
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof UserRule
|
|
25
|
-
*/
|
|
26
|
-
id?: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {UserRuleActionEnum}
|
|
30
|
-
* @memberof UserRule
|
|
31
|
-
*/
|
|
32
|
-
actionId?: UserRuleActionEnum;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {UserRuleAttributeEnum}
|
|
36
|
-
* @memberof UserRule
|
|
37
|
-
*/
|
|
38
|
-
attributeId?: UserRuleAttributeEnum;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {UserRuleComparatorEnum}
|
|
42
|
-
* @memberof UserRule
|
|
43
|
-
*/
|
|
44
|
-
comparatorId?: UserRuleComparatorEnum;
|
|
45
|
-
/**
|
|
46
|
-
* Rule value
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof UserRule
|
|
49
|
-
*/
|
|
50
|
-
value?: string;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the UserRule interface.
|
|
54
|
-
*/
|
|
55
|
-
export declare function instanceOfUserRule(value: object): value is UserRule;
|
|
56
|
-
export declare function UserRuleFromJSON(json: any): UserRule;
|
|
57
|
-
export declare function UserRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRule;
|
|
58
|
-
export declare function UserRuleToJSON(value?: UserRule | null): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserRuleToJSON = exports.UserRuleFromJSONTyped = exports.UserRuleFromJSON = exports.instanceOfUserRule = void 0;
|
|
17
|
-
var UserRuleComparatorEnum_1 = require("./UserRuleComparatorEnum");
|
|
18
|
-
var UserRuleActionEnum_1 = require("./UserRuleActionEnum");
|
|
19
|
-
var UserRuleAttributeEnum_1 = require("./UserRuleAttributeEnum");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the UserRule interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfUserRule(value) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
exports.instanceOfUserRule = instanceOfUserRule;
|
|
27
|
-
function UserRuleFromJSON(json) {
|
|
28
|
-
return UserRuleFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.UserRuleFromJSON = UserRuleFromJSON;
|
|
31
|
-
function UserRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'id': json['id'],
|
|
37
|
-
'actionId': (json['actionId'] === null || json['actionId'] === undefined) ? json['actionId'] : (0, UserRuleActionEnum_1.UserRuleActionEnumFromJSON)(json['actionId']),
|
|
38
|
-
'attributeId': (json['attributeId'] === null || json['attributeId'] === undefined) ? json['attributeId'] : (0, UserRuleAttributeEnum_1.UserRuleAttributeEnumFromJSON)(json['attributeId']),
|
|
39
|
-
'comparatorId': (json['comparatorId'] === null || json['comparatorId'] === undefined) ? json['comparatorId'] : (0, UserRuleComparatorEnum_1.UserRuleComparatorEnumFromJSON)(json['comparatorId']),
|
|
40
|
-
'value': json['value'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.UserRuleFromJSONTyped = UserRuleFromJSONTyped;
|
|
44
|
-
function UserRuleToJSON(value) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'id': value['id'],
|
|
50
|
-
'actionId': (0, UserRuleActionEnum_1.UserRuleActionEnumToJSON)(value['actionId']),
|
|
51
|
-
'attributeId': (0, UserRuleAttributeEnum_1.UserRuleAttributeEnumToJSON)(value['attributeId']),
|
|
52
|
-
'comparatorId': (0, UserRuleComparatorEnum_1.UserRuleComparatorEnumToJSON)(value['comparatorId']),
|
|
53
|
-
'value': value['value'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.UserRuleToJSON = UserRuleToJSON;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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
|
-
/**
|
|
13
|
-
* Associated Action
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const UserRuleActionEnum: {
|
|
17
|
-
readonly BLOCKED: "BLOCKED";
|
|
18
|
-
};
|
|
19
|
-
export declare type UserRuleActionEnum = typeof UserRuleActionEnum[keyof typeof UserRuleActionEnum];
|
|
20
|
-
export declare function instanceOfUserRuleActionEnum(value: any): boolean;
|
|
21
|
-
export declare function UserRuleActionEnumFromJSON(json: any): UserRuleActionEnum;
|
|
22
|
-
export declare function UserRuleActionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRuleActionEnum;
|
|
23
|
-
export declare function UserRuleActionEnumToJSON(value?: UserRuleActionEnum | null): any;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserRuleActionEnumToJSON = exports.UserRuleActionEnumFromJSONTyped = exports.UserRuleActionEnumFromJSON = exports.instanceOfUserRuleActionEnum = exports.UserRuleActionEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Associated Action
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.UserRuleActionEnum = {
|
|
22
|
-
BLOCKED: 'BLOCKED'
|
|
23
|
-
};
|
|
24
|
-
function instanceOfUserRuleActionEnum(value) {
|
|
25
|
-
for (var key in exports.UserRuleActionEnum) {
|
|
26
|
-
if (Object.prototype.hasOwnProperty.call(exports.UserRuleActionEnum, key)) {
|
|
27
|
-
if (exports.UserRuleActionEnum[key] === value) {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
exports.instanceOfUserRuleActionEnum = instanceOfUserRuleActionEnum;
|
|
35
|
-
function UserRuleActionEnumFromJSON(json) {
|
|
36
|
-
return UserRuleActionEnumFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
exports.UserRuleActionEnumFromJSON = UserRuleActionEnumFromJSON;
|
|
39
|
-
function UserRuleActionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
exports.UserRuleActionEnumFromJSONTyped = UserRuleActionEnumFromJSONTyped;
|
|
43
|
-
function UserRuleActionEnumToJSON(value) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
exports.UserRuleActionEnumToJSON = UserRuleActionEnumToJSON;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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
|
-
/**
|
|
13
|
-
* Associated Attribute
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const UserRuleAttributeEnum: {
|
|
17
|
-
readonly ZIP_CODE: "ZIP_CODE";
|
|
18
|
-
readonly USER: "USER";
|
|
19
|
-
};
|
|
20
|
-
export declare type UserRuleAttributeEnum = typeof UserRuleAttributeEnum[keyof typeof UserRuleAttributeEnum];
|
|
21
|
-
export declare function instanceOfUserRuleAttributeEnum(value: any): boolean;
|
|
22
|
-
export declare function UserRuleAttributeEnumFromJSON(json: any): UserRuleAttributeEnum;
|
|
23
|
-
export declare function UserRuleAttributeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRuleAttributeEnum;
|
|
24
|
-
export declare function UserRuleAttributeEnumToJSON(value?: UserRuleAttributeEnum | null): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserRuleAttributeEnumToJSON = exports.UserRuleAttributeEnumFromJSONTyped = exports.UserRuleAttributeEnumFromJSON = exports.instanceOfUserRuleAttributeEnum = exports.UserRuleAttributeEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Associated Attribute
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.UserRuleAttributeEnum = {
|
|
22
|
-
ZIP_CODE: 'ZIP_CODE',
|
|
23
|
-
USER: 'USER'
|
|
24
|
-
};
|
|
25
|
-
function instanceOfUserRuleAttributeEnum(value) {
|
|
26
|
-
for (var key in exports.UserRuleAttributeEnum) {
|
|
27
|
-
if (Object.prototype.hasOwnProperty.call(exports.UserRuleAttributeEnum, key)) {
|
|
28
|
-
if (exports.UserRuleAttributeEnum[key] === value) {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
exports.instanceOfUserRuleAttributeEnum = instanceOfUserRuleAttributeEnum;
|
|
36
|
-
function UserRuleAttributeEnumFromJSON(json) {
|
|
37
|
-
return UserRuleAttributeEnumFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
exports.UserRuleAttributeEnumFromJSON = UserRuleAttributeEnumFromJSON;
|
|
40
|
-
function UserRuleAttributeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
exports.UserRuleAttributeEnumFromJSONTyped = UserRuleAttributeEnumFromJSONTyped;
|
|
44
|
-
function UserRuleAttributeEnumToJSON(value) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
exports.UserRuleAttributeEnumToJSON = UserRuleAttributeEnumToJSON;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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
|
-
/**
|
|
13
|
-
* Associated Comparator
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const UserRuleComparatorEnum: {
|
|
17
|
-
readonly EQUAL: "EQUAL";
|
|
18
|
-
readonly START_WITH: "START_WITH";
|
|
19
|
-
};
|
|
20
|
-
export declare type UserRuleComparatorEnum = typeof UserRuleComparatorEnum[keyof typeof UserRuleComparatorEnum];
|
|
21
|
-
export declare function instanceOfUserRuleComparatorEnum(value: any): boolean;
|
|
22
|
-
export declare function UserRuleComparatorEnumFromJSON(json: any): UserRuleComparatorEnum;
|
|
23
|
-
export declare function UserRuleComparatorEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRuleComparatorEnum;
|
|
24
|
-
export declare function UserRuleComparatorEnumToJSON(value?: UserRuleComparatorEnum | null): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserRuleComparatorEnumToJSON = exports.UserRuleComparatorEnumFromJSONTyped = exports.UserRuleComparatorEnumFromJSON = exports.instanceOfUserRuleComparatorEnum = exports.UserRuleComparatorEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Associated Comparator
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.UserRuleComparatorEnum = {
|
|
22
|
-
EQUAL: 'EQUAL',
|
|
23
|
-
START_WITH: 'START_WITH'
|
|
24
|
-
};
|
|
25
|
-
function instanceOfUserRuleComparatorEnum(value) {
|
|
26
|
-
for (var key in exports.UserRuleComparatorEnum) {
|
|
27
|
-
if (Object.prototype.hasOwnProperty.call(exports.UserRuleComparatorEnum, key)) {
|
|
28
|
-
if (exports.UserRuleComparatorEnum[key] === value) {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
exports.instanceOfUserRuleComparatorEnum = instanceOfUserRuleComparatorEnum;
|
|
36
|
-
function UserRuleComparatorEnumFromJSON(json) {
|
|
37
|
-
return UserRuleComparatorEnumFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
exports.UserRuleComparatorEnumFromJSON = UserRuleComparatorEnumFromJSON;
|
|
40
|
-
function UserRuleComparatorEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
exports.UserRuleComparatorEnumFromJSONTyped = UserRuleComparatorEnumFromJSONTyped;
|
|
44
|
-
function UserRuleComparatorEnumToJSON(value) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
exports.UserRuleComparatorEnumToJSON = UserRuleComparatorEnumToJSON;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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 { UserRuleComparatorEnum } from './UserRuleComparatorEnum';
|
|
13
|
-
import type { UserRuleActionEnum } from './UserRuleActionEnum';
|
|
14
|
-
import type { UserRuleAttributeEnum } from './UserRuleAttributeEnum';
|
|
15
|
-
/**
|
|
16
|
-
* Fields to create user rule
|
|
17
|
-
* @export
|
|
18
|
-
* @interface UserRuleCreationParameters
|
|
19
|
-
*/
|
|
20
|
-
export interface UserRuleCreationParameters {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {UserRuleActionEnum}
|
|
24
|
-
* @memberof UserRuleCreationParameters
|
|
25
|
-
*/
|
|
26
|
-
actionId: UserRuleActionEnum;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {UserRuleAttributeEnum}
|
|
30
|
-
* @memberof UserRuleCreationParameters
|
|
31
|
-
*/
|
|
32
|
-
attributeId: UserRuleAttributeEnum;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {UserRuleComparatorEnum}
|
|
36
|
-
* @memberof UserRuleCreationParameters
|
|
37
|
-
*/
|
|
38
|
-
comparatorId: UserRuleComparatorEnum;
|
|
39
|
-
/**
|
|
40
|
-
* Value associated
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof UserRuleCreationParameters
|
|
43
|
-
*/
|
|
44
|
-
value: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the UserRuleCreationParameters interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfUserRuleCreationParameters(value: object): value is UserRuleCreationParameters;
|
|
50
|
-
export declare function UserRuleCreationParametersFromJSON(json: any): UserRuleCreationParameters;
|
|
51
|
-
export declare function UserRuleCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserRuleCreationParameters;
|
|
52
|
-
export declare function UserRuleCreationParametersToJSON(value?: UserRuleCreationParameters | null): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserRuleCreationParametersToJSON = exports.UserRuleCreationParametersFromJSONTyped = exports.UserRuleCreationParametersFromJSON = exports.instanceOfUserRuleCreationParameters = void 0;
|
|
17
|
-
var UserRuleComparatorEnum_1 = require("./UserRuleComparatorEnum");
|
|
18
|
-
var UserRuleActionEnum_1 = require("./UserRuleActionEnum");
|
|
19
|
-
var UserRuleAttributeEnum_1 = require("./UserRuleAttributeEnum");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the UserRuleCreationParameters interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfUserRuleCreationParameters(value) {
|
|
24
|
-
if (!('actionId' in value) || value['actionId'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('attributeId' in value) || value['attributeId'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('comparatorId' in value) || value['comparatorId'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
exports.instanceOfUserRuleCreationParameters = instanceOfUserRuleCreationParameters;
|
|
35
|
-
function UserRuleCreationParametersFromJSON(json) {
|
|
36
|
-
return UserRuleCreationParametersFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
exports.UserRuleCreationParametersFromJSON = UserRuleCreationParametersFromJSON;
|
|
39
|
-
function UserRuleCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'actionId': (json['actionId'] === null || json['actionId'] === undefined) ? json['actionId'] : (0, UserRuleActionEnum_1.UserRuleActionEnumFromJSON)(json['actionId']),
|
|
45
|
-
'attributeId': (json['attributeId'] === null || json['attributeId'] === undefined) ? json['attributeId'] : (0, UserRuleAttributeEnum_1.UserRuleAttributeEnumFromJSON)(json['attributeId']),
|
|
46
|
-
'comparatorId': (json['comparatorId'] === null || json['comparatorId'] === undefined) ? json['comparatorId'] : (0, UserRuleComparatorEnum_1.UserRuleComparatorEnumFromJSON)(json['comparatorId']),
|
|
47
|
-
'value': json['value'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.UserRuleCreationParametersFromJSONTyped = UserRuleCreationParametersFromJSONTyped;
|
|
51
|
-
function UserRuleCreationParametersToJSON(value) {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'actionId': (0, UserRuleActionEnum_1.UserRuleActionEnumToJSON)(value['actionId']),
|
|
57
|
-
'attributeId': (0, UserRuleAttributeEnum_1.UserRuleAttributeEnumToJSON)(value['attributeId']),
|
|
58
|
-
'comparatorId': (0, UserRuleComparatorEnum_1.UserRuleComparatorEnumToJSON)(value['comparatorId']),
|
|
59
|
-
'value': value['value'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
exports.UserRuleCreationParametersToJSON = UserRuleCreationParametersToJSON;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserSocialNetwork
|
|
16
|
-
*/
|
|
17
|
-
export interface UserSocialNetwork {
|
|
18
|
-
/**
|
|
19
|
-
* Twitter link
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserSocialNetwork
|
|
22
|
-
*/
|
|
23
|
-
twitter?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Facebook link
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserSocialNetwork
|
|
28
|
-
*/
|
|
29
|
-
facebook?: string;
|
|
30
|
-
/**
|
|
31
|
-
* web site link
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UserSocialNetwork
|
|
34
|
-
*/
|
|
35
|
-
website?: string;
|
|
36
|
-
/**
|
|
37
|
-
* google link
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UserSocialNetwork
|
|
40
|
-
*/
|
|
41
|
-
google?: string;
|
|
42
|
-
/**
|
|
43
|
-
* linkedin link
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof UserSocialNetwork
|
|
46
|
-
*/
|
|
47
|
-
linkedIn?: string;
|
|
48
|
-
/**
|
|
49
|
-
* instagram link
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof UserSocialNetwork
|
|
52
|
-
*/
|
|
53
|
-
instagram?: string;
|
|
54
|
-
/**
|
|
55
|
-
* youtube link
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof UserSocialNetwork
|
|
58
|
-
*/
|
|
59
|
-
youtube?: string;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the UserSocialNetwork interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfUserSocialNetwork(value: object): value is UserSocialNetwork;
|
|
65
|
-
export declare function UserSocialNetworkFromJSON(json: any): UserSocialNetwork;
|
|
66
|
-
export declare function UserSocialNetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSocialNetwork;
|
|
67
|
-
export declare function UserSocialNetworkToJSON(value?: UserSocialNetwork | null): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserSocialNetworkToJSON = exports.UserSocialNetworkFromJSONTyped = exports.UserSocialNetworkFromJSON = exports.instanceOfUserSocialNetwork = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the UserSocialNetwork interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUserSocialNetwork(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfUserSocialNetwork = instanceOfUserSocialNetwork;
|
|
24
|
-
function UserSocialNetworkFromJSON(json) {
|
|
25
|
-
return UserSocialNetworkFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.UserSocialNetworkFromJSON = UserSocialNetworkFromJSON;
|
|
28
|
-
function UserSocialNetworkFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'twitter': json['twitter'],
|
|
34
|
-
'facebook': json['facebook'],
|
|
35
|
-
'website': json['website'],
|
|
36
|
-
'google': json['google'],
|
|
37
|
-
'linkedIn': json['linkedIn'],
|
|
38
|
-
'instagram': json['instagram'],
|
|
39
|
-
'youtube': json['youtube'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.UserSocialNetworkFromJSONTyped = UserSocialNetworkFromJSONTyped;
|
|
43
|
-
function UserSocialNetworkToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'twitter': value['twitter'],
|
|
49
|
-
'facebook': value['facebook'],
|
|
50
|
-
'website': value['website'],
|
|
51
|
-
'google': value['google'],
|
|
52
|
-
'linkedIn': value['linkedIn'],
|
|
53
|
-
'instagram': value['instagram'],
|
|
54
|
-
'youtube': value['youtube'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
exports.UserSocialNetworkToJSON = UserSocialNetworkToJSON;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-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 { UserStatisticLinkAllOfShortTermQoS } from './UserStatisticLinkAllOfShortTermQoS';
|
|
13
|
-
import type { UserStatisticLinkAllOfLongTermQoS } from './UserStatisticLinkAllOfLongTermQoS';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface UserStatisticLink
|
|
18
|
-
*/
|
|
19
|
-
export interface UserStatisticLink {
|
|
20
|
-
/**
|
|
21
|
-
* Any URL that is using http or https protocol
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof UserStatisticLink
|
|
24
|
-
*/
|
|
25
|
-
href: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {UserStatisticLinkAllOfLongTermQoS}
|
|
29
|
-
* @memberof UserStatisticLink
|
|
30
|
-
*/
|
|
31
|
-
longTermQoS?: UserStatisticLinkAllOfLongTermQoS;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {UserStatisticLinkAllOfShortTermQoS}
|
|
35
|
-
* @memberof UserStatisticLink
|
|
36
|
-
*/
|
|
37
|
-
shortTermQoS?: UserStatisticLinkAllOfShortTermQoS;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the UserStatisticLink interface.
|
|
41
|
-
*/
|
|
42
|
-
export declare function instanceOfUserStatisticLink(value: object): value is UserStatisticLink;
|
|
43
|
-
export declare function UserStatisticLinkFromJSON(json: any): UserStatisticLink;
|
|
44
|
-
export declare function UserStatisticLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLink;
|
|
45
|
-
export declare function UserStatisticLinkToJSON(value?: UserStatisticLink | null): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-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.UserStatisticLinkToJSON = exports.UserStatisticLinkFromJSONTyped = exports.UserStatisticLinkFromJSON = exports.instanceOfUserStatisticLink = void 0;
|
|
17
|
-
var UserStatisticLinkAllOfShortTermQoS_1 = require("./UserStatisticLinkAllOfShortTermQoS");
|
|
18
|
-
var UserStatisticLinkAllOfLongTermQoS_1 = require("./UserStatisticLinkAllOfLongTermQoS");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the UserStatisticLink interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfUserStatisticLink(value) {
|
|
23
|
-
if (!('href' in value) || value['href'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfUserStatisticLink = instanceOfUserStatisticLink;
|
|
28
|
-
function UserStatisticLinkFromJSON(json) {
|
|
29
|
-
return UserStatisticLinkFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.UserStatisticLinkFromJSON = UserStatisticLinkFromJSON;
|
|
32
|
-
function UserStatisticLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'href': json['href'],
|
|
38
|
-
'longTermQoS': (json['longTermQoS'] === null || json['longTermQoS'] === undefined) ? json['longTermQoS'] : (0, UserStatisticLinkAllOfLongTermQoS_1.UserStatisticLinkAllOfLongTermQoSFromJSON)(json['longTermQoS']),
|
|
39
|
-
'shortTermQoS': (json['shortTermQoS'] === null || json['shortTermQoS'] === undefined) ? json['shortTermQoS'] : (0, UserStatisticLinkAllOfShortTermQoS_1.UserStatisticLinkAllOfShortTermQoSFromJSON)(json['shortTermQoS']),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.UserStatisticLinkFromJSONTyped = UserStatisticLinkFromJSONTyped;
|
|
43
|
-
function UserStatisticLinkToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'href': value['href'],
|
|
49
|
-
'longTermQoS': (0, UserStatisticLinkAllOfLongTermQoS_1.UserStatisticLinkAllOfLongTermQoSToJSON)(value['longTermQoS']),
|
|
50
|
-
'shortTermQoS': (0, UserStatisticLinkAllOfShortTermQoS_1.UserStatisticLinkAllOfShortTermQoSToJSON)(value['shortTermQoS']),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.UserStatisticLinkToJSON = UserStatisticLinkToJSON;
|