@lcdp/api-react-rest-client 2.14.0-LDS-4747-chargebee.17636630014 → 2.14.0-develop.17636521498
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/src/models/ProductStorageType.d.ts +26 -0
- package/user/src/models/ProductStorageType.js +49 -0
- package/user/src/models/RestrictedProductStorageType.d.ts +46 -0
- package/user/src/models/RestrictedProductStorageType.js +55 -0
- package/user/src/models/User.d.ts +7 -7
- package/user/src/models/User.js +3 -3
- package/user/src/models/UserUpdateParameters.d.ts +7 -0
- package/user/src/models/UserUpdateParameters.js +3 -0
- package/user/src/models/index.d.ts +2 -1
- package/user/src/models/index.js +2 -1
- package/user/src/models/UserChargebeeTarget.d.ts +0 -37
- package/user/src/models/UserChargebeeTarget.js +0 -49
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const ProductStorageType: {
|
|
17
|
+
readonly FREE: "FREE";
|
|
18
|
+
readonly FRIDGE: "FRIDGE";
|
|
19
|
+
readonly FREEZER: "FREEZER";
|
|
20
|
+
readonly FRESH: "FRESH";
|
|
21
|
+
};
|
|
22
|
+
export declare type ProductStorageType = typeof ProductStorageType[keyof typeof ProductStorageType];
|
|
23
|
+
export declare function instanceOfProductStorageType(value: any): boolean;
|
|
24
|
+
export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
|
|
25
|
+
export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
|
|
26
|
+
export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = exports.ProductStorageType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.ProductStorageType = {
|
|
22
|
+
FREE: 'FREE',
|
|
23
|
+
FRIDGE: 'FRIDGE',
|
|
24
|
+
FREEZER: 'FREEZER',
|
|
25
|
+
FRESH: 'FRESH'
|
|
26
|
+
};
|
|
27
|
+
function instanceOfProductStorageType(value) {
|
|
28
|
+
for (var key in exports.ProductStorageType) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProductStorageType, key)) {
|
|
30
|
+
if (exports.ProductStorageType[key] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
exports.instanceOfProductStorageType = instanceOfProductStorageType;
|
|
38
|
+
function ProductStorageTypeFromJSON(json) {
|
|
39
|
+
return ProductStorageTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.ProductStorageTypeFromJSON = ProductStorageTypeFromJSON;
|
|
42
|
+
function ProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
exports.ProductStorageTypeFromJSONTyped = ProductStorageTypeFromJSONTyped;
|
|
46
|
+
function ProductStorageTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ProductStorageType } from './ProductStorageType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RestrictedProductStorageType
|
|
17
|
+
*/
|
|
18
|
+
export interface RestrictedProductStorageType {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof RestrictedProductStorageType
|
|
23
|
+
*/
|
|
24
|
+
actions?: Array<RestrictedProductStorageTypeActionsEnum>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ProductStorageType}
|
|
28
|
+
* @memberof RestrictedProductStorageType
|
|
29
|
+
*/
|
|
30
|
+
target?: ProductStorageType;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const RestrictedProductStorageTypeActionsEnum: {
|
|
36
|
+
readonly BUY: "BUY";
|
|
37
|
+
readonly SELL: "SELL";
|
|
38
|
+
};
|
|
39
|
+
export declare type RestrictedProductStorageTypeActionsEnum = typeof RestrictedProductStorageTypeActionsEnum[keyof typeof RestrictedProductStorageTypeActionsEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the RestrictedProductStorageType interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfRestrictedProductStorageType(value: object): value is RestrictedProductStorageType;
|
|
44
|
+
export declare function RestrictedProductStorageTypeFromJSON(json: any): RestrictedProductStorageType;
|
|
45
|
+
export declare function RestrictedProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestrictedProductStorageType;
|
|
46
|
+
export declare function RestrictedProductStorageTypeToJSON(value?: RestrictedProductStorageType | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.RestrictedProductStorageTypeToJSON = exports.RestrictedProductStorageTypeFromJSONTyped = exports.RestrictedProductStorageTypeFromJSON = exports.instanceOfRestrictedProductStorageType = exports.RestrictedProductStorageTypeActionsEnum = void 0;
|
|
17
|
+
var ProductStorageType_1 = require("./ProductStorageType");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.RestrictedProductStorageTypeActionsEnum = {
|
|
22
|
+
BUY: 'BUY',
|
|
23
|
+
SELL: 'SELL'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RestrictedProductStorageType interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfRestrictedProductStorageType(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfRestrictedProductStorageType = instanceOfRestrictedProductStorageType;
|
|
32
|
+
function RestrictedProductStorageTypeFromJSON(json) {
|
|
33
|
+
return RestrictedProductStorageTypeFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.RestrictedProductStorageTypeFromJSON = RestrictedProductStorageTypeFromJSON;
|
|
36
|
+
function RestrictedProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'actions': json['actions'],
|
|
42
|
+
'target': (json['target'] === null || json['target'] === undefined) ? json['target'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['target']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.RestrictedProductStorageTypeFromJSONTyped = RestrictedProductStorageTypeFromJSONTyped;
|
|
46
|
+
function RestrictedProductStorageTypeToJSON(value) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'actions': value['actions'],
|
|
52
|
+
'target': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value['target']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.RestrictedProductStorageTypeToJSON = RestrictedProductStorageTypeToJSON;
|
|
@@ -18,11 +18,11 @@ import type { UserDelegatedServices } from './UserDelegatedServices';
|
|
|
18
18
|
import type { HttpLink } from './HttpLink';
|
|
19
19
|
import type { Gender } from './Gender';
|
|
20
20
|
import type { ScaEnrollmentStatus } from './ScaEnrollmentStatus';
|
|
21
|
-
import type { UserChargebeeTarget } from './UserChargebeeTarget';
|
|
22
21
|
import type { UserThreads } from './UserThreads';
|
|
23
22
|
import type { UserWallets } from './UserWallets';
|
|
24
23
|
import type { UserRole } from './UserRole';
|
|
25
24
|
import type { KycLevel } from './KycLevel';
|
|
25
|
+
import type { RestrictedProductStorageType } from './RestrictedProductStorageType';
|
|
26
26
|
import type { UserJournal } from './UserJournal';
|
|
27
27
|
/**
|
|
28
28
|
* Fields :
|
|
@@ -44,12 +44,6 @@ export interface User {
|
|
|
44
44
|
* @memberof User
|
|
45
45
|
*/
|
|
46
46
|
mangopayTarget?: UserMangopayTarget;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {UserChargebeeTarget}
|
|
50
|
-
* @memberof User
|
|
51
|
-
*/
|
|
52
|
-
chargebeeTarget?: UserChargebeeTarget;
|
|
53
47
|
/**
|
|
54
48
|
*
|
|
55
49
|
* @type {UserRole}
|
|
@@ -260,6 +254,12 @@ export interface User {
|
|
|
260
254
|
* @memberof User
|
|
261
255
|
*/
|
|
262
256
|
restrictedProductTypes?: HttpLink;
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @type {Array<RestrictedProductStorageType>}
|
|
260
|
+
* @memberof User
|
|
261
|
+
*/
|
|
262
|
+
restrictedProductStorageTypes?: Array<RestrictedProductStorageType>;
|
|
263
263
|
/**
|
|
264
264
|
*
|
|
265
265
|
* @type {HttpLink}
|
package/user/src/models/User.js
CHANGED
|
@@ -24,11 +24,11 @@ var UserDelegatedServices_1 = require("./UserDelegatedServices");
|
|
|
24
24
|
var HttpLink_1 = require("./HttpLink");
|
|
25
25
|
var Gender_1 = require("./Gender");
|
|
26
26
|
var ScaEnrollmentStatus_1 = require("./ScaEnrollmentStatus");
|
|
27
|
-
var UserChargebeeTarget_1 = require("./UserChargebeeTarget");
|
|
28
27
|
var UserThreads_1 = require("./UserThreads");
|
|
29
28
|
var UserWallets_1 = require("./UserWallets");
|
|
30
29
|
var UserRole_1 = require("./UserRole");
|
|
31
30
|
var KycLevel_1 = require("./KycLevel");
|
|
31
|
+
var RestrictedProductStorageType_1 = require("./RestrictedProductStorageType");
|
|
32
32
|
var UserJournal_1 = require("./UserJournal");
|
|
33
33
|
/**
|
|
34
34
|
* Check if a given object implements the User interface.
|
|
@@ -66,7 +66,6 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
return {
|
|
67
67
|
'id': json['id'],
|
|
68
68
|
'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, UserMangopayTarget_1.UserMangopayTargetFromJSON)(json['mangopayTarget']),
|
|
69
|
-
'chargebeeTarget': (json['chargebeeTarget'] === null || json['chargebeeTarget'] === undefined) ? json['chargebeeTarget'] : (0, UserChargebeeTarget_1.UserChargebeeTargetFromJSON)(json['chargebeeTarget']),
|
|
70
69
|
'role': (json['role'] === null || json['role'] === undefined) ? json['role'] : (0, UserRole_1.UserRoleFromJSON)(json['role']),
|
|
71
70
|
'haveUnpaid': json['haveUnpaid'],
|
|
72
71
|
'holidayModeEnabled': json['holidayModeEnabled'],
|
|
@@ -102,6 +101,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
102
101
|
'rules': (json['rules'] === null || json['rules'] === undefined) ? json['rules'] : (0, HttpLink_1.HttpLinkFromJSON)(json['rules']),
|
|
103
102
|
'restrictedFeatures': (json['restrictedFeatures'] === null || json['restrictedFeatures'] === undefined) ? json['restrictedFeatures'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedFeatures']),
|
|
104
103
|
'restrictedProductTypes': (json['restrictedProductTypes'] === null || json['restrictedProductTypes'] === undefined) ? json['restrictedProductTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedProductTypes']),
|
|
104
|
+
'restrictedProductStorageTypes': (json['restrictedProductStorageTypes'] === null || json['restrictedProductStorageTypes'] === undefined) ? json['restrictedProductStorageTypes'] : json['restrictedProductStorageTypes'].map(RestrictedProductStorageType_1.RestrictedProductStorageTypeFromJSON),
|
|
105
105
|
'restrictedNotificationTypes': (json['restrictedNotificationTypes'] === null || json['restrictedNotificationTypes'] === undefined) ? json['restrictedNotificationTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedNotificationTypes']),
|
|
106
106
|
'customCommissions': (json['customCommissions'] === null || json['customCommissions'] === undefined) ? json['customCommissions'] : (0, HttpLink_1.HttpLinkFromJSON)(json['customCommissions']),
|
|
107
107
|
'tags': json['tags'],
|
|
@@ -123,7 +123,6 @@ function UserToJSON(value) {
|
|
|
123
123
|
return {
|
|
124
124
|
'id': value['id'],
|
|
125
125
|
'mangopayTarget': (0, UserMangopayTarget_1.UserMangopayTargetToJSON)(value['mangopayTarget']),
|
|
126
|
-
'chargebeeTarget': (0, UserChargebeeTarget_1.UserChargebeeTargetToJSON)(value['chargebeeTarget']),
|
|
127
126
|
'role': (0, UserRole_1.UserRoleToJSON)(value['role']),
|
|
128
127
|
'haveUnpaid': value['haveUnpaid'],
|
|
129
128
|
'holidayModeEnabled': value['holidayModeEnabled'],
|
|
@@ -159,6 +158,7 @@ function UserToJSON(value) {
|
|
|
159
158
|
'rules': (0, HttpLink_1.HttpLinkToJSON)(value['rules']),
|
|
160
159
|
'restrictedFeatures': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedFeatures']),
|
|
161
160
|
'restrictedProductTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedProductTypes']),
|
|
161
|
+
'restrictedProductStorageTypes': (value['restrictedProductStorageTypes'] === null || value['restrictedProductStorageTypes'] === undefined) ? value['restrictedProductStorageTypes'] : value['restrictedProductStorageTypes'].map(RestrictedProductStorageType_1.RestrictedProductStorageTypeToJSON),
|
|
162
162
|
'restrictedNotificationTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedNotificationTypes']),
|
|
163
163
|
'customCommissions': (0, HttpLink_1.HttpLinkToJSON)(value['customCommissions']),
|
|
164
164
|
'tags': value['tags'],
|
|
@@ -13,6 +13,7 @@ import type { UserCompany } from './UserCompany';
|
|
|
13
13
|
import type { Address } from './Address';
|
|
14
14
|
import type { UserRole } from './UserRole';
|
|
15
15
|
import type { UserDelegatedServices } from './UserDelegatedServices';
|
|
16
|
+
import type { RestrictedProductStorageType } from './RestrictedProductStorageType';
|
|
16
17
|
import type { UserJournalUpdateParameters } from './UserJournalUpdateParameters';
|
|
17
18
|
import type { Gender } from './Gender';
|
|
18
19
|
/**
|
|
@@ -129,6 +130,12 @@ export interface UserUpdateParameters {
|
|
|
129
130
|
* @memberof UserUpdateParameters
|
|
130
131
|
*/
|
|
131
132
|
delegatedServices?: UserDelegatedServices;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {Array<RestrictedProductStorageType>}
|
|
136
|
+
* @memberof UserUpdateParameters
|
|
137
|
+
*/
|
|
138
|
+
restrictedProductStorageTypes?: Array<RestrictedProductStorageType>;
|
|
132
139
|
/**
|
|
133
140
|
* Labels of the client
|
|
134
141
|
* @type {Array<string>}
|
|
@@ -19,6 +19,7 @@ var UserCompany_1 = require("./UserCompany");
|
|
|
19
19
|
var Address_1 = require("./Address");
|
|
20
20
|
var UserRole_1 = require("./UserRole");
|
|
21
21
|
var UserDelegatedServices_1 = require("./UserDelegatedServices");
|
|
22
|
+
var RestrictedProductStorageType_1 = require("./RestrictedProductStorageType");
|
|
22
23
|
var UserJournalUpdateParameters_1 = require("./UserJournalUpdateParameters");
|
|
23
24
|
var Gender_1 = require("./Gender");
|
|
24
25
|
/**
|
|
@@ -55,6 +56,7 @@ function UserUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
56
|
'company': (json['company'] === null || json['company'] === undefined) ? json['company'] : (0, UserCompany_1.UserCompanyFromJSON)(json['company']),
|
|
56
57
|
'pickupEnabled': json['pickupEnabled'],
|
|
57
58
|
'delegatedServices': (json['delegatedServices'] === null || json['delegatedServices'] === undefined) ? json['delegatedServices'] : (0, UserDelegatedServices_1.UserDelegatedServicesFromJSON)(json['delegatedServices']),
|
|
59
|
+
'restrictedProductStorageTypes': (json['restrictedProductStorageTypes'] === null || json['restrictedProductStorageTypes'] === undefined) ? json['restrictedProductStorageTypes'] : json['restrictedProductStorageTypes'].map(RestrictedProductStorageType_1.RestrictedProductStorageTypeFromJSON),
|
|
58
60
|
'tags': json['tags'],
|
|
59
61
|
'isMangopaySynced': json['isMangopaySynced'],
|
|
60
62
|
'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, UserJournalUpdateParameters_1.UserJournalUpdateParametersFromJSON)(json['journal']),
|
|
@@ -84,6 +86,7 @@ function UserUpdateParametersToJSON(value) {
|
|
|
84
86
|
'company': (0, UserCompany_1.UserCompanyToJSON)(value['company']),
|
|
85
87
|
'pickupEnabled': value['pickupEnabled'],
|
|
86
88
|
'delegatedServices': (0, UserDelegatedServices_1.UserDelegatedServicesToJSON)(value['delegatedServices']),
|
|
89
|
+
'restrictedProductStorageTypes': (value['restrictedProductStorageTypes'] === null || value['restrictedProductStorageTypes'] === undefined) ? value['restrictedProductStorageTypes'] : value['restrictedProductStorageTypes'].map(RestrictedProductStorageType_1.RestrictedProductStorageTypeToJSON),
|
|
87
90
|
'tags': value['tags'],
|
|
88
91
|
'isMangopaySynced': value['isMangopaySynced'],
|
|
89
92
|
'journal': (0, UserJournalUpdateParameters_1.UserJournalUpdateParametersToJSON)(value['journal']),
|
|
@@ -11,8 +11,10 @@ export * from './PaginatedUsers';
|
|
|
11
11
|
export * from './PagingMetadata';
|
|
12
12
|
export * from './PasswordResetCompletionParameters';
|
|
13
13
|
export * from './PasswordResetCreationParameters';
|
|
14
|
+
export * from './ProductStorageType';
|
|
14
15
|
export * from './ProductTypeLink';
|
|
15
16
|
export * from './RestError';
|
|
17
|
+
export * from './RestrictedProductStorageType';
|
|
16
18
|
export * from './ScaEnrollmentStatus';
|
|
17
19
|
export * from './SomeonePasswordUpdateParameters';
|
|
18
20
|
export * from './ThreadLink';
|
|
@@ -20,7 +22,6 @@ export * from './Transport';
|
|
|
20
22
|
export * from './User';
|
|
21
23
|
export * from './UserBankAccountCreationParameters';
|
|
22
24
|
export * from './UserBankAccountLink';
|
|
23
|
-
export * from './UserChargebeeTarget';
|
|
24
25
|
export * from './UserCompany';
|
|
25
26
|
export * from './UserCreationParameters';
|
|
26
27
|
export * from './UserCustomCommissions';
|
package/user/src/models/index.js
CHANGED
|
@@ -29,8 +29,10 @@ __exportStar(require("./PaginatedUsers"), exports);
|
|
|
29
29
|
__exportStar(require("./PagingMetadata"), exports);
|
|
30
30
|
__exportStar(require("./PasswordResetCompletionParameters"), exports);
|
|
31
31
|
__exportStar(require("./PasswordResetCreationParameters"), exports);
|
|
32
|
+
__exportStar(require("./ProductStorageType"), exports);
|
|
32
33
|
__exportStar(require("./ProductTypeLink"), exports);
|
|
33
34
|
__exportStar(require("./RestError"), exports);
|
|
35
|
+
__exportStar(require("./RestrictedProductStorageType"), exports);
|
|
34
36
|
__exportStar(require("./ScaEnrollmentStatus"), exports);
|
|
35
37
|
__exportStar(require("./SomeonePasswordUpdateParameters"), exports);
|
|
36
38
|
__exportStar(require("./ThreadLink"), exports);
|
|
@@ -38,7 +40,6 @@ __exportStar(require("./Transport"), exports);
|
|
|
38
40
|
__exportStar(require("./User"), exports);
|
|
39
41
|
__exportStar(require("./UserBankAccountCreationParameters"), exports);
|
|
40
42
|
__exportStar(require("./UserBankAccountLink"), exports);
|
|
41
|
-
__exportStar(require("./UserChargebeeTarget"), exports);
|
|
42
43
|
__exportStar(require("./UserCompany"), exports);
|
|
43
44
|
__exportStar(require("./UserCreationParameters"), exports);
|
|
44
45
|
__exportStar(require("./UserCustomCommissions"), exports);
|
|
@@ -1,37 +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 UserChargebeeTarget
|
|
16
|
-
*/
|
|
17
|
-
export interface UserChargebeeTarget {
|
|
18
|
-
/**
|
|
19
|
-
* Any URL that is using http or https protocol
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserChargebeeTarget
|
|
22
|
-
*/
|
|
23
|
-
href: string;
|
|
24
|
-
/**
|
|
25
|
-
* Id on chargebee service
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UserChargebeeTarget
|
|
28
|
-
*/
|
|
29
|
-
id?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the UserChargebeeTarget interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfUserChargebeeTarget(value: object): value is UserChargebeeTarget;
|
|
35
|
-
export declare function UserChargebeeTargetFromJSON(json: any): UserChargebeeTarget;
|
|
36
|
-
export declare function UserChargebeeTargetFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserChargebeeTarget;
|
|
37
|
-
export declare function UserChargebeeTargetToJSON(value?: UserChargebeeTarget | null): any;
|
|
@@ -1,49 +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.UserChargebeeTargetToJSON = exports.UserChargebeeTargetFromJSONTyped = exports.UserChargebeeTargetFromJSON = exports.instanceOfUserChargebeeTarget = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the UserChargebeeTarget interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfUserChargebeeTarget(value) {
|
|
21
|
-
if (!('href' in value) || value['href'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfUserChargebeeTarget = instanceOfUserChargebeeTarget;
|
|
26
|
-
function UserChargebeeTargetFromJSON(json) {
|
|
27
|
-
return UserChargebeeTargetFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.UserChargebeeTargetFromJSON = UserChargebeeTargetFromJSON;
|
|
30
|
-
function UserChargebeeTargetFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'href': json['href'],
|
|
36
|
-
'id': json['id'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.UserChargebeeTargetFromJSONTyped = UserChargebeeTargetFromJSONTyped;
|
|
40
|
-
function UserChargebeeTargetToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'href': value['href'],
|
|
46
|
-
'id': value['id'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.UserChargebeeTargetToJSON = UserChargebeeTargetToJSON;
|