@silexpert/core 1.3.95 → 1.3.96-0

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 (167) hide show
  1. package/dist/cjs/api/resources/BalanceSheetReport.d.ts +10 -0
  2. package/dist/cjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  3. package/dist/cjs/api/resources/BalanceSheetReport.js +23 -0
  4. package/dist/cjs/api/resources/BalanceSheetReport.js.map +1 -0
  5. package/dist/cjs/api/resources/Refund.d.ts +1 -1
  6. package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Refund.js.map +1 -1
  8. package/dist/cjs/api/resources/Society.d.ts +2 -1
  9. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  10. package/dist/cjs/api/resources/Society.js +3 -0
  11. package/dist/cjs/api/resources/Society.js.map +1 -1
  12. package/dist/cjs/api/resources/Team.d.ts +1 -15
  13. package/dist/cjs/api/resources/Team.d.ts.map +1 -1
  14. package/dist/cjs/api/resources/Team.js +0 -18
  15. package/dist/cjs/api/resources/Team.js.map +1 -1
  16. package/dist/cjs/api/resources.d.ts +2 -0
  17. package/dist/cjs/api/resources.d.ts.map +1 -1
  18. package/dist/cjs/api/resources.js +2 -0
  19. package/dist/cjs/api/resources.js.map +1 -1
  20. package/dist/cjs/types/Enum/BalanceSheet.d.ts +2 -2
  21. package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
  22. package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
  23. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  24. package/dist/cjs/types/Enum/PrestationType.js +29 -22
  25. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  26. package/dist/cjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  27. package/dist/cjs/types/Enum/SalesContractBrandClementine.js +22 -7
  28. package/dist/cjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  29. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
  30. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  31. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +7 -0
  32. package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  33. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  34. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  35. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js +207 -0
  36. package/dist/cjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  37. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
  38. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
  39. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +4 -0
  40. package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
  41. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -3
  42. package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  43. package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
  44. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +1 -0
  45. package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  46. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +6 -0
  47. package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  48. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts +5 -4
  49. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
  50. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js +13 -0
  51. package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  52. package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
  53. package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
  54. package/dist/cjs/types/Interface/api/{team/QueryUpdateTeamsForUser.js → society/QueryToArchived.js} +10 -9
  55. package/dist/cjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
  56. package/dist/cjs/types/Interface/models/IAttestation.d.ts +20 -18
  57. package/dist/cjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  58. package/dist/cjs/types/Interface/models/IAttestation.js.map +1 -1
  59. package/dist/cjs/types/index.d.ts +2 -1
  60. package/dist/cjs/types/index.d.ts.map +1 -1
  61. package/dist/cjs/types/index.js +2 -1
  62. package/dist/cjs/types/index.js.map +1 -1
  63. package/dist/mjs/api/resources/BalanceSheetReport.d.ts +10 -0
  64. package/dist/mjs/api/resources/BalanceSheetReport.d.ts.map +1 -0
  65. package/dist/mjs/api/resources/BalanceSheetReport.js +22 -0
  66. package/dist/mjs/api/resources/BalanceSheetReport.js.map +1 -0
  67. package/dist/mjs/api/resources/Refund.d.ts +1 -1
  68. package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
  69. package/dist/mjs/api/resources/Refund.js.map +1 -1
  70. package/dist/mjs/api/resources/Society.d.ts +2 -1
  71. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  72. package/dist/mjs/api/resources/Society.js +3 -0
  73. package/dist/mjs/api/resources/Society.js.map +1 -1
  74. package/dist/mjs/api/resources/Team.d.ts +1 -15
  75. package/dist/mjs/api/resources/Team.d.ts.map +1 -1
  76. package/dist/mjs/api/resources/Team.js +0 -18
  77. package/dist/mjs/api/resources/Team.js.map +1 -1
  78. package/dist/mjs/api/resources.d.ts +2 -0
  79. package/dist/mjs/api/resources.d.ts.map +1 -1
  80. package/dist/mjs/api/resources.js +2 -0
  81. package/dist/mjs/api/resources.js.map +1 -1
  82. package/dist/mjs/types/Enum/BalanceSheet.d.ts +2 -2
  83. package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
  84. package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
  85. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  86. package/dist/mjs/types/Enum/PrestationType.js +29 -22
  87. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  88. package/dist/mjs/types/Enum/SalesContractBrandClementine.d.ts.map +1 -1
  89. package/dist/mjs/types/Enum/SalesContractBrandClementine.js +22 -7
  90. package/dist/mjs/types/Enum/SalesContractBrandClementine.js.map +1 -1
  91. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
  92. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
  93. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +8 -0
  94. package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
  95. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts +40 -0
  96. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.d.ts.map +1 -0
  97. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js +200 -0
  98. package/dist/mjs/types/Interface/api/balanceSheetReport/Query.js.map +1 -0
  99. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
  100. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
  101. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +5 -0
  102. package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
  103. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -3
  104. package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  105. package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
  106. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +1 -0
  107. package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
  108. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +7 -0
  109. package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
  110. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts +5 -4
  111. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
  112. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js +14 -0
  113. package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
  114. package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
  115. package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
  116. package/dist/mjs/types/Interface/api/{team/QueryUpdateTeamsForUser.js → society/QueryToArchived.js} +11 -10
  117. package/dist/mjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
  118. package/dist/mjs/types/Interface/models/IAttestation.d.ts +20 -18
  119. package/dist/mjs/types/Interface/models/IAttestation.d.ts.map +1 -1
  120. package/dist/mjs/types/Interface/models/IAttestation.js.map +1 -1
  121. package/dist/mjs/types/index.d.ts +2 -1
  122. package/dist/mjs/types/index.d.ts.map +1 -1
  123. package/dist/mjs/types/index.js +2 -1
  124. package/dist/mjs/types/index.js.map +1 -1
  125. package/package.json +14 -14
  126. package/ts/api/resources/BalanceSheetReport.ts +36 -0
  127. package/ts/api/resources/Refund.ts +1 -1
  128. package/ts/api/resources/Society.ts +5 -2
  129. package/ts/api/resources/Team.ts +1 -22
  130. package/ts/api/resources.ts +2 -0
  131. package/ts/types/Enum/BalanceSheet.ts +2 -2
  132. package/ts/types/Enum/PrestationType.ts +29 -22
  133. package/ts/types/Enum/SalesContractBrandClementine.ts +22 -7
  134. package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +6 -0
  135. package/ts/types/Interface/api/balanceSheetReport/Query.ts +160 -0
  136. package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +3 -0
  137. package/ts/types/Interface/api/config/ConfigType.ts +0 -3
  138. package/ts/types/Interface/api/registration/CreateRegistration.ts +5 -0
  139. package/ts/types/Interface/api/shopify/InvoicesShopify.ts +19 -4
  140. package/ts/types/Interface/api/society/QueryToArchived.ts +10 -0
  141. package/ts/types/Interface/models/IAttestation.ts +20 -18
  142. package/ts/types/index.ts +2 -1
  143. package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +0 -4
  144. package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +0 -1
  145. package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +0 -1
  146. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +0 -5
  147. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +0 -1
  148. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js +0 -28
  149. package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +0 -1
  150. package/dist/cjs/types/Interface/api/team/index.d.ts +0 -6
  151. package/dist/cjs/types/Interface/api/team/index.d.ts.map +0 -1
  152. package/dist/cjs/types/Interface/api/team/index.js +0 -22
  153. package/dist/cjs/types/Interface/api/team/index.js.map +0 -1
  154. package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +0 -4
  155. package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +0 -1
  156. package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +0 -1
  157. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +0 -5
  158. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +0 -1
  159. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js +0 -26
  160. package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +0 -1
  161. package/dist/mjs/types/Interface/api/team/index.d.ts +0 -6
  162. package/dist/mjs/types/Interface/api/team/index.d.ts.map +0 -1
  163. package/dist/mjs/types/Interface/api/team/index.js +0 -6
  164. package/dist/mjs/types/Interface/api/team/index.js.map +0 -1
  165. package/ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts +0 -9
  166. package/ts/types/Interface/api/team/QueryUpdateUserTeam.ts +0 -12
  167. package/ts/types/Interface/api/team/index.ts +0 -5
