@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.
Files changed (94) 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/PaymentAttempt.d.ts +6 -0
  6. package/dist/cjs/types/Enum/PaymentAttempt.d.ts.map +1 -0
  7. package/dist/cjs/types/Enum/PaymentAttempt.js +10 -0
  8. package/dist/cjs/types/Enum/PaymentAttempt.js.map +1 -0
  9. package/dist/cjs/types/Enum/PaymentMethod.d.ts +22 -10
  10. package/dist/cjs/types/Enum/PaymentMethod.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/PaymentMethod.js +24 -11
  12. package/dist/cjs/types/Enum/PaymentMethod.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +2 -1
  14. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +6 -0
  16. package/dist/cjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +11 -0
  18. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +1 -0
  19. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js +50 -0
  20. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js.map +1 -0
  21. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
  22. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  23. package/dist/cjs/types/Interface/api/stripe/Create.js +10 -1
  24. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  25. package/dist/cjs/types/Interface/models/IAppNotification.d.ts +3 -3
  26. package/dist/cjs/types/Interface/models/IAppNotification.d.ts.map +1 -1
  27. package/dist/cjs/types/Interface/models/IAppNotification.js.map +1 -1
  28. package/dist/cjs/types/Interface/models/IMobileNotificationLog.d.ts +4 -2
  29. package/dist/cjs/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
  30. package/dist/cjs/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  31. package/dist/cjs/types/Interface/models/IPayment.d.ts +2 -0
  32. package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
  33. package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
  34. package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts +15 -0
  35. package/dist/cjs/types/Interface/models/IPaymentAttempt.d.ts.map +1 -0
  36. package/dist/cjs/types/Interface/models/IPaymentAttempt.js +3 -0
  37. package/dist/cjs/types/Interface/models/IPaymentAttempt.js.map +1 -0
  38. package/dist/cjs/types/index.d.ts +3 -0
  39. package/dist/cjs/types/index.d.ts.map +1 -1
  40. package/dist/cjs/types/index.js +3 -0
  41. package/dist/cjs/types/index.js.map +1 -1
  42. package/dist/mjs/api/resources/Refund.d.ts +21 -1
  43. package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
  44. package/dist/mjs/api/resources/Refund.js +12 -0
  45. package/dist/mjs/api/resources/Refund.js.map +1 -1
  46. package/dist/mjs/types/Enum/PaymentAttempt.d.ts +6 -0
  47. package/dist/mjs/types/Enum/PaymentAttempt.d.ts.map +1 -0
  48. package/dist/mjs/types/Enum/PaymentAttempt.js +7 -0
  49. package/dist/mjs/types/Enum/PaymentAttempt.js.map +1 -0
  50. package/dist/mjs/types/Enum/PaymentMethod.d.ts +22 -10
  51. package/dist/mjs/types/Enum/PaymentMethod.d.ts.map +1 -1
  52. package/dist/mjs/types/Enum/PaymentMethod.js +23 -10
  53. package/dist/mjs/types/Enum/PaymentMethod.js.map +1 -1
  54. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts +2 -1
  55. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.d.ts.map +1 -1
  56. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js +8 -1
  57. package/dist/mjs/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.js.map +1 -1
  58. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +11 -0
  59. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +1 -0
  60. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js +52 -0
  61. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js.map +1 -0
  62. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
  63. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  64. package/dist/mjs/types/Interface/api/stripe/Create.js +9 -0
  65. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  66. package/dist/mjs/types/Interface/models/IAppNotification.d.ts +3 -3
  67. package/dist/mjs/types/Interface/models/IAppNotification.d.ts.map +1 -1
  68. package/dist/mjs/types/Interface/models/IAppNotification.js.map +1 -1
  69. package/dist/mjs/types/Interface/models/IMobileNotificationLog.d.ts +4 -2
  70. package/dist/mjs/types/Interface/models/IMobileNotificationLog.d.ts.map +1 -1
  71. package/dist/mjs/types/Interface/models/IMobileNotificationLog.js.map +1 -1
  72. package/dist/mjs/types/Interface/models/IPayment.d.ts +2 -0
  73. package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
  74. package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
  75. package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts +15 -0
  76. package/dist/mjs/types/Interface/models/IPaymentAttempt.d.ts.map +1 -0
  77. package/dist/mjs/types/Interface/models/IPaymentAttempt.js +2 -0
  78. package/dist/mjs/types/Interface/models/IPaymentAttempt.js.map +1 -0
  79. package/dist/mjs/types/index.d.ts +3 -0
  80. package/dist/mjs/types/index.d.ts.map +1 -1
  81. package/dist/mjs/types/index.js +3 -0
  82. package/dist/mjs/types/index.js.map +1 -1
  83. package/package.json +1 -1
  84. package/ts/api/resources/Refund.ts +17 -1
  85. package/ts/types/Enum/PaymentAttempt.ts +5 -0
  86. package/ts/types/Enum/PaymentMethod.ts +23 -10
  87. package/ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts +7 -2
  88. package/ts/types/Interface/api/refund/QueryRefundPaginated.ts +31 -0
  89. package/ts/types/Interface/api/stripe/Create.ts +7 -0
  90. package/ts/types/Interface/models/IAppNotification.ts +3 -3
  91. package/ts/types/Interface/models/IMobileNotificationLog.ts +4 -2
  92. package/ts/types/Interface/models/IPayment.ts +3 -1
  93. package/ts/types/Interface/models/IPaymentAttempt.ts +16 -0
  94. package/ts/types/index.ts +3 -0
