@silexpert/core 1.3.66 → 1.3.68-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.
Files changed (103) hide show
  1. package/dist/cjs/api/resources/Refund.d.ts +21 -1
  2. package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Refund.js +12 -0
  4. package/dist/cjs/api/resources/Refund.js.map +1 -1
  5. package/dist/cjs/types/Enum/PaymentMethod.d.ts +10 -29
  6. package/dist/cjs/types/Enum/PaymentMethod.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/PaymentMethod.js +11 -31
  8. package/dist/cjs/types/Enum/PaymentMethod.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +1 -2
  10. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +0 -6
  12. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +11 -0
  14. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +1 -0
  15. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js +50 -0
  16. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js.map +1 -0
  17. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +0 -3
  18. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/stripe/Create.js +1 -10
  20. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  21. package/dist/cjs/types/Interface/models/IAppNotification.d.ts +3 -3
  22. package/dist/cjs/types/Interface/models/IAppNotification.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/models/IAppNotification.js.map +1 -1
  24. package/dist/cjs/types/Interface/models/IMobileNotificationLog.d.ts +2 -4
  25. package/dist/cjs/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  27. package/dist/cjs/types/Interface/models/IPayment.d.ts +0 -2
  28. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  29. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  30. package/dist/cjs/types/index.d.ts +1 -2
  31. package/dist/cjs/types/index.d.ts.map +1 -1
  32. package/dist/cjs/types/index.js +1 -2
  33. package/dist/cjs/types/index.js.map +1 -1
  34. package/dist/cjs/utils/subscription.d.ts +21 -0
  35. package/dist/cjs/utils/subscription.d.ts.map +1 -0
  36. package/dist/cjs/utils/subscription.js +97 -0
  37. package/dist/cjs/utils/subscription.js.map +1 -0
  38. package/dist/mjs/api/resources/Refund.d.ts +21 -1
  39. package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
  40. package/dist/mjs/api/resources/Refund.js +12 -0
  41. package/dist/mjs/api/resources/Refund.js.map +1 -1
  42. package/dist/mjs/types/Enum/PaymentMethod.d.ts +10 -29
  43. package/dist/mjs/types/Enum/PaymentMethod.d.ts.map +1 -1
  44. package/dist/mjs/types/Enum/PaymentMethod.js +10 -30
  45. package/dist/mjs/types/Enum/PaymentMethod.js.map +1 -1
  46. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +1 -2
  47. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
  48. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +1 -8
  49. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  50. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +11 -0
  51. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +1 -0
  52. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js +52 -0
  53. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js.map +1 -0
  54. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +0 -3
  55. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  56. package/dist/mjs/types/Interface/api/stripe/Create.js +0 -9
  57. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  58. package/dist/mjs/types/Interface/models/IAppNotification.d.ts +3 -3
  59. package/dist/mjs/types/Interface/models/IAppNotification.d.ts.map +1 -1
  60. package/dist/mjs/types/Interface/models/IAppNotification.js.map +1 -1
  61. package/dist/mjs/types/Interface/models/IMobileNotificationLog.d.ts +2 -4
  62. package/dist/mjs/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
  63. package/dist/mjs/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  64. package/dist/mjs/types/Interface/models/IPayment.d.ts +0 -2
  65. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  66. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  67. package/dist/mjs/types/index.d.ts +1 -2
  68. package/dist/mjs/types/index.d.ts.map +1 -1
  69. package/dist/mjs/types/index.js +1 -2
  70. package/dist/mjs/types/index.js.map +1 -1
  71. package/dist/mjs/utils/subscription.d.ts +21 -0
  72. package/dist/mjs/utils/subscription.d.ts.map +1 -0
  73. package/dist/mjs/utils/subscription.js +92 -0
  74. package/dist/mjs/utils/subscription.js.map +1 -0
  75. package/package.json +1 -1
  76. package/ts/api/resources/Refund.ts +17 -1
  77. package/ts/types/Enum/PaymentMethod.ts +10 -30
  78. package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +2 -7
  79. package/ts/types/Interface/api/refund/QueryRefundPaginated.ts +31 -0
  80. package/ts/types/Interface/api/stripe/Create.ts +0 -7
  81. package/ts/types/Interface/models/IAppNotification.ts +3 -3
  82. package/ts/types/Interface/models/IMobileNotificationLog.ts +2 -4
  83. package/ts/types/Interface/models/IPayment.ts +1 -3
  84. package/ts/types/index.ts +1 -2
  85. package/ts/utils/subscription.ts +124 -0
  86. package/dist/cjs/types/Enum/PaymentAttempt.d.ts +0 -6
  87. package/dist/cjs/types/Enum/PaymentAttempt.d.ts.map +0 -1
  88. package/dist/cjs/types/Enum/PaymentAttempt.js +0 -10
  89. package/dist/cjs/types/Enum/PaymentAttempt.js.map +0 -1
  90. package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts +0 -15
  91. package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts.map +0 -1
  92. package/dist/cjs/types/Interface/models/IPaymentAttempt.js +0 -3
  93. package/dist/cjs/types/Interface/models/IPaymentAttempt.js.map +0 -1
  94. package/dist/mjs/types/Enum/PaymentAttempt.d.ts +0 -6
  95. package/dist/mjs/types/Enum/PaymentAttempt.d.ts.map +0 -1
  96. package/dist/mjs/types/Enum/PaymentAttempt.js +0 -7
  97. package/dist/mjs/types/Enum/PaymentAttempt.js.map +0 -1
  98. package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts +0 -15
  99. package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts.map +0 -1
  100. package/dist/mjs/types/Interface/models/IPaymentAttempt.js +0 -2
  101. package/dist/mjs/types/Interface/models/IPaymentAttempt.js.map +0 -1
  102. package/ts/types/Enum/PaymentAttempt.ts +0 -5
  103. package/ts/types/Interface/models/IPaymentAttempt.ts +0 -16
