@silexpert/core 1.3.65 → 1.3.66-0
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/dist/cjs/api/resources/Refund.d.ts +5 -2
- package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/cjs/api/resources/Refund.js.map +1 -1
- package/dist/cjs/types/Enum/PaymentMethod.d.ts +10 -22
- package/dist/cjs/types/Enum/PaymentMethod.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PaymentMethod.js +11 -24
- package/dist/cjs/types/Enum/PaymentMethod.js.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +1 -2
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +0 -6
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -3
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +1 -10
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAppNotification.d.ts +3 -3
- package/dist/cjs/types/Interface/models/IAppNotification.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAppNotification.js.map +1 -1
- package/dist/cjs/types/Interface/models/IMobileNotificationLog.d.ts +2 -4
- package/dist/cjs/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IMobileNotificationLog.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -2
- package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -3
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -3
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Refund.d.ts +5 -2
- package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/mjs/api/resources/Refund.js.map +1 -1
- package/dist/mjs/types/Enum/PaymentMethod.d.ts +10 -22
- package/dist/mjs/types/Enum/PaymentMethod.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PaymentMethod.js +10 -23
- package/dist/mjs/types/Enum/PaymentMethod.js.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +1 -2
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +1 -8
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -3
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +0 -9
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAppNotification.d.ts +3 -3
- package/dist/mjs/types/Interface/models/IAppNotification.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAppNotification.js.map +1 -1
- package/dist/mjs/types/Interface/models/IMobileNotificationLog.d.ts +2 -4
- package/dist/mjs/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IMobileNotificationLog.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -2
- package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -3
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -3
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Refund.ts +2 -2
- package/ts/types/Enum/PaymentMethod.ts +10 -23
- package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +2 -7
- package/ts/types/Interface/api/stripe/Create.ts +0 -7
- package/ts/types/Interface/models/IAppNotification.ts +3 -3
- package/ts/types/Interface/models/IMobileNotificationLog.ts +2 -4
- package/ts/types/Interface/models/IPayment.ts +1 -3
- package/ts/types/index.ts +0 -3
- package/dist/cjs/types/Enum/PaymentAttempt.d.ts +0 -6
- package/dist/cjs/types/Enum/PaymentAttempt.d.ts.map +0 -1
- package/dist/cjs/types/Enum/PaymentAttempt.js +0 -10
- package/dist/cjs/types/Enum/PaymentAttempt.js.map +0 -1
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +0 -11
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js +0 -50
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js.map +0 -1
- package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts +0 -15
- package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IPaymentAttempt.js +0 -3
- package/dist/cjs/types/Interface/models/IPaymentAttempt.js.map +0 -1
- package/dist/mjs/types/Enum/PaymentAttempt.d.ts +0 -6
- package/dist/mjs/types/Enum/PaymentAttempt.d.ts.map +0 -1
- package/dist/mjs/types/Enum/PaymentAttempt.js +0 -7
- package/dist/mjs/types/Enum/PaymentAttempt.js.map +0 -1
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +0 -11
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js +0 -52
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js.map +0 -1
- package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts +0 -15
- package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IPaymentAttempt.js +0 -2
- package/dist/mjs/types/Interface/models/IPaymentAttempt.js.map +0 -1
- package/ts/types/Enum/PaymentAttempt.ts +0 -5
- package/ts/types/Interface/api/refund/QueryRefundPaginated.ts +0 -31
- package/ts/types/Interface/models/IPaymentAttempt.ts +0 -16
|
@@ -1,73 +1,60 @@
|
|
|
1
|
-
export enum PaymentMethodIds {
|
|
2
|
-
DIRECT_DEBIT = 1,
|
|
3
|
-
BANK_TRANSFER = 2,
|
|
4
|
-
BANK_CARD = 3,
|
|
5
|
-
BANK_CHECK = 4,
|
|
6
|
-
DIRECT_DEBIT_REJECTION_1 = 5,
|
|
7
|
-
DIRECT_DEBIT_REJECTION_2 = 6,
|
|
8
|
-
VARIOUS_UNPAID = 7,
|
|
9
|
-
STRIPE_ECB = 8,
|
|
10
|
-
STRIPE = 9,
|
|
11
|
-
CASH = 10,
|
|
12
|
-
}
|
|
13
|
-
|
|
14
1
|
export const PaymentMethod = {
|
|
15
2
|
DIRECT_DEBIT: {
|
|
16
|
-
id:
|
|
3
|
+
id: 1,
|
|
17
4
|
name: 'Prélèvement',
|
|
18
5
|
isSpecial: 0,
|
|
19
6
|
isOverdue: 0,
|
|
20
7
|
},
|
|
21
8
|
BANK_TRANSFER: {
|
|
22
|
-
id:
|
|
9
|
+
id: 2,
|
|
23
10
|
name: 'Virement',
|
|
24
11
|
isSpecial: 0,
|
|
25
12
|
isOverdue: 0,
|
|
26
13
|
},
|
|
27
14
|
BANK_CARD: {
|
|
28
|
-
id:
|
|
15
|
+
id: 3,
|
|
29
16
|
name: 'CB',
|
|
30
17
|
isSpecial: 0,
|
|
31
18
|
isOverdue: 0,
|
|
32
19
|
},
|
|
33
20
|
BANK_CHECK: {
|
|
34
|
-
id:
|
|
21
|
+
id: 4,
|
|
35
22
|
name: 'Chèque',
|
|
36
23
|
isSpecial: 0,
|
|
37
24
|
isOverdue: 0,
|
|
38
25
|
},
|
|
39
26
|
DIRECT_DEBIT_REJECTION_1: {
|
|
40
|
-
id:
|
|
27
|
+
id: 5,
|
|
41
28
|
name: 'Rejet de prélèvement 1',
|
|
42
29
|
isSpecial: 1,
|
|
43
30
|
isOverdue: 1,
|
|
44
31
|
},
|
|
45
32
|
DIRECT_DEBIT_REJECTION_2: {
|
|
46
|
-
id:
|
|
33
|
+
id: 6,
|
|
47
34
|
name: 'Rejet de prélèvement 2',
|
|
48
35
|
isSpecial: 1,
|
|
49
36
|
isOverdue: 1,
|
|
50
37
|
},
|
|
51
38
|
VARIOUS_UNPAID: {
|
|
52
|
-
id:
|
|
39
|
+
id: 7,
|
|
53
40
|
name: 'Impayés divers',
|
|
54
41
|
isSpecial: 1,
|
|
55
42
|
isOverdue: 1,
|
|
56
43
|
},
|
|
57
44
|
STRIPE_ECB: {
|
|
58
|
-
id:
|
|
45
|
+
id: 8,
|
|
59
46
|
name: 'Stripe (ECB)',
|
|
60
47
|
isSpecial: 0,
|
|
61
48
|
isOverdue: 0,
|
|
62
49
|
},
|
|
63
50
|
STRIPE: {
|
|
64
|
-
id:
|
|
51
|
+
id: 9,
|
|
65
52
|
name: 'Stripe',
|
|
66
53
|
isSpecial: 0,
|
|
67
54
|
isOverdue: 0,
|
|
68
55
|
},
|
|
69
56
|
CASH: {
|
|
70
|
-
id:
|
|
57
|
+
id: 10,
|
|
71
58
|
name: 'Espèces',
|
|
72
59
|
isSpecial: 0,
|
|
73
60
|
isOverdue: 0,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { IsArray,
|
|
1
|
+
import { IsArray, IsNumber, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class RegenerateInternalInvoicing {
|
|
5
5
|
@ApiPropertyOptional()
|
|
6
6
|
@IsOptional()
|
|
7
7
|
@IsArray()
|
|
8
|
-
idSociety
|
|
9
|
-
|
|
10
|
-
@ApiPropertyOptional()
|
|
11
|
-
@IsOptional()
|
|
12
|
-
@IsInt()
|
|
13
|
-
idFile?: number | null;
|
|
8
|
+
idSociety: Array<number>;
|
|
14
9
|
|
|
15
10
|
@ApiProperty()
|
|
16
11
|
@IsNumber()
|
|
@@ -3,7 +3,7 @@ import { ISociety } from './ISociety';
|
|
|
3
3
|
import { IUser } from './IUser';
|
|
4
4
|
|
|
5
5
|
export interface IAppNotification {
|
|
6
|
-
id
|
|
6
|
+
id: number;
|
|
7
7
|
title: string;
|
|
8
8
|
message: string;
|
|
9
9
|
link?: string;
|
|
@@ -17,6 +17,6 @@ export interface IAppNotification {
|
|
|
17
17
|
updatedAt?: Date | null;
|
|
18
18
|
|
|
19
19
|
// associations
|
|
20
|
-
society
|
|
21
|
-
user
|
|
20
|
+
society: ISociety;
|
|
21
|
+
user: IUser;
|
|
22
22
|
}
|
|
@@ -3,10 +3,8 @@ import { NotificationTypeEnum } from '../../Enum/NotificationType';
|
|
|
3
3
|
export interface IMobileNotificationLog {
|
|
4
4
|
id: number;
|
|
5
5
|
idType: NotificationTypeEnum;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/** @deprecated useless */
|
|
9
|
-
nextSend?: Date | null;
|
|
6
|
+
lastSent: Date | null;
|
|
7
|
+
nextSend: Date | null;
|
|
10
8
|
success: boolean;
|
|
11
9
|
error: string | null;
|
|
12
10
|
count: number;
|
|
@@ -4,7 +4,6 @@ import { IUser } from './IUser';
|
|
|
4
4
|
import { IExercice } from './IExercice';
|
|
5
5
|
import { IFile } from './IFile';
|
|
6
6
|
import { IPaymentExpectation } from './IPaymentExpectation';
|
|
7
|
-
import { IPaymentAttempt } from './IPaymentAttempt';
|
|
8
7
|
|
|
9
8
|
// payments
|
|
10
9
|
export interface IPayment {
|
|
@@ -16,7 +15,7 @@ export interface IPayment {
|
|
|
16
15
|
isOverpaid?: boolean;
|
|
17
16
|
isFirst?: boolean;
|
|
18
17
|
// @deprecated Use isCollectable instead
|
|
19
|
-
toCollect?: boolean;
|
|
18
|
+
toCollect?: boolean;
|
|
20
19
|
countRejects?: number;
|
|
21
20
|
isCollectable?: boolean;
|
|
22
21
|
isAsset?: boolean;
|
|
@@ -45,5 +44,4 @@ export interface IPayment {
|
|
|
45
44
|
user?: IUser;
|
|
46
45
|
exercice?: IExercice;
|
|
47
46
|
files?: IFile;
|
|
48
|
-
paymentAttempts?: IPaymentAttempt[];
|
|
49
47
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -323,7 +323,6 @@ export * from './Interface/models/IReminderAttachment';
|
|
|
323
323
|
export * from './Interface/models/IStateBankAccount';
|
|
324
324
|
export * from './Interface/models/IAIQuestion';
|
|
325
325
|
export * from './Interface/models/IAIConversation';
|
|
326
|
-
export * from './Interface/models/IPaymentAttempt';
|
|
327
326
|
|
|
328
327
|
// Schemas
|
|
329
328
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
@@ -554,7 +553,6 @@ export * from './Enum/SocietyTypeExportCsv';
|
|
|
554
553
|
export * from './Enum/TeamType';
|
|
555
554
|
export * from './Enum/PartneredAccountantServiceType';
|
|
556
555
|
export * from './Enum/PartneredAccountantServiceTypeId';
|
|
557
|
-
export * from './Enum/PaymentAttempt';
|
|
558
556
|
|
|
559
557
|
// Interfaces API
|
|
560
558
|
export * from './Interface/api/exercice/ReadExercice';
|
|
@@ -1163,4 +1161,3 @@ export * from './Interface/api/regulation/Read';
|
|
|
1163
1161
|
export * from './Interface/api/regulation/Create';
|
|
1164
1162
|
export * from './Interface/api/marketing/NewLeadSheet';
|
|
1165
1163
|
export * from './Interface/api/ai/AskQuestionCollaborator';
|
|
1166
|
-
export * from './Interface/api/refund/QueryRefundPaginated';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentAttempt.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentAttempt.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,KAAK,IAAI;IACT,OAAO,IAAI;IACX,cAAc,IAAI;CACnB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentAttemptStatus = void 0;
|
|
4
|
-
var PaymentAttemptStatus;
|
|
5
|
-
(function (PaymentAttemptStatus) {
|
|
6
|
-
PaymentAttemptStatus[PaymentAttemptStatus["ERROR"] = 0] = "ERROR";
|
|
7
|
-
PaymentAttemptStatus[PaymentAttemptStatus["SUCCESS"] = 1] = "SUCCESS";
|
|
8
|
-
PaymentAttemptStatus[PaymentAttemptStatus["BLOCKING_ERROR"] = 3] = "BLOCKING_ERROR";
|
|
9
|
-
})(PaymentAttemptStatus || (exports.PaymentAttemptStatus = PaymentAttemptStatus = {}));
|
|
10
|
-
//# sourceMappingURL=PaymentAttempt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentAttempt.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentAttempt.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,qEAAW,CAAA;IACX,mFAAkB,CAAA;AACpB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B","sourcesContent":["export enum PaymentAttemptStatus {\n ERROR = 0,\n SUCCESS = 1,\n BLOCKING_ERROR = 3, // Erreur bloquante, plus aucune tentative de paiement n'aura lieu\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
2
|
-
import { Order } from '../BaseRequest';
|
|
3
|
-
export declare class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
|
|
4
|
-
search?: string;
|
|
5
|
-
year: number;
|
|
6
|
-
month?: number;
|
|
7
|
-
motif?: number;
|
|
8
|
-
orderBy?: string;
|
|
9
|
-
descending?: boolean;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=QueryRefundPaginated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryRefundPaginated = void 0;
|
|
13
|
-
const utils_1 = require("../../../../utils");
|
|
14
|
-
const BasePaginate_1 = require("../BasePaginate");
|
|
15
|
-
const class_validator_1 = require("class-validator");
|
|
16
|
-
class QueryRefundPaginated extends BasePaginate_1.RequiredQueryPaginate {
|
|
17
|
-
}
|
|
18
|
-
exports.QueryRefundPaginated = QueryRefundPaginated;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], QueryRefundPaginated.prototype, "search", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, utils_1.ApiProperty)(),
|
|
25
|
-
(0, class_validator_1.IsInt)(),
|
|
26
|
-
__metadata("design:type", Number)
|
|
27
|
-
], QueryRefundPaginated.prototype, "year", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
30
|
-
(0, class_validator_1.IsInt)(),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], QueryRefundPaginated.prototype, "month", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
36
|
-
(0, class_validator_1.IsInt)(),
|
|
37
|
-
(0, class_validator_1.IsOptional)(),
|
|
38
|
-
__metadata("design:type", Number)
|
|
39
|
-
], QueryRefundPaginated.prototype, "motif", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], QueryRefundPaginated.prototype, "orderBy", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
46
|
-
(0, class_validator_1.IsBoolean)(),
|
|
47
|
-
(0, class_validator_1.IsOptional)(),
|
|
48
|
-
__metadata("design:type", Boolean)
|
|
49
|
-
], QueryRefundPaginated.prototype, "descending", void 0);
|
|
50
|
-
//# sourceMappingURL=QueryRefundPaginated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,kDAAwD;AAExD,qDAA+D;AAE/D,MAAa,oBAAqB,SAAQ,oCAAqB;CAyB9D;AAzBD,oDAyBC;AAvBC;IADC,IAAA,2BAAmB,GAAE;;oDACN;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;kDACK;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACE;AAGf;IADC,IAAA,2BAAmB,GAAE;;qDACL;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PaymentAttemptStatus } from '../../Enum/PaymentAttempt';
|
|
2
|
-
import { PaymentMethodIds } from '../../Enum/PaymentMethod';
|
|
3
|
-
import { IPayment } from './IPayment';
|
|
4
|
-
export interface IPaymentAttempt {
|
|
5
|
-
id?: number;
|
|
6
|
-
reference: string | null;
|
|
7
|
-
comment: string | null;
|
|
8
|
-
status: PaymentAttemptStatus;
|
|
9
|
-
idPaymentMethod: PaymentMethodIds;
|
|
10
|
-
idPayment: number;
|
|
11
|
-
createdAt?: string;
|
|
12
|
-
updatedAt?: string;
|
|
13
|
-
payment?: IPayment;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=IPaymentAttempt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentAttempt.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentAttempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,eAAe,EAAE,gBAAgB,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentAttempt.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentAttempt.ts"],"names":[],"mappings":"","sourcesContent":["import { PaymentAttemptStatus } from '../../Enum/PaymentAttempt';\nimport { PaymentMethodIds } from '../../Enum/PaymentMethod';\nimport { IPayment } from './IPayment';\n\nexport interface IPaymentAttempt {\n id?: number;\n reference: string | null;\n comment: string | null;\n status: PaymentAttemptStatus;\n idPaymentMethod: PaymentMethodIds;\n idPayment: number;\n createdAt?: string;\n updatedAt?: string;\n\n payment?: IPayment;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentAttempt.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentAttempt.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,KAAK,IAAI;IACT,OAAO,IAAI;IACX,cAAc,IAAI;CACnB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var PaymentAttemptStatus;
|
|
2
|
-
(function (PaymentAttemptStatus) {
|
|
3
|
-
PaymentAttemptStatus[PaymentAttemptStatus["ERROR"] = 0] = "ERROR";
|
|
4
|
-
PaymentAttemptStatus[PaymentAttemptStatus["SUCCESS"] = 1] = "SUCCESS";
|
|
5
|
-
PaymentAttemptStatus[PaymentAttemptStatus["BLOCKING_ERROR"] = 3] = "BLOCKING_ERROR";
|
|
6
|
-
})(PaymentAttemptStatus || (PaymentAttemptStatus = {}));
|
|
7
|
-
//# sourceMappingURL=PaymentAttempt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentAttempt.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentAttempt.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,iEAAS,CAAA;IACT,qEAAW,CAAA;IACX,mFAAkB,CAAA;AACpB,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B","sourcesContent":["export enum PaymentAttemptStatus {\n ERROR = 0,\n SUCCESS = 1,\n BLOCKING_ERROR = 3, // Erreur bloquante, plus aucune tentative de paiement n'aura lieu\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
2
|
-
import { Order } from '../BaseRequest';
|
|
3
|
-
export declare class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
|
|
4
|
-
search?: string;
|
|
5
|
-
year: number;
|
|
6
|
-
month?: number;
|
|
7
|
-
motif?: number;
|
|
8
|
-
orderBy?: string;
|
|
9
|
-
descending?: boolean;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=QueryRefundPaginated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
11
|
-
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
12
|
-
import { IsBoolean, IsInt, IsOptional } from 'class-validator';
|
|
13
|
-
export class QueryRefundPaginated extends RequiredQueryPaginate {
|
|
14
|
-
search;
|
|
15
|
-
year;
|
|
16
|
-
month;
|
|
17
|
-
motif;
|
|
18
|
-
orderBy;
|
|
19
|
-
descending;
|
|
20
|
-
}
|
|
21
|
-
__decorate([
|
|
22
|
-
ApiPropertyOptional(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], QueryRefundPaginated.prototype, "search", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
ApiProperty(),
|
|
27
|
-
IsInt(),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], QueryRefundPaginated.prototype, "year", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
ApiPropertyOptional(),
|
|
32
|
-
IsInt(),
|
|
33
|
-
IsOptional(),
|
|
34
|
-
__metadata("design:type", Number)
|
|
35
|
-
], QueryRefundPaginated.prototype, "month", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
ApiPropertyOptional(),
|
|
38
|
-
IsInt(),
|
|
39
|
-
IsOptional(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], QueryRefundPaginated.prototype, "motif", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
ApiPropertyOptional(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], QueryRefundPaginated.prototype, "orderBy", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
ApiPropertyOptional(),
|
|
48
|
-
IsBoolean(),
|
|
49
|
-
IsOptional(),
|
|
50
|
-
__metadata("design:type", Boolean)
|
|
51
|
-
], QueryRefundPaginated.prototype, "descending", void 0);
|
|
52
|
-
//# sourceMappingURL=QueryRefundPaginated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,OAAO,oBAAqB,SAAQ,qBAAqB;IAE7D,MAAM,CAAU;IAIhB,IAAI,CAAS;IAKb,KAAK,CAAU;IAKf,KAAK,CAAU;IAGf,OAAO,CAAU;IAKjB,UAAU,CAAW;CACtB;AAvBC;IADC,mBAAmB,EAAE;;oDACN;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;kDACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAGf;IADC,mBAAmB,EAAE;;qDACL;AAKjB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PaymentAttemptStatus } from '../../Enum/PaymentAttempt';
|
|
2
|
-
import { PaymentMethodIds } from '../../Enum/PaymentMethod';
|
|
3
|
-
import { IPayment } from './IPayment';
|
|
4
|
-
export interface IPaymentAttempt {
|
|
5
|
-
id?: number;
|
|
6
|
-
reference: string | null;
|
|
7
|
-
comment: string | null;
|
|
8
|
-
status: PaymentAttemptStatus;
|
|
9
|
-
idPaymentMethod: PaymentMethodIds;
|
|
10
|
-
idPayment: number;
|
|
11
|
-
createdAt?: string;
|
|
12
|
-
updatedAt?: string;
|
|
13
|
-
payment?: IPayment;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=IPaymentAttempt.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentAttempt.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentAttempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,eAAe,EAAE,gBAAgB,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentAttempt.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentAttempt.ts"],"names":[],"mappings":"","sourcesContent":["import { PaymentAttemptStatus } from '../../Enum/PaymentAttempt';\nimport { PaymentMethodIds } from '../../Enum/PaymentMethod';\nimport { IPayment } from './IPayment';\n\nexport interface IPaymentAttempt {\n id?: number;\n reference: string | null;\n comment: string | null;\n status: PaymentAttemptStatus;\n idPaymentMethod: PaymentMethodIds;\n idPayment: number;\n createdAt?: string;\n updatedAt?: string;\n\n payment?: IPayment;\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
-
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
3
|
-
import { Order } from '../BaseRequest';
|
|
4
|
-
import { IsBoolean, IsInt, IsOptional } from 'class-validator';
|
|
5
|
-
|
|
6
|
-
export class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
|
|
7
|
-
@ApiPropertyOptional()
|
|
8
|
-
search?: string;
|
|
9
|
-
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
@IsInt()
|
|
12
|
-
year: number;
|
|
13
|
-
|
|
14
|
-
@ApiPropertyOptional()
|
|
15
|
-
@IsInt()
|
|
16
|
-
@IsOptional()
|
|
17
|
-
month?: number;
|
|
18
|
-
|
|
19
|
-
@ApiPropertyOptional()
|
|
20
|
-
@IsInt()
|
|
21
|
-
@IsOptional()
|
|
22
|
-
motif?: number;
|
|
23
|
-
|
|
24
|
-
@ApiPropertyOptional()
|
|
25
|
-
orderBy?: string;
|
|
26
|
-
|
|
27
|
-
@ApiPropertyOptional()
|
|
28
|
-
@IsBoolean()
|
|
29
|
-
@IsOptional()
|
|
30
|
-
descending?: boolean;
|
|
31
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PaymentAttemptStatus } from '../../Enum/PaymentAttempt';
|
|
2
|
-
import { PaymentMethodIds } from '../../Enum/PaymentMethod';
|
|
3
|
-
import { IPayment } from './IPayment';
|
|
4
|
-
|
|
5
|
-
export interface IPaymentAttempt {
|
|
6
|
-
id?: number;
|
|
7
|
-
reference: string | null;
|
|
8
|
-
comment: string | null;
|
|
9
|
-
status: PaymentAttemptStatus;
|
|
10
|
-
idPaymentMethod: PaymentMethodIds;
|
|
11
|
-
idPayment: number;
|
|
12
|
-
createdAt?: string;
|
|
13
|
-
updatedAt?: string;
|
|
14
|
-
|
|
15
|
-
payment?: IPayment;
|
|
16
|
-
}
|