@silexpert/core 1.3.66-6 → 1.3.66

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.
Files changed (62) hide show
  1. package/dist/cjs/api/resources/Refund.d.ts +1 -29
  2. package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Refund.js +0 -12
  4. package/dist/cjs/api/resources/Refund.js.map +1 -1
  5. package/dist/cjs/api/resources/Society.d.ts +1 -3
  6. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Society.js +0 -6
  8. package/dist/cjs/api/resources/Society.js.map +1 -1
  9. package/dist/cjs/types/Enum/FollowList.d.ts +0 -6
  10. package/dist/cjs/types/Enum/FollowList.d.ts.map +1 -1
  11. package/dist/cjs/types/Enum/FollowList.js +0 -6
  12. package/dist/cjs/types/Enum/FollowList.js.map +1 -1
  13. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +1 -0
  14. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
  15. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +6 -0
  16. package/dist/cjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
  17. package/dist/cjs/types/Interface/models/IRefund.d.ts +1 -9
  18. package/dist/cjs/types/Interface/models/IRefund.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/models/IRefund.js.map +1 -1
  20. package/dist/cjs/types/index.d.ts +0 -1
  21. package/dist/cjs/types/index.d.ts.map +1 -1
  22. package/dist/cjs/types/index.js +0 -1
  23. package/dist/cjs/types/index.js.map +1 -1
  24. package/dist/mjs/api/resources/Refund.d.ts +1 -29
  25. package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
  26. package/dist/mjs/api/resources/Refund.js +0 -12
  27. package/dist/mjs/api/resources/Refund.js.map +1 -1
  28. package/dist/mjs/api/resources/Society.d.ts +1 -3
  29. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  30. package/dist/mjs/api/resources/Society.js +0 -6
  31. package/dist/mjs/api/resources/Society.js.map +1 -1
  32. package/dist/mjs/types/Enum/FollowList.d.ts +0 -6
  33. package/dist/mjs/types/Enum/FollowList.d.ts.map +1 -1
  34. package/dist/mjs/types/Enum/FollowList.js +0 -6
  35. package/dist/mjs/types/Enum/FollowList.js.map +1 -1
  36. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts +1 -0
  37. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.d.ts.map +1 -1
  38. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js +7 -0
  39. package/dist/mjs/types/Interface/api/webmail/GetPaginatedWhereObjectParams.js.map +1 -1
  40. package/dist/mjs/types/Interface/models/IRefund.d.ts +1 -9
  41. package/dist/mjs/types/Interface/models/IRefund.d.ts.map +1 -1
  42. package/dist/mjs/types/Interface/models/IRefund.js.map +1 -1
  43. package/dist/mjs/types/index.d.ts +0 -1
  44. package/dist/mjs/types/index.d.ts.map +1 -1
  45. package/dist/mjs/types/index.js +0 -1
  46. package/dist/mjs/types/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/ts/api/resources/Refund.ts +1 -17
  49. package/ts/api/resources/Society.ts +0 -11
  50. package/ts/types/Enum/FollowList.ts +0 -6
  51. package/ts/types/Interface/api/webmail/GetPaginatedWhereObjectParams.ts +5 -0
  52. package/ts/types/Interface/models/IRefund.ts +1 -13
  53. package/ts/types/index.ts +0 -1
  54. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +0 -11
  55. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +0 -1
  56. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js +0 -50
  57. package/dist/cjs/types/Interface/api/refund/QueryRefundPaginated.js.map +0 -1
  58. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts +0 -11
  59. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.d.ts.map +0 -1
  60. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js +0 -52
  61. package/dist/mjs/types/Interface/api/refund/QueryRefundPaginated.js.map +0 -1
  62. package/ts/types/Interface/api/refund/QueryRefundPaginated.ts +0 -31
@@ -29,10 +29,8 @@ import {
29
29
  ReadSocietyUnpaidStats,
30
30
  DataCustomersCsv,
31
31
  ReadCurrentPrestations,
32
- IComment,
33
32
  } from '../../types';
34
33
  import { CancelToken } from 'axios';
35
- import { User } from './User';
36
34
 