@@ -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;AAEtC,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;CAGtE"}
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;AAPD,wBAOC","sourcesContent":["import { Resource } from '../Resource';\nimport { IRefund } 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"]}
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"]}
@@ -1,79 +1,60 @@
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
- STRIPE_ECB_REJECTION = 11
13
- }
14
1
  export declare const PaymentMethod: {
15
2
  DIRECT_DEBIT: {
16
- id: PaymentMethodIds;
3
+ id: number;
17
4
  name: string;
18
5
  isSpecial: number;
19
6
  isOverdue: number;
20
7
  };
21
8
  BANK_TRANSFER: {
22
- id: PaymentMethodIds;
9
+ id: number;
23
10
  name: string;
24
11
  isSpecial: number;
25
12
  isOverdue: number;
26
13
  };
27
14
  BANK_CARD: {
28
- id: PaymentMethodIds;
15
+ id: number;
29
16
  name: string;
30
17
  isSpecial: number;
31
18
  isOverdue: number;
32
19
  };
33
20
  BANK_CHECK: {
34
- id: PaymentMethodIds;
21
+ id: number;
35
22
  name: string;
36
23
  isSpecial: number;
37
24
  isOverdue: number;
38
25
  };
39
26
  DIRECT_DEBIT_REJECTION_1: {
40
- id: PaymentMethodIds;
27
+ id: number;
41
28
  name: string;
42
29
  isSpecial: number;
43
30
  isOverdue: number;
44
31
  };
45
32
  DIRECT_DEBIT_REJECTION_2: {
46
- id: PaymentMethodIds;
33
+ id: number;
47
34
  name: string;
48
35
  isSpecial: number;
49
36
  isOverdue: number;
50
37
  };
51
38
  VARIOUS_UNPAID: {
52
- id: PaymentMethodIds;
39
+ id: number;
53
40
  name: string;
54
41
  isSpecial: number;
55
42
  isOverdue: number;
56
43
  };
57
44
  STRIPE_ECB: {
58
- id: PaymentMethodIds;
45
+ id: number;
59
46
  name: string;
60
47
  isSpecial: number;
61
48
  isOverdue: number;
62
49
  };
63
50
  STRIPE: {
64
- id: PaymentMethodIds;
51
+ id: number;
65
52
  name: string;
66
53
  isSpecial: number;
67
54
  isOverdue: number;
68
55
  };
69
56
  CASH: {
70
- id: PaymentMethodIds;
71
- name: string;
72
- isSpecial: number;
73
- isOverdue: number;
74
- };
75
- STRIPE_ECB_REJECTION: {
76
- id: PaymentMethodIds;
57
+ id: number;
77
58
  name: string;
78
59
  isSpecial: number;
79
60
  isOverdue: number;
@@ -1 +1 @@
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;IACT,oBAAoB,KAAK;CAC1B;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;CAWzB,CAAC"}
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,87 +1,67 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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[PaymentMethodIds["STRIPE_ECB_REJECTION"] = 11] = "STRIPE_ECB_REJECTION";
17
- })(PaymentMethodIds || (exports.PaymentMethodIds = PaymentMethodIds = {}));
3
+ exports.PaymentParams = exports.PaymentMethod = void 0;
18
4
  exports.PaymentMethod = {
19
5
  DIRECT_DEBIT: {
20
- id: PaymentMethodIds.DIRECT_DEBIT,
6
+ id: 1,
21
7
  name: 'Prélèvement',
22
8
  isSpecial: 0,
23
9
  isOverdue: 0,
24
10
  },
25
11
  BANK_TRANSFER: {
26
- id: PaymentMethodIds.BANK_TRANSFER,
12
+ id: 2,
27
13
  name: 'Virement',
28
14
  isSpecial: 0,
29
15
  isOverdue: 0,
30
16
  },
31
17
  BANK_CARD: {
32
- id: PaymentMethodIds.BANK_CARD,
18
+ id: 3,
33
19
  name: 'CB',
34
20
  isSpecial: 0,
35
21
  isOverdue: 0,
36
22
  },
37
23
  BANK_CHECK: {
38
- id: PaymentMethodIds.BANK_CHECK,
24
+ id: 4,
39
25
  name: 'Chèque',
40
26
  isSpecial: 0,
41
27
  isOverdue: 0,
42
28
  },
43
29
  DIRECT_DEBIT_REJECTION_1: {
44
- id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_1,
30
+ id: 5,
45
31
  name: 'Rejet de prélèvement 1',
46
32
  isSpecial: 1,
47
33
  isOverdue: 1,
48
34
  },
49
35
  DIRECT_DEBIT_REJECTION_2: {
50
- id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_2,
36
+ id: 6,
51
37
  name: 'Rejet de prélèvement 2',
52
38
  isSpecial: 1,
53
39
  isOverdue: 1,
54
40
  },
55
41
  VARIOUS_UNPAID: {
56
- id: PaymentMethodIds.VARIOUS_UNPAID,
42
+ id: 7,
57
43
  name: 'Impayés divers',
58
44
  isSpecial: 1,
59
45
  isOverdue: 1,
60
46
  },
61
47
  STRIPE_ECB: {
62
- id: PaymentMethodIds.STRIPE_ECB,
48
+ id: 8,
63
49
  name: 'Stripe (ECB)',
64
50
  isSpecial: 0,
65
51
  isOverdue: 0,
66
52
  },
67
53
  STRIPE: {
68
- id: PaymentMethodIds.STRIPE,
54
+ id: 9,
69
55
  name: 'Stripe',
70
56
  isSpecial: 0,
71
57
  isOverdue: 0,
72
58
  },
73
59
  CASH: {
74
- id: PaymentMethodIds.CASH,
60
+ id: 10,
75
61
  name: 'Espèces',
76
62
  isSpecial: 0,
77
63
  isOverdue: 0,
78
64
  },
79
- STRIPE_ECB_REJECTION: {
80
- id: PaymentMethodIds.STRIPE_ECB_REJECTION,
81
- name: 'Rejet Stripe ECB',
82
- isSpecial: 1,
83
- isOverdue: 1,
84
- },
85
65
  };
