@silexpert/core 1.1.152 → 1.1.153
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/KilometricAllowance.d.ts +2 -1
- package/dist/cjs/api/resources/KilometricAllowance.d.ts.map +1 -1
- package/dist/cjs/api/resources/KilometricAllowance.js +3 -0
- package/dist/cjs/api/resources/KilometricAllowance.js.map +1 -1
- package/dist/cjs/api/resources/SalesContract.d.ts +6 -5
- package/dist/cjs/api/resources/SalesContract.d.ts.map +1 -1
- package/dist/cjs/api/resources/SalesContract.js +32 -16
- package/dist/cjs/api/resources/SalesContract.js.map +1 -1
- package/dist/cjs/api/resources/ThirdParty.d.ts +1 -0
- package/dist/cjs/api/resources/ThirdParty.d.ts.map +1 -1
- package/dist/cjs/api/resources/ThirdParty.js +4 -0
- package/dist/cjs/api/resources/ThirdParty.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts +2 -18
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +78 -91
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts +122 -0
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +161 -0
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +3 -1
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +4 -0
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts +4 -1
- package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +54 -0
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Enum/SalesContractConfig.d.ts +13 -4
- package/dist/cjs/types/Enum/SalesContractConfig.d.ts.map +1 -1
- package/dist/cjs/types/Enum/SalesContractConfig.js +64 -0
- package/dist/cjs/types/Enum/SalesContractConfig.js.map +1 -1
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts +7 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.js +42 -0
- package/dist/cjs/types/Interface/api/cashAndExpense/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts +6 -0
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.js +23 -1
- package/dist/cjs/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountingTransaction.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.d.ts +3 -2
- package/dist/cjs/utils/brands.d.ts.map +1 -1
- package/dist/cjs/utils/brands.js +15 -4
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/mjs/api/resources/KilometricAllowance.d.ts +2 -1
- package/dist/mjs/api/resources/KilometricAllowance.d.ts.map +1 -1
- package/dist/mjs/api/resources/KilometricAllowance.js +6 -0
- package/dist/mjs/api/resources/KilometricAllowance.js.map +1 -1
- package/dist/mjs/api/resources/SalesContract.d.ts +6 -5
- package/dist/mjs/api/resources/SalesContract.d.ts.map +1 -1
- package/dist/mjs/api/resources/SalesContract.js +32 -15
- package/dist/mjs/api/resources/SalesContract.js.map +1 -1
- package/dist/mjs/api/resources/ThirdParty.d.ts +1 -0
- package/dist/mjs/api/resources/ThirdParty.d.ts.map +1 -1
- package/dist/mjs/api/resources/ThirdParty.js +4 -0
- package/dist/mjs/api/resources/ThirdParty.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts +2 -18
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +78 -91
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts +122 -0
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +161 -0
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +3 -1
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +4 -0
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts +4 -1
- package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +54 -0
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Enum/SalesContractConfig.d.ts +13 -4
- package/dist/mjs/types/Enum/SalesContractConfig.d.ts.map +1 -1
- package/dist/mjs/types/Enum/SalesContractConfig.js +68 -1
- package/dist/mjs/types/Enum/SalesContractConfig.js.map +1 -1
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts +7 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.js +42 -0
- package/dist/mjs/types/Interface/api/cashAndExpense/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts +6 -0
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.js +25 -0
- package/dist/mjs/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountingTransaction.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.d.ts +3 -2
- package/dist/mjs/utils/brands.d.ts.map +1 -1
- package/dist/mjs/utils/brands.js +14 -4
- package/dist/mjs/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/KilometricAllowance.ts +8 -1
- package/ts/api/resources/SalesContract.ts +33 -17
- package/ts/api/resources/ThirdParty.ts +5 -0
- package/ts/types/Enum/BrandClementine.ts +78 -91
- package/ts/types/Enum/BrandPourcentage.ts +161 -0
- package/ts/types/Enum/Ged.ts +4 -0
- package/ts/types/Enum/PrestationType.ts +54 -0
- package/ts/types/Enum/SalesContractConfig.ts +41 -6
- package/ts/types/Interface/api/cashAndExpense/Query.ts +24 -0
- package/ts/types/Interface/api/salesContract/SendSalesContractParams.ts +17 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +2 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/brands.ts +16 -4
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { SalesContractContent, SalesContractConfigVersion, SendSalesContractParams } from '../../types';
|
|
2
|
+
import { SalesContractContent, SalesContractConfigVersion, SendSalesContractParams, ParamsPreviewContract, SendMandateParams } from '../../types';
|
|
3
3
|
export declare class SalesContract extends Resource {
|
|
4
|
-
getConfigFile(): Promise<SalesContractContent[]>;
|
|
5
|
-
getConfigVersions(): Promise<SalesContractConfigVersion[]>;
|
|
6
|
-
preview(
|
|
7
|
-
downloadPreview(
|
|
4
|
+
getConfigFile(idTypeBrand?: number): Promise<SalesContractContent[]>;
|
|
5
|
+
getConfigVersions(idTypeBrand?: number): Promise<SalesContractConfigVersion[]>;
|
|
6
|
+
preview(params: ParamsPreviewContract): Promise<string>;
|
|
7
|
+
downloadPreview(params: ParamsPreviewContract): Promise<void>;
|
|
8
8
|
generateConfigFile(formData: FormData): Promise<void>;
|
|
9
9
|
uploadBackgroundImage(formData: FormData): Promise<void>;
|
|
10
10
|
generateSalesContract(idPrestation: number): Promise<true>;
|
|
11
11
|
sendByEmailWithSignature(params: SendSalesContractParams): Promise<true>;
|
|
12
|
+
sendMandateByEmail(params: SendMandateParams): Promise<true>;
|
|
12
13
|
}
|
|
13
14
|
//# sourceMappingURL=SalesContract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SalesContract.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/SalesContract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"SalesContract.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/SalesContract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAElJ,qBAAa,aAAc,SAAQ,QAAQ;IACzC,aAAa,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAIpE,iBAAiB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAI,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAI/E,OAAO,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,eAAe,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7D,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrD,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxD,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1D,wBAAwB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAgBxE,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAe7D"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
export class SalesContract extends Resource {
|
|
3
|
-
getConfigFile() {
|
|
4
|
-
return this.axios.$get('sales-contracts/config');
|
|
3
|
+
getConfigFile(idTypeBrand) {
|
|
4
|
+
return this.axios.$get('sales-contracts/config', { params: { idTypeBrand } });
|
|
5
5
|
}
|
|
6
|
-
getConfigVersions() {
|
|
7
|
-
return this.axios.$get('sales-contracts/config/versions');
|
|
6
|
+
getConfigVersions(idTypeBrand) {
|
|
7
|
+
return this.axios.$get('sales-contracts/config/versions', { params: { idTypeBrand } });
|
|
8
8
|
}
|
|
9
|
-
preview(
|
|
10
|
-
return this.axios.$get('sales-contracts/preview', { params
|
|
9
|
+
preview(params) {
|
|
10
|
+
return this.axios.$get('sales-contracts/preview', { params });
|
|
11
11
|
}
|
|
12
|
-
downloadPreview(
|
|
12
|
+
downloadPreview(params) {
|
|
13
13
|
return this.axios.$get('sales-contracts/preview/pdf', {
|
|
14
|
-
params
|
|
14
|
+
params,
|
|
15
15
|
responseType: 'arraybuffer',
|
|
16
16
|
headers: {
|
|
17
17
|
Accept: 'application/pdf',
|
|
@@ -29,16 +29,33 @@ export class SalesContract extends Resource {
|
|
|
29
29
|
}
|
|
30
30
|
sendByEmailWithSignature(params) {
|
|
31
31
|
const formData = new FormData();
|
|
32
|
-
Object.entries(params).forEach(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
33
|
+
if (value || value === false || value === 0) {
|
|
34
|
+
if (key === 'files') {
|
|
35
|
+
value.forEach((file) => {
|
|
36
|
+
formData.append('files', file);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
else
|
|
40
|
+
formData.append(key, `${value}`);
|
|
36
41
|
}
|
|
37
42
|
});
|
|
38
|
-
params.files?.forEach((file) => {
|
|
39
|
-
formData.append('files', file);
|
|
40
|
-
});
|
|
41
43
|
return this.axios.$post('sales-contracts/send', formData);
|
|
42
44
|
}
|
|
45
|
+
sendMandateByEmail(params) {
|
|
46
|
+
const formData = new FormData();
|
|
47
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
48
|
+
if (value || value === false || value === 0) {
|
|
49
|
+
if (key === 'files') {
|
|
50
|
+
value.forEach((file) => {
|
|
51
|
+
formData.append('files', file);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
else
|
|
55
|
+
formData.append(key, `${value}`);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
return this.axios.$post('sales-contracts/send/mandate', formData);
|
|
59
|
+
}
|
|
43
60
|
}
|
|
44
61
|
//# sourceMappingURL=SalesContract.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SalesContract.js","sourceRoot":"","sources":["../../../../ts/api/resources/SalesContract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,aAAa;
|
|
1
|
+
{"version":3,"file":"SalesContract.js","sourceRoot":"","sources":["../../../../ts/api/resources/SalesContract.ts"],"names":[],"mappings":"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","sourcesContent":["import { Resource } from '../Resource';\nimport { SalesContractContent, SalesContractConfigVersion, SendSalesContractParams, ParamsPreviewContract, SendMandateParams } from '../../types';\n\nexport class SalesContract extends Resource {\n getConfigFile(idTypeBrand?: number): Promise<SalesContractContent[]> {\n return this.axios.$get('sales-contracts/config', { params: { idTypeBrand } });\n }\n\n getConfigVersions(idTypeBrand?: number) : Promise<SalesContractConfigVersion[]> {\n return this.axios.$get('sales-contracts/config/versions', { params: { idTypeBrand } });\n }\n\n preview(params: ParamsPreviewContract): Promise<string> {\n return this.axios.$get('sales-contracts/preview', { params });\n }\n\n downloadPreview(params: ParamsPreviewContract): Promise<void> {\n return this.axios.$get('sales-contracts/preview/pdf', { \n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n generateConfigFile(formData: FormData): Promise<void> {\n return this.axios.$post('sales-contracts/config', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n uploadBackgroundImage(formData: FormData): Promise<void> {\n return this.axios.$post('sales-contracts/config/background', formData, { headers: { 'Content-Type': 'multipart/form-data' } });\n }\n\n generateSalesContract(idPrestation: number): Promise<true> {\n return this.axios.$post('sales-contracts', { idPrestation });\n }\n\n sendByEmailWithSignature(params: SendSalesContractParams): Promise<true> {\n const formData = new FormData();\n Object.entries(params).forEach(([key, value]) => {\n if (value || value === false || value === 0) {\n if (key === 'files') {\n value.forEach((file: File) => {\n formData.append('files', file);\n });\n } else \n formData.append(key, `${value}`);\n }\n });\n\n return this.axios.$post('sales-contracts/send', formData);\n }\n\n sendMandateByEmail(params: SendMandateParams): Promise<true> {\n const formData = new FormData();\n Object.entries(params).forEach(([key, value]) => {\n if (value || value === false || value === 0) {\n if (key === 'files') {\n value.forEach((file: File) => {\n formData.append('files', file);\n });\n } else \n formData.append(key, `${value}`);\n }\n });\n \n return this.axios.$post('sales-contracts/send/mandate', formData);\n }\n}"]}
|
|
@@ -6,6 +6,7 @@ export declare class ThirdParty extends Resource {
|
|
|
6
6
|
getPaginated(pagination: QueryPaginate, query?: QueryThirdParty, cancelToken?: CancelToken, signal?: AbortSignal): Promise<BasePaginate<IThirdParty>>;
|
|
7
7
|
update(idThirdParty: number, payload: UpdateThirdPartyForm): Promise<IThirdParty>;
|
|
8
8
|
create(payload: CreateThirdPartyForm): Promise<IThirdParty>;
|
|
9
|
+
createForSociety(idSociety: number, payload: CreateThirdPartyForm): Promise<IThirdParty>;
|
|
9
10
|
delete(idThirdParty: number): Promise<true>;
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=ThirdParty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThirdParty.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAIrC,YAAY,CACV,UAAU,EAAE,aAAa,EACzB,KAAK,CAAC,EAAE,eAAe,EACvB,WAAW,CAAC,EAAE,WAAW,EACzB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IAWrC,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"ThirdParty.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,qBAAa,UAAW,SAAQ,QAAQ;IACtC,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAIrC,YAAY,CACV,UAAU,EAAE,aAAa,EACzB,KAAK,CAAC,EAAE,eAAe,EACvB,WAAW,CAAC,EAAE,WAAW,EACzB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IAWrC,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,WAAW,CAAC;IAKvB,MAAM,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,WAAW,CAAC;IAI3D,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,WAAW,CAAC;IAIxF,MAAM,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG5C"}
|
|
@@ -16,9 +16,13 @@ export class ThirdParty extends Resource {
|
|
|
16
16
|
update(idThirdParty, payload) {
|
|
17
17
|
return this.axios.$put(`/third-parties/${idThirdParty}`, payload);
|
|
18
18
|
}
|
|
19
|
+
// FIXME: Endpoint à ne plus utiliser, à supprimer une fois app mobile + app mise à jour
|
|
19
20
|
create(payload) {
|
|
20
21
|
return this.axios.$post('/third-parties', payload);
|
|
21
22
|
}
|
|
23
|
+
createForSociety(idSociety, payload) {
|
|
24
|
+
return this.axios.$post(`/societies/${idSociety}/third-parties`, payload);
|
|
25
|
+
}
|
|
22
26
|
delete(idThirdParty) {
|
|
23
27
|
return this.axios.$delete(`/third-parties/${idThirdParty}`);
|
|
24
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThirdParty.js","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAUvC,MAAM,OAAO,UAAW,SAAQ,QAAQ;IACtC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC;IAED,YAAY,CACV,UAAyB,EACzB,KAAuB,EACvB,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAAE;YAChD,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM,EAAE;gBACN,GAAG,UAAU;gBACb,GAAG,KAAK;aACT;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CACJ,YAAoB,EACpB,OAA6B;QAE7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,CAAC,OAA6B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,YAAoB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginate,\n BasePaginate,\n IThirdParty,\n QueryThirdParty,\n UpdateThirdPartyForm,\n CreateThirdPartyForm,\n} from '../../types';\n\nexport class ThirdParty extends Resource {\n getAll(): Promise<Array<IThirdParty>> {\n return this.axios.$get('/third-parties');\n }\n\n getPaginated(\n pagination: QueryPaginate,\n query?: QueryThirdParty,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IThirdParty>> {\n return this.axios.$get('/third-parties/paginate', {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n update(\n idThirdParty: number,\n payload: UpdateThirdPartyForm,\n ): Promise<IThirdParty> {\n return this.axios.$put(`/third-parties/${idThirdParty}`, payload);\n }\n\n create(payload: CreateThirdPartyForm): Promise<IThirdParty> {\n return this.axios.$post('/third-parties', payload);\n }\n\n delete(idThirdParty: number): Promise<true> {\n return this.axios.$delete(`/third-parties/${idThirdParty}`);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ThirdParty.js","sourceRoot":"","sources":["../../../../ts/api/resources/ThirdParty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAUvC,MAAM,OAAO,UAAW,SAAQ,QAAQ;IACtC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC;IAED,YAAY,CACV,UAAyB,EACzB,KAAuB,EACvB,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAAE;YAChD,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,MAAM,EAAE;gBACN,GAAG,UAAU;gBACb,GAAG,KAAK;aACT;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CACJ,YAAoB,EACpB,OAA6B;QAE7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,kBAAkB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,wFAAwF;IACxF,MAAM,CAAC,OAA6B;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,gBAAgB,CAAC,SAAiB,EAAE,OAA6B;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED,MAAM,CAAC,YAAoB;QACzB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF","sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n QueryPaginate,\n BasePaginate,\n IThirdParty,\n QueryThirdParty,\n UpdateThirdPartyForm,\n CreateThirdPartyForm,\n} from '../../types';\n\nexport class ThirdParty extends Resource {\n getAll(): Promise<Array<IThirdParty>> {\n return this.axios.$get('/third-parties');\n }\n\n getPaginated(\n pagination: QueryPaginate,\n query?: QueryThirdParty,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<IThirdParty>> {\n return this.axios.$get('/third-parties/paginate', {\n ...(cancelToken ? { cancelToken } : {}),\n ...(signal ? { signal } : {}),\n params: {\n ...pagination,\n ...query,\n },\n });\n }\n\n update(\n idThirdParty: number,\n payload: UpdateThirdPartyForm,\n ): Promise<IThirdParty> {\n return this.axios.$put(`/third-parties/${idThirdParty}`, payload);\n }\n\n // FIXME: Endpoint à ne plus utiliser, à supprimer une fois app mobile + app mise à jour\n create(payload: CreateThirdPartyForm): Promise<IThirdParty> {\n return this.axios.$post('/third-parties', payload);\n }\n\n createForSociety(idSociety: number, payload: CreateThirdPartyForm): Promise<IThirdParty> {\n return this.axios.$post(`/societies/${idSociety}/third-parties`, payload);\n }\n\n delete(idThirdParty: number): Promise<true> {\n return this.axios.$delete(`/third-parties/${idThirdParty}`);\n }\n}\n"]}
|
|
@@ -219,16 +219,10 @@ export declare const BrandClementine: ({
|
|
|
219
219
|
vatIntracom: string;
|
|
220
220
|
email: string;
|
|
221
221
|
};
|
|
222
|
-
salesContractConfig: {
|
|
223
|
-
label: string;
|
|
224
|
-
name: string;
|
|
225
|
-
needBgImage: boolean;
|
|
226
|
-
versionable: boolean;
|
|
227
|
-
idPrestationType: PrestationType[];
|
|
228
|
-
}[];
|
|
229
222
|
logoS3?: undefined;
|
|
230
223
|
webmail?: undefined;
|
|
231
224
|
offices?: undefined;
|
|
225
|
+
salesContractConfig?: undefined;
|
|
232
226
|
} | {
|
|
233
227
|
idTypeBrand: number;
|
|
234
228
|
name: string;
|
|
@@ -287,6 +281,7 @@ export declare const BrandClementine: ({
|
|
|
287
281
|
urlApp: string;
|
|
288
282
|
urlApi1: string;
|
|
289
283
|
urlApi2: string;
|
|
284
|
+
urlClient: string;
|
|
290
285
|
bank: {
|
|
291
286
|
IBAN: string;
|
|
292
287
|
BIC: string;
|
|
@@ -323,7 +318,6 @@ export declare const BrandClementine: ({
|
|
|
323
318
|
versionable: boolean;
|
|
324
319
|
idPrestationType: (number | undefined)[];
|
|
325
320
|
keyName?: undefined;
|
|
326
|
-
condition?: undefined;
|
|
327
321
|
} | {
|
|
328
322
|
label: string;
|
|
329
323
|
name: string;
|
|
@@ -331,15 +325,6 @@ export declare const BrandClementine: ({
|
|
|
331
325
|
versionable: boolean;
|
|
332
326
|
idPrestationType: PrestationType[];
|
|
333
327
|
keyName: string;
|
|
334
|
-
condition?: undefined;
|
|
335
|
-
} | {
|
|
336
|
-
label: string;
|
|
337
|
-
name: string;
|
|
338
|
-
needBgImage: boolean;
|
|
339
|
-
versionable: boolean;
|
|
340
|
-
keyName: string;
|
|
341
|
-
idPrestationType: PrestationType[];
|
|
342
|
-
condition: (turnover: number) => boolean;
|
|
343
328
|
})[];
|
|
344
329
|
urlS3?: undefined;
|
|
345
330
|
logoS3?: undefined;
|
|
@@ -351,7 +336,6 @@ export declare const BrandClementine: ({
|
|
|
351
336
|
miniLogoUrl?: undefined;
|
|
352
337
|
hiddenPages?: undefined;
|
|
353
338
|
urlExpert?: undefined;
|
|
354
|
-
urlClient?: undefined;
|
|
355
339
|
webmail?: undefined;
|
|
356
340
|
offices?: undefined;
|
|
357
341
|
recaptchaSecretKey?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrandClementine.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/BrandClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAgD,MAAM,kBAAkB,CAAC;AAEhG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAoKE,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"BrandClementine.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/BrandClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAgD,MAAM,kBAAkB,CAAC;AAEhG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAoKE,MAAM,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmb7C,CAAC"}
|
|
@@ -358,22 +358,6 @@ export const BrandClementine = [
|
|
|
358
358
|
vatIntracom: 'FR47752566687',
|
|
359
359
|
email: 'facturation@compta-clementine.fr',
|
|
360
360
|
},
|
|
361
|
-
salesContractConfig: [
|
|
362
|
-
{
|
|
363
|
-
label: 'Page d\'introduction',
|
|
364
|
-
name: 'page_intro',
|
|
365
|
-
needBgImage: true,
|
|
366
|
-
versionable: false,
|
|
367
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
label: 'Page chiffres',
|
|
371
|
-
name: 'page_numbers',
|
|
372
|
-
needBgImage: true,
|
|
373
|
-
versionable: false,
|
|
374
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
375
|
-
},
|
|
376
|
-
],
|
|
377
361
|
},
|
|
378
362
|
{
|
|
379
363
|
idTypeBrand: 4,
|
|
@@ -438,6 +422,39 @@ export const BrandClementine = [
|
|
|
438
422
|
vatIntracom: 'FR47752566687',
|
|
439
423
|
email: 'facturation@compta-clementine.fr',
|
|
440
424
|
},
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
idTypeBrand: 6,
|
|
428
|
+
name: 'Klems',
|
|
429
|
+
commercialName: 'Klems',
|
|
430
|
+
urlApp: 'https://klems.fr',
|
|
431
|
+
urlApi1: 'https://api.compta-clementine.fr',
|
|
432
|
+
urlApi2: 'https://api-next.compta-clementine.fr',
|
|
433
|
+
urlClient: 'https://www.klems.fr',
|
|
434
|
+
bank: {
|
|
435
|
+
IBAN: 'FR7616106840138646838239863',
|
|
436
|
+
BIC: 'AGRIFRPP861',
|
|
437
|
+
Name: 'Expertise Choix B',
|
|
438
|
+
Id: 'FR91ZZZ617135',
|
|
439
|
+
},
|
|
440
|
+
colors: {
|
|
441
|
+
primary: '#38A1FF',
|
|
442
|
+
},
|
|
443
|
+
internalInvoicing: {
|
|
444
|
+
statut: 'SAS',
|
|
445
|
+
name: 'EXPERTISE CHOIX B',
|
|
446
|
+
address: '9, avenue du Rhin',
|
|
447
|
+
zipCode: '54520',
|
|
448
|
+
city: 'LAXOU',
|
|
449
|
+
country: 'FRANCE',
|
|
450
|
+
montantCapital: '500 000',
|
|
451
|
+
siret: '752566687',
|
|
452
|
+
ape: '6920Z',
|
|
453
|
+
rcs: '752 566 687',
|
|
454
|
+
phone: '03 83 93 14 14',
|
|
455
|
+
vatIntracom: 'FR47752566687',
|
|
456
|
+
email: 'facturation@compta-clementine.fr',
|
|
457
|
+
},
|
|
441
458
|
salesContractConfig: [
|
|
442
459
|
// pour les pages statiques
|
|
443
460
|
{
|
|
@@ -445,168 +462,138 @@ export const BrandClementine = [
|
|
|
445
462
|
name: 'page_intro',
|
|
446
463
|
needBgImage: true,
|
|
447
464
|
versionable: false,
|
|
448
|
-
idPrestationType:
|
|
465
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
449
466
|
},
|
|
450
467
|
{
|
|
451
468
|
label: 'Page chiffres',
|
|
452
469
|
name: 'page_numbers',
|
|
453
470
|
needBgImage: true,
|
|
454
471
|
versionable: false,
|
|
455
|
-
idPrestationType:
|
|
472
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
456
473
|
},
|
|
457
474
|
{
|
|
458
475
|
label: 'Page simplifié',
|
|
459
476
|
name: 'page_simplified',
|
|
460
477
|
needBgImage: true,
|
|
461
478
|
versionable: false,
|
|
462
|
-
idPrestationType:
|
|
479
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
463
480
|
},
|
|
464
481
|
{
|
|
465
482
|
label: 'Détail de la lettre de mission',
|
|
466
483
|
name: 'page_detail_ldm',
|
|
467
484
|
needBgImage: false,
|
|
468
485
|
versionable: false,
|
|
469
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden &&
|
|
486
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => !p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS].includes(p.id)).map(({ id }) => id), // Prestations non express
|
|
470
487
|
},
|
|
471
488
|
{
|
|
472
489
|
label: 'Détail de la lettre de mission (express)',
|
|
473
490
|
name: 'page_detail_ldm_back',
|
|
474
491
|
needBgImage: false,
|
|
475
492
|
versionable: false,
|
|
476
|
-
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack
|
|
477
|
-
},
|
|
478
|
-
// pour les pages dynamiques
|
|
479
|
-
{
|
|
480
|
-
label: 'Compta Pro',
|
|
481
|
-
name: 'bloc_compta_pro',
|
|
482
|
-
needBgImage: false,
|
|
483
|
-
versionable: true,
|
|
484
|
-
idPrestationType: [PrestationType.COMPTA_PRO, PrestationType.COMPTA_PRO_EXPRESS],
|
|
485
|
-
keyName: 'isWithApplicationFees',
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
label: 'Compta Entreprise',
|
|
489
|
-
name: 'bloc_compta_entreprise',
|
|
490
|
-
needBgImage: false,
|
|
491
|
-
versionable: true,
|
|
492
|
-
keyName: 'isWithApplicationFees',
|
|
493
|
-
idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
|
|
494
|
-
condition: (turnover) => turnover < 900000,
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
label: 'Compta Entreprise sur mesure',
|
|
498
|
-
name: 'bloc_compta_entreprise_sm',
|
|
499
|
-
needBgImage: false,
|
|
500
|
-
versionable: true,
|
|
501
|
-
keyName: 'isWithApplicationFees',
|
|
502
|
-
idPrestationType: [PrestationType.COMPTA_ENTREPRISE, PrestationType.COMPTA_ENTREPRISE_EXPRESS, PrestationType.COMPTA_STARTER_ENTREPRISE],
|
|
503
|
-
condition: (turnover) => turnover >= 900000,
|
|
493
|
+
idPrestationType: Object.values(PrestationDetail).filter(p => p.isBack && !p.hidden && [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS].includes(p.id)).map(({ id }) => id), // Prestations express
|
|
504
494
|
},
|
|
505
495
|
{
|
|
506
|
-
label: '
|
|
496
|
+
label: 'Forfait Expertise Micro',
|
|
507
497
|
name: 'bloc_compta_micro',
|
|
508
498
|
needBgImage: false,
|
|
509
|
-
versionable:
|
|
510
|
-
idPrestationType: [PrestationType.
|
|
511
|
-
keyName: 'isWithApplicationFees',
|
|
499
|
+
versionable: false,
|
|
500
|
+
idPrestationType: [PrestationType.COMPTA_MICRO_KLEMS],
|
|
512
501
|
},
|
|
513
502
|
{
|
|
514
|
-
label: '
|
|
515
|
-
name: '
|
|
503
|
+
label: 'Forfait Expertise Entreprise individuelle',
|
|
504
|
+
name: 'bloc_entreprise_individuelle',
|
|
516
505
|
needBgImage: false,
|
|
517
|
-
versionable:
|
|
518
|
-
idPrestationType: [PrestationType.
|
|
519
|
-
keyName: 'isWithApplicationFees',
|
|
506
|
+
versionable: false,
|
|
507
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
520
508
|
},
|
|
521
509
|
{
|
|
522
|
-
label: 'Forfait
|
|
523
|
-
name: '
|
|
510
|
+
label: 'Forfait Expertise Loueur meublé non pro',
|
|
511
|
+
name: 'bloc_compta_loueur_meuble_non_pro',
|
|
524
512
|
needBgImage: false,
|
|
525
|
-
versionable:
|
|
526
|
-
idPrestationType:
|
|
527
|
-
keyName: 'idPrestationSocial',
|
|
513
|
+
versionable: false,
|
|
514
|
+
idPrestationType: [PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
528
515
|
},
|
|
529
516
|
{
|
|
530
|
-
label: 'Forfait
|
|
531
|
-
name: '
|
|
532
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
517
|
+
label: 'Forfait social (TTC)',
|
|
518
|
+
name: 'bloc_social_ttc',
|
|
533
519
|
needBgImage: false,
|
|
534
520
|
versionable: true,
|
|
535
|
-
|
|
521
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
522
|
+
keyName: 'idPrestationSocial',
|
|
536
523
|
},
|
|
537
524
|
{
|
|
538
|
-
label: 'Forfait
|
|
539
|
-
name: '
|
|
540
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
525
|
+
label: 'Forfait social (HT)',
|
|
526
|
+
name: 'bloc_social_ht',
|
|
541
527
|
needBgImage: false,
|
|
542
528
|
versionable: true,
|
|
543
|
-
|
|
529
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
530
|
+
keyName: 'idPrestationSocial',
|
|
544
531
|
},
|
|
545
532
|
{
|
|
546
|
-
label: 'Forfait
|
|
547
|
-
name: '
|
|
533
|
+
label: 'Forfait Création d\'entreprise (TTC)',
|
|
534
|
+
name: 'bloc_creation_entreprise_ttc',
|
|
535
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
548
536
|
needBgImage: false,
|
|
549
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
550
537
|
versionable: true,
|
|
551
|
-
keyName: '
|
|
538
|
+
keyName: 'isWithApplicationFees',
|
|
552
539
|
},
|
|
553
540
|
{
|
|
554
|
-
label: '
|
|
555
|
-
name: '
|
|
541
|
+
label: 'Forfait Création d\'entreprise (HT)',
|
|
542
|
+
name: 'bloc_creation_entreprise_ht',
|
|
543
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
556
544
|
needBgImage: false,
|
|
557
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
558
545
|
versionable: true,
|
|
559
|
-
keyName: '
|
|
546
|
+
keyName: 'isWithApplicationFees',
|
|
560
547
|
},
|
|
561
548
|
{
|
|
562
|
-
label: 'Accompagnement contrôle fiscal
|
|
563
|
-
name: '
|
|
549
|
+
label: 'Accompagnement contrôle fiscal (TTC)',
|
|
550
|
+
name: 'bloc_tax_audit_ttc',
|
|
564
551
|
needBgImage: false,
|
|
565
|
-
idPrestationType: allPrestationsWithBrochure,
|
|
566
552
|
versionable: true,
|
|
567
|
-
|
|
553
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
554
|
+
keyName: 'idPrestationControleFiscal',
|
|
568
555
|
},
|
|
569
556
|
{
|
|
570
|
-
label: '
|
|
571
|
-
name: '
|
|
557
|
+
label: 'Accompagnement contrôle fiscal (HT)',
|
|
558
|
+
name: 'bloc_tax_audit_ht',
|
|
572
559
|
needBgImage: false,
|
|
573
|
-
idPrestationType: [PrestationType.
|
|
560
|
+
idPrestationType: [PrestationType.COMPTA_EI_KLEMS],
|
|
574
561
|
versionable: true,
|
|
575
|
-
keyName: '
|
|
562
|
+
keyName: 'idPrestationControleFiscal',
|
|
576
563
|
},
|
|
577
564
|
{
|
|
578
565
|
label: 'Signature',
|
|
579
566
|
name: 'bloc_sign',
|
|
580
567
|
needBgImage: false,
|
|
581
|
-
idPrestationType:
|
|
568
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
582
569
|
versionable: false,
|
|
583
570
|
},
|
|
584
571
|
{
|
|
585
572
|
label: 'Conditions Générals de Vente (CGV) 1/2',
|
|
586
573
|
name: 'bloc_cgv_first',
|
|
587
574
|
needBgImage: false,
|
|
588
|
-
idPrestationType:
|
|
575
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
589
576
|
versionable: false,
|
|
590
577
|
},
|
|
591
578
|
{
|
|
592
579
|
label: 'Conditions Générals de Vente (CGV) 2/2',
|
|
593
580
|
name: 'bloc_cgv_second',
|
|
594
581
|
needBgImage: false,
|
|
595
|
-
idPrestationType:
|
|
582
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
596
583
|
versionable: false,
|
|
597
584
|
},
|
|
598
585
|
{
|
|
599
586
|
label: 'Mandat de prélèvement SEPA',
|
|
600
587
|
name: 'bloc_sepa',
|
|
601
588
|
needBgImage: false,
|
|
602
|
-
idPrestationType:
|
|
589
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
603
590
|
versionable: false,
|
|
604
591
|
},
|
|
605
592
|
{
|
|
606
593
|
label: 'Pièces à nous envoyer',
|
|
607
594
|
name: 'bloc_send_files',
|
|
608
595
|
needBgImage: false,
|
|
609
|
-
idPrestationType:
|
|
596
|
+
idPrestationType: [PrestationType.SOCIAL, PrestationType.COMPTA_MICRO_KLEMS, PrestationType.COMPTA_EI_KLEMS, PrestationType.COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS],
|
|
610
597
|
versionable: false,
|
|
611
598
|
},
|
|
612
599
|
],
|