@silexpert/core 1.3.64 → 1.3.65
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 +21 -1
- package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/cjs/api/resources/Refund.js +12 -0
- package/dist/cjs/api/resources/Refund.js.map +1 -1
- package/dist/cjs/types/Enum/PaymentAttempt.d.ts +6 -0
- package/dist/cjs/types/Enum/PaymentAttempt.d.ts.map +1 -0
- package/dist/cjs/types/Enum/PaymentAttempt.js +10 -0
- package/dist/cjs/types/Enum/PaymentAttempt.js.map +1 -0
- package/dist/cjs/types/Enum/PaymentMethod.d.ts +22 -10
- package/dist/cjs/types/Enum/PaymentMethod.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PaymentMethod.js +24 -11
- package/dist/cjs/types/Enum/PaymentMethod.js.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +2 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +6 -0
- package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +11 -0
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js +50 -0
- package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js.map +1 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +10 -1
- 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 +4 -2
- 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 +2 -0
- 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/Interface/models/IPaymentAttempt.d.ts +15 -0
- package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IPaymentAttempt.js +3 -0
- package/dist/cjs/types/Interface/models/IPaymentAttempt.js.map +1 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Refund.d.ts +21 -1
- package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/mjs/api/resources/Refund.js +12 -0
- package/dist/mjs/api/resources/Refund.js.map +1 -1
- package/dist/mjs/types/Enum/PaymentAttempt.d.ts +6 -0
- package/dist/mjs/types/Enum/PaymentAttempt.d.ts.map +1 -0
- package/dist/mjs/types/Enum/PaymentAttempt.js +7 -0
- package/dist/mjs/types/Enum/PaymentAttempt.js.map +1 -0
- package/dist/mjs/types/Enum/PaymentMethod.d.ts +22 -10
- package/dist/mjs/types/Enum/PaymentMethod.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PaymentMethod.js +23 -10
- package/dist/mjs/types/Enum/PaymentMethod.js.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +2 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +8 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +11 -0
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js +52 -0
- package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js.map +1 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +9 -0
- 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 +4 -2
- 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 +2 -0
- 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/Interface/models/IPaymentAttempt.d.ts +15 -0
- package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IPaymentAttempt.js +2 -0
- package/dist/mjs/types/Interface/models/IPaymentAttempt.js.map +1 -0
- package/dist/mjs/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Refund.ts +17 -1
- package/ts/types/Enum/PaymentAttempt.ts +5 -0
- package/ts/types/Enum/PaymentMethod.ts +23 -10
- package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +7 -2
- package/ts/types/Interface/api/refund/QueryRefundPaginated.ts +31 -0
- package/ts/types/Interface/api/stripe/Create.ts +7 -0
- package/ts/types/Interface/models/IAppNotification.ts +3 -3
- package/ts/types/Interface/models/IMobileNotificationLog.ts +4 -2
- package/ts/types/Interface/models/IPayment.ts +3 -1
- package/ts/types/Interface/models/IPaymentAttempt.ts +16 -0
- package/ts/types/index.ts +3 -0
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { IRefund } from '../../types';
|
|
2
|
+
import { IRefund, QueryRefundPaginated } from '../../types';
|
|
3
3
|
export declare class Refund extends Resource {
|
|
4
4
|
create(payload: IRefund): Promise<IRefund>;
|
|
5
5
|
update(id: number, params: Partial<IRefund>): Promise<boolean>;
|
|
6
|
+
getAll(query: QueryRefundPaginated): Promise<import("axios").AxiosResponse<never>>;
|
|
7
|
+
getOneById(id: number): Promise<import("axios").AxiosResponse<never>>;
|
|
8
|
+
validate(id: number, params: Partial<IRefund>): Promise<import("axios").AxiosResponse<{
|
|
9
|
+
id?: number | undefined;
|
|
10
|
+
amount?: number | null | undefined;
|
|
11
|
+
comment?: string | null | undefined;
|
|
12
|
+
refundDate?: Date | null | undefined;
|
|
13
|
+
processed?: boolean | undefined;
|
|
14
|
+
isAmountChecked?: boolean | undefined;
|
|
15
|
+
idRefundMotif?: number | undefined;
|
|
16
|
+
idSociety?: number | undefined;
|
|
17
|
+
idUserDemand?: number | undefined;
|
|
18
|
+
idFile?: number | null | undefined;
|
|
19
|
+
createdAt?: (Date | null) | undefined;
|
|
20
|
+
updatedAt?: (Date | null) | undefined;
|
|
21
|
+
society?: import("../../types").ISociety | undefined;
|
|
22
|
+
file?: import("../../types").IFile | undefined;
|
|
23
|
+
userDemand?: import("../../types").IUser | undefined;
|
|
24
|
+
}>>;
|
|
25
|
+
delete(id: number): Promise<import("axios").AxiosResponse<never>>;
|
|
6
26
|
}
|
|
7
27
|
//# sourceMappingURL=Refund.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Refund.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Refund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Refund.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Refund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAE5D,qBAAa,MAAO,SAAQ,QAAQ;IAC3B,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAG1C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC;IAI9D,MAAM,CAAC,KAAK,EAAE,oBAAoB;IAIlC,UAAU,CAAC,EAAE,EAAE,MAAM;IAIrB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;IAI7C,MAAM,CAAC,EAAE,EAAE,MAAM;CAGzB"}
|
|
@@ -9,6 +9,18 @@ class Refund extends Resource_1.Resource {
|
|
|
9
9
|
update(id, params) {
|
|
10
10
|
return this.axios.$patch(`/refunds/${id}`, Object.assign({}, params));
|
|
11
11
|
}
|
|
12
|
+
getAll(query) {
|
|
13
|
+
return this.axios.$get('/refunds', { params: query });
|
|
14
|
+
}
|
|
15
|
+
getOneById(id) {
|
|
16
|
+
return this.axios.$get(`/refunds/${id}`);
|
|
17
|
+
}
|
|
18
|
+
validate(id, params) {
|
|
19
|
+
return this.axios.$put(`/refunds/${id}`, Object.assign({}, params));
|
|
20
|
+
}
|
|
21
|
+
delete(id) {
|
|
22
|
+
return this.axios.$delete(`/refunds/${id}`);
|
|
23
|
+
}
|
|
12
24
|
}
|
|
13
25
|
exports.Refund = Refund;
|
|
14
26
|
//# sourceMappingURL=Refund.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Refund.js","sourceRoot":"","sources":["../../../../ts/api/resources/Refund.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,MAAO,SAAQ,mBAAQ;IAC3B,MAAM,CAAC,OAAgB;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IACM,MAAM,CAAC,EAAU,EAAE,MAAwB;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,oBAAO,MAAM,EAAG,CAAC;IAC5D,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"Refund.js","sourceRoot":"","sources":["../../../../ts/api/resources/Refund.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAGvC,MAAa,MAAO,SAAQ,mBAAQ;IAC3B,MAAM,CAAC,OAAgB;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/C,CAAC;IACM,MAAM,CAAC,EAAU,EAAE,MAAwB;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,oBAAO,MAAM,EAAG,CAAC;IAC5D,CAAC;IAEM,MAAM,CAAC,KAA2B;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACxD,CAAC;IAEM,UAAU,CAAC,EAAU;QAC1B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAC3C,CAAC;IAEM,QAAQ,CAAC,EAAU,EAAE,MAAwB;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,oBAAO,MAAM,EAAG,CAAC;IAC1D,CAAC;IAEM,MAAM,CAAC,EAAU;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAC9C,CAAC;CACF;AAvBD,wBAuBC","sourcesContent":["import { Resource } from '../Resource';\nimport { IRefund, QueryRefundPaginated } from '../../types';\n\nexport class Refund extends Resource {\n public create(payload: IRefund): Promise<IRefund> {\n return this.axios.$post('/refunds', payload);\n }\n public update(id: number, params: Partial<IRefund>): Promise<boolean> {\n return this.axios.$patch(`/refunds/${id}`, { ...params });\n }\n\n public getAll(query: QueryRefundPaginated) {\n return this.axios.$get('/refunds', { params: query });\n }\n\n public getOneById(id: number) {\n return this.axios.$get(`/refunds/${id}`);\n }\n\n public validate(id: number, params: Partial<IRefund>) {\n return this.axios.$put(`/refunds/${id}`, { ...params });\n }\n\n public delete(id: number) {\n return this.axios.$delete(`/refunds/${id}`);\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,60 +1,72 @@
|
|
|
1
|
+
export declare 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
|
+
}
|
|
1
13
|
export declare const PaymentMethod: {
|
|
2
14
|
DIRECT_DEBIT: {
|
|
3
|
-
id:
|
|
15
|
+
id: PaymentMethodIds;
|
|
4
16
|
name: string;
|
|
5
17
|
isSpecial: number;
|
|
6
18
|
isOverdue: number;
|
|
7
19
|
};
|
|
8
20
|
BANK_TRANSFER: {
|
|
9
|
-
id:
|
|
21
|
+
id: PaymentMethodIds;
|
|
10
22
|
name: string;
|
|
11
23
|
isSpecial: number;
|
|
12
24
|
isOverdue: number;
|
|
13
25
|
};
|
|
14
26
|
BANK_CARD: {
|
|
15
|
-
id:
|
|
27
|
+
id: PaymentMethodIds;
|
|
16
28
|
name: string;
|
|
17
29
|
isSpecial: number;
|
|
18
30
|
isOverdue: number;
|
|
19
31
|
};
|
|
20
32
|
BANK_CHECK: {
|
|
21
|
-
id:
|
|
33
|
+
id: PaymentMethodIds;
|
|
22
34
|
name: string;
|
|
23
35
|
isSpecial: number;
|
|
24
36
|
isOverdue: number;
|
|
25
37
|
};
|
|
26
38
|
DIRECT_DEBIT_REJECTION_1: {
|
|
27
|
-
id:
|
|
39
|
+
id: PaymentMethodIds;
|
|
28
40
|
name: string;
|
|
29
41
|
isSpecial: number;
|
|
30
42
|
isOverdue: number;
|
|
31
43
|
};
|
|
32
44
|
DIRECT_DEBIT_REJECTION_2: {
|
|
33
|
-
id:
|
|
45
|
+
id: PaymentMethodIds;
|
|
34
46
|
name: string;
|
|
35
47
|
isSpecial: number;
|
|
36
48
|
isOverdue: number;
|
|
37
49
|
};
|
|
38
50
|
VARIOUS_UNPAID: {
|
|
39
|
-
id:
|
|
51
|
+
id: PaymentMethodIds;
|
|
40
52
|
name: string;
|
|
41
53
|
isSpecial: number;
|
|
42
54
|
isOverdue: number;
|
|
43
55
|
};
|
|
44
56
|
STRIPE_ECB: {
|
|
45
|
-
id:
|
|
57
|
+
id: PaymentMethodIds;
|
|
46
58
|
name: string;
|
|
47
59
|
isSpecial: number;
|
|
48
60
|
isOverdue: number;
|
|
49
61
|
};
|
|
50
62
|
STRIPE: {
|
|
51
|
-
id:
|
|
63
|
+
id: PaymentMethodIds;
|
|
52
64
|
name: string;
|
|
53
65
|
isSpecial: number;
|
|
54
66
|
isOverdue: number;
|
|
55
67
|
};
|
|
56
68
|
CASH: {
|
|
57
|
-
id:
|
|
69
|
+
id: PaymentMethodIds;
|
|
58
70
|
name: string;
|
|
59
71
|
isSpecial: number;
|
|
60
72
|
isOverdue: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethod.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;CAWzB,CAAC"}
|
|
1
|
+
{"version":3,"file":"PaymentMethod.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,YAAY,IAAI;IAChB,aAAa,IAAI;IACjB,SAAS,IAAI;IACb,UAAU,IAAI;IACd,wBAAwB,IAAI;IAC5B,wBAAwB,IAAI;IAC5B,cAAc,IAAI;IAClB,UAAU,IAAI;IACd,MAAM,IAAI;IACV,IAAI,KAAK;CACV;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;CAWzB,CAAC"}
|
|
@@ -1,63 +1,76 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentParams = exports.PaymentMethod = void 0;
|
|
3
|
+
exports.PaymentParams = exports.PaymentMethod = exports.PaymentMethodIds = void 0;
|
|
4
|
+
var PaymentMethodIds;
|
|
5
|
+
(function (PaymentMethodIds) {
|
|
6
|
+
PaymentMethodIds[PaymentMethodIds["DIRECT_DEBIT"] = 1] = "DIRECT_DEBIT";
|
|
7
|
+
PaymentMethodIds[PaymentMethodIds["BANK_TRANSFER"] = 2] = "BANK_TRANSFER";
|
|
8
|
+
PaymentMethodIds[PaymentMethodIds["BANK_CARD"] = 3] = "BANK_CARD";
|
|
9
|
+
PaymentMethodIds[PaymentMethodIds["BANK_CHECK"] = 4] = "BANK_CHECK";
|
|
10
|
+
PaymentMethodIds[PaymentMethodIds["DIRECT_DEBIT_REJECTION_1"] = 5] = "DIRECT_DEBIT_REJECTION_1";
|
|
11
|
+
PaymentMethodIds[PaymentMethodIds["DIRECT_DEBIT_REJECTION_2"] = 6] = "DIRECT_DEBIT_REJECTION_2";
|
|
12
|
+
PaymentMethodIds[PaymentMethodIds["VARIOUS_UNPAID"] = 7] = "VARIOUS_UNPAID";
|
|
13
|
+
PaymentMethodIds[PaymentMethodIds["STRIPE_ECB"] = 8] = "STRIPE_ECB";
|
|
14
|
+
PaymentMethodIds[PaymentMethodIds["STRIPE"] = 9] = "STRIPE";
|
|
15
|
+
PaymentMethodIds[PaymentMethodIds["CASH"] = 10] = "CASH";
|
|
16
|
+
})(PaymentMethodIds || (exports.PaymentMethodIds = PaymentMethodIds = {}));
|
|
4
17
|
exports.PaymentMethod = {
|
|
5
18
|
DIRECT_DEBIT: {
|
|
6
|
-
id:
|
|
19
|
+
id: PaymentMethodIds.DIRECT_DEBIT,
|
|
7
20
|
name: 'Prélèvement',
|
|
8
21
|
isSpecial: 0,
|
|
9
22
|
isOverdue: 0,
|
|
10
23
|
},
|
|
11
24
|
BANK_TRANSFER: {
|
|
12
|
-
id:
|
|
25
|
+
id: PaymentMethodIds.BANK_TRANSFER,
|
|
13
26
|
name: 'Virement',
|
|
14
27
|
isSpecial: 0,
|
|
15
28
|
isOverdue: 0,
|
|
16
29
|
},
|
|
17
30
|
BANK_CARD: {
|
|
18
|
-
id:
|
|
31
|
+
id: PaymentMethodIds.BANK_CARD,
|
|
19
32
|
name: 'CB',
|
|
20
33
|
isSpecial: 0,
|
|
21
34
|
isOverdue: 0,
|
|
22
35
|
},
|
|
23
36
|
BANK_CHECK: {
|
|
24
|
-
id:
|
|
37
|
+
id: PaymentMethodIds.BANK_CHECK,
|
|
25
38
|
name: 'Chèque',
|
|
26
39
|
isSpecial: 0,
|
|
27
40
|
isOverdue: 0,
|
|
28
41
|
},
|
|
29
42
|
DIRECT_DEBIT_REJECTION_1: {
|
|
30
|
-
id:
|
|
43
|
+
id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_1,
|
|
31
44
|
name: 'Rejet de prélèvement 1',
|
|
32
45
|
isSpecial: 1,
|
|
33
46
|
isOverdue: 1,
|
|
34
47
|
},
|
|
35
48
|
DIRECT_DEBIT_REJECTION_2: {
|
|
36
|
-
id:
|
|
49
|
+
id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_2,
|
|
37
50
|
name: 'Rejet de prélèvement 2',
|
|
38
51
|
isSpecial: 1,
|
|
39
52
|
isOverdue: 1,
|
|
40
53
|
},
|
|
41
54
|
VARIOUS_UNPAID: {
|
|
42
|
-
id:
|
|
55
|
+
id: PaymentMethodIds.VARIOUS_UNPAID,
|
|
43
56
|
name: 'Impayés divers',
|
|
44
57
|
isSpecial: 1,
|
|
45
58
|
isOverdue: 1,
|
|
46
59
|
},
|
|
47
60
|
STRIPE_ECB: {
|
|
48
|
-
id:
|
|
61
|
+
id: PaymentMethodIds.STRIPE_ECB,
|
|
49
62
|
name: 'Stripe (ECB)',
|
|
50
63
|
isSpecial: 0,
|
|
51
64
|
isOverdue: 0,
|
|
52
65
|
},
|
|
53
66
|
STRIPE: {
|
|
54
|
-
id:
|
|
67
|
+
id: PaymentMethodIds.STRIPE,
|
|
55
68
|
name: 'Stripe',
|
|
56
69
|
isSpecial: 0,
|
|
57
70
|
isOverdue: 0,
|
|
58
71
|
},
|
|
59
72
|
CASH: {
|
|
60
|
-
id:
|
|
73
|
+
id: PaymentMethodIds.CASH,
|
|
61
74
|
name: 'Espèces',
|
|
62
75
|
isSpecial: 0,
|
|
63
76
|
isOverdue: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethod.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PaymentMethod.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAWX;AAXD,WAAY,gBAAgB;IAC1B,uEAAgB,CAAA;IAChB,yEAAiB,CAAA;IACjB,iEAAa,CAAA;IACb,mEAAc,CAAA;IACd,+FAA4B,CAAA;IAC5B,+FAA4B,CAAA;IAC5B,2EAAkB,CAAA;IAClB,mEAAc,CAAA;IACd,2DAAU,CAAA;IACV,wDAAS,CAAA;AACX,CAAC,EAXW,gBAAgB,gCAAhB,gBAAgB,QAW3B;AAEY,QAAA,aAAa,GAAG;IAC3B,YAAY,EAAE;QACZ,EAAE,EAAE,gBAAgB,CAAC,YAAY;QACjC,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,aAAa,EAAE;QACb,EAAE,EAAE,gBAAgB,CAAC,aAAa;QAClC,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,SAAS,EAAE;QACT,EAAE,EAAE,gBAAgB,CAAC,SAAS;QAC9B,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,UAAU,EAAE;QACV,EAAE,EAAE,gBAAgB,CAAC,UAAU;QAC/B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,gBAAgB,CAAC,wBAAwB;QAC7C,IAAI,EAAE,wBAAwB;QAC9B,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,gBAAgB,CAAC,wBAAwB;QAC7C,IAAI,EAAE,wBAAwB;QAC9B,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB,CAAC,cAAc;QACnC,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,UAAU,EAAE;QACV,EAAE,EAAE,gBAAgB,CAAC,UAAU;QAC/B,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,MAAM,EAAE;QACN,EAAE,EAAE,gBAAgB,CAAC,MAAM;QAC3B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,gBAAgB,CAAC,IAAI;QACzB,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,CAAC;KACb;CACF,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,UAAU,EAAE;QACV,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,mBAAmB;KAC3B;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,sBAAsB;QAC5B,KAAK,EAAE,kBAAkB;KAC1B;CACF,CAAC","sourcesContent":["export enum PaymentMethodIds {\n DIRECT_DEBIT = 1,\n BANK_TRANSFER = 2,\n BANK_CARD = 3,\n BANK_CHECK = 4,\n DIRECT_DEBIT_REJECTION_1 = 5,\n DIRECT_DEBIT_REJECTION_2 = 6,\n VARIOUS_UNPAID = 7,\n STRIPE_ECB = 8,\n STRIPE = 9,\n CASH = 10,\n}\n\nexport const PaymentMethod = {\n DIRECT_DEBIT: {\n id: PaymentMethodIds.DIRECT_DEBIT,\n name: 'Prélèvement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_TRANSFER: {\n id: PaymentMethodIds.BANK_TRANSFER,\n name: 'Virement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CARD: {\n id: PaymentMethodIds.BANK_CARD,\n name: 'CB',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CHECK: {\n id: PaymentMethodIds.BANK_CHECK,\n name: 'Chèque',\n isSpecial: 0,\n isOverdue: 0,\n },\n DIRECT_DEBIT_REJECTION_1: {\n id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_1,\n name: 'Rejet de prélèvement 1',\n isSpecial: 1,\n isOverdue: 1,\n },\n DIRECT_DEBIT_REJECTION_2: {\n id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_2,\n name: 'Rejet de prélèvement 2',\n isSpecial: 1,\n isOverdue: 1,\n },\n VARIOUS_UNPAID: {\n id: PaymentMethodIds.VARIOUS_UNPAID,\n name: 'Impayés divers',\n isSpecial: 1,\n isOverdue: 1,\n },\n STRIPE_ECB: {\n id: PaymentMethodIds.STRIPE_ECB,\n name: 'Stripe (ECB)',\n isSpecial: 0,\n isOverdue: 0,\n },\n STRIPE: {\n id: PaymentMethodIds.STRIPE,\n name: 'Stripe',\n isSpecial: 0,\n isOverdue: 0,\n },\n CASH: {\n id: PaymentMethodIds.CASH,\n name: 'Espèces',\n isSpecial: 0,\n isOverdue: 0,\n },\n};\n\nexport const PaymentParams = {\n NO_INVOICE: {\n id: 1,\n name: 'Pas de facture',\n field: 'noInternalInvoice',\n },\n HIDDEN_TO_CUSTOMER: {\n id: 2,\n name: 'Caché pour le client',\n field: 'isHiddenCustomer',\n },\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegenerateInternalInvoicing.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":"AAGA,qBAAa,2BAA2B;IAItC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"RegenerateInternalInvoicing.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":"AAGA,qBAAa,2BAA2B;IAItC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAK1B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIvB,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -21,6 +21,12 @@ __decorate([
|
|
|
21
21
|
(0, class_validator_1.IsArray)(),
|
|
22
22
|
__metadata("design:type", Array)
|
|
23
23
|
], RegenerateInternalInvoicing.prototype, "idSociety", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsInt)(),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], RegenerateInternalInvoicing.prototype, "idFile", void 0);
|
|
24
30
|
__decorate([
|
|
25
31
|
(0, utils_1.ApiProperty)(),
|
|
26
32
|
(0, class_validator_1.IsNumber)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegenerateInternalInvoicing.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RegenerateInternalInvoicing.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,6CAAqE;AAErE,MAAa,2BAA2B;CAkBvC;AAlBD,kEAkBC;AAdC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;8BACE,KAAK;8DAAS;AAK1B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;2DACe;AAIvB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACE","sourcesContent":["import { IsArray, IsInt, IsNumber, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class RegenerateInternalInvoicing {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idSociety?: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idFile?: number | null;\n\n @ApiProperty()\n @IsNumber()\n month: number;\n\n @ApiProperty()\n @IsNumber()\n year: number;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;CACjC"}
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;CACjC;AAED,qBAAa,+BAA+B;IAI1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
12
|
+
exports.PostProcessPaymentAutomatically = exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
class CreateStripeConnection {
|
|
@@ -134,4 +134,13 @@ __decorate([
|
|
|
134
134
|
(0, utils_1.ApiPropertyOptional)(),
|
|
135
135
|
__metadata("design:type", Object)
|
|
136
136
|
], CreatePaymentIntent.prototype, "metadata", void 0);
|
|
137
|
+
class PostProcessPaymentAutomatically {
|
|
138
|
+
}
|
|
139
|
+
exports.PostProcessPaymentAutomatically = PostProcessPaymentAutomatically;
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
142
|
+
(0, class_validator_1.IsInt)(),
|
|
143
|
+
(0, class_validator_1.IsOptional)(),
|
|
144
|
+
__metadata("design:type", Number)
|
|
145
|
+
], PostProcessPaymentAutomatically.prototype, "idSociety", void 0);
|
|
137
146
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;gDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;iDACQ;AAGrB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;kEAAC;AAGjB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACK;AAGlB,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wDACK;AAGlB,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAVC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sEACe;AAI1B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACC;AAKZ;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACQ;AAGrB,MAAa,mBAAmB;CAe/B;AAfD,kDAeC;AAZC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;4DACa;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACc;AAGtB;IADC,IAAA,2BAAmB,GAAE;;qDACU","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;gDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;iDACQ;AAGrB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;kEAAC;AAGjB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACK;AAGlB,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACU;AAIlB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;uDACO;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wDACK;AAGlB,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAVC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sEACe;AAI1B;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACC;AAKZ;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACQ;AAGrB,MAAa,mBAAmB;CAe/B;AAfD,kDAeC;AAZC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;4DACa;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACc;AAGtB;IADC,IAAA,2BAAmB,GAAE;;qDACU;AAGlC,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;kEACM","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { NotificationTypeEnum } from '../../Enum/NotificationType';
|
|
|
2
2
|
import { ISociety } from './ISociety';
|
|
3
3
|
import { IUser } from './IUser';
|
|
4
4
|
export interface IAppNotification {
|
|
5
|
-
id
|
|
5
|
+
id?: number;
|
|
6
6
|
title: string;
|
|
7
7
|
message: string;
|
|
8
8
|
link?: string;
|
|
@@ -14,7 +14,7 @@ export interface IAppNotification {
|
|
|
14
14
|
idBankAccount?: number;
|
|
15
15
|
createdAt?: Date | null;
|
|
16
16
|
updatedAt?: Date | null;
|
|
17
|
-
society
|
|
18
|
-
user
|
|
17
|
+
society?: ISociety;
|
|
18
|
+
user?: IUser;
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=IAppNotification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAppNotification.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAppNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"IAppNotification.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAppNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,EAAE,oBAAoB,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAppNotification.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAppNotification.ts"],"names":[],"mappings":"","sourcesContent":["import { NotificationTypeEnum } from '../../Enum/NotificationType';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\nexport interface IAppNotification {\n id
|
|
1
|
+
{"version":3,"file":"IAppNotification.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAppNotification.ts"],"names":[],"mappings":"","sourcesContent":["import { NotificationTypeEnum } from '../../Enum/NotificationType';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\nexport interface IAppNotification {\n id?: number;\n title: string;\n message: string;\n link?: string;\n documentId?: number;\n read: boolean;\n idNotificationtype: NotificationTypeEnum;\n idSociety: number;\n idUser: number;\n idBankAccount?: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // associations\n society?: ISociety;\n user?: IUser;\n}\n"]}
|
|
@@ -2,8 +2,10 @@ import { NotificationTypeEnum } from '../../Enum/NotificationType';
|
|
|
2
2
|
export interface IMobileNotificationLog {
|
|
3
3
|
id: number;
|
|
4
4
|
idType: NotificationTypeEnum;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/** @deprecated useless */
|
|
6
|
+
lastSent?: Date | null;
|
|
7
|
+
/** @deprecated useless */
|
|
8
|
+
nextSend?: Date | null;
|
|
7
9
|
success: boolean;
|
|
8
10
|
error: string | null;
|
|
9
11
|
count: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMobileNotificationLog.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobileNotificationLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"IMobileNotificationLog.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobileNotificationLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IMobileNotificationLog.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobileNotificationLog.ts"],"names":[],"mappings":"","sourcesContent":["import { NotificationTypeEnum } from '../../Enum/NotificationType';\n\nexport interface IMobileNotificationLog {\n id: number;\n idType: NotificationTypeEnum;\n lastSent
|
|
1
|
+
{"version":3,"file":"IMobileNotificationLog.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IMobileNotificationLog.ts"],"names":[],"mappings":"","sourcesContent":["import { NotificationTypeEnum } from '../../Enum/NotificationType';\n\nexport interface IMobileNotificationLog {\n id: number;\n idType: NotificationTypeEnum;\n /** @deprecated useless */\n lastSent?: Date | null;\n /** @deprecated useless */\n nextSend?: Date | null;\n success: boolean;\n error: string | null;\n count: number;\n errorCount: number;\n idBankAccount: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -4,6 +4,7 @@ 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';
|
|
7
8
|
export interface IPayment {
|
|
8
9
|
id?: number;
|
|
9
10
|
amount: number;
|
|
@@ -39,5 +40,6 @@ export interface IPayment {
|
|
|
39
40
|
user?: IUser;
|
|
40
41
|
exercice?: IExercice;
|
|
41
42
|
files?: IFile;
|
|
43
|
+
paymentAttempts?: IPaymentAttempt[];
|
|
42
44
|
}
|
|
43
45
|
//# sourceMappingURL=IPayment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPayment.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPayment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"IPayment.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPayment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,IAAI,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC5C,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;CACrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPayment.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPayment.ts"],"names":[],"mappings":"","sourcesContent":["import { IPrestation } from './IPrestation';\nimport { IPaymentMethod } from './IPaymentMethod';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { IFile } from './IFile';\nimport { IPaymentExpectation } from './IPaymentExpectation';\n\n// payments\nexport interface IPayment {\n id?: number;\n amount: number;\n amountPayed?: number;\n isLate?: boolean;\n isOverdue?: boolean;\n isOverpaid?: boolean;\n isFirst?: boolean;\n // @deprecated Use isCollectable instead\n toCollect?: boolean
|
|
1
|
+
{"version":3,"file":"IPayment.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPayment.ts"],"names":[],"mappings":"","sourcesContent":["import { IPrestation } from './IPrestation';\nimport { IPaymentMethod } from './IPaymentMethod';\nimport { IUser } from './IUser';\nimport { IExercice } from './IExercice';\nimport { IFile } from './IFile';\nimport { IPaymentExpectation } from './IPaymentExpectation';\nimport { IPaymentAttempt } from './IPaymentAttempt';\n\n// payments\nexport interface IPayment {\n id?: number;\n amount: number;\n amountPayed?: number;\n isLate?: boolean;\n isOverdue?: boolean;\n isOverpaid?: boolean;\n isFirst?: boolean;\n // @deprecated Use isCollectable instead\n toCollect?: boolean;\n countRejects?: number;\n isCollectable?: boolean;\n isAsset?: boolean;\n isFree?: boolean;\n isHiddenCustomer?: boolean;\n dateOverdue?: Date | null;\n datePayment: Date;\n comment?: string | null;\n done?: boolean | null;\n refInternalInvoicing?: number;\n noInternalInvoice?: boolean;\n traite?: boolean | null; //TODO: à supprimer une fois que le fix de factures du 31/05/24 est corrigé\n idPrestation: number;\n idExercice?: number | null;\n idUser?: number | null;\n idPaymentMethod: number;\n idFile?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n paymentsPrestations?: IPrestation;\n paymentsMethod?: IPaymentMethod;\n paymentExpectations?: IPaymentExpectation[];\n user?: IUser;\n exercice?: IExercice;\n files?: IFile;\n paymentAttempts?: IPaymentAttempt[];\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"]}
|
|
@@ -322,6 +322,7 @@ export * from './Interface/models/IReminderAttachment';
|
|
|
322
322
|
export * from './Interface/models/IStateBankAccount';
|
|
323
323
|
export * from './Interface/models/IAIQuestion';
|
|
324
324
|
export * from './Interface/models/IAIConversation';
|
|
325
|
+
export * from './Interface/models/IPaymentAttempt';
|
|
325
326
|
export * from './Interface/schemas/IRegistrationDetail';
|
|
326
327
|
export * from './Interface/schemas/ITransactionHistory';
|
|
327
328
|
export * from './Form/FormAuthenticate';
|
|
@@ -546,6 +547,7 @@ export * from './Enum/SocietyTypeExportCsv';
|
|
|
546
547
|
export * from './Enum/TeamType';
|
|
547
548
|
export * from './Enum/PartneredAccountantServiceType';
|
|
548
549
|
export * from './Enum/PartneredAccountantServiceTypeId';
|
|
550
|
+
export * from './Enum/PaymentAttempt';
|
|
549
551
|
export * from './Interface/api/exercice/ReadExercice';
|
|
550
552
|
export * from './Interface/api/balanceSheet/consistency/Read';
|
|
551
553
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
@@ -1146,4 +1148,5 @@ export * from './Interface/api/regulation/Read';
|
|
|
1146
1148
|
export * from './Interface/api/regulation/Create';
|
|
1147
1149
|
export * from './Interface/api/marketing/NewLeadSheet';
|
|
1148
1150
|
export * from './Interface/api/ai/AskQuestionCollaborator';
|
|
1151
|
+
export * from './Interface/api/refund/QueryRefundPaginated';
|
|
1149
1152
|
//# sourceMappingURL=index.d.ts.map
|