@silexpert/core 1.0.183 → 1.0.185
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/es/types/Enum/BrandPourcentage.js +5 -5
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/CommercialImportHeader.d.ts.map +1 -1
- package/es/types/Enum/CommercialImportHeader.js +23 -16
- package/es/types/Enum/CommercialImportHeader.js.map +1 -1
- package/es/types/Enum/EntityType.d.ts +18 -0
- package/es/types/Enum/EntityType.d.ts.map +1 -0
- package/es/types/Enum/EntityType.js +66 -0
- package/es/types/Enum/EntityType.js.map +1 -0
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/es/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/es/types/Interface/api/commercialImport/Query.d.ts +1 -1
- package/es/types/Interface/api/commercialImport/Query.d.ts.map +1 -1
- package/es/types/Interface/api/commercialImport/Query.js.map +1 -1
- package/es/types/Interface/api/commercialImport/Read.d.ts +2 -1
- package/es/types/Interface/api/commercialImport/Read.d.ts.map +1 -1
- package/es/types/Interface/api/commercialImport/Read.js.map +1 -1
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts +21 -3
- package/es/types/Interface/api/companeo/CompaneoReturn.d.ts.map +1 -1
- package/es/types/Interface/api/companeo/CompaneoReturn.js.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +4 -0
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +14 -2
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/es/types/Interface/models/IAppNotification.d.ts +1 -0
- package/es/types/Interface/models/IAppNotification.d.ts.map +1 -1
- package/es/types/Interface/models/IAppNotification.js.map +1 -1
- package/es/types/Interface/models/IUser.d.ts +2 -0
- package/es/types/Interface/models/IUser.d.ts.map +1 -1
- package/es/types/Interface/models/IUser.js.map +1 -1
- package/es/types/index.d.ts +1 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -1
- package/es/types/index.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +5 -5
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/CommercialImportHeader.js +23 -16
- package/js/types/Enum/CommercialImportHeader.js.map +1 -1
- package/js/types/Enum/EntityType.js +64 -0
- package/js/types/Enum/EntityType.js.map +1 -0
- package/js/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/js/types/Interface/api/commercialImport/Query.js.map +1 -1
- package/js/types/Interface/api/commercialImport/Read.js.map +1 -1
- package/js/types/Interface/api/companeo/CompaneoReturn.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +5 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/Interface/models/IAppNotification.js.map +1 -1
- package/js/types/Interface/models/IUser.js.map +1 -1
- package/js/types/index.js +34 -34
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BrandPourcentage.ts +5 -5
- package/ts/types/Enum/CommercialImportHeader.ts +23 -16
- package/ts/types/Enum/EntityType.ts +65 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +1 -1
- package/ts/types/Interface/api/commercialImport/Query.ts +2 -1
- package/ts/types/Interface/api/commercialImport/Read.ts +2 -1
- package/ts/types/Interface/api/companeo/CompaneoReturn.ts +23 -3
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +12 -2
- package/ts/types/Interface/models/IAppNotification.ts +1 -0
- package/ts/types/Interface/models/IUser.ts +2 -0
- package/ts/types/index.ts +1 -1
- package/es/types/Interface/api/companeo/Query.d.ts +0 -5
- package/es/types/Interface/api/companeo/Query.d.ts.map +0 -1
- package/es/types/Interface/api/companeo/Query.js +0 -26
- package/es/types/Interface/api/companeo/Query.js.map +0 -1
- package/js/types/Interface/api/companeo/Query.js +0 -23
- package/js/types/Interface/api/companeo/Query.js.map +0 -1
- package/ts/types/Interface/api/companeo/Query.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.185",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -90,7 +90,7 @@ export const BrandPourcentage = [
|
|
|
90
90
|
idTypeBrand: 2,
|
|
91
91
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
92
92
|
logoS3: 'config/pourcentage-logo.png',
|
|
93
|
-
name: 'Paris', // Sofrageco
|
|
93
|
+
name: 'Pourcentage Paris', // Sofrageco
|
|
94
94
|
colors: {
|
|
95
95
|
primary: '#1e6f5c',
|
|
96
96
|
primary50: '#DFF9F1',
|
|
@@ -177,7 +177,7 @@ export const BrandPourcentage = [
|
|
|
177
177
|
idTypeBrand: 3,
|
|
178
178
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
179
179
|
logoS3: 'config/pourcentage-logo.png',
|
|
180
|
-
name: 'Nancy', // AEC54
|
|
180
|
+
name: 'Pourcentage Nancy', // AEC54
|
|
181
181
|
colors: {
|
|
182
182
|
primary: '#1e6f5c',
|
|
183
183
|
primary50: '#DFF9F1',
|
|
@@ -264,7 +264,7 @@ export const BrandPourcentage = [
|
|
|
264
264
|
idTypeBrand: 4,
|
|
265
265
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
266
266
|
logoS3: 'config/pourcentage-logo.png',
|
|
267
|
-
name: 'Epinal', // Pourcentage EPINAL
|
|
267
|
+
name: 'Pourcentage Epinal', // Pourcentage EPINAL
|
|
268
268
|
colors: {
|
|
269
269
|
primary: '#1e6f5c',
|
|
270
270
|
primary50: '#DFF9F1',
|
|
@@ -351,7 +351,7 @@ export const BrandPourcentage = [
|
|
|
351
351
|
idTypeBrand: 5,
|
|
352
352
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
353
353
|
logoS3: 'config/pourcentage-logo.png',
|
|
354
|
-
name: 'Nice', // AMEX
|
|
354
|
+
name: 'Pourcentage Nice', // AMEX
|
|
355
355
|
colors: {
|
|
356
356
|
primary: '#1e6f5c',
|
|
357
357
|
primary50: '#DFF9F1',
|
|
@@ -438,7 +438,7 @@ export const BrandPourcentage = [
|
|
|
438
438
|
idTypeBrand: 6,
|
|
439
439
|
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-pourcentage/',
|
|
440
440
|
logoS3: 'config/pourcentage-logo.png',
|
|
441
|
-
name: 'Marseille', // Pourcentage Marseille
|
|
441
|
+
name: 'Pourcentage Marseille', // Pourcentage Marseille
|
|
442
442
|
colors: {
|
|
443
443
|
primary: '#1e6f5c',
|
|
444
444
|
primary50: '#DFF9F1',
|
|
@@ -16,77 +16,84 @@ export const commercialImportHeader: CommercialImportHeader = {
|
|
|
16
16
|
required: true,
|
|
17
17
|
description: 'Montant total toutes taxes comprises',
|
|
18
18
|
},
|
|
19
|
+
TAX_EXCLUDED: {
|
|
20
|
+
originalName: 'taxExcludedAmount_0',
|
|
21
|
+
name: 'Montant sans TVA',
|
|
22
|
+
required: false,
|
|
23
|
+
description: 'Total hors taxes des prestations ou marchandises facturées sans TVA',
|
|
24
|
+
},
|
|
25
|
+
AMOUNT_VAT_0: {
|
|
26
|
+
originalName: 'amountVat_0',
|
|
27
|
+
name: 'Montant TVA sans TVA',
|
|
28
|
+
required: false,
|
|
29
|
+
description: 'Montant en euros de la TVA à 0',
|
|
30
|
+
relatedField: 'taxExcludedAmount_0',
|
|
31
|
+
},
|
|
19
32
|
TAX_EXCLUDED_AMOUNT_20: {
|
|
20
33
|
originalName: 'taxExcludedAmount_20',
|
|
21
34
|
name: 'Montant HT TVA 20%',
|
|
22
|
-
required:
|
|
35
|
+
required: false,
|
|
23
36
|
description: 'Total hors taxes des prestations ou marchandises facturées avec la TVA 20%',
|
|
24
37
|
},
|
|
25
38
|
AMOUNT_VAT_20: {
|
|
26
39
|
originalName: 'amountVat_20',
|
|
27
40
|
name: 'Montant TVA 20%',
|
|
28
|
-
required:
|
|
41
|
+
required: false,
|
|
29
42
|
description: 'Montant en euros de la TVA 20%',
|
|
30
43
|
relatedField: 'taxExcludedAmount_20',
|
|
31
44
|
},
|
|
32
45
|
TAX_EXCLUDED_10: {
|
|
33
46
|
originalName: 'taxExcludedAmount_10',
|
|
34
47
|
name: 'Montant HT TVA 10%',
|
|
35
|
-
required:
|
|
48
|
+
required: false,
|
|
36
49
|
description: 'Total hors taxes des prestations ou marchandises facturées avec la TVA 10%',
|
|
37
50
|
},
|
|
38
51
|
AMOUNT_VAT_10: {
|
|
39
52
|
originalName: 'amountVat_10',
|
|
40
53
|
name: 'Montant TVA 10%',
|
|
41
|
-
required:
|
|
54
|
+
required: false,
|
|
42
55
|
description: 'Montant en euros de la TVA 10%',
|
|
43
56
|
relatedField: 'taxExcludedAmount_10',
|
|
44
57
|
},
|
|
45
58
|
TAX_EXCLUDED_8_5: {
|
|
46
59
|
originalName: 'taxExcludedAmount_8_5',
|
|
47
60
|
name: 'Montant HT TVA 8,5%',
|
|
48
|
-
required:
|
|
61
|
+
required: false,
|
|
49
62
|
description: 'Total hors taxes des prestations ou marchandises facturées avec la TVA 8,5%',
|
|
50
63
|
},
|
|
51
64
|
AMOUNT_VAT_8_5: {
|
|
52
65
|
originalName: 'amountVat_8_5',
|
|
53
66
|
name: 'Montant TVA 8,5%',
|
|
54
|
-
required:
|
|
67
|
+
required: false,
|
|
55
68
|
description: 'Montant en euros de la TVA 8,5%',
|
|
56
69
|
relatedField: 'taxExcludedAmount_8_5',
|
|
57
70
|
},
|
|
58
71
|
TAX_EXCLUDED_5_5: {
|
|
59
72
|
originalName: 'taxExcludedAmount_5_5',
|
|
60
73
|
name: 'Montant HT TVA 5,5%',
|
|
61
|
-
required:
|
|
74
|
+
required: false,
|
|
62
75
|
description: 'Total hors taxes des prestations ou marchandises facturées avec la TVA 5,5%',
|
|
63
76
|
},
|
|
64
77
|
AMOUNT_VAT_5_5: {
|
|
65
78
|
originalName: 'amountVat_5_5',
|
|
66
79
|
name: 'Montant TVA 5,5%',
|
|
67
|
-
required:
|
|
80
|
+
required: false,
|
|
68
81
|
description: 'Montant en euros de la TVA 5,5%',
|
|
69
82
|
relatedField: 'taxExcludedAmount_5_5',
|
|
70
83
|
},
|
|
71
84
|
TAX_EXCLUDED_2_1: {
|
|
72
85
|
originalName: 'taxExcludedAmount_2_1',
|
|
73
86
|
name: 'Montant HT TVA 2,1%',
|
|
74
|
-
required:
|
|
87
|
+
required: false,
|
|
75
88
|
description: 'Total hors taxes des prestations ou marchandises facturées avec la TVA 2,1%',
|
|
76
89
|
},
|
|
77
90
|
AMOUNT_VAT_2_1: {
|
|
78
91
|
originalName: 'amountVat_2_1',
|
|
79
92
|
name: 'Montant TVA 2,1%',
|
|
80
|
-
required:
|
|
93
|
+
required: false,
|
|
81
94
|
description: 'Montant en euros de la TVA 2,1%',
|
|
82
95
|
relatedField: 'taxExcludedAmount_2_1',
|
|
83
96
|
},
|
|
84
|
-
TAX_EXCLUDED: {
|
|
85
|
-
originalName: 'taxExcludedAmount',
|
|
86
|
-
name: 'Montant sans TVA',
|
|
87
|
-
required: true,
|
|
88
|
-
description: 'Total hors taxes des prestations ou marchandises facturées sans TVA',
|
|
89
|
-
},
|
|
90
97
|
CUSTOMER_NAME: {
|
|
91
98
|
originalName: 'customerName',
|
|
92
99
|
name: 'Nom de client',
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export enum EntityType {
|
|
2
|
+
EXPERTISE_CHOIX_B = 1,
|
|
3
|
+
COMPTALIB = 2,
|
|
4
|
+
POURCENTAGE = 3,
|
|
5
|
+
AEC54 = 4,
|
|
6
|
+
TIKTAK = 5,
|
|
7
|
+
PETITEJOB = 6,
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const EntityTypeDetail = [
|
|
11
|
+
{
|
|
12
|
+
id: EntityType.EXPERTISE_CHOIX_B,
|
|
13
|
+
name: 'SAS EXPERTISE CHOIX B',
|
|
14
|
+
adress: '9 Avenue du Rhin',
|
|
15
|
+
city: '54520 LAXOU',
|
|
16
|
+
capital: '500 000 €',
|
|
17
|
+
RCS: '752 566 687',
|
|
18
|
+
phone: '03 83 93 14 14',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: EntityType.COMPTALIB,
|
|
22
|
+
name: 'SAS COMPTALIB',
|
|
23
|
+
adress: '9 Avenue du Rhin',
|
|
24
|
+
city: '54520 LAXOU',
|
|
25
|
+
capital: '10 272 €',
|
|
26
|
+
RCS: '808 070 726',
|
|
27
|
+
phone: '03 83 93 14 14',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: EntityType.POURCENTAGE,
|
|
31
|
+
name: 'SAS POURCENTAGE',
|
|
32
|
+
adress: '9 Avenue du Rhin',
|
|
33
|
+
city: '54520 LAXOU',
|
|
34
|
+
capital: '10 000 €',
|
|
35
|
+
RCS: '891 501 181',
|
|
36
|
+
phone: '03 83 93 14 14',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: EntityType.AEC54,
|
|
40
|
+
name: 'AEC54',
|
|
41
|
+
adress: '9 Avenue du Rhin',
|
|
42
|
+
city: '54520 LAXOU',
|
|
43
|
+
capital: '7 622 €',
|
|
44
|
+
RCS: '315 519 587',
|
|
45
|
+
phone: '03 83 93 14 14',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: EntityType.TIKTAK,
|
|
49
|
+
name: 'SAS TIKTAK SERVICES',
|
|
50
|
+
adress: '9 Avenue du Rhin',
|
|
51
|
+
city: '54520 LAXOU',
|
|
52
|
+
capital: '3 000 €',
|
|
53
|
+
RCS: '948 985 577',
|
|
54
|
+
phone: '03 83 93 14 14',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: EntityType.PETITEJOB,
|
|
58
|
+
name: 'SAS PETITEJOB',
|
|
59
|
+
adress: '30 rue des Mathurins',
|
|
60
|
+
city: '75008 PARIS',
|
|
61
|
+
capital: '5 000 €',
|
|
62
|
+
RCS: '888 753 878',
|
|
63
|
+
phone: '03 83 93 14 14',
|
|
64
|
+
},
|
|
65
|
+
];
|
|
@@ -21,7 +21,8 @@ export interface ImportRow {
|
|
|
21
21
|
|
|
22
22
|
export interface ImportRawRow {
|
|
23
23
|
taxIncludedAmount: number;
|
|
24
|
-
|
|
24
|
+
taxExcludedAmount_0: number;
|
|
25
|
+
amountVat_0: number;
|
|
25
26
|
taxExcludedAmount_20: number;
|
|
26
27
|
amountVat_20: number;
|
|
27
28
|
taxExcludedAmount_10: number;
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
export interface CompaneoQuestionType {
|
|
2
|
+
$: {
|
|
3
|
+
question_id: number
|
|
4
|
+
},
|
|
5
|
+
value: string,
|
|
6
|
+
reponse: {
|
|
7
|
+
_?: string,
|
|
8
|
+
$: {
|
|
9
|
+
answer_id: number,
|
|
10
|
+
},
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface CompaneoBasicData {
|
|
15
|
+
_?: string,
|
|
16
|
+
$?: {
|
|
17
|
+
code: string,
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
export interface CompaneoReturn {
|
|
2
22
|
id: number,
|
|
3
23
|
lead_id: number,
|
|
@@ -7,9 +27,9 @@ export interface CompaneoReturn {
|
|
|
7
27
|
civilite: string,
|
|
8
28
|
nom: string,
|
|
9
29
|
prenom: string,
|
|
10
|
-
activite:
|
|
11
|
-
poste:
|
|
12
|
-
fonction:
|
|
30
|
+
activite: CompaneoBasicData,
|
|
31
|
+
poste: CompaneoBasicData,
|
|
32
|
+
fonction: CompaneoBasicData,
|
|
13
33
|
code_postal: string,
|
|
14
34
|
ville: string,
|
|
15
35
|
adresse: string,
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsBoolean,
|
|
3
|
-
IsDate, IsInt, IsOptional, IsString,
|
|
3
|
+
IsDate, IsInt, IsNumber, IsOptional, IsString,
|
|
4
4
|
} from 'class-validator';
|
|
5
|
-
import { ApiPropertyOptional } from '../../../..';
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
6
6
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
7
|
|
|
8
|
+
export class QueryVatMigrationEntry {
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsString()
|
|
11
|
+
token: string;
|
|
12
|
+
|
|
13
|
+
@ApiPropertyOptional()
|
|
14
|
+
@IsNumber()
|
|
15
|
+
id: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
8
18
|
export class QueryVatDeclaration {
|
|
9
19
|
@ApiPropertyOptional()
|
|
10
20
|
@IsDate()
|
|
@@ -16,6 +16,7 @@ import { IUserTest } from './IUserTest';
|
|
|
16
16
|
import { IMobile } from './IMobile';
|
|
17
17
|
import { IRoleUser } from './IRoleUser';
|
|
18
18
|
import { ITimeRecorder } from './ITimeRecorder';
|
|
19
|
+
import { EntityType } from '../../Enum/EntityType';
|
|
19
20
|
|
|
20
21
|
type isAny<T> = T | any;
|
|
21
22
|
|
|
@@ -56,6 +57,7 @@ export interface IUser {
|
|
|
56
57
|
stateProspect?: boolean | null;
|
|
57
58
|
birthdate?: Date | null;
|
|
58
59
|
arrivalDate?: Date | null;
|
|
60
|
+
entity?: EntityType | null;
|
|
59
61
|
validityDateOfResidencePermit?: Date | null;
|
|
60
62
|
isNewProspect?: boolean;
|
|
61
63
|
hasAccountNumberDisplay?: boolean;
|
package/ts/types/index.ts
CHANGED
|
@@ -480,6 +480,7 @@ export * from './Enum/UnpaidCallHistoryType';
|
|
|
480
480
|
export * from './Enum/CommercialImportHeader';
|
|
481
481
|
export * from './Enum/ReasonTerminationType';
|
|
482
482
|
export * from './Enum/RemoteType';
|
|
483
|
+
export * from './Enum/EntityType';
|
|
483
484
|
|
|
484
485
|
// Interfaces API
|
|
485
486
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -651,7 +652,6 @@ export * from './Interface/api/vatRegimeHistory/QueryVatRegimeHistory';
|
|
|
651
652
|
export * from './Interface/api/textMessage/Create';
|
|
652
653
|
export * from './Interface/api/textMessage/Update';
|
|
653
654
|
export * from './Interface/api/textMessage/Query';
|
|
654
|
-
export * from './Interface/api/companeo/Query';
|
|
655
655
|
export * from './Interface/api/companeo/CompaneoReturn';
|
|
656
656
|
export * from './Interface/api/team/QueryCreate';
|
|
657
657
|
export * from './Interface/api/team/QueryGetAllWithIncludes';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAIxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { IsString, IsOptional } from 'class-validator';
|
|
11
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
export class QueryCompaneo {
|
|
13
|
-
}
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiPropertyOptional(),
|
|
16
|
-
IsOptional(),
|
|
17
|
-
IsString(),
|
|
18
|
-
__metadata("design:type", String)
|
|
19
|
-
], QueryCompaneo.prototype, "fromDate", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
ApiPropertyOptional(),
|
|
22
|
-
IsOptional(),
|
|
23
|
-
IsString(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], QueryCompaneo.prototype, "toDate", void 0);
|
|
26
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;CAUzB;AATC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAElB;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK","sourcesContent":["import { IsString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCompaneo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fromDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n toDate?: string;\n}"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.QueryCompaneo = undefined;
|
|
7
|
-
var _classValidator = require("class-validator");
|
|
8
|
-
var _utils = require("../../../../utils");
|
|
9
|
-
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10
|
-
var c = arguments.length,
|
|
11
|
-
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
12
|
-
d;
|
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
-
};
|
|
16
|
-
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
17
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18
|
-
};
|
|
19
|
-
class QueryCompaneo {}
|
|
20
|
-
exports.QueryCompaneo = QueryCompaneo;
|
|
21
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryCompaneo.prototype, "fromDate", void 0);
|
|
22
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryCompaneo.prototype, "toDate", void 0);
|
|
23
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","names":["_classValidator","require","_utils","QueryCompaneo","exports","__decorate","ApiPropertyOptional","IsOptional","IsString"],"sources":["../../../../../ts/types/Interface/api/companeo/Query.ts"],"sourcesContent":["import { IsString, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryCompaneo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fromDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n toDate?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,aAAa;AAUzBC,OAAA,CAVYD,aAAa,GAAbA,aAAa;AACxBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,gFACO;AAElBH,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,wBAAQ,GAAE,E,8EACK"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IsString, IsOptional } from 'class-validator';
|
|
2
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
|
|
4
|
-
export class QueryCompaneo {
|
|
5
|
-
@ApiPropertyOptional()
|
|
6
|
-
@IsOptional()
|
|
7
|
-
@IsString()
|
|
8
|
-
fromDate?: string;
|
|
9
|
-
|
|
10
|
-
@ApiPropertyOptional()
|
|
11
|
-
@IsOptional()
|
|
12
|
-
@IsString()
|
|
13
|
-
toDate?: string;
|
|
14
|
-
}
|