@silexpert/core 1.1.367 → 1.1.370

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.
@@ -1,7 +1,8 @@
1
- import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';
1
+ import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
  export declare class TerminationList extends Resource {
4
4
  get(params: QueryTerminationList): Promise<ITerminationList>;
5
+ getAll(params: QueryTerminationAllList): Promise<ITerminationList>;
5
6
  getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>>;
6
7
  getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics>;
7
8
  create(params: CreateTerminationList): Promise<ITerminationList>;
@@ -1 +1 @@
1
- {"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACvL,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI5D,WAAW,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAI1F,aAAa,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAInF,MAAM,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIhE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGxF"}
1
+ {"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAChN,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI5D,MAAM,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIlE,WAAW,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAI1F,aAAa,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAInF,MAAM,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIhE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGxF"}
@@ -6,6 +6,9 @@ class TerminationList extends Resource_1.Resource {
6
6
  get(params) {
7
7
  return this.axios.$get('/termination-lists', { params });
8
8
  }
9
+ getAll(params) {
10
+ return this.axios.$get('/termination-lists/all', { params });
11
+ }
9
12
  getPaginate(params) {
10
13
  return this.axios.$get('/termination-lists/paginate', { params });
11
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,eAAgB,SAAQ,mBAAQ;IACpC,GAAG,CAAC,MAA4B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEM,WAAW,CAAC,MAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAEM,aAAa,CAAC,MAAoC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;IAEM,MAAM,CAAC,MAA6B;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAEM,MAAM,CAAC,MAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,EAAU,EAAE,MAAiC;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACF;AAxBD,0CAwBC","sourcesContent":["import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class TerminationList extends Resource {\n public get(params: QueryTerminationList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists', { params });\n }\n\n public getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>> {\n return this.axios.$get('/termination-lists/paginate', { params });\n }\n\n public getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics> {\n return this.axios.$get('/termination-lists/statistics', { params });\n }\n\n public create(params: CreateTerminationList): Promise<ITerminationList> {\n return this.axios.$post('/termination-lists', params);\n }\n\n public delete(params: DestroyTerminationList): Promise<number> {\n return this.axios.$delete('/termination-lists', { params });\n }\n\n public update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList> {\n return this.axios.$patch(`/termination-lists/${id}`, params);\n }\n}"]}
1
+ {"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,eAAgB,SAAQ,mBAAQ;IACpC,GAAG,CAAC,MAA4B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEM,MAAM,CAAC,MAA+B;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/D,CAAC;IAEM,WAAW,CAAC,MAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAEM,aAAa,CAAC,MAAoC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;IAEM,MAAM,CAAC,MAA6B;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAEM,MAAM,CAAC,MAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,EAAU,EAAE,MAAiC;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACF;AA5BD,0CA4BC","sourcesContent":["import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class TerminationList extends Resource {\n public get(params: QueryTerminationList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists', { params });\n }\n\n public getAll(params: QueryTerminationAllList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists/all', { params });\n }\n\n public getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>> {\n return this.axios.$get('/termination-lists/paginate', { params });\n }\n\n public getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics> {\n return this.axios.$get('/termination-lists/statistics', { params });\n }\n\n public create(params: CreateTerminationList): Promise<ITerminationList> {\n return this.axios.$post('/termination-lists', params);\n }\n\n public delete(params: DestroyTerminationList): Promise<number> {\n return this.axios.$delete('/termination-lists', { params });\n }\n\n public update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList> {\n return this.axios.$patch(`/termination-lists/${id}`, params);\n }\n}"]}
@@ -14,4 +14,7 @@ export declare class QueryTerminationList {
14
14
  createdAt?: string;
15
15
  updatedAt?: string;
16
16
  }
17
+ export declare class QueryTerminationAllList {
18
+ idPrestation?: number[];
19
+ }
17
20
  //# sourceMappingURL=QueryTerminationList.d.ts.map
@@ -1 +1 @@
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;IAKzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,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"}
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;IAKzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,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,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.QueryTerminationList = void 0;
12
+ exports.QueryTerminationAllList = exports.QueryTerminationList = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const utils_1 = require("../../../../utils");
15
15
  class QueryTerminationList {
@@ -99,4 +99,13 @@ __decorate([
99
99
  (0, class_validator_1.IsDateString)(),
100
100
  __metadata("design:type", String)
101
101
  ], QueryTerminationList.prototype, "updatedAt", void 0);
102
+ class QueryTerminationAllList {
103
+ }
104
+ exports.QueryTerminationAllList = QueryTerminationAllList;
105
+ __decorate([
106
+ (0, utils_1.ApiPropertyOptional)(),
107
+ (0, class_validator_1.IsOptional)(),
108
+ (0, class_validator_1.IsInt)({ each: true }),
109
+ __metadata("design:type", Array)
110
+ ], QueryTerminationAllList.prototype, "idPrestation", void 0);
102
111
  //# sourceMappingURL=QueryTerminationList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAwD;AAExD,MAAa,oBAAoB;CAsEhC;AAtED,oDAsEC;AAlEG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gDACM;AAKZ;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;2DACU;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6DACY;AAKzB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;8DACa;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;0EACyB;AAKtC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACc;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;oDACU;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACuB;AAK7B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACa;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACgB;AAKtB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACmB;AAKzB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;uDACM;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;uDACM","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 @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\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}"]}
1
+ {"version":3,"file":"QueryTerminationList.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/terminationList/QueryTerminationList.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,6CAAwD;AAExD,MAAa,oBAAoB;CAsEhC;AAtED,oDAsEC;AAlEG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gDACM;AAKZ;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAKjB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;2DACU;AAKvB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;6DACY;AAKzB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;8DACa;AAK1B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;0EACyB;AAKtC;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;wDACc;AAKpB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;oDACU;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iEACuB;AAK7B;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;uDACa;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0DACgB;AAKtB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;6DACmB;AAKzB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;uDACM;AAKnB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,GAAE;;uDACM;AAGvB,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AADG;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;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 @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\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,7 +1,8 @@
1
- import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';
1
+ import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
  export declare class TerminationList extends Resource {
4
4
  get(params: QueryTerminationList): Promise<ITerminationList>;
5
+ getAll(params: QueryTerminationAllList): Promise<ITerminationList>;
5
6
  getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>>;
6
7
  getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics>;
7
8
  create(params: CreateTerminationList): Promise<ITerminationList>;
@@ -1 +1 @@
1
- {"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AAAA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C,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAI1F,aAAa,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAInF,MAAM,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIhE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGxF"}
@@ -3,6 +3,9 @@ export class TerminationList extends Resource {
3
3
  get(params) {
4
4
  return this.axios.$get('/termination-lists', { params });
5
5
  }
6
+ getAll(params) {
7
+ return this.axios.$get('/termination-lists/all', { params });
8
+ }
6
9
  getPaginate(params) {
7
10
  return this.axios.$get('/termination-lists/paginate', { params });
8
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAA4B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEM,WAAW,CAAC,MAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAEM,aAAa,CAAC,MAAoC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;IAEM,MAAM,CAAC,MAA6B;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAEM,MAAM,CAAC,MAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,EAAU,EAAE,MAAiC;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class TerminationList extends Resource {\n public get(params: QueryTerminationList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists', { params });\n }\n\n public getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>> {\n return this.axios.$get('/termination-lists/paginate', { params });\n }\n\n public getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics> {\n return this.axios.$get('/termination-lists/statistics', { params });\n }\n\n public create(params: CreateTerminationList): Promise<ITerminationList> {\n return this.axios.$post('/termination-lists', params);\n }\n\n public delete(params: DestroyTerminationList): Promise<number> {\n return this.axios.$delete('/termination-lists', { params });\n }\n\n public update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList> {\n return this.axios.$patch(`/termination-lists/${id}`, params);\n }\n}"]}
1
+ {"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAA4B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IAEM,MAAM,CAAC,MAA+B;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/D,CAAC;IAEM,WAAW,CAAC,MAAoC;QACrD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAEM,aAAa,CAAC,MAAoC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACtE,CAAC;IAEM,MAAM,CAAC,MAA6B;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAEM,MAAM,CAAC,MAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,EAAU,EAAE,MAAiC;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class TerminationList extends Resource {\n public get(params: QueryTerminationList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists', { params });\n }\n\n public getAll(params: QueryTerminationAllList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists/all', { params });\n }\n\n public getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>> {\n return this.axios.$get('/termination-lists/paginate', { params });\n }\n\n public getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics> {\n return this.axios.$get('/termination-lists/statistics', { params });\n }\n\n public create(params: CreateTerminationList): Promise<ITerminationList> {\n return this.axios.$post('/termination-lists', params);\n }\n\n public delete(params: DestroyTerminationList): Promise<number> {\n return this.axios.$delete('/termination-lists', { params });\n }\n\n public update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList> {\n return this.axios.$patch(`/termination-lists/${id}`, params);\n }\n}"]}
@@ -14,4 +14,7 @@ export declare class QueryTerminationList {
14
14
  createdAt?: string;
15
15
  updatedAt?: string;
16
16
  }
17
+ export declare class QueryTerminationAllList {
18
+ idPrestation?: number[];
19
+ }
17
20
  //# sourceMappingURL=QueryTerminationList.d.ts.map
@@ -1 +1 @@
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;IAKzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,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"}
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;IAKzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAK1B,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"}
@@ -109,4 +109,13 @@ __decorate([
109
109
  IsDateString(),
110
110
  __metadata("design:type", String)
111
111
  ], QueryTerminationList.prototype, "updatedAt", void 0);
112
+ export class QueryTerminationAllList {
113
+ idPrestation;
114
+ }
115
+ __decorate([
116
+ ApiPropertyOptional(),
117
+ IsOptional(),
118
+ IsInt({ each: true }),
119
+ __metadata("design:type", Array)
120
+ ], QueryTerminationAllList.prototype, "idPrestation", void 0);
112
121
  //# sourceMappingURL=QueryTerminationList.js.map
@@ -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;AAExD,MAAM,OAAO,oBAAoB;IAI7B,EAAE,CAAU;IAKZ,OAAO,CAAU;IAKjB,aAAa,CAAU;IAKvB,eAAe,CAAU;IAKzB,gBA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sString,\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 @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\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}"]}
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,CAAU;IAKzB,gBAAgB,CAAU;IAK1B,4BAA4B,CAAU;IAKtC,UAAU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ACrB,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 @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n recalledCustomer?: string;\n\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}"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.367",
3
+ "version": "1.1.370",
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 { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';
1
+ import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationAllList, QueryTerminationList, TerminationStatistics } from '../../types';
2
2
  import { Resource } from '../Resource';
3
3
 
4
4
  export class TerminationList extends Resource {
@@ -6,6 +6,10 @@ export class TerminationList extends Resource {
6
6
  return this.axios.$get('/termination-lists', { params });
7
7
  }
8
8
 
9
+ public getAll(params: QueryTerminationAllList): Promise<ITerminationList> {
10
+ return this.axios.$get('/termination-lists/all', { params });
11
+ }
12
+
9
13
  public getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>> {
10
14
  return this.axios.$get('/termination-lists/paginate', { params });
11
15
  }
@@ -73,4 +73,11 @@ export class QueryTerminationList {
73
73
  @IsOptional()
74
74
  @IsDateString()
75
75
  updatedAt?: string;
76
+ }
77
+
78
+ export class QueryTerminationAllList {
79
+ @ApiPropertyOptional()
80
+ @IsOptional()
81
+ @IsInt({ each: true })
82
+ idPrestation?: number[];
76
83
  }