@silexpert/core 1.3.109 → 1.3.110
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/LeadsToPartners.d.ts +2 -2
- package/dist/cjs/api/resources/LeadsToPartners.d.ts.map +1 -1
- package/dist/cjs/api/resources/LeadsToPartners.js.map +1 -1
- package/dist/cjs/types/Enum/Card.d.ts +1 -1
- package/dist/cjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Card.js +2 -10
- package/dist/cjs/types/Enum/Card.js.map +1 -1
- package/dist/cjs/types/Enum/Partners.d.ts +8 -47
- package/dist/cjs/types/Enum/Partners.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Partners.js +49 -39
- package/dist/cjs/types/Enum/Partners.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +1 -1
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +3 -0
- 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/partners/CreatePartner.d.ts +6 -0
- package/dist/cjs/types/Interface/api/partners/CreatePartner.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/partners/CreatePartner.js +33 -0
- package/dist/cjs/types/Interface/api/partners/CreatePartner.js.map +1 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts +11 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js +62 -0
- package/dist/cjs/types/Interface/api/user/RegisterWebhook.js.map +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/LeadsToPartners.d.ts +2 -2
- package/dist/mjs/api/resources/LeadsToPartners.d.ts.map +1 -1
- package/dist/mjs/api/resources/LeadsToPartners.js.map +1 -1
- package/dist/mjs/types/Enum/Card.d.ts +1 -1
- package/dist/mjs/types/Enum/Card.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Card.js +2 -10
- package/dist/mjs/types/Enum/Card.js.map +1 -1
- package/dist/mjs/types/Enum/Partners.d.ts +8 -47
- package/dist/mjs/types/Enum/Partners.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Partners.js +48 -38
- package/dist/mjs/types/Enum/Partners.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +1 -1
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +3 -0
- 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/partners/CreatePartner.d.ts +6 -0
- package/dist/mjs/types/Interface/api/partners/CreatePartner.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/partners/CreatePartner.js +32 -0
- package/dist/mjs/types/Interface/api/partners/CreatePartner.js.map +1 -0
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts +11 -0
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js +66 -0
- package/dist/mjs/types/Interface/api/user/RegisterWebhook.js.map +1 -0
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/LeadsToPartners.ts +2 -1
- package/ts/types/Enum/Card.ts +2 -10
- package/ts/types/Enum/Partners.ts +14 -3
- package/ts/types/Enum/PrestationType.ts +1 -1
- package/ts/types/Interface/api/config/ConfigType.ts +3 -0
- package/ts/types/Interface/api/partners/CreatePartner.ts +16 -0
- package/ts/types/Interface/api/user/RegisterWebhook.ts +40 -0
- package/ts/types/index.ts +2 -0
package/ts/types/Enum/Card.ts
CHANGED
|
@@ -108,14 +108,6 @@ export const CardGroup: readonly CardGroupType[] = [
|
|
|
108
108
|
teamType: TeamType.VAT,
|
|
109
109
|
maxByDay: 4,
|
|
110
110
|
},
|
|
111
|
-
{
|
|
112
|
-
id: CardGroupEnum.CARRY_FORWARD,
|
|
113
|
-
label: 'A nouveaux',
|
|
114
|
-
types: [CardType.SETUP_AND_INTEGRATION_N_MINUS_1],
|
|
115
|
-
roles: [Role.ACCOUNTANT],
|
|
116
|
-
maxByDay: 3,
|
|
117
|
-
teamType: TeamType.CARRY_FORWARD,
|
|
118
|
-
},
|
|
119
111
|
{
|
|
120
112
|
id: CardGroupEnum.BANK,
|
|
121
113
|
label: 'Banque',
|
|
@@ -135,7 +127,7 @@ export const CardGroup: readonly CardGroupType[] = [
|
|
|
135
127
|
{
|
|
136
128
|
id: CardGroupEnum.CLR,
|
|
137
129
|
label: 'CLR',
|
|
138
|
-
types: [CardType.CLR, CardType.CLR_EXCEPTIONAL_MISSION],
|
|
130
|
+
types: [CardType.CLR, CardType.CLR_EXCEPTIONAL_MISSION, CardType.SETUP_AND_INTEGRATION_N_MINUS_1],
|
|
139
131
|
roles: [Role.ACCOUNTANT],
|
|
140
132
|
maxByDay: 3,
|
|
141
133
|
teamType: TeamType.CLR,
|
|
@@ -299,7 +291,7 @@ export const CardTypeLabel = [
|
|
|
299
291
|
id: CardType.SETUP_AND_INTEGRATION_N_MINUS_1,
|
|
300
292
|
label: 'Paramétrage & Intégration N-1',
|
|
301
293
|
refLabel: 'PIN1',
|
|
302
|
-
groupId: CardGroupEnum.
|
|
294
|
+
groupId: CardGroupEnum.CLR,
|
|
303
295
|
},
|
|
304
296
|
{
|
|
305
297
|
id: CardType.CLR,
|
|
@@ -27,7 +27,7 @@ export const PartnerTypesDetail = {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export const Partners = {
|
|
30
|
-
NATIVE: {
|
|
30
|
+
/* NATIVE: {
|
|
31
31
|
id: 1,
|
|
32
32
|
idType: PartnerTypesDetail.INSURANCE.id,
|
|
33
33
|
name: 'Native',
|
|
@@ -75,12 +75,23 @@ export const Partners = {
|
|
|
75
75
|
name: 'Qonto',
|
|
76
76
|
excludeBrand: [],
|
|
77
77
|
disabled: true,
|
|
78
|
-
},
|
|
78
|
+
}, */
|
|
79
79
|
SHINE: {
|
|
80
80
|
id: 8,
|
|
81
81
|
idType: null,
|
|
82
82
|
name: 'Shine',
|
|
83
83
|
excludeBrand: [],
|
|
84
|
-
disabled:
|
|
84
|
+
disabled: false,
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export const ShineNeeds = {
|
|
89
|
+
ACCOUNT_OPENING: {
|
|
90
|
+
id: 'account_opening',
|
|
91
|
+
name: 'Ouverture de compte',
|
|
92
|
+
},
|
|
93
|
+
CAPITAL_DEPOSIT: {
|
|
94
|
+
id: 'capital_deposit',
|
|
95
|
+
name: 'Dépôt de capital',
|
|
85
96
|
},
|
|
86
97
|
};
|
|
@@ -3749,7 +3749,7 @@ export const PrestationDetail: PrestationDetailEnum = {
|
|
|
3749
3749
|
minimumPrice: null,
|
|
3750
3750
|
price: 89,
|
|
3751
3751
|
isCatalog: false,
|
|
3752
|
-
isPlannable:
|
|
3752
|
+
isPlannable: true,
|
|
3753
3753
|
hidden: false,
|
|
3754
3754
|
isComplementary: false,
|
|
3755
3755
|
signaturePosition: '400,54,569,90',
|
|
@@ -130,8 +130,11 @@ interface Pappers {
|
|
|
130
130
|
interface Shine {
|
|
131
131
|
host: string;
|
|
132
132
|
hostV3: string;
|
|
133
|
+
leadHost: string;
|
|
133
134
|
publicHost: string;
|
|
134
135
|
clientId: string;
|
|
136
|
+
sendLeadClientId: string;
|
|
137
|
+
updateLeadClientId: string;
|
|
135
138
|
redirect_uris: string[];
|
|
136
139
|
status: string;
|
|
137
140
|
scope: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IsInt, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class CreateLeadToPartner {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsInt()
|
|
7
|
+
idSociety: number;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsInt()
|
|
11
|
+
idPartner: number;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsString()
|
|
15
|
+
need?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IsEmail, IsOptional, IsPhoneNumber, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class RegisterWebhookBody {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsEmail()
|
|
7
|
+
email: string;
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsString()
|
|
11
|
+
firstName: string;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsString()
|
|
15
|
+
lastName: string;
|
|
16
|
+
|
|
17
|
+
@ApiProperty()
|
|
18
|
+
@IsPhoneNumber()
|
|
19
|
+
phone: string;
|
|
20
|
+
|
|
21
|
+
@ApiPropertyOptional()
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsString()
|
|
24
|
+
companyName?: string;
|
|
25
|
+
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
@IsString()
|
|
29
|
+
legalForm?: string;
|
|
30
|
+
|
|
31
|
+
@ApiPropertyOptional()
|
|
32
|
+
@IsOptional()
|
|
33
|
+
@IsString()
|
|
34
|
+
siret?: string;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional()
|
|
37
|
+
@IsOptional()
|
|
38
|
+
@IsString()
|
|
39
|
+
nafCode?: string;
|
|
40
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -1122,6 +1122,7 @@ export * from './Interface/api/card/ModifyAcceptation';
|
|
|
1122
1122
|
export * from './Interface/api/card/ModifyCustomerVat';
|
|
1123
1123
|
export * from './Interface/api/card/Cron';
|
|
1124
1124
|
export * from './Interface/api/user/RegisterProspect';
|
|
1125
|
+
export * from './Interface/api/user/RegisterWebhook';
|
|
1125
1126
|
export * from './Interface/api/stateBankAccount/Query';
|
|
1126
1127
|
export * from './Interface/api/absenceRequest/QueryAbsenceRequest';
|
|
1127
1128
|
export * from './Interface/api/absenceRequest/QueryCalendarAbsenceRequest';
|
|
@@ -1154,6 +1155,7 @@ export * from './Interface/api/notificationSetting/CreateNotificationSetting';
|
|
|
1154
1155
|
export * from './Interface/api/notificationSetting/UpdateNotificationSetting';
|
|
1155
1156
|
export * from './Interface/api/appNotification/Update';
|
|
1156
1157
|
export * from './Interface/api/partners/QueryPartnerAll';
|
|
1158
|
+
export * from './Interface/api/partners/CreatePartner';
|
|
1157
1159
|
export * from './Interface/api/partners/QueryPartnerStatistic';
|
|
1158
1160
|
export * from './Interface/api/partners/QueryPartnerCsv';
|
|
1159
1161
|
export * from './Interface/api/partners/PartnerStatisticType';
|