@silexpert/core 1.3.184-0 → 1.3.185-0
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/Card.d.ts +23 -1
- package/dist/cjs/api/resources/Card.d.ts.map +1 -1
- package/dist/cjs/api/resources/Card.js +36 -0
- package/dist/cjs/api/resources/Card.js.map +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/cjs/api/resources/InternalInvoicing.js +0 -8
- package/dist/cjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/cjs/api/resources/Shine.d.ts +2 -1
- package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
- package/dist/cjs/api/resources/Shine.js +3 -0
- package/dist/cjs/api/resources/Shine.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/types/Enum/AdjustmentType.js +4 -4
- package/dist/cjs/types/Enum/AdjustmentType.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +7 -1
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +9 -1
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/cjs/types/Enum/EntityType.js +2 -2
- package/dist/cjs/types/Enum/EntityType.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridClementine.js +482 -478
- package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/cjs/types/Enum/Unit.d.ts +2 -1
- package/dist/cjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Unit.js +11 -0
- package/dist/cjs/types/Enum/Unit.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +4 -1
- package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +6 -0
- package/dist/cjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.d.ts +0 -3
- package/dist/cjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/Cron.js +1 -10
- package/dist/cjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js +43 -0
- package/dist/cjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js +106 -0
- package/dist/cjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js +29 -0
- package/dist/cjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js +79 -0
- package/dist/cjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/Query.d.ts +8 -0
- package/dist/cjs/types/Interface/api/card/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/card/Query.js +37 -0
- package/dist/cjs/types/Interface/api/card/Query.js.map +1 -0
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts +11 -0
- package/dist/cjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js +44 -1
- package/dist/cjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
- package/dist/cjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js +58 -1
- package/dist/cjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/cjs/types/Interface/api/shine/Query.d.ts +7 -0
- package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/shine/{GetConnect.js → Query.js} +9 -2
- package/dist/cjs/types/Interface/api/shine/Query.js.map +1 -0
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
- package/dist/cjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.d.ts +19 -0
- package/dist/cjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts +4 -0
- package/dist/cjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.d.ts +1 -0
- package/dist/cjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerVat.js.map +1 -1
- package/dist/cjs/types/index.d.ts +6 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +6 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Card.d.ts +23 -1
- package/dist/mjs/api/resources/Card.d.ts.map +1 -1
- package/dist/mjs/api/resources/Card.js +45 -0
- package/dist/mjs/api/resources/Card.js.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.d.ts.map +1 -1
- package/dist/mjs/api/resources/InternalInvoicing.js +0 -8
- package/dist/mjs/api/resources/InternalInvoicing.js.map +1 -1
- package/dist/mjs/api/resources/Shine.d.ts +2 -1
- package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
- package/dist/mjs/api/resources/Shine.js +3 -0
- package/dist/mjs/api/resources/Shine.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/types/Enum/AdjustmentType.js +4 -4
- package/dist/mjs/types/Enum/AdjustmentType.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +7 -1
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +9 -1
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
- package/dist/mjs/types/Enum/EntityType.js +2 -2
- package/dist/mjs/types/Enum/EntityType.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridClementine.js +486 -474
- package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
- package/dist/mjs/types/Enum/Unit.d.ts +2 -1
- package/dist/mjs/types/Enum/Unit.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Unit.js +11 -0
- package/dist/mjs/types/Enum/Unit.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +7 -0
- package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js +7 -0
- package/dist/mjs/types/Interface/api/balanceSheet/UpdateBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.d.ts +0 -3
- package/dist/mjs/types/Interface/api/card/Cron.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/Cron.js +0 -8
- package/dist/mjs/types/Interface/api/card/Cron.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts +9 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js +42 -0
- package/dist/mjs/types/Interface/api/card/ModifyAcceptation.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts +25 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js +115 -0
- package/dist/mjs/types/Interface/api/card/ModifyBalanceSheet.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts +5 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js +27 -0
- package/dist/mjs/types/Interface/api/card/ModifyCustomerVat.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts +18 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js +84 -0
- package/dist/mjs/types/Interface/api/card/ModifyPlanning.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/Query.d.ts +8 -0
- package/dist/mjs/types/Interface/api/card/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/card/Query.js +34 -0
- package/dist/mjs/types/Interface/api/card/Query.js.map +1 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts +11 -0
- package/dist/mjs/types/Interface/api/card/QueryUserCards.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js +43 -1
- package/dist/mjs/types/Interface/api/card/QueryUserCards.js.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts +13 -0
- package/dist/mjs/types/Interface/api/card/UpdateCard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js +65 -1
- package/dist/mjs/types/Interface/api/card/UpdateCard.js.map +1 -1
- package/dist/mjs/types/Interface/api/shine/Query.d.ts +7 -0
- package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/shine/{GetConnect.js → Query.js} +8 -1
- package/dist/mjs/types/Interface/api/shine/Query.js.map +1 -0
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts +3 -0
- package/dist/mjs/types/Interface/models/IBalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IBalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.d.ts +19 -0
- package/dist/mjs/types/Interface/models/ICard.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICard.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts +4 -0
- package/dist/mjs/types/Interface/models/ICardHistory.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICardHistory.js.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.d.ts +1 -0
- package/dist/mjs/types/Interface/models/ICustomerVat.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerVat.js.map +1 -1
- package/dist/mjs/types/index.d.ts +6 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +6 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Card.ts +61 -0
- package/ts/api/resources/InternalInvoicing.ts +0 -8
- package/ts/api/resources/Shine.ts +11 -1
- package/ts/api/resources/Society.ts +5 -0
- package/ts/types/Enum/AdjustmentType.ts +4 -4
- package/ts/types/Enum/BrandPourcentage.ts +8 -8
- package/ts/types/Enum/Card.ts +9 -1
- package/ts/types/Enum/EntityType.ts +2 -2
- package/ts/types/Enum/PriceGridClementine.ts +487 -474
- package/ts/types/Enum/Unit.ts +11 -0
- package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +18 -0
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +5 -0
- package/ts/types/Interface/api/card/Cron.ts +1 -8
- package/ts/types/Interface/api/card/ModifyAcceptation.ts +24 -0
- package/ts/types/Interface/api/card/ModifyBalanceSheet.ts +81 -0
- package/ts/types/Interface/api/card/ModifyCustomerVat.ts +13 -0
- package/ts/types/Interface/api/card/ModifyPlanning.ts +52 -0
- package/ts/types/Interface/api/card/Query.ts +19 -0
- package/ts/types/Interface/api/card/QueryUserCards.ts +36 -1
- package/ts/types/Interface/api/card/UpdateCard.ts +50 -2
- package/ts/types/Interface/api/shine/{GetConnect.ts → Query.ts} +5 -0
- package/ts/types/Interface/models/IBalanceSheet.ts +3 -0
- package/ts/types/Interface/models/ICard.ts +20 -0
- package/ts/types/Interface/models/ICardHistory.ts +4 -0
- package/ts/types/Interface/models/ICustomerVat.ts +1 -0
- package/ts/types/index.ts +6 -1
- package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
- package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +0 -1
- package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
- package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +0 -1
package/ts/api/resources/Card.ts
CHANGED
|
@@ -3,6 +3,15 @@ import {
|
|
|
3
3
|
ICard,
|
|
4
4
|
QueryUserCards,
|
|
5
5
|
QueryUserCardsPaginated,
|
|
6
|
+
QueryUserCardsStats,
|
|
7
|
+
CardsStatsGroup,
|
|
8
|
+
UpdateCard,
|
|
9
|
+
ModifyTeamPlanning,
|
|
10
|
+
ModifyExercisePlanning,
|
|
11
|
+
OrganizeBalanceSheets,
|
|
12
|
+
OrganizeBalanceSheetsResponse,
|
|
13
|
+
QueryInternalCardsStats,
|
|
14
|
+
InternalCardStats,
|
|
6
15
|
BasePaginate,
|
|
7
16
|
UpdateCardV2,
|
|
8
17
|
AssignCard,
|
|
@@ -29,10 +38,62 @@ export class Card extends Resource {
|
|
|
29
38
|
});
|
|
30
39
|
}
|
|
31
40
|
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Use getAll instead
|
|
43
|
+
*/
|
|
44
|
+
getAllAdmin(params: QueryUserCards, signal?: AbortSignal): Promise<ICard[]> {
|
|
45
|
+
return this.axios.$get('/cards', {
|
|
46
|
+
...(signal ? { signal } : {}),
|
|
47
|
+
params,
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
getStats(params: QueryUserCardsStats, signal?: AbortSignal): Promise<CardsStatsGroup[]> {
|
|
52
|
+
return this.axios.$get('/cards/stats', {
|
|
53
|
+
...(signal ? { signal } : {}),
|
|
54
|
+
params,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
getInternalStats(params: QueryInternalCardsStats, signal?: AbortSignal): Promise<InternalCardStats[]> {
|
|
59
|
+
return this.axios.$get('/cards/internal/stats', {
|
|
60
|
+
...(signal ? { signal } : {}),
|
|
61
|
+
params,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Use updateV2 instead
|
|
67
|
+
*/
|
|
68
|
+
update(id: number, data: UpdateCard): Promise<ICard> {
|
|
69
|
+
return this.axios.$put(`/cards/${id}`, data);
|
|
70
|
+
}
|
|
71
|
+
|
|
32
72
|
delete(id: number): Promise<void> {
|
|
33
73
|
return this.axios.$delete(`/cards/${id}`);
|
|
34
74
|
}
|
|
35
75
|
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated comptallo v1 endpoint
|
|
78
|
+
*/
|
|
79
|
+
modifyTeamPlanning(data: ModifyTeamPlanning): Promise<true> {
|
|
80
|
+
return this.axios.$put('/cards/assign/modify-team-planning', data);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated comptallo v1 endpoint
|
|
85
|
+
*/
|
|
86
|
+
modifyExercisePlanning(data: ModifyExercisePlanning): Promise<true> {
|
|
87
|
+
return this.axios.$put('/cards/assign/modify-exercise-planning', data);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @deprecated comptallo v1 endpoint
|
|
92
|
+
*/
|
|
93
|
+
organizeFutureBalanceSheets(data: OrganizeBalanceSheets): Promise<OrganizeBalanceSheetsResponse> {
|
|
94
|
+
return this.axios.$post('/cards/accountant/organize/future-balance-sheets', data);
|
|
95
|
+
}
|
|
96
|
+
|
|
36
97
|
updateV2(idCard: number, data: UpdateCardV2): Promise<ICard> {
|
|
37
98
|
return this.axios.$put(`/cards/${idCard}/v2`, data);
|
|
38
99
|
}
|
|
@@ -30,16 +30,8 @@ export class InternalInvoicing extends Resource {
|
|
|
30
30
|
return this.axios.$post('/internalInvoicing/cutOff/FAE', {});
|
|
31
31
|
case 3:
|
|
32
32
|
return this.axios.$post('/internalInvoicing/cutOff/AAE', {});
|
|
33
|
-
case 4:
|
|
34
|
-
return this.axios.$post('/internalInvoicing/cutOff/PCA2', {});
|
|
35
33
|
case 5:
|
|
36
34
|
return this.axios.$post('/internalInvoicing/cutOff/PCA-accounting-package', {});
|
|
37
|
-
case 6:
|
|
38
|
-
return this.axios.$post('/internalInvoicing/cutOff/PCA-accounting-package-2', {});
|
|
39
|
-
case 7:
|
|
40
|
-
return this.axios.$post('/internalInvoicing/cutOff/PCA-accounting-out-package', {});
|
|
41
|
-
case 8:
|
|
42
|
-
return this.axios.$post('/internalInvoicing/cutOff/PCA-accounting-out-package-2', {});
|
|
43
35
|
case 9:
|
|
44
36
|
return this.axios.$post('/internalInvoicing/cutOff/AAE-detail', {});
|
|
45
37
|
default:
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IBankAccount,
|
|
4
|
+
CreateShineTransactions,
|
|
5
|
+
GetConnect,
|
|
6
|
+
CreateShineAccount,
|
|
7
|
+
ConnectResponse,
|
|
8
|
+
GetRefreshConnect,
|
|
9
|
+
} from '../../types';
|
|
3
10
|
|
|
4
11
|
export class Shine extends Resource {
|
|
5
12
|
connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {
|
|
6
13
|
return this.axios.$get(`/connectors/shine/${idSociety}/connect`, { params });
|
|
7
14
|
}
|
|
15
|
+
refreshConnectData(idSociety: number, params: GetRefreshConnect): Promise<ConnectResponse> {
|
|
16
|
+
return this.axios.$get(`/connectors/shine/${idSociety}/refresh-connect-data`, { params });
|
|
17
|
+
}
|
|
8
18
|
importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {
|
|
9
19
|
return this.axios.$post(`/connectors/shine/${idSociety}/importBankAccount`, params);
|
|
10
20
|
}
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
DataCustomersCsv,
|
|
31
31
|
ReadCurrentPrestations,
|
|
32
32
|
QueryToArchivedSociety,
|
|
33
|
+
ReadFeatureAccess,
|
|
33
34
|
} from '../../types';
|
|
34
35
|
import { CancelToken } from 'axios';
|
|
35
36
|
|
|
@@ -205,4 +206,8 @@ export class Society extends Resource {
|
|
|
205
206
|
},
|
|
206
207
|
});
|
|
207
208
|
}
|
|
209
|
+
|
|
210
|
+
getAllFeatures(idSociety: number): Promise<ReadFeatureAccess> {
|
|
211
|
+
return this.axios.$get(`/societies/${idSociety}/features`);
|
|
212
|
+
}
|
|
208
213
|
}
|
|
@@ -16,7 +16,7 @@ export const AdjustmentTypeList: Array<{
|
|
|
16
16
|
{
|
|
17
17
|
id: AdjustmentTypeId.TOO_MUCH_COLLECTED,
|
|
18
18
|
label: 'TVA trop collectée',
|
|
19
|
-
centuries: [2022, 2023, 2024, 2025],
|
|
19
|
+
centuries: [2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030],
|
|
20
20
|
key: 'vat.deductible.toImpute',
|
|
21
21
|
inputKey: 'adjustment.tooMuchCollected',
|
|
22
22
|
tooltip: '2C - Sommes à imputer, y compris acompte congés',
|
|
@@ -24,7 +24,7 @@ export const AdjustmentTypeList: Array<{
|
|
|
24
24
|
{
|
|
25
25
|
id: AdjustmentTypeId.NOT_ENOUGH_COLLECTED,
|
|
26
26
|
label: 'TVA pas assez collectée',
|
|
27
|
-
centuries: [2022, 2023, 2024, 2025],
|
|
27
|
+
centuries: [2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030],
|
|
28
28
|
key: 'vat.sumToAdd',
|
|
29
29
|
inputKey: 'adjustment.notEnoughCollected',
|
|
30
30
|
tooltip: '5B - Sommes à ajouter, y compris acompte congés',
|
|
@@ -32,7 +32,7 @@ export const AdjustmentTypeList: Array<{
|
|
|
32
32
|
{
|
|
33
33
|
id: AdjustmentTypeId.TOO_MUCH_DEDUCTED,
|
|
34
34
|
label: 'TVA trop déduite',
|
|
35
|
-
centuries: [2022, 2023, 2024, 2025],
|
|
35
|
+
centuries: [2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030],
|
|
36
36
|
key: 'vat.sumToAdd',
|
|
37
37
|
inputKey: 'adjustment.tooMuchDeducted',
|
|
38
38
|
tooltip: '5B - Sommes à ajouter, y compris acompte congés',
|
|
@@ -40,7 +40,7 @@ export const AdjustmentTypeList: Array<{
|
|
|
40
40
|
{
|
|
41
41
|
id: AdjustmentTypeId.NOT_ENOUGH_DEDUCTED,
|
|
42
42
|
label: 'TVA pas assez déduite',
|
|
43
|
-
centuries: [2022, 2023, 2024, 2025],
|
|
43
|
+
centuries: [2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030],
|
|
44
44
|
key: 'vat.deductible.toImpute',
|
|
45
45
|
tooltip: '2C - Sommes à imputer, y compris acompte congés',
|
|
46
46
|
inputKey: 'adjustment.notEnoughDeducted',
|
|
@@ -284,10 +284,10 @@ export const BrandPourcentage: Brand[] = [
|
|
|
284
284
|
ECDepartment: 'PACA',
|
|
285
285
|
ECPosition: 'Président',
|
|
286
286
|
phone: '04 93 87 03 03',
|
|
287
|
-
postalAddress: '
|
|
287
|
+
postalAddress: '9 route de Turin',
|
|
288
288
|
rcs: 'Nice B 882 255 094',
|
|
289
289
|
statut: 'SAS',
|
|
290
|
-
zipCode: '06
|
|
290
|
+
zipCode: '06 300',
|
|
291
291
|
},
|
|
292
292
|
idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
|
|
293
293
|
logoUrl: 'logo-pourcentage.svg',
|
|
@@ -312,8 +312,8 @@ export const BrandPourcentage: Brand[] = [
|
|
|
312
312
|
lastUsedNumber: 1685,
|
|
313
313
|
statut: 'SAS',
|
|
314
314
|
name: 'AMEX',
|
|
315
|
-
address: '
|
|
316
|
-
zipCode: '06
|
|
315
|
+
address: '9 route de Turin',
|
|
316
|
+
zipCode: '06 300',
|
|
317
317
|
city: 'NICE',
|
|
318
318
|
country: 'FRANCE',
|
|
319
319
|
montantCapital: '466 800',
|
|
@@ -383,10 +383,10 @@ export const BrandPourcentage: Brand[] = [
|
|
|
383
383
|
ECPosition: 'Salarié',
|
|
384
384
|
ECDepartment: 'PACA',
|
|
385
385
|
phone: '04 93 54 29 09',
|
|
386
|
-
postalAddress: '
|
|
386
|
+
postalAddress: '9 route de Turin',
|
|
387
387
|
rcs: 'Nice B 882 255 094',
|
|
388
388
|
statut: 'SAS',
|
|
389
|
-
zipCode: '06
|
|
389
|
+
zipCode: '06 300',
|
|
390
390
|
},
|
|
391
391
|
idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
|
|
392
392
|
logoUrl: 'logo-pourcentage.svg',
|
|
@@ -411,8 +411,8 @@ export const BrandPourcentage: Brand[] = [
|
|
|
411
411
|
lastUsedNumber: 1685,
|
|
412
412
|
statut: 'SAS',
|
|
413
413
|
name: 'AMEX',
|
|
414
|
-
address: '
|
|
415
|
-
zipCode: '06
|
|
414
|
+
address: '9 route de Turin',
|
|
415
|
+
zipCode: '06 300',
|
|
416
416
|
city: 'NICE',
|
|
417
417
|
country: 'FRANCE',
|
|
418
418
|
montantCapital: '466 800',
|
package/ts/types/Enum/Card.ts
CHANGED
|
@@ -34,6 +34,7 @@ export enum CardType {
|
|
|
34
34
|
VAT_SEND_SIE = 30, // TVA envoi SIE
|
|
35
35
|
ADVANCE_IS_SEND_SIE = 31, // Acompte IS envoi SIE
|
|
36
36
|
CUT_OFF_ORI_M_1 = 32, // Cut-off ORI M-1
|
|
37
|
+
IS_REFUSED_SIE = 33, // IS Refus SIE
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export enum CardState {
|
|
@@ -88,7 +89,8 @@ export const CardGroup: readonly CardGroupType[] = [
|
|
|
88
89
|
CardType.BALANCE_SHEET_PREPARATION,
|
|
89
90
|
CardType.BALANCE_SHEET_SEND_SIE,
|
|
90
91
|
CardType.BALANCE_SHEET_REFUSED_SIE,
|
|
91
|
-
CardType.BALANCE_SHEET_REFUSED_BY_CLIENT
|
|
92
|
+
CardType.BALANCE_SHEET_REFUSED_BY_CLIENT,
|
|
93
|
+
CardType.IS_REFUSED_SIE,
|
|
92
94
|
],
|
|
93
95
|
roles: [Role.ACCOUNTANT],
|
|
94
96
|
teamType: TeamType.BALANCESHEET,
|
|
@@ -344,6 +346,12 @@ export const CardTypeLabel = [
|
|
|
344
346
|
refLabel: 'COOM1',
|
|
345
347
|
groupId: CardGroupEnum.CUT_OFF,
|
|
346
348
|
},
|
|
349
|
+
{
|
|
350
|
+
id: CardType.IS_REFUSED_SIE,
|
|
351
|
+
label: 'IS Refus SIE',
|
|
352
|
+
refLabel: 'ISRS',
|
|
353
|
+
groupId: CardGroupEnum.BALANCE_SHEET_GROUP,
|
|
354
|
+
}
|
|
347
355
|
] as const;
|
|
348
356
|
|
|
349
357
|
export interface UserCardsStats {
|
|
@@ -74,8 +74,8 @@ export const EntityTypeDetail = [
|
|
|
74
74
|
{
|
|
75
75
|
id: EntityType.AMEX,
|
|
76
76
|
name: 'SAS AMEX',
|
|
77
|
-
adress: '
|
|
78
|
-
city: '
|
|
77
|
+
adress: '9 route de Turin',
|
|
78
|
+
city: '06300 NICE',
|
|
79
79
|
capital: '466 800 €',
|
|
80
80
|
RCS: '882 255 094',
|
|
81
81
|
phone: '04 93 87 03 03',
|