@silexpert/core 1.3.30-4 → 1.3.30-5

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 (63) hide show
  1. package/dist/cjs/api/resources/PaymentExpectation.d.ts +1 -1
  2. package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
  4. package/dist/cjs/api/resources/Subscription.d.ts +1 -1
  5. package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
  6. package/dist/cjs/api/resources/Subscription.js.map +1 -1
  7. package/dist/cjs/types/Enum/Account.d.ts +4 -0
  8. package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
  9. package/dist/cjs/types/Enum/Account.js +4 -0
  10. package/dist/cjs/types/Enum/Account.js.map +1 -1
  11. package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +2 -0
  12. package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
  13. package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
  14. package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +3 -1
  15. package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
  16. package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +2 -2
  18. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  20. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
  21. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  22. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +15 -1
  23. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  24. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -1
  25. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  26. package/dist/cjs/types/Interface/api/stripe/Create.js +0 -1
  27. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  28. package/dist/mjs/api/resources/PaymentExpectation.d.ts +1 -1
  29. package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
  30. package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
  31. package/dist/mjs/api/resources/Subscription.d.ts +1 -1
  32. package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
  33. package/dist/mjs/api/resources/Subscription.js.map +1 -1
  34. package/dist/mjs/types/Enum/Account.d.ts +4 -0
  35. package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
  36. package/dist/mjs/types/Enum/Account.js +4 -0
  37. package/dist/mjs/types/Enum/Account.js.map +1 -1
  38. package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +2 -0
  39. package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
  40. package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
  41. package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +3 -1
  42. package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
  43. package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
  44. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +2 -2
  45. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
  46. package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
  47. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
  48. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
  49. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +18 -2
  50. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  51. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -1
  52. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  53. package/dist/mjs/types/Interface/api/stripe/Create.js +0 -1
  54. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  55. package/package.json +2 -2
  56. package/ts/api/resources/PaymentExpectation.ts +1 -1
  57. package/ts/api/resources/Subscription.ts +1 -1
  58. package/ts/types/Enum/Account.ts +4 -0
  59. package/ts/types/Interface/api/cerfa/2571.ts +4 -0
  60. package/ts/types/Interface/api/cerfa/2573.ts +4 -1
  61. package/ts/types/Interface/api/cerfa/ReadCerfa.ts +2 -3
  62. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +15 -3
  63. package/ts/types/Interface/api/stripe/Create.ts +5 -6
@@ -1,6 +1,6 @@
1
1
  import { BasePaginate, CreatePaymentExpecation, CreatePaymentIntent, CreateSubscriptionSessionOff, IPaymentExpectation, QueryGetPaymentExpectation, QueryGetPaymentExpectationPaginated, RetrievePaymentMethodsParams } from '../../types';
2
2
  import { Resource } from '../Resource';
3
- import Stripe from 'stripe';
3
+ import type Stripe from 'stripe';
4
4
  export declare class PaymentExpectation extends Resource {
5
5
  get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation>;
6
6
  getPaginate(params: QueryGetPaymentExpectationPaginated, signal?: AbortSignal): Promise<BasePaginate<IPaymentExpectation>>;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,uBAAuB,EACvB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,0BAA0B,EAC1B,mCAAmC,EACnC,4BAA4B,EAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,kBAAmB,SAAQ,QAAQ;I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GG;IACH,yBAAyB,CAAC,IAAyB;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;CACF;AAxDD,gDAwDC","sourcesContent":["import {\n BasePaginate,\n CreatePaymentExpecation,\n CreatePaymentIntent,\n CreateSubscriptionSessionOff,\n IPaymentExpectation,\n QueryGetPaymentExpectation,\n QueryGetPaymentExpectationPaginated,\n RetrievePaymentMethodsParams,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport Stripe from 'stripe';\n\nexport class PaymentExpectation extends Resource {\n get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {\n return this.axios.$get('/payment-expectations', { params });\n }\n\n getPaginate(\n params: QueryGetPaymentExpectationPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectation>> {\n return this.axios.$get('/payment-expectations/paginate', { params, ...(signal ? { signal } : {}) });\n }\n\n create(idSociety: number, payload: CreatePaymentExpecation): Promise<IPaymentExpectation> {\n return this.axios.$post(`/societies/${idSociety}/payment-expectations`, payload);\n }\n\n update(id: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/payment-expectations/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/payment-expectations/${id}`);\n }\n\n /**\n * Update only one paymentExpectation, linked to prestation\n * @param idPrestation\n * @param payload\n * @returns\n */\n updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);\n }\n\n /**\n * Retourne les type de paiements Stripe\n */\n getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]> {\n return this.axios.$get('/stripe/payments/methods', { params });\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/payments/sessions-off', payload);\n }\n\n /**\n * Crée une intention de paiement Stripe avec les informations de notre client\n * Attention : les montants sont retournés x100\n */\n createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/payments/intents', body);\n }\n}\n"]}
1
+ {"version":3,"file":"PaymentExpectation.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":";;;AAUA,0CAAuC;AAGvC,MAAa,kBAAmB,SAAQ,mBAAQ;IAC9C,GAAG,CAAC,MAAkC;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,WAAW,CACT,MAA2C,EAC3C,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gCAAgC,kBAAI,MAAM,IAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAG,CAAC;IACtG,CAAC;IAED,MAAM,CAAC,SAAiB,EAAE,OAAgC;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAAqC;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,yBAAyB,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAAC,YAAoB,EAAE,OAAqC;QAC5E,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,YAAY,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,MAAoC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACH,gBAAgB,CAAC,OAAqC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,yBAAyB,CAAC,IAAyB;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;CACF;AAxDD,gDAwDC","sourcesContent":["import {\n BasePaginate,\n CreatePaymentExpecation,\n CreatePaymentIntent,\n CreateSubscriptionSessionOff,\n IPaymentExpectation,\n QueryGetPaymentExpectation,\n QueryGetPaymentExpectationPaginated,\n RetrievePaymentMethodsParams,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport type Stripe from 'stripe';\n\nexport class PaymentExpectation extends Resource {\n get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {\n return this.axios.$get('/payment-expectations', { params });\n }\n\n getPaginate(\n params: QueryGetPaymentExpectationPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectation>> {\n return this.axios.$get('/payment-expectations/paginate', { params, ...(signal ? { signal } : {}) });\n }\n\n create(idSociety: number, payload: CreatePaymentExpecation): Promise<IPaymentExpectation> {\n return this.axios.$post(`/societies/${idSociety}/payment-expectations`, payload);\n }\n\n update(id: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/payment-expectations/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/payment-expectations/${id}`);\n }\n\n /**\n * Update only one paymentExpectation, linked to prestation\n * @param idPrestation\n * @param payload\n * @returns\n */\n updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);\n }\n\n /**\n * Retourne les type de paiements Stripe\n */\n getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]> {\n return this.axios.$get('/stripe/payments/methods', { params });\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/payments/sessions-off', payload);\n }\n\n /**\n * Crée une intention de paiement Stripe avec les informations de notre client\n * Attention : les montants sont retournés x100\n */\n createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/payments/intents', body);\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  import { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';
3
- import Stripe from 'stripe';
3
+ import type Stripe from 'stripe';
4
4
  export declare class Subscription extends Resource {
5
5
  /**
6
6
  * Retourne les offres Stripe actives
@@ -1 +1 @@
1
- {"version":3,"file":"Subscription.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACjG,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,YAAa,SAAQ,QAAQ;IACxC;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAIvC;;;OAGG;IACH,aAAa,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAA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rD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAIvC,MAAa,YAAa,SAAQ,mBAAQ;IACxC;;;OAGG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,aAAa,CAAC,OAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAA4B;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,oBAAoB;IAEpB,sBAAsB,CACpB,SAAiB,EACjB,IAAwB;QAExB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,yBAAyB,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;CACF;AAzCD,oCAyCC","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';\nimport Stripe from 'stripe';\n\nexport class Subscription extends Resource {\n /**\n * Retourne les offres Stripe actives\n * Attention : les montants sont retournés x100\n */\n getAllOffers(): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/subscriptions/offers');\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/subscriptions/sessions', payload);\n }\n\n /**\n * Créé un portail Stripe permettant de gérer l'abonnement\n * Attention : les montants sont retournés x100\n */\n createPortal(payload: CreateStripePortals): Promise<string> {\n return this.axios.$post('/stripe/subscriptions/portals', payload);\n }\n\n /**\n * Retourne l'abonnement Stripe de la société courante\n * Attention : les montants sont retournés x100\n */\n get(): Promise<Stripe.Response<Stripe.Subscription> | null> {\n return this.axios.$get('/stripe/subscriptions');\n }\n\n /* -------------- */\n\n createComptalibSession(\n idSociety: number,\n body: QueryStripeSession,\n ): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);\n }\n}\n"]}
1
+ {"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAIvC,MAAa,YAAa,SAAQ,mBAAQ;IACxC;;;OAGG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,aAAa,CAAC,OAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAA4B;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,oBAAoB;IAEpB,sBAAsB,CACpB,SAAiB,EACjB,IAAwB;QAExB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,yBAAyB,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;CACF;AAzCD,oCAyCC","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';\nimport type Stripe from 'stripe';\n\nexport class Subscription extends Resource {\n /**\n * Retourne les offres Stripe actives\n * Attention : les montants sont retournés x100\n */\n getAllOffers(): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/subscriptions/offers');\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/subscriptions/sessions', payload);\n }\n\n /**\n * Créé un portail Stripe permettant de gérer l'abonnement\n * Attention : les montants sont retournés x100\n */\n createPortal(payload: CreateStripePortals): Promise<string> {\n return this.axios.$post('/stripe/subscriptions/portals', payload);\n }\n\n /**\n * Retourne l'abonnement Stripe de la société courante\n * Attention : les montants sont retournés x100\n */\n get(): Promise<Stripe.Response<Stripe.Subscription> | null> {\n return this.axios.$get('/stripe/subscriptions');\n }\n\n /* -------------- */\n\n createComptalibSession(\n idSociety: number,\n body: QueryStripeSession,\n ): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);\n }\n}\n"]}
@@ -91,6 +91,10 @@ export declare const Account: {
91
91
  id: number;
92
92
  number: number;
93
93
  };
