@silexpert/core 1.3.95 → 1.3.96
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/Refund.d.ts +1 -1
- package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/cjs/api/resources/Refund.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/Team.d.ts +1 -15
- package/dist/cjs/api/resources/Team.d.ts.map +1 -1
- package/dist/cjs/api/resources/Team.js +0 -18
- package/dist/cjs/api/resources/Team.js.map +1 -1
- package/dist/cjs/api/resources/User.js +1 -1
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +7 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +4 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -3
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +1 -0
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +6 -0
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts +5 -4
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js +13 -0
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{team/QueryUpdateTeamsForUser.js → society/QueryToArchived.js} +10 -9
- package/dist/cjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Refund.d.ts +1 -1
- package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/mjs/api/resources/Refund.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/Team.d.ts +1 -15
- package/dist/mjs/api/resources/Team.d.ts.map +1 -1
- package/dist/mjs/api/resources/Team.js +0 -18
- package/dist/mjs/api/resources/Team.js.map +1 -1
- package/dist/mjs/api/resources/User.js +1 -1
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +8 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +5 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -3
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +1 -0
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +7 -0
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts +5 -4
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js +14 -0
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{team/QueryUpdateTeamsForUser.js → society/QueryToArchived.js} +11 -10
- package/dist/mjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Refund.ts +1 -1
- package/ts/api/resources/Society.ts +5 -2
- package/ts/api/resources/Team.ts +1 -22
- package/ts/api/resources/User.ts +1 -1
- package/ts/types/Enum/BalanceSheet.ts +2 -2
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +6 -0
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +3 -0
- package/ts/types/Interface/api/config/ConfigType.ts +0 -3
- package/ts/types/Interface/api/registration/CreateRegistration.ts +5 -0
- package/ts/types/Interface/api/shopify/InvoicesShopify.ts +19 -4
- package/ts/types/Interface/api/society/QueryToArchived.ts +10 -0
- package/ts/types/index.ts +1 -1
- package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +0 -4
- package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +0 -1
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +0 -5
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js +0 -28
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +0 -1
- package/dist/cjs/types/Interface/api/team/index.d.ts +0 -6
- package/dist/cjs/types/Interface/api/team/index.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/team/index.js +0 -22
- package/dist/cjs/types/Interface/api/team/index.js.map +0 -1
- package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +0 -4
- package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +0 -1
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +0 -5
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js +0 -26
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +0 -1
- package/dist/mjs/types/Interface/api/team/index.d.ts +0 -6
- package/dist/mjs/types/Interface/api/team/index.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/team/index.js +0 -6
- package/dist/mjs/types/Interface/api/team/index.js.map +0 -1
- package/ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts +0 -9
- package/ts/types/Interface/api/team/QueryUpdateUserTeam.ts +0 -12
- package/ts/types/Interface/api/team/index.ts +0 -5
package/ts/api/resources/Team.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { ITeam, QueryCreateTeam, QueryGetAllTeamsWithIncludes, QueryUpdateTeam
|
|
2
|
+
import { ITeam, QueryCreateTeam, QueryGetAllTeamsWithIncludes, QueryUpdateTeam } from '../../types';
|
|
3
3
|
|
|
4
4
|
export class Team extends Resource {
|
|
5
5
|
/**
|
|
@@ -27,7 +27,6 @@ export class Team extends Resource {
|
|
|
27
27
|
delete(id: number): Promise<number> {
|
|
28
28
|
return this.axios.$delete(`/teams/${id}`);
|
|
29
29
|
}
|
|
30
|
-
|
|
31
30
|
/**
|
|
32
31
|
* Should return all records in Team table with includes
|
|
33
32
|
* @param { QueryGetAllTeamsWithIncludes } params
|
|
@@ -36,24 +35,4 @@ export class Team extends Resource {
|
|
|
36
35
|
getAll(params: QueryGetAllTeamsWithIncludes): Promise<ITeam[]> {
|
|
37
36
|
return this.axios.$get('/teams/all', { params });
|
|
38
37
|
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Should update teams for a specific user
|
|
42
|
-
* @param { number } userId
|
|
43
|
-
* @param { QueryUpdateTeamsForUser } payload
|
|
44
|
-
* @returns { IUserTeam[] }
|
|
45
|
-
*/
|
|
46
|
-
updateTeamsForUser(userId: number, payload: QueryUpdateTeamsForUser): Promise<IUserTeam[]> {
|
|
47
|
-
return this.axios.$put(`/teams/user/${userId}/teams`, payload);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Should delete an user attach to a team
|
|
52
|
-
* @param { number } teamId
|
|
53
|
-
* @param { number } userId
|
|
54
|
-
* @returns { number }
|
|
55
|
-
*/
|
|
56
|
-
deleteUserFromTeam(teamId: number, userId: number): Promise<number> {
|
|
57
|
-
return this.axios.$delete(`/teams/${teamId}/user/${userId}`);
|
|
58
|
-
}
|
|
59
38
|
}
|
package/ts/api/resources/User.ts
CHANGED
|
@@ -30,7 +30,7 @@ export class User extends Resource {
|
|
|
30
30
|
return this.axios.$put('user/confirm', params);
|
|
31
31
|
}
|
|
32
32
|
resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {
|
|
33
|
-
return this.axios.$put(`user/${params.id}/
|
|
33
|
+
return this.axios.$put(`user/${params.id}/send-confirmation-mail`);
|
|
34
34
|
}
|
|
35
35
|
create(data: CreateUser): Promise<IUser> {
|
|
36
36
|
return this.axios.$post('user/create', data);
|
|
@@ -164,7 +164,7 @@ export const BalanceSheetDetails = [
|
|
|
164
164
|
text: 'Standby',
|
|
165
165
|
color: 'grey lighten-1',
|
|
166
166
|
textColor: 'grey--text',
|
|
167
|
-
forRoles: [['admin'], ['super_admin'], ['controle_interne']],
|
|
167
|
+
forRoles: [['admin'], ['super_admin'], ['controle_interne'], ['satisfaction']],
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
text: 'Impayé',
|
|
@@ -229,7 +229,7 @@ export const BalanceSheetDetails = [
|
|
|
229
229
|
value: BalanceSheetState.FIX_IN_PROGRESS,
|
|
230
230
|
color: 'blue darken-4',
|
|
231
231
|
textColor: 'blue--text',
|
|
232
|
-
forRoles: [['front_office'], ['expert']],
|
|
232
|
+
forRoles: [['front_office'], ['expert'], ['satisfaction']],
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
text: "Accepté SIE en l'état",
|
|
@@ -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;
|
|
@@ -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
|
-
|
|
7
|
+
@IsOptional()
|
|
8
|
+
order?: string;
|
|
9
|
+
|
|
6
10
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
11
|
+
@IsOptional()
|
|
12
|
+
limit?: number;
|
|
13
|
+
|
|
8
14
|
@ApiPropertyOptional()
|
|
9
|
-
|
|
15
|
+
@IsOptional()
|
|
16
|
+
ids?: number[];
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
idSociety?: number;
|
|
21
|
+
|
|
10
22
|
@ApiPropertyOptional()
|
|
11
|
-
|
|
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
|
+
}
|
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';
|
|
@@ -1058,6 +1057,7 @@ export * from './Interface/api/accountsSectors/Query';
|
|
|
1058
1057
|
export * from './Interface/api/visualizedInformation/Query';
|
|
1059
1058
|
export * from './Interface/api/visualizedInformation/Update';
|
|
1060
1059
|
export * from './Interface/api/society/QueryArchived';
|
|
1060
|
+
export * from './Interface/api/society/QueryToArchived';
|
|
1061
1061
|
export * from './Interface/api/society/QueryUnpaid';
|
|
1062
1062
|
export * from './Interface/api/vatControl/CreateVatControl';
|
|
1063
1063
|
export * from './Interface/api/vatControl/QueryVatControl';
|
|
@@ -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 +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 +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 +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 +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 +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 +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
|
-
}
|