@silexpert/core 0.4.15 → 0.4.17
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/Interface/api/society/CreateSociety.d.ts +6 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js +4 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/CreateSociety.js +2 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/package.json +2 -2
- package/ts/types/Interface/api/society/CreateSociety.ts +9 -0
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare type AnalticsUtm = {
|
|
2
|
+
utm_source?: string;
|
|
3
|
+
utm_campaign?: string;
|
|
4
|
+
utm_medium?: string;
|
|
5
|
+
};
|
|
1
6
|
export declare class CreateSociety {
|
|
2
7
|
idUser: number;
|
|
3
8
|
idTypeCompta: number;
|
|
@@ -9,5 +14,6 @@ export declare class CreateSociety {
|
|
|
9
14
|
start: string;
|
|
10
15
|
end: string;
|
|
11
16
|
};
|
|
17
|
+
analyticsUtm: AnalticsUtm;
|
|
12
18
|
}
|
|
13
19
|
//# sourceMappingURL=CreateSociety.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IAExB,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,qBAAa,aAAa;IAExB,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAGhD,YAAY,EAAE,WAAW,CAAC;CAC3B"}
|
|
@@ -38,4 +38,8 @@ __decorate([
|
|
|
38
38
|
ApiPropertyOptional(),
|
|
39
39
|
__metadata("design:type", Object)
|
|
40
40
|
], CreateSociety.prototype, "exercicePeriod", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
ApiProperty(),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], CreateSociety.prototype, "analyticsUtm", void 0);
|
|
41
45
|
//# sourceMappingURL=CreateSociety.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAQrE,MAAM,OAAO,aAAa;CAwBzB;AAtBC;IADC,WAAW,EAAE;;6CACC;AAGf;IADC,WAAW,EAAE;;mDACO;AAGrB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;iDACF;AAGpB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDAC0B;AAGhD;IADC,WAAW,EAAE;;mDACY","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idTvaRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiProperty()\n analyticsUtm: AnalticsUtm;\n}"]}
|
|
@@ -36,4 +36,6 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)
|
|
|
36
36
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateSociety.prototype, "idLegalForm", void 0);
|
|
37
37
|
|
|
38
38
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateSociety.prototype, "exercicePeriod", void 0);
|
|
39
|
+
|
|
40
|
+
__decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Object)], CreateSociety.prototype, "analyticsUtm", void 0);
|
|
39
41
|
//# sourceMappingURL=CreateSociety.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;AAQM,MAAO,aAAP,CAAoB;;QAAb,a,GAAA,a;;AAEX,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,QAAA,E,KAAe,CAAf,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,cAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,MAAA,E,KAAc,CAAd,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,YAAA,E,KAAoB,CAApB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,aAAA,E,KAAqB,CAArB,CAAA;;AAGA,UAAA,CAAA,CADC,iCACD,E,iCAAA,CAAA,E,uBAAA,E,gBAAA,E,KAAgD,CAAhD,CAAA;;AAGA,UAAA,CAAA,CADC,yBACD,E,iCAAA,CAAA,E,uBAAA,E,cAAA,E,KAA0B,CAA1B,CAAA","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idTvaRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiProperty()\n analyticsUtm: AnalticsUtm;\n}"],"sourceRoot":"","file":"CreateSociety.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"url": "https://gitlab.compta-clementine.fr/dev/silex-api/-/issues"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=12.15.0"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [],
|
|
37
37
|
"author": "Silex",
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
2
|
|
|
3
|
+
export type AnalticsUtm = {
|
|
4
|
+
utm_source?: string;
|
|
5
|
+
utm_campaign?: string;
|
|
6
|
+
utm_medium?: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
3
9
|
export class CreateSociety {
|
|
4
10
|
@ApiProperty()
|
|
5
11
|
idUser: number;
|
|
@@ -21,4 +27,7 @@ export class CreateSociety {
|
|
|
21
27
|
|
|
22
28
|
@ApiPropertyOptional()
|
|
23
29
|
exercicePeriod?: { start: string, end: string };
|
|
30
|
+
|
|
31
|
+
@ApiProperty()
|
|
32
|
+
analyticsUtm: AnalticsUtm;
|
|
24
33
|
}
|