94
+ TRAVELING_EXPENSES: {
95
+ id: number;
96
+ number: number;
97
+ };
94
98
  DEDUCTIBLE_VAT: {
95
99
  id: number;
96
100
  number: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0InB,CAAC"}
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8InB,CAAC"}
@@ -94,6 +94,10 @@ exports.Account = {
94
94
  id: 117,
95
95
  number: 625100,
96
96
  },
97
+ TRAVELING_EXPENSES: {
98
+ id: 118,
99
+ number: 625110,
100
+ },
97
101
  DEDUCTIBLE_VAT: {
98
102
  id: 221,
99
103
  number: 445660,
@@ -1 +1 @@
1
- {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,cAAc,EAAE;QACd,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,UAAU,EAAE;QACV,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;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MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,yBAAyB,EAAE;QACzB,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;CACF,CAAC","sourcesContent":["export const Account = {\n PERSONAL_SPENT: {\n id: 1,\n number: 108000,\n },\n CURRENT_PARTNER: {\n id: 204,\n number: 455000,\n },\n MERCHANDISE_EXPENSE: {\n id: 27,\n number: 607000,\n },\n MERCHANDISE_CREDIT: {\n id: 227,\n number: 607190,\n },\n RESULT_BENEFIT: {\n id: 91,\n number: 120000,\n },\n RESULT_LOSS: {\n id: 92,\n number: 129000,\n },\n PRODUCTION: {\n id: 40,\n number: 701000,\n },\n SERVICE: {\n id: 47,\n number: 706000,\n },\n MERCHANDISE: {\n id: 48,\n number: 707000,\n },\n CAPITAL: {\n id: 112,\n number: 101100,\n },\n REPORT_DEBIT: {\n id: 89,\n number: 119000,\n },\n REPORT_CREDIT: {\n id: 87,\n number: 110000,\n },\n LEGAL_RESERVE: {\n id: 61,\n number: 106100,\n },\n STATUTORY_RESERVE: {\n id: 65,\n number: 106300,\n },\n REGULATED_RESERVE: {\n id: 66,\n number: 106400,\n },\n OPTIONAL_RESERVE: {\n id: 70,\n number: 106800,\n },\n UNAVAILABLE_RESERVE: {\n id: 64,\n number: 106200,\n },\n DIVIDEND: {\n id: 250,\n number: 457000,\n },\n LEVY_ON_RESERVE: {\n id: 70,\n number: 106800,\n },\n COMPANY_TAX: {\n id: 201,\n number: 444000,\n },\n SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 101300,\n },\n SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 109100,\n },\n TRAVELING_MEAL_HOTEL_EXPENSES: {\n id: 117,\n number: 625100,\n },\n DEDUCTIBLE_VAT: {\n id: 221,\n number: 445660,\n },\n GIFT: {\n id: 110,\n number: 623400,\n },\n VAT_COLLECTED_20_PERCENT: {\n id: 211,\n number: 445720,\n },\n\n INCOME: {\n id: 213,\n number: 706100,\n },\n COUNTER_SALES: {\n id: 214,\n number: 707100,\n },\n INTERNAL_TRANSFER: {\n id: 215,\n number: 581100,\n },\n CASH_WITHDRAWAL: {\n id: 205,\n number: 580000,\n },\n CASH_DEPOSIT: {\n id: 206,\n number: 580000,\n },\n VAT_DEDUCTIBLE_20_PERCENT: {\n id: 6,\n number: 445660,\n },\n WAITING_ACCOUNT: {\n id: 297,\n number: 472000,\n },\n COMMERCIAL_BUILDING: {\n id: 274,\n number: 213000,\n },\n};\n"]}
1
+ {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,cAAc,EAAE;QACd,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,UAAU,EAAE;QACV,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;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AAE,MAAM;KACf;IACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IAED,MAAM,EAAE;QACN,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,aAAa,EAAE;QACb,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,yBAAyB,EAAE;QACzB,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;CACF,CAAC","sourcesContent":["export const Account = {\n PERSONAL_SPENT: {\n id: 1,\n number: 108000,\n },\n CURRENT_PARTNER: {\n id: 204,\n number: 455000,\n },\n MERCHANDISE_EXPENSE: {\n id: 27,\n number: 607000,\n },\n MERCHANDISE_CREDIT: {\n id: 227,\n number: 607190,\n },\n RESULT_BENEFIT: {\n id: 91,\n number: 120000,\n },\n RESULT_LOSS: {\n id: 92,\n number: 129000,\n },\n PRODUCTION: {\n id: 40,\n number: 701000,\n },\n SERVICE: {\n id: 47,\n number: 706000,\n },\n MERCHANDISE: {\n id: 48,\n number: 707000,\n },\n CAPITAL: {\n id: 112,\n number: 101100,\n },\n REPORT_DEBIT: {\n id: 89,\n number: 119000,\n },\n REPORT_CREDIT: {\n id: 87,\n number: 110000,\n },\n LEGAL_RESERVE: {\n id: 61,\n number: 106100,\n },\n STATUTORY_RESERVE: {\n id: 65,\n number: 106300,\n },\n REGULATED_RESERVE: {\n id: 66,\n number: 106400,\n },\n OPTIONAL_RESERVE: {\n id: 70,\n number: 106800,\n },\n UNAVAILABLE_RESERVE: {\n id: 64,\n number: 106200,\n },\n DIVIDEND: {\n id: 250,\n number: 457000,\n },\n LEVY_ON_RESERVE: {\n id: 70,\n number: 106800,\n },\n COMPANY_TAX: {\n id: 201,\n number: 444000,\n },\n SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 101300,\n },\n SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 109100,\n },\n TRAVELING_MEAL_HOTEL_EXPENSES: {\n id: 117,\n number: 625100,\n },\n TRAVELING_EXPENSES: {\n id: 118,\n number: 625110,\n },\n DEDUCTIBLE_VAT: {\n id: 221,\n number: 445660,\n },\n GIFT: {\n id: 110,\n number: 623400,\n },\n VAT_COLLECTED_20_PERCENT: {\n id: 211,\n number: 445720,\n },\n\n INCOME: {\n id: 213,\n number: 706100,\n },\n COUNTER_SALES: {\n id: 214,\n number: 707100,\n },\n INTERNAL_TRANSFER: {\n id: 215,\n number: 581100,\n },\n CASH_WITHDRAWAL: {\n id: 205,\n number: 580000,\n },\n CASH_DEPOSIT: {\n id: 206,\n number: 580000,\n },\n VAT_DEDUCTIBLE_20_PERCENT: {\n id: 6,\n number: 445660,\n },\n WAITING_ACCOUNT: {\n id: 297,\n number: 472000,\n },\n COMMERCIAL_BUILDING: {\n id: 274,\n number: 213000,\n },\n};\n"]}
@@ -137,11 +137,13 @@ export declare class Cerfa2571_2024 {
137
137
  toPay: number;
138
138
  };
