@silexpert/core 1.3.28 → 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/Immobilization.d.ts +1 -1
- package/dist/cjs/api/resources/Immobilization.d.ts.map +1 -1
- package/dist/cjs/api/resources/Immobilization.js +2 -2
- package/dist/cjs/api/resources/Immobilization.js.map +1 -1
- 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/cjs/types/Interface/models/ISocietySocial.d.ts +6 -6
- package/dist/cjs/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietySocial.js.map +1 -1
- package/dist/mjs/api/resources/Immobilization.d.ts +1 -1
- package/dist/mjs/api/resources/Immobilization.d.ts.map +1 -1
- package/dist/mjs/api/resources/Immobilization.js +2 -2
- package/dist/mjs/api/resources/Immobilization.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/dist/mjs/types/Interface/models/ISocietySocial.d.ts +6 -6
- package/dist/mjs/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietySocial.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Immobilization.ts +6 -2
- 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
- package/ts/types/Interface/models/ISocietySocial.ts +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n budgetInsight: BudgetInsight;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n
|
|
1
|
+
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n budgetInsight: BudgetInsight;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n aspone: Aspone;\n societyTestId: number;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n adminStatic: AdminStatic;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n firebase: Firebase;\n notification: Notification;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: LambdaInfos;\n companeo: Companeo;\n inpi: Inpi;\n notion: Notion;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication: Authentication;\n recaptcha: Recaptcha;\n}\n\nexport interface Authentication {\n token: string;\n}\n\nexport interface LambdaInfos {\n url: string;\n key: string;\n}\n\nexport interface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\nexport interface MachineLearning {\n transactionAnnotation: string;\n}\n\nexport interface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Redis {\n host: string;\n port: number;\n}\n\nexport interface RedisPrimary {\n replicationGroupId: string;\n}\n\nexport interface BudgetInsight {\n apiLinkBudget: string;\n clientId: string;\n clientSecret: string;\n hookToken: string;\n}\n\nexport interface Caarl {\n api: string;\n token: string;\n bundle: string;\n}\n\nexport interface Yousign {\n apiYousign: string;\n appYousign: string;\n token: Token;\n workspaceId: string;\n}\n\nexport interface Token {\n clementine: string;\n pourcentage: string;\n}\n\nexport interface ComptaclementineTest {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Bred {\n authorizeHost: string;\n authorizePath: string;\n urlPostCodeRequest: string;\n urlGetToken: string;\n apiUrl: string;\n clientId: string;\n clientSecret: string;\n scope: string;\n redirectUri: string;\n subscriptionKey: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\nexport interface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\nexport interface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\nexport interface Client {\n host: string;\n hostFull: string;\n}\n\nexport interface Twilio {\n accountSID: string;\n authToken: string;\n number: string;\n}\n\nexport interface Aspone {\n siret: string;\n api: string;\n access: Access;\n serviceVersion: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\nexport interface Pappers {\n token: string;\n url: string;\n}\n\nexport interface Shine {\n host: string;\n hostV3: string;\n publicHost: string;\n clientId: string;\n clientSecret: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\nexport interface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\nexport interface Crisp {\n identifier: string;\n key: string;\n}\n\nexport interface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface AdminStatic {\n login: string;\n password: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\nexport interface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\nexport interface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\nexport interface Test {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\nexport interface Wsdl {\n url: string;\n}\n\nexport interface Production {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\nexport interface Wsdl2 {\n url: string;\n}\n\nexport interface Firebase {\n type: string;\n project_id: string;\n private_key_id: string;\n private_key: string;\n client_email: string;\n client_id: string;\n auth_uri: string;\n token_uri: string;\n auth_provider_x509_cert_url: string;\n client_x509_cert_url: string;\n universe_domain: string;\n}\n\nexport interface Notification {\n hookToken: string;\n}\n\nexport interface Pdfizer {\n url: string;\n key: string;\n}\n\nexport interface IDocus {\n baseUrl: string;\n callbackurl: string;\n authorizationKey: string;\n}\n\nexport interface Companeo {\n username: string;\n pass: string;\n}\n\nexport interface Inpi {\n username: string;\n password: string;\n}\n\nexport interface Notion {\n key: string;\n}\n\nexport interface Brevo {\n apiKeyProd: string;\n}\n\nexport interface Echo {\n url: string;\n accountid: string;\n apikey: string;\n}\n\nexport interface Recaptcha {\n secret: string;\n}\n"]}
|
|
@@ -2,10 +2,13 @@ export declare class CreateStripeConnection {
|
|
|
2
2
|
code: string;
|
|
3
3
|
}
|
|
4
4
|
export declare class CreateStripePortals {
|
|
5
|
-
stripeCustomerId
|
|
5
|
+
stripeCustomerId: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class CreateImportTransactionForSociety {
|
|
8
8
|
startDate?: Date;
|
|
9
9
|
endDate?: Date;
|
|
10
10
|
}
|
|
11
|
+
export declare class CreateSubscriptionSession {
|
|
12
|
+
priceId: string;
|
|
13
|
+
}
|
|
11
14
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -21,9 +21,8 @@ export class CreateStripePortals {
|
|
|
21
21
|
stripeCustomerId;
|
|
22
22
|
}
|
|
23
23
|
__decorate([
|
|
24
|
-
|
|
24
|
+
ApiProperty(),
|
|
25
25
|
IsString(),
|
|
26
|
-
IsOptional(),
|
|
27
26
|
__metadata("design:type", String)
|
|
28
27
|
], CreateStripePortals.prototype, "stripeCustomerId", void 0);
|
|
29
28
|
export class CreateImportTransactionForSociety {
|
|
@@ -42,4 +41,12 @@ __decorate([
|
|
|
42
41
|
IsOptional(),
|
|
43
42
|
__metadata("design:type", Date)
|
|
44
43
|
], CreateImportTransactionForSociety.prototype, "endDate", void 0);
|
|
44
|
+
export class CreateSubscriptionSession {
|
|
45
|
+
priceId;
|
|
46
|
+
}
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiProperty(),
|
|
49
|
+
IsString(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], CreateSubscriptionSession.prototype, "priceId", void 0);
|
|
45
52
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAGjC,IAAI,CAAS;CACd;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE;AAGf,MAAM,OAAO,mBAAmB;
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,sBAAsB;IAGjC,IAAI,CAAS;CACd;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE;AAGf,MAAM,OAAO,mBAAmB;IAG9B,gBAAgB,CAAS;CAC1B;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACc;AAG3B,MAAM,OAAO,iCAAiC;IAI5C,SAAS,CAAQ;IAKjB,OAAO,CAAQ;CAChB;AANC;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACH,IAAI;kEAAC;AAGjB,MAAM,OAAO,yBAAyB;IAGpC,OAAO,CAAS;CACjB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACK","sourcesContent":["import { IsDate, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,6BAA6B;IAGxC,UAAU,EAAE,MAAM,CAAC;IAInB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
export class RetrieveUpcomingInvoiceParams {
|
|
@@ -16,10 +16,12 @@ export class RetrieveUpcomingInvoiceParams {
|
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
18
|
ApiProperty(),
|
|
19
|
+
IsString(),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
21
|
], RetrieveUpcomingInvoiceParams.prototype, "customerId", void 0);
|
|
21
22
|
__decorate([
|
|
22
23
|
ApiProperty(),
|
|
24
|
+
IsString(),
|
|
23
25
|
__metadata("design:type", String)
|
|
24
26
|
], RetrieveUpcomingInvoiceParams.prototype, "subscriptionId", void 0);
|
|
25
27
|
export class QueryStripeSession {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,6BAA6B;IAGxC,UAAU,CAAS;IAInB,cAAc,CAAS;CACxB;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEACQ;AAInB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACY;AAGzB,MAAM,OAAO,kBAAkB;IAK7B,QAAQ,CAAW;CACpB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACO","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrieveUpcomingInvoiceParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiProperty()\n @IsString()\n subscriptionId: string;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCoworker.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,qBAAa,cAAc;IAIzB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAC;IAKhB,SAAS,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateCoworker.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,qBAAa,cAAc;IAIzB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAC;IAKhB,SAAS,EAAE,OAAO,CAAC;IAMnB,YAAY,CAAC,EAAE,OAAO,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,QAAQ,EAAE,MAAM,CAAC;IAKjB,MAAM,EAAE,UAAU,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAMzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -79,18 +79,19 @@ __decorate([
|
|
|
79
79
|
], CreateCoworker.prototype, "idCivility", void 0);
|
|
80
80
|
__decorate([
|
|
81
81
|
ApiProperty({ default: true }),
|
|
82
|
-
|
|
82
|
+
IsBoolean(),
|
|
83
83
|
ToBoolean(),
|
|
84
84
|
__metadata("design:type", Boolean)
|
|
85
85
|
], CreateCoworker.prototype, "active", void 0);
|
|
86
86
|
__decorate([
|
|
87
87
|
ApiProperty({ default: false }),
|
|
88
|
-
|
|
88
|
+
IsBoolean(),
|
|
89
89
|
ToBoolean(),
|
|
90
90
|
__metadata("design:type", Boolean)
|
|
91
91
|
], CreateCoworker.prototype, "flexitime", void 0);
|
|
92
92
|
__decorate([
|
|
93
93
|
ApiPropertyOptional({ default: true }),
|
|
94
|
+
IsOptional(),
|
|
94
95
|
IsBoolean(),
|
|
95
96
|
ToBoolean(),
|
|
96
97
|
__metadata("design:type", Boolean)
|
|
@@ -111,6 +112,7 @@ __decorate([
|
|
|
111
112
|
ApiPropertyOptional(),
|
|
112
113
|
IsOptional(),
|
|
113
114
|
IsBoolean(),
|
|
115
|
+
ToBoolean(),
|
|
114
116
|
__metadata("design:type", Boolean)
|
|
115
117
|
], CreateCoworker.prototype, "apprentice", void 0);
|
|
116
118
|
__decorate([
|
|
@@ -144,22 +146,24 @@ __decorate([
|
|
|
144
146
|
__metadata("design:type", Number)
|
|
145
147
|
], CreateCoworker.prototype, "entity", void 0);
|
|
146
148
|
__decorate([
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
ApiPropertyOptional(),
|
|
150
|
+
IsOptional(),
|
|
149
151
|
IsArray(),
|
|
150
152
|
IsInt({ each: true }),
|
|
151
153
|
__metadata("design:type", Array)
|
|
152
154
|
], CreateCoworker.prototype, "idRoles", void 0);
|
|
153
155
|
__decorate([
|
|
154
|
-
|
|
156
|
+
ApiPropertyOptional(),
|
|
157
|
+
IsOptional(),
|
|
155
158
|
IsDefined(),
|
|
156
159
|
IsArray(),
|
|
157
160
|
__metadata("design:type", Array)
|
|
158
161
|
], CreateCoworker.prototype, "idTeams", void 0);
|
|
159
162
|
__decorate([
|
|
160
|
-
|
|
161
|
-
|
|
163
|
+
ApiPropertyOptional(),
|
|
164
|
+
IsOptional(),
|
|
162
165
|
IsArray(),
|
|
166
|
+
IsInt({ each: true }),
|
|
163
167
|
__metadata("design:type", Array)
|
|
164
168
|
], CreateCoworker.prototype, "idUsersBrands", void 0);
|
|
165
169
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCoworker.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,aAAa,EACb,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,OAAO,cAAc;IAIzB,SAAS,CAAS;IAKlB,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,QAAQ,CAAS;IAKjB,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,UAAU,CAAU;IAKpB,MAAM,CAAU;IAKhB,SAAS,CAAU;
|
|
1
|
+
{"version":3,"file":"CreateCoworker.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,aAAa,EACb,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,OAAO,cAAc;IAIzB,SAAS,CAAS;IAKlB,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,QAAQ,CAAS;IAKjB,QAAQ,CAAS;IAKjB,KAAK,CAAS;IAKd,UAAU,CAAU;IAKpB,MAAM,CAAU;IAKhB,SAA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AMvB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;kDACS;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACG,IAAI;iDAAC;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;mDAAC;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACK,IAAI;mDAAC;AAKnB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,KAAK,EAAE;;gDACS;AAKjB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,MAAM,CAAC,UAAU,CAAC;;8CACA;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACH;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,OAAO,EAAE;;+CACS;AAMnB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACG;AAMzB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;6CACI","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDefined,\n IsEmail,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPhoneNumber,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { EntityType } from '../../../Enum/EntityType';\n\nexport class CreateCoworker {\n @ApiProperty()\n @IsDefined()\n @IsString()\n firstname: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n lastname: string;\n\n @ApiProperty()\n @IsDefined()\n @IsEmail()\n email: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n username: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n password: string;\n\n @ApiProperty()\n @IsDefined()\n @IsPhoneNumber('FR')\n phone: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idCivility?: number;\n\n @ApiProperty({ default: true })\n @IsBoolean()\n @ToBoolean()\n active: boolean;\n\n @ApiProperty({ default: false })\n @IsBoolean()\n @ToBoolean()\n flexitime: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isThemeLight?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n calendlyUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n positionLabel?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n apprentice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n birthdate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n confirmedAt?: Date;\n\n @ApiProperty()\n @IsDefined()\n @IsInt()\n idOffice: number;\n\n @ApiProperty()\n @IsDefined()\n @IsEnum(EntityType)\n entity: EntityType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDefined()\n @IsArray()\n idTeams?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idUsersBrands?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isVpn?: boolean;\n}\n"]}
|
|
@@ -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,wBAAwB;IAOnC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,+BAA+B;IAI1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAQ3B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAOjC,SAAS,EAAE,MAAM,CAAC;
|
|
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,wBAAwB;IAOnC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,+BAA+B;IAI1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAQ3B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAOjC,SAAS,EAAE,MAAM,CAAC;IASlB,KAAK,EAAE,MAAM,EAAE,CAAC;IAMhB,yBAAyB,CAAC,EAAE,OAAO,C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AAE;;gDACM;AAMjB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;gDACM;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACiB;AAK5B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,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"]}
|
|
@@ -4,17 +4,17 @@ import { ISociety } from './ISociety';
|
|
|
4
4
|
export interface ISocietySocial {
|
|
5
5
|
id?: number;
|
|
6
6
|
quantity: number;
|
|
7
|
-
amount
|
|
8
|
-
dueDate
|
|
9
|
-
navetteOk
|
|
7
|
+
amount?: number | null;
|
|
8
|
+
dueDate?: Date | null;
|
|
9
|
+
navetteOk?: Date | null;
|
|
10
10
|
done: boolean;
|
|
11
11
|
idSociety: number;
|
|
12
12
|
idPrestationSocial: number;
|
|
13
13
|
idPayment: number;
|
|
14
14
|
createdAt?: Date | null;
|
|
15
15
|
updatedAt?: Date | null;
|
|
16
|
-
prestationList
|
|
17
|
-
society
|
|
18
|
-
payment
|
|
16
|
+
prestationList?: IPrestationList;
|
|
17
|
+
society?: ISociety;
|
|
18
|
+
payment?: IPayment;
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=ISocietySocial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietySocial.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ISocietySocial.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietySocial.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"","sourcesContent":["import { IPayment } from './IPayment';\nimport { IPrestationList } from './IPrestationList';\nimport { ISociety } from './ISociety';\n\n// societySocial\nexport interface ISocietySocial {\n id?: number;\n quantity: number;\n amount
|
|
1
|
+
{"version":3,"file":"ISocietySocial.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"","sourcesContent":["import { IPayment } from './IPayment';\nimport { IPrestationList } from './IPrestationList';\nimport { ISociety } from './ISociety';\n\n// societySocial\nexport interface ISocietySocial {\n id?: number;\n quantity: number;\n amount?: number | null;\n dueDate?: Date | null;\n navetteOk?: Date | null;\n done: boolean;\n idSociety: number;\n idPrestationSocial: number;\n idPayment: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n prestationList?: IPrestationList;\n society?: ISociety;\n payment?: IPayment;\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",
|
|
@@ -29,8 +29,12 @@ export class Immobilization extends Resource {
|
|
|
29
29
|
return this.axios.$delete(`/society/${params.idSociety}/immobilization/${params.id}`);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
createImmobilization(
|
|
33
|
-
|
|
32
|
+
createImmobilization(
|
|
33
|
+
idSociety: number,
|
|
34
|
+
idExercice: number,
|
|
35
|
+
payload: CreateImmobilizationForm,
|
|
36
|
+
): Promise<ReadHydratedImmobilization> {
|
|
37
|
+
return this.axios.$post(`/society/${idSociety}/exercices/${idExercice}/immobilizations`, payload);
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
end(
|
|
@@ -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
|
|