@silexpert/core 1.1.368 → 1.1.371
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/Authenticate.d.ts +2 -2
- package/dist/cjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/cjs/api/resources/Authenticate.js +2 -2
- package/dist/cjs/api/resources/Authenticate.js.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.d.ts +3 -0
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.js +10 -1
- package/dist/cjs/types/Interface/api/authentification/ConnectFromSSO.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.d.ts +1 -0
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.js +7 -0
- package/dist/cjs/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/QueryTerminationList.js +0 -2
- package/dist/cjs/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ITerminationList.js.map +1 -1
- package/dist/mjs/api/resources/Authenticate.d.ts +2 -2
- package/dist/mjs/api/resources/Authenticate.d.ts.map +1 -1
- package/dist/mjs/api/resources/Authenticate.js +2 -2
- package/dist/mjs/api/resources/Authenticate.js.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.d.ts +3 -0
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.js +11 -2
- package/dist/mjs/types/Interface/api/authentification/ConnectFromSSO.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.d.ts +1 -0
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.js +8 -0
- package/dist/mjs/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js +2 -0
- package/dist/mjs/types/Interface/api/terminationList/CreateTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.js +2 -0
- package/dist/mjs/types/Interface/api/terminationList/DestroyTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/QueryTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/QueryTerminationList.js +2 -2
- package/dist/mjs/types/Interface/api/terminationList/QueryTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/models/ITerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ITerminationList.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Authenticate.ts +3 -3
- package/ts/types/Interface/api/authentification/ConnectFromSSO.ts +9 -2
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +6 -0
- package/ts/types/Interface/api/terminationList/CreateTerminationList.ts +2 -0
- package/ts/types/Interface/api/terminationList/DestroyTerminationList.ts +2 -0
- package/ts/types/Interface/api/terminationList/QueryTerminationList.ts +2 -2
- package/ts/types/Interface/models/ITerminationList.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
|
|
1
|
+
import { ConnectFromUUID, FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Authenticate extends Resource {
|
|
4
4
|
authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater>;
|
|
@@ -8,6 +8,6 @@ export declare class Authenticate extends Resource {
|
|
|
8
8
|
connectAs(idSociety: number): Promise<ReadConnectAs>;
|
|
9
9
|
forgotPassword(payload: PostForgotPassword): Promise<void>;
|
|
10
10
|
resetPassword(payload: PutResetPassword): Promise<void>;
|
|
11
|
-
byExternalId(uuid: string): Promise<ReadByExternalId>;
|
|
11
|
+
byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId>;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=Authenticate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACrK,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAI5F,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIrE,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAIpD,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1D,aAAa,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGpF"}
|
|
@@ -37,9 +37,9 @@ class Authenticate extends Resource_1.Resource {
|
|
|
37
37
|
return this.axios.$put('/authenticate/reset-password', payload);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
byExternalId(uuid) {
|
|
40
|
+
byExternalId(uuid, query) {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
-
return this.axios.$get(`/authenticate/external/${uuid}
|
|
42
|
+
return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,0CAAuC;AAEvC,MAAa,YAAa,SAAQ,mBAAQ;IAClC,0BAA0B,CAAC,OAAyB;;YACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;IAEK,cAAc,CAAC,OAAyB;;YAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;QACpD,CA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;;YACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QAC9E,CAAC;KAAA;CACF;AAxBD,oCAwBC","sourcesContent":["import { ConnectFromUUID, FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater> {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async authentificate(payload: FormAuthenticate): Promise<{ token: string }> {\n return this.axios.$post('/authenticate', payload);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n\n async forgotPassword(payload: PostForgotPassword): Promise<void> {\n return this.axios.$post('/authenticate/forgot-password', payload);\n }\n\n async resetPassword(payload: PutResetPassword): Promise<void> {\n return this.axios.$put('/authenticate/reset-password', payload);\n }\n\n async byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId> {\n return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectFromSSO.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAGvB,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"ConnectFromSSO.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAGvB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,eAAe;IAIxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ConnectFromSSO = void 0;
|
|
12
|
+
exports.ConnectFromUUID = exports.ConnectFromSSO = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
class ConnectFromSSO {
|
|
@@ -20,4 +20,13 @@ __decorate([
|
|
|
20
20
|
(0, class_validator_1.IsInt)(),
|
|
21
21
|
__metadata("design:type", Number)
|
|
22
22
|
], ConnectFromSSO.prototype, "idUser", void 0);
|
|
23
|
+
class ConnectFromUUID {
|
|
24
|
+
}
|
|
25
|
+
exports.ConnectFromUUID = ConnectFromUUID;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ConnectFromUUID.prototype, "identifier", void 0);
|
|
23
32
|
//# sourceMappingURL=ConnectFromSSO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectFromSSO.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ConnectFromSSO.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,6CAAqE;AAErE,MAAa,cAAc;CAI1B;AAJD,wCAIC;AADG;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;8CACS;AAGnB,MAAa,eAAe;CAK3B;AALD,0CAKC;AADG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACS","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class ConnectFromSSO {\n @ApiProperty()\n @IsInt()\n idUser: number;\n}\n\nexport class ConnectFromUUID {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n identifier?: string;\n}"]}
|
|
@@ -14,6 +14,7 @@ export declare class ProcessVatRegistration {
|
|
|
14
14
|
export declare class GenerateVatRegistrationPayload {
|
|
15
15
|
startDate?: string;
|
|
16
16
|
disableGeneration?: boolean;
|
|
17
|
+
bypassRegistrationChecking?: boolean;
|
|
17
18
|
idSociety?: number;
|
|
18
19
|
}
|
|
19
20
|
export declare class GenerateVatAutomaticallyPayload {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclareRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,qBAAa,mBAAmB;IAK5B,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,EAAE,OAAO,CAAC;IAMpB,OAAO,EAAE,OAAO,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED,qBAAa,8BAA8B;IAIvC,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DeclareRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,qBAAa,mBAAmB;IAK5B,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,EAAE,OAAO,CAAC;IAMpB,OAAO,EAAE,OAAO,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED,qBAAa,8BAA8B;IAIvC,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAKrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,+BAA+B;IAIxC,UAAU,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -78,6 +78,13 @@ __decorate([
|
|
|
78
78
|
(0, class_validator_1.IsOptional)(),
|
|
79
79
|
__metadata("design:type", Boolean)
|
|
80
80
|
], GenerateVatRegistrationPayload.prototype, "disableGeneration", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, decorators_1.ApiPropertyOptional)(),
|
|
83
|
+
(0, class_validator_1.IsBoolean)(),
|
|
84
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
__metadata("design:type", Boolean)
|
|
87
|
+
], GenerateVatRegistrationPayload.prototype, "bypassRegistrationChecking", void 0);
|
|
81
88
|
__decorate([
|
|
82
89
|
(0, decorators_1.ApiPropertyOptional)(),
|
|
83
90
|
(0, class_validator_1.IsInt)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclareRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,6DAAgF;AAChF,sFAA2E;AAC3E,2DAA6D;AAE7D,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AADG;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;uDACU;AAGxB,MAAa,sBAAsB;CAiBlC;AAjBD,wDAiBC;AAZG;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU;AAMpB;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;uDACO;AAKjB;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACW;AAGxB,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AALG;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACW;AAIrB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACe;AAG5B,MAAa,8BAA8B;
|
|
1
|
+
{"version":3,"file":"DeclareRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,6DAAgF;AAChF,sFAA2E;AAC3E,2DAA6D;AAE7D,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AADG;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;uDACU;AAGxB,MAAa,sBAAsB;CAiBlC;AAjBD,wDAiBC;AAZG;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACU;AAMpB;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;uDACO;AAKjB;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACW;AAGxB,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AALG;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;0DACW;AAIrB;IAFD,IAAA,wBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACe;AAG5B,MAAa,8BAA8B;CAsB1C;AAtBD,wEAsBC;AAlBG;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;iEACQ;AAMnB;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACiB;AAM5B;IAJD,IAAA,gCAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kFAC0B;AAKrC;IAHD,IAAA,gCAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;iEACQ;AAGvB,MAAa,+BAA+B;CAK3C;AALD,0EAKC;AADG;IAHD,IAAA,wBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mEACC","sourcesContent":["import { IsOptional, IsBoolean, IsNumber, IsArray, IsInt, IsDateString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { CustomerVatState } from '../../../Enum/CustomerVat';\n\nexport class DeclareRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n}\n\nexport class DeclareVatRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withOga: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountToPay: number;\n}\n\nexport class ProcessVatRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode?: boolean;\n\n @ApiProperty()\n @IsNumber()\n state: CustomerVatState;\n}\n\nexport class GenerateVatRegistrationPayload {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n disableGeneration?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bypassRegistrationChecking?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n}\n\nexport class GenerateVatAutomaticallyPayload {\n @ApiProperty()\n @IsArray()\n @IsInt({ each: true })\n societyIds: number[];\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"AAQA,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"AAQA,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAMxB,4BAA4B,CAAC,EAAE,IAAI,CAAC;IAIpC,aAAa,EAAE,IAAI,CAAC;IAKpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,EAAE,MAAM,CAAC;IAKrB,WAAW,EAAE,MAAM,CAAC;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAI/B,SAAS,EAAE,MAAM,CAAC;IAIlB,YAAY,EAAE,MAAM,EAAE,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAIyB;AACzB,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAIyB;AACzB,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,qBAAqB;CAgGjC;AAhGD,sDAgGC;AA5FG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gEACq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EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACW;AAI/B;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACY;AAIlB;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACG;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;8DACmB;AAMzB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8DACgB;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACY","sourcesContent":["import {\n IsBoolean,\n IsDate,\n IsInt, IsOptional, IsString, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomer?: Date;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomerBySupervisor?: Date;\n\n @ApiProperty()\n @IsDate()\n effectiveDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endContractDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n refund?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refundAmount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthlyPrice: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthNumber: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthOffer: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReasonTermination?: number[];\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt({ each: true })\n idPrestation: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needPaymentLink?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n totalAmount?: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DestroyTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":"AAKA,qBAAa,sBAAsB;IAI/B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"DestroyTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":"AAKA,qBAAa,sBAAsB;IAI/B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAKtC,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAI7B,SAAS,EAAE,MAAM,CAAC;IAKlB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DestroyTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAqE;AAErE,MAAa,sBAAsB;
|
|
1
|
+
{"version":3,"file":"DestroyTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAqE;AAErE,MAAa,sBAAsB;CA4ElC;AA5ED,wDA4EC;AAxEG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;kDACM;AAKZ;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACQ;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6DACU;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;+DACY;AAMzB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;gEACa;AAM1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;4EACyB;AAKtC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACc;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;sDACU;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mEACuB;AAI7B;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;yDACY;AAKlB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4DACgB;AAKtB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;+DACmB;AAKzB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;yDACM;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6DACU;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;yDACM","sourcesContent":["import {\n IsDateString, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class DestroyTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n effectiveDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endContractDate?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomerBySupervisor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refund?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReasonTermination?: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n createdAt?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n createdAtLike?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n updatedAt?: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":"AAKA,qBAAa,oBAAoB;IAI7B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAKtC,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,uBAAuB;IAIhC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B"}
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.QueryTerminationAllList = exports.QueryTerminationList = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
|
-
const class_transformer_1 = require("class-transformer");
|
|
16
15
|
class QueryTerminationList {
|
|
17
16
|
}
|
|
18
17
|
exports.QueryTerminationList = QueryTerminationList;
|
|
@@ -106,7 +105,6 @@ exports.QueryTerminationAllList = QueryTerminationAllList;
|
|
|
106
105
|
__decorate([
|
|
107
106
|
(0, utils_1.ApiPropertyOptional)(),
|
|
108
107
|
(0, class_validator_1.IsOptional)(),
|
|
109
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
110
108
|
(0, class_validator_1.IsInt)({ each: true }),
|
|
111
109
|
__metadata("design:type", Array)
|
|
112
110
|
], QueryTerminationAllList.prototype, "idPrestation", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAwD;
|
|
1
|
+
{"version":3,"file":"QueryTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAwD;AAExD,MAAa,oBAAoB;CAwEhC;AAxED,oDAwEC;AApEG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gDACM;AAKZ;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;I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;IACZ,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACI","sourcesContent":["import {\n IsDateString, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n effectiveDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endContractDate?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomerBySupervisor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refund?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReasonTermination?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n createdAt?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n updatedAt?: string;\n}\n\nexport class QueryTerminationAllList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idPrestation?: number[];\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,M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,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,qBAAqB,CAAC,EAAE,QAAQ,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n recalledCustomer?: Date | null;\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n // @deprecated\n recalledCustomer?: Date | null;\n // @deprecated\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
|
|
1
|
+
import { ConnectFromUUID, FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Authenticate extends Resource {
|
|
4
4
|
authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater>;
|
|
@@ -8,6 +8,6 @@ export declare class Authenticate extends Resource {
|
|
|
8
8
|
connectAs(idSociety: number): Promise<ReadConnectAs>;
|
|
9
9
|
forgotPassword(payload: PostForgotPassword): Promise<void>;
|
|
10
10
|
resetPassword(payload: PutResetPassword): Promise<void>;
|
|
11
|
-
byExternalId(uuid: string): Promise<ReadByExternalId>;
|
|
11
|
+
byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId>;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=Authenticate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACrK,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,4BAA4B,CAAC;IAI5F,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAIrE,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAIpD,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1D,aAAa,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGpF"}
|
|
@@ -15,8 +15,8 @@ export class Authenticate extends Resource {
|
|
|
15
15
|
async resetPassword(payload) {
|
|
16
16
|
return this.axios.$put('/authenticate/reset-password', payload);
|
|
17
17
|
}
|
|
18
|
-
async byExternalId(uuid) {
|
|
19
|
-
return this.axios.$get(`/authenticate/external/${uuid}
|
|
18
|
+
async byExternalId(uuid, query) {
|
|
19
|
+
return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=Authenticate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,KAAK,CAAC,0BAA0B,CAAC,OAAyB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAAyB;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAA2B;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,OAAyB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,IAAY;
|
|
1
|
+
{"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,KAAK,CAAC,0BAA0B,CAAC,OAAyB;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAAyB;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAA2B;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,OAAyB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,IAAY,EAAE,KAAsB;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF","sourcesContent":["import { ConnectFromUUID, FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate): Promise<ReadAuthenticateCollaborater> {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async authentificate(payload: FormAuthenticate): Promise<{ token: string }> {\n return this.axios.$post('/authenticate', payload);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n\n async forgotPassword(payload: PostForgotPassword): Promise<void> {\n return this.axios.$post('/authenticate/forgot-password', payload);\n }\n\n async resetPassword(payload: PutResetPassword): Promise<void> {\n return this.axios.$put('/authenticate/reset-password', payload);\n }\n\n async byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId> {\n return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectFromSSO.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAGvB,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"ConnectFromSSO.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":"AAGA,qBAAa,cAAc;IAGvB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,eAAe;IAIxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsInt } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../../utils';
|
|
10
|
+
import { IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
export class ConnectFromSSO {
|
|
13
13
|
idUser;
|
|
14
14
|
}
|
|
@@ -17,4 +17,13 @@ __decorate([
|
|
|
17
17
|
IsInt(),
|
|
18
18
|
__metadata("design:type", Number)
|
|
19
19
|
], ConnectFromSSO.prototype, "idUser", void 0);
|
|
20
|
+
export class ConnectFromUUID {
|
|
21
|
+
identifier;
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsString(),
|
|
26
|
+
IsOptional(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ConnectFromUUID.prototype, "identifier", void 0);
|
|
20
29
|
//# sourceMappingURL=ConnectFromSSO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectFromSSO.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConnectFromSSO.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/authentification/ConnectFromSSO.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,cAAc;IAGvB,MAAM,CAAS;CAClB;AADG;IAFD,WAAW,EAAE;IACb,KAAK,EAAE;;8CACS;AAGnB,MAAM,OAAO,eAAe;IAIxB,UAAU,CAAU;CACvB;AADG;IAHD,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;mDACS","sourcesContent":["import { IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class ConnectFromSSO {\n @ApiProperty()\n @IsInt()\n idUser: number;\n}\n\nexport class ConnectFromUUID {\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n identifier?: string;\n}"]}
|
|
@@ -14,6 +14,7 @@ export declare class ProcessVatRegistration {
|
|
|
14
14
|
export declare class GenerateVatRegistrationPayload {
|
|
15
15
|
startDate?: string;
|
|
16
16
|
disableGeneration?: boolean;
|
|
17
|
+
bypassRegistrationChecking?: boolean;
|
|
17
18
|
idSociety?: number;
|
|
18
19
|
}
|
|
19
20
|
export declare class GenerateVatAutomaticallyPayload {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclareRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,qBAAa,mBAAmB;IAK5B,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,EAAE,OAAO,CAAC;IAMpB,OAAO,EAAE,OAAO,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED,qBAAa,8BAA8B;IAIvC,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DeclareRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,qBAAa,mBAAmB;IAK5B,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,EAAE,OAAO,CAAC;IAMpB,OAAO,EAAE,OAAO,CAAC;IAKjB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,sBAAsB;IAK/B,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED,qBAAa,8BAA8B;IAIvC,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAM5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAKrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,+BAA+B;IAIxC,UAAU,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -65,6 +65,7 @@ __decorate([
|
|
|
65
65
|
export class GenerateVatRegistrationPayload {
|
|
66
66
|
startDate;
|
|
67
67
|
disableGeneration;
|
|
68
|
+
bypassRegistrationChecking;
|
|
68
69
|
idSociety;
|
|
69
70
|
}
|
|
70
71
|
__decorate([
|
|
@@ -80,6 +81,13 @@ __decorate([
|
|
|
80
81
|
IsOptional(),
|
|
81
82
|
__metadata("design:type", Boolean)
|
|
82
83
|
], GenerateVatRegistrationPayload.prototype, "disableGeneration", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
ApiPropertyOptional(),
|
|
86
|
+
IsBoolean(),
|
|
87
|
+
ToBoolean(),
|
|
88
|
+
IsOptional(),
|
|
89
|
+
__metadata("design:type", Boolean)
|
|
90
|
+
], GenerateVatRegistrationPayload.prototype, "bypassRegistrationChecking", void 0);
|
|
83
91
|
__decorate([
|
|
84
92
|
ApiPropertyOptional(),
|
|
85
93
|
IsInt(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclareRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,OAAO,mBAAmB;IAK5B,UAAU,CAAU;CACvB;AADG;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACU;AAGxB,MAAM,OAAO,sBAAsB;IAK/B,UAAU,CAAU;IAMpB,OAAO,CAAU;IAKjB,WAAW,CAAS;CACvB;AAZG;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACU;AAMpB;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACO;AAKjB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACW;AAGxB,MAAM,OAAO,sBAAsB;IAK/B,UAAU,CAAW;IAIrB,KAAK,CAAmB;CAC3B;AALG;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACW;AAIrB;IAFD,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACe;AAG5B,MAAM,OAAO,8BAA8B;IAIvC,SAAS,CAAU;IAMnB,iBAAiB,CAAW;
|
|
1
|
+
{"version":3,"file":"DeclareRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/DeclareRegistration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,SAAS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AIxC,UAAU,CAAW;CACxB;AADG;IAHD,WAAW,EAAE;IACb,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mEACC","sourcesContent":["import { IsOptional, IsBoolean, IsNumber, IsArray, IsInt, IsDateString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { CustomerVatState } from '../../../Enum/CustomerVat';\n\nexport class DeclareRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n}\n\nexport class DeclareVatRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withOga: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amountToPay: number;\n}\n\nexport class ProcessVatRegistration {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode?: boolean;\n\n @ApiProperty()\n @IsNumber()\n state: CustomerVatState;\n}\n\nexport class GenerateVatRegistrationPayload {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n disableGeneration?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bypassRegistrationChecking?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n}\n\nexport class GenerateVatAutomaticallyPayload {\n @ApiProperty()\n @IsArray()\n @IsInt({ each: true })\n societyIds: number[];\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"AAQA,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":"AAQA,qBAAa,qBAAqB;IAI9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAMxB,4BAA4B,CAAC,EAAE,IAAI,CAAC;IAIpC,aAAa,EAAE,IAAI,CAAC;IAKpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,YAAY,EAAE,MAAM,CAAC;IAKrB,WAAW,EAAE,MAAM,CAAC;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAI/B,SAAS,EAAE,MAAM,CAAC;IAIlB,YAAY,EAAE,MAAM,EAAE,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EACN,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAI9B,iBAAiB,CAAU;IAK3B,kBAAkB,CAAU;IAK5B,OAAO,CAAU;
|
|
1
|
+
{"version":3,"file":"CreateTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/CreateTerminationList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EACN,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAI9B,iBAAiB,CAAU;IAK3B,kBAAkB,CAAU;IAK5B,OAAO,CAAU;IAEnB,cAAc;IAIZ,gBAAgB,CAAQ;IAE1B,cAAc;IAIZ,4BAA4B,CAAQ;IAIpC,aAAa,CAAO;IAKpB,UAAU,CAAgB;IAK1B,eAAe,CAAQ;IAMvB,MAAM,CAAW;IAKjB,YAAY,CAAU;IAKtB,YAAY,CAAS;IAKrB,WAAW,CAAS;IAKpB,UAAU,CAAS;IAKnB,mBAAmB,CAAY;IAI/B,SAAS,CAAS;IAIlB,YAAY,CAAW;IAKvB,eAAe,CAAU;IAMzB,eAAe,CAAW;IAK1B,WAAW,CAAU;CACxB;AA5FG;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;gEACqB;AAK3B;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;iEACsB;AAK5B;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sDACQ;AAMjB;IAHD,mBA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IsBoolean,\n IsDate,\n IsInt, IsOptional, IsString, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationState?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomer?: Date;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n recalledCustomerBySupervisor?: Date;\n\n @ApiProperty()\n @IsDate()\n effectiveDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endContractDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n refund?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refundAmount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n monthlyPrice: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthNumber: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n monthOffer: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idReasonTermination?: number[];\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt({ each: true })\n idPrestation: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n needPaymentLink?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n totalAmount?: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DestroyTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":"AAKA,qBAAa,sBAAsB;IAI/B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"DestroyTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":"AAKA,qBAAa,sBAAsB;IAI/B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAKtC,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAI7B,SAAS,EAAE,MAAM,CAAC;IAKlB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DestroyTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC1C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAI/B,EAAE,CAAU;IAKZ,OAAO,CAAU;IAKjB,aAAa,CAAU;IAKvB,eAAe,CAAU;
|
|
1
|
+
{"version":3,"file":"DestroyTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/DestroyTerminationList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC1C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAI/B,EAAE,CAAU;IAKZ,OAAO,CAAU;IAKjB,aAAa,CAAU;IAKvB,eAAe,CAAU;IAE3B,cAAc;IAIZ,gBAAgB,CAAU;IAE5B,cAAc;IAIZ,4BAA4B,CAAU;IAKtC,UAAU,CAAU;IAKpB,MAAM,CAAU;IAKhB,mBAAmB,CAAU;IAI7B,SAAS,CAAS;IAKlB,YAAY,CAAU;IAKtB,eAAe,CAAU;IAKzB,SAAS,CAAU;IAKnB,aAAa,CAAU;IAKvB,SAAS,CAAU;CACtB;AAxEG;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;kDACM;AAKZ;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;uDACQ;AAKjB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;6DACU;AAKvB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;+DACY;AAMzB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;gEACa;AAM1B;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;4EACyB;AAKtC;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACc;AAKpB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;sDACU;AAKhB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;mEACuB;AAI7B;IAFD,WAAW,EAAE;IACb,KAAK,EAAE;;yDACY;AAKlB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4DACgB;AAKtB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACmB;AAKzB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;yDACM;AAKnB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;6DACU;AAKvB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;yDACM","sourcesContent":["import {\n IsDateString, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class DestroyTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n effectiveDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endContractDate?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomerBySupervisor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refund?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReasonTermination?: number;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n createdAt?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n createdAtLike?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n updatedAt?: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryTerminationList.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":"AAKA,qBAAa,oBAAoB;IAI7B,EAAE,CAAC,EAAE,MAAM,CAAC;IAKZ,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAMzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAKtC,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAK7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,uBAAuB;IAIhC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B"}
|
|
@@ -9,13 +9,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { IsDateString, IsInt, IsOptional, IsString, } from 'class-validator';
|
|
11
11
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
import { Type } from 'class-transformer';
|
|
13
12
|
export class QueryTerminationList {
|
|
14
13
|
id;
|
|
15
14
|
comment;
|
|
16
15
|
effectiveDate;
|
|
17
16
|
endContractDate;
|
|
17
|
+
// @deprecated
|
|
18
18
|
recalledCustomer;
|
|
19
|
+
// @deprecated
|
|
19
20
|
recalledCustomerBySupervisor;
|
|
20
21
|
idExercice;
|
|
21
22
|
refund;
|
|
@@ -116,7 +117,6 @@ export class QueryTerminationAllList {
|
|
|
116
117
|
__decorate([
|
|
117
118
|
ApiPropertyOptional(),
|
|
118
119
|
IsOptional(),
|
|
119
|
-
Type(() => Number),
|
|
120
120
|
IsInt({ each: true }),
|
|
121
121
|
__metadata("design:type", Array)
|
|
122
122
|
], QueryTerminationAllList.prototype, "idPrestation", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC1C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC1C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;IAI7B,EAAE,CAAU;IAKZ,OAAO,CAAU;IAKjB,aAAa,CAAU;IAKvB,eAAe,C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DACM;AAGvB,MAAM,OAAO,uBAAuB;IAIhC,YAAY,CAAY;CAC3B;AADG;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACI","sourcesContent":["import {\n IsDateString, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryTerminationList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n id?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n effectiveDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n endContractDate?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\n // @deprecated\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomerBySupervisor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n refund?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReasonTermination?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCollaborateur?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n createdAt?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n updatedAt?: string;\n}\n\nexport class QueryTerminationAllList {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idPrestation?: number[];\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ITerminationList.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,uBAAuB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,gBAAgB,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE/B,4BAA4B,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,qBAAqB,CAAC,EAAE,QAAQ,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n recalledCustomer?: Date | null;\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ITerminationList.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ITerminationList.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\nimport { ConclusionTermination } from '../../Enum/TerminationList';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n idTerminationType?: number | null;\n idTerminationState?: number | null;\n idTerminationConclusion?: ConclusionTermination | null;\n comment?: string | null;\n // @deprecated\n recalledCustomer?: Date | null;\n // @deprecated\n recalledCustomerBySupervisor?: Date | null;\n effectiveDate?: Date | null;\n idExercice?: number | null;\n endContractDate?: Date | null;\n refund?: boolean;\n monthlyPrice?: number | null;\n monthNumber?: number | null;\n monthOffer?: number | null;\n idReasonTermination?: number[] | null;\n idSociety?: number | null;\n idPrestation?: number | null;\n idCollaborateur?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.371",
|
|
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": "dist/cjs/index.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
|
|
1
|
+
import { ConnectFromUUID, FormAuthenticate, PostForgotPassword, PutResetPassword, ReadAuthenticateCollaborater, ReadByExternalId, ReadConnectAs } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
|
|
4
4
|
export class Authenticate extends Resource {
|
|
@@ -22,7 +22,7 @@ export class Authenticate extends Resource {
|
|
|
22
22
|
return this.axios.$put('/authenticate/reset-password', payload);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
async byExternalId(uuid: string): Promise<ReadByExternalId> {
|
|
26
|
-
return this.axios.$get(`/authenticate/external/${uuid}
|
|
25
|
+
async byExternalId(uuid: string, query: ConnectFromUUID): Promise<ReadByExternalId> {
|
|
26
|
+
return this.axios.$get(`/authenticate/external/${uuid}`, { params: query });
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { IsInt } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
|
|
4
4
|
export class ConnectFromSSO {
|
|
5
5
|
@ApiProperty()
|
|
6
6
|
@IsInt()
|
|
7
7
|
idUser: number;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class ConnectFromUUID {
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsString()
|
|
13
|
+
@IsOptional()
|
|
14
|
+
identifier?: string;
|
|
8
15
|
}
|
|
@@ -54,6 +54,12 @@ export class GenerateVatRegistrationPayload {
|
|
|
54
54
|
@IsOptional()
|
|
55
55
|
disableGeneration?: boolean;
|
|
56
56
|
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
@IsBoolean()
|
|
59
|
+
@ToBoolean()
|
|
60
|
+
@IsOptional()
|
|
61
|
+
bypassRegistrationChecking?: boolean;
|
|
62
|
+
|
|
57
63
|
@ApiPropertyOptional()
|
|
58
64
|
@IsInt()
|
|
59
65
|
@IsOptional()
|
|
@@ -22,11 +22,13 @@ export class CreateTerminationList {
|
|
|
22
22
|
@IsString()
|
|
23
23
|
comment?: string;
|
|
24
24
|
|
|
25
|
+
// @deprecated
|
|
25
26
|
@ApiPropertyOptional()
|
|
26
27
|
@IsOptional()
|
|
27
28
|
@IsDate()
|
|
28
29
|
recalledCustomer?: Date;
|
|
29
30
|
|
|
31
|
+
// @deprecated
|
|
30
32
|
@ApiPropertyOptional()
|
|
31
33
|
@IsOptional()
|
|
32
34
|
@IsDate()
|
|
@@ -24,11 +24,13 @@ export class DestroyTerminationList {
|
|
|
24
24
|
@IsDateString()
|
|
25
25
|
endContractDate?: string;
|
|
26
26
|
|
|
27
|
+
// @deprecated
|
|
27
28
|
@ApiPropertyOptional()
|
|
28
29
|
@IsOptional()
|
|
29
30
|
@IsDateString()
|
|
30
31
|
recalledCustomer?: string;
|
|
31
32
|
|
|
33
|
+
// @deprecated
|
|
32
34
|
@ApiPropertyOptional()
|
|
33
35
|
@IsOptional()
|
|
34
36
|
@IsDateString()
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
IsDateString, IsInt, IsOptional, IsString,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
5
|
-
import { Type } from 'class-transformer';
|
|
6
5
|
|
|
7
6
|
export class QueryTerminationList {
|
|
8
7
|
@ApiPropertyOptional()
|
|
@@ -25,11 +24,13 @@ export class QueryTerminationList {
|
|
|
25
24
|
@IsDateString()
|
|
26
25
|
endContractDate?: string;
|
|
27
26
|
|
|
27
|
+
// @deprecated
|
|
28
28
|
@ApiPropertyOptional()
|
|
29
29
|
@IsOptional()
|
|
30
30
|
@IsDateString()
|
|
31
31
|
recalledCustomer?: string;
|
|
32
32
|
|
|
33
|
+
// @deprecated
|
|
33
34
|
@ApiPropertyOptional()
|
|
34
35
|
@IsOptional()
|
|
35
36
|
@IsDateString()
|
|
@@ -79,7 +80,6 @@ export class QueryTerminationList {
|
|
|
79
80
|
export class QueryTerminationAllList {
|
|
80
81
|
@ApiPropertyOptional()
|
|
81
82
|
@IsOptional()
|
|
82
|
-
@Type(() => Number)
|
|
83
83
|
@IsInt({ each: true })
|
|
84
84
|
idPrestation?: number[];
|
|
85
85
|
}
|
|
@@ -11,7 +11,9 @@ export interface ITerminationList {
|
|
|
11
11
|
idTerminationState?: number | null;
|
|
12
12
|
idTerminationConclusion?: ConclusionTermination | null;
|
|
13
13
|
comment?: string | null;
|
|
14
|
+
// @deprecated
|
|
14
15
|
recalledCustomer?: Date | null;
|
|
16
|
+
// @deprecated
|
|
15
17
|
recalledCustomerBySupervisor?: Date | null;
|
|
16
18
|
effectiveDate?: Date | null;
|
|
17
19
|
idExercice?: number | null;
|