@silexpert/core 1.3.37 → 1.3.38
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/Authenticate.d.ts +6 -0
- package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/cjs/api/resources/Authenticate.js +8 -0
- package/dist/cjs/api/resources/Authenticate.js.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts +16 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js +20 -0
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +23 -6
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +28 -8
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/api/resources/prestation.d.ts +3 -1
- package/dist/cjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/cjs/api/resources/prestation.js.map +1 -1
- package/dist/cjs/types/Enum/Feature.d.ts +41 -0
- package/dist/cjs/types/Enum/Feature.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Feature.js +65 -0
- package/dist/cjs/types/Enum/Feature.js.map +1 -0
- package/dist/cjs/types/Enum/PrestationType.d.ts +13 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +183 -1
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts +27 -0
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +88 -28
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridLegalstart.d.ts +4 -4
- package/dist/cjs/types/Enum/PriceGridLegalstart.js +1 -1
- package/dist/cjs/types/Enum/PriceGridLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js +118 -0
- package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -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/2572.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- 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/config/ConfigType.d.ts +0 -13
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +1 -0
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +9 -3
- package/dist/cjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.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/society/State.d.ts +7 -0
- package/dist/cjs/types/Interface/api/society/State.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/State.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +22 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +74 -3
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -2
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +5 -8
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.js +1 -1
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +2 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +11 -1
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/mjs/api/resources/Authenticate.d.ts +6 -0
- package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/mjs/api/resources/Authenticate.js +6 -0
- package/dist/mjs/api/resources/Authenticate.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +16 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js +20 -0
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +23 -6
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +28 -8
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/api/resources/prestation.d.ts +3 -1
- package/dist/mjs/api/resources/prestation.d.ts.map +1 -1
- package/dist/mjs/api/resources/prestation.js.map +1 -1
- package/dist/mjs/types/Enum/Feature.d.ts +41 -0
- package/dist/mjs/types/Enum/Feature.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Feature.js +62 -0
- package/dist/mjs/types/Enum/Feature.js.map +1 -0
- package/dist/mjs/types/Enum/PrestationType.d.ts +13 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +182 -0
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts +27 -0
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +88 -28
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridLegalstart.d.ts +4 -4
- package/dist/mjs/types/Enum/PriceGridLegalstart.js +1 -1
- package/dist/mjs/types/Enum/PriceGridLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js +119 -1
- package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -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/2572.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- 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/config/ConfigType.d.ts +0 -13
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts +1 -0
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.js +11 -4
- package/dist/mjs/types/Interface/api/paymentExpectation/CreatePaymentExpecation.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/society/State.d.ts +7 -0
- package/dist/mjs/types/Interface/api/society/State.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/State.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +22 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +82 -3
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -2
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +4 -8
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPayment.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.js +1 -1
- package/dist/mjs/utils/brands.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +2 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +11 -2
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/package.json +2 -2
- package/ts/api/resources/Authenticate.ts +7 -0
- package/ts/api/resources/PaymentExpectation.ts +27 -0
- package/ts/api/resources/Society.ts +5 -0
- package/ts/api/resources/Subscription.ts +35 -18
- package/ts/api/resources/prestation.ts +1 -1
- package/ts/types/Enum/Feature.ts +68 -0
- package/ts/types/Enum/PrestationType.ts +186 -0
- package/ts/types/Enum/PriceGridClementine.ts +88 -28
- package/ts/types/Enum/PriceGridLegalstart.ts +1 -1
- package/ts/types/Enum/SalesContractBrandClementine.ts +119 -1
- package/ts/types/Interface/api/cerfa/2031.ts +1 -0
- package/ts/types/Interface/api/cerfa/2035.ts +6 -1
- package/ts/types/Interface/api/cerfa/2065.ts +1 -0
- package/ts/types/Interface/api/cerfa/2069RCI.ts +1 -0
- package/ts/types/Interface/api/cerfa/2571.ts +1 -0
- package/ts/types/Interface/api/cerfa/2572.ts +1 -0
- package/ts/types/Interface/api/cerfa/2573.ts +1 -0
- package/ts/types/Interface/api/config/ConfigType.ts +0 -16
- package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +9 -4
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +15 -3
- package/ts/types/Interface/api/society/State.ts +8 -0
- package/ts/types/Interface/api/stripe/Create.ts +59 -4
- package/ts/types/Interface/api/stripe/QueryStripe.ts +3 -5
- package/ts/types/Interface/models/IPayment.ts +2 -0
- package/ts/types/Interface/models/IPaymentExpectation.ts +1 -0
- package/ts/types/Interface/models/IUser.ts +1 -0
- package/ts/types/index.ts +1 -1
- package/ts/utils/brands.ts +1 -1
- package/ts/utils/prestation.ts +15 -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
|
@@ -5,6 +5,12 @@ export declare class Authenticate extends Resource {
|
|
|
5
5
|
authentificate(payload: FormAuthenticate): Promise<{
|
|
6
6
|
token: string;
|
|
7
7
|
}>;
|
|
8
|
+
/**
|
|
9
|
+
* Rafraichi le token, il est nécessaire d'être connecté et d'avoir un "current society"
|
|
10
|
+
*/
|
|
11
|
+
refresh(): Promise<{
|
|
12
|
+
token: string;
|
|
13
|
+
}>;
|
|
8
14
|
connectAsCollaborater(idCollaborater: number): Promise<{
|
|
9
15
|
token: string;
|
|
10
16
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,4BAA4B,EAC5B,gBAAgB,EAChB,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAI5F,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,4BAA4B,EAC5B,gBAAgB,EAChB,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAI5F,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAI3E;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIrC,qBAAqB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIzE,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAIpD,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1D,aAAa,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGpF"}
|
|
@@ -22,6 +22,14 @@ class Authenticate extends Resource_1.Resource {
|
|
|
22
22
|
return this.axios.$post('/authenticate', payload);
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Rafraichi le token, il est nécessaire d'être connecté et d'avoir un "current society"
|
|
27
|
+
*/
|
|
28
|
+
refresh() {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
return this.axios.$post('/authenticate/refresh');
|
|
31
|
+
});
|
|
32
|
+
}
|
|
25
33
|
connectAsCollaborater(idCollaborater) {
|
|
26
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
27
35
|
return this.axios.$post(`/authenticate/collaborater/${idCollaborater}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":";;;;;;;;;;;;AASA,0CAAuC;AAEvC,MAAa,YAAa,SAAQ,mBAAQ;IAClC,0BAA0B,CAAC,OAAyB;;YACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;IAEK,cAAc,CAAC,OAAyB;;YAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,OAA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IAEK,qBAAqB,CAAC,cAAsB;;YAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,cAAc,EAAE,CAAC,CAAC;QAC1E,CAAC;KAAA;IAEK,SAAS,CAAC,SAAiB;;YAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;QAClE,CAAC;KAAA;IAEK,cAAc,CAAC,OAA2B;;YAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;QACpE,CAAC;KAAA;IAEK,aAAa,CAAC,OAAyB;;YAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;QAClE,CAAC;KAAA;IAEK,YAAY,CAAC,IAAY,EAAE,KAAsB;;YACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QAC9E,CAAC;KAAA;CACF;AAnCD,oCAmCC","sourcesContent":["import {\n ConnectFromUUID,\n FormAuthenticate,\n PostForgotPassword,\n PutResetPassword,\n ReadAuthenticateCollaborater,\n ReadByExternalId,\n ReadConnectAs,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater> {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async authentificate(payload: FormAuthenticate): Promise<{ token: string }> {\n return this.axios.$post('/authenticate', payload);\n }\n\n /**\n * Rafraichi le token, il est nécessaire d'être connecté et d'avoir un \"current society\"\n */\n async refresh(): Promise<{ token: string }> {\n return this.axios.$post('/authenticate/refresh');\n }\n\n async connectAsCollaborater(idCollaborater: number): Promise<{ token: string }> {\n return this.axios.$post(`/authenticate/collaborater/${idCollaborater}`);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n\n async forgotPassword(payload: PostForgotPassword): Promise<void> {\n return this.axios.$post('/authenticate/forgot-password', payload);\n }\n\n async resetPassword(payload: PutResetPassword): Promise<void> {\n return this.axios.$put('/authenticate/reset-password', payload);\n }\n\n async byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId> {\n return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });\n }\n}\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BasePaginate, CreatePaymentExpecation, IPaymentExpectation, QueryGetPaymentExpectation, QueryGetPaymentExpectationPaginated } from '../../types';
|
|
1
|
+
import { BasePaginate, CreatePaymentExpecation, CreatePaymentIntent, CreateSubscriptionSessionOff, IPaymentExpectation, QueryGetPaymentExpectation, QueryGetPaymentExpectationPaginated, RetrievePaymentMethodsParams } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
|
+
import type Stripe from 'stripe';
|
|
3
4
|
export declare class PaymentExpectation extends Resource {
|
|
4
5
|
get(params: QueryGetPaymentExpectation): Promise<PaymentExpectation>;
|
|
5
6
|
getPaginate(params: QueryGetPaymentExpectationPaginated, signal?: AbortSignal): Promise<BasePaginate<IPaymentExpectation>>;
|
|
@@ -13,5 +14,19 @@ export declare class PaymentExpectation extends Resource {
|
|
|
13
14
|
* @returns
|
|
14
15
|
*/
|
|
15
16
|
updateByPrestation(idPrestation: number, payload: Partial<IPaymentExpectation>): Promise<IPaymentExpectation>;
|
|
17
|
+
/**
|
|
18
|
+
* Retourne les type de paiements Stripe
|
|
19
|
+
*/
|
|
20
|
+
getAllPaymentMethods(params: RetrievePaymentMethodsParams): Promise<Stripe.PaymentMethod[]>;
|
|
21
|
+
/**
|
|
22
|
+
* Créé une session Stripe avec les informations client
|
|
23
|
+
* Attention : les montants sont retournés x100
|
|
24
|
+
*/
|
|
25
|
+
createSessionOff(payload: CreateSubscriptionSessionOff): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
26
|
+
/**
|
|
27
|
+
* Crée une intention de paiement Stripe avec les informations de notre client
|
|
28
|
+
* Attention : les montants sont retournés x100
|
|
29
|
+
*/
|
|
30
|
+
createStripePaymentIntent(body: CreatePaymentIntent): Promise<Stripe.Response<Stripe.PaymentIntent>>;
|
|
16
31
|
}
|
|
17
32
|
//# sourceMappingURL=PaymentExpectation.d.ts.map
|
|
@@ -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,0BAA0B,EAC1B,mCAAmC,
|
|
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,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,kBAAmB,SAAQ,QAAQ;IAC9C,GAAG,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIpE,WAAW,CACT,MAAM,EAAE,mCAAmC,EAC3C,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC;IAI7C,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIzF,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIvF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpC;;;;;OAKG;IACH,kBAAkB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI7G;;OAEG;IACH,oBAAoB,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC;IAI3F;;;OAGG;IACH,gBAAgB,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAI1G;;;OAGG;IACH,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;CAGrG"}
|
|
@@ -27,6 +27,26 @@ class PaymentExpectation extends Resource_1.Resource {
|
|
|
27
27
|
updateByPrestation(idPrestation, payload) {
|
|
28
28
|
return this.axios.$patch(`/prestations/${idPrestation}/payment-expectations`, payload);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* Retourne les type de paiements Stripe
|
|
32
|
+
*/
|
|
33
|
+
getAllPaymentMethods(params) {
|
|
34
|
+
return this.axios.$get('/stripe/payments/methods', { params });
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Créé une session Stripe avec les informations client
|
|
38
|
+
* Attention : les montants sont retournés x100
|
|
39
|
+
*/
|
|
40
|
+
createSessionOff(payload) {
|
|
41
|
+
return this.axios.$post('/stripe/payments/sessions-off', payload);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Crée une intention de paiement Stripe avec les informations de notre client
|
|
45
|
+
* Attention : les montants sont retournés x100
|
|
46
|
+
*/
|
|
47
|
+
createStripePaymentIntent(body) {
|
|
48
|
+
return this.axios.$post('/stripe/payments/intents', body);
|
|
49
|
+
}
|
|
30
50
|
}
|
|
31
51
|
exports.PaymentExpectation = PaymentExpectation;
|
|
32
52
|
//# sourceMappingURL=PaymentExpectation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentExpectation.js","sourceRoot":"","sources":["../../../../ts/api/resources/PaymentExpectation.ts"],"names":[],"mappings":";;;
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { CreateInvoiceMail, UpdateInvoiceMail, IMailSociety, ISociety, LegalFormSiren, GetDataSociety, CreateSociety, CreateSynchronization, UpdateSociety, CreateBudgetBalanceBankAccount, IUser, ListUserSociety, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission, ReadSocietyUsers, QuerySociety, UpdateSocietyPayload, QueryPaginatedSociety, ReadInvalidFieldState, BasePaginate, UpdateUserSociety, QueryArchivedSociety, QueryExportSociety, QueryAccountingExport, GetSocietyState, QueryUnpaidSociety, ReadSocietyUnpaidStats, DataCustomersCsv } from '../../types';
|
|
2
|
+
import { CreateInvoiceMail, UpdateInvoiceMail, IMailSociety, ISociety, LegalFormSiren, GetDataSociety, CreateSociety, CreateSynchronization, UpdateSociety, CreateBudgetBalanceBankAccount, IUser, ListUserSociety, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission, ReadSocietyUsers, QuerySociety, UpdateSocietyPayload, QueryPaginatedSociety, ReadInvalidFieldState, BasePaginate, UpdateUserSociety, QueryArchivedSociety, QueryExportSociety, QueryAccountingExport, GetSocietyState, QueryUnpaidSociety, ReadSocietyUnpaidStats, DataCustomersCsv, ReadCurrentPrestations } from '../../types';
|
|
3
3
|
import { CancelToken } from 'axios';
|
|
4
4
|
export declare class Society extends Resource {
|
|
5
5
|
get(params: QuerySociety): Promise<ISociety>;
|
|
@@ -34,6 +34,7 @@ export declare class Society extends Resource {
|
|
|
34
34
|
export(idSociety: number, payload: QueryExportSociety): Promise<void>;
|
|
35
35
|
exportAccountancy(idSociety: number, payload: QueryAccountingExport): Promise<Buffer>;
|
|
36
36
|
getState(idSociety: number): Promise<GetSocietyState>;
|
|
37
|
+
getCurrentPrestations(idSociety: number): Promise<ReadCurrentPrestations>;
|
|
37
38
|
exportCustomersCSV(params: DataCustomersCsv): Promise<Buffer>;
|
|
38
39
|
}
|
|
39
40
|
//# sourceMappingURL=Society.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,8BAA8B,EAC9B,KAAK,EACL,eAAe,EACf,iCAAiC,EACjC,iCAAiC,EACjC,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Society.ts"],"names":[],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,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAC;IAI5G,WAAW,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAI7D,UAAU,CAAC,KAAK,EAAE,kBAAkB,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAOhF,eAAe,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAM/D,wBAAwB,CAC7B,MAAM,EAAE,qBAAqB,EAC7B,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAO3B,qBAAqB,CAC1B,MAAM,EAAE,qBAAqB,EAC7B,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAOlC,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAMrE,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;IASrF,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAIrD,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAIzE,kBAAkB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;CAQ9D"}
|
|
@@ -102,6 +102,9 @@ class Society extends Resource_1.Resource {
|
|
|
102
102
|
getState(idSociety) {
|
|
103
103
|
return this.axios.$get(`/societies/${idSociety}/states`);
|
|
104
104
|
}
|
|
105
|
+
getCurrentPrestations(idSociety) {
|
|
106
|
+
return this.axios.$get(`/societies/${idSociety}/current-prestations`);
|
|
107
|
+
}
|
|
105
108
|
exportCustomersCSV(params) {
|
|
106
109
|
return this.axios.$post('/societies/exports', params, {
|
|
107
110
|
responseType: 'arraybuffer',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../../ts/api/resources/Society.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAiCvC,MAAa,OAAQ,SAAQ,mBAAQ;IAC5B,GAAG,CAAC,MAAoB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,YAAY,CACjB,MAA6B,EAC7B,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,gDACtC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAC1B,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACvC,MAAM,IACN,CAAC;IACL,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,0BAA0B,CAAC,SAAiB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,SAAS,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IACD,aAAa,CAAC,IAAmB,EAAE,gBAAkC,EAAE,cAAuB;QAC5F,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F,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,CAAC,SAAiB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,SAAS,CAAC,CAAC;IAC3D,CAAC;IAED,kBAAkB,CAAC,MAAwB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,EAAE;YACpD,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAnKD,0BAmKC","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n BasePaginate,\n UpdateUserSociety,\n QueryArchivedSociety,\n QueryExportSociety,\n QueryAccountingExport,\n GetSocietyState,\n QueryUnpaidSociety,\n ReadSocietyUnpaidStats,\n DataCustomersCsv,\n} from '../../types';\nimport { CancelToken } from 'axios';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated', {\n ...(signal ? { signal } : {}),\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n getInvoiceEmailFromSociety(idSociety: number): Promise<IMailSociety | Error> {\n return this.axios.$get(`/society/invoiceEmail/${idSociety}`);\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(\n `/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`,\n data,\n );\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n importBalanceBankAccount(\n idSociety: number,\n idBankAccount: number,\n params: CreateBudgetBalanceBankAccount,\n ): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety): Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n getAccountant(): Promise<IUser | null> {\n return this.axios.$get('/society/accountant');\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(\n idSociety: number,\n id: number,\n data: UpdateUserToSocietyWithPermission,\n ): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n getAllMissingInformations(id: number): Promise<ReadInvalidFieldState[]> {\n return this.axios.$get(`/society/${id}/informations-statements`);\n }\n\n getOwner(id: number): Promise<IUser> {\n return this.axios.$get(`/societies/${id}/owner`);\n }\n\n updateUserAndAccess(idSociety: number, idUser: number, payload: UpdateUserSociety): Promise<{ data: IUser }> {\n return this.axios.patch(`/societies/${idSociety}/users/${idUser}`, payload);\n }\n\n getArchived(query: QueryArchivedSociety): Promise<ISociety[]> {\n return this.axios.$get('/society/archived', { params: query });\n }\n\n getUnpaids(query: QueryUnpaidSociety, signal?: AbortSignal): Promise<ISociety[]> {\n return this.axios.$get('/society/unpaids', {\n ...(signal ? { signal } : {}),\n params: query,\n });\n }\n\n getUnpaidsStats(signal?: AbortSignal): Promise<ReadSocietyUnpaidStats> {\n return this.axios.$get('/society/unpaids/stats', {\n ...(signal ? { signal } : {}),\n });\n }\n\n public getPaginatedNewJuridical(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-juridical', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n public getPaginatedNewSocial(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-social', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n export(idSociety: number, payload: QueryExportSociety): Promise<void> {\n return this.axios.$post(`/societies/${idSociety}/exports`, payload, {\n responseType: 'blob',\n });\n }\n\n exportAccountancy(idSociety: number, payload: QueryAccountingExport): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/accounting/exports`, payload, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/octet-stream',\n },\n });\n }\n\n getState(idSociety: number): Promise<GetSocietyState> {\n return this.axios.$get(`/societies/${idSociety}/states`);\n }\n\n exportCustomersCSV(params: DataCustomersCsv): Promise<Buffer> {\n return this.axios.$post('/societies/exports', params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../../ts/api/resources/Society.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAkCvC,MAAa,OAAQ,SAAQ,mBAAQ;IAC5B,GAAG,CAAC,MAAoB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,YAAY,CACjB,MAA6B,EAC7B,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,gDACtC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAC1B,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACvC,MAAM,IACN,CAAC;IACL,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,0BAA0B,CAAC,SAAiB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,SAAS,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IAC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Y,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;aACnC;SACF,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,CAAC,SAAiB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,SAAS,CAAC,CAAC;IAC3D,CAAC;IAED,qBAAqB,CAAC,SAAiB;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,sBAAsB,CAAC,CAAC;IACxE,CAAC;IAED,kBAAkB,CAAC,MAAwB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,EAAE;YACpD,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAvKD,0BAuKC","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n BasePaginate,\n UpdateUserSociety,\n QueryArchivedSociety,\n QueryExportSociety,\n QueryAccountingExport,\n GetSocietyState,\n QueryUnpaidSociety,\n ReadSocietyUnpaidStats,\n DataCustomersCsv,\n ReadCurrentPrestations,\n} from '../../types';\nimport { CancelToken } from 'axios';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated', {\n ...(signal ? { signal } : {}),\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n getInvoiceEmailFromSociety(idSociety: number): Promise<IMailSociety | Error> {\n return this.axios.$get(`/society/invoiceEmail/${idSociety}`);\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(\n `/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`,\n data,\n );\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n importBalanceBankAccount(\n idSociety: number,\n idBankAccount: number,\n params: CreateBudgetBalanceBankAccount,\n ): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety): Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n getAccountant(): Promise<IUser | null> {\n return this.axios.$get('/society/accountant');\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(\n idSociety: number,\n id: number,\n data: UpdateUserToSocietyWithPermission,\n ): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n getAllMissingInformations(id: number): Promise<ReadInvalidFieldState[]> {\n return this.axios.$get(`/society/${id}/informations-statements`);\n }\n\n getOwner(id: number): Promise<IUser> {\n return this.axios.$get(`/societies/${id}/owner`);\n }\n\n updateUserAndAccess(idSociety: number, idUser: number, payload: UpdateUserSociety): Promise<{ data: IUser }> {\n return this.axios.patch(`/societies/${idSociety}/users/${idUser}`, payload);\n }\n\n getArchived(query: QueryArchivedSociety): Promise<ISociety[]> {\n return this.axios.$get('/society/archived', { params: query });\n }\n\n getUnpaids(query: QueryUnpaidSociety, signal?: AbortSignal): Promise<ISociety[]> {\n return this.axios.$get('/society/unpaids', {\n ...(signal ? { signal } : {}),\n params: query,\n });\n }\n\n getUnpaidsStats(signal?: AbortSignal): Promise<ReadSocietyUnpaidStats> {\n return this.axios.$get('/society/unpaids/stats', {\n ...(signal ? { signal } : {}),\n });\n }\n\n public getPaginatedNewJuridical(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-juridical', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n public getPaginatedNewSocial(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-social', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n export(idSociety: number, payload: QueryExportSociety): Promise<void> {\n return this.axios.$post(`/societies/${idSociety}/exports`, payload, {\n responseType: 'blob',\n });\n }\n\n exportAccountancy(idSociety: number, payload: QueryAccountingExport): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/accounting/exports`, payload, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/octet-stream',\n },\n });\n }\n\n getState(idSociety: number): Promise<GetSocietyState> {\n return this.axios.$get(`/societies/${idSociety}/states`);\n }\n\n getCurrentPrestations(idSociety: number): Promise<ReadCurrentPrestations> {\n return this.axios.$get(`/societies/${idSociety}/current-prestations`);\n }\n\n exportCustomersCSV(params: DataCustomersCsv): Promise<Buffer> {\n return this.axios.$post('/societies/exports', params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}\n"]}
|
|
@@ -1,10 +1,27 @@
|
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Retourne les offres Stripe actives
|
|
7
|
+
* Attention : les montants sont retournés x100
|
|
8
|
+
*/
|
|
9
|
+
getAllOffers(): Promise<Stripe.Price[]>;
|
|
10
|
+
/**
|
|
11
|
+
* Créé une session Stripe avec les informations client
|
|
12
|
+
* Attention : les montants sont retournés x100
|
|
13
|
+
*/
|
|
14
|
+
createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
15
|
+
/**
|
|
16
|
+
* Créé un portail Stripe permettant de gérer l'abonnement
|
|
17
|
+
* Attention : les montants sont retournés x100
|
|
18
|
+
*/
|
|
19
|
+
createPortal(payload: CreateStripePortals): Promise<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Retourne l'abonnement Stripe de la société courante
|
|
22
|
+
* Attention : les montants sont retournés x100
|
|
23
|
+
*/
|
|
24
|
+
get(): Promise<Stripe.Response<Stripe.Subscription> | null>;
|
|
25
|
+
createComptalibSession(idSociety: number, body: QueryStripeSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
9
26
|
}
|
|
10
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"}
|
|
@@ -3,17 +3,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Subscription = void 0;
|
|
4
4
|
const Resource_1 = require("../Resource");
|
|
5
5
|
class Subscription extends Resource_1.Resource {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Retourne les offres Stripe actives
|
|
8
|
+
* Attention : les montants sont retournés x100
|
|
9
|
+
*/
|
|
10
|
+
getAllOffers() {
|
|
11
|
+
return this.axios.$get('/stripe/subscriptions/offers');
|
|
8
12
|
}
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Créé une session Stripe avec les informations client
|
|
15
|
+
* Attention : les montants sont retournés x100
|
|
16
|
+
*/
|
|
17
|
+
createSession(payload) {
|
|
18
|
+
return this.axios.$post('/stripe/subscriptions/sessions', payload);
|
|
11
19
|
}
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Créé un portail Stripe permettant de gérer l'abonnement
|
|
22
|
+
* Attention : les montants sont retournés x100
|
|
23
|
+
*/
|
|
24
|
+
createPortal(payload) {
|
|
25
|
+
return this.axios.$post('/stripe/subscriptions/portals', payload);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Retourne l'abonnement Stripe de la société courante
|
|
29
|
+
* Attention : les montants sont retournés x100
|
|
30
|
+
*/
|
|
31
|
+
get() {
|
|
32
|
+
return this.axios.$get('/stripe/subscriptions');
|
|
14
33
|
}
|
|
15
|
-
|
|
16
|
-
|
|
34
|
+
/* -------------- */
|
|
35
|
+
createComptalibSession(idSociety, body) {
|
|
36
|
+
return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
|
|
17
37
|
}
|
|
18
38
|
}
|
|
19
39
|
exports.Subscription = Subscription;
|
|
@@ -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"]}
|
|
@@ -22,7 +22,9 @@ export declare class Prestation extends Resource {
|
|
|
22
22
|
*/
|
|
23
23
|
getAllJuridicFromSociety(id: number): Promise<IPrestation[]>;
|
|
24
24
|
getPaginatedSocietiesFromPrestation(params: QueryGetPaginatedSocietiesFromPrestation): Promise<BasePaginate<ISociety>>;
|
|
25
|
-
getAllFromSociety(id: number, params?: QueryPrestation, cancelToken?: CancelToken, signal?: AbortSignal): Promise<IPrestation
|
|
25
|
+
getAllFromSociety(id: number, params?: QueryPrestation, cancelToken?: CancelToken, signal?: AbortSignal): Promise<Array<IPrestation & {
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
}>>;
|
|
26
28
|
getAllSocialFromSociety(id: number, cancelToken?: CancelToken, signal?: AbortSignal): Promise<IPrestation[]>;
|
|
27
29
|
createCustomerPrestation(idSociety: number, payload: CreateSocietyPrestationComplementary): Promise<IPrestation>;
|
|
28
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prestation.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/prestation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,oCAAoC,EACpC,WA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CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,cAAc,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF;AA7ED,gCA6EC","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateSocietyPrestationComplementary,\n IPrestation,\n ISociety,\n PrestationType,\n QueryCreatePrestation,\n QueryGetPaginatedSocietiesFromPrestation,\n QueryPrestation,\n QueryUpdatePrestation,\n} from '../../types';\n\nexport class Prestation extends Resource {\n /**\n * Crée une prestationavec tous les éléments lié à celle-ci.\n * @param { QueryCreatePrestation } params\n * @returns { IPrestation }\n */\n public create(params: QueryCreatePrestation): Promise<IPrestation> {\n return this.axios.$post('/prestation', params);\n }\n\n /**\n * Crée une prestationavec tous les éléments lié à celle-ci.\n * @param { number } id\n * @param { QueryUpdatePrestation } params\n * @returns { IPrestation }\n */\n public update(idPrestation: number, params: QueryUpdatePrestation): Promise<IPrestation> {\n return this.axios.$put(`/prestation/${idPrestation}`, params);\n }\n\n /**\n * retourne toutes les prestations juridique d'une société\n * @param { number } id\n * @returns { IPrestation }\n */\n public getAllJuridicFromSociety(id: number): Promise<IPrestation[]> {\n return this.axios.$get(`/prestation/society/${id}/juridicals`);\n }\n\n public getPaginatedSocietiesFromPrestation(\n params: QueryGetPaginatedSocietiesFromPrestation,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/prestation/societies', { params });\n }\n\n public getAllFromSociety(\n id: number,\n params?: QueryPrestation,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<IPrestation
|
|
1
|
+
{"version":3,"file":"prestation.js","sourceRoot":"","sources":["../../../../ts/api/resources/prestation.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AACvC,uCAUqB;AAErB,MAAa,UAAW,SAAQ,mBAAQ;IACtC;;;;OAIG;IACI,MAAM,CAAC,MAA6B;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,EAAE,MA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5C,sBAAc,CAAC,sCAAsC;oBACrD,sBAAc,CAAC,8BAA8B;oBAC7C,sBAAc,CAAC,2BAA2B;oBAC1C,sBAAc,CAAC,mBAAmB;oBAClC,sBAAc,CAAC,eAAe;oBAC9B,sBAAc,CAAC,uBAAuB;oBACtC,sBAAc,CAAC,sBAAsB;oBACrC,sBAAc,CAAC,8BAA8B;iBAC9C;aACF,IACD,CAAC;IACL,CAAC;IAEM,wBAAwB,CAC7B,SAAiB,EACjB,OAA6C;QAE7C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,cAAc,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF;AA7ED,gCA6EC","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n BasePaginate,\n CreateSocietyPrestationComplementary,\n IPrestation,\n ISociety,\n PrestationType,\n QueryCreatePrestation,\n QueryGetPaginatedSocietiesFromPrestation,\n QueryPrestation,\n QueryUpdatePrestation,\n} from '../../types';\n\nexport class Prestation extends Resource {\n /**\n * Crée une prestationavec tous les éléments lié à celle-ci.\n * @param { QueryCreatePrestation } params\n * @returns { IPrestation }\n */\n public create(params: QueryCreatePrestation): Promise<IPrestation> {\n return this.axios.$post('/prestation', params);\n }\n\n /**\n * Crée une prestationavec tous les éléments lié à celle-ci.\n * @param { number } id\n * @param { QueryUpdatePrestation } params\n * @returns { IPrestation }\n */\n public update(idPrestation: number, params: QueryUpdatePrestation): Promise<IPrestation> {\n return this.axios.$put(`/prestation/${idPrestation}`, params);\n }\n\n /**\n * retourne toutes les prestations juridique d'une société\n * @param { number } id\n * @returns { IPrestation }\n */\n public getAllJuridicFromSociety(id: number): Promise<IPrestation[]> {\n return this.axios.$get(`/prestation/society/${id}/juridicals`);\n }\n\n public getPaginatedSocietiesFromPrestation(\n params: QueryGetPaginatedSocietiesFromPrestation,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/prestation/societies', { params });\n }\n\n public getAllFromSociety(\n id: number,\n params?: QueryPrestation,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<Array<IPrestation & { isActive: boolean }>> {\n return this.axios.$get(`/societies/${id}/prestations`, {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params,\n });\n }\n\n public getAllSocialFromSociety(id: number, cancelToken?: CancelToken, signal?: AbortSignal): Promise<IPrestation[]> {\n return this.axios.$get(`/societies/${id}/prestations`, {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params: {\n prestationListIds: [\n PrestationType.FRUCTUPAIE,\n PrestationType.SOCIAL,\n PrestationType.MYFRUCTUCOMPTA_SOCIAL,\n PrestationType.MYFRUCTUCOMPTA_EXPRESS_SOCIAL,\n PrestationType.FRUCTUCOMPTA_ASSISTANCE_EXPRESS_SOCIAL,\n PrestationType.FRUCTUCOMPTA_ASSISTANCE_SOCIAL,\n PrestationType.FRUCTUCOMPTA_EXPRESS_SOCIAL,\n PrestationType.FRUCTUCOMPTA_SOCIAL,\n PrestationType.COMPTA_PRO_PAIE,\n PrestationType.COMPTA_PRO_EXPRESS_PAIE,\n PrestationType.COMPTA_ENTREPRISE_PAIE,\n PrestationType.COMPTA_ENTREPRISE_EXPRESS_PAIE,\n ],\n },\n });\n }\n\n public createCustomerPrestation(\n idSociety: number,\n payload: CreateSocietyPrestationComplementary,\n ): Promise<IPrestation> {\n return this.axios.$post(`/societies/${idSociety}/prestations`, payload);\n }\n}\n"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare enum Feature {
|
|
2
|
+
DASHBOARD = "dashboard",
|
|
3
|
+
BANK = "bank",
|
|
4
|
+
PAYMENT_LINK = "payment_link",
|
|
5
|
+
PAYMENT_RECOVERY = "payment_recovery",
|
|
6
|
+
JURIDIC = "juridic",
|
|
7
|
+
/** ACHATS */
|
|
8
|
+
PURCHASE = "purchase_invoice",
|
|
9
|
+
PURCHASE_GENERAL_LEDGER = "purchase_general_ledger",
|
|
10
|
+
/** Facturation */
|
|
11
|
+
SALE = "sale",
|
|
12
|
+
SALE_GENERAL_LEDGER = "sale_general_ledger",
|
|
13
|
+
/** Comptabilité */
|
|
14
|
+
VAT = "vat",
|
|
15
|
+
DAS2 = "das2",
|
|
16
|
+
OTHER_REGISTRATION_DOCUMENTS = "other_registration_documents",
|
|
17
|
+
BALANCESHEET_ACCOUNTANT = "balancesheet_accountant",
|
|
18
|
+
BALANCESHEET_CUSTOMER = "balancesheet_customer",
|
|
19
|
+
BALANCESHEET_FREEMIUM = "balancesheet_freemium",
|
|
20
|
+
/** Salariés */
|
|
21
|
+
SOCIAL_FREEMIUM = "social_freemium",
|
|
22
|
+
SOCIAL = "social",
|
|
23
|
+
LIBRARY = "library",
|
|
24
|
+
EXPERT_ACCOUNTANT = "expert_accountant",
|
|
25
|
+
CHAT = "chat",
|
|
26
|
+
/** Configuration */
|
|
27
|
+
SETTING = "setting",
|
|
28
|
+
SETTING_INFORMATION = "information",
|
|
29
|
+
SETTING_BANK = "setting_bank",
|
|
30
|
+
SETTING_ANNOTATION = "setting_annotation",
|
|
31
|
+
SETTING_PURCHASE = "setting_purchase",
|
|
32
|
+
SETTING_SALE = "setting_sale",
|
|
33
|
+
SETTING_CONNECTOR = "setting_connector",
|
|
34
|
+
SETTING_ACCOUNTANCY_ACCOUNT = "setting_accountancy_account",
|
|
35
|
+
SETTING_SUBSCRIPTION = "setting_subscription",
|
|
36
|
+
SETTING_ACCESS = "setting_access",
|
|
37
|
+
CUSTOMISATION = "customisation",
|
|
38
|
+
LOG_TO_MOBILE_APP = "log_to_mobile_app",
|
|
39
|
+
SALE_RECURRENCE = "sale_recurrence"
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=Feature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Feature.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/Feature.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IAEjB,SAAS,cAAc;IAEvB,IAAI,SAAS;IAEb,YAAY,iBAAiB;IAE7B,gBAAgB,qBAAqB;IAErC,OAAO,YAAY;IAEnB,aAAa;IAEb,QAAQ,qBAAqB;IAE7B,uBAAuB,4BAA4B;IAEnD,kBAAkB;IAElB,IAAI,SAAS;IAEb,mBAAmB,wBAAwB;IAE3C,mBAAmB;IAEnB,GAAG,QAAQ;IAEX,IAAI,SAAS;IAEb,4BAA4B,iCAAiC;IAE7D,uBAAuB,4BAA4B;IAEnD,qBAAqB,0BAA0B;IAE/C,qBAAqB,0BAA0B;IAE/C,eAAe;IAEf,eAAe,oBAAoB;IAEnC,MAAM,WAAW;IAGjB,OAAO,YAAY;IAEnB,iBAAiB,sBAAsB;IAGvC,IAAI,SAAS;IAEb,oBAAoB;IACpB,OAAO,YAAY;IACnB,mBAAmB,gBAAgB;IACnC,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;IACzC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,2BAA2B,gCAAgC;IAC3D,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAE/B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;CACpC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Feature = void 0;
|
|
4
|
+
var Feature;
|
|
5
|
+
(function (Feature) {
|
|
6
|
+
// Tableau de bord
|
|
7
|
+
Feature["DASHBOARD"] = "dashboard";
|
|
8
|
+
// Relevés bancaires / Espèces
|
|
9
|
+
Feature["BANK"] = "bank";
|
|
10
|
+
// Liens de paiement
|
|
11
|
+
Feature["PAYMENT_LINK"] = "payment_link";
|
|
12
|
+
// Recouvrement
|
|
13
|
+
Feature["PAYMENT_RECOVERY"] = "payment_recovery";
|
|
14
|
+
// Juridique
|
|
15
|
+
Feature["JURIDIC"] = "juridic";
|
|
16
|
+
/** ACHATS */
|
|
17
|
+
// Factures d'achat / Notes de frais / Fournisseurs
|
|
18
|
+
Feature["PURCHASE"] = "purchase_invoice";
|
|
19
|
+
// Grand-Livre d'achat
|
|
20
|
+
Feature["PURCHASE_GENERAL_LEDGER"] = "purchase_general_ledger";
|
|
21
|
+
/** Facturation */
|
|
22
|
+
// Factures, devis, brouillons, articles, clients, ticketsZ
|
|
23
|
+
Feature["SALE"] = "sale";
|
|
24
|
+
// Grand-Livre de vente
|
|
25
|
+
Feature["SALE_GENERAL_LEDGER"] = "sale_general_ledger";
|
|
26
|
+
/** Comptabilité */
|
|
27
|
+
// TVA
|
|
28
|
+
Feature["VAT"] = "vat";
|
|
29
|
+
// DAS2
|
|
30
|
+
Feature["DAS2"] = "das2";
|
|
31
|
+
// Documents annexes
|
|
32
|
+
Feature["OTHER_REGISTRATION_DOCUMENTS"] = "other_registration_documents";
|
|
33
|
+
// Bilan comptable - comptalib - ORI
|
|
34
|
+
Feature["BALANCESHEET_ACCOUNTANT"] = "balancesheet_accountant";
|
|
35
|
+
// Bilan (version client - certifié par un Expert-Comptable)
|
|
36
|
+
Feature["BALANCESHEET_CUSTOMER"] = "balancesheet_customer";
|
|
37
|
+
// Bilan (freemium)
|
|
38
|
+
Feature["BALANCESHEET_FREEMIUM"] = "balancesheet_freemium";
|
|
39
|
+
/** Salariés */
|
|
40
|
+
// Salariés Freemium
|
|
41
|
+
Feature["SOCIAL_FREEMIUM"] = "social_freemium";
|
|
42
|
+
// Salariés / Elements de paie
|
|
43
|
+
Feature["SOCIAL"] = "social";
|
|
44
|
+
// Bibliothèque
|
|
45
|
+
Feature["LIBRARY"] = "library";
|
|
46
|
+
// Expert-Comptable
|
|
47
|
+
Feature["EXPERT_ACCOUNTANT"] = "expert_accountant";
|
|
48
|
+
// Chat Crisp
|
|
49
|
+
Feature["CHAT"] = "chat";
|
|
50
|
+
/** Configuration */
|
|
51
|
+
Feature["SETTING"] = "setting";
|
|
52
|
+
Feature["SETTING_INFORMATION"] = "information";
|
|
53
|
+
Feature["SETTING_BANK"] = "setting_bank";
|
|
54
|
+
Feature["SETTING_ANNOTATION"] = "setting_annotation";
|
|
55
|
+
Feature["SETTING_PURCHASE"] = "setting_purchase";
|
|
56
|
+
Feature["SETTING_SALE"] = "setting_sale";
|
|
57
|
+
Feature["SETTING_CONNECTOR"] = "setting_connector";
|
|
58
|
+
Feature["SETTING_ACCOUNTANCY_ACCOUNT"] = "setting_accountancy_account";
|
|
59
|
+
Feature["SETTING_SUBSCRIPTION"] = "setting_subscription";
|
|
60
|
+
Feature["SETTING_ACCESS"] = "setting_access";
|
|
61
|
+
Feature["CUSTOMISATION"] = "customisation";
|
|
62
|
+
Feature["LOG_TO_MOBILE_APP"] = "log_to_mobile_app";
|
|
63
|
+
Feature["SALE_RECURRENCE"] = "sale_recurrence";
|
|
64
|
+
})(Feature || (exports.Feature = Feature = {}));
|
|
65
|
+
//# sourceMappingURL=Feature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../ts/types/Enum/Feature.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAmEX;AAnED,WAAY,OAAO;IACjB,kBAAkB;IAClB,kCAAuB,CAAA;IACvB,8BAA8B;IAC9B,wBAAa,CAAA;IACb,oBAAoB;IACpB,wCAA6B,CAAA;IAC7B,eAAe;IACf,gDAAqC,CAAA;IACrC,YAAY;IACZ,8BAAmB,CAAA;IAEnB,aAAa;IACb,mDAAmD;IACnD,wCAA6B,CAAA;IAC7B,sBAAsB;IACtB,8DAAmD,CAAA;IAEnD,kBAAkB;IAClB,2DAA2D;IAC3D,wBAAa,CAAA;IACb,uBAAuB;IACvB,sDAA2C,CAAA;IAE3C,mBAAmB;IACnB,MAAM;IACN,sBAAW,CAAA;IACX,OAAO;IACP,wBAAa,CAAA;IACb,oBAAoB;IACpB,wEAA6D,CAAA;IAC7D,oCAAoC;IACpC,8DAAmD,CAAA;IACnD,4DAA4D;IAC5D,0DAA+C,CAAA;IAC/C,mBAAmB;IACnB,0DAA+C,CAAA;IAE/C,eAAe;IACf,oBAAoB;IACpB,8CAAmC,CAAA;IACnC,8BAA8B;IAC9B,4BAAiB,CAAA;IAEjB,eAAe;IACf,8BAAmB,CAAA;IACnB,mBAAmB;IACnB,kDAAuC,CAAA;IAEvC,aAAa;IACb,wBAAa,CAAA;IAEb,oBAAoB;IACpB,8BAAmB,CAAA;IACnB,8CAAmC,CAAA;IACnC,wCAA6B,CAAA;IAC7B,oDAAyC,CAAA;IACzC,gDAAqC,CAAA;IACrC,wCAA6B,CAAA;IAC7B,kDAAuC,CAAA;IACvC,sEAA2D,CAAA;IAC3D,wDAA6C,CAAA;IAC7C,4CAAiC,CAAA;IACjC,0CAA+B,CAAA;IAE/B,kDAAuC,CAAA;IACvC,8CAAmC,CAAA;AACrC,CAAC,EAnEW,OAAO,uBAAP,OAAO,QAmElB","sourcesContent":["export enum Feature {\n // Tableau de bord\n DASHBOARD = 'dashboard',\n // Relevés bancaires / Espèces\n BANK = 'bank',\n // Liens de paiement\n PAYMENT_LINK = 'payment_link',\n // Recouvrement\n PAYMENT_RECOVERY = 'payment_recovery',\n // Juridique\n JURIDIC = 'juridic',\n\n /** ACHATS */\n // Factures d'achat / Notes de frais / Fournisseurs\n PURCHASE = 'purchase_invoice',\n // Grand-Livre d'achat\n PURCHASE_GENERAL_LEDGER = 'purchase_general_ledger',\n\n /** Facturation */\n // Factures, devis, brouillons, articles, clients, ticketsZ\n SALE = 'sale',\n // Grand-Livre de vente\n SALE_GENERAL_LEDGER = 'sale_general_ledger',\n\n /** Comptabilité */\n // TVA\n VAT = 'vat',\n // DAS2\n DAS2 = 'das2',\n // Documents annexes\n OTHER_REGISTRATION_DOCUMENTS = 'other_registration_documents',\n // Bilan comptable - comptalib - ORI\n BALANCESHEET_ACCOUNTANT = 'balancesheet_accountant',\n // Bilan (version client - certifié par un Expert-Comptable)\n BALANCESHEET_CUSTOMER = 'balancesheet_customer',\n // Bilan (freemium)\n BALANCESHEET_FREEMIUM = 'balancesheet_freemium',\n\n /** Salariés */\n // Salariés Freemium\n SOCIAL_FREEMIUM = 'social_freemium',\n // Salariés / Elements de paie\n SOCIAL = 'social',\n\n // Bibliothèque\n LIBRARY = 'library',\n // Expert-Comptable\n EXPERT_ACCOUNTANT = 'expert_accountant',\n\n // Chat Crisp\n CHAT = 'chat',\n\n /** Configuration */\n SETTING = 'setting',\n SETTING_INFORMATION = 'information',\n SETTING_BANK = 'setting_bank',\n SETTING_ANNOTATION = 'setting_annotation',\n SETTING_PURCHASE = 'setting_purchase',\n SETTING_SALE = 'setting_sale',\n SETTING_CONNECTOR = 'setting_connector',\n SETTING_ACCOUNTANCY_ACCOUNT = 'setting_accountancy_account',\n SETTING_SUBSCRIPTION = 'setting_subscription',\n SETTING_ACCESS = 'setting_access',\n CUSTOMISATION = 'customisation',\n\n LOG_TO_MOBILE_APP = 'log_to_mobile_app',\n SALE_RECURRENCE = 'sale_recurrence',\n}\n"]}
|
|
@@ -177,9 +177,21 @@ export declare enum PrestationType {
|
|
|
177
177
|
COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS = 221,
|
|
178
178
|
ENVOIE_LRAR = 222,
|
|
179
179
|
FORECAST_BALANCE_SHEET_AT_0 = 226,
|
|
180
|
-
CONSULTING_HOUR = 227
|
|
180
|
+
CONSULTING_HOUR = 227,
|
|
181
|
+
BILLING = 228,
|
|
182
|
+
STEERING = 229,
|
|
183
|
+
VAT = 230,
|
|
184
|
+
BALANCESHEET = 231,
|
|
185
|
+
EXPERTISE = 232,
|
|
186
|
+
SUPPORT = 233,
|
|
187
|
+
PREMIUM = 234,
|
|
188
|
+
CUSTOM_MADE = 235
|
|
181
189
|
}
|
|
182
190
|
export declare const allPrestationsWithBrochure: PrestationType[];
|
|
191
|
+
export declare const allPrestations2025WithBrochure: PrestationType[];
|
|
192
|
+
export declare const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[];
|
|
193
|
+
export declare const ClementineSubscriptionAccountancySoftwarePrestations: PrestationType[];
|
|
194
|
+
export declare const ClementineSubscriptionAccountancyPrestations: PrestationType[];
|
|
183
195
|
export interface PrestationDetailEnum {
|
|
184
196
|
[key: string]: IPrestationList;
|
|
185
197
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrestationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PrestationType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,oBAAY,cAAc;IACxB,cAAc,IAAI;IAClB,YAAY,IAAI;IAChB,mBAAmB,IAAI;IACvB,uBAAuB,IAAI;IAC3B,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,OAAO,IAAI;IACX,KAAK,IAAI;IACT,mBAAmB,IAAI;IACvB,+BAA+B,KAAK;IACpC,sBAAsB,KAAK;IAC3B,MAAM,KAAK;IACX,eAAe,KAAK;IACpB,gBAAgB,KAAK;IACrB,SAAS,KAAK;IACd,6BAA6B,KAAK;IAClC,qBAAqB,KAAK;IAC1B,gBAAgB,KAAK;IACrB,iBAAiB,KAAK;IACtB,qBAAqB,KAAK;IAC1B,YAAY,KAAK;IACjB,6BAA6B,KAAK;IAClC,sCAAsC,KAAK;IAC3C,8BAA8B,KAAK;IACnC,2BAA2B,KAAK;IAChC,mBAAmB,KAAK;IACxB,UAAU,KAAK;IACf,2BAA2B,KAAK;IAChC,cAAc,KAAK;IACnB,UAAU,KAAK;IACf,eAAe,KAAK;IACpB,kBAAkB,KAAK;IACvB,uBAAuB,KAAK;IAC5B,iBAAiB,KAAK;IACtB,sBAAsB,KAAK;IAC3B,yBAAyB,KAAK;IAC9B,8BAA8B,KAAK;IACnC,gBAAgB,KAAK;IACrB,wBAAwB,KAAK;IAC7B,iBAAiB,KAAK;IACtB,iBAAiB,KAAK;IACtB,wCAAwC,KAAK;IAC7C,oBAAoB,KAAK;IACz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MAAM;IAC/B,YAAY,MAAM;IAClB,gBAAgB,MAAM;IACtB,gBAAgB,MAAM;IACtB,iBAAiB,MAAM;IACvB,kBAAkB,MAAM;IACxB,eAAe,MAAM;IACrB,kCAAkC,MAAM;IACxC,0BAA0B,MAAM;IAChC,uBAAuB,MAAM;IAC7B,0CAA0C,MAAM;IAChD,WAAW,MAAM;IACjB,2BAA2B,MAAM;IACjC,eAAe,MAAM;
|
|
1
|
+
{"version":3,"file":"PrestationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PrestationType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,oBAAY,cAAc;IACxB,cAAc,IAAI;IAClB,YAAY,IAAI;IAChB,mBAAmB,IAAI;IACvB,uBAAuB,IAAI;IAC3B,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,OAAO,IAAI;IACX,KAAK,IAAI;IACT,mBAAmB,IAAI;IACvB,+BAA+B,KAAK;IACpC,sBAAsB,KAAK;IAC3B,MAAM,KAAK;IACX,eAAe,KAAK;IACpB,gBAAgB,KAAK;IACrB,SAAS,KAAK;IACd,6BAA6B,KAAK;IAClC,qBAAqB,KAAK;IAC1B,gBAAgB,KAAK;IACrB,iBAAiB,KAAK;IACtB,qBAAqB,KAAK;IAC1B,YAAY,KAAK;IACjB,6BAA6B,KAAK;IAClC,sCAAsC,KAAK;IAC3C,8BAA8B,KAAK;IACnC,2BAA2B,KAAK;IAChC,mBAAmB,KAAK;IACxB,UAAU,KAAK;IACf,2BAA2B,KAAK;IAChC,cAAc,KAAK;IACnB,UAAU,KAAK;IACf,eAAe,KAAK;IACpB,kBAAkB,KAAK;IACvB,uBAAuB,KAAK;IAC5B,iBAAiB,KAAK;IACtB,sBAAsB,KAAK;IAC3B,yBAAyB,KAAK;IAC9B,8BAA8B,KAAK;IACnC,gBAAgB,KAAK;IACrB,wBAAwB,KAAK;IAC7B,iBAAiB,KAAK;IACtB,iBAAiB,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