@silexpert/core 1.3.30-3 → 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.
- package/dist/cjs/api/resources/PaymentExpectation.d.ts +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +2 -6
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +0 -6
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/Account.d.ts +4 -0
- package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Account.js +4 -0
- package/dist/cjs/types/Enum/Account.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +2 -0
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +3 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts +2 -2
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +15 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +0 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -4
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +1 -14
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +2 -6
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +0 -6
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/Account.d.ts +4 -0
- package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Account.js +4 -0
- package/dist/mjs/types/Enum/Account.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +2 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +3 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts +2 -2
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +18 -2
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +0 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +0 -4
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +0 -14
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +2 -2
- package/ts/api/resources/PaymentExpectation.ts +1 -1
- package/ts/api/resources/Subscription.ts +2 -15
- package/ts/types/Enum/Account.ts +4 -0
- package/ts/types/Interface/api/cerfa/2571.ts +4 -0
- package/ts/types/Interface/api/cerfa/2573.ts +4 -1
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +2 -3
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +15 -3
- package/ts/types/Interface/api/stripe/Create.ts +5 -6
- package/ts/types/Interface/api/stripe/QueryStripe.ts +0 -9
- package/ts/types/index.ts +0 -1
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts +0 -5
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.js +0 -3
- package/dist/cjs/types/Interface/api/stripe/ReadStripe.js.map +0 -1
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts +0 -5
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.js +0 -2
- package/dist/mjs/types/Interface/api/stripe/ReadStripe.js.map +0 -1
- package/ts/types/Interface/api/stripe/ReadStripe.ts +0 -4
|
@@ -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;
|
|
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,M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O,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 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
|
-
import {
|
|
3
|
-
import Stripe from 'stripe';
|
|
2
|
+
import { QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';
|
|
3
|
+
import type Stripe from 'stripe';
|
|
4
4
|
export declare class Subscription extends Resource {
|
|
5
5
|
/**
|
|
6
6
|
* Retourne les offres Stripe actives
|
|
@@ -22,10 +22,6 @@ export declare class Subscription extends Resource {
|
|
|
22
22
|
* Attention : les montants sont retournés x100
|
|
23
23
|
*/
|
|
24
24
|
get(): Promise<Stripe.Response<Stripe.Subscription> | null>;
|
|
25
|
-
/**
|
|
26
|
-
* Retourne les informations de la prochaine facture Stripe
|
|
27
|
-
*/
|
|
28
|
-
retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice>;
|
|
29
25
|
createComptalibSession(idSociety: number, body: QueryStripeSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
30
26
|
}
|
|
31
27
|
//# sourceMappingURL=Subscription.d.ts.map
|
|
@@ -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,
|
|
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,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,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,CAAC,OAAO,CAAC,CAAC;IAIpG;;;OAGG;IACH,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;IAI3D;;;OAGG;IACH,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,QAAQ,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"}
|
|
@@ -31,12 +31,6 @@ class Subscription extends Resource_1.Resource {
|
|
|
31
31
|
get() {
|
|
32
32
|
return this.axios.$get('/stripe/subscriptions');
|
|
33
33
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Retourne les informations de la prochaine facture Stripe
|
|
36
|
-
*/
|
|
37
|
-
retrieveUpcomingInvoice(params) {
|
|
38
|
-
return this.axios.$get('/stripe/subscriptions/next-invoice', { params });
|
|
39
|
-
}
|
|
40
34
|
/* -------------- */
|
|
41
35
|
createComptalibSession(idSociety, body) {
|
|
42
36
|
return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;
|
|
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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8InB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Account.ts"],"names":[],"mappings":";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AAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,eAAe,EAAE;QACf,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,GAAG;QACP,MAAM,EAAE,MAAM;KACf;IACD,2BAA2B,EAAE;QAC3B,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,uCAAuC,EAAE;QACvC,EAAE,EAAE,CAAC;QACL,MAAM,EAAE,MAAM;KACf;IACD,6BAA6B,EAAE;QAC7B,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 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;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;KACf;IACD,aAAa,EAAE;QACb,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,aAAa,EAAE;QACb,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,EAAE;QACN,MAAM,EAAE,MAAM;KACf;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,EAAE;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,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,GA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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:
|
|
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,EAA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AAC,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:
|
|
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,
|
|
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?:
|
|
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,
|
|
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,mBAAmB,EACnB,iBAAiB,EACjB,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,c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f,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":";;;
|
|
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
|
|
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;
|
|
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.
|
|
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,
|
|
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 +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;
|
|
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/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AACtE,6CAAqE;
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,
|
|
1
|
+
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -9,23 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.QueryStripeSession = exports.RetrievePaymentMethodsParams =
|
|
12
|
+
exports.QueryStripeSession = exports.RetrievePaymentMethodsParams = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
|
-
class RetrieveUpcomingInvoiceParams {
|
|
17
|
-
}
|
|
18
|
-
exports.RetrieveUpcomingInvoiceParams = RetrieveUpcomingInvoiceParams;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, utils_1.ApiProperty)(),
|
|
21
|
-
(0, class_validator_1.IsString)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], RetrieveUpcomingInvoiceParams.prototype, "customerId", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, utils_1.ApiProperty)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], RetrieveUpcomingInvoiceParams.prototype, "subscriptionId", void 0);
|
|
29
16
|
class RetrievePaymentMethodsParams {
|
|
30
17
|
}
|
|
31
18
|
exports.RetrievePaymentMethodsParams = RetrievePaymentMethodsParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,
|
|
1
|
+
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;gEACQ;AAGrB,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n"]}
|
|
@@ -813,7 +813,6 @@ export * from './Interface/api/pappers/CreatePappers';
|
|
|
813
813
|
export * from './Interface/api/bankAccount/Query';
|
|
814
814
|
export * from './Interface/api/bankAccount/Update';
|
|
815
815
|
export * from './Interface/api/stripe/QueryStripe';
|
|
816
|
-
export * from './Interface/api/stripe/ReadStripe';
|
|
817
816
|
export * from './Interface/api/supervision/Query';
|
|
818
817
|
export * from './Interface/api/supervision/Read';
|
|
819
818
|
export * from './Interface/api/salariesFile/ReadSalariesFile';
|