86
66
  exports.PaymentParams = {
87
67
  NO_INVOICE: {
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentMethod.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[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AgB;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;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,gBAAgB,CAAC,oBAAoB;QACzC,IAAI,EAAE,kBAAkB;QACxB,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 STRIPE_ECB_REJECTION = 11,\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 STRIPE_ECB_REJECTION: {\n id: PaymentMethodIds.STRIPE_ECB_REJECTION,\n name: 'Rejet Stripe ECB',\n isSpecial: 1,\n isOverdue: 1,\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
+ {"version":3,"file":"PaymentMethod.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,YAAY,EAAE;QAC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L,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 const PaymentMethod = {\n DIRECT_DEBIT: {\n id: 1,\n name: 'Prélèvement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_TRANSFER: {\n id: 2,\n name: 'Virement',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CARD: {\n id: 3,\n name: 'CB',\n isSpecial: 0,\n isOverdue: 0,\n },\n BANK_CHECK: {\n id: 4,\n name: 'Chèque',\n isSpecial: 0,\n isOverdue: 0,\n },\n DIRECT_DEBIT_REJECTION_1: {\n id: 5,\n name: 'Rejet de prélèvement 1',\n isSpecial: 1,\n isOverdue: 1,\n },\n DIRECT_DEBIT_REJECTION_2: {\n id: 6,\n name: 'Rejet de prélèvement 2',\n isSpecial: 1,\n isOverdue: 1,\n },\n VARIOUS_UNPAID: {\n id: 7,\n name: 'Impayés divers',\n isSpecial: 1,\n isOverdue: 1,\n },\n STRIPE_ECB: {\n id: 8,\n name: 'Stripe (ECB)',\n isSpecial: 0,\n isOverdue: 0,\n },\n STRIPE: {\n id: 9,\n name: 'Stripe',\n isSpecial: 0,\n isOverdue: 0,\n },\n CASH: {\n id: 10,\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,6 +1,5 @@
1
1
  export declare class RegenerateInternalInvoicing {
2
- idSociety?: Array<number>;
3
- idFile?: number | null;
2
+ idSociety: Array<number>;
4
3
  month: number;
5
4
  year: number;
6
5
  }
@@ -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,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"}
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;IAIzB,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -21,12 +21,6 @@ __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);
30
24
  __decorate([
31
25
  (0, utils_1.ApiProperty)(),
32
26
  (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,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"]}
1
+ {"version":3,"file":"RegenerateInternalInvoicing.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,6CAAqE;AAErE,MAAa,2BAA2B;CAavC;AAbD,kEAaC;AATC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;8BACC,KAAK;8DAAS;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACG;AAId;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;yDACE","sourcesContent":["import { IsArray, 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 @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"]}
@@ -34,7 +34,4 @@ export declare class CreatePaymentIntent {
34
34
  amountInCents: number;
35
35
  metadata?: Stripe.MetadataParam;
36
36
  }
37
- export declare class PostProcessPaymentAutomatically {
38
- idSociety?: number;
39
- }
40
37
  //# sourceMappingURL=Create.d.ts.map
@@ -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,CAA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AED,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"}
@@ -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.PostProcessPaymentAutomatically = exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = exports.CreateCommercialSession = exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateCustomer = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
12
+ 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,13 +134,4 @@ __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);
146
137
  //# 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;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"]}
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,IA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AFC,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"]}
@@ -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?: number;
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?: ISociety;
18
- user?: IUser;
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,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
+ {"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;IACX,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,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;CACb"}
@@ -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?: 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"]}
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,10 +2,8 @@ import { NotificationTypeEnum } from '../../Enum/NotificationType';
2
2
  export interface IMobileNotificationLog {
3
3
  id: number;
4
4
  idType: NotificationTypeEnum;
5
- /** @deprecated useless */
6
- lastSent?: Date | null;
7
- /** @deprecated useless */
8
- nextSend?: Date | null;
5
+ lastSent: Date | null;
6
+ nextSend: Date | null;
9
7
  success: boolean;
10
8
  error: string | null;
11
9
  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,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
+ {"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;IACtB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,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 /** @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"]}
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: Date | null;\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,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
  export interface IPayment {
9
8
  id?: number;
10
9
  amount: number;
@@ -40,6 +39,5 @@ export interface IPayment {
40
39
  user?: IUser;
41
40
  exercice?: IExercice;
42
41
  files?: IFile;
43
- paymentAttempts?: IPaymentAttempt[];
44
42
  }
45
43
  //# 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;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,E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AI,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;CACf"}
@@ -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';\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"]}
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; \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}\n"]}
@@ -322,7 +322,6 @@ 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';
326
325
  export * from './Interface/schemas/IRegistrationDetail';
327
326
  export * from './Interface/schemas/ITransactionHistory';
328
327
  export * from './Form/FormAuthenticate';
@@ -547,7 +546,6 @@ export * from './Enum/SocietyTypeExportCsv';
547
546
  export * from './Enum/TeamType';
548
547
  export * from './Enum/PartneredAccountantServiceType';
549
548
  export * from './Enum/PartneredAccountantServiceTypeId';
550
- export * from './Enum/PaymentAttempt';
551
549
  export * from './Interface/api/exercice/ReadExercice';
552
550
  export * from './Interface/api/balanceSheet/consistency/Read';
553
551
  export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
@@ -1148,4 +1146,5 @@ export * from './Interface/api/regulation/Read';
1148
1146
  export * from './Interface/api/regulation/Create';
1149
1147
  export * from './Interface/api/marketing/NewLeadSheet';
1150
1148
  export * from './Interface/api/ai/AskQuestionCollaborator';
1149
+ export * from './Interface/api/refund/QueryRefundPaginated';
1151
1150
  //# sourceMappingURL=index.d.ts.map