37
35
  export class Society extends Resource {
38
36
  public get(params: QuerySociety): Promise<ISociety> {
@@ -105,15 +103,6 @@ export class Society extends Resource {
105
103
  getAccountant(): Promise<IUser | null> {
106
104
  return this.axios.$get('/society/accountant');
107
105
  }
108
-
109
- createComment(idSociety: number, payload: Omit<IComment, 'id' | 'idSociety'>): Promise<IComment> {
110
- return this.axios.$post(`/society/${idSociety}/comment`, payload);
111
- }
112
-
113
- updateComment(idComment: number, payload: Partial<IComment>): Promise<IComment> {
114
- return this.axios.$put(`/society/comment/${idComment}`, payload);
115
- }
116
-
117
106
  deleteUser(idSociety: number, idUser: number): Promise<true> {
118
107
  return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);
119
108
  }
@@ -141,10 +141,4 @@ export const FollowList = {
141
141
  hidden: false,
142
142
  color: 'purple lighten-5',
143
143
  },
144
- BILLING_SOFTWARE: {
145
- id: 25,
146
- name: 'Logiciel de facturation',
147
- hidden: false,
148
- color: 'orange lighten-2',
149
- },
150
144
  };
@@ -88,4 +88,9 @@ export class GetPaginatedWhereObjectParams {
88
88
  @IsOptional()
89
89
  @IsInt()
90
90
  idRole?: number;
91
+
92
+ @ApiPropertyOptional()
93
+ @IsOptional()
94
+ @IsInt({ each: true })
95
+ idBrandType?: number[];
91
96
  }
@@ -4,26 +4,16 @@ import { IUser } from './IUser';
4
4
 
5
5
  // refunds
6
6
  export interface IRefund {
7
- idRefund?: number;
7
+ id?: number;
8
8
  amount: number | null;
9
9
  comment: string | null;
10
10
  refundDate: Date | null;
11
- refundAt?: Date | null;
12
11
  processed: boolean;
13
-
14
12
  isAmountChecked?: boolean;
15
-
16
13
  idRefundMotif: number;
17
14
  idSociety: number;
18
15
  idUserDemand: number;
19
- refundBy?: number | null;
20
16
  idFile?: number | null; //non obligatoire désormais, utilisé avant pour rattacher le RIB
21
- idUserAgreement?: number | null;
22
- dateAgreement?: Date | null;
23
-
24
- exceptionalAgreement?: boolean | null;
25
- agreement?: number | null;
26
-
27
17
  createdAt?: Date | null;
28
18
  updatedAt?: Date | null;
29
19
 
@@ -31,6 +21,4 @@ export interface IRefund {
31
21
  society?: ISociety;
32
22
  file?: IFile;
33
23
  userDemand?: IUser;
34
- refundByUser?: IUser;
35
- agreementUser?: IUser;
36
24
  }
package/ts/types/index.ts CHANGED
@@ -1163,4 +1163,3 @@ export * from './Interface/api/regulation/Read';
1163
1163
  export * from './Interface/api/regulation/Create';
1164
1164
  export * from './Interface/api/marketing/NewLeadSheet';
1165
1165
  export * from './Interface/api/ai/AskQuestionCollaborator';
1166
- export * from './Interface/api/refund/QueryRefundPaginated';
@@ -1,11 +0,0 @@
1
- import { RequiredQueryPaginate } from '../BasePaginate';
2
- import { Order } from '../BaseRequest';
3
- export declare class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
4
- search?: string;
5
- year: number;
6
- month?: number;
7
- motif?: number;
8
- orderBy?: string;
9
- descending?: boolean;
10
- }
11
- //# sourceMappingURL=QueryRefundPaginated.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.QueryRefundPaginated = void 0;
13
- const utils_1 = require("../../../../utils");
14
- const BasePaginate_1 = require("../BasePaginate");
15
- const class_validator_1 = require("class-validator");
16
- class QueryRefundPaginated extends BasePaginate_1.RequiredQueryPaginate {
17
- }
18
- exports.QueryRefundPaginated = QueryRefundPaginated;
19
- __decorate([
20
- (0, utils_1.ApiPropertyOptional)(),
21
- __metadata("design:type", String)
22
- ], QueryRefundPaginated.prototype, "search", void 0);
23
- __decorate([
24
- (0, utils_1.ApiProperty)(),
25
- (0, class_validator_1.IsInt)(),
26
- __metadata("design:type", Number)
27
- ], QueryRefundPaginated.prototype, "year", void 0);
28
- __decorate([
29
- (0, utils_1.ApiPropertyOptional)(),
30
- (0, class_validator_1.IsInt)(),
31
- (0, class_validator_1.IsOptional)(),
32
- __metadata("design:type", Number)
33
- ], QueryRefundPaginated.prototype, "month", void 0);
34
- __decorate([
35
- (0, utils_1.ApiPropertyOptional)(),
36
- (0, class_validator_1.IsInt)(),
37
- (0, class_validator_1.IsOptional)(),
38
- __metadata("design:type", Number)
39
- ], QueryRefundPaginated.prototype, "motif", void 0);
40
- __decorate([
41
- (0, utils_1.ApiPropertyOptional)(),
42
- __metadata("design:type", String)
43
- ], QueryRefundPaginated.prototype, "orderBy", void 0);
44
- __decorate([
45
- (0, utils_1.ApiPropertyOptional)(),
46
- (0, class_validator_1.IsBoolean)(),
47
- (0, class_validator_1.IsOptional)(),
48
- __metadata("design:type", Boolean)
49
- ], QueryRefundPaginated.prototype, "descending", void 0);
50
- //# sourceMappingURL=QueryRefundPaginated.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAqE;AACrE,kDAAwD;AAExD,qDAA+D;AAE/D,MAAa,oBAAqB,SAAQ,oCAAqB;CAyB9D;AAzBD,oDAyBC;AAvBC;IADC,IAAA,2BAAmB,GAAE;;oDACN;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;kDACK;AAKb;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACE;AAKf;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mDACE;AAGf;IADC,IAAA,2BAAmB,GAAE;;qDACL;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
@@ -1,11 +0,0 @@
1
- import { RequiredQueryPaginate } from '../BasePaginate';
2
- import { Order } from '../BaseRequest';
3
- export declare class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
4
- search?: string;
5
- year: number;
6
- month?: number;
7
- motif?: number;
8
- orderBy?: string;
9
- descending?: boolean;
10
- }
11
- //# sourceMappingURL=QueryRefundPaginated.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRefundPaginated.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,qBAAa,oBAAqB,SAAQ,qBAAsB,YAAW,KAAK;IAE9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1,52 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
- import { RequiredQueryPaginate } from '../BasePaginate';
12
- import { IsBoolean, IsInt, IsOptional } from 'class-validator';
13
- export class QueryRefundPaginated extends RequiredQueryPaginate {
14
- search;
15
- year;
16
- month;
17
- motif;
18
- orderBy;
19
- descending;
20
- }
21
- __decorate([
22
- ApiPropertyOptional(),
23
- __metadata("design:type", String)
24
- ], QueryRefundPaginated.prototype, "search", void 0);
25
- __decorate([
26
- ApiProperty(),
27
- IsInt(),
28
- __metadata("design:type", Number)
29
- ], QueryRefundPaginated.prototype, "year", void 0);
30
- __decorate([
31
- ApiPropertyOptional(),
32
- IsInt(),
33
- IsOptional(),
34
- __metadata("design:type", Number)
35
- ], QueryRefundPaginated.prototype, "month", void 0);
36
- __decorate([
37
- ApiPropertyOptional(),
38
- IsInt(),
39
- IsOptional(),
40
- __metadata("design:type", Number)
41
- ], QueryRefundPaginated.prototype, "motif", void 0);
42
- __decorate([
43
- ApiPropertyOptional(),
44
- __metadata("design:type", String)
45
- ], QueryRefundPaginated.prototype, "orderBy", void 0);
46
- __decorate([
47
- ApiPropertyOptional(),
48
- IsBoolean(),
49
- IsOptional(),
50
- __metadata("design:type", Boolean)
51
- ], QueryRefundPaginated.prototype, "descending", void 0);
52
- //# sourceMappingURL=QueryRefundPaginated.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRefundPaginated.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/refund/QueryRefundPaginated.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,OAAO,oBAAqB,SAAQ,qBAAqB;IAE7D,MAAM,CAAU;IAIhB,IAAI,CAAS;IAKb,KAAK,CAAU;IAKf,KAAK,CAAU;IAGf,OAAO,CAAU;IAKjB,UAAU,CAAW;CACtB;AAvBC;IADC,mBAAmB,EAAE;;oDACN;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;kDACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAKf;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACE;AAGf;IADC,mBAAmB,EAAE;;qDACL;AAKjB;IAHC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Order } from '../BaseRequest';\nimport { IsBoolean, IsInt, IsOptional } from 'class-validator';\n\nexport class QueryRefundPaginated extends RequiredQueryPaginate implements Order {\n @ApiPropertyOptional()\n search?: string;\n\n @ApiProperty()\n @IsInt()\n year: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n month?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n motif?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n descending?: boolean;\n}\n"]}
@@ -1,31 +0,0 @@
1
- import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
2
- import { RequiredQueryPaginate } from '../BasePaginate';
3
- import { Order } from '../BaseRequest';
4
- import { IsBoolean, IsInt, IsOptional } from 'class-validator';
5
-
6
- export class QueryRefundPaginated extends RequiredQueryPaginate implements Order {
7
- @ApiPropertyOptional()
8
- search?: string;
9
-
10
- @ApiProperty()
11
- @IsInt()
12
- year: number;
13
-
14
- @ApiPropertyOptional()
15
- @IsInt()
16
- @IsOptional()
17
- month?: number;
18
-
19
- @ApiPropertyOptional()
20
- @IsInt()
21
- @IsOptional()
22
- motif?: number;
23
-
24
- @ApiPropertyOptional()
25
- orderBy?: string;
26
-
27
- @ApiPropertyOptional()
28
- @IsBoolean()
29
- @IsOptional()
30
- descending?: boolean;
31
- }