@silexpert/core 1.2.84 → 1.2.86
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/assets/laposteDistributors.json +1 -0
- package/dist/cjs/api/resources/Equipment.d.ts +1 -5
- package/dist/cjs/api/resources/Equipment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Equipment.js +2 -10
- package/dist/cjs/api/resources/Equipment.js.map +1 -1
- package/dist/cjs/api/resources/TimeRecorder.d.ts +2 -2
- package/dist/cjs/api/resources/TimeRecorder.d.ts.map +1 -1
- package/dist/cjs/api/resources/TimeRecorder.js +2 -2
- package/dist/cjs/api/resources/TimeRecorder.js.map +1 -1
- package/dist/cjs/api/resources/User.d.ts +2 -1
- package/dist/cjs/api/resources/User.d.ts.map +1 -1
- package/dist/cjs/api/resources/User.js +3 -0
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/types/Enum/Brevo.d.ts +3 -1
- package/dist/cjs/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Brevo.js +2 -0
- package/dist/cjs/types/Enum/Brevo.js.map +1 -1
- package/dist/cjs/types/Enum/Country.d.ts +0 -4
- package/dist/cjs/types/Enum/Country.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Country.js +1 -6441
- package/dist/cjs/types/Enum/Country.js.map +1 -1
- package/dist/cjs/types/Enum/EquipmentType.d.ts +5 -1
- package/dist/cjs/types/Enum/EquipmentType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/EquipmentType.js +5 -0
- package/dist/cjs/types/Enum/EquipmentType.js.map +1 -1
- package/dist/cjs/types/Enum/LegalForm.js +4 -4
- package/dist/cjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/cjs/types/Enum/Log.js +15 -15
- package/dist/cjs/types/Enum/Log.js.map +1 -1
- package/dist/cjs/types/Enum/Phone.js +2 -2
- package/dist/cjs/types/Enum/Phone.js.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.d.ts +294 -1
- package/dist/cjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/cjs/types/Enum/RegistrationSource.js +294 -1
- package/dist/cjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- 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/timeRecorder/Query.d.ts +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/Query.js +5 -5
- package/dist/cjs/types/Interface/api/timeRecorder/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts +74 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js +190 -0
- package/dist/cjs/types/Interface/api/user/RegisterProspect.js.map +1 -0
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
- 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/Equipment.d.ts +1 -5
- package/dist/mjs/api/resources/Equipment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Equipment.js +1 -14
- package/dist/mjs/api/resources/Equipment.js.map +1 -1
- package/dist/mjs/api/resources/TimeRecorder.d.ts +2 -2
- package/dist/mjs/api/resources/TimeRecorder.d.ts.map +1 -1
- package/dist/mjs/api/resources/TimeRecorder.js +2 -2
- package/dist/mjs/api/resources/TimeRecorder.js.map +1 -1
- package/dist/mjs/api/resources/User.d.ts +2 -1
- package/dist/mjs/api/resources/User.d.ts.map +1 -1
- package/dist/mjs/api/resources/User.js +3 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/types/Enum/Brevo.d.ts +3 -1
- package/dist/mjs/types/Enum/Brevo.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Brevo.js +2 -0
- package/dist/mjs/types/Enum/Brevo.js.map +1 -1
- package/dist/mjs/types/Enum/Country.d.ts +0 -4
- package/dist/mjs/types/Enum/Country.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Country.js +0 -6440
- package/dist/mjs/types/Enum/Country.js.map +1 -1
- package/dist/mjs/types/Enum/EquipmentType.d.ts +5 -1
- package/dist/mjs/types/Enum/EquipmentType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/EquipmentType.js +5 -0
- package/dist/mjs/types/Enum/EquipmentType.js.map +1 -1
- package/dist/mjs/types/Enum/LegalForm.js +4 -4
- package/dist/mjs/types/Enum/LegalForm.js.map +1 -1
- package/dist/mjs/types/Enum/Log.js +15 -15
- package/dist/mjs/types/Enum/Log.js.map +1 -1
- package/dist/mjs/types/Enum/Phone.js +2 -2
- package/dist/mjs/types/Enum/Phone.js.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.d.ts +294 -1
- package/dist/mjs/types/Enum/RegistrationSource.d.ts.map +1 -1
- package/dist/mjs/types/Enum/RegistrationSource.js +293 -0
- package/dist/mjs/types/Enum/RegistrationSource.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +4 -0
- 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/timeRecorder/Query.d.ts +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/Query.js +3 -3
- package/dist/mjs/types/Interface/api/timeRecorder/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts +74 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js +214 -0
- package/dist/mjs/types/Interface/api/user/RegisterProspect.js.map +1 -0
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAnalyticsUtm.js.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
- 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/Equipment.ts +1 -15
- package/ts/api/resources/TimeRecorder.ts +3 -3
- package/ts/api/resources/User.ts +5 -0
- package/ts/types/Enum/Brevo.ts +2 -0
- package/ts/types/Enum/Country.ts +0 -6441
- package/ts/types/Enum/EquipmentType.ts +5 -0
- package/ts/types/Enum/LegalForm.ts +4 -4
- package/ts/types/Enum/Log.ts +15 -15
- package/ts/types/Enum/Phone.ts +2 -2
- package/ts/types/Enum/RegistrationSource.ts +294 -0
- package/ts/types/Interface/api/config/ConfigType.ts +5 -0
- package/ts/types/Interface/api/timeRecorder/Query.ts +1 -1
- package/ts/types/Interface/api/user/RegisterProspect.ts +183 -0
- package/ts/types/Interface/models/IAnalyticsUtm.ts +1 -1
- package/ts/types/Interface/models/IApiError.ts +1 -1
- package/ts/types/index.ts +1 -1
- package/dist/cjs/types/Enum/RegistrationSourceDetail.d.ts +0 -195
- package/dist/cjs/types/Enum/RegistrationSourceDetail.d.ts.map +0 -1
- package/dist/cjs/types/Enum/RegistrationSourceDetail.js +0 -198
- package/dist/cjs/types/Enum/RegistrationSourceDetail.js.map +0 -1
- package/dist/mjs/types/Enum/RegistrationSourceDetail.d.ts +0 -195
- package/dist/mjs/types/Enum/RegistrationSourceDetail.d.ts.map +0 -1
- package/dist/mjs/types/Enum/RegistrationSourceDetail.js +0 -195
- package/dist/mjs/types/Enum/RegistrationSourceDetail.js.map +0 -1
- package/ts/types/Enum/RegistrationSourceDetail.ts +0 -194
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,WAAW,CAAC;IACrB,eAAe,EAAE,eAAe,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,WAAW,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigType.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,EAAE,CAAC;IACP,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAA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ClB,2BAA2B,EAAE,MAAM,CAAC;IACpC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,IAAI;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -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 stripe: Stripe;\n stripeECB: StripeEcb;\n stripeStatuts: StripeStatuts;\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}\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 Stripe {\n secretKey: string;\n secretKeyTestToDelete: string;\n}\n\nexport interface StripeEcb {\n secretKey: string;\n}\n\nexport interface StripeStatuts {\n secretKey: 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 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"]}
|
|
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 stripe: Stripe;\n stripeECB: StripeEcb;\n stripeStatuts: StripeStatuts;\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 Stripe {\n secretKey: string;\n secretKeyTestToDelete: string;\n}\n\nexport interface StripeEcb {\n secretKey: string;\n}\n\nexport interface StripeStatuts {\n secretKey: 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 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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,qBAAa,oBAAoB;IAG/B,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,qBAAa,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/Query.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAGhC,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf;AAED,qBAAa,oBAAoB;IAG/B,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,qBAAa,iBAAiB;IAG5B,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;CACf"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.QueryRealWorkTime = exports.QueryGetTimeRecorder = exports.QueryVerifyForOneUser = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
class QueryVerifyForOneUser {
|
|
@@ -38,17 +38,17 @@ __decorate([
|
|
|
38
38
|
(0, class_validator_1.IsDate)(),
|
|
39
39
|
__metadata("design:type", Date)
|
|
40
40
|
], QueryGetTimeRecorder.prototype, "date", void 0);
|
|
41
|
-
class
|
|
41
|
+
class QueryRealWorkTime {
|
|
42
42
|
}
|
|
43
|
-
exports.
|
|
43
|
+
exports.QueryRealWorkTime = QueryRealWorkTime;
|
|
44
44
|
__decorate([
|
|
45
45
|
(0, utils_1.ApiProperty)(),
|
|
46
46
|
(0, class_validator_1.IsDate)(),
|
|
47
47
|
__metadata("design:type", Date)
|
|
48
|
-
],
|
|
48
|
+
], QueryRealWorkTime.prototype, "startDate", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, utils_1.ApiProperty)(),
|
|
51
51
|
(0, class_validator_1.IsDate)(),
|
|
52
52
|
__metadata("design:type", Date)
|
|
53
|
-
],
|
|
53
|
+
], QueryRealWorkTime.prototype, "endDate", void 0);
|
|
54
54
|
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,6CAAgD;AAEhD,MAAa,qBAAqB;CAYjC;AAZD,sDAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;wDAAC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACA,IAAI;sDAAC;AAGhB,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACH,IAAI;kDAAC;AAGb,MAAa,
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,6CAAgD;AAEhD,MAAa,qBAAqB;CAYjC;AAZD,sDAYC;AATC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qDACI;AAIf;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;wDAAC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACA,IAAI;sDAAC;AAGhB,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACH,IAAI;kDAAC;AAGb,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACE,IAAI;oDAAC;AAIhB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,GAAE;8BACA,IAAI;kDAAC","sourcesContent":["import { IsNumber, IsDate } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class QueryVerifyForOneUser {\n @ApiProperty()\n @IsNumber()\n idUser: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n\nexport class QueryGetTimeRecorder {\n @ApiProperty()\n @IsDate()\n date: Date;\n}\n\nexport class QueryRealWorkTime {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n}\n"]}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Activity } from '../../../Enum/Activity';
|
|
2
|
+
import { Civility } from '../../../Enum/Civility';
|
|
3
|
+
import { IAnalyticsUtm } from '../../models/IAnalyticsUtm';
|
|
4
|
+
import { LegalFormTypeEnum } from '../../../Enum/LegalForm';
|
|
5
|
+
export interface ProspectInfo {
|
|
6
|
+
idCivility?: Civility;
|
|
7
|
+
firstname?: string;
|
|
8
|
+
lastname?: string;
|
|
9
|
+
email: string;
|
|
10
|
+
phone?: string;
|
|
11
|
+
prefix?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ProspectSocietyInfo {
|
|
14
|
+
name?: string;
|
|
15
|
+
idActivity?: Activity;
|
|
16
|
+
idLegalForm?: LegalFormTypeEnum;
|
|
17
|
+
zipCode?: string;
|
|
18
|
+
turnover?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ReferalProgram {
|
|
21
|
+
email: string;
|
|
22
|
+
lastname: string;
|
|
23
|
+
}
|
|
24
|
+
export interface RegisterProspect {
|
|
25
|
+
user: ProspectInfo;
|
|
26
|
+
society?: ProspectSocietyInfo;
|
|
27
|
+
referralProgram?: ReferalProgram;
|
|
28
|
+
recaptcha?: string;
|
|
29
|
+
token?: string;
|
|
30
|
+
idSource: number;
|
|
31
|
+
idTypeBrand: number;
|
|
32
|
+
analyticsUtm?: Omit<IAnalyticsUtm, 'idSociety'>;
|
|
33
|
+
comment?: string;
|
|
34
|
+
}
|
|
35
|
+
declare class ProspectInfoBody implements ProspectInfo {
|
|
36
|
+
idCivility?: Civility;
|
|
37
|
+
firstname?: string;
|
|
38
|
+
lastname?: string;
|
|
39
|
+
email: string;
|
|
40
|
+
phone?: string;
|
|
41
|
+
prefix?: string;
|
|
42
|
+
}
|
|
43
|
+
declare class ProspectSocietyInfoBody implements ProspectSocietyInfo {
|
|
44
|
+
name?: string;
|
|
45
|
+
idActivity?: Activity;
|
|
46
|
+
idLegalForm?: LegalFormTypeEnum;
|
|
47
|
+
zipCode?: string;
|
|
48
|
+
turnover?: number;
|
|
49
|
+
}
|
|
50
|
+
declare class ReferalProgramBody implements ReferalProgram {
|
|
51
|
+
email: string;
|
|
52
|
+
lastname: string;
|
|
53
|
+
}
|
|
54
|
+
declare class AnalyticsUtmBody implements Omit<IAnalyticsUtm, 'idSociety'> {
|
|
55
|
+
id?: number;
|
|
56
|
+
source: string | null;
|
|
57
|
+
medium: string | null;
|
|
58
|
+
campaign: string | null;
|
|
59
|
+
term: string | null;
|
|
60
|
+
content: string | null;
|
|
61
|
+
}
|
|
62
|
+
export declare class RegisterProspectBody implements RegisterProspect {
|
|
63
|
+
idSource: number;
|
|
64
|
+
idTypeBrand: number;
|
|
65
|
+
recaptcha?: string;
|
|
66
|
+
token?: string;
|
|
67
|
+
user: ProspectInfoBody;
|
|
68
|
+
society?: ProspectSocietyInfoBody;
|
|
69
|
+
referralProgram?: ReferalProgramBody;
|
|
70
|
+
analyticsUtm?: AnalyticsUtmBody;
|
|
71
|
+
comment?: string;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=RegisterProspect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegisterProspect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/RegisterProspect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,OAAO,CAAC,EAA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G,IAAI,CAAC;IAItB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAItB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAIxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAIpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,qBAAa,oBAAqB,YAAW,gBAAgB;IAG3D,QAAQ,EAAE,MAAM,CAAC;IAIjB,WAAW,EAAE,MAAM,CAAC;IAMpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,gBAAgB,CAAC;IAKvB,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAKlC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAKrC,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAKhC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,190 @@
|
|
|
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.RegisterProspectBody = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const utils_1 = require("../../../../utils");
|
|
15
|
+
const Activity_1 = require("../../../Enum/Activity");
|
|
16
|
+
const Civility_1 = require("../../../Enum/Civility");
|
|
17
|
+
const LegalForm_1 = require("../../../Enum/LegalForm");
|
|
18
|
+
class ProspectInfoBody {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsEnum)(Civility_1.Civility),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], ProspectInfoBody.prototype, "idCivility", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ProspectInfoBody.prototype, "firstname", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], ProspectInfoBody.prototype, "lastname", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.ApiProperty)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsEmail)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ProspectInfoBody.prototype, "email", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], ProspectInfoBody.prototype, "phone", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], ProspectInfoBody.prototype, "prefix", void 0);
|
|
56
|
+
class ProspectSocietyInfoBody {
|
|
57
|
+
}
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], ProspectSocietyInfoBody.prototype, "name", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
(0, class_validator_1.IsEnum)(Activity_1.Activity),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], ProspectSocietyInfoBody.prototype, "idActivity", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsEnum)(LegalForm_1.LegalFormTypeEnum),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], ProspectSocietyInfoBody.prototype, "idLegalForm", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], ProspectSocietyInfoBody.prototype, "zipCode", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsNumber)(),
|
|
86
|
+
__metadata("design:type", Number)
|
|
87
|
+
], ProspectSocietyInfoBody.prototype, "turnover", void 0);
|
|
88
|
+
class ReferalProgramBody {
|
|
89
|
+
}
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, utils_1.ApiProperty)(),
|
|
92
|
+
(0, class_validator_1.IsString)(),
|
|
93
|
+
(0, class_validator_1.IsEmail)(),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], ReferalProgramBody.prototype, "email", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, utils_1.ApiProperty)(),
|
|
98
|
+
(0, class_validator_1.IsString)(),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], ReferalProgramBody.prototype, "lastname", void 0);
|
|
101
|
+
class AnalyticsUtmBody {
|
|
102
|
+
}
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, class_validator_1.IsNumber)(),
|
|
107
|
+
__metadata("design:type", Number)
|
|
108
|
+
], AnalyticsUtmBody.prototype, "id", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, utils_1.ApiProperty)(),
|
|
111
|
+
(0, class_validator_1.IsString)(),
|
|
112
|
+
__metadata("design:type", Object)
|
|
113
|
+
], AnalyticsUtmBody.prototype, "source", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, utils_1.ApiProperty)(),
|
|
116
|
+
(0, class_validator_1.IsString)(),
|
|
117
|
+
__metadata("design:type", Object)
|
|
118
|
+
], AnalyticsUtmBody.prototype, "medium", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, utils_1.ApiProperty)(),
|
|
121
|
+
(0, class_validator_1.IsString)(),
|
|
122
|
+
__metadata("design:type", Object)
|
|
123
|
+
], AnalyticsUtmBody.prototype, "campaign", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, utils_1.ApiProperty)(),
|
|
126
|
+
(0, class_validator_1.IsString)(),
|
|
127
|
+
__metadata("design:type", Object)
|
|
128
|
+
], AnalyticsUtmBody.prototype, "term", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, utils_1.ApiProperty)(),
|
|
131
|
+
(0, class_validator_1.IsString)(),
|
|
132
|
+
__metadata("design:type", Object)
|
|
133
|
+
], AnalyticsUtmBody.prototype, "content", void 0);
|
|
134
|
+
class RegisterProspectBody {
|
|
135
|
+
}
|
|
136
|
+
exports.RegisterProspectBody = RegisterProspectBody;
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, utils_1.ApiProperty)(),
|
|
139
|
+
(0, class_validator_1.IsNumber)(),
|
|
140
|
+
__metadata("design:type", Number)
|
|
141
|
+
], RegisterProspectBody.prototype, "idSource", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, utils_1.ApiProperty)(),
|
|
144
|
+
(0, class_validator_1.IsNumber)(),
|
|
145
|
+
__metadata("design:type", Number)
|
|
146
|
+
], RegisterProspectBody.prototype, "idTypeBrand", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
149
|
+
(0, class_validator_1.IsOptional)(),
|
|
150
|
+
(0, class_validator_1.IsString)(),
|
|
151
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], RegisterProspectBody.prototype, "recaptcha", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
156
|
+
(0, class_validator_1.IsOptional)(),
|
|
157
|
+
(0, class_validator_1.IsString)(),
|
|
158
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], RegisterProspectBody.prototype, "token", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, utils_1.ApiProperty)(),
|
|
163
|
+
(0, class_validator_1.ValidateNested)(),
|
|
164
|
+
__metadata("design:type", ProspectInfoBody)
|
|
165
|
+
], RegisterProspectBody.prototype, "user", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
168
|
+
(0, class_validator_1.IsOptional)(),
|
|
169
|
+
(0, class_validator_1.ValidateNested)(),
|
|
170
|
+
__metadata("design:type", ProspectSocietyInfoBody)
|
|
171
|
+
], RegisterProspectBody.prototype, "society", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
174
|
+
(0, class_validator_1.IsOptional)(),
|
|
175
|
+
(0, class_validator_1.ValidateNested)(),
|
|
176
|
+
__metadata("design:type", ReferalProgramBody)
|
|
177
|
+
], RegisterProspectBody.prototype, "referralProgram", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
180
|
+
(0, class_validator_1.IsOptional)(),
|
|
181
|
+
(0, class_validator_1.ValidateNested)(),
|
|
182
|
+
__metadata("design:type", AnalyticsUtmBody)
|
|
183
|
+
], RegisterProspectBody.prototype, "analyticsUtm", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
186
|
+
(0, class_validator_1.IsOptional)(),
|
|
187
|
+
(0, class_validator_1.IsString)(),
|
|
188
|
+
__metadata("design:type", String)
|
|
189
|
+
], RegisterProspectBody.prototype, "comment", void 0);
|
|
190
|
+
//# sourceMappingURL=RegisterProspect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegisterProspect.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/RegisterProspect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8G;AAC9G,6CAAqE;AACrE,qDAAkD;AAClD,qDAAkD;AAElD,uDAA4D;AAoC5D,MAAM,gBAAgB;CA8BrB;AA1BC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,mBAAQ,CAAC;;oDACK;AAKtB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;m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idateNested } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { Activity } from '../../../Enum/Activity';\nimport { Civility } from '../../../Enum/Civility';\nimport { IAnalyticsUtm } from '../../models/IAnalyticsUtm';\nimport { LegalFormTypeEnum } from '../../../Enum/LegalForm';\n\nexport interface ProspectInfo {\n idCivility?: Civility;\n firstname?: string;\n lastname?: string;\n email: string;\n phone?: string;\n prefix?: string;\n}\n\nexport interface ProspectSocietyInfo {\n name?: string;\n idActivity?: Activity;\n idLegalForm?: LegalFormTypeEnum;\n zipCode?: string;\n turnover?: number;\n}\n\nexport interface ReferalProgram {\n email: string;\n lastname: string;\n}\n\nexport interface RegisterProspect {\n user: ProspectInfo,\n society?: ProspectSocietyInfo,\n referralProgram?: ReferalProgram,\n recaptcha?: string;\n token?: string;\n idSource: number;\n idTypeBrand: number;\n analyticsUtm?: Omit<IAnalyticsUtm, 'idSociety'>;\n comment?: string;\n}\n\nclass ProspectInfoBody implements ProspectInfo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(Civility)\n idCivility?: Civility;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n firstname?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lastname?: string;\n\n @ApiProperty()\n @IsString()\n @IsEmail()\n email: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n prefix?: string;\n}\n\nclass ProspectSocietyInfoBody implements ProspectSocietyInfo {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(Activity)\n idActivity?: Activity;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(LegalFormTypeEnum)\n idLegalForm?: LegalFormTypeEnum;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n zipCode?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n turnover?: number;\n}\n\nclass ReferalProgramBody implements ReferalProgram {\n @ApiProperty()\n @IsString()\n @IsEmail()\n email: string;\n\n @ApiProperty()\n @IsString()\n lastname: string;\n}\n\nclass AnalyticsUtmBody implements Omit<IAnalyticsUtm, 'idSociety'> {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @ApiProperty()\n @IsString()\n source: string | null;\n\n @ApiProperty()\n @IsString()\n medium: string | null;\n\n @ApiProperty()\n @IsString()\n campaign: string | null;\n\n @ApiProperty()\n @IsString()\n term: string | null;\n\n @ApiProperty()\n @IsString()\n content: string | null;\n}\n\nexport class RegisterProspectBody implements RegisterProspect {\n @ApiProperty()\n @IsNumber()\n idSource: number;\n\n @ApiProperty()\n @IsNumber()\n idTypeBrand: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsNotEmpty()\n recaptcha?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n @IsNotEmpty()\n token?: string;\n\n @ApiProperty()\n @ValidateNested()\n user: ProspectInfoBody;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ValidateNested()\n society?: ProspectSocietyInfoBody;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ValidateNested()\n referralProgram?: ReferalProgramBody;\n\n @ApiPropertyOptional()\n @IsOptional()\n @ValidateNested()\n analyticsUtm?: AnalyticsUtmBody;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n comment?: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAnalyticsUtm.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAnalyticsUtm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,EAAE,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"IAnalyticsUtm.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAnalyticsUtm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAnalyticsUtm.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAnalyticsUtm.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\n\n// analyticsUtm\nexport interface IAnalyticsUtm {\n id?: number;\n source: string | null;\n medium: string | null;\n campaign: string | null;\n term: string | null;\n content: string | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society
|
|
1
|
+
{"version":3,"file":"IAnalyticsUtm.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAnalyticsUtm.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\n\n// analyticsUtm\nexport interface IAnalyticsUtm {\n id?: number;\n source: string | null;\n medium: string | null;\n campaign: string | null;\n term: string | null;\n content: string | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n}\n"]}
|
|
@@ -20,6 +20,7 @@ export declare enum Code {
|
|
|
20
20
|
formatNotAuthorized = "format_not_authorized",
|
|
21
21
|
CONNECTION_ALREADY_EXIST = "connection_already_exist",
|
|
22
22
|
firstConnectionFromVpn = "first_connection_from_vpn",
|
|
23
|
+
ENTITY_ALREADY_EXIST = "entity_already_exist",
|
|
23
24
|
failedCheckBalance = "failed_check_balance",
|
|
24
25
|
vatIntracomCanOnlyBeSetForDebit = "vat_intracom_can_only_be_set_for_debit",
|
|
25
26
|
vatMargeCanOnlyBeSetForCredit = "vat_marge_can_only_be_set_for_credit",
|
|
@@ -137,7 +138,6 @@ export declare enum Code {
|
|
|
137
138
|
CHECKLIST_ALREADY_EXIST = "checklist_already_exist",
|
|
138
139
|
INVALID_BRAND = "invalid_brand",
|
|
139
140
|
INVALID_DAY = "invalid_day",
|
|
140
|
-
ENTITY_ALREADY_EXIST = "entity_already_exist",
|
|
141
141
|
ENTITY_USED = "entity_used",
|
|
142
142
|
CAN_NOT_DELETE_DOCUMENT = "can_not_delete_document",
|
|
143
143
|
CAN_NOT_EDIT_INVOICE = "can_not_edit_invoice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,q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AG7C,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,aAAa,kBAAkB;CAChC;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -26,6 +26,7 @@ var Code;
|
|
|
26
26
|
Code["formatNotAuthorized"] = "format_not_authorized";
|
|
27
27
|
Code["CONNECTION_ALREADY_EXIST"] = "connection_already_exist";
|
|
28
28
|
Code["firstConnectionFromVpn"] = "first_connection_from_vpn";
|
|
29
|
+
Code["ENTITY_ALREADY_EXIST"] = "entity_already_exist";
|
|
29
30
|
// Annotation Error
|
|
30
31
|
Code["failedCheckBalance"] = "failed_check_balance";
|
|
31
32
|
Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
|
|
@@ -164,7 +165,6 @@ var Code;
|
|
|
164
165
|
Code["CHECKLIST_ALREADY_EXIST"] = "checklist_already_exist";
|
|
165
166
|
Code["INVALID_BRAND"] = "invalid_brand";
|
|
166
167
|
Code["INVALID_DAY"] = "invalid_day";
|
|
167
|
-
Code["ENTITY_ALREADY_EXIST"] = "entity_already_exist";
|
|
168
168
|
Code["ENTITY_USED"] = "entity_used";
|
|
169
169
|
// Gescom
|
|
170
170
|
Code["CAN_NOT_DELETE_DOCUMENT"] = "can_not_delete_document";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAED,IAAY,IA+LX;AA/L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,2CAAmC,CAAA;IAEnC,eAAe;IACf,2EAAmE,CAAA;IACnE,yDAAiD,CAAA;IACjD,4DAAoD,CAAA;IACpD,6DAAqD,CAAA;IACrD,sDAA8C,CAAA;IAC9C,4EAAoE,CAAA;IACpE,iDAAyC,CAAA;IAEzC,QAAQ;IACR,+DAAuD,CAAA;IAEvD,SAAS;IACT,oEAA4D,CAAA;IAE5D,WAAW;IACX,+DAAuD,CAAA;IAEvD,0BAA0B;IAC1B,qDAA6C,CAAA;IAC7C,iDAAyC,CAAA;IACzC,uDAA+C,CAAA;IAC/C,mFAA2E,CAAA;IAE3E,wBAAwB;IACxB,2DAAmD,CAAA;IACnD,mDAA2C,CAAA;IAE3C,mBAAmB;IACnB,qDAA6C,CAAA;IAE7C,mBAAmB;IACnB,+DAAuD,CAAA;IAEvD,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,+DAAuD,CAAA;IACvD,2DAAmD,CAAA;IACnD,uCAA+B,CAAA;IAC/B,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAE3B,SAAS;IACT,2DAAmD,CAAA;IACnD,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAE7C,gBAAgB;IAChB,yDAAiD,CAAA;IACjD,+DAAuD,CAAA;IACvD,uCAA+B,CAAA;AACjC,CAAC,EA/LW,IAAI,oBAAJ,IAAI,QA+Lf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n forbidden = 'forbidden',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n CONNECTION_ALREADY_EXIST = 'connection_already_exist',\n firstConnectionFromVpn = 'first_connection_from_vpn',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeWithAssetCanOnlyBeSetForDebit = 'vat_marge_with_asset_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // Import Commercial error\n missingHeaders = 'missing_headers',\n missingRequiredHeaders = 'missing_required_headers',\n wrongVatAmount = 'wrong_vat_amount',\n wrongAmountSum = 'wrong_amount_sum',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // qonto\n CONNECTION_ALREADY_EXISTS = 'CONNECTION_ALREADY_EXISTS',\n\n // Stripe\n bankConnectionAlreadyExist = 'bank_connection_already_exist',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n INVALID_BRAND = 'invalid_brand',\n INVALID_DAY = 'invalid_day',\n ENTITY_ALREADY_EXIST = 'entity_already_exist',\n ENTITY_USED = 'entity_used',\n\n // Gescom\n CAN_NOT_DELETE_DOCUMENT = 'can_not_delete_document',\n CAN_NOT_EDIT_INVOICE = 'can_not_edit_invoice',\n INVALID_INVOICE_TYPE = 'invalid_invoice_type',\n\n // Expense Notes\n LIMIT_EXERCICE_REACHED = 'limit_exercice_reached',\n REQUIRED_PARAM_IS_MISSING = 'required_param_is_missing',\n LIMIT_REACHED = 'limit_reached',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../../ts/types/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qC,CAAA;IAErC,QAAQ;IACR,+CAAuC,CAAA;IACvC,mCAA2B,CAAA;IAE3B,cAAc;IACd,6EAAqE,CAAA;IACrE,qFAA6E,CAAA;IAC7E,oEAA4D,CAAA;IAC5D,oEAA4D,CAAA;IAC5D,6CAAqC,CAAA;IAErC,2CAAmC,CAAA;IAEnC,YAAY;IACZ,2CAAmC,CAAA;IAEnC,eAAe;IACf,2EAAmE,CAAA;IACnE,yDAAiD,CAAA;IACjD,4DAAoD,CAAA;IACpD,6DAAqD,CAAA;IACrD,sDAA8C,CAAA;IAC9C,4EAAoE,CAAA;IACpE,iDAAyC,CAAA;IAEzC,QAAQ;IACR,+DAAuD,CAAA;IAEvD,SAAS;IACT,oEAA4D,CAAA;IAE5D,WAAW;IACX,+DAAuD,CAAA;IAEvD,0BAA0B;IAC1B,qDAA6C,CAAA;IAC7C,iDAAyC,CAAA;IACzC,uDAA+C,CAAA;IAC/C,mFAA2E,CAAA;IAE3E,wBAAwB;IACxB,2DAAmD,CAAA;IACnD,mDAA2C,CAAA;IAE3C,mBAAmB;IACnB,qDAA6C,CAAA;IAE7C,mBAAmB;IACnB,+DAAuD,CAAA;IAEvD,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,+DAAuD,CAAA;IACvD,2DAAmD,CAAA;IACnD,uCAA+B,CAAA;IAC/B,mCAA2B,CAAA;IAC3B,mCAA2B,CAAA;IAE3B,SAAS;IACT,2DAAmD,CAAA;IACnD,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAE7C,gBAAgB;IAChB,yDAAiD,CAAA;IACjD,+DAAuD,CAAA;IACvD,uCAA+B,CAAA;AACjC,CAAC,EA/LW,IAAI,oBAAJ,IAAI,QA+Lf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n forbidden = 'forbidden',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n CONNECTION_ALREADY_EXIST = 'connection_already_exist',\n firstConnectionFromVpn = 'first_connection_from_vpn',\n ENTITY_ALREADY_EXIST = 'entity_already_exist',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeWithAssetCanOnlyBeSetForDebit = 'vat_marge_with_asset_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // Import Commercial error\n missingHeaders = 'missing_headers',\n missingRequiredHeaders = 'missing_required_headers',\n wrongVatAmount = 'wrong_vat_amount',\n wrongAmountSum = 'wrong_amount_sum',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // qonto\n CONNECTION_ALREADY_EXISTS = 'CONNECTION_ALREADY_EXISTS',\n\n // Stripe\n bankConnectionAlreadyExist = 'bank_connection_already_exist',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n INVALID_BRAND = 'invalid_brand',\n INVALID_DAY = 'invalid_day',\n ENTITY_USED = 'entity_used',\n\n // Gescom\n CAN_NOT_DELETE_DOCUMENT = 'can_not_delete_document',\n CAN_NOT_EDIT_INVOICE = 'can_not_edit_invoice',\n INVALID_INVOICE_TYPE = 'invalid_invoice_type',\n\n // Expense Notes\n LIMIT_EXERCICE_REACHED = 'limit_exercice_reached',\n REQUIRED_PARAM_IS_MISSING = 'required_param_is_missing',\n LIMIT_REACHED = 'limit_reached',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
@@ -367,7 +367,6 @@ export * from './Enum/Aspone';
|
|
|
367
367
|
export * from './Enum/ProfitsType';
|
|
368
368
|
export * from './Enum/Tax';
|
|
369
369
|
export * from './Enum/RegistrationSource';
|
|
370
|
-
export * from './Enum/RegistrationSourceDetail';
|
|
371
370
|
export * from './Enum/Log';
|
|
372
371
|
export * from './Enum/Quality';
|
|
373
372
|
export * from './Enum/AbsenceType';
|
|
@@ -1136,6 +1135,7 @@ export * from './Interface/api/toDoExpress/Query';
|
|
|
1136
1135
|
export * from './Interface/api/toDoExpress/Read';
|
|
1137
1136
|
export * from './Interface/api/config/ConfigType';
|
|
1138
1137
|
export * from './Interface/api/card/OrganizeBalanceSheets';
|
|
1138
|
+
export * from './Interface/api/user/RegisterProspect';
|
|
1139
1139
|
export * from './Interface/enum/Util';
|
|
1140
1140
|
export * from './Interface/enum/Date';
|
|
1141
1141
|
export * from './Interface/api/connector/Sirene';
|