@silexpert/core 2.0.119-tsdown.0 → 2.0.120
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/{index-CfisHC_H.d.mts → index-BvApezAZ.d.mts} +37 -4
- package/dist/index-BvApezAZ.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +80 -13
- package/dist/index.mjs.map +1 -1
- package/dist/product-BCFrBxXc.mjs +2 -0
- package/dist/product-BCFrBxXc.mjs.map +1 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.mts.map +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/index.mjs.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Authenticate.ts +6 -0
- package/ts/api/resources/Follow.ts +9 -0
- package/ts/types/Enum/AIPrompt.ts +74 -7
- package/ts/types/Enum/EInvoicingReasonType.ts +3 -2
- package/ts/types/Enum/Kyc.ts +2 -0
- package/ts/types/Enum/PrestationType.ts +1 -1
- package/ts/types/Form/FormConnector.ts +2 -0
- package/ts/types/Interface/api/SocietyApproval.ts +2 -0
- package/ts/types/Interface/api/acceptance/CreateAcceptance.ts +2 -0
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +2 -0
- package/ts/types/Interface/api/acd/ExportRefreshFailures.ts +15 -0
- package/ts/types/Interface/api/adjustment/Create.ts +2 -0
- package/ts/types/Interface/api/appointment/Appointment.ts +2 -0
- package/ts/types/Interface/api/authentification/ExchangeExternalAuthenticationLink.ts +9 -5
- package/ts/types/Interface/api/balanceSheet/UpdateBalanceSheet.ts +2 -0
- package/ts/types/Interface/api/bankAccount/Create.ts +2 -0
- package/ts/types/Interface/api/bankAccount/Query.ts +3 -0
- package/ts/types/Interface/api/calendarEvent/createCalendarEventForUsers.ts +2 -0
- package/ts/types/Interface/api/card/UpdateCard.ts +4 -0
- package/ts/types/Interface/api/cashAndExpense/Create.ts +3 -0
- package/ts/types/Interface/api/checklist/Query.ts +2 -0
- package/ts/types/Interface/api/checklist/Update.ts +3 -0
- package/ts/types/Interface/api/collaboraterDetail/CreateCollaboraterDetail.ts +4 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +5 -0
- package/ts/types/Interface/api/commercialManagement/Query.ts +4 -0
- package/ts/types/Interface/api/companyCreationForm/CreateCompanyCreationForm.ts +14 -0
- package/ts/types/Interface/api/connector/CreateConnector.ts +2 -0
- package/ts/types/Interface/api/connector/QueryConnector.ts +2 -0
- package/ts/types/Interface/api/customerProviderOperation/CreateCustomerProviderOperation.ts +2 -0
- package/ts/types/Interface/api/dashboard/QueryTopProviders.ts +2 -0
- package/ts/types/Interface/api/docoon/Create.ts +5 -1
- package/ts/types/Interface/api/documentRequest/Create.ts +2 -0
- package/ts/types/Interface/api/documentRequest/Query.ts +3 -0
- package/ts/types/Interface/api/documentRequest/Update.ts +2 -0
- package/ts/types/Interface/api/exercice/Create.ts +2 -0
- package/ts/types/Interface/api/exercice/UpdateExercice.ts +2 -0
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +2 -0
- package/ts/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.ts +2 -0
- package/ts/types/Interface/api/humanResourceLibrary/QueryPaginatedHumanResourceLibrary.ts +2 -0
- package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +2 -0
- package/ts/types/Interface/api/informationRequest/Create.ts +2 -0
- package/ts/types/Interface/api/informationRequest/Update.ts +3 -0
- package/ts/types/Interface/api/library/QueryLibrary.ts +4 -0
- package/ts/types/Interface/api/notification/CreateNotification.ts +2 -0
- package/ts/types/Interface/api/notificationSetting/CreateNotificationSetting.ts +2 -0
- package/ts/types/Interface/api/notificationSetting/UpdateNotificationSetting.ts +2 -0
- package/ts/types/Interface/api/partner/CreatePartner.ts +2 -0
- package/ts/types/Interface/api/partner/UpdatePartner.ts +2 -0
- package/ts/types/Interface/api/paymentExpectation/CreatePaymentExpecation.ts +2 -0
- package/ts/types/Interface/api/previsionalForm/CreatePrevisionalForm.ts +4 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +3 -0
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +2 -0
- package/ts/types/Interface/api/registration/QueryRegistration.ts +2 -0
- package/ts/types/Interface/api/regulation/Create.ts +2 -0
- package/ts/types/Interface/api/revenue/revenueMovement.ts +3 -0
- package/ts/types/Interface/api/revisionGuide/CreateRevisionGuide.ts +3 -0
- package/ts/types/Interface/api/society/CreateTestSociety.ts +9 -0
- package/ts/types/Interface/api/societyConfigBalanceSheet/QueryGetAllSocietyConfigBalanceSheet.ts +2 -0
- package/ts/types/Interface/api/statutsGeneration/CreateBusinessPartnersAndUsersParams.ts +2 -0
- package/ts/types/Interface/api/survey/QuerySurveys.ts +2 -0
- package/ts/types/Interface/api/tax/CreateTax.ts +4 -0
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +3 -0
- package/ts/types/Interface/api/textMessage/Create.ts +2 -0
- package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +3 -0
- package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +2 -0
- package/ts/types/Interface/api/timeTracking/Create.ts +2 -0
- package/ts/types/Interface/api/user/Query.ts +2 -0
- package/ts/types/Interface/api/user/RegisterProspect.ts +7 -0
- package/ts/types/Interface/api/user/UpdateCoworker.ts +2 -0
- package/ts/types/Interface/api/usersHistory/Create.ts +2 -0
- package/ts/types/Interface/api/usersHistory/Update.ts +2 -0
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +3 -0
- package/ts/types/Interface/api/visualizedInformation/Query.ts +2 -0
- package/ts/types/Interface/api/visualizedInformation/Update.ts +2 -0
- package/ts/types/Interface/models/ISociety.ts +4 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/amount.ts +82 -55
- package/ts/utils/commercialManagement/document.ts +1 -0
- package/ts/utils/index.ts +1 -0
- package/ts/utils/societyApproval.ts +2 -2
- package/ts/utils/tests/document.spec.ts +41 -0
- package/ts/utils/transforms/numericEnum.transform.ts +9 -0
- package/dist/index-CfisHC_H.d.mts.map +0 -1
- package/dist/product-CG6avfN0.mjs +0 -2
- package/dist/product-CG6avfN0.mjs.map +0 -1
|
@@ -6,6 +6,7 @@ import { CompanyCreationFormPayload, CountryId, MaritalStatus, NationalityId, Qu
|
|
|
6
6
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
7
7
|
import { IsNumber, IsOptional, IsBoolean, IsString, IsIn, IsDate, IsInt, IsEnum } from 'class-validator';
|
|
8
8
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
9
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
9
10
|
|
|
10
11
|
export class CreateBusinessPartnersSociety {
|
|
11
12
|
@ApiProperty()
|
|
@@ -39,6 +40,7 @@ export class CreateBusinessPartnersSociety {
|
|
|
39
40
|
isOwner: boolean;
|
|
40
41
|
|
|
41
42
|
@ApiPropertyOptional()
|
|
43
|
+
@ToNumericEnum()
|
|
42
44
|
@IsOptional()
|
|
43
45
|
@IsEnum(Quality)
|
|
44
46
|
idQuality?: Quality;
|
|
@@ -53,6 +55,7 @@ export class CreateBusinessPartnersSociety {
|
|
|
53
55
|
city?: string;
|
|
54
56
|
|
|
55
57
|
@ApiProperty()
|
|
58
|
+
@ToNumericEnum()
|
|
56
59
|
@IsEnum(CountryId)
|
|
57
60
|
idCountry: CountryId;
|
|
58
61
|
}
|
|
@@ -94,6 +97,7 @@ export class MaritalStatusInfos {
|
|
|
94
97
|
spouseBirthname?: string;
|
|
95
98
|
|
|
96
99
|
@ApiPropertyOptional()
|
|
100
|
+
@ToNumericEnum()
|
|
97
101
|
@IsOptional()
|
|
98
102
|
@IsEnum(NationalityId)
|
|
99
103
|
spouseIdNationality?: NationalityId;
|
|
@@ -144,6 +148,7 @@ export class CreateBusinessPartnersUser {
|
|
|
144
148
|
birthname?: string;
|
|
145
149
|
|
|
146
150
|
@ApiProperty()
|
|
151
|
+
@ToNumericEnum()
|
|
147
152
|
@IsEnum(NationalityId)
|
|
148
153
|
idNationality: NationalityId;
|
|
149
154
|
|
|
@@ -156,6 +161,7 @@ export class CreateBusinessPartnersUser {
|
|
|
156
161
|
cityOfBirth: string;
|
|
157
162
|
|
|
158
163
|
@ApiProperty()
|
|
164
|
+
@ToNumericEnum()
|
|
159
165
|
@IsEnum(CountryId)
|
|
160
166
|
idCountryBirth: CountryId;
|
|
161
167
|
|
|
@@ -165,6 +171,7 @@ export class CreateBusinessPartnersUser {
|
|
|
165
171
|
isOwner: boolean;
|
|
166
172
|
|
|
167
173
|
@ApiPropertyOptional()
|
|
174
|
+
@ToNumericEnum()
|
|
168
175
|
@IsOptional()
|
|
169
176
|
@IsEnum(Quality)
|
|
170
177
|
idQuality?: Quality;
|
|
@@ -173,6 +180,7 @@ export class CreateBusinessPartnersUser {
|
|
|
173
180
|
* Situation marital
|
|
174
181
|
*/
|
|
175
182
|
@ApiProperty()
|
|
183
|
+
@ToNumericEnum()
|
|
176
184
|
@IsEnum(MaritalStatus)
|
|
177
185
|
idMaritalStatus: MaritalStatus;
|
|
178
186
|
|
|
@@ -202,6 +210,7 @@ export class CreateBusinessPartnersUser {
|
|
|
202
210
|
city: string;
|
|
203
211
|
|
|
204
212
|
@ApiProperty()
|
|
213
|
+
@ToNumericEnum()
|
|
205
214
|
@IsEnum(CountryId)
|
|
206
215
|
idCountry: CountryId;
|
|
207
216
|
|
|
@@ -317,6 +326,7 @@ export class BeneficiaryInfos {
|
|
|
317
326
|
socialSecurityNumber: string;
|
|
318
327
|
|
|
319
328
|
@ApiProperty()
|
|
329
|
+
@ToNumericEnum()
|
|
320
330
|
@IsEnum(NationalityId)
|
|
321
331
|
idNationality: NationalityId;
|
|
322
332
|
}
|
|
@@ -326,6 +336,7 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
|
|
|
326
336
|
* Choix du statut
|
|
327
337
|
*/
|
|
328
338
|
@ApiPropertyOptional()
|
|
339
|
+
@ToNumericEnum()
|
|
329
340
|
@IsOptional()
|
|
330
341
|
@IsEnum(LegalFormTypeEnum)
|
|
331
342
|
idLegalForm?: LegalFormTypeEnum;
|
|
@@ -363,6 +374,7 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
|
|
|
363
374
|
* Activité
|
|
364
375
|
*/
|
|
365
376
|
@ApiPropertyOptional()
|
|
377
|
+
@ToNumericEnum()
|
|
366
378
|
@IsOptional()
|
|
367
379
|
@IsEnum(Activity)
|
|
368
380
|
idActivity?: Activity;
|
|
@@ -478,6 +490,7 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
|
|
|
478
490
|
* Régime d'imposition
|
|
479
491
|
*/
|
|
480
492
|
@ApiPropertyOptional()
|
|
493
|
+
@ToNumericEnum()
|
|
481
494
|
@IsOptional()
|
|
482
495
|
@IsEnum(TaxSystem)
|
|
483
496
|
idTaxSystem?: TaxSystem;
|
|
@@ -486,6 +499,7 @@ export class CreateCompanyCreationFormData implements CompanyCreationFormPayload
|
|
|
486
499
|
* Régime de TVA
|
|
487
500
|
*/
|
|
488
501
|
@ApiPropertyOptional()
|
|
502
|
+
@ToNumericEnum()
|
|
489
503
|
@IsOptional()
|
|
490
504
|
@IsEnum(VatRegime)
|
|
491
505
|
idVatRegime?: VatRegime;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { IsDate, IsEnum, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ConnectorType } from '../../../Enum/ConnectorType.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
export class CreateConnector {
|
|
6
7
|
@ApiProperty()
|
|
8
|
+
@ToNumericEnum()
|
|
7
9
|
@IsEnum(ConnectorType)
|
|
8
10
|
idConnectorType: ConnectorType;
|
|
9
11
|
|
|
@@ -2,9 +2,11 @@ import { IsArray, IsOptional, IsString } from 'class-validator';
|
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ConnectorType } from '../../../Enum/ConnectorType.js';
|
|
4
4
|
import { IConnector } from '../../models/IConnector.js';
|
|
5
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
5
6
|
|
|
6
7
|
export class QueryConnector {
|
|
7
8
|
@ApiProperty()
|
|
9
|
+
@ToNumericEnum()
|
|
8
10
|
idConnectorType: ConnectorType;
|
|
9
11
|
|
|
10
12
|
@ApiProperty()
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
2
|
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';
|
|
3
3
|
import { Vat } from '../../../Enum/Vat.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
export class CreateCustomerProviderOperation {
|
|
6
7
|
@ApiProperty()
|
|
8
|
+
@ToNumericEnum()
|
|
7
9
|
typeOperation: TypeCustomerProviderOperation;
|
|
8
10
|
|
|
9
11
|
@ApiProperty({ description: 'Montant hors taxe' })
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ThirdPartyType } from '../../../Enum/ThirdPartyType.js';
|
|
2
2
|
import { ApiProperty } from '@nestjs/swagger';
|
|
3
3
|
import { IsDateString } from 'class-validator';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
/** @deprecated */
|
|
6
7
|
export class QueryTopProviders {
|
|
@@ -21,5 +22,6 @@ export class QueryTopThirdParties {
|
|
|
21
22
|
endDate: string | Date;
|
|
22
23
|
|
|
23
24
|
@ApiProperty({ enum: ThirdPartyType })
|
|
25
|
+
@ToNumericEnum()
|
|
24
26
|
idThirdPartyType: ThirdPartyType;
|
|
25
27
|
}
|
|
@@ -16,6 +16,7 @@ import { EInvoicingStatusCode } from '#types/Enum/EInvoicingStatusCode.js';
|
|
|
16
16
|
import { EInvoicingReasonType } from '#types/Enum/EInvoicingReasonType.js';
|
|
17
17
|
import { ProductInvoiceFromEInvoice } from '#types/index.js';
|
|
18
18
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
19
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
19
20
|
|
|
20
21
|
export type CreateLegalEntity = {
|
|
21
22
|
name: string;
|
|
@@ -87,10 +88,12 @@ export class ImportDocoonInvoice {
|
|
|
87
88
|
}
|
|
88
89
|
export class RejectEInvoice {
|
|
89
90
|
@ApiProperty()
|
|
91
|
+
@ToNumericEnum()
|
|
90
92
|
@IsEnum(EInvoicingStatusCode)
|
|
91
93
|
status: EInvoicingStatusCode;
|
|
92
94
|
|
|
93
95
|
@ApiProperty()
|
|
96
|
+
@ToNumericEnum()
|
|
94
97
|
@IsEnum(EInvoicingReasonType)
|
|
95
98
|
reasonType: EInvoicingReasonType;
|
|
96
99
|
|
|
@@ -100,6 +103,7 @@ export class RejectEInvoice {
|
|
|
100
103
|
}
|
|
101
104
|
export class AcceptEInvoice {
|
|
102
105
|
@ApiProperty()
|
|
106
|
+
@ToNumericEnum()
|
|
103
107
|
@IsEnum(EInvoicingStatusCode)
|
|
104
108
|
status: EInvoicingStatusCode;
|
|
105
109
|
|
|
@@ -150,7 +154,7 @@ export class CreateDirectoryLineFromExistingMandate {
|
|
|
150
154
|
|
|
151
155
|
@ApiProperty()
|
|
152
156
|
@IsString()
|
|
153
|
-
type: 'SIREN' | 'OTHER';
|
|
157
|
+
type: 'SIREN' | 'CDAR' | 'OTHER';
|
|
154
158
|
|
|
155
159
|
@ApiPropertyOptional()
|
|
156
160
|
@IsString()
|
|
@@ -3,6 +3,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
3
3
|
import { IDocumentRequest } from '../../models/IDocumentRequest.js';
|
|
4
4
|
import { TypeFile } from '../../../Enum/Ged.js';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
6
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
6
7
|
|
|
7
8
|
export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idRequestedBy'> {
|
|
8
9
|
@ApiProperty()
|
|
@@ -10,6 +11,7 @@ export class CreateDocumentRequest implements Omit<IDocumentRequest, 'id' | 'idR
|
|
|
10
11
|
idSociety: number;
|
|
11
12
|
|
|
12
13
|
@ApiProperty()
|
|
14
|
+
@ToNumericEnum()
|
|
13
15
|
@IsEnum(TypeFile)
|
|
14
16
|
typeFile: TypeFile;
|
|
15
17
|
|
|
@@ -3,6 +3,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
3
3
|
import { TypeFile } from '../../../Enum/Ged.js';
|
|
4
4
|
import { MailAuto } from '../../../Enum/MailAuto.js';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
6
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
6
7
|
|
|
7
8
|
export class QueryDocumentRequest {
|
|
8
9
|
@ApiPropertyOptional()
|
|
@@ -49,6 +50,7 @@ export class SendRelaunchDocumentsMail {
|
|
|
49
50
|
sendRefusedTemplate: boolean;
|
|
50
51
|
|
|
51
52
|
@ApiProperty()
|
|
53
|
+
@ToNumericEnum()
|
|
52
54
|
@IsEnum(MailAuto)
|
|
53
55
|
idMailAuto: MailAuto;
|
|
54
56
|
}
|
|
@@ -71,6 +73,7 @@ export class SendAskDocumentsMail {
|
|
|
71
73
|
addAdviceNote?: boolean;
|
|
72
74
|
|
|
73
75
|
@ApiProperty()
|
|
76
|
+
@ToNumericEnum()
|
|
74
77
|
@IsEnum(MailAuto)
|
|
75
78
|
idMailAuto: MailAuto;
|
|
76
79
|
}
|
|
@@ -3,6 +3,7 @@ import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
3
3
|
import { IDocumentRequest } from '../../models/IDocumentRequest.js';
|
|
4
4
|
import { TypeFile } from '../../../Enum/Ged.js';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
6
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
6
7
|
|
|
7
8
|
export class UpdateDocumentRequest implements Partial<
|
|
8
9
|
Omit<IDocumentRequest, 'id' | 'idRequestedBy' | 'notConcernedAt'>
|
|
@@ -13,6 +14,7 @@ export class UpdateDocumentRequest implements Partial<
|
|
|
13
14
|
idSociety?: number;
|
|
14
15
|
|
|
15
16
|
@ApiPropertyOptional()
|
|
17
|
+
@ToNumericEnum()
|
|
16
18
|
@IsOptional()
|
|
17
19
|
@IsEnum(TypeFile)
|
|
18
20
|
typeFile?: TypeFile;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsBoolean, IsDate, IsEnum, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { type TFile } from '../file/TFile.js';
|
|
5
6
|
import { ExercicePriorityType } from '../../../Enum/Exercice.js';
|
|
6
7
|
|
|
@@ -20,6 +21,7 @@ export class CreateExercice {
|
|
|
20
21
|
isBack?: boolean;
|
|
21
22
|
|
|
22
23
|
@ApiPropertyOptional()
|
|
24
|
+
@ToNumericEnum()
|
|
23
25
|
@IsOptional()
|
|
24
26
|
@IsEnum(ExercicePriorityType)
|
|
25
27
|
priority?: ExercicePriorityType;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional } from 'class-validator';
|
|
2
2
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { ExercicePriorityType } from '../../../Enum/Exercice.js';
|
|
5
6
|
|
|
6
7
|
export class UpdateExercice {
|
|
@@ -21,6 +22,7 @@ export class UpdateExercice {
|
|
|
21
22
|
isBack?: boolean;
|
|
22
23
|
|
|
23
24
|
@ApiPropertyOptional()
|
|
25
|
+
@ToNumericEnum()
|
|
24
26
|
@IsOptional()
|
|
25
27
|
@IsEnum(ExercicePriorityType)
|
|
26
28
|
priority?: ExercicePriorityType;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator.js';
|
|
5
6
|
import { ThirdPartyType } from '../../../Enum/ThirdPartyType.js';
|
|
6
7
|
|
|
@@ -62,6 +63,7 @@ export class QueryGeneralLedgerAuxiliaryPdf {
|
|
|
62
63
|
endDate: string;
|
|
63
64
|
|
|
64
65
|
@ApiPropertyOptional()
|
|
66
|
+
@ToNumericEnum()
|
|
65
67
|
@IsOptional()
|
|
66
68
|
idThirdPartyType?: ThirdPartyType;
|
|
67
69
|
|
|
@@ -2,6 +2,7 @@ import { IsArray, IsBoolean, IsInt, IsOptional, IsString } from 'class-validator
|
|
|
2
2
|
import { Transform } from 'class-transformer';
|
|
3
3
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
4
4
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
5
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
5
6
|
import { DocumentForHumanResourceType } from '../../../Enum/DocumentForHumanResourceType.js';
|
|
6
7
|
|
|
7
8
|
export class CreateHumanResourceLibrary {
|
|
@@ -15,6 +16,7 @@ export class CreateHumanResourceLibrary {
|
|
|
15
16
|
idUserRh: number;
|
|
16
17
|
|
|
17
18
|
@ApiProperty()
|
|
19
|
+
@ToNumericEnum()
|
|
18
20
|
@IsInt()
|
|
19
21
|
idDocumentType: DocumentForHumanResourceType;
|
|
20
22
|
|
|
@@ -2,6 +2,7 @@ import { IsBoolean, IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-vali
|
|
|
2
2
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { DocumentForHumanResourceType } from '../../../Enum/DocumentForHumanResourceType.js';
|
|
4
4
|
import { OptionalQueryPaginate } from '../BasePaginate.js';
|
|
5
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
5
6
|
|
|
6
7
|
export class QueryPaginatedHumanResourceLibrary extends OptionalQueryPaginate {
|
|
7
8
|
@ApiPropertyOptional()
|
|
@@ -20,6 +21,7 @@ export class QueryPaginatedHumanResourceLibrary extends OptionalQueryPaginate {
|
|
|
20
21
|
idRole?: number;
|
|
21
22
|
|
|
22
23
|
@ApiPropertyOptional()
|
|
24
|
+
@ToNumericEnum()
|
|
23
25
|
@IsInt()
|
|
24
26
|
@IsOptional()
|
|
25
27
|
idDocumentType?: DocumentForHumanResourceType;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { DepreciationMethods, EndOfImmobilizationType, ReconciliationType } from '../../../Enum/ImmobilizationType.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
export class CreateImmobilizationForm {
|
|
6
7
|
@ApiProperty()
|
|
@@ -19,6 +20,7 @@ export class CreateImmobilizationForm {
|
|
|
19
20
|
quantity: number;
|
|
20
21
|
|
|
21
22
|
@ApiProperty()
|
|
23
|
+
@ToNumericEnum()
|
|
22
24
|
depreciationMethod: DepreciationMethods;
|
|
23
25
|
|
|
24
26
|
@ApiProperty()
|
|
@@ -3,6 +3,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
3
3
|
import { IInformationRequest } from '../../models/IInformationRequest.js';
|
|
4
4
|
import { InformationRequestType } from '../../../Enum/InformationRequestType.js';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
6
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
6
7
|
|
|
7
8
|
export class CreateInformationRequest implements Omit<IInformationRequest, 'id' | 'idRequestedBy' | 'state'> {
|
|
8
9
|
@ApiProperty()
|
|
@@ -20,6 +21,7 @@ export class CreateInformationRequest implements Omit<IInformationRequest, 'id'
|
|
|
20
21
|
idBalanceSheet?: number | null;
|
|
21
22
|
|
|
22
23
|
@ApiProperty()
|
|
24
|
+
@ToNumericEnum()
|
|
23
25
|
@IsEnum(InformationRequestType)
|
|
24
26
|
type: InformationRequestType;
|
|
25
27
|
|
|
@@ -4,6 +4,7 @@ import { IInformationRequest } from '../../models/IInformationRequest.js';
|
|
|
4
4
|
import { InformationRequestType } from '../../../Enum/InformationRequestType.js';
|
|
5
5
|
import { InformationRequestState } from '../../../Enum/InformationRequestState.js';
|
|
6
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
7
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
7
8
|
|
|
8
9
|
export class UpdateInformationRequest implements Partial<Omit<IInformationRequest, 'id'>> {
|
|
9
10
|
@ApiPropertyOptional()
|
|
@@ -22,11 +23,13 @@ export class UpdateInformationRequest implements Partial<Omit<IInformationReques
|
|
|
22
23
|
idRequestedBy?: number;
|
|
23
24
|
|
|
24
25
|
@ApiPropertyOptional()
|
|
26
|
+
@ToNumericEnum()
|
|
25
27
|
@IsOptional()
|
|
26
28
|
@IsEnum(InformationRequestType)
|
|
27
29
|
type?: InformationRequestType;
|
|
28
30
|
|
|
29
31
|
@ApiPropertyOptional()
|
|
32
|
+
@ToNumericEnum()
|
|
30
33
|
@IsOptional()
|
|
31
34
|
@IsEnum(InformationRequestState)
|
|
32
35
|
state?: InformationRequestState;
|
|
@@ -4,12 +4,14 @@ import { GedFolder, GedFileType, GedCategory, TypeFile } from '../../../Enum/Ged
|
|
|
4
4
|
import { RequiredQueryPaginate } from '../BasePaginate.js';
|
|
5
5
|
import { type TFile } from '../file/TFile.js';
|
|
6
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
7
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
7
8
|
|
|
8
9
|
export class QueryLibraryFile {
|
|
9
10
|
@ApiProperty()
|
|
10
11
|
idSociety: number;
|
|
11
12
|
|
|
12
13
|
@ApiPropertyOptional()
|
|
14
|
+
@ToNumericEnum()
|
|
13
15
|
idGedFolder?: GedFolder;
|
|
14
16
|
|
|
15
17
|
@ApiPropertyOptional()
|
|
@@ -17,6 +19,7 @@ export class QueryLibraryFile {
|
|
|
17
19
|
idTypeGedFile?: GedFileType | GedFileType[];
|
|
18
20
|
|
|
19
21
|
@ApiPropertyOptional()
|
|
22
|
+
@ToNumericEnum()
|
|
20
23
|
idGedCategory?: GedCategory;
|
|
21
24
|
|
|
22
25
|
@ApiPropertyOptional()
|
|
@@ -149,6 +152,7 @@ export class QueryLastFileOfType {
|
|
|
149
152
|
idSociety: number;
|
|
150
153
|
|
|
151
154
|
@ApiProperty()
|
|
155
|
+
@ToNumericEnum()
|
|
152
156
|
/** @deprecated Use TypeFile enum instead with GedFile.typeFile field */
|
|
153
157
|
idTypeGedFile: GedFileType;
|
|
154
158
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '@nestjs/swagger';
|
|
3
3
|
import { NotificationTypeEnum } from '../../../Enum/NotificationType.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
export class CreateNotification {
|
|
6
7
|
@ApiProperty()
|
|
8
|
+
@ToNumericEnum()
|
|
7
9
|
@IsInt()
|
|
8
10
|
@IsEnum(NotificationTypeEnum)
|
|
9
11
|
notificationType: NotificationTypeEnum;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IsBoolean, IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { NotificationTypeEnum } from '../../../Enum/NotificationType.js';
|
|
5
6
|
|
|
6
7
|
export class CreateNotificationSetting {
|
|
7
8
|
@ApiProperty()
|
|
9
|
+
@ToNumericEnum()
|
|
8
10
|
@IsInt()
|
|
9
11
|
@IsEnum(NotificationTypeEnum)
|
|
10
12
|
notificationType: NotificationTypeEnum;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IsBoolean, IsEnum, IsInt } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { NotificationTypeEnum } from '../../../Enum/NotificationType.js';
|
|
5
6
|
|
|
6
7
|
export class UpdateNotificationSetting {
|
|
7
8
|
@ApiProperty()
|
|
9
|
+
@ToNumericEnum()
|
|
8
10
|
@IsInt()
|
|
9
11
|
@IsEnum(NotificationTypeEnum)
|
|
10
12
|
notificationType: NotificationTypeEnum;
|
|
@@ -2,6 +2,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
2
2
|
import { BaseEntity } from '../../../../utils/index.js';
|
|
3
3
|
import { ISocietyPartner, PartnerType } from '../../../index.js';
|
|
4
4
|
import { IsNumber, IsOptional } from 'class-validator';
|
|
5
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
5
6
|
|
|
6
7
|
export class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {
|
|
7
8
|
@ApiPropertyOptional()
|
|
@@ -20,6 +21,7 @@ export class CreatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccou
|
|
|
20
21
|
default: PartnerType.PHYSICAL_PARTNER,
|
|
21
22
|
description: 'You can retrieve the enum Partner Type in @core',
|
|
22
23
|
})
|
|
24
|
+
@ToNumericEnum()
|
|
23
25
|
idPartnerType: PartnerType;
|
|
24
26
|
@ApiPropertyOptional()
|
|
25
27
|
@IsNumber()
|
|
@@ -2,6 +2,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
2
2
|
import { BaseEntity } from '../../../../utils/index.js';
|
|
3
3
|
import { ISocietyPartner, PartnerType } from '../../../index.js';
|
|
4
4
|
import { IsNumber, IsOptional } from 'class-validator';
|
|
5
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
5
6
|
|
|
6
7
|
export class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccount' | 'idSociety' | 'account'> {
|
|
7
8
|
@ApiPropertyOptional()
|
|
@@ -20,6 +21,7 @@ export class UpdatePartner implements Omit<BaseEntity<ISocietyPartner>, 'idAccou
|
|
|
20
21
|
default: PartnerType.PHYSICAL_PARTNER,
|
|
21
22
|
description: 'You can retrieve the enum Partner Type in @core',
|
|
22
23
|
})
|
|
24
|
+
@ToNumericEnum()
|
|
23
25
|
idPartnerType: PartnerType;
|
|
24
26
|
|
|
25
27
|
@ApiPropertyOptional()
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { PaymentReason } from '../../../Enum/PaymentReason.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
export class CreatePaymentExpecation {
|
|
6
7
|
@ApiProperty()
|
|
@@ -17,6 +18,7 @@ export class CreatePaymentExpecation {
|
|
|
17
18
|
payload?: string | null;
|
|
18
19
|
|
|
19
20
|
@ApiProperty()
|
|
21
|
+
@ToNumericEnum()
|
|
20
22
|
@IsInt()
|
|
21
23
|
idReason: PaymentReason;
|
|
22
24
|
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
11
11
|
import { IsNumber, IsBoolean, IsEnum, IsOptional, ValidateNested, IsIn, IsString } from 'class-validator';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
13
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
13
14
|
|
|
14
15
|
export class NumberFiscalYearsValidation implements NumberFiscalYears {
|
|
15
16
|
@ApiProperty()
|
|
@@ -81,14 +82,17 @@ export class CreatePrevisionalFormData implements PrevisionalFormPayload {
|
|
|
81
82
|
isCompanyCreation: boolean;
|
|
82
83
|
|
|
83
84
|
@ApiProperty()
|
|
85
|
+
@ToNumericEnum()
|
|
84
86
|
@IsEnum(LegalFormTypeEnum)
|
|
85
87
|
idLegalForm: LegalFormTypeEnum;
|
|
86
88
|
|
|
87
89
|
@ApiProperty()
|
|
90
|
+
@ToNumericEnum()
|
|
88
91
|
@IsEnum(TaxSystem)
|
|
89
92
|
idTaxSystem: TaxSystem;
|
|
90
93
|
|
|
91
94
|
@ApiProperty()
|
|
95
|
+
@ToNumericEnum()
|
|
92
96
|
@IsEnum(PrevisionalFormActivity)
|
|
93
97
|
activity: PrevisionalFormActivity;
|
|
94
98
|
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
16
16
|
import { CerfaType } from '../../../Enum/CerfaType.js';
|
|
17
17
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
18
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
18
19
|
import { Rof } from '../../../Enum/Aspone.js';
|
|
19
20
|
import { type Cerfa3519_2017 } from '../cerfa/3519.js';
|
|
20
21
|
import { CerfaFormValue } from '../cerfa/ReadCerfa.js';
|
|
@@ -168,11 +169,13 @@ export class UpdateOrCreateVatAdvance {
|
|
|
168
169
|
amount: number;
|
|
169
170
|
|
|
170
171
|
@ApiPropertyOptional()
|
|
172
|
+
@ToNumericEnum()
|
|
171
173
|
@IsNumber()
|
|
172
174
|
@IsOptional()
|
|
173
175
|
type: CustomerVatType;
|
|
174
176
|
|
|
175
177
|
@ApiPropertyOptional()
|
|
178
|
+
@ToNumericEnum()
|
|
176
179
|
@IsNumber()
|
|
177
180
|
@IsOptional()
|
|
178
181
|
state: CustomerVatState;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsOptional, IsBoolean, IsNumber, IsArray, IsInt, IsDateString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { CustomerVatState } from '../../../Enum/CustomerVat.js';
|
|
5
6
|
|
|
6
7
|
export class DeclareRegistration {
|
|
@@ -38,6 +39,7 @@ export class ProcessVatRegistration {
|
|
|
38
39
|
isTestMode?: boolean;
|
|
39
40
|
|
|
40
41
|
@ApiProperty()
|
|
42
|
+
@ToNumericEnum()
|
|
41
43
|
@IsNumber()
|
|
42
44
|
state: CustomerVatState;
|
|
43
45
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IsInt, IsPositive, IsOptional, IsDateString, IsString, IsBoolean, IsEnum } from 'class-validator';
|
|
2
2
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
3
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
3
4
|
import { RequiredQueryPaginate } from '../BasePaginate.js';
|
|
4
5
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
5
6
|
import { CerfaType } from '../../../Enum/CerfaType.js';
|
|
@@ -14,6 +15,7 @@ export class QueryRegistration {
|
|
|
14
15
|
|
|
15
16
|
export class QueryRegistrationFormValues {
|
|
16
17
|
@ApiProperty()
|
|
18
|
+
@ToNumericEnum()
|
|
17
19
|
@IsEnum(CerfaType)
|
|
18
20
|
idCerfaType: CerfaType;
|
|
19
21
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IsBoolean, IsDate, IsEnum, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
import { UnpaidReason } from '../../../Enum/UnpaidReason.js';
|
|
5
6
|
|
|
6
7
|
export class CreateRegulation {
|
|
@@ -38,6 +39,7 @@ export class CreateRegulation {
|
|
|
38
39
|
comment?: string;
|
|
39
40
|
|
|
40
41
|
@ApiPropertyOptional()
|
|
42
|
+
@ToNumericEnum()
|
|
41
43
|
@IsOptional()
|
|
42
44
|
@IsEnum(UnpaidReason)
|
|
43
45
|
reasonUnpaid?: UnpaidReason;
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
IsBoolean,
|
|
12
12
|
} from 'class-validator';
|
|
13
13
|
import { RevenueMovementType } from '../../../Enum/Revenue.js';
|
|
14
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
14
15
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -18,6 +19,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
18
19
|
*/
|
|
19
20
|
export class ICreateRevenueMovementRequest {
|
|
20
21
|
@ApiProperty()
|
|
22
|
+
@ToNumericEnum()
|
|
21
23
|
@IsEnum(RevenueMovementType)
|
|
22
24
|
type: RevenueMovementType;
|
|
23
25
|
|
|
@@ -77,6 +79,7 @@ export class ICreateRevenueMovementRequest {
|
|
|
77
79
|
*/
|
|
78
80
|
export class IUpdateRevenueMovementRequest {
|
|
79
81
|
@ApiPropertyOptional()
|
|
82
|
+
@ToNumericEnum()
|
|
80
83
|
@IsOptional()
|
|
81
84
|
@IsEnum(RevenueMovementType)
|
|
82
85
|
type?: RevenueMovementType;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
2
|
import { RevisionGuideId } from '../../../Enum/RevisionGuide.js';
|
|
3
3
|
import { YesNoNstState } from '../../../Enum/Util.js';
|
|
4
|
+
import { ToNumericEnum } from '../../../../utils/transforms/numericEnum.transform.js';
|
|
4
5
|
|
|
5
6
|
export class CreateRevisionGuide {
|
|
6
7
|
@ApiProperty()
|
|
8
|
+
@ToNumericEnum()
|
|
7
9
|
idQuestion: RevisionGuideId;
|
|
8
10
|
|
|
9
11
|
@ApiProperty()
|
|
12
|
+
@ToNumericEnum()
|
|
10
13
|
state: YesNoNstState;
|
|
11
14
|
|
|
12
15
|
@ApiPropertyOptional()
|