@lcdp/api-react-rest-client 2.14.7-LDS-3791-monolith-modifier-systeme-detec.19709480047 → 2.14.7-LDS-5179-monolith-pouvoir-relancer-trans.19862733987
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/banking-operation/src/apis/SearchLevyApi.d.ts +3 -2
- package/banking-operation/src/apis/SearchLevyApi.js +5 -2
- package/banking-operation/src/models/Levy.d.ts +9 -3
- package/banking-operation/src/models/Levy.js +5 -5
- package/banking-operation/src/models/Transaction.d.ts +5 -14
- package/banking-operation/src/models/Transaction.js +8 -12
- package/banking-operation/src/models/TransactionStatus.d.ts +26 -0
- package/banking-operation/src/models/TransactionStatus.js +49 -0
- package/banking-operation/src/models/index.d.ts +1 -2
- package/banking-operation/src/models/index.js +1 -2
- package/package.json +1 -1
- package/shipment/src/models/ShipmentParcelStatus.d.ts +0 -1
- package/shipment/src/models/ShipmentParcelStatus.js +1 -2
- package/banking-operation/src/models/LevyPayment.d.ts +0 -38
- package/banking-operation/src/models/LevyPayment.js +0 -48
- package/banking-operation/src/models/LevyPaymentStatus.d.ts +0 -25
- package/banking-operation/src/models/LevyPaymentStatus.js +0 -48
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { Levy,
|
|
13
|
+
import type { Levy, LevyStatus, PaginatedLevies, TransactionStatus } from '../models/index';
|
|
14
14
|
export interface GetLeviesRequest {
|
|
15
15
|
q?: string;
|
|
16
16
|
createdAtGte?: Date;
|
|
@@ -18,7 +18,8 @@ export interface GetLeviesRequest {
|
|
|
18
18
|
idEq?: Array<number>;
|
|
19
19
|
debitedUserEq?: Array<number>;
|
|
20
20
|
debitedFundsEq?: number;
|
|
21
|
-
|
|
21
|
+
payinStEq?: Array<TransactionStatus>;
|
|
22
|
+
transferStEq?: Array<TransactionStatus>;
|
|
22
23
|
stEq?: Array<LevyStatus>;
|
|
23
24
|
orderBy?: GetLeviesOrderByEnum;
|
|
24
25
|
p?: number;
|
|
@@ -104,8 +104,11 @@ var SearchLevyApi = /** @class */ (function (_super) {
|
|
|
104
104
|
if (requestParameters['debitedFundsEq'] != null) {
|
|
105
105
|
queryParameters['debitedFunds[eq]'] = requestParameters['debitedFundsEq'];
|
|
106
106
|
}
|
|
107
|
-
if (requestParameters['
|
|
108
|
-
queryParameters['
|
|
107
|
+
if (requestParameters['payinStEq'] != null) {
|
|
108
|
+
queryParameters['payinSt[eq]'] = requestParameters['payinStEq'];
|
|
109
|
+
}
|
|
110
|
+
if (requestParameters['transferStEq'] != null) {
|
|
111
|
+
queryParameters['transferSt[eq]'] = requestParameters['transferStEq'];
|
|
109
112
|
}
|
|
110
113
|
if (requestParameters['stEq'] != null) {
|
|
111
114
|
queryParameters['st[eq]'] = requestParameters['stEq'];
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { UserLink } from './UserLink';
|
|
13
13
|
import type { LevyStatus } from './LevyStatus';
|
|
14
|
-
import type {
|
|
14
|
+
import type { Transaction } from './Transaction';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -38,10 +38,16 @@ export interface Levy {
|
|
|
38
38
|
creditedUser: UserLink;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
|
-
* @type {
|
|
41
|
+
* @type {Transaction}
|
|
42
42
|
* @memberof Levy
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
payin?: Transaction | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Transaction}
|
|
48
|
+
* @memberof Levy
|
|
49
|
+
*/
|
|
50
|
+
transfer?: Transaction | null;
|
|
45
51
|
/**
|
|
46
52
|
*
|
|
47
53
|
* @type {LevyStatus}
|
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.LevyToJSON = exports.LevyFromJSONTyped = exports.LevyFromJSON = exports.instanceOfLevy = void 0;
|
|
17
17
|
var UserLink_1 = require("./UserLink");
|
|
18
18
|
var LevyStatus_1 = require("./LevyStatus");
|
|
19
|
-
var
|
|
19
|
+
var Transaction_1 = require("./Transaction");
|
|
20
20
|
/**
|
|
21
21
|
* Check if a given object implements the Levy interface.
|
|
22
22
|
*/
|
|
@@ -27,8 +27,6 @@ function instanceOfLevy(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('creditedUser' in value) || value['creditedUser'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
-
if (!('payment' in value) || value['payment'] === undefined)
|
|
31
|
-
return false;
|
|
32
30
|
if (!('status' in value) || value['status'] === undefined)
|
|
33
31
|
return false;
|
|
34
32
|
if (!('fees' in value) || value['fees'] === undefined)
|
|
@@ -50,7 +48,8 @@ function LevyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
48
|
'id': json['id'],
|
|
51
49
|
'debitedUser': (json['debitedUser'] === null || json['debitedUser'] === undefined) ? json['debitedUser'] : (0, UserLink_1.UserLinkFromJSON)(json['debitedUser']),
|
|
52
50
|
'creditedUser': (json['creditedUser'] === null || json['creditedUser'] === undefined) ? json['creditedUser'] : (0, UserLink_1.UserLinkFromJSON)(json['creditedUser']),
|
|
53
|
-
'
|
|
51
|
+
'payin': (json['payin'] === null || json['payin'] === undefined) ? json['payin'] : (0, Transaction_1.TransactionFromJSON)(json['payin']),
|
|
52
|
+
'transfer': (json['transfer'] === null || json['transfer'] === undefined) ? json['transfer'] : (0, Transaction_1.TransactionFromJSON)(json['transfer']),
|
|
54
53
|
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, LevyStatus_1.LevyStatusFromJSON)(json['status']),
|
|
55
54
|
'comment': json['comment'],
|
|
56
55
|
'tag': json['tag'],
|
|
@@ -68,7 +67,8 @@ function LevyToJSON(value) {
|
|
|
68
67
|
'id': value['id'],
|
|
69
68
|
'debitedUser': (0, UserLink_1.UserLinkToJSON)(value['debitedUser']),
|
|
70
69
|
'creditedUser': (0, UserLink_1.UserLinkToJSON)(value['creditedUser']),
|
|
71
|
-
'
|
|
70
|
+
'payin': (0, Transaction_1.TransactionToJSON)(value['payin']),
|
|
71
|
+
'transfer': (0, Transaction_1.TransactionToJSON)(value['transfer']),
|
|
72
72
|
'status': (0, LevyStatus_1.LevyStatusToJSON)(value['status']),
|
|
73
73
|
'comment': value['comment'],
|
|
74
74
|
'tag': value['tag'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { TransactionStatus } from './TransactionStatus';
|
|
12
13
|
import type { TransactionMangopayTarget } from './TransactionMangopayTarget';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -21,13 +22,13 @@ export interface Transaction {
|
|
|
21
22
|
* @type {TransactionMangopayTarget}
|
|
22
23
|
* @memberof Transaction
|
|
23
24
|
*/
|
|
24
|
-
mangopayTarget
|
|
25
|
+
mangopayTarget: TransactionMangopayTarget;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
27
|
+
*
|
|
28
|
+
* @type {TransactionStatus}
|
|
28
29
|
* @memberof Transaction
|
|
29
30
|
*/
|
|
30
|
-
status
|
|
31
|
+
status: TransactionStatus;
|
|
31
32
|
/**
|
|
32
33
|
* Code obtained when transaction occurs
|
|
33
34
|
* @type {string}
|
|
@@ -47,16 +48,6 @@ export interface Transaction {
|
|
|
47
48
|
*/
|
|
48
49
|
executionDate?: Date;
|
|
49
50
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @export
|
|
52
|
-
*/
|
|
53
|
-
export declare const TransactionStatusEnum: {
|
|
54
|
-
readonly CREATED: "CREATED";
|
|
55
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
56
|
-
readonly FAILED: "FAILED";
|
|
57
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
58
|
-
};
|
|
59
|
-
export declare type TransactionStatusEnum = typeof TransactionStatusEnum[keyof typeof TransactionStatusEnum];
|
|
60
51
|
/**
|
|
61
52
|
* Check if a given object implements the Transaction interface.
|
|
62
53
|
*/
|
|
@@ -13,21 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TransactionToJSON = exports.TransactionFromJSONTyped = exports.TransactionFromJSON = exports.instanceOfTransaction =
|
|
16
|
+
exports.TransactionToJSON = exports.TransactionFromJSONTyped = exports.TransactionFromJSON = exports.instanceOfTransaction = void 0;
|
|
17
|
+
var TransactionStatus_1 = require("./TransactionStatus");
|
|
17
18
|
var TransactionMangopayTarget_1 = require("./TransactionMangopayTarget");
|
|
18
|
-
/**
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.TransactionStatusEnum = {
|
|
22
|
-
CREATED: 'CREATED',
|
|
23
|
-
SUCCEEDED: 'SUCCEEDED',
|
|
24
|
-
FAILED: 'FAILED',
|
|
25
|
-
UNKNOWN: 'UNKNOWN'
|
|
26
|
-
};
|
|
27
19
|
/**
|
|
28
20
|
* Check if a given object implements the Transaction interface.
|
|
29
21
|
*/
|
|
30
22
|
function instanceOfTransaction(value) {
|
|
23
|
+
if (!('mangopayTarget' in value) || value['mangopayTarget'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
26
|
+
return false;
|
|
31
27
|
return true;
|
|
32
28
|
}
|
|
33
29
|
exports.instanceOfTransaction = instanceOfTransaction;
|
|
@@ -41,7 +37,7 @@ function TransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
37
|
}
|
|
42
38
|
return {
|
|
43
39
|
'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, TransactionMangopayTarget_1.TransactionMangopayTargetFromJSON)(json['mangopayTarget']),
|
|
44
|
-
'status': json['status'],
|
|
40
|
+
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, TransactionStatus_1.TransactionStatusFromJSON)(json['status']),
|
|
45
41
|
'executionCode': json['executionCode'],
|
|
46
42
|
'executionMessage': json['executionMessage'],
|
|
47
43
|
'executionDate': (json['executionDate'] === null || json['executionDate'] === undefined) ? json['executionDate'] : new Date(json['executionDate']),
|
|
@@ -54,7 +50,7 @@ function TransactionToJSON(value) {
|
|
|
54
50
|
}
|
|
55
51
|
return {
|
|
56
52
|
'mangopayTarget': (0, TransactionMangopayTarget_1.TransactionMangopayTargetToJSON)(value['mangopayTarget']),
|
|
57
|
-
'status': value['status'],
|
|
53
|
+
'status': (0, TransactionStatus_1.TransactionStatusToJSON)(value['status']),
|
|
58
54
|
'executionCode': value['executionCode'],
|
|
59
55
|
'executionMessage': value['executionMessage'],
|
|
60
56
|
'executionDate': (value['executionDate'] === null || value['executionDate'] === undefined) ? value['executionDate'] : (value['executionDate']).toISOString(),
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-monolith-service
|
|
3
|
+
* This is the REST API of LCDP Levy
|
|
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
|
+
* Status of this transaction. FAILED transaction can be retried.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const TransactionStatus: {
|
|
17
|
+
readonly CREATED: "CREATED";
|
|
18
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
19
|
+
readonly FAILED: "FAILED";
|
|
20
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
21
|
+
};
|
|
22
|
+
export declare type TransactionStatus = typeof TransactionStatus[keyof typeof TransactionStatus];
|
|
23
|
+
export declare function instanceOfTransactionStatus(value: any): boolean;
|
|
24
|
+
export declare function TransactionStatusFromJSON(json: any): TransactionStatus;
|
|
25
|
+
export declare function TransactionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionStatus;
|
|
26
|
+
export declare function TransactionStatusToJSON(value?: TransactionStatus | 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 Levy
|
|
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.TransactionStatusToJSON = exports.TransactionStatusFromJSONTyped = exports.TransactionStatusFromJSON = exports.instanceOfTransactionStatus = exports.TransactionStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Status of this transaction. FAILED transaction can be retried.
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.TransactionStatus = {
|
|
22
|
+
CREATED: 'CREATED',
|
|
23
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
24
|
+
FAILED: 'FAILED',
|
|
25
|
+
UNKNOWN: 'UNKNOWN'
|
|
26
|
+
};
|
|
27
|
+
function instanceOfTransactionStatus(value) {
|
|
28
|
+
for (var key in exports.TransactionStatus) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(exports.TransactionStatus, key)) {
|
|
30
|
+
if (exports.TransactionStatus[key] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
exports.instanceOfTransactionStatus = instanceOfTransactionStatus;
|
|
38
|
+
function TransactionStatusFromJSON(json) {
|
|
39
|
+
return TransactionStatusFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.TransactionStatusFromJSON = TransactionStatusFromJSON;
|
|
42
|
+
function TransactionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
exports.TransactionStatusFromJSONTyped = TransactionStatusFromJSONTyped;
|
|
46
|
+
function TransactionStatusToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
exports.TransactionStatusToJSON = TransactionStatusToJSON;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './HttpLink';
|
|
2
2
|
export * from './Levy';
|
|
3
3
|
export * from './LevyCreationParameters';
|
|
4
|
-
export * from './LevyPayment';
|
|
5
|
-
export * from './LevyPaymentStatus';
|
|
6
4
|
export * from './LevyStatus';
|
|
7
5
|
export * from './LevyUpdateParameters';
|
|
8
6
|
export * from './OrderLink';
|
|
@@ -16,6 +14,7 @@ export * from './PaginatedOrderPayments';
|
|
|
16
14
|
export * from './PagingMetadata';
|
|
17
15
|
export * from './Transaction';
|
|
18
16
|
export * from './TransactionMangopayTarget';
|
|
17
|
+
export * from './TransactionStatus';
|
|
19
18
|
export * from './UserLink';
|
|
20
19
|
export * from './UserLinkAllOfCompany';
|
|
21
20
|
export * from './Wallet';
|
|
@@ -19,8 +19,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./HttpLink"), exports);
|
|
20
20
|
__exportStar(require("./Levy"), exports);
|
|
21
21
|
__exportStar(require("./LevyCreationParameters"), exports);
|
|
22
|
-
__exportStar(require("./LevyPayment"), exports);
|
|
23
|
-
__exportStar(require("./LevyPaymentStatus"), exports);
|
|
24
22
|
__exportStar(require("./LevyStatus"), exports);
|
|
25
23
|
__exportStar(require("./LevyUpdateParameters"), exports);
|
|
26
24
|
__exportStar(require("./OrderLink"), exports);
|
|
@@ -34,6 +32,7 @@ __exportStar(require("./PaginatedOrderPayments"), exports);
|
|
|
34
32
|
__exportStar(require("./PagingMetadata"), exports);
|
|
35
33
|
__exportStar(require("./Transaction"), exports);
|
|
36
34
|
__exportStar(require("./TransactionMangopayTarget"), exports);
|
|
35
|
+
__exportStar(require("./TransactionStatus"), exports);
|
|
37
36
|
__exportStar(require("./UserLink"), exports);
|
|
38
37
|
__exportStar(require("./UserLinkAllOfCompany"), exports);
|
|
39
38
|
__exportStar(require("./Wallet"), exports);
|
package/package.json
CHANGED
|
@@ -17,7 +17,6 @@ export declare const ShipmentParcelStatus: {
|
|
|
17
17
|
readonly WAITING_FOR_SENDING: "WAITING_FOR_SENDING";
|
|
18
18
|
readonly DELIVERY_ON_GOING: "DELIVERY_ON_GOING";
|
|
19
19
|
readonly DELIVERED: "DELIVERED";
|
|
20
|
-
readonly EXPIRED: "EXPIRED";
|
|
21
20
|
};
|
|
22
21
|
export declare type ShipmentParcelStatus = typeof ShipmentParcelStatus[keyof typeof ShipmentParcelStatus];
|
|
23
22
|
export declare function instanceOfShipmentParcelStatus(value: any): boolean;
|
|
@@ -21,8 +21,7 @@ exports.ShipmentParcelStatusToJSON = exports.ShipmentParcelStatusFromJSONTyped =
|
|
|
21
21
|
exports.ShipmentParcelStatus = {
|
|
22
22
|
WAITING_FOR_SENDING: 'WAITING_FOR_SENDING',
|
|
23
23
|
DELIVERY_ON_GOING: 'DELIVERY_ON_GOING',
|
|
24
|
-
DELIVERED: 'DELIVERED'
|
|
25
|
-
EXPIRED: 'EXPIRED'
|
|
24
|
+
DELIVERED: 'DELIVERED'
|
|
26
25
|
};
|
|
27
26
|
function instanceOfShipmentParcelStatus(value) {
|
|
28
27
|
for (var key in exports.ShipmentParcelStatus) {
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP Levy
|
|
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 { LevyPaymentStatus } from './LevyPaymentStatus';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface LevyPayment
|
|
17
|
-
*/
|
|
18
|
-
export interface LevyPayment {
|
|
19
|
-
/**
|
|
20
|
-
* Payment Id
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof LevyPayment
|
|
23
|
-
*/
|
|
24
|
-
id?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {LevyPaymentStatus}
|
|
28
|
-
* @memberof LevyPayment
|
|
29
|
-
*/
|
|
30
|
-
status?: LevyPaymentStatus;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the LevyPayment interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfLevyPayment(value: object): value is LevyPayment;
|
|
36
|
-
export declare function LevyPaymentFromJSON(json: any): LevyPayment;
|
|
37
|
-
export declare function LevyPaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): LevyPayment;
|
|
38
|
-
export declare function LevyPaymentToJSON(value?: LevyPayment | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP Levy
|
|
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.LevyPaymentToJSON = exports.LevyPaymentFromJSONTyped = exports.LevyPaymentFromJSON = exports.instanceOfLevyPayment = void 0;
|
|
17
|
-
var LevyPaymentStatus_1 = require("./LevyPaymentStatus");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the LevyPayment interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfLevyPayment(value) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
exports.instanceOfLevyPayment = instanceOfLevyPayment;
|
|
25
|
-
function LevyPaymentFromJSON(json) {
|
|
26
|
-
return LevyPaymentFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.LevyPaymentFromJSON = LevyPaymentFromJSON;
|
|
29
|
-
function LevyPaymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'id': json['id'],
|
|
35
|
-
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, LevyPaymentStatus_1.LevyPaymentStatusFromJSON)(json['status']),
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.LevyPaymentFromJSONTyped = LevyPaymentFromJSONTyped;
|
|
39
|
-
function LevyPaymentToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'id': value['id'],
|
|
45
|
-
'status': (0, LevyPaymentStatus_1.LevyPaymentStatusToJSON)(value['status']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.LevyPaymentToJSON = LevyPaymentToJSON;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP Levy
|
|
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
|
-
* Payment status values
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const LevyPaymentStatus: {
|
|
17
|
-
readonly DONE: "DONE";
|
|
18
|
-
readonly FAILED: "FAILED";
|
|
19
|
-
readonly WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
20
|
-
};
|
|
21
|
-
export declare type LevyPaymentStatus = typeof LevyPaymentStatus[keyof typeof LevyPaymentStatus];
|
|
22
|
-
export declare function instanceOfLevyPaymentStatus(value: any): boolean;
|
|
23
|
-
export declare function LevyPaymentStatusFromJSON(json: any): LevyPaymentStatus;
|
|
24
|
-
export declare function LevyPaymentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LevyPaymentStatus;
|
|
25
|
-
export declare function LevyPaymentStatusToJSON(value?: LevyPaymentStatus | null): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP Levy
|
|
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.LevyPaymentStatusToJSON = exports.LevyPaymentStatusFromJSONTyped = exports.LevyPaymentStatusFromJSON = exports.instanceOfLevyPaymentStatus = exports.LevyPaymentStatus = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Payment status values
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
exports.LevyPaymentStatus = {
|
|
22
|
-
DONE: 'DONE',
|
|
23
|
-
FAILED: 'FAILED',
|
|
24
|
-
WAITING_FOR_PAYMENT: 'WAITING_FOR_PAYMENT'
|
|
25
|
-
};
|
|
26
|
-
function instanceOfLevyPaymentStatus(value) {
|
|
27
|
-
for (var key in exports.LevyPaymentStatus) {
|
|
28
|
-
if (Object.prototype.hasOwnProperty.call(exports.LevyPaymentStatus, key)) {
|
|
29
|
-
if (exports.LevyPaymentStatus[key] === value) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfLevyPaymentStatus = instanceOfLevyPaymentStatus;
|
|
37
|
-
function LevyPaymentStatusFromJSON(json) {
|
|
38
|
-
return LevyPaymentStatusFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.LevyPaymentStatusFromJSON = LevyPaymentStatusFromJSON;
|
|
41
|
-
function LevyPaymentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
exports.LevyPaymentStatusFromJSONTyped = LevyPaymentStatusFromJSONTyped;
|
|
45
|
-
function LevyPaymentStatusToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
exports.LevyPaymentStatusToJSON = LevyPaymentStatusToJSON;
|