@silexpert/core 1.3.29 → 1.3.30-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.
- package/dist/cjs/api/resources/Subscription.d.ts +25 -4
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +34 -8
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +16 -0
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- 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/stripe/Create.d.ts +4 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +10 -3
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +2 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js +11 -7
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.js +1 -0
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +25 -4
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +34 -8
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +16 -0
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- 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/stripe/Create.d.ts +4 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +9 -2
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +3 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js +11 -7
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.js +1 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Subscription.ts +41 -11
- package/ts/types/Enum/BrandClementine.ts +16 -0
- package/ts/types/Enum/TimeSlot.ts +1 -1
- package/ts/types/Interface/api/cerfa/2031.ts +1 -0
- package/ts/types/Interface/api/cerfa/2035.ts +6 -1
- package/ts/types/Interface/api/cerfa/2065.ts +1 -0
- package/ts/types/Interface/api/cerfa/2069RCI.ts +1 -0
- package/ts/types/Interface/api/cerfa/2571.ts +1 -0
- package/ts/types/Interface/api/cerfa/2572.ts +1 -0
- package/ts/types/Interface/api/cerfa/2573.ts +1 -0
- package/ts/types/Interface/api/config/ConfigType.ts +0 -16
- package/ts/types/Interface/api/stripe/Create.ts +8 -3
- package/ts/types/Interface/api/stripe/QueryStripe.ts +3 -1
- package/ts/types/Interface/api/user/CreateCoworker.ts +11 -7
- package/ts/types/Interface/api/user/Query.ts +7 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,YAAY;IAEvB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,wBA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O,EAAE;;+CACQ","sourcesContent":["import { IsArray, IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { WhereOptions } from 'sequelize';\nimport { ISociety } from '../../models/ISociety';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true })\n include?: string[];\n}\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTimeCounterType?: number;\n\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}\n\nexport class QueryGetAllFromSociety {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n\n @ApiProperty({\n description: 'array of roles id needed to return list of users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n @IsArray()\n roles: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n usersNotInBusinessPartner?: boolean;\n}\n\nexport class QueryGetAllWithoutBp {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n}\n\nexport class QueryResendConfirmationLink {\n @ApiProperty()\n id: number;\n}\n\nexport class GetSocietyFromUser {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayArchived?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyLabAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n attributes?: Extract<keyof ISociety, string>[];\n\n @ApiPropertyOptional({\n default: ['societyConfig', 'brandType', 'societyGescom', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'connector', 'permissions']\n })\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['societyConfig', 'brandType', 'societyGescom', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'connector', 'permissions', 'societyDetails'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n where?: WhereOptions<ISociety>;\n}\n\nexport class QueryUpdatePassword {\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n id?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string | null;\n}\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}\n\nexport class QueryUserExport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateEnd?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n archive?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n week?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idTypeSubscription?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n reason?: number[];\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.30-0",
|
|
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",
|
|
@@ -3,27 +3,57 @@ import {
|
|
|
3
3
|
RetrieveUpcomingInvoiceParams,
|
|
4
4
|
ReadUpcomingInvoice,
|
|
5
5
|
QueryStripeSession,
|
|
6
|
+
CreateSubscriptionSession,
|
|
6
7
|
CreateStripePortals,
|
|
7
8
|
} from '../../types';
|
|
8
9
|
import Stripe from 'stripe';
|
|
9
10
|
|
|
10
11
|
export class Subscription extends Resource {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Retourne les offres Stripe actives
|
|
14
|
+
* Attention : les montants sont retournés x100
|
|
15
|
+
*/
|
|
16
|
+
getAllOffers(): Promise<Stripe.Price[]> {
|
|
17
|
+
return this.axios.$get('/stripe/subscriptions/offers');
|
|
13
18
|
}
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Créé une session Stripe avec les informations client
|
|
22
|
+
* Attention : les montants sont retournés x100
|
|
23
|
+
*/
|
|
24
|
+
createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {
|
|
25
|
+
return this.axios.$post('/stripe/subscriptions/sessions', payload);
|
|
17
26
|
}
|
|
18
27
|
|
|
19
|
-
|
|
20
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Créé un portail Stripe permettant de gérer l'abonnement
|
|
30
|
+
* Attention : les montants sont retournés x100
|
|
31
|
+
*/
|
|
32
|
+
createPortal(payload: CreateStripePortals): Promise<string> {
|
|
33
|
+
return this.axios.$post('/stripe/subscriptions/portals', payload);
|
|
21
34
|
}
|
|
22
35
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Retourne l'abonnement Stripe de la société courante
|
|
38
|
+
* Attention : les montants sont retournés x100
|
|
39
|
+
*/
|
|
40
|
+
get(): Promise<Stripe.Response<Stripe.Subscription> | null> {
|
|
41
|
+
return this.axios.$get('/stripe/subscriptions');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Retourne les informations de la prochaine facture Stripe
|
|
46
|
+
*/
|
|
47
|
+
retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice> {
|
|
48
|
+
return this.axios.$get('/stripe/subscriptions/next-invoice', { params });
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* -------------- */
|
|
52
|
+
|
|
53
|
+
createComptalibSession(
|
|
54
|
+
idSociety: number,
|
|
55
|
+
body: QueryStripeSession,
|
|
56
|
+
): Promise<Stripe.Response<Stripe.Checkout.Session>> {
|
|
57
|
+
return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
|
|
28
58
|
}
|
|
29
59
|
}
|
|
@@ -266,6 +266,22 @@ export const BrandClementine: Brand[] = [
|
|
|
266
266
|
vatIntracom: 'FR47752566687',
|
|
267
267
|
email: 'facturation@clementine.fr',
|
|
268
268
|
},
|
|
269
|
+
companyInformation: {
|
|
270
|
+
ape: '6920Z',
|
|
271
|
+
bp: 'CS 31029',
|
|
272
|
+
city: 'LAXOU CEDEX',
|
|
273
|
+
montantCapital: '500 000',
|
|
274
|
+
nomRaisonSociale: 'EXPERTISE CHOIX B',
|
|
275
|
+
ECName: 'M. Jean-Louis BOICHÉ',
|
|
276
|
+
ECOrderCity: 'Nancy',
|
|
277
|
+
ECDepartment: 'Lorraine',
|
|
278
|
+
ECPosition: 'Président',
|
|
279
|
+
phone: '03 83 93 14 14',
|
|
280
|
+
postalAddress: '9 AVENUE DU RHIN',
|
|
281
|
+
rcs: '752 566 687',
|
|
282
|
+
statut: 'SAS',
|
|
283
|
+
zipCode: '54 521',
|
|
284
|
+
},
|
|
269
285
|
},
|
|
270
286
|
{
|
|
271
287
|
idTypeBrand: 6,
|
|
@@ -315,7 +315,7 @@ export const TimeSlotDetail: TimeSlotDetailType[] = [
|
|
|
315
315
|
internalName: 'Rdv droit des sociétés et multi-modifications',
|
|
316
316
|
category: TimeSlotCategoryDetail.find((c) => c.id === TimeSlotCategory.JURIDIC)?.name,
|
|
317
317
|
duration: 60,
|
|
318
|
-
idRole: [Role.JURIDIC
|
|
318
|
+
idRole: [Role.JURIDIC],
|
|
319
319
|
idRoleExcluded: [Role.DIRECTOR],
|
|
320
320
|
forWholeService: true,
|
|
321
321
|
idTimeCounterType: TimeCounterType.CALENDLY.id,
|
|
@@ -52,7 +52,12 @@ export type FullCerfa2035_2025 = Cerfa2035_2025 & Cerfa2035WithSuites_2025;
|
|
|
52
52
|
|
|
53
53
|
export type AnyCerfa2035Century = FullCerfa2035 | FullCerfa2035_2024 | FullCerfa2035_2025;
|
|
54
54
|
|
|
55
|
-
export type Prepare2035Params = {
|
|
55
|
+
export type Prepare2035Params = {
|
|
56
|
+
idSociety: number;
|
|
57
|
+
idUser: number;
|
|
58
|
+
idExercice: number;
|
|
59
|
+
values: FullCerfa2035 | FullCerfa2035_2024;
|
|
60
|
+
};
|
|
56
61
|
|
|
57
62
|
export interface Cerfa2035ProfessionalRecipes {
|
|
58
63
|
collected: number;
|
|
@@ -13,9 +13,6 @@ export interface ConfigType {
|
|
|
13
13
|
comptaclementineTest: ComptaclementineTest;
|
|
14
14
|
bred: Bred;
|
|
15
15
|
awsClementine: AwsClementine;
|
|
16
|
-
stripe: Stripe;
|
|
17
|
-
stripeECB: StripeEcb;
|
|
18
|
-
stripeStatuts: StripeStatuts;
|
|
19
16
|
mail: Mail;
|
|
20
17
|
client: Client;
|
|
21
18
|
twilio: Twilio;
|
|
@@ -155,19 +152,6 @@ export interface AwsClementine {
|
|
|
155
152
|
apiVersion: string;
|
|
156
153
|
}
|
|
157
154
|
|
|
158
|
-
export interface Stripe {
|
|
159
|
-
secretKey: string;
|
|
160
|
-
secretKeyTestToDelete: string;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export interface StripeEcb {
|
|
164
|
-
secretKey: string;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
export interface StripeStatuts {
|
|
168
|
-
secretKey: string;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
155
|
export interface Mail {
|
|
172
156
|
user: string;
|
|
173
157
|
password: string;
|
|
@@ -8,10 +8,9 @@ export class CreateStripeConnection {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export class CreateStripePortals {
|
|
11
|
-
@
|
|
11
|
+
@ApiProperty()
|
|
12
12
|
@IsString()
|
|
13
|
-
|
|
14
|
-
stripeCustomerId?: string;
|
|
13
|
+
stripeCustomerId: string;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
export class CreateImportTransactionForSociety {
|
|
@@ -25,3 +24,9 @@ export class CreateImportTransactionForSociety {
|
|
|
25
24
|
@IsOptional()
|
|
26
25
|
endDate?: Date;
|
|
27
26
|
}
|
|
27
|
+
|
|
28
|
+
export class CreateSubscriptionSession {
|
|
29
|
+
@ApiProperty()
|
|
30
|
+
@IsString()
|
|
31
|
+
priceId: string;
|
|
32
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
5
5
|
export class RetrieveUpcomingInvoiceParams {
|
|
6
6
|
@ApiProperty()
|
|
7
|
+
@IsString()
|
|
7
8
|
customerId: string;
|
|
8
9
|
|
|
9
10
|
@ApiProperty()
|
|
11
|
+
@IsString()
|
|
10
12
|
subscriptionId: string;
|
|
11
13
|
}
|
|
12
14
|
|
|
@@ -52,16 +52,17 @@ export class CreateCoworker {
|
|
|
52
52
|
idCivility?: number;
|
|
53
53
|
|
|
54
54
|
@ApiProperty({ default: true })
|
|
55
|
-
@
|
|
55
|
+
@IsBoolean()
|
|
56
56
|
@ToBoolean()
|
|
57
57
|
active: boolean;
|
|
58
58
|
|
|
59
59
|
@ApiProperty({ default: false })
|
|
60
|
-
@
|
|
60
|
+
@IsBoolean()
|
|
61
61
|
@ToBoolean()
|
|
62
62
|
flexitime: boolean;
|
|
63
63
|
|
|
64
64
|
@ApiPropertyOptional({ default: true })
|
|
65
|
+
@IsOptional()
|
|
65
66
|
@IsBoolean()
|
|
66
67
|
@ToBoolean()
|
|
67
68
|
isThemeLight?: boolean;
|
|
@@ -79,6 +80,7 @@ export class CreateCoworker {
|
|
|
79
80
|
@ApiPropertyOptional()
|
|
80
81
|
@IsOptional()
|
|
81
82
|
@IsBoolean()
|
|
83
|
+
@ToBoolean()
|
|
82
84
|
apprentice?: boolean;
|
|
83
85
|
|
|
84
86
|
@ApiPropertyOptional()
|
|
@@ -106,20 +108,22 @@ export class CreateCoworker {
|
|
|
106
108
|
@IsEnum(EntityType)
|
|
107
109
|
entity: EntityType;
|
|
108
110
|
|
|
109
|
-
@
|
|
110
|
-
@
|
|
111
|
+
@ApiPropertyOptional()
|
|
112
|
+
@IsOptional()
|
|
111
113
|
@IsArray()
|
|
112
114
|
@IsInt({ each: true })
|
|
113
115
|
idRoles?: number[];
|
|
114
116
|
|
|
115
|
-
@
|
|
117
|
+
@ApiPropertyOptional()
|
|
118
|
+
@IsOptional()
|
|
116
119
|
@IsDefined()
|
|
117
120
|
@IsArray()
|
|
118
121
|
idTeams?: number[];
|
|
119
122
|
|
|
120
|
-
@
|
|
121
|
-
@
|
|
123
|
+
@ApiPropertyOptional()
|
|
124
|
+
@IsOptional()
|
|
122
125
|
@IsArray()
|
|
126
|
+
@IsInt({ each: true })
|
|
123
127
|
idUsersBrands?: number[];
|
|
124
128
|
|
|
125
129
|
@ApiPropertyOptional()
|
|
@@ -61,6 +61,7 @@ export class QueryGetAllFromSociety {
|
|
|
61
61
|
type: [Number],
|
|
62
62
|
example: [1, 13],
|
|
63
63
|
})
|
|
64
|
+
@IsArray()
|
|
64
65
|
roles: number[];
|
|
65
66
|
|
|
66
67
|
@ApiPropertyOptional()
|
|
@@ -90,13 +91,13 @@ export class GetSocietyFromUser {
|
|
|
90
91
|
@IsOptional()
|
|
91
92
|
@IsNumber()
|
|
92
93
|
idSubscriptionType?: SubscriptionType;
|
|
93
|
-
|
|
94
|
+
|
|
94
95
|
@ApiPropertyOptional()
|
|
95
96
|
@IsOptional()
|
|
96
97
|
@IsBoolean()
|
|
97
98
|
@ToBoolean()
|
|
98
99
|
displayArchived?: boolean;
|
|
99
|
-
|
|
100
|
+
|
|
100
101
|
@ApiPropertyOptional()
|
|
101
102
|
@IsOptional()
|
|
102
103
|
@IsBoolean()
|
|
@@ -105,17 +106,17 @@ export class GetSocietyFromUser {
|
|
|
105
106
|
|
|
106
107
|
@ApiPropertyOptional()
|
|
107
108
|
@IsOptional()
|
|
108
|
-
@IsString({each: true})
|
|
109
|
+
@IsString({ each: true })
|
|
109
110
|
attributes?: Extract<keyof ISociety, string>[];
|
|
110
111
|
|
|
111
|
-
@ApiPropertyOptional({
|
|
112
|
-
default: ['societyConfig','brandType','societyGescom','oldExpertInfo','activity','follows','compta','subscriptionType','connector','permissions']
|
|
112
|
+
@ApiPropertyOptional({
|
|
113
|
+
default: ['societyConfig', 'brandType', 'societyGescom', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'connector', 'permissions']
|
|
113
114
|
})
|
|
114
115
|
@IsOptional()
|
|
115
116
|
@IsString({
|
|
116
117
|
each: true,
|
|
117
118
|
})
|
|
118
|
-
@IsIn(['societyConfig','brandType','societyGescom','oldExpertInfo','activity','follows','compta','subscriptionType','connector','permissions','societyDetails'], { each: true })
|
|
119
|
+
@IsIn(['societyConfig', 'brandType', 'societyGescom', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'connector', 'permissions', 'societyDetails'], { each: true })
|
|
119
120
|
include?: string[];
|
|
120
121
|
|
|
121
122
|
@ApiPropertyOptional()
|