139
139
  }
140
+ export type Cerfa2571_2025 = Cerfa2571_2024;
140
141
  export type Prepare2571Params = {
141
142
  idSociety: number;
142
143
  idUser: number;
143
144
  idExercice: number;
144
145
  idRegistration: number;
145
146
  };
147
+ export type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;
146
148
  export {};
147
149
  //# sourceMappingURL=2571.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"2571.d.ts","sourceRo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QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,cAAc,EAAE,MAAM,CAAC;QACvB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"2571.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":";;;AAqCA,MAAa,cAAc;CAmD1B;AAnDD,wCAmDC;AAED,MAAa,cAAc;CAuD1B;AAvDD,wCAuDC","sourcesContent":["import { CerfaAddress } from './ReadCerfa';\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n addressObject: CerfaAddress;\n};\n\ntype Payment = {\n date: number;\n phone: string;\n isTransfer: boolean;\n isCheck: boolean;\n isElectronicPayment: boolean;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\ntype BaseRateAndAmount = {\n base: number;\n rate: number;\n amount: number;\n};\n\nexport class Cerfa2571_2023 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport class Cerfa2571_2024 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n onRent: number;\n loanAtZeroRate: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n loanAtZeroRate: number;\n onRent: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport type Prepare2571Params = {\n idSociety: number;\n idUser: number;\n idExercice: number;\n idRegistration: number;\n};\n"]}
1
+ {"version":3,"file":"2571.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":";;;AAqCA,MAAa,cAAc;CAmD1B;AAnDD,wCAmDC;AAED,MAAa,cAAc;CAuD1B;AAvDD,wCAuDC","sourcesContent":["import { CerfaAddress } from './ReadCerfa';\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n addressObject: CerfaAddress;\n};\n\ntype Payment = {\n date: number;\n phone: string;\n isTransfer: boolean;\n isCheck: boolean;\n isElectronicPayment: boolean;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\ntype BaseRateAndAmount = {\n base: number;\n rate: number;\n amount: number;\n};\n\nexport class Cerfa2571_2023 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport class Cerfa2571_2024 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n onRent: number;\n loanAtZeroRate: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n loanAtZeroRate: number;\n onRent: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport type Cerfa2571_2025 = Cerfa2571_2024;\n\nexport type Prepare2571Params = {\n idSociety: number;\n idUser: number;\n idExercice: number;\n idRegistration: number;\n};\n\nexport type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;\n"]}
@@ -55,11 +55,13 @@ export type Cerfa2573_2024 = {
55
55
  repayments: Repayment[];
56
56
  transferts: Transfert[];
57
57
  };
58
+ export type Cerfa2573_2025 = Cerfa2573_2024;
59
+ export type AnyCerfa2573Century = Cerfa2573_2024;
58
60
  export type Prepare2573Params = {
59
61
  idSociety: number;
60
62
  idExercice: number;
61
63
  idUser: number;
62
- values: Cerfa2573_2024;
64
+ values: AnyCerfa2573Century;
63
65
  };