@@ -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: number;
15
+ id: PaymentMethodIds;
4
16
  name: string;
5
17
  isSpecial: number;
6
18
  isOverdue: number;
7
19
  };
8
20
  BANK_TRANSFER: {
9
- id: number;
21
+ id: PaymentMethodIds;
10
22
  name: string;
11
23
  isSpecial: number;
12
24
  isOverdue: number;
13
25
  };
14
26
  BANK_CARD: {
15
- id: number;
27
+ id: PaymentMethodIds;
16
28
  name: string;
17
29
  isSpecial: number;
18
30
  isOverdue: number;
19
31
  };
20
32
  BANK_CHECK: {
21
- id: number;
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: number;
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: number;
45
+ id: PaymentMethodIds;
34
46
  name: string;
35
47
  isSpecial: number;
36
48
  isOverdue: number;
37
49
  };
38
50
  VARIOUS_UNPAID: {
39
- id: number;
51
+ id: PaymentMethodIds;
40
52
  name: string;
41
53
  isSpecial: number;
42
54
  isOverdue: number;
43
55
  };
44
56
  STRIPE_ECB: {
45
- id: number;
57
+ id: PaymentMethodIds;
46
58
  name: string;
47
59
  isSpecial: number;
48
60
  isOverdue: number;
49
61
  };
50
62
  STRIPE: {
51
- id: number;
63
+ id: PaymentMethodIds;
52
64
  name: string;
53
65
  isSpecial: number;
54
66
  isOverdue: number;
55
67
  };