@@ -135,7 +135,6 @@ interface Shine {
135
135
  hostV3: string;
136
136
  publicHost: string;
137
137
  clientId: string;
138
- clientSecret: string;
139
138
  redirect_uris: string[];
140
139
  status: string;
141
140
  scope: string;
@@ -186,7 +185,6 @@ interface Access2 {
186
185
 
187
186
  interface Test {
188
187
  login: string;
189
- password: string;
190
188
  editor: string;
191
189
  software: string;
192
190
  wsdl: Wsdl;
@@ -198,7 +196,6 @@ interface Wsdl {
198
196
 
199
197
  interface Production {
200
198
  login: string;
201
- password: string;
202
199
  editor: string;
203
200
  software: string;
204
201
  wsdl: Wsdl2;
@@ -245,6 +245,11 @@ export class CreateAndSendVatMail {
245
245
  @ApiProperty()
246
246
  @IsArray()
247
247
  idFiles: number[];
248
+
249
+ @ApiPropertyOptional()
250
+ @IsNumber()
251
+ @IsOptional()
252
+ sendByUserId?: number;
248
253
  }
249
254
 
250
255
  export class DownloadExternalFile {
@@ -1,12 +1,27 @@
1
+ import { IsBoolean, IsOptional } from 'class-validator';
1
2
  import { ApiPropertyOptional } from '../../../../utils';
3
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
2
4
 
3
5
  export class InvoicesShopify {
4
6
  @ApiPropertyOptional()
5
- order: string;
7
+ @IsOptional()
8
+ order?: string;
9
+
6
10
  @ApiPropertyOptional()
7
- limit: number;
11
+ @IsOptional()
12
+ limit?: number;
13
+
8
14
  @ApiPropertyOptional()
9
- ids: number[];
15
+ @IsOptional()
16
+ ids?: number[];
17
+
18
+ @ApiPropertyOptional()
19
+ @IsOptional()
20
+ idSociety?: number;
21
+
10
22
  @ApiPropertyOptional()
11
- idSociety: number;
23
+ @IsOptional()
24
+ @IsBoolean()
25
+ @ToBoolean()
26
+ debug?: boolean;
12
27
  }
@@ -0,0 +1,10 @@
1
+ import { IsOptional, IsString } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+ import { RequiredQueryPaginate } from '../BasePaginate';
4
+
5
+ export class QueryToArchivedSociety extends RequiredQueryPaginate {
6
+ @ApiPropertyOptional()
7
+ @IsOptional()
8
+ @IsString()
9
+ search?: string;
10
+ }
@@ -14,27 +14,29 @@ export interface IAttestation {
14
14
  idExercice: number | null;
15
15
  idSociety: number | null;
16
16
  idSupervisor: number | null;
17
- idUserDemand: number | null;
18
- idPaymentExpectation: number | null;
19
- idFile: number | null;
17
+ idUserDemand?: number | null;
18
+ idPaymentExpectation?: number | null;
19
+ idFile?: number | null;
20
20
  annoted: boolean;
21
- sendDate: Date | null;
22
- textPdf: string | null;
23
- isSign: boolean | null;
24
- done: boolean | null;
25
- idMailPayment: number | null;
26
- idMailValidation: number | null;
21
+ factured: number;
22
+ sendDate?: Date | null;
23
+ textPdf?: string | null;
24
+ isSign?: boolean | null;
25
+ done?: boolean | null;
26
+ idMailPayment?: number | null;
27
+ idMailValidation?: number | null;
28
+ fileLink?: string;
27
29
  createdAt?: Date | null;
28
30
  updatedAt?: Date | null;
29
31
 
30
32
  // Associations
31
- attestationSupervisor: IUser;
32
- attestationUserDemand: IUser;
33
- prestationsList: IPrestationList;
34
- attestationPaymentExpectation: IPaymentExpectation;
35
- attestationFiles: IFile;
36
- society: ISociety;
37
- exercices: IExercice;
38
- paymentMail: IMail;
39
- validationMail: IMail;
33
+ attestationSupervisor?: IUser | null;
34
+ attestationUserDemand?: IUser | null;
35
+ prestationsList?: IPrestationList;
36
+ attestationPaymentExpectation?: IPaymentExpectation | null;
37
+ attestationFiles?: IFile | null;
38
+ society?: ISociety | null;
39
+ exercices?: IExercice | null;
40
+ paymentMail?: IMail | null;
41
+ validationMail?: IMail | null;
40
42
  }
package/ts/types/index.ts CHANGED
@@ -770,7 +770,6 @@ export * from './Interface/api/inpi/inpi';
770
770
  export * from './Interface/api/team/QueryCreate';
771
771
  export * from './Interface/api/team/QueryGetAllWithIncludes';
772
772
  export * from './Interface/api/team/QueryUpdate';
773
- export * from './Interface/api/team/QueryUpdateTeamsForUser';
774
773
  export * from './Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory';
775
774
  export * from './Interface/api/userSpecialDay/BodyUserSpecialDay';
776
775
  export * from './Interface/api/userSpecialDay/QueryUserSpecialDay';
@@ -827,6 +826,7 @@ export * from './Interface/api/pappers/CreatePappers';
827
826
  export * from './Interface/api/bankAccount/Query';
828
827
  export * from './Interface/api/bankAccount/Update';
829
828
  export * from './Interface/api/stripe/QueryStripe';
829
+ export * from './Interface/api/balanceSheetReport/Query';
830
830
  export * from './Interface/api/supervision/Query';
831
831
  export * from './Interface/api/supervision/Read';
832
832
  export * from './Interface/api/salariesFile/ReadSalariesFile';
@@ -1058,6 +1058,7 @@ export * from './Interface/api/accountsSectors/Query';
1058
1058
  export * from './Interface/api/visualizedInformation/Query';
1059
1059
  export * from './Interface/api/visualizedInformation/Update';
1060
1060
  export * from './Interface/api/society/QueryArchived';
1061
+ export * from './Interface/api/society/QueryToArchived';
1061
1062
  export * from './Interface/api/society/QueryUnpaid';
1062
1063
  export * from './Interface/api/vatControl/CreateVatControl';
1063
1064
  export * from './Interface/api/vatControl/QueryVatControl';
@@ -1,4 +0,0 @@
1
- export declare class QueryUpdateTeamsForUser {
2
- teamIds: number[];
3
- }
4
- //# sourceMappingURL=QueryUpdateTeamsForUser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateTeamsForUser.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAIlC,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateTeamsForUser.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AACpD,6CAAgD;AAEhD,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AADC;IAHC,IAAA,mBAAW,EAAC,EAAE,WAAW,EAAE,yCAAyC,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;IACvF,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACX","sourcesContent":["import { IsArray, IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryUpdateTeamsForUser {\n @ApiProperty({ description: 'Array of team IDs to assign to the user', type: [Number] })\n @IsArray()\n @IsNumber({}, { each: true })\n teamIds: number[];\n}\n"]}
@@ -1,5 +0,0 @@
1
- export declare class QueryUpdateUserTeam {
2
- userId: number;
3
- toTeamId: number;
4
- }
5
- //# sourceMappingURL=QueryUpdateUserTeam.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateUserTeam.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateUserTeam.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;IAG9B,MAAM,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1,28 +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.QueryUpdateUserTeam = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const utils_1 = require("../../../../utils");
15
- class QueryUpdateUserTeam {
16
- }
17
- exports.QueryUpdateUserTeam = QueryUpdateUserTeam;
18
- __decorate([
19
- (0, utils_1.ApiProperty)(),
20
- (0, class_validator_1.IsNumber)(),
21
- __metadata("design:type", Number)
22
- ], QueryUpdateUserTeam.prototype, "userId", void 0);
23
- __decorate([
24
- (0, utils_1.ApiProperty)(),
25
- (0, class_validator_1.IsNumber)(),
26
- __metadata("design:type", Number)
27
- ], QueryUpdateUserTeam.prototype, "toTeamId", void 0);
28
- //# sourceMappingURL=QueryUpdateUserTeam.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateUserTeam.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateUserTeam.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAC3C,6CAAgD;AAEhD,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;mDACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACM","sourcesContent":["import { IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryUpdateUserTeam {\n @ApiProperty()\n @IsNumber()\n userId: number;\n\n @ApiProperty()\n @IsNumber()\n toTeamId: number;\n}\n"]}
@@ -1,6 +0,0 @@
1
- export * from './QueryCreate';
2
- export * from './QueryUpdate';
3
- export * from './QueryUpdateUserTeam';
4
- export * from './QueryGetAllWithIncludes';
5
- export * from './QueryUpdateTeamsForUser';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./QueryCreate"), exports);
18
- __exportStar(require("./QueryUpdate"), exports);
19
- __exportStar(require("./QueryUpdateUserTeam"), exports);
20
- __exportStar(require("./QueryGetAllWithIncludes"), exports);
21
- __exportStar(require("./QueryUpdateTeamsForUser"), exports);
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,4DAA0C;AAC1C,4DAA0C","sourcesContent":["export * from './QueryCreate';\nexport * from './QueryUpdate';\nexport * from './QueryUpdateUserTeam';\nexport * from './QueryGetAllWithIncludes';\nexport * from './QueryUpdateTeamsForUser';\n"]}
@@ -1,4 +0,0 @@
1
- export declare class QueryUpdateTeamsForUser {
2
- teamIds: number[];
3
- }
4
- //# sourceMappingURL=QueryUpdateTeamsForUser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateTeamsForUser.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAIlC,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateTeamsForUser.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,uBAAuB;IAIlC,OAAO,CAAW;CACnB;AADC;IAHC,WAAW,CAAC,EAAE,WAAW,EAAE,yCAAyC,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;IACvF,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACX","sourcesContent":["import { IsArray, IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryUpdateTeamsForUser {\n @ApiProperty({ description: 'Array of team IDs to assign to the user', type: [Number] })\n @IsArray()\n @IsNumber({}, { each: true })\n teamIds: number[];\n}\n"]}
@@ -1,5 +0,0 @@
1
- export declare class QueryUpdateUserTeam {
2
- userId: number;
3
- toTeamId: number;
4
- }
5
- //# sourceMappingURL=QueryUpdateUserTeam.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateUserTeam.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateUserTeam.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;IAG9B,MAAM,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1,26 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsNumber } from 'class-validator';
11
- import { ApiProperty } from '../../../../utils';
12
- export class QueryUpdateUserTeam {
13
- userId;
14
- toTeamId;
15
- }
16
- __decorate([
17
- ApiProperty(),
18
- IsNumber(),
19
- __metadata("design:type", Number)
20
- ], QueryUpdateUserTeam.prototype, "userId", void 0);
21
- __decorate([
22
- ApiProperty(),
23
- IsNumber(),
24
- __metadata("design:type", Number)
25
- ], QueryUpdateUserTeam.prototype, "toTeamId", void 0);
26
- //# sourceMappingURL=QueryUpdateUserTeam.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryUpdateUserTeam.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/QueryUpdateUserTeam.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,mBAAmB;IAG9B,MAAM,CAAS;IAIf,QAAQ,CAAS;CAClB;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACI;AAIf;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACM","sourcesContent":["import { IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryUpdateUserTeam {\n @ApiProperty()\n @IsNumber()\n userId: number;\n\n @ApiProperty()\n @IsNumber()\n toTeamId: number;\n}\n"]}
@@ -1,6 +0,0 @@
1
- export * from './QueryCreate';
2
- export * from './QueryUpdate';
3
- export * from './QueryUpdateUserTeam';
4
- export * from './QueryGetAllWithIncludes';
5
- export * from './QueryUpdateTeamsForUser';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from './QueryCreate';
2
- export * from './QueryUpdate';
3
- export * from './QueryUpdateUserTeam';
4
- export * from './QueryGetAllWithIncludes';
5
- export * from './QueryUpdateTeamsForUser';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/team/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './QueryCreate';\nexport * from './QueryUpdate';\nexport * from './QueryUpdateUserTeam';\nexport * from './QueryGetAllWithIncludes';\nexport * from './QueryUpdateTeamsForUser';\n"]}
@@ -1,9 +0,0 @@
1
- import { IsArray, IsNumber } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
-
4
- export class QueryUpdateTeamsForUser {
5
- @ApiProperty({ description: 'Array of team IDs to assign to the user', type: [Number] })
6
- @IsArray()
7
- @IsNumber({}, { each: true })
8
- teamIds: number[];
9
- }
@@ -1,12 +0,0 @@
1
- import { IsNumber } from 'class-validator';
2
- import { ApiProperty } from '../../../../utils';
3
-
4
- export class QueryUpdateUserTeam {
5
- @ApiProperty()
6
- @IsNumber()
7
- userId: number;
8
-
9
- @ApiProperty()
10
- @IsNumber()
11
- toTeamId: number;
12
- }
@@ -1,5 +0,0 @@
1
- export * from './QueryCreate';
2
- export * from './QueryUpdate';
3
- export * from './QueryUpdateUserTeam';
4
- export * from './QueryGetAllWithIncludes';
5
- export * from './QueryUpdateTeamsForUser';