64
66
  export type Cerfa2573_Refund_Input = {
65
67
  nature: AsponeCRB_2024;
@@ -1 +1 @@
1
- {"version":3,"file":"2573.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;KACpB,CAAC;IACF,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG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;CACzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAC5C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,cAAc,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE;QACT,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,EAAE,IAAI,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,YAAY,EAAE;QACZ,OAAO,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,cAAc,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACtD,gBAAgB,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,cAAc,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAC/D,OAAO,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,cAAc,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KACvD,CAAC;CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n idUser: number;\n values: Cerfa2573_2024;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
1
+ {"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Cerfa2573_2025 = Cerfa2573_2024;\nexport type AnyCerfa2573Century = Cerfa2573_2024;\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n idUser: number;\n values: AnyCerfa2573Century;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { CerfaType } from '../../../Enum/CerfaType';
2
- import { AnyCerfa2031Century, AnyCerfa2033Century, AnyCerfa2035Century, AnyCerfa2065Century, AnyCerfa2572Century, Cerfa2069RCI_2024, Cerfa2571_2023, Cerfa2571_2024, Cerfa2573_2024, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
2
+ import { AnyCerfa2031Century, AnyCerfa2033Century, AnyCerfa2035Century, AnyCerfa2065Century, AnyCerfa2571Century, AnyCerfa2572Century, Cerfa2069RCI_2024, Cerfa2573_2024, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
3
3
  import { Question } from '../../../Enum/BalanceSheetQuestion';
4
4
  import { TerminationType } from '../../../Enum/AnswerTypeValue';
5
5
  import { Cerfa3310_2023 } from './3310';
@@ -102,7 +102,7 @@ export type AsponeFormField = {
102
102
  export interface RegistrationPayload {
103
103
  cerfa2573?: Cerfa2573_2024;
104
104
  cerfa2572?: AnyCerfa2572Century;
105
- cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;
105
+ cerfa2571?: AnyCerfa2571Century;
106
106
  cerfa2031?: AnyCerfa2031Century;
107
107
  cerfa2033?: AnyCerfa2033Century;
108
108
  cerfa2065?: AnyCerfa2065Century;
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC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AE,kBAAkB,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AACrG,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,kBAAkB,EAAE,CAAA;CAAE,CAAC;AAE7E,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;CAC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":";;;AA8BA,MAAa,cAAc;CAG1B;AAHD,wCAGC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2571_2023,\n Cerfa2571_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[]; index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
1
+ {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":";;;AA6BA,MAAa,cAAc;CAG1B;AAHD,wCAGC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2571Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[]; index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: AnyCerfa2571Century;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
@@ -1,6 +1,8 @@
1
1
  import { RequiredQueryPaginate } from '../BasePaginate';
2
2
  export declare class QueryGetPaymentExpectation {
3
- idPrestation: number;
3
+ idPrestation?: number;
4
+ ref?: string;
5
+ includes?: string[];
4
6
  }
5
7
  export declare class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
6
8
  search?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,0BAA0B;IAGrC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,mCAAoC,SAAQ,qBAAqB;IAI5E,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
1
+ {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,0BAA0B;IAIrC,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,GAAG,CAAC,EAAE,MAAM,CAAC;IAMb,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,qBAAa,mCAAoC,SAAQ,qBAAqB;IAI5E,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
@@ -17,10 +17,24 @@ class QueryGetPaymentExpectation {
17
17
  }
18
18
  exports.QueryGetPaymentExpectation = QueryGetPaymentExpectation;
19
19
  __decorate([
20
- (0, utils_1.ApiProperty)(),
20
+ (0, utils_1.ApiPropertyOptional)(),
21
+ (0, class_validator_1.IsOptional)(),
21
22
  (0, class_validator_1.IsInt)(),
22
23
  __metadata("design:type", Number)
23
24
  ], QueryGetPaymentExpectation.prototype, "idPrestation", void 0);
25
+ __decorate([
26
+ (0, utils_1.ApiPropertyOptional)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsString)(),
29
+ __metadata("design:type", String)
30
+ ], QueryGetPaymentExpectation.prototype, "ref", void 0);
31
+ __decorate([
32
+ (0, utils_1.ApiPropertyOptional)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsString)({ each: true }),
35
+ (0, class_validator_1.IsIn)(['society'], { each: true }),
36
+ __metadata("design:type", Array)
37
+ ], QueryGetPaymentExpectation.prototype, "includes", void 0);
24
38
  class QueryGetPaymentExpectationPaginated extends BasePaginate_1.RequiredQueryPaginate {
25
39
  }
26
40
  exports.QueryGetPaymentExpectationPaginated = QueryGetPaymentExpectationPaginated;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AACrE,kDAAwD;AAExD,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;gEACa;AAGvB,MAAa,mCAAoC,SAAQ,oCAAqB;CAkB7E;AAlBD,kFAkBC;AAdC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yEACS;AAItB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;sEAAC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACA,IAAI;oEAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}\n\nexport class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n searchAmount?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
1
+ {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAC5E,6CAAqE;AACrE,kDAAwD;AAExD,MAAa,0BAA0B;CAgBtC;AAhBD,gEAgBC;AAZC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACc;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACE;AAMb;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;IACtB,IAAA,sBAAI,EAAC,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACd;AAGtB,MAAa,mCAAoC,SAAQ,oCAAqB;CAkB7E;AAlBD,kFAkBC;AAdC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACG;AAKhB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yEACS;AAItB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;sEAAC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACA,IAAI;oEAAC","sourcesContent":["import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetPaymentExpectation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n ref?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({each: true})\n @IsIn(['society'], { each: true })\n includes?: string[];\n}\n\nexport class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n searchAmount?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import Stripe from 'stripe';
1
+ import type Stripe from 'stripe';
2
2
  export declare class CreateStripeConnection {
3
3
  code: string;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAGvC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;CACjC"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAGvC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;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"}
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreatePaymentIntent = exports.CreateSubscriptionSessionOff = 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
- const stripe_1 = require("stripe");
16
15
  class CreateStripeConnection {
17
16
  }
18
17
  exports.CreateStripeConnection = CreateStripeConnection;
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/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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 Stripe from 'stripe';\n\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 CreateSubscriptionSessionOff {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n \n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAbC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0CACG;AAIX;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;gDACO;AAIlB;IAFC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;;iDACQ;AAGrB,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;kEAAC;AAGjB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACK;AAGlB,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;sEACc;AAG3B,MAAa,mBAAmB;CAe/B;AAfD,kDAeC;AAZC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAIzB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;4DACa;AAIxB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;0DACc;AAGtB;IADC,IAAA,2BAAmB,GAAE;;qDACU","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiProperty()\n @IsString()\n stripeCustomerId: 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,6 +1,6 @@
1
1
  import { BasePaginate, CreatePaymentExpecation, CreatePaymentIntent, CreateSubscriptionSessionOff, IPaymentExpectation, QueryGetPaymentExpectation, QueryGetPaymentExpectationPaginated, RetrievePaymentMethodsParams } from '../../types';
2
2
  import { Resource } from '../Resource';
3
- import Stripe from 'stripe';
3
+ import type Stripe from 'stripe';
4
4
  export declare class PaymentExpectation extends Resource {
5
5
  get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation>;
6
6
  getPaginate(params: QueryGetPaymentExpectationPaginated, signal?: AbortSignal): Promise<BasePaginate<IPaymentExpectation>>;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,uBAAuB,EACvB,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,0BAA0B,EAC1B,mCAAmC,EACnC,4BAA4B,EAC7B,MAAM,aAAa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E,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACH,gBAAgB,CAAC,OAAqC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,yBAAyB,CAAC,IAAyB;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;CACF","sourcesContent":["import {\n BasePaginate,\n CreatePaymentExpecation,\n CreatePaymentIntent,\n CreateSubscriptionSessionOff,\n IPaymentExpectation,\n QueryGetPaymentExpectation,\n QueryGetPaymentExpectationPaginated,\n RetrievePaymentMethodsParams,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport Stripe from 'stripe';\n\nexport class PaymentExpectation extends Resource {\n get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {\n return this.axios.$get('/payment-expectations', { params });\n }\n\n getPaginate(\n params: QueryGetPaymentExpectationPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectation>> {\n return this.axios.$get('/payment-expectations/paginate', { params, ...(signal ? { signal } : {}) });\n }\n\n create(idSociety: number, payload: CreatePaymentExpecation): Promise<IPaymentExpectation> {\n return this.axios.$post(`/societies/${idSociety}/payment-expectations`, payload);\n }\n\n update(id: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/payment-expectations/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/payment-expectations/${id}`);\n }\n\n /**\n * Update only one paymentExpectation, linked to prestation\n * @param idPrestation\n * @param payload\n * @returns\n */\n updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);\n }\n\n /**\n * Retourne les type de paiements Stripe\n */\n getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]> {\n return this.axios.$get('/stripe/payments/methods', { params });\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/payments/sessions-off', payload);\n }\n\n /**\n * Crée une intention de paiement Stripe avec les informations de notre client\n * Attention : les montants sont retournés x100\n */\n createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/payments/intents', body);\n }\n}\n"]}
1
+ {"version":3,"file":"PaymentExpectation.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C,GAAG,CAAC,MAAkC;QACpC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,WAAW,CACT,MAA2C,EAC3C,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IACtG,CAAC;IAED,MAAM,CAAC,SAAiB,EAAE,OAAgC;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,OAAqC;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,yBAAyB,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAAC,YAAoB,EAAE,OAAqC;QAC5E,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,YAAY,uBAAuB,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,MAAoC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACH,gBAAgB,CAAC,OAAqC;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,yBAAyB,CAAC,IAAyB;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,0BAA0B,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;CACF","sourcesContent":["import {\n BasePaginate,\n CreatePaymentExpecation,\n CreatePaymentIntent,\n CreateSubscriptionSessionOff,\n IPaymentExpectation,\n QueryGetPaymentExpectation,\n QueryGetPaymentExpectationPaginated,\n RetrievePaymentMethodsParams,\n} from '../../types';\nimport { Resource } from '../Resource';\nimport type Stripe from 'stripe';\n\nexport class PaymentExpectation extends Resource {\n get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {\n return this.axios.$get('/payment-expectations', { params });\n }\n\n getPaginate(\n params: QueryGetPaymentExpectationPaginated,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IPaymentExpectation>> {\n return this.axios.$get('/payment-expectations/paginate', { params, ...(signal ? { signal } : {}) });\n }\n\n create(idSociety: number, payload: CreatePaymentExpecation): Promise<IPaymentExpectation> {\n return this.axios.$post(`/societies/${idSociety}/payment-expectations`, payload);\n }\n\n update(id: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/payment-expectations/${id}`, payload);\n }\n\n delete(id: number): Promise<boolean> {\n return this.axios.$delete(`/payment-expectations/${id}`);\n }\n\n /**\n * Update only one paymentExpectation, linked to prestation\n * @param idPrestation\n * @param payload\n * @returns\n */\n updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation> {\n return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);\n }\n\n /**\n * Retourne les type de paiements Stripe\n */\n getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]> {\n return this.axios.$get('/stripe/payments/methods', { params });\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/payments/sessions-off', payload);\n }\n\n /**\n * Crée une intention de paiement Stripe avec les informations de notre client\n * Attention : les montants sont retournés x100\n */\n createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>> {\n return this.axios.$post('/stripe/payments/intents', body);\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  import { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';
3
- import Stripe from 'stripe';
3
+ import type Stripe from 'stripe';
4
4
  export declare class Subscription extends Resource {
5
5
  /**
6
6
  * Retourne les offres Stripe actives
@@ -1 +1 @@
1
- {"version":3,"file":"Subscription.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACjG,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,YAA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AQ,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAM3D,sBAAsB,CACpB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;CAGrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC;;;OAGG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,aAAa,CAAC,OAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAA4B;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,oBAAoB;IAEpB,sBAAsB,CACpB,SAAiB,EACjB,IAAwB;QAExB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,yBAAyB,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';\nimport Stripe from 'stripe';\n\nexport class Subscription extends Resource {\n /**\n * Retourne les offres Stripe actives\n * Attention : les montants sont retournés x100\n */\n getAllOffers(): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/subscriptions/offers');\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/subscriptions/sessions', payload);\n }\n\n /**\n * Créé un portail Stripe permettant de gérer l'abonnement\n * Attention : les montants sont retournés x100\n */\n createPortal(payload: CreateStripePortals): Promise<string> {\n return this.axios.$post('/stripe/subscriptions/portals', payload);\n }\n\n /**\n * Retourne l'abonnement Stripe de la société courante\n * Attention : les montants sont retournés x100\n */\n get(): Promise<Stripe.Response<Stripe.Subscription> | null> {\n return this.axios.$get('/stripe/subscriptions');\n }\n\n /* -------------- */\n\n createComptalibSession(\n idSociety: number,\n body: QueryStripeSession,\n ): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);\n }\n}\n"]}
1
+ {"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC;;;OAGG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,aAAa,CAAC,OAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAA4B;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,oBAAoB;IAEpB,sBAAsB,CACpB,SAAiB,EACjB,IAAwB;QAExB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,yBAAyB,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';\nimport type Stripe from 'stripe';\n\nexport class Subscription extends Resource {\n /**\n * Retourne les offres Stripe actives\n * Attention : les montants sont retournés x100\n */\n getAllOffers(): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/subscriptions/offers');\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/subscriptions/sessions', payload);\n }\n\n /**\n * Créé un portail Stripe permettant de gérer l'abonnement\n * Attention : les montants sont retournés x100\n */\n createPortal(payload: CreateStripePortals): Promise<string> {\n return this.axios.$post('/stripe/subscriptions/portals', payload);\n }\n\n /**\n * Retourne l'abonnement Stripe de la société courante\n * Attention : les montants sont retournés x100\n */\n get(): Promise<Stripe.Response<Stripe.Subscription> | null> {\n return this.axios.$get('/stripe/subscriptions');\n }\n\n /* -------------- */\n\n createComptalibSession(\n idSociety: number,\n body: QueryStripeSession,\n ): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);\n }\n}\n"]}
@@ -91,6 +91,10 @@ export declare const Account: {
91
91
  id: number;
92
92
  number: number;
93
93
  };
94
+ TRAVELING_EXPENSES: {
95
+ id: number;
96
+ number: number;
97
+ };
94
98
  DEDUCTIBLE_VAT: {
95
99
  id: number;
96
100
  number: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0InB,CAAC"}
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8InB,CAAC"}
@@ -91,6 +91,10 @@ export const Account = {
91
91
  id: 117,
92
92
  number: 625100,
93
93
  },
94
+ TRAVELING_EXPENSES: {
95
+ id: 118,
96
+ number: 625110,
97
+ },
94
98
  DEDUCTIBLE_VAT: {
95
99
  id: 221,
96
100
  number: 445660,
@@ -1 +1 @@
1
- {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,cAAc,EAAE;QACd,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,UAAU,EAAE;QACV,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,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M;KACf;IACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IAED,MAAM,EAAE;QACN,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,aAAa,EAAE;QACb,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,yBAAyB,EAAE;QACzB,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;CACF,CAAC","sourcesContent":["export const Account = {\n PERSONAL_SPENT: {\n id: 1,\n number: 108000,\n },\n CURRENT_PARTNER: {\n id: 204,\n number: 455000,\n },\n MERCHANDISE_EXPENSE: {\n id: 27,\n number: 607000,\n },\n MERCHANDISE_CREDIT: {\n id: 227,\n number: 607190,\n },\n RESULT_BENEFIT: {\n id: 91,\n number: 120000,\n },\n RESULT_LOSS: {\n id: 92,\n number: 129000,\n },\n PRODUCTION: {\n id: 40,\n number: 701000,\n },\n SERVICE: {\n id: 47,\n number: 706000,\n },\n MERCHANDISE: {\n id: 48,\n number: 707000,\n },\n CAPITAL: {\n id: 112,\n number: 101100,\n },\n REPORT_DEBIT: {\n id: 89,\n number: 119000,\n },\n REPORT_CREDIT: {\n id: 87,\n number: 110000,\n },\n LEGAL_RESERVE: {\n id: 61,\n number: 106100,\n },\n STATUTORY_RESERVE: {\n id: 65,\n number: 106300,\n },\n REGULATED_RESERVE: {\n id: 66,\n number: 106400,\n },\n OPTIONAL_RESERVE: {\n id: 70,\n number: 106800,\n },\n UNAVAILABLE_RESERVE: {\n id: 64,\n number: 106200,\n },\n DIVIDEND: {\n id: 250,\n number: 457000,\n },\n LEVY_ON_RESERVE: {\n id: 70,\n number: 106800,\n },\n COMPANY_TAX: {\n id: 201,\n number: 444000,\n },\n SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 101300,\n },\n SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 109100,\n },\n TRAVELING_MEAL_HOTEL_EXPENSES: {\n id: 117,\n number: 625100,\n },\n DEDUCTIBLE_VAT: {\n id: 221,\n number: 445660,\n },\n GIFT: {\n id: 110,\n number: 623400,\n },\n VAT_COLLECTED_20_PERCENT: {\n id: 211,\n number: 445720,\n },\n\n INCOME: {\n id: 213,\n number: 706100,\n },\n COUNTER_SALES: {\n id: 214,\n number: 707100,\n },\n INTERNAL_TRANSFER: {\n id: 215,\n number: 581100,\n },\n CASH_WITHDRAWAL: {\n id: 205,\n number: 580000,\n },\n CASH_DEPOSIT: {\n id: 206,\n number: 580000,\n },\n VAT_DEDUCTIBLE_20_PERCENT: {\n id: 6,\n number: 445660,\n },\n WAITING_ACCOUNT: {\n id: 297,\n number: 472000,\n },\n COMMERCIAL_BUILDING: {\n id: 274,\n number: 213000,\n },\n};\n"]}
1
+ {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf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M;KACf;IACD,6BAA6B,EAAE;QAC7B,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,cAAc,EAAE;QACd,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IAED,MAAM,EAAE;QACN,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,aAAa,EAAE;QACb,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,yBAAyB,EAAE;QACzB,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;CACF,CAAC","sourcesContent":["export const Account = {\n PERSONAL_SPENT: {\n id: 1,\n number: 108000,\n },\n CURRENT_PARTNER: {\n id: 204,\n number: 455000,\n },\n MERCHANDISE_EXPENSE: {\n id: 27,\n number: 607000,\n },\n MERCHANDISE_CREDIT: {\n id: 227,\n number: 607190,\n },\n RESULT_BENEFIT: {\n id: 91,\n number: 120000,\n },\n RESULT_LOSS: {\n id: 92,\n number: 129000,\n },\n PRODUCTION: {\n id: 40,\n number: 701000,\n },\n SERVICE: {\n id: 47,\n number: 706000,\n },\n MERCHANDISE: {\n id: 48,\n number: 707000,\n },\n CAPITAL: {\n id: 112,\n number: 101100,\n },\n REPORT_DEBIT: {\n id: 89,\n number: 119000,\n },\n REPORT_CREDIT: {\n id: 87,\n number: 110000,\n },\n LEGAL_RESERVE: {\n id: 61,\n number: 106100,\n },\n STATUTORY_RESERVE: {\n id: 65,\n number: 106300,\n },\n REGULATED_RESERVE: {\n id: 66,\n number: 106400,\n },\n OPTIONAL_RESERVE: {\n id: 70,\n number: 106800,\n },\n UNAVAILABLE_RESERVE: {\n id: 64,\n number: 106200,\n },\n DIVIDEND: {\n id: 250,\n number: 457000,\n },\n LEVY_ON_RESERVE: {\n id: 70,\n number: 106800,\n },\n COMPANY_TAX: {\n id: 201,\n number: 444000,\n },\n SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 101300,\n },\n SHAREHOLDER_SHARE_CAPITAL_BANK_PROVIDED: {\n id: 0,\n number: 109100,\n },\n TRAVELING_MEAL_HOTEL_EXPENSES: {\n id: 117,\n number: 625100,\n },\n TRAVELING_EXPENSES: {\n id: 118,\n number: 625110,\n },\n DEDUCTIBLE_VAT: {\n id: 221,\n number: 445660,\n },\n GIFT: {\n id: 110,\n number: 623400,\n },\n VAT_COLLECTED_20_PERCENT: {\n id: 211,\n number: 445720,\n },\n\n INCOME: {\n id: 213,\n number: 706100,\n },\n COUNTER_SALES: {\n id: 214,\n number: 707100,\n },\n INTERNAL_TRANSFER: {\n id: 215,\n number: 581100,\n },\n CASH_WITHDRAWAL: {\n id: 205,\n number: 580000,\n },\n CASH_DEPOSIT: {\n id: 206,\n number: 580000,\n },\n VAT_DEDUCTIBLE_20_PERCENT: {\n id: 6,\n number: 445660,\n },\n WAITING_ACCOUNT: {\n id: 297,\n number: 472000,\n },\n COMMERCIAL_BUILDING: {\n id: 274,\n number: 213000,\n },\n};\n"]}
@@ -137,11 +137,13 @@ export declare class Cerfa2571_2024 {
137
137
  toPay: number;
138
138
  };
139
139
  }
140
+ export type Cerfa2571_2025 = Cerfa2571_2024;
140
141
  export type Prepare2571Params = {
141
142
  idSociety: number;
142
143
  idUser: number;
143
144
  idExercice: number;
144
145
  idRegistration: number;
145
146
  };
147
+ export type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;
146
148
  export {};
147
149
  //# sourceMappingURL=2571.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"2571.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,KAAK,QAAQ,GAAG;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,qBAAa,cAAc;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,C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AC;QAC5B,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,cAAc,EAAE,MAAM,CAAC;QACvB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"2571.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"AAqCA,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,UAAU,CAwBR;IACF,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,QAAQ,CAON;IACF,MAAM,CAWJ;CACH;AAED,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,UAAU,CA0BR;IACF,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,QAAQ,CAON;IACF,MAAM,CAaJ;CACH","sourcesContent":["import { CerfaAddress } from './ReadCerfa';\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n addressObject: CerfaAddress;\n};\n\ntype Payment = {\n date: number;\n phone: string;\n isTransfer: boolean;\n isCheck: boolean;\n isElectronicPayment: boolean;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\ntype BaseRateAndAmount = {\n base: number;\n rate: number;\n amount: number;\n};\n\nexport class Cerfa2571_2023 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport class Cerfa2571_2024 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n onRent: number;\n loanAtZeroRate: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n loanAtZeroRate: number;\n onRent: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport type Prepare2571Params = {\n idSociety: number;\n idUser: number;\n idExercice: number;\n idRegistration: number;\n};\n"]}
1
+ {"version":3,"file":"2571.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2571.ts"],"names":[],"mappings":"AAqCA,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,UAAU,CAwBR;IACF,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,QAAQ,CAON;IACF,MAAM,CAWJ;CACH;AAED,MAAM,OAAO,cAAc;IACzB,KAAK,CAAS;IACd,QAAQ,CAAW;IACnB,OAAO,CAAU;IACjB,UAAU,CA0BR;IACF,OAAO,CAAU;IACjB,cAAc,CAAkB;IAChC,QAAQ,CAON;IACF,MAAM,CAaJ;CACH","sourcesContent":["import { CerfaAddress } from './ReadCerfa';\n\ntype Exercice = {\n startDate: string;\n endDate: string;\n};\n\ntype Society = {\n name: string;\n address: string;\n addressObject: CerfaAddress;\n};\n\ntype Payment = {\n date: number;\n phone: string;\n isTransfer: boolean;\n isCheck: boolean;\n isElectronicPayment: boolean;\n contribution: number;\n limitDate: number;\n amountToInpute: number;\n};\n\ntype Administration = {\n amount: number;\n date: string;\n operationNumber: number;\n receptionDate: string;\n};\n\ntype BaseRateAndAmount = {\n base: number;\n rate: number;\n amount: number;\n};\n\nexport class Cerfa2571_2023 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport class Cerfa2571_2024 {\n siren: string;\n exercice: Exercice;\n society: Society;\n companyTax: {\n imputations: {\n default: number;\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n onRent: number;\n loanAtZeroRate: number;\n overage: number;\n };\n toPay: {\n default: number;\n rent: number;\n social: number;\n tax: number;\n capitalGain: number;\n total: number;\n };\n reductions: {\n hasDefault: boolean;\n hasSocial: boolean;\n };\n };\n payment: Payment;\n administration?: Administration;\n advances: {\n normalRate: BaseRateAndAmount;\n reducedRate: BaseRateAndAmount;\n onResult: BaseRateAndAmount;\n subTotal: number;\n regulation: number;\n total: number;\n };\n credit: {\n job: number;\n deficit: number;\n corse: number;\n search: number;\n patronage: number;\n outerSea: number;\n collaborativeSearch: number;\n loanAtZeroRate: number;\n onRent: number;\n overage: number;\n default: number;\n toPay: number;\n };\n}\n\nexport type Cerfa2571_2025 = Cerfa2571_2024;\n\nexport type Prepare2571Params = {\n idSociety: number;\n idUser: number;\n idExercice: number;\n idRegistration: number;\n};\n\nexport type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;\n"]}
@@ -55,11 +55,13 @@ export type Cerfa2573_2024 = {
55
55
  repayments: Repayment[];
56
56
  transferts: Transfert[];
57
57
  };
58
+ export type Cerfa2573_2025 = Cerfa2573_2024;
59
+ export type AnyCerfa2573Century = Cerfa2573_2024;
58
60
  export type Prepare2573Params = {
59
61
  idSociety: number;
60
62
  idExercice: number;
61
63
  idUser: number;
62
- values: Cerfa2573_2024;
64
+ values: AnyCerfa2573Century;
63
65
  };
64
66
  export type Cerfa2573_Refund_Input = {
65
67
  nature: AsponeCRB_2024;
@@ -1 +1 @@
1
- {"version":3,"file":"2573.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;KACpB,CAAC;IACF,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IA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AAc,GAAG,IAAI,CAAC;IAC9B,SAAS,EAAE;QACT,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,EAAE,IAAI,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAClC,YAAY,EAAE;QACZ,OAAO,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,cAAc,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACtD,gBAAgB,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,cAAc,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAC/D,OAAO,EAAE,KAAK,CAAC;YAAE,EAAE,EAAE,cAAc,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KACvD,CAAC;CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n idUser: number;\n values: Cerfa2573_2024;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
1
+ {"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Cerfa2573_2025 = Cerfa2573_2024;\nexport type AnyCerfa2573Century = Cerfa2573_2024;\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n idUser: number;\n values: AnyCerfa2573Century;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import { CerfaType } from '../../../Enum/CerfaType';
2
- import { AnyCerfa2031Century, AnyCerfa2033Century, AnyCerfa2035Century, AnyCerfa2065Century, AnyCerfa2572Century, Cerfa2069RCI_2024, Cerfa2571_2023, Cerfa2571_2024, Cerfa2573_2024, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
2
+ import { AnyCerfa2031Century, AnyCerfa2033Century, AnyCerfa2035Century, AnyCerfa2065Century, AnyCerfa2571Century, AnyCerfa2572Century, Cerfa2069RCI_2024, Cerfa2573_2024, Cerfa3519_2017, FieldForGeneration, PayloadCerfa3519_2017, QuestionWording } from '../../..';
3
3
  import { Question } from '../../../Enum/BalanceSheetQuestion';
4
4
  import { TerminationType } from '../../../Enum/AnswerTypeValue';
5
5
  import { Cerfa3310_2023 } from './3310';
@@ -102,7 +102,7 @@ export type AsponeFormField = {
102
102
  export interface RegistrationPayload {
103
103
  cerfa2573?: Cerfa2573_2024;
104
104
  cerfa2572?: AnyCerfa2572Century;
105
- cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;
105
+ cerfa2571?: AnyCerfa2571Century;
106
106
  cerfa2031?: AnyCerfa2031Century;
107
107
  cerfa2033?: AnyCerfa2033Century;
108
108
  cerfa2065?: AnyCerfa2065Century;
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,cAAc;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,gBAAgB,GAAG,qBAAqB,EAAE,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,gBA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mB,CAAC;IAChC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;CAC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AA8BA,MAAM,OAAO,cAAc;IACzB,GAAG,CAAS;IACZ,KAAK,CAAmC;CACzC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2571_2023,\n Cerfa2571_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[]; index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
1
+ {"version":3,"file":"ReadCerfa.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/ReadCerfa.ts"],"names":[],"mappings":"AA6BA,MAAM,OAAO,cAAc;IACzB,GAAG,CAAS;IACZ,KAAK,CAAmC;CACzC","sourcesContent":["import { CerfaType } from '../../../Enum/CerfaType';\nimport {\n AnyCerfa2031Century,\n AnyCerfa2033Century,\n AnyCerfa2035Century,\n AnyCerfa2065Century,\n AnyCerfa2571Century,\n AnyCerfa2572Century,\n Cerfa2069RCI_2024,\n Cerfa2573_2024,\n Cerfa3519_2017,\n FieldForGeneration,\n PayloadCerfa3519_2017,\n QuestionWording,\n} from '../../..';\nimport { Question } from '../../../Enum/BalanceSheetQuestion';\nimport { TerminationType } from '../../../Enum/AnswerTypeValue';\nimport { Cerfa3310_2023 } from './3310';\nimport { getCerfa3519Century17Payload } from '../../../../utils/vat/3519/century17';\nimport { getCerfa3519Century23RegistrationFields } from '../../../../utils/vat/3519/century23';\n\nexport type CerfaPayloadFormField = {\n label: string;\n key: string;\n type: 'text' | 'string' | 'number' | 'boolean' | 'date';\n visibleIf?: string;\n columns?: number;\n};\n\nexport class CerfaFormValue {\n key: string;\n value: string | number | boolean | null;\n}\n\nexport type CerfaPayloadForm = {\n sectionName: string;\n childrens: CerfaPayloadForm | CerfaPayloadFormField[];\n};\n\nexport type AnnexVatDocument = {\n shouldInclude: (data: Cerfa3310_2023) => boolean;\n name: string;\n century: string;\n payload: (amount: number, payload: PayloadCerfa3519_2017) => ReturnType<typeof getCerfa3519Century17Payload>;\n asponePayload: (data: Cerfa3519_2017) => ReturnType<typeof getCerfa3519Century23RegistrationFields>;\n fields: CerfaPayloadForm[];\n fileName: '3519-2017';\n};\n\nexport type VatDocument = {\n idCerfaType: CerfaType;\n name: string;\n century: string; // Millésime du formulaire ASPONE\n centuries: number[];\n payload: (...args: any[]) => any;\n asponePayload: (...args: any[]) => any;\n fields: Array<CerfaPayloadForm>;\n fileName: '3310-2023' | '3514-2022' | '3517-2023' | '3310-2024' | '3517-2025' | '3310-2025';\n annex?: AnnexVatDocument;\n annexFields?: (data: any) => AsponeFormFields;\n};\n\nexport interface ReadCerfaToComplete {\n declaration: CerfaType;\n annex: CerfaType | null;\n}\nexport interface ReadCerfaDocument {\n file: any;\n payload: any;\n}\nexport interface Accountant {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface CouncilDetails {\n has: boolean;\n name: string | null;\n phone: string | null;\n address: CerfaAddress;\n}\nexport interface EcfDetails {\n has: boolean;\n name: string | null;\n address: CerfaAddress;\n}\nexport interface ViewerDetails {\n has: boolean;\n name: string;\n address: CerfaAddress;\n number: string | null;\n}\nexport interface CerfaAddress {\n number: string;\n street: string;\n zipCode: string;\n city: string;\n country: {\n name: string | null;\n code: string | null;\n };\n full: string;\n}\n\nexport type CerfaAnswers = {\n [key in keyof typeof QuestionWording | keyof typeof Question]: any;\n};\n\nexport type Termination = {\n type: TerminationType;\n date: string | null;\n};\n\nexport type AsponeFormFields = Array<{ name: string; fields: FieldForGeneration[]; index?: number }>;\nexport type AsponeFormField = { name: string; fields: FieldForGeneration[] };\n\nexport interface RegistrationPayload {\n cerfa2573?: Cerfa2573_2024;\n cerfa2572?: AnyCerfa2572Century;\n cerfa2571?: AnyCerfa2571Century;\n cerfa2031?: AnyCerfa2031Century;\n cerfa2033?: AnyCerfa2033Century;\n cerfa2065?: AnyCerfa2065Century;\n cerfa2035?: AnyCerfa2035Century;\n cerfa2069RCI?: Cerfa2069RCI_2024;\n}\n\nexport type ReadFormFile = {\n name: string;\n idFile: number;\n size: number;\n token: string;\n id?: number;\n Location: string;\n ETag: string;\n Bucket: string;\n Key?: string;\n mimeType?: string;\n};\n\nexport interface ReadFormGeneration {\n file: ReadFormFile;\n payload: RegistrationPayload;\n}\n"]}
@@ -1,6 +1,8 @@
1
1
  import { RequiredQueryPaginate } from '../BasePaginate';
2
2
  export declare class QueryGetPaymentExpectation {
3
- idPrestation: number;
3
+ idPrestation?: number;
4
+ ref?: string;
5
+ includes?: string[];
4
6
  }
5
7
  export declare class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
6
8
  search?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,0BAA0B;IAGrC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,mCAAoC,SAAQ,qBAAqB;IAI5E,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
1
+ {"version":3,"file":"QueryPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,0BAA0B;IAIrC,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,GAAG,CAAC,EAAE,MAAM,CAAC;IAMb,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,qBAAa,mCAAoC,SAAQ,qBAAqB;IAI5E,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
@@ -7,17 +7,33 @@ 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 { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
10
+ import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
12
  import { RequiredQueryPaginate } from '../BasePaginate';
13
13
  export class QueryGetPaymentExpectation {
14
14
  idPrestation;
15
+ ref;
16
+ includes;
15
17
  }
16
18
  __decorate([
17
- ApiProperty(),
19
+ ApiPropertyOptional(),
20
+ IsOptional(),
18
21
  IsInt(),
19
22
  __metadata("design:type", Number)
20
23
  ], QueryGetPaymentExpectation.prototype, "idPrestation", void 0);
24
+ __decorate([
25
+ ApiPropertyOptional(),
26
+ IsOptional(),
27
+ IsString(),
28
+ __metadata("design:type", String)
29
+ ], QueryGetPaymentExpectation.prototype, "ref", void 0);
30
+ __decorate([
31
+ ApiPropertyOptional(),
32
+ IsOptional(),
33
+ IsString({ each: true }),
34
+ IsIn(['society'], { each: true }),
35
+ __metadata("design:type", Array)
36
+ ], QueryGetPaymentExpectation.prototype, "includes", void 0);
21
37
  export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
22
38
  search;
23
39
  searchAmount;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.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;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,0BAA0B;IAGrC,YAAY,CAAS;CACtB;AADC;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;gEACa;AAGvB,MAAM,OAAO,mCAAoC,SAAQ,qBAAqB;IAI5E,MAAM,CAAU;IAKhB,YAAY,CAAU;IAItB,SAAS,CAAO;IAIhB,OAAO,CAAO;CACf;AAdC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;mEACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;yEACS;AAItB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;sEAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;oEAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetPaymentExpectation {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}\n\nexport class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n searchAmount?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
1
+ {"version":3,"file":"QueryPaymentExpectation.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,0BAA0B;IAIrC,YAAY,CAAU;IAKtB,GAAG,CAAU;IAMb,QAAQ,CAAY;CACrB;AAZC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACc;AAKtB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACE;AAMb;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,CAAC,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;IACtB,IAAI,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACd;AAGtB,MAAM,OAAO,mCAAoC,SAAQ,qBAAqB;IAI5E,MAAM,CAAU;IAKhB,YAAY,CAAU;IAItB,SAAS,CAAO;IAIhB,OAAO,CAAO;CACf;AAdC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;mEACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;yEACS;AAItB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;sEAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;oEAAC","sourcesContent":["import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryGetPaymentExpectation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n ref?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({each: true})\n @IsIn(['society'], { each: true })\n includes?: string[];\n}\n\nexport class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n searchAmount?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
@@ -1,4 +1,4 @@
1
- import Stripe from 'stripe';
1
+ import type Stripe from 'stripe';
2
2
  export declare class CreateStripeConnection {
3
3
  code: string;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAGvC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;IAIzB,eAAe,EAAE,MAAM,CAAC;IAIxB,aAAa,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,EAAE,MAAM,CAAC,aAAa,CAAC;CACjC"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAGvC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;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,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
11
11
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
- import Stripe from 'stripe';
13
12
  export class CreateStripeConnection {
14
13
  code;
15
14
  }
@@ -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,QAA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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 Stripe from 'stripe';\n\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 CreateSubscriptionSessionOff {\n @ApiProperty()\n @IsString()\n stripeCustomerId: 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,sBAA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cesContent":["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 CreateSubscriptionSessionOff {\n @ApiProperty()\n @IsString()\n stripeCustomerId: 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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.3.30-4",
3
+ "version": "1.3.30-5",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -75,7 +75,7 @@
75
75
  "mailparser": "^3.4.0",
76
76
  "rxjs": "^7.0.1",
77
77
  "sms-segments-calculator": "^1.2.0",
78
- "stripe": "^14.13.0",
78
+ "stripe": "^18.1.1",
79
79
  "ts-enum-util": "^4.0.2"
80
80
  }
81
81
  }
@@ -9,7 +9,7 @@ import {
9
9
  RetrievePaymentMethodsParams,
10
10
  } from '../../types';
11
11
  import { Resource } from '../Resource';
12
- import Stripe from 'stripe';
12
+ import type Stripe from 'stripe';
13
13
 
14
14
  export class PaymentExpectation extends Resource {
15
15
  get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation> {
@@ -1,6 +1,6 @@
1
1
  import { Resource } from '../Resource';
2
2
  import { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';
3
- import Stripe from 'stripe';
3
+ import type Stripe from 'stripe';
4
4
 
5
5
  export class Subscription extends Resource {
6
6
  /**
@@ -91,6 +91,10 @@ export const Account = {
91
91
  id: 117,
92
92
  number: 625100,
93
93
  },
94
+ TRAVELING_EXPENSES: {
95
+ id: 118,
96
+ number: 625110,
97
+ },
94
98
  DEDUCTIBLE_VAT: {
95
99
  id: 221,
96
100
  number: 445660,
@@ -145,9 +145,13 @@ export class Cerfa2571_2024 {
145
145
  };
146
146
  }
147
147
 
148
+ export type Cerfa2571_2025 = Cerfa2571_2024;
149
+
148
150
  export type Prepare2571Params = {
149
151
  idSociety: number;
150
152
  idUser: number;
151
153
  idExercice: number;
152
154
  idRegistration: number;
153
155
  };
156
+
157
+ export type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;
@@ -61,11 +61,14 @@ export type Cerfa2573_2024 = {
61
61
  transferts: Transfert[];
62
62
  };
63
63
 
64
+ export type Cerfa2573_2025 = Cerfa2573_2024;
65
+ export type AnyCerfa2573Century = Cerfa2573_2024;
66
+
64
67
  export type Prepare2573Params = {
65
68
  idSociety: number;
66
69
  idExercice: number;
67
70
  idUser: number;
68
- values: Cerfa2573_2024;
71
+ values: AnyCerfa2573Century;
69
72
  };
70
73
 
71
74
  export type Cerfa2573_Refund_Input = {
@@ -4,10 +4,9 @@ import {
4
4
  AnyCerfa2033Century,
5
5
  AnyCerfa2035Century,
6
6
  AnyCerfa2065Century,
7
+ AnyCerfa2571Century,
7
8
  AnyCerfa2572Century,
8
9
  Cerfa2069RCI_2024,
9
- Cerfa2571_2023,
10
- Cerfa2571_2024,
11
10
  Cerfa2573_2024,
12
11
  Cerfa3519_2017,
13
12
  FieldForGeneration,
@@ -119,7 +118,7 @@ export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
119
118
  export interface RegistrationPayload {
120
119
  cerfa2573?: Cerfa2573_2024;
121
120
  cerfa2572?: AnyCerfa2572Century;
122
- cerfa2571?: Cerfa2571_2023 | Cerfa2571_2024;
121
+ cerfa2571?: AnyCerfa2571Century;
123
122
  cerfa2031?: AnyCerfa2031Century;
124
123
  cerfa2033?: AnyCerfa2033Century;
125
124
  cerfa2065?: AnyCerfa2065Century;
@@ -1,11 +1,23 @@
1
- import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
1
+ import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
3
  import { RequiredQueryPaginate } from '../BasePaginate';
4
4
 
5
5
  export class QueryGetPaymentExpectation {
6
- @ApiProperty()
6
+ @ApiPropertyOptional()
7
+ @IsOptional()
7
8
  @IsInt()
8
- idPrestation: number;
9
+ idPrestation?: number;
10
+
11
+ @ApiPropertyOptional()
12
+ @IsOptional()
13
+ @IsString()
14
+ ref?: string;
15
+
16
+ @ApiPropertyOptional()
17
+ @IsOptional()
18
+ @IsString({each: true})
19
+ @IsIn(['society'], { each: true })
20
+ includes?: string[];
9
21
  }
10
22
 
11
23
  export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
@@ -1,7 +1,6 @@
1
1
  import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
2
2
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
3
- import Stripe from 'stripe';
4
-
3
+ import type Stripe from 'stripe';
5
4
  export class CreateStripeConnection {
6
5
  @ApiProperty()
7
6
  @IsString()
@@ -18,15 +17,15 @@ export class CreateCustomer {
18
17
  @ApiProperty()
19
18
  @IsInt()
20
19
  id: number;
21
-
20
+
22
21
  @ApiProperty()
23
22
  @IsString()
24
23
  email: string;
25
-
24
+
26
25
  @ApiPropertyOptional()
27
26
  @IsString()
28
27
  lastname?: string;
29
-
28
+
30
29
  @ApiPropertyOptional()
31
30
  @IsString()
32
31
  firstname?: string;
@@ -60,7 +59,7 @@ export class CreatePaymentIntent {
60
59
  @ApiProperty()
61
60
  @IsString()
62
61
  stripeCustomerId: string;
63
-
62
+
64
63
  @ApiProperty()
65
64
  @IsString()
66
65
  paymentMethodId: string;