56
68
  CASH: {
57
- id: number;
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,60 +1,73 @@
1
+ export var PaymentMethodIds;
2
+ (function (PaymentMethodIds) {
3
+ PaymentMethodIds[PaymentMethodIds["DIRECT_DEBIT"] = 1] = "DIRECT_DEBIT";
4
+ PaymentMethodIds[PaymentMethodIds["BANK_TRANSFER"] = 2] = "BANK_TRANSFER";
5
+ PaymentMethodIds[PaymentMethodIds["BANK_CARD"] = 3] = "BANK_CARD";
6
+ PaymentMethodIds[PaymentMethodIds["BANK_CHECK"] = 4] = "BANK_CHECK";
7
+ PaymentMethodIds[PaymentMethodIds["DIRECT_DEBIT_REJECTION_1"] = 5] = "DIRECT_DEBIT_REJECTION_1";
8
+ PaymentMethodIds[PaymentMethodIds["DIRECT_DEBIT_REJECTION_2"] = 6] = "DIRECT_DEBIT_REJECTION_2";
9
+ PaymentMethodIds[PaymentMethodIds["VARIOUS_UNPAID"] = 7] = "VARIOUS_UNPAID";
10
+ PaymentMethodIds[PaymentMethodIds["STRIPE_ECB"] = 8] = "STRIPE_ECB";
11
+ PaymentMethodIds[PaymentMethodIds["STRIPE"] = 9] = "STRIPE";
12
+ PaymentMethodIds[PaymentMethodIds["CASH"] = 10] = "CASH";
13
+ })(PaymentMethodIds || (PaymentMethodIds = {}));
1
14
  export const PaymentMethod = {
2
15
  DIRECT_DEBIT: {
3
- id: 1,
16
+ id: PaymentMethodIds.DIRECT_DEBIT,
4
17
  name: 'Prélèvement',
5
18
  isSpecial: 0,
6
19
  isOverdue: 0,
7
20
  },
8
21
  BANK_TRANSFER: {
9
- id: 2,
22
+ id: PaymentMethodIds.BANK_TRANSFER,
10
23
  name: 'Virement',
11
24
  isSpecial: 0,
12
25
  isOverdue: 0,
13
26
  },
14
27
  BANK_CARD: {
15
- id: 3,
28
+ id: PaymentMethodIds.BANK_CARD,
16
29
  name: 'CB',
17
30
  isSpecial: 0,
18
31
  isOverdue: 0,
19
32
  },
20
33
  BANK_CHECK: {
21
- id: 4,
34
+ id: PaymentMethodIds.BANK_CHECK,
22
35
  name: 'Chèque',
23
36
  isSpecial: 0,
24
37
  isOverdue: 0,
25
38
  },
26
39
  DIRECT_DEBIT_REJECTION_1: {
27
- id: 5,
40
+ id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_1,
28
41
  name: 'Rejet de prélèvement 1',
29
42
  isSpecial: 1,
30
43
  isOverdue: 1,
31
44
  },
32
45
  DIRECT_DEBIT_REJECTION_2: {
33
- id: 6,
46
+ id: PaymentMethodIds.DIRECT_DEBIT_REJECTION_2,
34
47
  name: 'Rejet de prélèvement 2',
35
48
  isSpecial: 1,
36
49
  isOverdue: 1,
37
50
  },
38
51
  VARIOUS_UNPAID: {
39
- id: 7,
52
+ id: PaymentMethodIds.VARIOUS_UNPAID,
40
53
  name: 'Impayés divers',
41
54
  isSpecial: 1,
42
55
  isOverdue: 1,
43
56
  },
44
57
  STRIPE_ECB: {
45
- id: 8,
58
+ id: PaymentMethodIds.STRIPE_ECB,
46
59
  name: 'Stripe (ECB)',
47
60
  isSpecial: 0,
48
61
  isOverdue: 0,
49
62
  },
50
63
  STRIPE: {
51
- id: 9,
64
+ id: PaymentMethodIds.STRIPE,
52
65
  name: 'Stripe',
53
66
  isSpecial: 0,
54
67
  isOverdue: 0,
55
68
  },
56
69
  CASH: {
57
- id: 10,
70
+ id: PaymentMethodIds.CASH,
58
71
  name: 'Espèces',
59
72
  isSpecial: 0,
60
73
  isOverdue: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentMethod.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;Q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AE,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
+ {"version":3,"file":"PaymentMethod.js","sourceRoot":"","sources":["../../../../ts/types/Enum/PaymentMethod.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAWX;AAXD,WAAY,gBAAgB;IAC1B,uEAAgB,CAAA;IAChB,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,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;AAEF,MAAM,CAAC,MAAM,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,5 +1,6 @@
1
1
  export declare class RegenerateInternalInvoicing {
2
- idSociety: Array<number>;
2
+ idSociety?: Array<number>;
3
+ idFile?: number | null;
3
4
  month: number;
4
5
  year: number;
5
6
  }
@@ -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;IAIzB,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,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"}
@@ -7,10 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsArray, IsNumber, IsOptional } from 'class-validator';
10
+ import { IsArray, IsInt, IsNumber, IsOptional } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  export class RegenerateInternalInvoicing {
13
13
  idSociety;
14
+ idFile;
14
15
  month;
15
16
  year;
16
17
  }
@@ -20,6 +21,12 @@ __decorate([
20
21
  IsArray(),
21
22
  __metadata("design:type", Array)
22
23
  ], RegenerateInternalInvoicing.prototype, "idSociety", void 0);
24
+ __decorate([
25
+ ApiPropertyOptional(),
26
+ IsOptional(),
27
+ IsInt(),
28
+ __metadata("design:type", Object)
29
+ ], RegenerateInternalInvoicing.prototype, "idFile", void 0);
23
30
  __decorate([
24
31
  ApiProperty(),
25
32
  IsNumber(),
@@ -1 +1 @@
1
- {"version":3,"file":"RegenerateInternalInvoicing.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,2BAA2B;IAItC,SAAS,CAAgB;IAIzB,KAAK,CAAS;IAId,IAAI,CAAS;CACd;AATC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACC,KAAK;8DAAS;AAIzB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;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"]}
1
+ {"version":3,"file":"RegenerateInternalInvoicing.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/RegenerateInternalInvoicing.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,2BAA2B;IAItC,SAAS,CAAiB;IAK1B,MAAM,CAAiB;IAIvB,KAAK,CAAS;IAId,IAAI,CAAS;CACd;AAdC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACE,KAAK;8DAAS;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACe;AAIvB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;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,52 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
+ import { RequiredQueryPaginate } from '../BasePaginate';
12
+ import { IsBoolean, IsInt, IsOptional } from 'class-validator';
13
+ export class QueryRefundPaginated extends RequiredQueryPaginate {
14
+ search;
15
+ year;
16
+ month;
17
+ motif;
18
+ orderBy;
19
+ descending;
20
+ }
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ __metadata("design:type", String)
24
+ ], QueryRefundPaginated.prototype, "search", void 0);
25
+ __decorate([
26
+ ApiProperty(),
27
+ IsInt(),
28
+ __metadata("design:type", Number)
29
+ ], QueryRefundPaginated.prototype, "year", void 0);
30
+ __decorate([
31
+ ApiPropertyOptional(),
32
+ IsInt(),
33
+ IsOptional(),
34
+ __metadata("design:type", Number)
35
+ ], QueryRefundPaginated.prototype, "month", void 0);
36
+ __decorate([
37
+ ApiPropertyOptional(),
38
+ IsInt(),
39
+ IsOptional(),
40
+ __metadata("design:type", Number)
41
+ ], QueryRefundPaginated.prototype, "motif", void 0);
42
+ __decorate([
43
+ ApiPropertyOptional(),
44
+ __metadata("design:type", String)
45
+ ], QueryRefundPaginated.prototype, "orderBy", void 0);
46
+ __decorate([
47
+ ApiPropertyOptional(),
48
+ IsBoolean(),
49
+ IsOptional(),
50
+ __metadata("design:type", Boolean)
51
+ ], QueryRefundPaginated.prototype, "descending", void 0);
52
+ //# sourceMappingURL=QueryRefundPaginated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,OAAO,oBAAqB,SAAQ,qBAAqB;IAE7D,MAAM,CAAU;IAIhB,IAAI,CAAS;IAKb,KAAK,CAAU;IAKf,KAAK,CAAU;IAGf,OAAO,CAAU;IAKjB,UAAU,CAAW;CACtB;AAvBC;IADC,mBAAmB,EAAE;;oDACN;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;kDACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAGf;IADC,mBAAmB,EAAE;;qDACL;AAKjB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
@@ -34,4 +34,7 @@ export declare class CreatePaymentIntent {
34
34
  amountInCents: number;
35
35
  metadata?: Stripe.MetadataParam;
36
36
  }
37
+ export declare class PostProcessPaymentAutomatically {
38
+ idSociety?: number;
39
+ }
37
40
  //# 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":"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M,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"}
@@ -142,4 +142,13 @@ __decorate([
142
142
  ApiPropertyOptional(),
143
143
  __metadata("design:type", Object)
144
144
  ], CreatePaymentIntent.prototype, "metadata", void 0);
145
+ export class PostProcessPaymentAutomatically {
146
+ idSociety;
147
+ }
148
+ __decorate([
149
+ ApiPropertyOptional(),
150
+ IsInt(),
151
+ IsOptional(),
152
+ __metadata("design:type", Number)
153
+ ], PostProcessPaymentAutomatically.prototype, "idSociety", void 0);
145
154
  //# sourceMappingURL=Create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAA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Z,SAAS,CAAU;CACpB;AAVC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACe;AAI1B;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;yDACC;AAKZ;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACQ;AAGrB,MAAM,OAAO,mBAAmB;IAG9B,gBAAgB,CAAS;IAIzB,eAAe,CAAS;IAIxB,aAAa,CAAS;IAGtB,QAAQ,CAAwB;CACjC;AAZC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACc;AAIzB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;4DACa;AAIxB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;0DACc;AAGtB;IADC,mBAAmB,EAAE;;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,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAGjC,IAAI,CAAS;CACd;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE;AAGf,MAAM,OAAO,mBAAmB;IAG9B,gBAAgB,CAAS;CAC1B;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACc;AAG3B,MAAM,OAAO,cAAc;IAGzB,EAAE,CAAS;IAIX,KAAK,CAAS;IAId,QAAQ,CAAU;IAIlB,SAAS,CAAU;CACpB;AAbC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;0CACG;AAIX;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6CACG;AAId;IAFC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;gDACO;AAIlB;IAFC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;iDACQ;AAGrB,MAAM,OAAO,iCAAiC;IAI5C,SAAS,CAAQ;IAKjB,OAAO,CAAQ;CAChB;AANC;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACH,IAAI;kEAAC;AAGjB,MAAM,OAAO,yBAAyB;IAGpC,OAAO,CAAS;CACjB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACK;AAGlB,MAAM,OAAO,uBAAuB;IAGlC,SAAS,CAAS;IAIlB,MAAM,CAAS;IAIf,OAAO,CAAS;CACjB;AATC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;0DACU;AAIlB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACO;AAIf;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;wDACK;AAGlB,MAAM,OAAO,4BAA4B;IAIvC,gBAAgB,CAAU;IAI1B,GAAG,CAAS;IAKZ,SAAS,CAAU;CACpB;AAVC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACe;AAI1B;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;yDACC;AAKZ;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+DACQ;AAGrB,MAAM,OAAO,mBAAmB;IAG9B,gBAAgB,CAAS;IAIzB,eAAe,CAAS;IAIxB,aAAa,CAAS;IAGtB,QAAQ,CAAwB;CACjC;AAZC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACc;AAIzB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;4DACa;AAIxB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;0DACc;AAGtB;IADC,mBAAmB,EAAE;;qDACU;AAGlC,MAAM,OAAO,+BAA+B;IAI1C,SAAS,CAAU;CACpB;AADC;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;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: 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,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
+ {"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: 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,8 +2,10 @@ import { NotificationTypeEnum } from '../../Enum/NotificationType';
2
2
  export interface IMobileNotificationLog {
3
3
  id: number;
4
4
  idType: NotificationTypeEnum;
5
- lastSent: Date | null;
6
- nextSend: Date | null;
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;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
+ {"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: 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"]}
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;AAG5D,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,o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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; \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"]}
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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPaymentAttempt.js.map
@@ -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